/*!
Theme Name: AQ framework
Theme URI: http://underscores.me/
Author: Alessandro Quadarella
Author URI: https://alessandroquadarella.it
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: aq
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

AQ framework is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*
* -----
* --------> _S INTRO
* -----
*/
html {line-height: 1.15;-webkit-text-size-adjust: 100%;}
body {margin: 0;}
h1 {font-size: 2em;margin: 0.67em 0;}
hr {box-sizing: content-box;height: 0;overflow: visible;}
pre {font-family: monospace, monospace;font-size: 1em;}
a {background-color: transparent;}
abbr[title] {border-bottom: none;text-decoration: underline;text-decoration: underline dotted;}
b, strong {font-weight: bolder;}
code, kbd, samp {font-family: monospace, monospace;font-size: 1em;}
small {font-size: 80%;}
sub, sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}
sub {bottom: -0.25em;}
sup {top: -0.5em;}
img {border-style: none;}
/* Forms ========================================================================== */
button, input, optgroup, select, textarea {font-family: inherit;font-size: 100%;line-height: 1.15;margin: 0;}
button, input {overflow: visible;}
button, select {text-transform: none;}
button, [type="button"], [type="reset"], [type="submit"] {-webkit-appearance: button;}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {border-style: none;padding: 0;}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {outline: 1px dotted ButtonText;}

