/* Colors ------------------------------------ */

.giallo-bg {
	background-color: #AE0F0A;
}
.blu-bg {
	background-color: #063442;
}
.white-bg {
	background-color: #fff;
}
.giallo-cl {
	color: #eebc28;
}
.blu-cl {
	color: #063442;
}
.white-cl {
	color: #fff;
}

h2 {
	color: #AE0F0A;
}

/* Utility ------------------------------------ */

.clearboth {
	clear: both;
}

.white-img-shadow{
	box-shadow: 15px 15px 0 rgba(255,255,255,1);
}
.list-underline{
	margin-left: 0;
	list-style: none;
}
.list-underline li{
	margin: 0 0 2rem 0;
}
.list-underline li:after{
	content: "";
  border-top: 4px solid #173557;
  display: block;
  width: 40px;
  margin: 0.5rem 0;
}
.txt-justify, .entry-content p{
  text-align: justify;
}
.list-underline h2 { 
	margin-top: 0;
} 



/* Header ------------------------------------ */

body.overlay-header:not(.home):not(.page-template-template-products):not(.template-cover):not(.page-template-template-products-nofoto) #site-header{
	background-color: #173557;
	position: static;
}
.site-logo img {
	width: 150px;
}
.toggle.desktop-search-toggle,
.toggle.mobile-search-toggle{
  border-left: 1px solid #fff;
}
.desktop-hide-login a:before{
	content: '';
	background: url('../images/linkedin.svg') no-repeat;
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 15px;
	vertical-align: middle;
}



/* Slider / Hero ------------------------------------ */

#slider .slick-slide,
#hero .hero-el{
	position: relative;
}
#slider .slider-el{
	display: block !important;
}
#slider .section-inner,
#hero .section-inner{
	position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 10;
}
#slider .slider-el-txt,
#hero .hero-el-txt{
	position: absolute;
	z-index: 10;
	text-align: center;
	width: 100%;
}
#hero .hero-el-txt{
	bottom: 72px;
}
#slider .slider-el-txt{
	bottom: 50px;
}
#slider .slider-el-txt span.bg-accent{
	display:table;
    padding: 7px 10px;
	font-weight: bold;
	letter-spacing: 0.1em;
	margin: 0 auto;
	font-size:13px;
	color:#FFFFFF;
}
#slider .slider-el-txt h1{
	margin-top: 2rem;
	line-height: 1.2;
}
#slider .slider-el-txt a{
	text-decoration: none;
}
#slider .slider-el-img,
#hero .hero-el-img{
  position: relative;
  padding-bottom: 117%;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  background-size: cover;
}
#slider .slider-el-img.slider-el-img-desktop,
#hero .hero-el-img.hero-el-img-desktop{
  display: none;
}
#slider .slick-dots-container{
	position: absolute;
	bottom: 5px;
	width: 100%;
	text-align: center;
}
#slider .slick-dots {
	margin: 20px auto;
    max-width: 120rem;
    width: calc(100% - 4rem);
}
#slider .slick-dots li:first-child{
	margin-left: 0;
}
#slider .slick-dots li button{
  width: 9%;
}
#slider .slick-dots li.slick-active button {
	background-color: #AE0F0A !important;
}
section#slider {
    margin-bottom: 20px;
}


/* Home ------------------------------------ */

#intro .entry-header{
	display: none;
}
#intro .entry-content h2 {
	color: #eebc28;
	text-transform: uppercase;
}
#intro .entry-content .wp-block-button{
	margin-bottom: 0;
}

#servizi .servizio{ padding: 1rem; }
#servizi img{ margin: 0 auto; }
#servizi h3{ margin: 3rem auto; }
#servizi .servizio p{
	margin-bottom: 0;
}
#servizi .slick-dots{ text-align: center;}
.slick-dots {margin: 0;}
.slick-dots li {display: inline;}
.slick-dots li button {
	width: 41px;
	height: 3px;
	padding: 0;
	border-radius: 0;
	background-color: rgba(255, 255, 255, 0.3) !important;
	color: rgba(255, 255, 255, 0) !important;
}
.slick-dots li.slick-active button {
	background-color: rgba(255, 255, 255, 1) !important;
}

