/*
Theme Name: Twenty Seventeen Child
Theme URI: https://wordpress.org/themes/twentyseventeen/
Template: twentyseventeen
Author: Francesca Urbinati
Author URI: https://wordpress.org/
Version: 1.0
*/

@import url('../twentyseventeen/style.css');
@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap');
@import url('https://use.fontawesome.com/releases/v5.0.9/css/all.css');

* { font-family: "Raleway", Sans-Serif; -webkit-font-smoothing: antialiased; font-smooth: always; font-display: swap !important; line-height: 1.5em; box-sizing: border-box; }
a.icon { width: 100%; height: 100%; display: inline; box-shadow: none !important; }
a:hover { box-shadow: 0 0 !important; }
h1, h2, h3, h4 { margin: 0; padding: 0; color: #094679 !important; font-weight: 900;text-transform: uppercase; }
ul { list-style: inside; text-align: left; }

#masthead .wrap { text-align: center; }
.site-header { background: WHITE !important; }
.custom-header-media:before { display: none !important; }
.custom-header { height: 30vh; }

.navigation-top { position: relative; margin-top: 0; z-index: 10; visibility: visible; width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.navigation-top .wrap { padding: 0 1em !important; }
.menu-scroll-down { position: absolute; display: inline-block !important; top: 0 !important; right: 1em; padding: .8em 1.25em !important; }
.menu-toggle { width: 40%; }
.main-navigation { min-width: 320px; }
.menu-main-menu-container { padding-right: 2em; }

.site-branding { top: 0; margin-top: 3em; }
.site-branding .wrap { background: rgba(255,255,255,.8); display: flex; flex-wrap: wrap; padding: 1em! important; }
.site-branding-text { /*padding: .5em 1em; text-align: center;*/ }
.site-title, .site-description { 
	font-family: "Raleway", Sans-Serif;
	font-size: 1.8em;
	font-weight: 900;
    text-transform: uppercase;
	margin: 0;
	/* text-shadow: 2px 2px 0 WHITE, -2px 2px 0 WHITE, 2px -2px WHITE, -2px -2px WHITE, 3px 3px 2px WHITE; */

}
.site-title a, .site-description { color: #094679 !important; opacity: 1 !important; font-weight: bold; }
.site-description { font-size: 1em !important; }

/* CUSTOM HEADER CONTENT (Video e Hotel) */
/*.intro-video iframe { width: 100vw;  height: 90vh; 56.25vw; */ /* min-height: 100vh; min-width: 177.77vh; */ } /* Video grande in background in home */


.has-header-image.twentyseventeen-front-page .site-branding, .has-header-video.twentyseventeen-front-page .site-branding, .has-header-image.home.blog .site-branding, .has-header-video.home.blog .site-branding { display: flex; flex-direction: column; }



.header_container { display: flex; /* flex-wrap: wrap; */ justify-content: space-evenly; align-items: center; margin: 1em auto; width: 90%; padding: 1em; background: WHITE; /* z-index: 10; */ }
.header_container .video_container { width: 80% !important; border: .5em solid WHITE; }
.video_container, .hotel_container { width: 49.9%; min-width: 200px; }
.video_container {justify-content: center; align-items: center; }
.hotel_container { display: flex; flex-wrap: wrap; justify-content: space-evenly; text-align: center; }
.hotel_container h3 { font-size: .7em; padding: .25em .12em; }
.hotel_container .hotel { display: flex; width: 30%; min-width: 113px; min-height: 155px; max-height: 49%; padding: .12em; overflow: hidden; justify-content: center; align-items: flex-end; }
/* Header Cover Image */
.cover-image { width: 100%; min-height: 60vh; background-position: center center; margin-bottom: 2em; }
/**/


.panel-content .wrap { padding: 1.5em 3em; }

#content { padding: 2em !important; }
#primary, .site-footer .widget-area { max-width: 100% !important; margin: 0 auto !important; padding: 0 !important; }
.entry-content { width: 100% !important; }

/* Pagine */
.entry-header { display: none; }
.wrap { /*padding: 2em 1em !important; max-width: 90% !important;*/ }

.page article img { padding: 2em 1em; /* max-width: 40%; */ height: auto; }

iframe { margin: 0 auto; }

/**/

/* Griglie Flex */
.flex-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.flex-grid div { width: 50%; padding: 1em; margin-bottom: 1em; }
.flex-grid img { width: auto !important; max-height: 180px; padding: 0 !important; }

.flex-grid .pricelist { width: 33%; padding: 0; text-align: center; float: left; border: solid 4px GAINSBORO; }
.flex-grid .pricelist div { width: 100%; padding: .25em; }
.flex-grid .pricelist .pl-header { background: #ff730f; color: WHITE; font-size: 1.4em; font-weight: bold; line-height: normal; padding: .5em .25em; }
.flex-grid .pricelist ul { list-style: inside none; text-align: center; background: WHITESMOKE; }
.flex-grid .pricelist .pl-prod { color: #ff730f; font-size: 1.8em; font-weight: bold; line-height: normal; }
.flex-grid .pricelist .pl-rows { padding: .5em 0; }
.flex-grid .pricelist li:nth-child(even) { background: WHITE; }

.flex-grid .hotel { max-width: 360px; }
.flex-grid .hotel h2 { text-align: center; }
.flex-grid .hotel img { width: 100% !important; max-height: 100%; padding: 1em 0; }
.flex-grid ul { display: flex; flex-wrap: wrap; }
.flex-grid li { display: inline-block; padding: .5em; flex: 1 1 auto; width: 100%; }

.wp-caption { background: #ff730f; color: WHITE; text-align: center; font-weight: bold; font-style: normal; padding: .5em !important; }
.flex-grid .wp-caption img { width: 100% !important; height: auto !important; }
/* 3 colonne */
.cols3 div { width: 33% !important; min-width: 280px; }
/**/

/* Gallery */
.gallery {
  display: flex;
  width: 100%;
  margin: 0 auto;
  /* height: 600vw;
   flex-flow: column wrap; */
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}
.gallery * { line-height: normal; }
.gallery-icon portrait { margin: 0; padding: 0; }
.gallery-item {
  height: auto;
  width: 31% !important;
  max-height: 240px;
  margin: 0;
  padding: 0;
 }
.gallery img { padding: 0 !important; margin: .5em !important;
  display: inline-block;
  max-width: 90%;
  max-height:auto;
  width: auto !important;
  height: auto !important; }
/**/

/* Sezioni con fondo arancio */
div.colorblock { margin: 1em; padding: 1em; background: #ff730f; color: WHITE; text-align: center; }
div.colorblock:after {
	content: " ";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
div.colorblock li { font-weight: bold; }
/**/

a.button { display: inline-block; margin: .5em 1em; padding: .5em 1em; background: #ff730f; border-radius: .5em; box-shadow: 2px 2px ORANGERED !important; color: WHITE !important; font-weight: bold; }

/* Footer */
.site-footer { margin-top: 0 !important; }
.site-footer .widget-area { padding: .5em auto !important; }
.site-info { display: none; }


/* Flexgrid */
.flexgrid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.cols2 .box { width: 50%; }
.cols3 .box { width: 33%; }
.cols4 .box { width: 20%; }
/* PROMO */
#promo { margin: 1em; padding: 1em; box-shadow: 0 2px 16px SLATEGRAY; background: rgba(255,255,255,.8); text-align: center; }
#promo-header .box img { max-width: 100%; height: auto; }
#promo .cta { padding: 1em 0; text-align: center; }
#promo p { margin: 0; }
/* Video */
.video-container { display: flex; flex-wrap: nowrap; justify-content: space-around; }
.video-container>* { width: 48%; height: auto; }
video { padding: 1em; cursor: pointer; }
/* Gallery */
.gallery-promo { display: flex; justify-content: space-between; }
.gallery-promo .hotel, .gallery-promo .spiaggia { padding: 1em; display: flex; justify-content: space-between; }
.gallery-promo img { width: 30%; }
/**/

.page-template-tpl-hotel .site-content-contain, #content { padding: 0 !important; margin: 0 auto !important; }
.page-template-tpl-hotel .custom-header { margin-bottom: 0 !important; }

/* MEDIA QUERIES */

@media screen and (orientation:portrait) {
	/* .intro-video iframe { height: 56.25vw; } */
}

@media screen and (min-width: 48em) {
	.admin-bar.twentyseventeen-front-page.has-header-image .custom-header-media, .admin-bar.twentyseventeen-front-page.has-header-video .custom-header-media, .admin-bar.home.blog.has-header-image .custom-header-media, .admin-bar.home.blog.has-header-video .custom-header-media { height: 75vh !important; }
	
	.navigation-top { bottom: unset !important; }
}

@media screen and (min-width: 30em) {
.site-branding { padding: 0 !important; }
.gallery-columns-3 .gallery-item { max-width: 31% !important; }
}

@media only screen and (max-width: 568px) {
	.video_container, .hotel_container { width: 100%; }
	.cover-image { background-image: url(https://www.spiaggiacarmen67.com/wp-content/themes/twentyseventeen-child/images/cover_sm_480.webp); }
	.flex-grid div, .flex-grid .pricelist { width: 100%; }
	
	.cols3 .box, .video-container * { width: 280px; }
	.video-container, .gallery-promo { flex-wrap: wrap; }
	#promo a.button { font-size: 1em !important; }
	
}

.twentyseventeen-front-page.has-header-image .custom-header-media, .twentyseventeen-front-page.has-header-video .custom-header-media, .home.blog.has-header-image .custom-header-media, .home.blog.has-header-video .custom-header-media {
    height: 1200px;
    height: 120vh;
    max-height: 100%;
    /* overflow: hidden; */
}
