/*
Theme Name: Casermetta 2018
Description: Casermetta 2018
Author: NTech Media
Author URI: http://ntechmedia.com


	Base Theme Name: HTML5 Blank
	Base Theme URI: http://html5blank.com
	Base Description: HTML5 Blank WordPress Theme
	Base Version: 1.4.2
	Base Author: Todd Motto (@toddmotto)
	Base Author URI: http://toddmotto.com
	Base Tags: Blank, HTML5, CSS3
	
	Base License: MIT
	Base License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
/* Disabling due to issues, and because HTML5 Boilerplate made the same change */
/* for similar reasons 4 years ago and still hasn't added it back in yet */
/* https://github.com/h5bp/html5-boilerplate/commit/0d7f8d775ab4ab171c6372f992d506088ca5d3ed */
/* http://aestheticallyloyal.com/public/optimize-legibility/ */
/*	text-rendering:optimizeLegibility; */
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font: 400 16px/1.4 'Open Sans', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#318CE7;
	text-decoration: underline;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	display: block;
	margin: 0 auto;
	position: relative;
	width: 100%;
}
/* header */
.header {
	display: none;
}
/* logo */
.logo {
	
}
.logo-img {
	
}
/* nav */
.nav {
	
}
/* main content */
section[role=main] {
	display: block;
}
/* sidebar */
.sidebar {
	display: none;
}
/* footer */
.footer {
	display: block;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.para {
	min-height: 100vh;
	background-position: 50% 0px;
	background-attachment: fixed;
	background-size: cover;
	display: flex;
	align-items: center;
	position: relative;
}

.para.introduction {
	display: block;
}

.para2,
.location,
.sightseeing,
.accommodation,
.para_bg {
	min-height: 50vh;
	background-position: 50% 0px;
	background-attachment: fixed;
	background-size: cover;
	border-bottom: 100px solid #318CE7;
	padding: 100px;
}

.introduction {
	background-image: url(img/san_polo_chianti.jpg);
}
/*
.location {
	background-image: url(img/garden_alfresco.jpg);
	padding: 100px;
}

.sightseeing {
	background-image: url(img/iris_festival.jpg);
	padding: 100px;
}

.accommodation {
	background-image: url(img/seasonal.jpg);
	padding: 100px;
}
*/
.content {
	max-width: 1200px;
	margin: 0px auto;
	width: 100%;
}

.introduction > .content {
	padding: 100px 0px 100px;
}

.accommodation .content,
.sightseeing .content,
.location .content,
.how-to-rent-la-casermetta .content {
	padding: 40px;
	background: rgba(255,255,255,0.85);
}

.intro_image {
	margin: 0px auto;
/*	border: 4px solid #318CE7;
	box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
*/
	box-shadow: 0px 5px 10px rgba(0,0,0,0.5);
	max-width: 1200px;
	max-height: 920px;
	height: calc(100vh - 450px);
	background: url(img/la_casermetta.jpg) no-repeat center top / cover;
	position: relative;
}

.intro_image > div {
	position: absolute;
	bottom: -200px;
	height: 200px;
	background: rgba(255,255,255,0.8);
	font-size: 18px;
	padding: 20px 20px 20px;
	box-shadow: 0px -10px 10px rgba(0,0,0,0.5);
	transition: 1s all;
	overflow: hidden;
}


.main_image {
	margin: 0px auto;
        max-width: 1200px;
        position: relative;
	text-align: center;
	max-height: 920px;
}

.main_image img {
/*	max-height: 720px;
	width: auto;*/
	width: 100%;
}

.main_image > div {
	background: rgba(255,255,255,0.8);
        font-size: 18px;
        padding: 20px 20px 20px;
        box-shadow: 0px -10px 10px rgba(0,0,0,0.5);
	text-align: left;
	position: absolute;
	bottom: 0px;
}

.para h1 {
	font-family: 'Open Sans', Arial, san-serif;
	font-size: 52px;
	font-weight: bold;
	position: absolute;
	top: 20px;
	left: 100px;
	margin: 0px;
	text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
	color: #318CE7;
}

@media only screen and (max-width:640px){
	.para h1 {
		width: 100%;
		text-align: center;
		left: 0px;
	}
}

.intro_image h2 {
	font-family: 'Open Sans', Arial, san-serif;
	font-size: 36px;
	font-weight: normal;
	margin-top: 0px;
	color: #000000;
}

h2 {
	font-family: 'Open Sans', Arial, san-serif;
	font-size: 30px;
	font-weight: normal;
	margin-top: 0px;
	color: #000000;
}

.more {
	display: block;
	margin: 0px auto;
	padding: 10px 15px;
	background: #318CE7;
	color: #FFFFFF;
	width: 200px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	border: 4px solid #318CE7;
	font-weight: bold;
}

.less {
	display: none;
	margin: 0px auto;
	width: 30px;
	height: 30px;
	text-decoration: none;
}

.less::before {
	content: '\f0d8';
	display: block;
	font: normal normal normal 14px/1 FontAwesome;
	margin: 0px auto;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	font-size: 40px;
	color: #318CE7;
	cursor: pointer;
}

.top {
	display: none;
}

.top::before {
	display: block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: 40px;
	content: "\f106";
	background: #318CE7;
	bottom: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	line-height: 35px;
	text-align: center;
	position: fixed;
	border: 4px solid #318CE7;
	color: #FFFFFF;
}

.more:hover,
.top:hover::before {
	background: #FFFFFF;
	box-shadow: inset 0px 0px 5px rgba(0,0,0,0.3);
	color: #318CE7;
}

.content_more {
	display: none;
}

.info.menu_section {
	background: #318CE7;
	padding: 20px 0px;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	position: absolute;
	bottom: 0px;
	width: 100%;
}

.info.rent,
.info.background,
.background,
.location,
.how-to-rent-la-casermetta {
	background-color: rgba(49, 140, 231,0.3);
	padding: 50px 0px;
/*	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);*/
}


@media only screen and (max-width:768px){
        .para2,
        .location,
        .sightseeing,
        .accommodation,
        .para_bg {
               padding: 20px;
        }
}


.slide_wrapper,
.gallery {
	max-height: 425px;
	overflow: hidden;
}

.slides {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.slides li,
.gallery-item {
	padding: 5px;
}

.menu {
	display: flex;
	justify-content: space-between;
	list-style: none;
	margin: 0px;
	padding: 0px 20px;
}

.menu li {
	min-height: 70px;
	background-size: cover;
}

.menu h3 {
	display: block;
	margin: 0px;
	line-height: 50px;
	height: 50px;
	color: #FFFFFF;
	text-align: center;
	font-family: 'Open Sans', Arial, san-serif;
	font-size: 26px;
	font-weight: normal;
	cursor: pointer;
	position: relative;
}

.menu h3::after {
	content: '\f0d7';
	display: block;
	position: absolute;
	bottom: -15px;
	width: 100%;
	height: 20px;
	left: 0px;
	font: normal normal normal 26px FontAwesome;
	line-height: 4px;
	border-top: 2px solid #318CE7;
}

.menu li:hover h3::after {
	border-top: 2px solid #FFFFFF;
}

@media only screen and (max-width:768px) {
	.menu_section .content {
		position: relative;
		height: 50px;
	}

	.menu_section .content::after {
		display: block;
		content: '\f0d7';
		position: absolute;
		width: 100%;
		text-align: center;
		font: normal normal normal 36px FontAwesome;
		color: #FFFFFF;
		cursor: pointer;
		left: 0px;
		top: 0px;
		height: 50px;
		line-height: 50px;
	}

	.menu {
		display: none;
		position: absolute;
		bottom: 0px;
		width: 100%;
		background: #318CE7;
		z-index: 1;
	}

	.menu h3 {
		margin: 0px auto;
		max-width: 200px;
	}
}


/*
.menu_accom {
	background: url(img/menu_accom.jpg) no-repeat center;
}

.menu_loc {
	background: url(img/menu_loc.jpg) no-repeat center;
}

.menu_rent {
	background: url(img/menu_rent.jpg) no-repeat center;
}

.menu_sight {
	background: url(img/menu_sight.jpg) no-repeat center;
}

.menu_back {
	background: url(img/menu_back.jpg) no-repeat center;
}
*/

.gform_wrapper.contactform_wrapper {
}

.gform_wrapper.contactform_wrapper .gform_footer input[type="submit"] {
	display: block;
	margin: 0px auto;
	padding: 10px 15px;
	background: #318CE7;
	color: #FFFFFF;
	width: 200px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	border: 4px solid #318CE7;
	font-weight: bold;
}

.gform_wrapper.contactform_wrapper .gform_footer input[type="submit"]:hover {
	background: #FFFFFF;
	box-shadow: inset 0px 0px 5px rgba(0,0,0,0.3);
	color: #318CE7;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/

.gallery .slick-prev, .gallery .slick-next {
	z-index: 2;
	width: 45px;
	height: 45px;
}

.gallery .slick-prev {
	left: 10px;
}

.gallery .slick-next {
	right: 10px;
}

.gallery .slick-prev::before, .gallery .slick-next::before {
	font-size: 45px;
}

.gallery .slick-slide {
	position: relative;
	max-height: 425px;
}

.gallery .slider_caption {
	display: none;
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: calc(100% - 10px);
	background: rgba(0,0,0,0.5);
	color: #FFFFFF;
	padding: 10px;
	margin: 0px 5px;
}

.gallery .slick-slide:hover .slider_caption {
	display: block;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

div.shiftnav-wrap {
	line-height: 1.4; /* Fixes ShiftNav setting an em based line height when we want a unitless multiplier. */
}

.shiftnav-inner {
	background: url() center top no-repeat; /* Specify the site logo you want to appear in the mobile menu. */
	padding-top: 0px; /* Set to however tall the site logo is. */
}

.shiftnav ul.shiftnav-menu ul.sub-menu li.menu-item > .shiftnav-target,
.shiftnav ul.shiftnav-menu ul.sub-menu li.shiftnav-retract > .shiftnav-target {
	line-height: 100%;
	padding: 15px 25px 15px 35px;
}

div.mobilenav {
	display:none;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1140px) {
	
}

@media only screen and (max-width:1024px) {

}

@media only screen and (max-width:768px) {

}

@media only screen and (max-width:480px) {

}

@media only screen and (max-width:320px) {
	
/*------------------------------------*\
    MOBILE NAV
\*------------------------------------*/

.wrapper {
    display: table;
    margin: 70px auto 0 auto;
    position: relative;
    width: 95%;
    max-width: 1280px;
}

.nav {
	display:none;
}

div.mobilenav {
	display:block;
	width:100%;
	height: 50px;
	background:#000;
	background-position:left;
	position:fixed;
	top:0;
	left:0;
	z-index:999;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

div.mobilenav ul {
	padding:0;
	position: relative;
	width: 100%;
	display:none;
	-webkit-transition: top 1s;
	-moz-transition: top 1s;
	-o-transition: top 1s;
	transition: top 1s;
	top:50px;
	z-index:5;
	margin:0;
	background:rgba(60, 132, 54, 0.97);
}

div.mobilenav ul li {
	text-decoration:none;
	list-style:none;
	padding: 8px 0 8px 15px;
}

div.mobilenav ul li a {
	font-size:15px;
	color:#fff;
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-weight:light;
}

/*menu borders*/

div.mobilenav ul li {
	border-top: 1px solid #307f29;
	border-bottom: 1px solid #63935f;
}

div.mobilenav ul li:first-child {
	border-top: none;
}

div.mobilenav ul li:last-child {
	border-bottom: none;
}

/*mobile icon is set in funvtions.php*/

/*------------------------------------*\
    	END MOBILE NAV
\*------------------------------------*/


}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
   
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
   
.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;
}
.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
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%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {
	
}
.bypostauthor {
	
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