#our-vision .section-inner{
	width: 100%;
}
#our-vision .our-vision-txt{
	padding: 4.5rem 0 0 0;
}
#skills .skill{ padding: 1rem; }
#skills h4 {
  position: relative;
	font-weight: 500;
	margin-top: 0;
	padding-right: 15px;
	word-break: initial;
	min-width: 145px;
}
#skills h4:after {
	content: "";
	border-top: 4px solid #173557;
	display: block;
	width: 40px;
	margin: 1rem auto 0;
}

#iso-quality-list ul li{
	margin-bottom: 4rem;
}
#iso-quality-list ul li:last-child{
	margin-bottom: 0;
}
#iso-quality-list ul li:after {
  content: "";
  border-top: 4px solid #173557;
  display: block;
  width: 30px;
  margin: 1rem auto 0;
}
.youtube-container {
	position: relative;
	padding-bottom: 58.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
  }
.youtube-container iframe,
.youtube-container object,
.youtube-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*
.embed-container {
	position:relative;
	padding-top: 50%;
}
.embed-container iframe{
	left:0px;
	right:0px;
	top:0px;
	bottom:0px;
	position: absolute;
	width: 100%;
    height: 100%;
}*/


/* Prodotti ------------------------------------ */
main #plus,
.page-id-552 #plus{
	display: none;
}
#prodotto-intro .section-inner *:first-child,
#plus .section-inner *:first-child{
	margin-top: 0;
}
#prodotto-intro p{
	text-align:justify;
}
#prodotti{
	margin-top: 3rem;
}
#prodotti .prodotto{
	text-align: center;
}
#prodotti .prodotto:first-child {
  padding-bottom: 3rem;
}
#prodotti .prodotto .prodotto-content{
	position: relative;
	top: -40px;
	padding-bottom: 3rem;
}
#prodotti .prodotto img{
	margin: 0 auto;
}
#prodotti .prodotto a.button{
	background: #AE0F0A !important;
	color: #FFFFFF !important;
}
#plus .plus-elements{
	margin-top: 4rem;
}
#plus .plus-elements .plus-element{
	margin-top: 4rem;
	margin-bottom: 0;
}
#plus .plus-elements .plus-element:after{
	content: "";
  border-top: 3px solid #AE0F0A;
  display: block;
  width: 30px;
	margin: 1rem 0 0;
}
#form-prodotto {
	color:#FFFFFF;
}
#form-prodotto .form-prodotto-txt h4{
	margin-top: 0;
}


/* Form ------------------------------------ */

.wpcf7 .wpcf7-form-control-wrap{
	margin-bottom: 2rem;
	display: block;
}
.wpcf7 input:not(.wpcf7-submit),
.wpcf7 textarea{
	padding: 1.5rem 0;
	background: none;
	border: none;
	border-bottom: 1px solid #FFFFFF;
	color:#FFFFFF;
}
.wpcf7 textarea{
	height: 5rem;
	resize: none;
	overflow: hidden;
}
.wpcf7 ::placeholder {
  color: #FFFFFF;
  opacity: 0.5;
}
.wpcf7 :-ms-input-placeholder {
  color: #102640;
}
.wpcf7 ::-ms-input-placeholder {
  color: #102640;
}
.wpcf7 span.wpcf7-not-valid-tip{
	margin-top: 1rem;
}
span.wpcf7-form-control.wpcf7-acceptance {
    margin:0px;padding: 0px;

    }
    div.wpcf7 a {
        color:#FFF;
    }

span.wpcf7-form-control-wrap.privacy {
    margin: 0px;
    padding: 0px;
    display: inline-block;
    vertical-align: bottom;
	margin-top: 10px;
	margin-bottom: -1px;
}


span.wpcf7-form-control-wrap.privacy  span.wpcf7-list-item {
    margin:0px
}

span.wpcf7-form-control-wrap.privacy input[type="checkbox"] {
    border:1px solid #0c2d3b;
    margin-top:0;
    padding-top:0px;
}



