
/* LAYOUT */
/* ----------------------------------------- */

/* These rather presentational classes are generated by WordPress, so it's useful to have some styles for them. Edit as you see fit. More info: http://codex.wordpress.org/CSS */
.aligncenter { display:block; margin:0 auto }
.alignleft { float:left }
.alignright { float:right }
.wp-caption { border:1px solid #666; text-align:center; background:#ccc; padding:10px; margin:10px }
.footer3 li div ul {
  padding-left:0px !important;
  margin-left:0px !important;
}

.footer3 li div ul li a {
  text-decoration: none !important;
}
/* You might find the following useful */
/* div, ul, li { position:relative } This will save you having to declare each div / ul / li's position as 'relative' and allows you to absolutely position elements inside them */
br.clear { clear:both; display:block; height:1px; margin:-1px 0 0 0 } /* Use this br class to clear your floated columns */
li#theme-switcher { background:#fff; border:10px solid red; padding:20px; position:fixed; top:0; right:0 } /* Use this if you have the Theme Switcher Reloaded plugin (http://themebot.com/webmaster-tools/1-wordpress-theme-switcher-reloaded) installed and want to make it nice and obvious */

html {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.partial-standard-text ul li{ font-size:16px;}

.partial-standard-text a {
  background-color: transparent;
    font-weight: 400;
    color: #558694;
    text-decoration: none;
}

body {
	font-family: "Open Sans",sans-serif;
  color: #3c3c3b;
	font-size: 14px;
  line-height: 1.42857143;
	margin:0;
	font-weight:300;
}

.home .wpml_navigation a {
	color:white;
}

.home .wpml-ls-sub-menu {
	color:rgb(60, 60, 59);
}

.home .wpml-ls-sidebars-translation-area ul li a {
	color:white;
}

.wpml_navigation li:hover a {
	color:rgb(60, 60, 59) !important;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
	background:transparent;
	color:black;
	border:none;
}

.not-mobile{
	display:none;
}

.menu-item.wpml-ls-current-language {
	display:none;
}

p{
	font-size: 17px;
}

.wpml-ls-legacy-dropdown>ul {
	float:right !important;
	width:auto !important;
}

.wpml_navigation {
	position: absolute;
    right: 0px;
    top: 35px;
	width:60px;
}

.wpml_navigation ul {
	max-width:100%;
}

header ul li a:after {
	background-color:transparent !important;
}

.wpml-ls-legacy-dropdown>ul {
	widthL:auto !important;
}

.wpml_navigation .widget_icl_lang_sel_widget {
	list-style-type: none;
}

.wpml_navigation ul li {
	display:block !important;
	background-color:transparent !important;
	border:none !important;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after{
	width:0px !important;
}

.container {
	position:relative;
	box-sizing: border-box;
	width: 1010px;
	padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.container.noborder {
	box-sizing:inherit;
}

.container img {
	max-width:100%;
	width:100%;
	height:auto;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 600px) {
  .col-2-lp {
    width: 100%;
    float: none;
    margin: auto;
  }
  .last-lp {
    margin-right: auto;
  }
}

.content{

}

.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9{
	position: relative;
	float:left;
}

.col-md-6{
	width: 50%;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center
}

.overlay{
	position: absolute;
	top: 0;
	left: 15.2%;
	width: 70%;
	height: 100%;
	margin: 0 auto;
	text-align: center;
	z-index: 400;
}

.overlay:before{
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}

.overlay-inner{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	color: white;
	font-size:24px;
}

.overlay-inner img{
	max-height:210px;
	width:auto;
}

.overlay_text{
	position: absolute;
	bottom:0;
	left:0;
	width:100%;
	color: black;
}

.overlay_text:before{
	height: 1px;
	content: '';
	position: relative;
	display: block;
	border-top: 1px solid #3c3c3b;
	width: 40px;
	margin: 0 auto
}

.overlay_text h3{
	font-family: "Playfair Display", serif;
	font-size: 24px;
	line-height: 1.4815;
	margin-top:12px;
	color: #3c3c3b;
}

.row-text-wrapper{
	padding: 0 7.5vw;
	position: relative;
	display: block;
	text-align: center;
	font-size: 17px;
	line-height:26px;
}

.field-title{
	font-family: "Playfair Display", serif;
	font-size: 37px;
	font-weight: 300;
	color: #3c3c3b;
	line-height: 1.4
}

.field-title a{
	text-decoration: none;
	color: #3c3c3b;
}

.field-title a:hover{
	text-decoration: none;
	color: #3c3c3b;
}

.field-title:after{
	content: '';
	display: block;
	width: 60px;
	height: 1px;
	margin: 25px auto;
	border-bottom: 1px solid #3c3c3b
}

a.italiclink{
	text-decoration: none;
	color: #3c3c3b;
	font-style: italic;
	font-size: 17px;
	font-weight:normal;
	font-family: "Playfair Display", serif
}

a.italiclink:hover{
	text-decoration: none;
	color: #3c3c3b;
}

a.italiclink:hover:after{
	width: 60px;
	background: #d29232;
}

a.italiclink:after{
content: '';
display: block;
height: 1px;
width: 0px;
margin: 1px auto 0 auto;
background: transparent;
-webkit-transition: width .3s ease, background-color .3s ease;
-moz-transition: width .3s ease, background-color .3s ease;
-ms-transition: width .3s ease, background-color .3s ease;
-o-transition: width .3s ease, background-color .3s ease
}

/* LARGE SCROLLER */

.homepage_scroller{
	position: relative;
	width:100%;
	max-height:710px;
	min-height:450px;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.img-responsive {
	display: block; /* was block */
	max-width: 100%;
	object-fit: cover;
	height: auto;
	width:100%;
}

.homepage_scroller .img-responsive{
	min-height:450px;
}

.homepage_scrolleritem{
}

.homepage_scrolleritem:before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.1)
}

.homepage_scroller_overlay{
	position: absolute;
	top: 0;
	left: 15.2%;
	width: 70%;
	height: 100%;
	margin: 0 auto;
	text-align: center;
	z-index: 400;
}

.homepage_scroller_overlay:before{
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}


.homepage_scroller_overlay_content{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	color: white;
	font-size:37px;
}

.homepage_scroller_overlay_content h2{
	color: white;
	font-weight: 300;
	font-size: 2.663vw;
}

.homepage_scroller_overlay_content:before{
	content: '';
	display: block;
	width: 60px;
	height: 1px;
	border-bottom: 1px solid #fff;
	margin: 0 auto 1.98vw;
}

.homepage_scroller_overlay_content:after{
	content: '';
	display: block;
	width: 60px;
	height: 1px;
	border-bottom: 1px solid #fff;
	margin: 1.98vw auto 0;
}

.offset-div {
	position:relative;
	padding-top: 136px;;
}

/* BANNERS */
.partial-banner{
	position:relative;
	width:100%;
	max-height:490px;
	min-height:309px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	overflow: hidden;
}

/* QUOTES */
.partial-quote {
	padding-top: 60px;
    text-align: center;
    color: #8aacb6;
	padding-bottom: 40px;/*60px;*/
}

.partial-quote::before {
	content:' ';
	background-image:url(https://castellodiugento.com/uploads/2017/04/icon-star.png);
    display: block;
    width: 20px;
    height: 17px;
    margin: 0 auto 15px;
}

.partial-quote .quote p {
	font-size: 27px;
    font-family: "Playfair Display",serif;
	line-height: 30px;
    font-weight: 300;
}

.partial-quote .quote p em {
	color: #e0b354;
}

.partial-quote .quote-author {
	font-size: 17px;
    text-transform: uppercase;
	font-weight: 300;
    color: #3c3c3b;
    line-height: 1.4;
	font-family: "Playfair Display",serif;
}

.partial-quote .quote-author::before {
	content: '';
    display: block;
    width: 60px;
    height: 1px;
	margin-left:auto;
	margin-right:auto;
    border-bottom: 1px solid #8aacb6;
	margin: 0px auto 10px;
}

.partial-quote .quote-author::after {
	content: '';
    display: block;
    width: 60px;
    height: 1px;
	margin-left:auto;
	margin-right:auto;
    border-bottom: 1px solid #8aacb6;
	margin: 10px auto 25px;
}

.links-holder{

}

/* standard text */
.partial-standard-text {
	margin-bottom: 50px;
}

.partial-standard-text.title .container h2 {
	font-size: 50px;
    color: #8aacb6;
    text-align: center;
    line-height: 1.35;
	margin: 45px 0 10px;
}

.partial-standard-text .container h2 {
	margin: 45px 0 10px;
}

.partial-standard-text.normal .container h2::after {
	content: '';
    display: block;
    width: 60px;
    height: 1px;
    margin: 25px auto;
    border-bottom: 1px solid #3c3c3b;
}

.partial-standard-text.title .container h2::after {
	content:'';
	background-image: url(https://castellodiugento.com/wp-content/uploads/2017/04/divider-2.png);
	background-repeat:none;
    text-align: center;
    display: block;
    position: relative;
    line-height: 22px;
    margin: 15px auto 15px;
    -webkit-animation: titleFadeIn 0.5s ease-in;
    animation: titleFadeIn 0.5s ease-in;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: 0;
    animation-delay: 0;
    visibility: visible;
    opacity: 1;
	height:22px;
	width:20px;
}

.agm_google_maps {
	display: block;
    float: none !important;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.partial-standard-text .pad-me {
	width: 83.3333333%;
    margin-left: auto;
    margin-right: auto;
	margin-top: 20px;
    margin-bottom: 10px;
}

.partial-standard-text .pad-me h3 {
	font-size: 27px;
    line-height: 1.4815;
	font-family: "Playfair Display",serif;
}

.partial-standard-text h3 {
	font-size: 27px;
    line-height: 1.4815;
	font-family: "Playfair Display",serif;
}

.partial-standard-text .pad-me h4 {
	font-size: 37px;
    font-weight: 300;
    color: #3c3c3b;
    line-height: 1.4;
	margin-bottom:15px;
}

.partial-standard-text h4 {
	font-size: 37px;
    font-weight: 300;
    color: #3c3c3b;
    line-height: 1.4;
	margin-bottom:15px;
}

.partial-standard-text .pad-me h4::after {
	content: '';
    display: block;
    width: 60px;
    height: 1px;
    margin: 15px 0;
    border-bottom: 1px solid #3c3c3b;
}

.partial-standard-text h4::after {
	content: '';
    display: block;
    width: 60px;
    height: 1px;
    margin: 15px 0;
    border-bottom: 1px solid #3c3c3b;
}

/* social sharing */
.partial-share {
	text-align:center;
	margin-bottom: 75px;
}

.partial-share h4 {
	display: inline-block;
    width: auto;
    vertical-align: middle;
	font-style: italic;
	font-family: "Playfair Display",serif;
	font-size: 18px;
	margin-top: 10px;
    margin-bottom: 21px;
	font-weight: 500;
    line-height: 1.1;
    color: #797979;
}

.partial-share a {
    padding: 0 0 0 25px;
    font-size: 27px;
	color: #797979;
}

.partial-share a:hover {
	color:#3c3c3b;
}

.partial-share::after {
	content:' ';
	background-image: url(https://castellodiugento.com/wp-content/uploads/2017/04/divider-2.png);
    text-align: center;
    display: block;
    position: relative;
    line-height: 22px;
    margin: 35px auto 30px;
	height:22px;
	width:20px;
}

/* PAGE LINKS */
.partial-page-links {
	margin-bottom:50px;
}
.partial-page-links a {
	display:block;
	width: 33.33333333%;
	margin: 0 25px 0 0;
	float:left;
	max-width: 320px;
	text-decoration: none;
    color: #3c3c3b;
	font-style: italic;
    font-size: 17px;
    text-align: center;
	font-family: "Playfair Display",serif;
}

.partial-page-links a:nth-child(3n+3) {
	margin:0px
}

.partial-page-links .iholder {
	position:relative;
	height:230px;
	overflow:hidden;
}

.partial-page-links .iholder img {
	width:auto;
	height:100%;
}

.partial-page-links a:hover .octa-hover {
	opacity:1;
	background-color:rgba(91,126,138,0.9);
}

.partial-page-links .read-more {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    line-height: 230px;
    vertical-align: middle;
    color: #e0b354;
    text-align: center;
}

.partial-page-links .iholder .octa-hover {
	background-image: url(https://castellodiugento.com/wp-content/uploads/2017/04/gold-oct.png);
	background-color:rgba(91,126,138,0.0);
    background-position: center center;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-repeat: no-repeat;
	transition:background-color  0.4s linear;
}

.partial-page-links .page-title {
	text-align:center;
	padding: 32px 0px;
    border-bottom: 1px solid #3c3c3b;
}

/* iIMAGE SLIDER */
.partial-image-slider .description {
	margin: 0 auto 2em;
	line-height: 1.55;
    font-weight: 300;
	font-size:17px;
}

.twentytwenty-container img {
	width:100% !important;
}

.partial-image-slider .half {
	position:relative;
	float:left;
	width:50%;
	text-align:center;
	font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
    padding: 0 2em;
	box-sizing: border-box;
	margin-bottom:3em;
}

.partial-image-slider .half b {
	display:block;
	font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: #797979;
	margin-top:2em;
}

/* SLIDESHOW WITH DESCRIPTION */
.anim-cycle {
	/*max-height:490px;*/
	height:600px;
	overflow:hidden;
}
.anim-cycle img {
	width:100%;
	height:auto;
}

.partial-image-slider-with-description {
	position:relative;
}

.partial-image-slider-with-description .prev, .partial-image-slider-with-description .next, .homepage_scroller .next, .homepage_scroller .prev{
	width: 10%;
    /*background-color: rgba(91,126,138,0.5);*/
    opacity: 1;
	cursor:pointer;
}

.partial-image-slider-with-description .prev {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 999;
    height: 490px;
	background-image: url(https://castellodiugento.com/wp-content/uploads/2017/04/arrow-left.png);
	background-position:center center;
	background-repeat:no-repeat;
}

.partial-image-slider-with-description .next{
	position: absolute;
    top: 0px;
    right: 0px;
    z-index: 999;
    height: 490px;
	background-image: url(https://castellodiugento.com/wp-content/uploads/2017/04/arrow-right.png);
	background-position:center center;
	background-repeat:no-repeat;
}

.partial-image-slider-with-description.smaller {
	width:811px;
	height:auto;
	margin-left:auto;
	margin-right:auto;
}

.partial-image-slider-with-description.smaller .anim-cycle , .partial-image-slider-with-description.smaller .anim-cycle > div{
	width:811px !important;
	height:540px !important;
}

.partial-image-slider-with-description.smaller .next, .partial-image-slider-with-description.smaller .prev {
	height:540px !important;
}


.partial-image-slider-with-description.smaller .slider-container {
	width:100%;
}

.homepage_scroller .next {
	position: absolute;
    top: 0px;
    right: 0px;
    z-index: 999;
    height: 100%;
	background-image: url(https://castellodiugento.com/wp-content/uploads/2017/04/arrow-right.png);
	background-position:center center;
	background-repeat:no-repeat;
}

.homepage_scroller .prev {
	position: absolute;
    top: 0px;
    left: 0px;
    z-index: 999;
    height: 100%;
	background-image: url(https://castellodiugento.com/wp-content/uploads/2017/04/arrow-left.png);
	background-position:center center;
	background-repeat:no-repeat;
}

.slider-container {
	position:relative;
	width:80%;
	margin-left:auto;
	margin-right:auto;
	padding-top: 20px;
	padding-bottom: 30px;
}

.partial-image-slider-with-description .custom-caption {
	margin-right:30px;
	min-width:60px;
	display:inline-block;
	vertical-align:top;
}

.custom-overlay {
	display:inline-block;
	vertical-align:top;
	width:88%;
}

.oneof {
	text-align: right;
	position:relative;
	height:90px;
	overflow:hidden
}

.bottomof {
	position: absolute;
    right: 0px;
    bottom: 0px;
}

.oneof .slidenum {
	position:absolute;
	right:0px;
	top:0px;
    font-family: "Playfair Display",serif;
    font-size: 50px;
    line-height: 1;
    border-bottom: 1px solid #3c3c3b;
    padding-bottom: 10px;
    margin-bottom: 5px;
    text-align: right;
	animation-name: example;
    animation-duration: 2s;
}

/* SIDE BY SIDE IMAGES */
.partial-side-by-side-images {
    margin-bottom: 50px;
}

.partial-side-by-side-images .half {
	width:50%;
	float:left;
	padding:0px 10px;
	box-sizing: border-box;
	text-align:center;
	font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
}

.blog-post img{
	width:auto;
	height:auto;
}

.blog-post h1{
	font-size: 50px;
color: #8aacb6;
text-align: center;
line-height: 1.35;
margin: 45px 0 10px;
font-weight:400;
}

.blog-post .pad-me {
	width: 83.3333333%;
    margin-left: auto;
    margin-right: auto;
	margin-top: 20px;
    margin-bottom: 10px;
}

.footer3 p:first-of-type {
	margin-top:58px;
}

.partial-side-by-side-images .half img {
	max-width:100%;
}

.partial-side-by-side-images .ss-text{
    padding-top:20px;
}

.left-right + .partial-share {
	margin-top:75px;
}

.footer2 img {
	width:80px;
	margin-top:9px;
}

.footer2 p {
	margin-top:0px;
}

footer p, footer p a {
	font-size:16px !important;
}

footer label, footer a {
	font-weight:300 !important;
	color: #3c3c3b !important;
}

.footer3 p:first-of-type, .footer4 p:first-of-type {
	margin-top:0px;
}

.mc4wp-form-fields {
	padding-top:4px;
}

.mc4wp-form-fields label {
	padding-bottom:5px;
	display:block;
}

#email {
	border: 1px solid #748595 !important;
}

@keyframes example {
    from {opacity: 0;top:-110px;}
    to {opacity: 1;top:0px;}
}

.oneof .slidenum {
	display:block;
	border-bottom:1px solid black;
}

.oneof .of {
	font-family: "Playfair Display",serif;
    font-style: italic;
    color: #d29232;
    font-size: 10px;
    text-decoration: underline;
    font-weight: 700;
    vertical-align: top;
    top: 3px;
    position: relative;
}

.oneof .slidecount {

    font-family: "Open Sans",sans-serif;
    font-weight: 300;
    font-size: 17px;
    vertical-align: top;
}

.footer4 a i {
	transition:all .2s linear;
}

.footer4 a i:hover {
	color:black;
}

@keyframes slideInDown {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (min-width: 805px)  {
	/* BANNERS */
	.partial-banner{
		height:490px;
	}

	.partial-banner .hide-full-width{
		display:none;
	}
}

@media screen and (min-width: 992px)  {
	.content{
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center
	}
	.not-mobile{
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
	}

	.mobile{
		display:none;
	}
}

@media screen and (min-width: 1158px)  {

	/* LARGE SCROLLER */
	.homepage_scroller{
		height:710px;
	}

	.homepage_scrolleritem{
		width:100%;
		height:710px;
		background-size: cover;
		background-position: center center;
	}

	.hide-full-width{
		display:none;
	}

}

@media screen and (max-width: 993px) {
	.partial-image-slider .half {
		width:100%;
		margin-bottom:.5em;
	}
	
	.partial-image-slider .half b {
		display:inline-block;
	}
	
	h2, .field-name-field-title, .field-name-field-room-summary .field-label, .node-type-room .field-name-body .field-label, .booking-header-image h1, h1.fakeh2, .field-title, .field-title a {
		font-size: 25px;
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.description {
		width: 90%;
	}
	
	.menu-item.wpml-ls-current-language {
		display:block;
	}
	.wpml_navigation {
		display:none;
	}
	
	.container {
		width: 970px;
	}
	.col-md-6{
		width:100%;
	}

	.row-text-wrapper{
		/*padding-top:48px;
		padding-bottom:48px;*/
		padding-top:15px;
		padding-bottom:15px;
	}

	.offset-div{
		margin-top:0;
		padding-top:0;
	}
	.partial-page-links a{
		box-sizing: border-box;
		width:100%;
		max-width:100%;
		margin-bottom:24px;
		padding-right:15px;
		padding-left:15px;
		padding-bottom:24px;
	}

	.partial-page-links .iholder img{
		width:100%;
		height:auto;
	}

	.octa-hover{display:none;}

	.page-title{
		padding-left:15px;
		padding-right:15px;
		box-sizing: border-box;
	}

.partial-page-links .iholder{
	height:auto;
	overflow: auto;
}
.noborder{
	padding-left:0;
	padding-right: 0;
}

}

@media screen and (max-width: 811px) {
	.partial-image-slider-with-description.smaller {
		width:100% !important;
	}

	.partial-image-slider-with-description.smaller .anim-cycle, .partial-image-slider-with-description.smaller .anim-cycle > div {
		width:100% !important;
	}
}

@media screen and (max-width: 770px) {
	.container {
		width: 750px;
	}
}

@media screen and (max-width: 414px) {
	.gallery_images li {
		width:50% !important;
		/*padding:6px !important;*/
	}
  .partial-banner .img-responsive {
    /*display:none !important;*/
    visibility:hidden;
  }
	.partial-standard-text.title .container h2 {
		font-size:36px;
	}
	footer p, footer p a, footer label {
		font-size:12px !important;
	}
	
	footer p {
		    margin-bottom: 20px !important;
	}
	
	footer ul {
		margin-bottom:0px;
	}
	
	.footer1 h3 {
		font-size:25px;
	}
	
	footer .container {
		padding-left:60px;
		padding-right:60px;
	}
}