/*
	Theme Name:        Grigokoll Landing Page
	Theme URI:         http://grigokoll.fornacigrigolin.it
	Description:       Website responsive theme
	Author:            CA
	Version:           1.0
*/


/* Clearfix */
.clearfix:after { clear:both; content:"."; display:block; height:0; visibility:hidden; }
* html .clearfix { height:1%; }
.clear { clear: both; height: 0 }

/* Generic */
body { font: normal 14px/24px "Lato"; color: #171717; }
*:focus, *:active { outline: none !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); box-shadow: none !important; }
a { color: #007A51; text-decoration: none; }
a:focus, a:hover { color: #333; text-decoration: none; }
hr { background: #808080; border: 0; margin: 34px 0 18px; width: 42px; height: 1px; }
h2 { font: bold 26px "Lato"; color: #007A51; }
input[type="submit"] { border: none; cursor: pointer; -webkit-appearance: none; border-radius: 0; }
p { line-height: 2.9rem !important; font-size: 16px; }

table th, table td { border-bottom: 1px solid #fff  !important; padding: 10px 16px !important; }
table th { background: #e8e8e8; font-weight: bold;  }
table td { background: #f0f0f0; }

ul, ol { margin: 0; padding: 0; }
ul li, ol li { margin: 0 0 0 18px; list-style: square; line-height: 24px; }

/* Tools */
#wrapper { width: 100%; background: #fff; }
.verticalCenteredContent { display: flex; flex-direction: column; justify-content: center; }
.videoPreview { /*width: 100%;*/ height: auto; position: relative; }
.videoPreview a:hover { border-bottom: none; }
.videoPreview img { border-radius: 4px; max-width: 100%; vertical-align: middle; }
span.playVideo { position: absolute; top: 40%; left: 44%; cursor: pointer; z-index: 27; }
span.playVideo i { padding: 14px 16px 14px 22px; border: 2px solid; background: rgba(30,30,30,0.8); border-radius: 100%; font-size: 32px; }
span.playVideo.light { border-color: #fff; }
span.playVideo.light i { color: #fff; }
span.playVideo.dark { border-color: #111; }
span.playVideo.dark i { color: #111; }
.avatar img { z-index: 21; }
.avatar.avatar-xl { width: 8.4rem; height: 8.4rem; border: 3px solid #EF8009; }
.mobileOnly, .mobileOnlyInlineBlock, .mobileOnlyInline, .mobileOnlyInlineBlock.is-rounded-icon, .toggleMenu { display: none; } 
.desktopOnly { display: block; }
.stretchToFullWidth { width: 100%; }
.x { color: #D56183; }

.button { display: inline-block; padding: 9px 20px; border: none; font-weight: bold; text-align: center; min-width: 230px; }
.button.ctaDark { background-color: #007A51; color: #fff; }
.button.ctaLight { background-color: #D56183; color: #fff; }
.button.ctaLightTransparent { background-color: #D56183; background-color: rgba(213,97,131,0.9);  color: #fff; }


/* Slider */
#swiper-container, #swiper-container-works { overflow: hidden; }
#swiper-container, .swiper-wrapper { height: 65vh; position: relative; }
#swiper-container-works { height: 550px; }
#swiper-container, .swiper-slide { height: 100%; display: block; }
.swiper-slide { position: relative; }
.swiper-slide .fullImage { position: absolute; top: 0; left: 0; overflow: hidden; min-width: 100%; min-height: 100%; -webkit-transform-style: preserve-3d; /*background-position: center !important;*/ background-size: cover !important; } 
.slide-next { background: url(assets/img/slider/arrow_next.gif) no-repeat top; right: 0%; }
.slide-prev { background: url(assets/img/slider/arrow_prev.gif) no-repeat top; left: 0%; }
.slide-prev, .slide-next { position: absolute; top: 45%; display: block; border: none; z-index: 99; width: 59px; height: 59px; text-indent: -99999px; overflow: hidden; cursor: pointer; background-size: cover; outline: none; }	

.slideTextContentContainer { z-index: 9999; position: absolute; top: /*210px*/ 130px; left: 0; width: 100%; }
.slideTextContentContainer .container { box-sizing: border-box; }
.slideTextContentContainer.external { position: relative; top: 0; margin-top: 95px; padding-bottom: 20px; background: #efefef; }
.heroCtaContainer { position: absolute; top: 0; left: 0; width: 100%; z-index: 99999; }
.slideTextContent { font-size: 36px; line-height: 42px; }
.slideTextContent h1 { font: bold 42px "Lato"; }
.slideTextContent h2 { font: bold 36px "Lato"; }
.slideTextContent p { margin: 0 auto; font-weight: bold; }
#swiper-container-works .slideTextContent p { background: rgba(0,122,81,0.3); padding: 10px; color: #fff; display: inline-block; }
.slideTextContent strong { font-weight: bold; font-size: 42px; color: #EF8009; }
.heroCta { margin-top: 100px; }
.heroCta .button { margin-bottom: 20px; }
.maskedText { text-shadow: 0 0 5px rgba(0,0,0,.5); display: inline-block; background: rgba(0,122,81,0.3); color: #fff; padding: 8px; color: #fff; }
.grigokollLogo { width: 70px; vertical-align: baseline; margin-left: 10px; margin-bottom: -2px; }
	
/* Header */
#stickyHeader { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; } 
#stickyHeader .siteLogo, #stickyHeader .menuBar *, #stickyHeader .headerSocialColumn *, .toggleMenu { -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; }
#stickyHeader.header-scrolled { background: #efefef !important; background: rgba(240,240,240,0.97) !important; z-index: 99999; }
#stickyHeader.header-scrolled img.siteLogo { height: 40px; margin: 5px 0; }
#stickyHeader.header-scrolled .menuBar ul li a { padding-top: 15px; padding-bottom: 15px; } 
#stickyHeader.header-scrolled .headerSocialColumn ul li { margin-top: 15px; margin-bottom: 15px; }
#stickyHeader .container { position: relative; }

.siteHeader img.siteLogo { margin: 5px 0; height: 54px; max-width: 100%; }

.menuBar { -webkit-backface-visibility: hidden; }
.menuBar ul { text-align: center; }
.menuBar ul li { display: inline-block; list-style: none; margin: 0; }
.menuBar ul li a { display: inline-block; font-size: 14px; font-weight: bold; padding: 25px 16px; }
/*.menuBar ul li:first-child a { padding-left: 0; }
.menuBar ul li:last-child a { padding-right: 0; }*/
.menuBar ul li a:hover, .menuBar ul li a.current-item { color: #333; border-bottom: none; }

.menuBar .heroButton { display: none; }
.menuBar.navbar-fixed .heroButton { display: block; float: right; margin-top: 6px; margin-right: 0; padding: 0 20; height: 42px; line-height: 42px; }

.headerSocialColumn ul li { list-style: none; display: inline-block; margin: 22px 10px; }
.headerSocialColumn a { font-size: 24px; /*float: left;*/  }
.headerSocialColumn a:last-child { margin-right: 0; }

.socialMobile { display: none; }

/* Sections */
.sliderSection { position: relative; }
.pageSection { margin: 50px 0; padding: 30px 0; }
.pageSection.highlightDark { background: #007A51; color: #fff; }
#grigokollUltraX { margin-top: 50px; }
#realizzazioni { margin-bottom: 0; }
.formSection { background: #efefef; margin-bottom: 0; }
.highlightDark h3 { font: normal 20px "Lato"; color: #fff; }

.circleIcon { width: 200px; height: 200px; margin: 20px auto; background: #E0F3EB; border-radius: 100%; line-height: 260px; position: relative; }
.circleIcon img { width: 80px; }

.circleIcon { -webkit-transition: box-shadow 0.2s; -moz-transition: box-shadow 0.2s; transition: box-shadow 0.2s; }
.circleIcon:hover { box-shadow: 0 0 0 10px /*rgba(255,255,255,1)*/ #D56183; color: #fff; }
.circleIcon:hover:after { -webkit-transform: scale(0.85); -moz-transform: scale(0.85); -ms-transform: scale(0.85);  transform: scale(0.85); opacity: 0.5; }
.circleIcon:after { top: 0; left: 0; padding: 0; box-shadow: 0 0 0 3px #D56183; -webkit-transition: -webkit-transform 0.2s, opacity 0.2s; -moz-transition: -moz-transform 0.2s, opacity 0.2s; transition: transform 0.2s, opacity 0.2s;   pointer-events: none; position: absolute; width: 100%; height: 100%; border-radius: 50%; content: ''; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; opacity: 0; }

p.intro { color: #007A51; font-weight: bold; font-size: 18px; margin: 35px auto 0 auto; }
p.quote { font: italic 20px "Lato"; line-height: 3.9rem !important; }
p.quote strong { font-style: normal; font-size: 16px; }
.productColumn { position: relative; padding-bottom: 60px; }
.productColumn .buttonBar { position: absolute; bottom: 0; left: 0; width: 100%; }
.productImageContainer { margin-bottom: 20px; height: 290px; position: relative; }
.productImageContainer img { width: 70%; display:block; /* Vertical alignment */ position:absolute; left:0; right:0; bottom:0; margin:auto; }
.productColumn.larger .productImageContainer img { width: 90%; }
.workerImage { width: 200px; border-radius: 100%; }
#video { background: #efefef; margin-bottom: 0; }
#vantaggi { margin-top: 0; }

/* Forms */
input[type='submit'] { margin-top: 30px; }
.g-recaptcha { margin: 30px 0 0 0; }
.form-input-hint { margin-bottom: 0; }
p.captchaError { color: #e85600; }


/* Footer */
footer { background: #fff; border-top: 2px solid #007A51; padding: 20px 0; margin-top: 0; font-size: 14px; }
footer ul { float: right; }
footer ul li { list-style: none; display: inline; float: left; margin: 0; }
footer ul li a { display: inline-block; }
footer ul li a:hover { color: #171717; }

footer p { color: #000; line-height: 24px !important; font-size: 14px; }
.contactMethods i { margin-right: 8px; }

.subFooter { background: #007A51; margin-top: 10px; }
.subFooter p { color: #fff; margin-bottom: 0; }

.footerLogos img { width: 80px; margin-right: 30px; }

/* Layout */
.grid-1152 { width: 1152px; }
.grid-1180 { width: 1180px; }
section.page, section.post, section.applyPageContent, section.page404 { min-height: 80vh; }


/*

	Common styles for smartphone and tablets (< 959px)
	
*/
@media screen and ( max-width : 959px ) 
{
	/* Header and main menu */
	
	/* Header already scrolled on smartphone and tablets */
	#stickyHeader/*.header-scrolled*/ { background: #efefef !important; background: rgba(240,240,240,0.97) !important; z-index: 99999; }
	#stickyHeader/*.header-scrolled*/ img.siteLogo { height: 40px; margin: 5px 0; }
	#stickyHeader/*.header-scrolled*/ .toggleMenu { top: 25px; }
	
	.toggleMenu { display: block; position: absolute; top: 30px; right: 30px; text-indent: -9999px; width: 24px; height: 24px; /*background: transparent url('assets/img/icon-menu.svg') no-repeat 0 0; background-size: 60px 30px;*/ }
	.toggleMenu span { width: 24px; background: #1a1a1a; border-radius: 2px; display: block; height: 2px; margin: 5px 0; transition: transform .2s; }
	.toggleMenu:hover { border: none; padding: 0; }
	
	.toggleMenu.openedMenu span { position: relative; margin: 12px 0; }
	.toggleMenu.openedMenu span:first-child { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); }
	.toggleMenu.openedMenu span:nth-child(2) { opacity: 0; }
	.toggleMenu.openedMenu span:nth-child(3) { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); position: absolute; top: 0; }
	
	.menuBar { display: none; width: 100%; background: #efefef; background: rgba(240,240,240,0.67) !important; z-index: 9999; overflow-y: scroll; /* has to be scroll, not auto */ -webkit-overflow-scrolling: touch; border-bottom: 1px solid #ccc; padding-bottom: 200px; height: 120vh; }
	.menuBar ul { float: left; }
	.menuBar ul li { width: 100%; }
	.menuBar ul li a { padding: 10px; font-size: 18px; }
	/*.menuBar ul li a i { display: none; }*/
	
	.menuBar .socialMobile { float: left; clear: both; width: 100%; margin-top: 30px; }
	.menuBar .socialMobile ul { float: none; width: 100%; }
	.menuBar .socialMobile ul li { width: auto; }
	.menuBar .socialMobile ul li a i { font-size: 26px; }
	
	.siteHeader img.siteLogo { height: 50px; }
	footer img.siteLogo { height: 50px; max-width: 100%; }
	
	.slideTextContentContainer.external { margin-top: 0; }
	#swiper-container-works,  #swiper-container-works .swiper-slide { height: 550px; }
	
}

/*

	Smartphone (< 768px)
	
*/
@media screen and ( max-width : 767px ) 
{
	/* General styles for smartphone */
	body { overflow-x: hidden; }
	.videoPreview { width: 100%; }
	.socialMobile { display: block; }
	
	.centeredOnMobile { text-align: center; }
	.centeredOnMobile .button { float: none !important; }
	
	span.playVideo { top: 34%; left: 39%; }
	
	/* Sections */
	.pageSection { margin: 20px 0; padding: 20px 0; }
	#grigokollUltraX { margin-top: 20px; }
	.productImageContainer { height: auto; }
	.productImageContainer img { position: relative; }
	.productColumn { margin-bottom: 30px; }
	
	/* Slider */
	.slideTextContentContainer { top: 85px; } 
	.slideTextContent { font-size: 18px; line-height: 28px; }
	.slideTextContent h1 { font-size: 22px; }
	.slideTextContent h2 { font-size: 22px; }
	.slideTextContent p { /*max-width: 80%;*/ margin: 10px auto; }
	
	.slideTextContent h1, .slideTextContent h2, .slideTextContent p { margin: 0 auto; background: rgba(255,255,255,0.9); padding: 5px; }
	
	.slideTextContentContainer.external .slideTextContent h1,
	.slideTextContentContainer.external .slideTextContent h2,
	.slideTextContentContainer.external .slideTextContent p
	{ background: none; }
	
	.heroCta .button { max-width: 80%; }
	.fullImage { background-size: cover !important; }
	
	/* Individual fixes */
	body.page { padding-top: 75px; }
	
	/* Hero section */
	.heroCta { margin: 25px auto; /*max-width: 50%;*/ }
	
	/* Footer */
	footer ul { float: left; }
	footer ul.contactMethods li { width: 100%; } 
	.footerLogos img { width: 60px; margin-right: 20px; }
	

}

/*

	Smartphone Landscape (> 375px and < 768px)
	
*/
@media only screen and (min-device-width : 375px) and (max-device-width : 768px) and (orientation : landscape) 
{ 
	#swiper-container, .swiper-wrapper { height: 110vh; position: relative; }
	.slideTextContentContainer { top: 80px; } 
}

/*

	Tablet (> 768px and < 960px)
	
*/
@media screen and ( min-width : 768px ) and ( max-width : 959px )
{
	/*.menuBar ul li a { padding-right: 30px; }*/
	
}

/*

	From Smartphone to Small Desktop

*/
@media screen and ( min-width : 320px ) and ( max-width : 1180px )
{
	.grid-1180 { width: 100%; }
	
}


/*

	Low-height devices

*/
@media screen and ( min-width : 960px ) and ( max-height : 800px )
{
	.slideTextContentContainer { top: 100px; }
	.heroCta { margin-top: 20px; }
	
}

/*

	Low-width devices

*/
@media screen and ( min-width : 960px ) and ( max-width : 1151px )
{
	.menuBar ul li a { padding: 25px 5px; }
	.siteLogo { height: auto !important }
}



/*
 * Let's target IE to respect aspect ratios and sizes for img tags containing SVG files
 *
 * [1] IE9
 * [2] IE10+
 */
/* 1 */
.ie9 img[src*=".svg"] {
	width: auto;
	height: 60px; 
}
/* 2 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  img[src*=".svg"] {
    width: auto;
	height: 60px;	
  }
}