/* Page ------------------------------------ */

#pagine-correlate .section-inner{
	display: flex;
	flex-wrap: wrap;
}
#pagine-correlate .section-inner > div{
	margin-bottom: 2rem;
	width: 100%;
}
#pagine-correlate .section-inner > div a{
	color: #FFF;
	background: #AE0F0A  !important;
	display: block;
}
#pagine-correlate .section-inner > div a:hover{
	color: #FFF;
	background: #AE0F0A  !important;
}

#testo-img-sx .section-inner{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
#testo-img-sx .section-inner:nth-of-type(even){
	flex-direction: row-reverse;
}
#testo-img-sx .img-sx,
#testo-img-sx .youtube-container,
#testo-img-sx .testo-dx{
	width: 100%;
}
#testo-img-sx .img-sx{
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding-bottom: 66%;
}
#testo-img-sx .testo-dx{
	padding-bottom: 4.5rem;
}
#testo-img-sx .testo-dx p{
	text-align:justify;
}


/* Footer ------------------------------------ */

.page-id-142 .footer-nav-widgets-wrapper{
	display: none;
}
.footer-nav-widgets-wrapper,
#site-footer {
	background: #173557;
	color: #fff;
}
.footer-widgets {
	text-align: center;
}
.footer-widgets.column-one .widget .custom-html-widget img{
	margin: 0 auto 3rem;
	width: 130px;
}
.footer-widgets.column-five{
	border-top: 1px solid #fff;
	padding-top: 3rem;
}
.footer-widgets.column-five .widget .custom-html-widget img{
	margin: 0 auto 3rem;
	width: 160px;
}
.footer-widgets .widget .widget-title{
	margin-bottom: 0.5em;
}
.footer-widgets h2 {
	font-weight: 800;
	font-size: 1.8rem;
}
.footer-widgets a{
	color: #AE0F0A;
	text-decoration: none;
}
.footer-widgets.column-five{
	text-align: center;
}
.footer-widgets.column-five .button{
	color: #FFF;
  background: #AE0F0A !important;
}
.footer-credits {
  font-size: 1.2rem;
  color: #AE0F0A;
  text-align: center;
}


/* Media Query ------------------------------------ */

@media ( min-width: 768px ) {

  /* Slider */
  #slider .slider-el-img,
	#hero .hero-el-img{
    padding-bottom: 47.8%;
  }

}

@media ( min-width: 600px ) {}
@media ( min-width: 800px ) {
	/* Slider */
	#slider .slick-dots {
		width: calc(100% - 8rem);
	}
	
	/* Footer */
	.footer-widgets {
		text-align: left;
		width: 20%;
	}
	.footer-widgets.column-one{
		width: 100%;
	}
	.footer-widgets.column-five{
		border-left: 1px solid #fff;
		border-top: none;
		padding-top: 0;
		padding-left: 6rem;
		width: 50%;
	}
	.footer-widgets.column-one .widget .custom-html-widget img{
		width: 140px;
		margin: 0 0 6rem 0;
	}
}

