/*
Theme Name: Villas
Theme URI: 
Author: WPGEEKS
Author URI: http://wpgeeks.co.uk
Description: description...
License: GPL2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: villas
Version: 1.1
*/

/* CUSTOM CODE */
.apt-gallery > .wpg-cycle-2 {
    block !important;
}

.apt-gallery .cycle-carousel-wrap {
    display: grid;
    grid-template-columns: 2fr 2fr;
}


/* search form styles when google map is shown */
.wpg-properties-options-main.google-map-visible{
margin: 0;
background: #CCC;
padding-top: 10px;
}
.wpg-properties-options-main.google-map-visible *{
text-shadow: none;
}


.wpcf7 .privacy-consent{
padding-right: 5px;
}

.wpg-main-text ul, 
.wpg-main-text ol{
margin-left: 35px;
margin-bottom: 30px;
}
.wpg-main-text ol{
list-style: decimal; 
}
.wpg-main-text li{
margin-bottom: 20px;
font-size: 1.4rem;
line-height: 150%;
}

.footer-link-bar{
padding: 15px;
text-align: center;
background: #1C1C1C;
color: #FFF;
}
.footer-link-bar a{
color: #FFF;
text-decoration: none;
padding: 0 5px;
display: inline-block;
}

/* helpers */
.padding-left-sm{
padding-left: 5px;
}

.one-lang .js-dropdown ul, .one-lang .symulate-select > div:after{
	display: none !important;

}
.description{
	padding: 28px 0 0;
}
.page-template-template-accommodation .wpg-list-villas{
	margin-top: 40px;
}
.page-template-template-accommodation .description{
	padding: 50px 0px;
}

.description .container{
	padding: 0 20px;
}
.description .container p{
	font-size: 14px;
	line-height: 20px;
}
div.ui-datepicker{
	width: auto;
	z-index: 9999 !important;
}
table.ui-datepicker-calendar thead, .ui-datepicker .ui-datepicker-header{
	font-size: 16px;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default{
	font-size: 16px;
    padding: 15px;
}
input[type="date"]::-webkit-inner-spin-button, input[type="date"]::-webkit-clear-button, input[type="date"]::-webkit-calendar-picker-indicator{
	display: none;
}

@font-face {
  font-family: 'proxima-nova';
  src: url('fonts/ProximaNova-Regular.eot'); 
  src: url('fonts/ProximaNova-Regular.woff2') format('woff2'),
       url('fonts/ProximaNova-Regular.woff') format('woff'),
       url('fonts/ProximaNova-Regular.ttf')  format('truetype');
}

/* RESET */

a, abbr, address, article, aside, audio, b, blockquote, body, button, canvas, 
caption, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset,
figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, hr, header, hgroup,
html, i, iframe, img, input, ins, kbd, label, legend, li, mark, menu, nav, 
object, ol, p, pre, q, samp, section, small, span, strong, sub, summary, 
sup, table, tbody, td, textarea, tfoot, th, thead, time, tr, ul, var, video, *:after, *:before {
	margin: 0;
	padding: 0;
	outline: none;
	border: none;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

mark {
  background-color: transparent;
}

ul, ol {
  list-style-type: none;
}

.wpg-main-text ul, ol{
	list-style-type: initial;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}
caption, th {
  text-align: left;
}

q:after, q:before {
  content: "";
}

a {
	color: inherit;
}
/*
html, body {
	height: 100%;
}
*/

body {
	position: relative;
}

html {
	font-size: 62.5%;
}
body,
input, 
textarea {
	font-family: Montserrat, proxima-nova, Arial, Helvetica, sans-serif;
}

/* END RESET */

/* FREAMEWORK */
.container { 
	margin: 0px auto;
	max-width: 1196px;
	min-width: 260px;
}

.clear-both-fix:after,
.clear-both {
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	overflow: hidden;
}
.clear-both-fix:after {
	content: '';
}

.span-table {
	display: table;
	table-layout: fixed;
	width: 100%;
}
.span-table-row {
	display: table-row;
	width: 100%;
}
.span-table-cell {
	display: table-cell;
}

.vertical-align-top {
	vertical-align: top;
}
.vertical-align-middle {
	vertical-align: middle;
}
.vertical-align-bottom {
	vertical-align: bottom;
}

.text-align-right {
	text-align: right;
}
.text-align-left {
	text-align: left;
}
.text-align-center {
	text-align: center;
}
.text-align-justify {
	text-align: justify;
}

.span-1 { width: 4.16666666667%; }
.span-2 { width: 8.33333333333%; }
.span-3 { width:12.5%; }
.span-4 { width: 16.6666666667%; }
.span-5 { width: 20.8333333333%; }
.span-6 { width: 25%; }
.span-7 { width: 29.1666666667%; }
.span-8 { width: 33.3333333333%; }
.span-9 { width: 37.5%; }
.span-10 { width: 41.6666666667%; }
.span-11 { width: 45.8333333333%; }
.span-12 { width: 50%; }
.span-13 { width: 54.1666666667%; }
.span-14 { width: 58.3333333333%; }
.span-15 { width: 62.5%; }
.span-16 { width: 66.6666666667%; }
.span-17 { width: 70.8333333333%; }
.span-18 { width: 75%; }
.span-19 { width: 79.1666666667%; }
.span-20 { width: 83.3333333333%; }
.span-21 { width: 87.5%; }
.span-22 { width: 91.6666666667%; }
.span-23 { width: 95.8333333333%; }
.span-24 { width: 100%; }

img {
	max-width: 100%;
	height: auto;
}
/* END FREAMEWORK */



/* WORDPRESS REQUIRED */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {border:0 none;height:auto;margin:0;max-width:98.5%;padding:0;width: auto;}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {}
.bypostauthor {}
.gallery-caption {}




/* symulate select */
.symulate-select {
	position: relative;
}
.symulate-select > div {
	cursor: pointer;
}
.symulate-select ul {
	position: absolute;
	top: 100%;
	background: #FFFFFF;
	color: #fff;
	z-index: 1;
	overflow-y: auto;
	max-height: 288px;
	min-width: 100%;
}
.symulate-select ul ul {
	background: #FFFFFF;
}
.symulate-select li {
	position: relative;
	border-top: 1px solid rgba(255,255,255,.2);
	color: #a2a5a4 !important;
}
.symulate-select li:first-child {
	border-top: none;
}
.symulate-select > ul a {
	cursor: pointer;
	display: block;
	padding: 5px 30px 5px 10px;
	position: relative;
	text-decoration: none;
}
.symulate-select > ul a:hover {
	background: #F5F5F5;
}
.symulate-select > ul li.current-menu-item > a {
	background: #F5F5F5;
}
.symulate-select > ul ul {
	top: 0;
	left: 100%;
	display: none;
}
.symulate-select > ul li.menu-item-has-children > a:after {
	content: "\f345";
	font-family: Dashicons;
	top: 50%;
	margin-top: -6px;
	right: 10px;
	position: absolute;
}
.symulate-select > ul li:hover ul {
	display: block;
}
.overflow-visible,
.overflow-visible ul {
	overflow: visible !important;
	max-height: none !important;
}
/* end symulate select */


.wpcf7-validation-errors{
	maring-left: 6px;
	maring-right: 6px;
	font-size: 12px;
	text-align: center;
	color: red;
	border-color: red;
	padding: 13px;
	margin-top: -10px;
}

/** custom code **/
.wpg-cycle-2 img{
	-o-object-fit: cover;
    object-fit: cover;
}
.wpg-tsmc-right{
	line-height: 22px;
    padding-top: 5px;
}
.wpg-smth-text .container ul li, .container .wpg-tabs-simple-main-content ul li{
	line-height: 22px;
}
.wpg-smth-text .container ul, .container .wpg-tabs-simple-main-content ul{
	list-style-type: disc; 
    list-style-position: inside;    
    font-size: 1.4rem;
    color: #6c6f70;
}
.wpg-bar-black-book.booknow {
    text-align: right;
    padding: 0 9px 0 0;
}
#nav-slider{
    display: block;
    text-align: center;
    font-size: 70px;
    z-index: 999999999999;
    position: absolute;
    width: 100%;
    color: #fff;
    bottom: 30%;
}
#nav-slider span{
	cursor: pointer;
}
.home div.wpg-full-image-in-container.wpg-cft-real-full-imgs .container,
.home div.wpg-full-image-in-container.wpg-cft-real-full-imgs  .wpg-full-image-in-container-inset > div{
	max-width: 100% !important;
}

