/**
 * Theme Name: GVM - Child Aitec Theme
 * Template: aitec
 * Theme URI: http://aitec.it
 * Author: The Aitec Team
 * Author URI: http://aitec.it
 * Description: A special theme created (with love!) for GVM
 * Version: 1.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: gvm
 */

:root {
  --text-base-size: 16px;
  --text-base-font: 'Poppins', sans-serif;
  --text-alt-font: 'Poppins', sans-serif;
  --primary-color: #019330;
  --primary-color-alpha: #01932f8e;
  --primary-color-variant: #55A832;
  --primary-color-text: #fff;
  --secondary-color: #000;
  --secondary-color-alpha: #00000034;
  --secondary-color-text: #fff;
  --secondary-color-variant: #424242;
  --secondary-color-variant-text: #fff;
  --background-color: #ffffff;
  --background-color-alpha: #ffffffb4;
  --background-color-text: #102819;
  --background-color-text-variant: #254933;
  --background-color-link: #446d1d;
  --background-color-link-variant: #62b618;
  --surface-color: #ffffff;
  --surface-color-text: #000000;
  --error-color: #b00022;
  --error-color-text: #ffffff;
  --header-height: 100px;
  --header-height-inner: 100px;
  --standard-margin: 4rem;
  --standard-border-radius: 12px;
	--main-menu-height: 4rem;
}

a { color: var(--background-color-link); }
a:visited, a:active { color: var(--background-color-link); }

a:hover { color: var(--background-color-link-variant); text-decoration: none; }

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { margin-bottom: 2rem; color: var(--background-color-text); font-weight: 300; }