@media ( min-width: 1000px ) {

  /* Header */
  .header-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 8rem 0;
  }
  .site-logo img {
    width: 220px;
    transition: height 0.15s linear, width 0.15s linear, max-height 0.15s linear;
  }
	.desktop-hide-login{
		display: none;
	}
  /* Slider */
  #slider .slider-el-img.slider-el-img-mobile,
	#hero .hero-el-img.hero-el-img-mobile{
    display: none;
  }
  #slider .slider-el-img.slider-el-img-desktop,
	#hero .hero-el-img.hero-el-img-desktop{
    display: block;
  }
  #slider .slider-el-txt{
    max-width: 60%;
	text-align: left;
	bottom: 60px;
  }
	#hero .hero-el-txt{
		max-width: 40%;
		text-align: left;
		bottom: 60px;
	}
	#slider .slider-el-txt > span{
		display: table;
	}
	#slider .slider-el-txt span.bg-accent{
		margin:0;
	}
	#slider .slick-dots-container{
		bottom: 20px;
		text-align: left;
	}
  /* Home */
  /*#servizi .section-inner,*/
	#skills .section-inner{
    display: flex;
		justify-content: space-between;
    flex-wrap: wrap;
		align-items: baseline;
  }
	#servizi .section-inner{
		/*justify-content: center;*/
		text-align: center;
	}
	.servizi-elenco {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	#servizi .servizio{
		width: 50%;
		text-align: center;
	}
	#servizi .servizio img{
		margin: 0 auto;
	}
  #skills .skill{
    width: calc(50% - 15px);
  }
	#servizi .servizio{
		padding: 4rem;
	}
	#skills .skill{
		padding: 4rem;
		text-align: left;
		display: flex;
	}
	#skills .skill h4{
		flex-basis: 100%;
		flex-basis: 50%;
	}
	#skills .skill p{
		margin: 0;
		align-self: flex-start;
		flex-basis: 100%;
	}
	#skills h4:after,
	#iso-quality-list ul li:after{
		margin: 1rem 0;
	}
	#intro{
		background: url('https://www.generalmarine.it/wp-content/uploads/2020/03/plancia-nave-e1600095414232.png') no-repeat center left;
		background-size: contain;
	}
	#intro article{
		padding: 4rem;
		width: 50%;
		float: right;
		text-align: left;
		/*background-color: #ffffffe8;*/
	}
	#our-vision .our-vision-txt{
		padding: 5rem 10rem 5rem 10rem;
		width: 60%;
		margin: 0 auto;
	}
	#our-vision .home-video-bg-container{
		position: relative;
		width: 100%;
	}
	#our-vision #home-video-bg{
		min-width: 100%;
		min-height: 100%;
	}

	#iso-quality,
	#iso-quality-list{
		padding: 10rem 0;
	}

	#iso-quality{
		background: #063442 url('https://www.generalmarine.it/wp-content/uploads/2020/03/quality.png') no-repeat center right;
		background-size: contain;
		background-position: 80%;
	}
	#iso-quality .iso-quality-txt{
		width: 50%;
		float: left;
		text-align: left;
	}
	#iso-quality-list ul{
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	#iso-quality-list ul li{
		width: 30%;
		text-align: left;
	}

	/* Prodotti */
	#prodotti .prodotto{
		width: 49%;
	}
	#prodotti .prodotto.colonna-singola{
		width: 100%;
	}
	#prodotti .prodotto:first-child {
	  padding-bottom: 0;
	}
	#plus .plus-elements{
		margin-top: 4rem;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	#plus .plus-elements .plus-element{
		width: 40%;
		margin-top: 4rem;
	}
	#prodotti .section-inner{
		display: flex;
		justify-content: space-between;
	}
	#form-prodotto .section-inner{
		display: flex;
	}
	#form-prodotto .form-prodotto-txt,
	#form-prodotto .form-prodotto-form{
		width: 50%;
	}

	/* Form */
	.wpcf7 .wpcf7-form-control-wrap{
		margin-bottom: 4rem;
	}
	.wpcf7	.input-group{
		display: flex;
		justify-content: space-between;
	}
	.wpcf7 .input-group .wpcf7-form-control-wrap{
		width: 45%;
	}

	/* Page */
	h1.entry-title{
		text-align: left;
	}
	#pagine-correlate .section-inner > div{
		margin-right: 2rem;
		margin-bottom: 0;
		width: auto;
	}
	#pagine-correlate .section-inner > div a{
		display: table;
	}
	.youtube-container {
		padding-bottom: 30.25%;
	}
	#testo-img-sx .img-sx,
	#testo-img-sx .youtube-container,
	#testo-img-sx .testo-dx{
		width: 50%;
	}
	#testo-img-sx .testo-dx{
		padding: 5rem;
	}
	#testo-img-sx .img-sx{
		padding-bottom: 33%;
		margin-bottom: 0;
	}

}

@media ( min-width: 1220px ) {}
@media ( min-width: 1280px ) {}

@media ( min-width: 1330px ) {

  /* Slider */
  #slider .slider-el-img,
	#hero .hero-el-img{
			padding-bottom: 686px;
	}

}