fieldset {padding: 0.35em 0.75em 0.625em;}
legend {box-sizing: border-box;color: inherit;display: table;max-width: 100%;padding: 0;white-space: normal;}
progress {vertical-align: baseline;}
textarea {overflow: auto;}
[type="checkbox"], [type="radio"] {box-sizing: border-box;padding: 0;}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {height: auto;}
[type="search"] {-webkit-appearance: textfield;outline-offset: -2px;}
[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}
::-webkit-file-upload-button {-webkit-appearance: button;font: inherit;}
/* Interactive	 ========================================================================== */
details {display: block;}
summary {display: list-item;}
template {display: none;}
[hidden] {display: none;}
/* Typography	 ========================================================================== */
body, button, input, select, optgroup, textarea {color: #404040;font-family: sans-serif;font-size: 16px;font-size: 1rem;line-height: 1.5;}
h1, h2, h3, h4, h5, h6 {clear: both;}
p {margin-bottom: 1.5em;}
dfn, cite, em, i {font-style: italic;}
blockquote {margin: 0 1.5em;}
address {margin: 0 0 1.5em;}
code, kbd, tt, var {font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;font-size: 15px;font-size: 0.9375rem;}
abbr, acronym {border-bottom: 1px dotted #666;cursor: help;}
mark, ins {background: #fff9c0;text-decoration: none;}
big {font-size: 125%;}
/* Elements	 ========================================================================== */
html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}
body {background: #fff;}
hr {background-color: #ccc;border: 0;height: 1px;margin-bottom: 1.5em;}
ul {list-style: disc;}
ol {	list-style: decimal;}
li > ul, li > ol {margin-bottom: 0;margin-left: 1.5em;}
dt {font-weight: bold;}
dd {margin: 0 1.5em 1.5em;}
img {height: auto;max-width: 100%;}
figure {margin: 1em 0;}
table {	margin: 0 0 1.5em;width: 100%;}
/* Forms	 ========================================================================== */
button, input[type="button"], input[type="reset"], input[type="submit"]
{/*border: 1px solid;border-color: #ccc #ccc #bbb;border-radius: 3px;background: #e6e6e6;color: rgba(0, 0, 0, 0.8);font-size: 12px;font-size: 0.75rem;line-height: 1;padding: .6em 1em .4em;*/}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {border-color: #ccc #bbb #aaa;}

button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus,
input[type="submit"]:active, input[type="submit"]:focus {border-color: #aaa #bbb #bbb;}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"],
input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"],
input[type="color"], textarea {color: #666;border: 1px solid #ccc;border-radius: 3px;padding: 3px;}

input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus,
input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus,
input[type="color"]:focus, textarea:focus {color: #111;}

select {border: 1px solid #ccc;}
textarea {width: 100%;}
/* Navigation	 ========================================================================== */
a {color: royalblue;}
a:visited {color: purple;}
a:hover, a:focus, a:active {color: midnightblue;}
a:focus {outline: thin dotted;}
a:hover, a:active {outline: 0;}
/* Alignments	 ========================================================================== */
.alignleft {display: inline;float: left;margin-right: 1.5em;}
.alignright {display: inline;float: right;margin-left: 1.5em;}
.aligncenter {clear: both;display: block;margin-left: auto;margin-right: auto;}
/* Clearings	 ========================================================================== */
.clear:before, .clear:after, .entry-content:before, .entry-content:after,
.comment-content:before, .comment-content:after, .site-header:before, .site-header:after,
.site-content:before, .site-content:after, .site-footer:before, .site-footer:after {content: "";display: table;table-layout: fixed;}
.clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after {clear: both;}
/* Widgets	 ========================================================================== */
.widget {margin: 0 0 1.5em;/* Make sure select elements fit in widgets. */}
.widget select {max-width: 100%;}
/* Content	 ========================================================================== */
.sticky {display: block;}
.post, .page {margin: 0 0 1.5em;}
.updated:not(.published) {display: none;}
.page-content, .entry-content, .entry-summary {margin: 1.5em 0 0;}
.page-links {clear: both;margin: 0 0 1.5em;}
.comment-content a {word-wrap: break-word;}
.bypostauthor {display: block;}
.infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer {display: none;}/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinity-end.neverending .site-footer {display: block;} /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley {border: none;margin-bottom: 0;margin-top: 0;padding: 0;}
embed, iframe, object {max-width: 100%;}/* Make sure embeds and iframes fit their containers. */
.custom-logo-link {display: inline-block;/* Make sure logo link wraps around logo image. */}
.wp-caption {margin-bottom: 1.5em;max-width: 100%;}
.wp-caption img[class*="wp-image-"] {display: block;margin-left: auto;margin-right: auto;}
.wp-caption .wp-caption-text {margin: 0.8075em 0;}
.wp-caption-text {text-align: center;}
.gallery {margin-bottom: 1.5em;}
.gallery-item {display: inline-block;text-align: center;vertical-align: top;width: 100%;}
.gallery-columns-2 .gallery-item {max-width: 50%;}
.gallery-columns-3 .gallery-item {max-width: 33.33%;}
.gallery-columns-4 .gallery-item {max-width: 25%;}
.gallery-columns-5 .gallery-item {max-width: 20%;}
.gallery-columns-6 .gallery-item {max-width: 16.66%;}
.gallery-columns-7 .gallery-item {max-width: 14.28%;}
.gallery-columns-8 .gallery-item {max-width: 12.5%;}
.gallery-columns-9 .gallery-item {max-width: 11.11%;}
.gallery-caption {display: block;}
/* Accessibility	 ========================================================================== */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
#content[tabindex="-1"]:focus {outline: 0;} /* Do not show the outline on the skip link target. */



@font-face {
    font-family: 'source_sans_probold';
    src: url('/wp-content/themes/aq/img/sourcesanspro-bold-webfont.woff2') format('woff2'),
         url('/wp-content/themes/aq/img/sourcesanspro-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'source_sans_proregular';
    src: url('/wp-content/themes/aq/img/sourcesanspro-regular-webfont.woff2') format('woff2'),
         url('/wp-content/themes/aq/img/sourcesanspro-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ubuntubold';
    src: url('/wp-content/themes/aq/img/ubuntu-bold-webfont.woff2') format('woff2'),
         url('/wp-content/themes/aq/img/ubuntu-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ubunturegular';
    src: url('/wp-content/themes/aq/img/ubuntu-regular-webfont.woff2') format('woff2'),
         url('/wp-content/themes/aq/img/ubuntu-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*
* -----
* --------> SNIPCART CUSTOMIZATIONS
* -----
*/
.snipcart-form__cell--tidy,
.cart__footer-discount-box button,
.snipcart-cart-header__close-button span,
.snipcart-cart-header__title {display:none;}

.snipcart-modal__close-icon {width:35px!important; height:35px!important;}

/* disabled until payment gateway is being taken */
.consulto-rapido {display:none;}


/*
* -----
* --------> ALERT
* -----
*/
.home-alert {
	margin-top:50px;
	padding:3px 10px;
	border-left:solid 7px #0291D3;
	color:#fff;
	font-size:18px;
}

.home-alert i {
	font-size:14px;
}

/*
* -----
* --------> MODAL
* -----
*/

/* The Modal (background) */
.alert-modal {
 display: block; /* Hidden by default */
 position: fixed; /* Stay in place */
 z-index: 999; /* Sit on top */
 left: 0;
 top: 0;
 width: 100%; /* Full width */
 height: 100%; /* Full height */
 /* overflow: auto;  Enable scroll if needed */
 background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

/* Modal Content/Box */
.alert-modal-content {
 background-color: #fefefe;
 margin: 15% auto; /* 15% from the top and centered */
 padding: 0px;
 border: none;
 width: 45%; /* Could be more or less, depending on screen size */
}

@media only screen and (max-width: 990px){
	.alert-modal-content {
	 width: 90%; /* Could be more or less, depending on screen size */
	}
}

.alert-modal-header h2 {font-size:18px;color:#fff;}

.alert-modal-body {
	padding:10px 20px;
}

.alert-modal-body p {font-size:14px;margin:0 0 5px 0;}

.alert-modal-footer {
	background-color:#efefef;
	padding:10px 20px;
}

.alert-modal-footer h4 {margin:0;font-size:13px;}

.alert-modal-header {
	background-color: #0291D3;
	padding:1px 20px;
	display:flex;
	align-items: center;
}

.modal-title {
	width:90%;
	margin:0;
	padding:10px 0;
}

/* The Close Button */
.modal-close {
	width:10%;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	opacity:1!important;
	text-align: right;
}

.close-btn {
	background-color: rgba(0,0,0,0.1);
	padding:5px 10px;
	border-radius: 4px;
}

.modal-close:hover,
.modal-close:focus {
 color: #e0e0e0;
 text-decoration: none;
 cursor: pointer;
}

.alert-modal-footer span {color:#4BB543;font-size:16px;margin: 0 0 0 5px;}

/*
* -----
* --------> MAIN
* -----
*/
* a {text-decoration: none;}
* a, a:visited, a:hover, a:active {color:inherit;}

h1.hid-title {display:none;}

#cookieChoiceInfo{line-height: 1.8em!important;top:auto!important; padding: 15px!important; text-align: left!important;background-color: #fff!important; color:#707070; font-size: 14px!important;box-shadow:0 0 10px rgba(0,0,0,0.3);}
#cookieChoiceInfo a{background: #505050; font-weight: bold;color:#fff; padding: 4px 8px; border-radius: 3px; margin: 5px!important }
#cookieChoiceInfo #cookieChoiceDismiss{background: #0291D3;}

#wp-admin-bar-wp-logo {display:none!important;}

@media only screen and (min-width: 991px){
  #cookieChoiceInfo {bottom:0px!important;}
}

@media only screen and (max-width: 990px){
  #cookieChoiceInfo{top:0!important;text-align: center!important;width:auto!important;}
}

body {font-family: 'Source Sans Pro', sans-serif;}
h1, h2, h3, h4 {font-family: 'Ubuntu', sans-serif;}


/*
* -----
* --------> BUTTONS
* -----
*/
.button {background:#0291D3;color:#fff!important;padding:15px 60px;font-family: 'Ubuntu', sans-serif;box-shadow:3px 3px 10px rgba(0,0,0,0.2);border-radius:3px;cursor:pointer;}
.button:hover {background:#0088C7!important;}

/*
.cta2 {padding:13px 60px;background:rgba(0,0,0,0,);color:#fff!important;border:solid 2px #fff;}
.cta2:hover {background:rgba(255,255,255,0.1);}
*/

/*
* -----
* --------> CONTACT FORM
* -----
*/
.form-wrapper {
	padding:30px;
	background-color: rgba(35, 55, 70, 0.7);
	box-shadow: 4px 4px 16px 4px rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	margin:10px;
	display:flex;
	flex-direction: column;
	margin:0 auto;
	width:100%;
}

@media only screen and (min-width: 991px){
	.form-wrapper {
		width:400px;
	}
}

form {width:100%;display:block;}
form p {margin:0;margin-bottom:5px;}
form .cf-entry textarea, form .cf-entry input {margin-top:0;margin-bottom:10px;}

.form-title {display:none;font-size:16px;margin:0;margin-bottom:15px;}
.cf-label {color:#0291D3!important;text-transform:uppercase;font-size:12px;margin-bottom:5px;}

#cf-name input,
#cf-mail input,
#cf-message textarea {
	width:100%;
	padding:10px;
	background: #233746;
	box-shadow: inset 0px 0px 7px 2px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	border:none;
}

#cf-name input, #cf-mail input {height:45px;}
#cf-message textarea {height:90px;}

#cf-submit input {width:100%;background:#0291D3;color:#fff;border:none;padding:12px 0;cursor:pointer;}

#cf-consent {float:left;width:100%;margin:0;margin-top:5px;font-size:12px;line-height:16px;display:flex;}
#cf-consent a {color:#0291D3;}

#medicenter-form #cf-consent span {color:#fff;margin-left:5px;}

#medicenter-form ::placeholder {font-size:14px;font-style:italic;color:#FFF;opacity:0.2;}
#medicenter-form input,
#medicenter-form textarea {color:#FFF;}

.alert-success {
    color: #02D385 !important;
    font-weight:500;
    line-height:20px;
    padding-left:10px;
		margin-top:20px;
		border-left:solid 4px #02D385;
		font-size:16px;
		font-style:italic;
		display:flex;
}
.cf-error {color:#D32902E3;}

:invalid {box-shadow: none;}
:-moz-submit-invalid {box-shadow: none;}
:-moz-ui-invalid {box-shadow:none;}

@media only screen and (max-width: 990px){

}

/*
* -----
* --------> PAGE SECTIONS
* -----
*/
.page-section {padding:75px 0;}

.section-title {color:#0291D3;font-size:15px;margin:0 0 10px 0;text-transform:uppercase;font-weight:700;}
.section-title::before {content: "";display:inline-block;height:2px;width:40px;margin:0 15px 5px 0;background-color:#0088C7;}

.sub-headline {
  margin:0 0 75px 0;
  padding:0!important;
  font-size:28px;
  line-height: 30px;
  color:#FFF;
  font-weight:400;
}


@media only screen and (max-width: 990px){
	.page-section {padding:40px 0;}
}

/*
* -----
* --------> SECTION / HERO
* -----
*/

#hero-container {display:flex;align-items:center;margin-top:50px;}

@media screen and (max-width: 800px) {
  #hero-container {margin-top:150px;}
}

#hero .page-section {
  padding:100px 0 0 0;
  height: calc(100vh - 50px);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#hero {
	background-image:linear-gradient(rgba(35, 55, 70, 0.95), rgba(35, 55, 70, 0.95)), url("/wp-content/themes/aq/img/bg1.jpg");
	background-color:#233746;
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
}
#hero .main-title {color:#0291D3;font-size:40px;line-height:45px;text-shadow:3px 3px 10px rgba(0,0,0,0.2);margin:0 0 15px 0;}
#hero .sub-title {color:#fff;font-size:20px;line-height:25px;margin:0 0 40px 0;}
#hero .hero-left {padding:20px 0;}
#hero .hero-right {padding:20px 0;}
#hero .hero-right p {color:#fff;}

.carousel {position:relative;width:100%;padding:0 50px;text-align:center;}
.clientslider {margin:0 auto;}
.slide {margin:0 auto;text-align:center;}
.slide img {margin:0 auto;max-width:150px;}
.carousel .js-prev {position:absolute;top:50%;left:0;background:rgba(0,0,0,0);color:#fff;border:none;cursor:pointer;}
.carousel .js-next {position:absolute;top:50%;right:0;background:rgba(0,0,0,0);color:#fff;border:none;cursor:pointer;}

.carousel i {font-size:20px;padding:10px;text-shadow:0 3px 5px rgba(0,0,0,0.3);}
.carousel i:hover {color:#0291D3;}

.our-clients {font-size:14px;color:#fff;font-style:italic;font-weight:400;}

@media only screen and (min-width: 991px){
	#hero .hero-left {margin-top:-50px;}
	.carousel {margin-top:30px;}
	#hero {min-height: 100vh;}
	#hero a {margin-right:10px;}
	#hero .mobile-hero-logo {display:none;}
}

@media only screen and (max-width: 990px){
	#hero .page-section {padding:20px 0 0 0;}
	#hero .mobile-hero-logo {width:60%;padding-top:30px;margin:0 auto;}
	#hero {min-height: calc(100vh - 60px);}
	#hero .hero-left {padding:30px 0;}
	#hero .main-title {font-size:24px;line-height:28px;}
	#hero .sub-title {font-size:16px;line-height:21px;}
	#hero a {text-align:center;display:block;margin:20px auto;width:100%;}
}

.corsi-box {margin-top:80px;}
.corsi-box .sub-headline {margin:0 0 50px 0;}
.corsi-box h2 {color:#FFF}
.corsi-box .corsi-wrapper {
    display: flex;
    flex-flow: row wrap;
    gap: 40px;
	margin-top:25px;
}

.corsi-box .card-corso {
    padding: 40px;
    width: calc(50% - 20px);
	background-color:rgba(0, 25, 36, 0.2);
	border-radius:0 15px 0 15px;
	box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.corsi-box .card-corso h3 {color:#0291D3;margin:0 0 10px 0;text-transform:uppercase;line-height:1.2em;}
.corsi-box .card-corso p {color:#FFF;margin:0;}
.corsi-box .card-corso p.corso-footer {color:#FFF;margin:10px 0;padding-left:8px;border-left: solid 2px #0291D3;font-size:14px;}

@media screen and (max-width: 800px) {
  .corsi-box .card-corso {width:100%; margin:0;}
}

/*
* -----
* --------> SECTION / SERVIZI
* -----
*/
#servizi {background:#233746;/*background-image:url("/wp-content/themes/aq/img/bg_overlay.png"); background-repeat: no-repeat; background-size: cover;background-position: center;*/}
.svc-box {background:#fff; text-align:center;box-shadow: 4px 4px 16px 4px rgba(0, 0, 0, 0.25);border-radius:0 50px 0 50px;}
.svc-box h3 {color:#0291D3;}
.svc-box ul {list-style-type: none;margin:0;padding:30px 50px;font-size:15px;}
.svc-box ul li {padding:25px 0;border-bottom:solid 1px #efefef;}
.svc-box ul li:first-child {border-top:solid 1px #efefef;}
.svc-left, .svc-right {margin:0 auto;}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
	cursor:help;
}

.tooltip .tooltiptext {
	visibility: hidden;
  opacity:0;
  background-color: #233746;
  color: #fff;
  text-align: center;
  border-radius:5px;
  padding: 15px;
  position: absolute;
  z-index: 999;
	width: 400px;
	margin-left:-200px;
	margin-top:15px;
	top: 100%;
  left: 50%;
	font-size:13px;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity:100;
	-webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #233746 transparent;
}

.appuntamenti {padding:75px 10px;}

.corso {padding:0 15px; border-left:solid 4px #0291D3;}
.corso p {padding:0;margin:0;}

.topheading {font-size:18px;margin:0;}
.appuntamenti h2 {margin:0 0 15px 0;color:#0291D3;}

.corso-data {font-size:22px;font-weight: bold;color:#0291D3;}
.corso-orario {font-size:18px;color:#333;}
.corso-luogo {font-size:16px;color:#777;}

.svc-cta a {color:#0291D3;}

@media only screen and (max-width: 990px){
	.corso {padding:20px}
	.tooltip .tooltiptext {max-width:50vw;margin-left: -25vw;}
}

@media only screen and (min-width: 991px){
	.corso {margin:20px 0;}
	.svc-box {padding:50px 20px;margin:20px 0;}
	/*.svc-left, .svc-right {padding:0 40px;}*/
	.svc-right {border-left:solid 1px #efefef;}
}


/*
* -----
* --------> SECTION / STAFF
* -----
*/
#chi-siamo {background:#233746;background-image:url("/wp-content/themes/aq/img/bg_overlay.png"); background-repeat: no-repeat; background-size: cover;background-position: center;}
#chi-siamo .staff-title {color:#FFF;font-size:18px;font-weight: 400;margin-top:0!important;}
.staff-profile {display:flex;text-align:left;background-color:rgba(255,255,255,0.90);box-shadow: 4px 4px 16px 4px rgba(0, 0, 0, 0.25);margin:15px 10px;min-height:200px;border-radius:5px;}
.staff-profile:hover {background-color:#fff;box-shadow:5px 5px 9px rgba(0,0,0,0.55);transition: linear 0.35s;}
.profile-img {padding:0!important;}
.profile-img img {width:100%;height:100%;object-fit:cover;border-radius: 5px 0 0 5px;}
.profile-bio {padding:15px 15px 15px 25px!important;}
.profile-bio h3 {margin:0;color:#0291D3;}
.profile-bio hr {margin:10px 0;width:50%;}
.profile-bio i {margin:0;color:#0291D3;}
.profile-bio p {margin:0 0 3px 0;font-size:14px;line-height: 16px;}

@media only screen and (max-width: 990px){
	.staff-profile {display:block;background-color: #fff;}
	.profile-bio {padding:15px;}
	.profile-img img {border-radius: 5px 5px 0 0!important;}
}


/*
* -----
* --------> SECTION / CONTATTI
* -----
*/
#contatti {background:#233746;/*background-image: url('/wp-content/themes/aq/img/contatti-bg.jpg');background-size:cover;background-position: center;*/}
#contatti ul {list-style-type: none;margin:0;padding:15px 0;}
#contatti ul li {margin:0;padding:3px 0;}

.contact-box {margin-top:40px;}
.contact-box .sub-headline {margin-top:80px;}

.mappa {margin:0;padding:0;width:100%;height:auto;box-shadow: 4px 4px 16px 4px rgba(0, 0, 0, 0.25);}
.mappa a {display:flex;}
.mappa img {margin:0;padding:0;object-fit: cover;}

.form-contatti {padding-top:40px;}

.recapiti li {margin:10px 0;}
.recapiti li:first-child {margin-top:0;}
.recapiti p {color:#0291D3;font-weight:600;font-size:14px;font-style:normal;margin:0;}
.recapiti i {color:#FFF;font-weight:400;font-size:13px;font-style:italic;margin:0;}

.working-hours {margin:15px 0;}
.working-hours p {color:#0291D3;font-weight:600;font-size:14px;font-style:normal;margin:0;}
.working-hours i {color:#FFF;font-weight:400;font-size:13px;font-style:italic;margin:0;}


@media only screen and (max-width: 990px){
	.form-wrapper {width:100%!important;}
}
/*
* -----
* --------> PAGE / POLICIES
* -----
*/
.page-template-privacy-policy,
.page-template-cookie-policy {margin:0;}

.page-template-privacy-policy #masthead,
.page-template-privacy-policy #mobile-navigation,
.page-template-cookie-policy #masthead,
.page-template-cookie-policy #mobile-navigation {display:none;}
.policy-header {background:#293B44;box-shadow: 0 0 5px rgba(0,0,0,0.3);z-index:99;-webkit-transition: background-color 0.3s;transition: background-color 0.3s;text-align:center;}
.policy-header img {height:35px;width:auto;margin:12px 0 10px 0;}
.policies {padding:25px 0;}


/*
* -----
* --------> HEADER & MENU
* -----
*/
#masthead {position:fixed;width:100%;padding:0;background:none/*#293B44*/;}
#masthead.sticky {background:#293B44;box-shadow: 0 0 5px rgba(0,0,0,0.3);z-index:99;-webkit-transition: background-color 0.3s;transition: background-color 0.3s;}
.site-branding {width:20%;float:left;margin-top:4px;padding:10px 0;}
#site-navigation {width:80%;float:left;padding:0;font-size:15px;}

.site-branding img {height:35px;width:auto;}

#site-navigation ul {list-style-type: none;float:right;margin:0;}
#site-navigation ul li {float:left;margin:0 5px;display:block;text-transform: uppercase;padding:20px 5px;}
#site-navigation ul li a {color:#fff;}
#site-navigation ul li a:hover {color:#0291D3;}
.menu-item.active a {color:#0291D3!important;}
.menu-item.active {/*border-bottom:solid 3px #0291D3;*/}

@media only screen and (min-width: 991px){
  #mobile-navigation, #fullscreen-menu {display:none;}
}

@media only screen and (max-width: 990px){
  #masthead {display:none;}
  #mobile-navigation {position:fixed;bottom:0;display:flex;height:60px;width:100%;background:#293B44;z-index:9999;box-shadow:0 0 10px rgba(0,0,0,0.4);}
  .mobile-btn {display:block;width:25%;height:40px;margin:10px 0;border-right:solid 1px rgba(255,255,255,0.1);}
  .mobile-btn-inner {width:100%;height:100%;margin:0 auto;text-align:center;}

  .mobile-btn img {height:34px;padding:3px 0;margin-top:2px}
  #mobile-branding img {height:36px;padding:2px 0;margin-top:1px}

  #fullscreen-menu {position:fixed;background-color:rgba(3,145,211,0.95);width:100%;height:100%;z-index:999;text-align:center;}
  #fullscreen-menu .menu-menu-1-container {width:100%;height:100%;position:relative;}
  #mobile-menu {top:12vh;margin:0;padding:0;width:100%;position:relative;list-style-type:none;text-transform:uppercase;font-size:18px;/*border:solid 1px blue;*/}
  #mobile-menu li {display:block;width:70%;margin:0 auto;border-bottom:solid 1px rgba(255,255,255,0.25);/*border:solid 1px red;*/}
  #mobile-menu li:last-child {border:none;}
  #mobile-menu a {text-decoration:none;color:#fff;display:block;width:100%;padding:4vh 0;margin:0 auto;}


/*#fullscreen-menu {position:fixed;background-color:rgba(255,255,255,0.95);width:100%;height:100%;z-index:999;text-align:center;}
  #fullscreen-menu .menu-menu-1-container {width:100%;height:100%;position:relative;}
  #mobile-menu {top:15%;margin:0;padding:0;width:100%;position:relative;list-style-type:none;text-transform:uppercase;font-size:18px;}
  #mobile-menu li {display:block;width:70%;margin:0 auto;border-bottom:solid 1px #efefef;}
  #mobile-menu li:last-child {border:none;}
  #mobile-menu a {text-decoration:none;color:#707070;display:block;width:100%;padding:20px 0;margin:0 auto;}*/

  .hidden {bottom:-101vh;-webkit-transition: bottom 0.3s;  transition: bottom 0.3s;}
  .show {bottom:0;}
}


/* Hamburgers */
.hamburger {
  /*padding: 15px 15px;*/
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  /*margin: 0;*/
  overflow: visible; }
  .hamburger:hover {
    opacity: 0.7; }
  .hamburger.is-active:hover {
    opacity: 0.7; }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: #fff; }

.hamburger-box {
  width: 28px;
  height: 15px;
  display: inline-block;
  /*position: relative;*/ }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
  }

  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 28px;
    height: 1.5px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -8px; }
  .hamburger-inner::after {
    bottom: -8px; }

  /* Squeeze */
.hamburger--squeeze .hamburger-inner {
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  .hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease; }
  .hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--squeeze.is-active .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  .hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease; }
  .hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }


/*
* -----
* --------> FOOTER
* -----
*/
footer {border-top:solid 2px #0291D3;background:#222;font-size:14px;font-weight:500;padding:0px 0px;}
.site-info {display:flex;align-items: center;}
footer p {margin:0;color:#fff;}
footer a {color:#0291D3;font-weight:bold;}
footer a:visited {color:#0291D3;}
footer a:hover {color:#fff;}
footer .credits {text-align:right;}

.aq-logo {height:35px;width:auto;}
.aq-credits {display:inline-flex;align-items: center;padding-top:7px;}
.aq-credits p {padding-left:8px;font-weight:500;}

@media only screen and (max-width: 990px){
  footer {margin-bottom:60px;}
  footer p {text-align:center;}
	.site-info {display:block;padding:10px 0;}
	.copy, .credits {text-align:center!important;padding:10px 0;}
}

/*
* -----
* --------> 404
* -----
*/
.error-404 {text-align:center;padding:20%;}
.error-404 img {width:100%;}
.error-404 .page-title {margin-top:50px;}
.error-404 hr {background-color:#0291D3;}
.error-404 p {font-size:18px;margin:10px 0;padding:0;}
.error-404 a {color:#0291D3;font-weight: bold;}

@media only screen and (max-width: 990px){
	.error-404 {text-align:center;padding:20% 0;}
}


/* Style the Image Used to Trigger the Modal */
.lightbox {
 border-radius: 5px;
 cursor: pointer;
 transition: 0.3s;
}

.lightbox:hover {opacity: 0.9;}

/* The Modal (background) */
.modal {
 display: none; /* Hidden by default */
 position: fixed; /* Stay in place */
 z-index: 1; /* Sit on top */
 padding-top: 100px; /* Location of the box */
 left: 0;
 top: 0;
 width: 100%; /* Full width */
 height: 100%; /* Full height */
 overflow: auto; /* Enable scroll if needed */
 background-color: rgb(0,0,0); /* Fallback color */
 background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
 margin: auto;
 display: block;
 width: 80%;
 max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
 margin: auto;
 display: block;
 width: 80%;
 max-width: 700px;
 text-align: center;
 color: #ccc;
 padding: 10px 0;
 height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
 animation-name: zoom;
 animation-duration: 0.6s;
}

@keyframes zoom {
 from {transform:scale(0)}
 to {transform:scale(1)}
}

/* The Close Button */
.close {
	position:absolute;
	display:block;
	opacity:0;
	background-color:rgba(0, 0, 0, 0.0);
	width:100%;
	height:100%;
}

.close:hover,
.close:focus {
 color: #bbb;
 text-decoration: none;
 cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
 .modal-content {
	 width: 100%;
 }
}