blockquote { background-color: #e1e1e133; padding: 1rem; border-left: 2px solid var(--primary-color-variant); font-size: inherit; line-height: inherit; font-style: inherit; display: block; }

.btn { padding: 0.6rem 1.4rem; }
.btn.btn-default { background-color: var(--primary-color-variant); text-transform: uppercase; text-shadow: 0px 0px 10px rgba(0,0,0,0.3); fill: #F0F0F0; color: #F0F0F0; border-style: solid; border-width: 1px 1px 1px 1px; border-color: var(--primary-color-variant); border-radius: 1px 1px 1px 1px; }
.btn.btn-default:hover { background-color: var(--background-color); fill: var(--primary-color-variant); color: var(--primary-color-variant); }

/*Header*/
#main-header { height: auto; position: relative; background-color: var(--background-color); border-bottom: none; }
#main-header.sticky { background-color: var(--background-color); border-bottom: 1px solid #9c9c9c85; }
.inner #main-header { border-bottom: 1px solid #9c9c9c85; }

.staff_post-template-default .inner #content { padding-bottom: var(--standard-margin); }

#top-menu-wrapper { display: block; position: relative; background-color: var(--background-color-text); padding: 0.5rem 1rem; }
#top-menu { position: relative; display: block; margin: 0; padding: 0; list-style: none; text-align: start; }
#top-menu li { display: inline-block; padding: 0 0.5rem; }
#top-menu li:last-child { display: inline-block; padding: 0 0 0 0.5rem; }
#top-menu li a { color: var(--secondary-color-text); }

#header-search-wrapper::before { content: ""; position: absolute; left: -1rem; top: 1rem; bottom: 1rem; background-color: var(--primary-color); width: 1px; }
#header-search-wrapper { position: relative; display: inline-block; width: calc(var(--header-height) / 2); height: var(--header-height); text-align: center; z-index: 20; line-height: var(--header-height); }
#header-search-wrapper #search-toggle { font-size: 1.5em; color: var(--primary-color); transition: all 0.2s ease-in; -moz-transition: all 0.2s ease-in; -webkit-transition: all 0.2s ease-in; cursor: pointer; border:none; background:none; }
#header-search-wrapper:hover #search-toggle, #header-search-wrapper.open #search-toggle { color: var(--secondary-color-text); }

#main-header-wrapper { height: auto; display: block; padding: 1rem; }
#main-menu-wrapper { display: inline-block; vertical-align: center; padding-left: 4rem; } 
#main-menu { padding:0; display: flex; height: auto; justify-content: left; list-style: none; height:var(--main-menu-height); line-height:var(--main-menu-height); margin-bottom: 0; margin-top: 0; align-items: center; }
#main-menu > li { display: inline-block; }
#main-menu > li > a { position: relative; font-size: 1rem; color: var(--background-color-text); padding: 0 1rem; font-weight: 400; line-height: var(--main-menu-height); display: block; }
#main-menu > li:hover a, #main-menu li.current_page_item > a { text-decoration: none; color: var(--primary-color); }

#main-menu > li.menu-item-has-children > a:after { content: "\ec3a"; display: inline-block; margin-left:0.6em; font-size:0.6em; font-family:'Linearicons'; }
#main-menu > li:hover > .sub-menu {  -webkit-animation-name: slideMenu; animation-name: slideMenu; -webkit-animation-duration: .50s; animation-duration: .50s; -webkit-animation-fill-mode: both; animation-fill-mode: both;}
#main-menu li .sub-menu { -webkit-animation-name: slideMenuRevert; animation-name: slideMenuRevert; -webkit-animation-duration: .15s; animation-duration: .15s; -webkit-animation-fill-mode: both; animation-fill-mode: both;}

#main-menu .sub-menu {  position: absolute; left: 6em; right: -6em; top: -0.2em; visibility:hidden; display:block; opacity:0; position: absolute; background-color: #fff; padding: 0 0.5em 0 0 ; box-shadow: 0 0.2em 0.1em rgba(0,0,0,0.1); border:1px solid #ddd; border-radius: 0 0 0.1em 0.1em; transition:all 0.25s ease-out;}
#main-menu > li > .sub-menu { visibility: hidden; display: block; opacity: 0; position: absolute; right: -6rem; left: 0; top: var(--main-menu-height); list-style: none; z-index: 10; background-color: #fff;	padding: 0;	box-shadow: 0 1rem 1rem rgba(0,0,0,0.1); border: none; border-radius: 0 0 0.2rem 0.2rem; transition: all 0.25s ease-out; }
#main-menu > li > .sub-menu li a { display: block; font-weight: 400; padding: 1em; line-height: 1.2em; transition:all 0.2s ease-in; }
#main-menu > li > .sub-menu li a:hover { color:var(--primary-color-text); background-color:var(--primary-color); text-decoration:none; transition:all 0.2s ease-out;}
#main-menu > li > .sub-menu li:last-child a { border-radius: 0 0 0.2rem 0.2rem; }

#main-menu .menu-item-has-children { position: relative; }
#main-menu > li > .sub-menu li.menu-item-has-children > a:after { position: relative; content:"\ec3c"; left: 0.6em; font-size: 0.6em; font-family: 'Linearicons'; font-weight: 600; }

#main-menu > li > .sub-menu > li:hover > .sub-menu { -webkit-animation-name: slideMenu; animation-name: slideMenu; -webkit-animation-duration: .50s; animation-duration: .50s; -webkit-animation-fill-mode: both; animation-fill-mode: both; }
#main-menu > li > .sub-menu > li > .sub-menu > li:hover > .sub-menu { -webkit-animation-name: slideMenu; animation-name: slideMenu; -webkit-animation-duration: .50s; animation-duration: .50s; -webkit-animation-fill-mode: both; animation-fill-mode: both; }

#logo-wrapper { position: relative; display: inline-block; padding: 0; }

#mobile-menu-toggle { display:none; position: absolute; height: auto; cursor: pointer; z-index: 3; width: var(--header-height); padding: 1em; right: 0; top: 50%; transform: translateY(-50%); }
#mobile-menu-toggle span { height: 3px; background-color: var(--primary-color); width: calc((var(--header-height)) / 2); display: block; margin: 0.5em auto; }
#mobile-menu-toggle span:first-child { margin: 0.8em auto 0.25em auto;}

.offcanvas-button { position: absolute !important; font-size: 2rem !important; right: 0 !important; top: 50% !important; transform: translateY(-50%) !important; }
.offcanvas-body #mobile-menu { padding: 0; list-style: none; }
.offcanvas-body #mobile-menu li a { display: block; padding: 0.4rem 0; font-family:'Poppins'; color: #102819; text-decoration: none; }
.offcanvas-body #mobile-menu li.menu-item-has-children ul.sub-menu { list-style: none; margin: 0.5rem 0; padding: 0.5rem 0 0.5rem 1rem; border-left: 2px solid #a8c771; }
.offcanvas-body #mobile-menu li.menu-item-has-children ul.sub-menu li a { font-size: 0.9rem; }
.offcanvas-body .offcanvas-menu-container { position: absolute; top: 50%; transform: translateY(-50%); }

/*Machine post*/
.type-machine_post .card { border: none; }
.type-machine_post h2.card-title { font-size: 1.3rem; text-align: center; font-weight: 600; }
.type-machine_post p { font-size: 0.9rem; color: var(--background-color-text-variant); }
.type-machine_post p.machine-terms { text-transform: uppercase; text-align: center; color: var(--background-color-text); border-bottom: 1px solid var(--primary-color-variant); opacity: 0.9; padding: 0.5rem; font-size: 1rem; }
.type-machine_post .card-body { background-color: #f0f0f0; }

/*Link block*/
.link-block-wrapper { border: 1px solid var(--background-color-text); margin-bottom: calc(var(--standard-margin)/2); }
.link-block-wrapper a.link-block { height: 100%; padding: 1rem; display: block; }
.link-block-wrapper { transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }
.link-block .img-container {  margin: 1rem auto; width: 100px; height: 100px; position: relative; }
.link-block .img-container figure { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.link-block .img-container figure.basic-img { opacity: 1; visibility: visible; transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }
.link-block .img-container figure.hover-img { opacity: 0; visibility: hidden; transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }

.link-block-wrapper:hover .link-block figure.basic-img { opacity: 0; visibility: hidden; transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }
.link-block-wrapper:hover .link-block figure.hover-img { opacity: 1; visibility: visible; transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }


.link-block h3 { font-size: 1.2rem; font-weight: 600; }
.link-block p { font-size: 0.9rem; color: var(--background-color-text); }
.link-block-wrapper:hover { background-color: var(--background-color); transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }

/*BR*/
.snap-slider-wrapper .snap-slider-control .snap-slider-control-left { left: 0; }
.snap-slider-wrapper .snap-slider-control .snap-slider-control-right { right: 0; }

/*BR Element*/
.br-element { height: 500px; background-color: var(--background-color); border-radius: var(--standard-border-radius); border:1px solid #fff; }
.br-element .br-body{ padding: 0 1rem; }
.br-element h3 { font-size: 1.4rem; font-weight: 500; }
.br-element figure { border-radius: var(--standard-border-radius) var(--standard-border-radius) 0 0; margin-bottom: 1rem; }
.br-element .date { display: block; color: var(--background-color-text); opacity: 0.8; margin-bottom: 0.5rem }
.br-element .br-body a.link { font-weight: 700; display: block; position: absolute; left: 0; right: 0; bottom: 0; padding: 1em; text-align: left; display: block; background: linear-gradient(to top, #ffffff 85%, transparent); border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius); line-height: 1em; }
.br-element .br-body a.link:hover { text-decoration: none !important; }

/*Deco title*/
.deco-title { font-weight: 700; color: var(--background-color-text); letter-spacing: normal; line-height: 1.2em; }
.deco-title .green { font-weight: 700; color: #55a832; }
.deco-title .eyelet { color: var(--background-color-text); font-weight: 400; font-size: 1rem; }

/*Content Slider*/
.content-slider-element-content { height: 480px; background: #fff; -webkit-box-shadow: 0px 5px 20px 0 rgba(0, 0, 0, 0.1); box-shadow: 0px 5px 20px 0 rgba(0, 0, 0, 0.1); margin-bottom: 2rem; position: relative; }
.content-slider-element-content:hover { border-bottom: 2px solid var(--primary-color-variant); }
.content-slider-element-content:hover figure { filter: brightness(85%); transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }

.content-slider-element-content figure { aspect-ratio: 16/9; margin-bottom: 1rem; transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }
.content-slider-element-content .content-slider-element-text { padding: 1rem; }
.content-slider-element-content h3 { font-size: 1.2rem; text-align: center; font-weight: 500; }
.content-slider-element-content p { text-align: center; }

/*Top slide*/
.top-slide { position: relative; height: 26rem; margin-bottom: var(--standard-margin); }
.top-slide h1 { color: var(--primary-color-text); margin-bottom: 0; font-weight: 600; }
.top-slide .top-title-wrapper { position: absolute; top: 50%; transform: translateY(-50%); left: 0; right: 0; }

/*Breadcrumbs*/
#bcrumbs-wrapper { border-bottom: none; text-align: left; margin-bottom: 0; background-color: transparent; }
.breadcrumbs { padding: 1rem 0; }
.breadcrumbs ol { text-align: left; }
.breadcrumbs ol li > a, .breadcrumbs ol li > span { color: var(--primary-color-text); }
.breadcrumbs ol li::after { color: var(--primary-color-text); background-color: var(--primary-color-text); }

/*Sidebar*/
.sidebar { padding-bottom: var(--standard-margin); }
.sidebar .sidebar-widget > ul { list-style: none inside; padding: 0; margin: 0; }
.sidebar .sidebar-widget > ul > li a { display: block; margin: 0 0 4px 0; padding: 1rem; background-color: #F0F0F0; color: #0d92f7; }
.sidebar .sidebar-widget > ul > li a:hover { background-color: var(--primary-color); color: var(--primary-color-text); }
.sidebar .sidebar-widget > ul > li.current a { background-color: var(--primary-color); color: var(--primary-color-text);  }

.sidebar .attachments-wrapper, .sidebar .links-wrapper { margin-bottom: 2rem; }

/*Phone block*/
.square-block-wrapper { display: block; background-color: var(--primary-color); text-align: center; padding: 2rem; margin-top: 2rem; }
.square-block-wrapper.green { background-color: var(--primary-color); }
.square-block-wrapper.white { background-color: var(--background-color); color: var(--background-color-text); }
.square-block-wrapper p { color: var(--primary-color-text); }
.square-block-wrapper.white p { color: var(--background-color-text); }

/*Child pages*/
.child-pages-wrapper h2 { margin-bottom: 2rem; }
.child-element { position: relative; font-size: 1em; }
.child-element figure.child-element-image { border-radius: var(--cogea-border-radius); }
.child-element h2, .child-element h3, .child-element h4, .child-element h5 { position: absolute; top: 50%; left: 0.2em; right: 0.2em; transform: translateY(-50%); font-family: var(--text-base-font); color: var(--primary-color-text); text-align: center; font-weight: 500; }
.child-element h2 { font-size: 2em; }
.child-element h3 { font-size: 1.8em; }
.child-element h4 { font-size: 1.6em; }
.child-element h5 { font-size: 1.4em; }
.child-element h6 { font-size: 1.2em; }
.child-element .child-element-cover { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-color: #00000071; opacity: 1; transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }
.child-element:hover .child-element-cover { background-color: var(--primary-color-alpha); opacity: 1; transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }


.square-block-wrapper i { position: relative; margin-bottom: 3rem; margin-top: 1rem; width: 2rem; }
.square-block-wrapper i::before { display: block; position: relative; font-size: 2rem; z-index: 1; color: var(--primary-color); transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }
.square-block-wrapper i::after { content: ""; position: absolute;  left: -1rem; top: -1rem; width: 4rem; height: 4rem; background-color: #fff; border-radius: 50%; aspect-ratio: 1; transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }

.square-block-wrapper.white i::before { color: var(--primary-color-text); }
.square-block-wrapper.white i::after { background-color: var(--primary-color);  }

.square-block-wrapper:hover i::before { scale: 0.85; color: var(--primary-color-text); transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }
.square-block-wrapper:hover i::after { scale: 1.05; background-color: #000; transition:0.25s ease-in-out; -webkit-transition:0.25s ease-in-out; -moz-transition:0.25s ease-in-out; }

/*Footer*/
#main-footer { background-color: #303031; padding: 3rem 0; }
#main-footer * { color: var(--secondary-color-text); }
#main-footer h2 { font-size: 1.2rem; font-weight: 500; color: var(--primary-color-variant); text-transform: uppercase; }
#main-footer a { font-size: 1rem; font-weight: 400; color: var(--primary-color-variant); }

#main-footer ul { padding: 0; list-style: none; }
#main-footer .logo { height: 100px; }

#main-footer hr { border-top: 1px solid var(--background-color); margin: 1.5rem 0; opacity: .5; }

/*Misc*/
.phone-ico::before { content: ""; font-family: "Font Awesome 7 Free"; font-weight: bold; position: relative; display: inline-block; margin-right: 0.5rem; }
.mail-ico::before { content: ""; font-family: "Font Awesome 7 Free"; font-weight: bold; position: relative; display: inline-block; margin-right: 0.5rem; }

.acfd-form label.sr-only { display: none; }
.form-control { background-color: #F0F0F0; border-width: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; }

.text-primary-color { color: var(--primary-color) !important; }
.primary-bg { background-color: var(--primary-color) !important; }

#aitec-credits { text-align: left; color: var(--primary-color-text); }
#aitec-credits .aitec-svg-logo { width: 66px; height: auto; }

.vc_row-o-equal-height .wpb_wrapper { height:100%;}
.vc_row-o-equal-height .wpb_wrapper .link-block-wrapper, .vc_row-o-equal-height .wpb_wrapper .square-block-wrapper { height:calc(100% - 2rem);}

.snap-slider-wrapper .snap-slider-control .snap-slider-control-left { left: -2rem; }
.snap-slider-wrapper .snap-slider-control .snap-slider-control-right { right: -2rem; }

ul.check { list-style: none; padding-left: 1.5em; text-indent: 2px; list-style: none; list-style-position: outside; }
ul.check li:before { content: '✔'; margin-left: -1.5em; margin-right: 0.5em; color: #44a82c; }

ul.anchor { list-style: none; padding-left: 1.5em; text-indent: 2px; list-style: none; list-style-position: outside; }
ul.anchor li:before { content: ''; font-family: 'Font Awesome 7 Free'; margin-left: -1.7em; margin-right: 0.5em; color: #44a82c; font-weight: bold; }
