/* TEXT ON PAGE */
.item-page h2, .item-page h3, .item-page h4, .item-page h5, .item-page h6, .item-page p, .item-page ul, .item-page ol, .item-page table,
.custom h2, .custom h3, .custom h4, .custom h5, .custom h6, .custom p, .custom ul, .custom ol, .custom table {margin-top: 5px;margin-bottom: 10px;}

/* PAGE BLOG */
.items-row > div {margin-bottom: 25px;text-align: center;}
@media only screen and (min-width: 580px) {
  .items-row {display: grid;grid-template-columns: repeat(2, 1fr);column-gap: 20px;text-align: center;}
}
@media only screen and (min-width: 850px) {
  .items-row {grid-template-columns: repeat(3, 1fr);}
}
@media only screen and (min-width: 1220px) {
  .items-row.cols-2 {grid-template-columns: repeat(2, 1fr);}
  .items-row.cols-3 {grid-template-columns: repeat(3, 1fr);}
  .items-row.cols-4 {grid-template-columns: repeat(4, 1fr);}
}
.item-title {font-size: 24px;line-height: normal;margin-top: 10px;}

/* PAGINATION PAGES */
ul.pagination-list {text-align: center;}
ul.pagination-list li {background: none;display: inline-block;margin: 0 3px;padding: 0;}
ul.pagination-list li a {background: #e4e9f8;color: #57648a;font-weight: bold;text-decoration: none;display: block;padding: 5px 10px;transition: .5s;position: relative;}
ul.pagination-list li.active a, ul.pagination-list li a:hover, .content #phocagallery ul.pagination-list li a:hover, ul.pagination-list .disabled.hidden-phone a {background: #57648a;color: #fff;}
ul.pagination-list li.disabled, .pagination .counter, .pagination-counter {display: none;}
ul.pagination-list .disabled.hidden-phone {display: inline-block;}
.icon-first:before {content: '<<';}
.icon-previous:before {content: '<';}
.icon-next:before {content: '>';}
.icon-last:before {content: '>>';}

/* PAGINATION VIRTUEMART */
.vm-pagination {float: none;}
.vm-pagination .pagination > span, .vm-pagination .pagination > strong, .vm-pagination .pagination > a {margin: 0 2px;}
.vm-page-counter {display: none;}

/* BREADCRUMBS */
ul.breadcrumb {list-style-type:none;margin-left:0;background: #e4e9f8;padding: 3px 6px;}
ul.breadcrumb li {display:inline-block;}
ul.breadcrumb li img {vertical-align:middle;}

/* RESPONSIBLE VIDEO */
.video-wrap {max-width: 800px;margin: auto;}
.video {position: relative;padding-bottom: 56.25%;padding-top: 30px;height: 0;overflow: hidden;margin: auto;}
.video iframe {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
@media screen and (max-width: 860px) {
	.video-wrap {margin-left: 30px;margin-right: 30px;}
}

/* IMAGE WITH CROP */
.image--cover {width: 100%;height: 180px;object-fit: cover;font-family: 'object-fit: cover';}

/* UL OL */
.main_component ul, .custom ul {list-style-type: square;margin-left: 25px;margin-bottom: 6px;}
.main_component ol, .custom ol {list-style-type: decimal-leading-zero;margin-left: 30px;margin-bottom: 6px;}
.main_component li, .custom li {list-style: inherit;padding: 3px 0;}

/* TABLE */
table {border-collapse:collapse;border-spacing:0;border-bottom:1px solid #ddd;font-size: 14px;}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {background-color:#f9f9f9}
table th, table td {padding:12px 15px;vertical-align:top;border:1px solid #ddd;}
table thead td {background: #bee2d2;border-color: #f1f1f1;font-weight: 700;}
@media screen and (max-width:860px){
	table{display:inline-block;vertical-align:top;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
	.rtable{display:inline-block;vertical-align:top;max-width:100%;overflow-x:auto;border-collapse:collapse;border-spacing:0}
	.rtable,.rtable--flip tbody{-webkit-overflow-scrolling:touch;background:radial-gradient(left,ellipse,rgba(0,0,0,.2) 0%,rgba(0,0,0,0) 75%) 0 center,radial-gradient(right,ellipse,rgba(0,0,0,.2) 0%,rgba(0,0,0,0) 75%) 100% center;background-size:10px 100%,10px 100%;background-attachment:scroll,scroll;background-repeat:no-repeat}
	.rtable--flip{display:flex;overflow:hidden;background:none}
	.rtable--flip thead{display:flex;flex-shrink:0;min-width:min-content}
	.rtable--flip tbody{display:flex;position:relative;overflow-x:auto;overflow-y:hidden}
	.rtable--flip tr{display:flex;flex-direction:column;min-width:min-content;flex-shrink:0}
	.rtable--flip td,.rtable--flip th{display:block}
	.rtable--flip td{background-image:none !important;border-left:0}
	.rtable--flip th:not(:last-child),.rtable--flip td:not(:last-child){border-bottom:0}
}

/* FORM */
input.error, select.error, textarea.error {border-color: #f00 !important;}
.send_message {color: #0a9c0f;font-size: 20px;font-weight: bold;margin-top: 10px;}
.send_message_error {color: #f00;font-size: 18px;font-weight: bold;margin-top: 10px;}