.home div.wpg-full-image-in-container.wpg-cft-real-full-imgs  .wpg-full-image-in-container-inset img{
	-o-object-fit: cover;
    object-fit: cover;
}

.wpg-full-image-in-container .container{
	position: relative;
}

div.wpg-properties-options h3 {
    font-size: 24px;
    font-size: 2.4rem;
    color: #fff;
    font-family: proxima-nova, Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
    padding: 0px 0 25px;
}
div.wpg-properties-options h3:before {
	content: '';
	display: inline-block;
	width: 25px;
	height: 20px;	
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAUCAMAAABPqWaPAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAC6UExURQAAAP////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////IcJMEAAAA9dFJOUwACxvJg+/6wgDDzCDnTQb4FeBmqy5bx2bUdag/wDVAc0kOuyOORLuJOaNot54IqhPrB5pTgUfkO2wc29jfYRJbVAAAAyElEQVQoz+XRVxaCUAwE0AF8PAV77yjYFSxgd/a/LQOyC/M1yT0nPwPI1BtOq4nfNFtWo55nlCsku0NDojHsSq6Us/uoY7PGtsVghVVAqy2b3RkB1wN71RKLnk+lFX2vyFK1x8MV6ha6EAE2a643gAie4U2BWj5mggIL+Amg+WfymnG8NTIxtmPOPrncY5t9h+ZeZG/S6dOO76k8LtzNMdBUJk1FPcB8x8tDhKejm/Y0XUhni2ka3eOJRHKO8mony/dykufonHwBL7MnO0AY/0AAAAAASUVORK5CYII=");
	background-repeat: no-repeat;
	background-size: contain;
	margin-right: 11px;
	position: relative;
	top: 1px;
}
div.wpg-smth-text h1 {
	font-size: 30px; font-size: 3.0rem;
	color: #5b5b5b;
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 21px;
}
div.wpg-properties-options-main .container{
	background-color: transparent;
	height: auto !important;
}
.center-block{
	display: block;
	text-align: center;
}
@media screen and (max-width: 520px) {
	.wpg-smth-text h1{
		font-size: 20px;  font-size: 2.0rem;
	}
}
@media(max-width: 414px){
	div h1.wpg-logo {
    		height: 85px;
	}
}
