 /* Colors
==================================================

Blue #003f7b | Dark blue #00376b
Green #00847b | Dark green #007068
Grey #e9e9e9 | Dark grey #cccccc

Servizio idrico #0087cc
Ambiente #87bc23
Luce e gas #ce1719
Trasporto #f39200
Farmacie #ffcc02
Edilizia #a5501d

*/


/* Google fonts & font family
==================================================*/

@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,400i,700|PT+Serif');


/* General
==================================================*/
html { scroll-behavior: smooth; }
#newsletter, #peer-review { padding-top: 150px; }
html, body { height: 100%; font-family: 'Alegreya Sans', sans-serif !important; line-height: 1.5; color: #000; font-size: 115%; }
body { background: #fff !important; }
body.home, body.page, .bottom { background: #e9e9e9 !important; }
.bottom { border-top: 1px solid #fff; }
body.woocommerce-cart, body.woocommerce-page { background: #fff !important; }
.no-padding { padding-left: 0; padding-right: 0; }
.no-padding [class^="col-"] { padding-left: 0; padding-right: 0; }
a, a:link, a:visited, a img, .btn, .button, .button-primary, button { -webkit-transition: all .3s; transition: all .3s; color: #335da3; text-decoration: none; font-weight: 700; }
a:visited { color: #335da3 !important; }
a:hover { text-decoration: none; color: #00847b !important; }
a img:hover { opacity: .75; }
p, blockquote { margin: 0 0 .8em !important; }
ul, ol { margin: 0 0 1.5em 1em !important; }

#page { border-bottom: 10px solid #00847b; }
#content { width: 100%; max-width: 1170px; margin: 150px auto; text-align: left; position: relative; padding: 0; }
.page #content { max-width: 100%; margin-bottom: 0; }
.page #main { position: relative; }
.content-container { width: 100%; padding: 100px 0; background-color: #fff; }
.content-inner { width: 100%; max-width: 1170px; margin: 0 auto; }
#secondary section { font-size: 18px; line-height: 1.5em !important; }


/* typography
==================================================*/
h1, h2, h3, h4, h5, h6 { line-height: 1.25em; font-weight: 300; font-family: 'PT Serif', serif !important; margin: 0 !important; padding: 0; color: #003f7b; }
h1 { font-size: 48px !important; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
.page-title { margin-bottom: 50px !important; }
.page-title.res-area { margin-bottom: 0 !important; }
#secondary h2, #secondary h3 { font-size: 24px; }
#secondary h4, #secondary h5, #secondary h6 { font-size: 18px; }
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, input[type="submit"], input.submit, button.submit, .servizio h3, .button-primary { font-family: 'Alegreya Sans', sans-serif !important; }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5 { margin-bottom: 20px !important; }
nav { text-transform: uppercase; font-size: 14px; font-weight: 700; }
blockquote { font-style: italic; font-size: 24px; margin-bottom: 50px !important; overflow: auto; }
.entry-meta { text-transform: uppercase; font-weight: 700; color: #003f7b; margin-bottom: 0; }

.breadcrumbs { width: auto; font-size: 14px; color: #003f7b; margin: 80px 0 40px; } 
.breadcrumbs a, .breadcrumbs a:visited { color: #00847b; } 
.breadcrumbs a:hover { color: #007068; } 



/* forms
==================================================*/
form {  font-size: 18px !important; }
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, select, .select2-container--default .select2-selection--single { border: 0 !important; border-radius: 0 !important; height: 60px !important; width: 100%; padding: 5px 20px !important;  background-color: #e9e9e9; }
[type="checkbox"] { margin-right: 5px; }
#loginform input[type="text"], #loginform input[type="password"] { background: #fff; }
.select2-container--default .select2-selection--single { background-color: #e9e9e9 !important; }
textarea { height: 200px; padding: .5em !important; }
label, .wppb-form-field label { display: block; }
.wppb-form-field label,
.wppb-form-field input[type="text"], .wppb-form-field input[type="number"], .wppb-form-field input[type="email"], .wppb-form-field input[type="url"], .wppb-form-field input[type="password"], .wppb-form-field input[type="search"], .wppb-form-field select, .wppb-form-field textarea, #wppb-login-wrap .login-username input, #wppb-login-wrap .login-password input, #wppb-login-wrap .login-auth input { width: 100% !important; float: none !important; }
.wppb-form-field input[type="text"], .wppb-form-field input[type="number"], .wppb-form-field input[type="email"], .wppb-form-field input[type="url"], .wppb-form-field input[type="password"], .wppb-form-field input[type="search"], textarea { background-color: #fff; }
label.privacy { display: inline; font-size: 90%; }
input[type="submit"], input.submit, button.submit { font-size: 18px !important; border-radius: 0 !important; cursor: pointer;  background-color: #003f7b !important; border-bottom: 10px solid #00376b !important; padding: 20px 20px 10px !important; text-transform: uppercase; color: #fff !important; display: inline-block; font-weight: 700 !important;  }
input:hover[type="submit"], input:hover.submit, button:hover.submit { background-color: #00376b !important; }
.wpcf7-form p, .wppb-user-forms ul li { display: inline-block; width: 48%; margin-right: 1% !important; }
.wppb-user-forms ul li.wppb-default-name-heading, .wppb-user-forms ul li.wppb-default-contact-info-heading, .wppb-user-forms ul li.wppb-default-username { width: 98%; margin-right: 0 !important; clear: both; display: block; }
.wppb-user-forms ul li.wppb-default-username { width: 97%; }
.wppb-form-field select { background: #fff; max-width: 870px; }
.wppb-user-forms ul li { vertical-align: top; }
.wpcf7-form .privacy, .wpcf7-form .corsi { margin-top: 1em; margin-bottom: 20px; border: 1px solid #e9e9e9; padding: .5em; }
.wpcf7-form .privacy p, .wpcf7-form .corsi p { width: 99%; }
.wpcf7-form .corsi { border: 0; padding: 0; margin-top: 0; }
.wpcf7-form .corsi textarea { min-height: 100px; }
.wpcf7-not-valid-tip { color: #cc0 !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 17px !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 50px !important; }
.select2-container .select2-selection--single .select2-selection__rendered { padding-left: 0 !important; }

.page-template-page-sportello input[type="text"], 
.page-template-page-sportello input[type="email"], 
.page-template-page-sportello  input[type="url"], 
.page-template-page-sportello input[type="password"], 
.page-template-page-sportello input[type="search"], 
.page-template-page-sportello input[type="number"], 
.page-template-page-sportello input[type="tel"], 
.page-template-page-sportello input[type="range"], 
.page-template-page-sportello input[type="date"], 
.page-template-page-sportello input[type="month"], 
.page-template-page-sportello input[type="week"], 
.page-template-page-sportello input[type="time"], 
.page-template-page-sportello input[type="datetime"], 
.page-template-page-sportello input[type="datetime-local"], 
.page-template-page-sportello input[type="color"], 
.page-template-page-sportello textarea, 
.page-template-page-sportello select { background-color: #fff; }
.page-template-page-sportello .wpcf7-form .privacy { margin-bottom: 0; }
.page-template-page-sportello textarea { height: 200px !important; }

.wppb-user-forms ul { margin: 0 !important; }
.wppb-user-forms h4 { margin: 30px 0 0 !important; }
.wppb-form-field.wppb-default-password button.wppb-toggle-pw, .wppb-form-field.wppb-default-repeat-password button.wppb-toggle-pw, #wppb-login-wrap .login-password button.wppb-toggle-pw { top: 40px !important; padding: 5px !important; height: 32px !important; right: 10px  !important; background-color: #fff !important; border: 0 !important; }
.wppb-form-field > span { margin-left: 0 !important; }

.settore-select { margin-bottom: 30px; }
.settore-select select { width: 98%; }
.settore-select.fabbisogni .wpcf7-list-item { display: block; }
#group-2017-idrico, #group-2018-idrico, #group-2019-idrico, #group-2020-idrico,
#group-2017-energia, #group-2018-energia, #group-2019-energia, #group-2020-energia,
#group-2017-gas, #group-2018-gas, #group-2019-gas, #group-2020-gas,
#group-2017-ia, #group-2018-ia, #group-2019-ia, #group-2020-ia,
#group-2017-tpl, #group-2018-tpl, #group-2019-tpl, #group-2020-tpl
{ padding: 20px; margin-bottom: 30px; border: 1px solid #ccc; }
.wpcf7-form #group-2017-idrico p, .wpcf7-form #group-2018-idrico p, .wpcf7-form #group-2019-idrico p, .wpcf7-form #group-2020-idrico p,
.wpcf7-form #group-2017-energia p, .wpcf7-form #group-2018-energia p, .wpcf7-form #group-2019-energia p, .wpcf7-form #group-2020-energia p, 
.wpcf7-form #group-2017-gas p, .wpcf7-form #group-2018-gas p, .wpcf7-form #group-2019-gas p, .wpcf7-form #group-2020-gas p, 
.wpcf7-form #group-2017-ia p, .wpcf7-form #group-2018-ia p, .wpcf7-form #group-2019-ia p, .wpcf7-form #group-2020-ia p, 
.wpcf7-form #group-2017-tpl p, .wpcf7-form #group-2018-tpl p, .wpcf7-form #group-2019-tpl p, .wpcf7-form #group-2020-tpl p
{ width: 100% !important; margin-right: 0 !important; }
.wpcf7-form #group-2017-idrico label, .wpcf7-form #group-2018-idrico label, .wpcf7-form #group-2019-idrico label, .wpcf7-form #group-2020-idrico label, 
.wpcf7-form #group-2017-energia label, .wpcf7-form #group-2018-energia label, .wpcf7-form #group-2019-energia label, .wpcf7-form #group-2020-energia label, 
.wpcf7-form #group-2017-gas label, .wpcf7-form #group-2018-gas label, .wpcf7-form #group-2019-gas label, .wpcf7-form #group-2020-gas label, 
.wpcf7-form #group-2017-ia label, .wpcf7-form #group-2018-ia label, .wpcf7-form #group-2019-ia label, .wpcf7-form #group-2020-ia label,  
.wpcf7-form #group-2017-tpl label, .wpcf7-form #group-2018-tpl label, .wpcf7-form #group-2019-tpl label, .wpcf7-form #group-2020-tpl label { width: 32.25% !important; float: left !important; margin-right: 1% !important; }
.wpcf7-form h4 { margin-bottom: 20px; }
.wpcf7-number { margin-bottom: .5em; }

[data-class="wpcf7cf_group"] p { width: 98%; }
[data-class="wpcf7cf_group"] .wpcf7-list-item { display: block; }


/* searchform */

.search-container { display: none; }
a.close { position: absolute; top: 70px; right: 70px; z-index: 101; text-decoration: none; }
a:hover.close { color: #fff !important; }
.search-container #searchform { background: #eee; position: absolute; padding: 0; width: 100%; height: 100vh; left: 0; top: 0; font-size: 18px; z-index: 100; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.search-container #searchform .search-input { width: 50%; position: relative; text-align: center; }
#searchform input[type="text"] { margin-bottom: 30px; }
aside .search-submit { margin-top: .5em; }

.nf-form-content { margin-top: 50px; }
.field-wrap select { border: 0 !important; padding: 5px 20px !important; height: 40px !important; }
.nf-error-msg, .ninja-forms-req-symbol { background-color: #fbf388; color: #000 !important; display: inline; }

.error404 label, .search-no-results label { width: calc(100% - 200px); float: left; }
.error404 input[type="submit"], .search-no-results input[type="submit"] { float: left; }

.page-template-areariservata #loginform { width: 600px; }
.page-template-areariservata #loginform input { margin-bottom: 10px; }


/* Media elements */
.wp-video { margin-bottom: 100px; }
.mejs-button>button { background-color: transparent !important; border: 0 !important; padding: 0 !important; }


/* buttons
==================================================*/
.btn-container { margin: 0 .25em 2.5em 0; display: inline-block; width: auto; }
.btn-container ul { margin-top: 50px !important; }
.btn, .tribe-events-read-more, .button, .button-primary, button { background-color: #003f7b !important; border-bottom: 10px solid #00376b !important; padding: 15px 15px 5px !important; text-transform: uppercase !important; color: #fff !important; display: inline-block !important;  font-family: 'Alegreya Sans', sans-serif !important; font-size: 18px !important; cursor: pointer !important; }
.btn:hover, .tribe-events-read-more:hover, .button:hover, .button-primary:hover, button:hover { background-color: #00376b !important; color: #fff !important; }
.btn:visited, .tribe-events-read-more:visited, .button:visited, .button-primary:visited, button:visited { color: #fff !important; }
.btn.no-bg { font-size: 18px; padding: 0; background-color: transparent; border-color: transparent; margin: 30px 0; }
.btn.no-bg:hover { border-color: #fff; }

.sharedaddy { text-align: center; margin: 50px auto; }
div.sharedaddy h3.sd-title { margin: 0 auto 20px !important; font-size: 18px !important; }
div.sharedaddy h3.sd-title:before { border: 0 !important; margin: 0 !important; background-color: transparent !important; position: static;  }
.sd-social-icon .sd-content ul li[class*='share-'] a.sd-button { background-color: #00376b !important; }
.site-main{ overflow-x: hidden; }



/* header
==================================================*/
.site-header { background-color: #fff; min-height: 140px; position: fixed; top: 0; left: 0; width: 100%; z-index: 100; }
body.home .site-header, body.page .site-header { background-color: #e9e9e9; }
body.woocommerce-cart .site-header, body.woocommerce-page .site-header { background: #fff !important; }
.site-branding { position: fixed; left: 20px; top: 40px; z-index: 20; }
a.searchform { display: none; animation: let-me-in-top .6s linear forwards; display: inline-block; margin-left: 15px; opacity: 0; top: 70px; right: 60px; position: fixed; background: transparent url('../img/search.png') no-repeat center; background-size: contain; width: 18px; height: 18px; text-indent: -9999px; z-index: 19; }

.top-sidebar { background-color: #00376b; color: #fff; }
#menu-account { list-style-type: none; text-align: right; margin-right: 60px !important; }
#menu-account li { display: inline-block; margin-left: 15px; }
#menu-account a, #menu-account a:link, #menu-account a:visited { color: #fff !important; text-transform: uppercase; font-weight: 400; font-size: 12px; }
#menu-account a:hover { color: #e9e9e9 !important; }

/* MENU */
  #mega-menu-wrap-primary-menu { top: 65px !important; }
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item:first-child { animation: let-me-in-top .2s linear forwards; }
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item:nth-child(2) { animation: let-me-in-top .25s linear forwards; }
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item:nth-child(3) { animation: let-me-in-top .3s linear forwards; }
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item:nth-child(4) { animation: let-me-in-top .35s linear forwards; }
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item:nth-child(5) { animation: let-me-in-top .4s linear forwards; }
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item:nth-child(6) { animation: let-me-in-top .45s linear forwards; }
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item:nth-child(7) { animation: let-me-in-top .5s linear forwards; }
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item:nth-child(8) { animation: let-me-in-top .55s linear forwards; }


/* POST NAVIGATION */
.post-navigation { font-size: 14px !important; margin: 0 0 50px !important; overflow: auto; clear: both; }
.post-navigation a:visited { color: #003f7b; }
.post-navigation a:hover { color: #00376b; }
.single-atto .navigation, .single-studio .navigation { margin-top: 100px !important; }


/* page/post
==================================================*/
.blog #primary, .single #primary, .archive #primary, .search #primary { width: 68%; float: left; }
.blog #secondary, .single #secondary, .archive #secondary, .search #secondary { width: 24%; float: right; }
.single-area-riservata #primary { float: none; width: 100%; }
.blog article, .archive article { border-bottom: 1px solid #ccc; margin-bottom: 50px; padding-bottom: 30px; }
.post-categories { list-style-type: none; margin: 10px 0 !important; padding: 0; }
.post-categories li { margin: 0 !important; padding: 15px 0 0; position: relative; background-image: url('../img/calendar.png'); background-repeat: no-repeat; background-position: left 12px; padding-left: 30px; display: inline-block; margin-right: 20px !important; }
.post-categories li a:before { content: ''; display: block; width: 100%; height: 5px; position: absolute; top: 0; left: 0; z-index: 1; }
.post-categories li a.formazione:before  { background-color: #003f7b; }
.post-categories li a.notizie:before  { background-color: #ccc; }
.post-categories li a.eventi:before  { background-color: #00847b; }
.post-categories li a.acqua:before  { background-color: #0087cc; }
.post-categories li a.ambiente:before { background-color: #87bc23; }
.post-categories li a.energia-e-gas:before  { background-color: #ce1719; }
.post-categories li a.trasporti:before  { background-color: #f39200; }
.post-categories li a.farmacie:before  { background-color: #ffcc02; }

.page article { max-width: 1170px; margin: 0 auto; }
.page-thumbnail { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.page article header.with-thumb, .page article .entry-content.with-thumb, .page .breadcrumbs.with-thumb { width: calc(1170px - 55%); }
.page article .entry-content { margin-bottom: 100px; position: relative; padding-bottom: 20px; }
.page article .entry-content:after { content: ''; display: block; width: 70px; height: 5px; position: absolute; bottom: 0; left: 0; z-index: 1; background-color: #00847b; }
.page-template-areariservata article .entry-content { margin-bottom: 50px; }
.page-template-areariservata article.logout .entry-content:after, .woocommerce-page.page article .entry-content:after { background-color: transparent; height: 0; }

ul.pdf { list-style-type: none; }
ul.pdf li { background: transparent url('../img/ico-download.png') no-repeat left top; padding-left: 30px; }

/* SETTORI */
.home-entry, .home .servizi { max-width: 1170px; margin: 0 auto 100px; }
.home-entry h1 { font-size: 36px !important; margin-bottom: 40px !important; }
.home-entry h2 { font-size: 24px !important; margin-bottom: 20px !important; }
.home-entry p { font-size: 24px; margin-bottom: 40px !important; }
.eng h2, .eng p { color: #333 !important; }
.eng p { font-size: 18px !important; }
.servizi { margin-bottom: 100px; }
.servizio { width: 30.25%; display: inline-block; background-color: #fff; text-align: center; margin: 0 1% 30px; vertical-align: top;     border-top: 1px solid #ddd; padding-top: 15px; }
.icona { width: 150px; height: 150px; background-size: contain; background-position: center; background-repeat: no-repeat; margin: 20px auto; }
.servizio h3 { color: #fff !important; font-size: 21px; font-weight: 700; padding: 15px; }
.servizio h3 em { font-style: normal; font-weight: 400; font-size: 18px; }
.content-container { overflow: auto; font-size: 24px; }
.content-inner img { width: 50% !important; height: auto; }
.content-inner.map img { width: auto !important; }
.content-inner .servizio h3 { margin-bottom: 30px !important; }
.content-inner .servizio p { text-align: left; font-size: 18px !important; }
.servizio.double { width: 62.25%; }
.servizio.half { width: 47%; }
.servizio.coor h2, .servizio.half h2 { margin-bottom: 30px !important; }
.servizio.coor h2, .servizio.coor ul, .servizio.half h2, .servizio.half ul { text-align: left; }
.servizio.coor ul, .servizio.half ul { margin: 0; padding: 0; line-height: 1.2em; }
.servizio.coor li, .servizio.half li { margin-bottom: .4em; }

.content-container.bi-color { background-color: #00847b; padding: 0; }
.news-container, .corsi-container { width: 50%; display: block; margin: 0; padding: 0; float: left; }
.news-content-inner, .corsi-content-inner { width: 100%; max-width: 500px; padding: 100px 0; margin: 0 80px; }
.news-content-inner { float: right; }
.news-container h3, .corsi-container h3 { color: #fff !important; margin-bottom: 50px !important; }
.news-container { background-color: #003f7b; }
.corsi-container { background-color: #00847b; }
.news-container article { margin: 0 0 10px; background-color: #fff; padding: 30px; /*border-top: 10px solid #ccc;*/ }
.news-container article .entry-meta, .tribe-event-duration { font-size: 16px; font-weight: 400; margin: 30px 0 0; text-transform: uppercase; color: #003f7b; }
#secondary .tribe-event-duration { margin: 10px 0 0; }
/*.news-container article.category-acqua { border-color: #0087cc; }  Acqua */
/*.news-container article.category-ambiente { border-color: #87bc23; }  Ambiente */
/*.news-container article.category-energia-gas { border-color: #ce1719; } Energia e gas */
/*.news-container article.category-formazione { border-color: #00376b; } Formazione */
/*.news-container article.category-trasporti { border-color: #f39200; }  Trasporti */
/*.news-container article.category-edilizia { border-color: #a5501d; }  Edilizia */
/*.news-container article.category-farmacie { border-color: #ffcc02; }  Farmacie */

.corsi-container .widget, .corsi-container ol {  margin: 0 !important; list-style-type: none; padding: 0; }
.corsi-container li {  margin: 0 0 10px; background-color: #fff; padding: 30px; }

.hentry.tribe_events { margin-top: 1em; }
.tribe-events-page-title { text-align: left !important; margin-bottom: 30px !important; }
h3.tribe-events-list-event-title { margin-bottom: 0 !important; }
.tribe-event-schedule-details { text-transform: uppercase; font-weight: 700; color: #003f7b; margin-bottom: 10px !important; margin-top: 5px; }
a.tribe-events-gmap { display: block; }
#tribe-events-bar { margin-bottom: 50px;/* display: none;*/ }
#tribe-bar-collapse-toggle { display: none !important; }
#tribe-bar-filters { display: block !important; }
.tribe-bar-date-filter, .tribe-bar-search-filter { width: 48%; margin-right: 1%; display: inline-block; }
.tribe-bar-submit { margin-top: .5em; }
.type-tribe_events { border-bottom: 1px solid #ccc !important; margin-bottom: 50px; padding-bottom: 30px; }
h3.tribe-events-list-event-title { font-size: 30px; }
ul.tribe-events-sub-nav { margin-left: 0 !important; padding: 0; }
.tribe-events-nav-previous { float: left; margin-left: 0; text-align: left; }
.tribe-events-nav-next { float: right; margin-right: 0; text-align: right; }
.tribe-events-back, #tribe-events-header .tribe-events-nav-pagination { display: none; }
.tribe-events-notices ul { margin: 0 !important; }
.tribe-events-cal-links .tribe-events-button { display: inline-block; margin-right: 10px; }
h2.tribe-events-single-section-title, .tribe-events-content h2, h2.tribe-events-tickets-title { margin-bottom: 10px !important; font-weight: 300 !important; }
.tribe-events-content h4 { margin-bottom: .8em !important; }
.tribe-events-event-meta h2 { font-size: 1.4em; }
.tribe-events-meta-group-details dt, .tribe-events-meta-group-details dd, dt.tribe-venue-tel-label, dd.tribe-venue-tel, dt.tribe-venue-url-label, dd.tribe-venue-url, .tribe-events-meta-group-organizer dt, .tribe-events-meta-group-organizer dd, dt.tribe-organizer-tel-label, dd.tribe-organizer-tel, dt.tribe-organizer-email-label, dd.tribe-organizer-email, dt.tribe-organizer-url-label, dd.tribe-organizer-url { display: inline-block; margin: 0 .25em 1em 0 !important; }
.tribe-events-meta-group dd { margin: 0 .5em 0 0 !important; }
.tribe-events-tickets { background-color: #e9e9e9 !important; padding: 0 !important; }
.tribe-events-tickets-rsvp .tribe-ticket.quantity, .tribe-events-tickets-rsvp .add-to-cart { padding: 1em !important; }

.single-tribe_events #tribe-events-content form.cart { margin-bottom: 0 !important; }
.tribe-organizer, .tribe-venue { font-style: italic; display: block !important; }
.tribe-events-list .tribe-events-loop .tribe-events-content p { display: none; }

.single-tribe_events .tribe-events-event-image img { width: 100%; }

.tribe-rsvp-message { padding: 20px !important; border: 0 !important; font-size: 18px !important; margin: 0 0 20px !important; }
.tribe-events-cost, .ticket-cost, .tribe-events-event-cost { display: block; margin-bottom: 20px; }
.tribe-events-cost { font-size: 24px; }
.tribe-tickets-meta { width: 48%; display: inline-block; margin-right: 1%; }
.tribe-tickets-meta-checkbox { width: 96%; }
.tribe-tickets-meta-radio { width: 100%; margin-right: 0; }
.tribe-event-tickets-plus-meta input[type=email], .tribe-event-tickets-plus-meta input[type=password], .tribe-event-tickets-plus-meta input[type=text], .tribe-event-tickets-plus-meta input[type=url], .tribe-event-tickets-plus-meta textarea { width: 100% !important; }
.tribe-tickets-attendees header { margin-left: 10px; font-weight: 700; }
.tribe-events-tickets .tickets_description, .tribe-events-tickets .tickets_name, .tribe-events-tickets .tickets_name p, .tribe-events-tickets .tickets_price { font-size: 18px !important; }
.tribe-events-tickets .tickets_name { font-weight: 700; }
.tribe-link-view-attendee, .type-tribe_events  .tribe-events-event-image { display: none; }
.tribe-events-list-separator-month { border-bottom: 1px solid #ccc; margin-bottom: 20px !important; padding-bottom: 20px; }
.tribe-events-event-meta dl { margin-bottom: 1em !important; }
.tribe-events-event-meta dt { margin-bottom: 0 !important; }

.page-tribe-attendee-registration #primary { width: 100%; float: none; }
.tribe-block__tickets__registration__event { max-width: 800px; margin: 0 auto; }
.tribe-block__tickets__item__attendee__fields input[type=color], .tribe-block__tickets__item__attendee__fields input[type=date], .tribe-block__tickets__item__attendee__fields input[type=datetime-local], .tribe-block__tickets__item__attendee__fields input[type=datetime], .tribe-block__tickets__item__attendee__fields input[type=email], .tribe-block__tickets__item__attendee__fields input[type=month], .tribe-block__tickets__item__attendee__fields input[type=number], .tribe-block__tickets__item__attendee__fields input[type=password], .tribe-block__tickets__item__attendee__fields input[type=range], .tribe-block__tickets__item__attendee__fields input[type=search], .tribe-block__tickets__item__attendee__fields input[type=tel], .tribe-block__tickets__item__attendee__fields input[type=text], .tribe-block__tickets__item__attendee__fields input[type=time], .tribe-block__tickets__item__attendee__fields input[type=url], .tribe-block__tickets__item__attendee__fields input[type=week], .tribe-block__tickets__item__attendee__fields select, .tribe-block__tickets__item__attendee__fields textarea { max-width: 100% !important; }
.tribe-block__tickets__item__attendee__fields__error { background-color: #ffebe8; padding: 20px !important; font-size: 18px; color: #000 !important; margin: 100px 0 20px; }
.tribe-block__tickets__item__attendee__fields { padding: 60px !important; }
.tribe-block__tickets__registration__actions { padding-bottom: 0 !important; }
.tribe-ticket h4 { display: none !important; }

.tribe-rsvp-message-display .tribe-rsvp-messages { position: fixed; top: 150px; width: 80%; left: 10%; z-index: 100; }
.datepicker.dropdown-menu { top: 0 !important; z-index: 100 !important; margin-top: 50px; }



.settore { margin-bottom: 50px; overflow: hidden; }
.settore h4 { font-size: 30px;  width: 30%; float: left; }
.settore .loghi { border-left: 1px solid #ccc; width: 66.5%; padding-left: 2%; float: right; }
.settore .logo { width: 180px; height: 90px; background-size: contain; background-position: center; background-repeat: no-repeat; float: left; margin: 0 5px 30px 0; }
.banner { border: 1px solid #ccc; border-width: 1px 0 0 1px; width: 33%; display: inline-block; padding: 30px; margin-top: 50px; vertical-align: top; }
.banner img { height: auto; max-height: 80px; width: auto !important; max-width: 200px !important; margin-bottom: 30px; }
.banner a span { display: block; background: transparent url('../img/green-arrow.png') no-repeat center; background-size: contain; width: 24px; height: 24px; margin-top: 20px; }
.banner a:hover { color: #00847b !important; }

.column { width: 31%; display: inline-block; vertical-align: top; margin: 0 1% 75px; }
.column.all-width { width: 98%; }
.column.mid { width: 47%; }
.column h3 { margin-bottom: 30px !important; }
.column p, .column .entry, .column .btn { word-break: break-word; font-size: 18px !important; }
.logo-container { width: 100%; height: 300px; vertical-align: middle; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 30px; text-align: center; }
.logo-container img { width: 100% !important; max-width: 200px; height: auto; margin-left: auto; margin-right: auto; float: none; text-align: center; display: flex; align-items: center; justify-content: center; }
.federazioni .column { border: 1px solid #e9e9e9; }

.organi h2 { margin-bottom: 30px !important; }
.organi .column { text-align: left !important; } /* DA TOGLIERE QUANDO AVREMO LE FOTO DEGLI ORGANI */
.organi .column, .federazioni .column { margin-bottom: 30px; text-align: center; }
.organi .column h3 { margin-bottom: 10px !important; }
.organi .column img { width: 100% !important; }
.organi .btn { clear: both; font-size: 18px; margin-left: auto; margin-right: auto; }

table.download { border: 1px solid #fff; font-size: 18px; width: 100%; }
table.download thead { font-weight: bold; }
table.download td { background-color: #e9e9e9; padding: 10px 20px; }
table.download tr:hover td { background-color: #cccccc;  }
table.download thead tr:hover td { background-color: #e9e9e9;  }
table.download td a { display: block;  }
table.download td img { width: 24px !important; height: 24px !important;  }
td.data { width: 40%; }
td.title { width: 50%; }
td.pdf, td.sez { width: 10%; }
td.sez div { width: 36px; height: 36px; background-color: transparent; background-repeat: no-repeat; background-position: center; background-size: contain; float: right; }
td.sez .acqua { background-image: url('../img/ico-acqua.png'); }
td.sez .energia { background-image: url('../img/ico-energia.png'); }
td.sez .ambiente { background-image: url('../img/ico-ambiente.png'); }
td.sez .gas { background-image: url('../img/ico-gas.png'); }
td.sez .trasporti { background-image: url('../img/ico-trasporti.png'); }
.servizio.double thead, .servizio.double td.title { text-align: left; }

/* Archivi atti e convegni */
.post-type-archive-atto h1 strong { display: none; }
.post-type-archive-atto.date h1 strong { display: block; }
.post-type-archive-studio h1 strong { display: none; }
.post-type-archive-studio.date h1 strong { display: block; }


/* Fabbisogni */
.content-inner.fabbisogni h2, .content-inner.fabbisogni .desc { margin-bottom: 30px !important; }


/* SLIDER */
.flexslider { max-width: 1400px; margin: 0 auto 100px !important; width: 100%; min-height: 700px; background-color: transparent !important; border: 0 !important; border-radius: 0 !important; }
.slides li { display: block; width: 100%; height: 700px; background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; }
/* the text box */
.slides li .slide-text { opacity: 0; width: 90%; bottom: 0; position: absolute; left: 5%; overflow: hidden; background-color: #00847b; padding: 40px; animation: let-me-in-bottom .75s linear forwards;  }
.slides li .slide-text h2 { font-size: 36px; color: #fff;  }
.slides li .slide-text h3 { font-size: 24px; margin-bottom: 15px !important;  }
.slides li .slide-text p { color: #fff; }
.slides li .slide-text a { color: #fff !important; text-transform: uppercase; position: relative; padding: 15px 0 0; margin-top: 15px; display: inline-block; }
.slides li .slide-text a:hover { color: #003f7b !important; }
.slides li .slide-text a:before { content: ''; display: block; width: 70px; height: 5px; position: absolute; top: 0; left: 0; z-index: 1; background-color: #003f7b; } 
.flex-control-nav { display: none; }
.flex-direction-nav, .slides, .slides > li { margin: 0 !important; }
.flex-direction-nav a { color: rgba(0,132,123,.8) !important; text-shadow: none !important; width: 60px !important; height: 60px !important; }
.flex-direction-nav a:before { font-size: 60px; display: inline-block; color: rgba(0,132,123,.8) !important; text-shadow: none !important; }

/* WOOCOMMERCE */
.shop_table .product-thumbnail { display: none; }
.woocommerce form .form-row.woocommerce-invalid label { color: red !important; }
textarea#order_comments { height: 200px !important; }
#customer_details { margin-bottom: 50px; }
.tribe-block__tickets__registration__actions, .tribe-event-tickets-plus-meta { /*display: none;*/ }
.page-tribe-attendee-registration .breadcrumbs { display: none !important; }
.tribe-block__tickets__registration__tickets__header { color: #000; padding: 15px !important; background-color: #e9e9e9; }
.tribe-block__tickets__item__attendee__fields { background-color: #fff; }
.woocommerce-order-received .entry-header, h1.entry-title.ok-order { display: none; }
h1.entry-title.ok-order { display: block !important; margin-bottom: 30px !important; }
ul.woocommerce-order-overview { margin: 0 !important; padding: 0; }
.woocommerce ul.order_details li { margin-bottom: 1em; }
.woocommerce form .form-row label span { color: red; font-weight: 700; }

/* AREA RISERVATA */
.reserved-area {  }
.reserved-area .entry-title { margin-bottom: 50px !important; }
.reserved-area .entry-content{ margin-top: 10px !important; margin-bottom: 50px !important; }
.reserved-area h3 { margin-bottom: 0 !important; }

/* SPORTELLO FINANZIAMENTI */
.wppb-alert { background-color: #00847b; display: inline-block; padding: 1em; color: #fff; }
.wppb-alert a { color: #fff; }
.wppb-alert a:hover { color: #e9e9e9 !important; }



 /* Colors
==================================================

Blue #003f7b | Dark blue #00376b
Green #00847b | Dark green #007068
Grey #e9e9e9 | Dark grey #cccccc

Servizio idrico #0087cc
Ambiente #87bc23
Luce e gas #ce1719
Trasporto #f39200
Farmacie #ffcc02
Edilizia #a5501d

*/


/* sidebar
==================================================*/
#secondary .widget-title { margin-bottom: 25px !important; }
#secondary ul, #secondary ol { list-style-type: none; margin: 0 !important; padding: 0; }
#secondary li { margin: 0; padding: 0; }
#secondary .widget { margin-bottom: 60px; }

.tribe-list-widget li { margin-bottom: 30px !important; }
.corsi-container .tribe-list-widget li { margin-bottom: 10px !important; }
.tribe-events-widget-link { display: none; }

.widget_archive li::first-letter { text-transform: uppercase; }
.widget_categories li a { padding: 15px 30px; background-color: #ccc; display: inline-block; width: 100%; color: #fff; }
.widget_categories li a:hover { opacity: .75; color: #fff !important; }
.widget_categories li a:visited { color: #fff !important; }
.widget_categories li.cat-item-1 { display: none; }
.widget_categories li.cat-item-4 a { background-color: #0087cc; } /* Acqua */
.widget_categories li.cat-item-5 a { background-color: #87bc23; } /* Ambiente */
.widget_categories li.cat-item-6 a { background-color: #ce1719; } /* Energia e gas */
.widget_categories li.cat-item-7 a { background-color: #003f7b; } /* Formazione */
.widget_categories li.cat-item-10 a { background-color: #f39200; } /* Trasporti */
.widget_categories li.cat-item-28 a { background-color: #a5501d; } /* Edilizia */
.widget_categories li.cat-item-29 a { background-color: #ffcc02; } /* Farmacie */
.widget_categories li.cat-item-30 a { background-color: #00847b; } /* Eventi */

#menu-ricerca-atti li a, #menu-ricerca-studi li a { padding: 15px 30px; background-color: #ccc; display: inline-block; width: 100%; color: #fff; text-align: center;  border-bottom: 1px solid #fff; }
#menu-ricerca-atti li a:hover, #menu-ricerca-studi li a:hover { opacity: .75; color: #fff !important; }
#menu-ricerca-atti li a:visited, #menu-ricerca-studi li a:visited { color: #fff !important; }

/* footer
==================================================*/
.bottom-inner { max-width: 1170px; margin: 0 auto; text-align: center; padding: 60px 0; }
.bottom-inner .bottom-inner-half { display: inline-block; width: 47.5%; margin: 0 1%; text-align: left; vertical-align: top; word-break: break-all; }
.bottom-inner .bottom-inner-half h3 { margin-bottom: 30px !important; }
.bottom-inner .bottom-inner-half input[type="search"] { background-color: #fff; margin: 10px 0; width: 80%; }
.bottom-inner ul { list-style-type: none; margin: 0 !important; padding: 0; }


.site-footer { height: auto; min-height: 100px; position: relative;  overflow: hidden; background-color: #fff; text-align: center; font-size: 16px; z-index: 10; padding: 30px 0; }
.site-info { max-width: 1170px; margin: 0 auto; height: 100%; }
.site-info section, .site-info p { margin: 0 !important; }
.site-info section { clear: both; width: 100%; display: block; }
.site-info ul { list-style-type: none; margin: 0 !important; }
.site-info li { display: inline-block; margin: 0 10px; }


/* cookie message
==================================================*/
.pea_cook_wrapper p { font-size: 16px !important; font-weight: normal !important; font-family: 'Alegreya Sans', sans-serif !important; }
button.pea_cook_btn { background: transparent; border: 0 !important; border-radius: 0 !important; box-shadow: inset 0 0 1px 1px transparent !important; text-shadow: 0 1px 0 transparent !important; background-color: #003f7b !important; border-bottom: 10px solid #00376b !important; padding: 15px 15px 5px !important; text-transform: uppercase !important; color: #fff !important; font-family: 'Alegreya Sans', sans-serif !important; font-size: 18px !important; cursor: pointer !important;  margin-left: auto !important; clear: both; display: block !important; margin-right: auto !important; margin-top: 20px;}


/* MEDIA QUERIES */
@media screen and (min-width: 1200px) { 
    .site-branding { width: 350px; height: 80px; }
    a.searchform { top: 55px; right: 20px; }
    .datepicker.dropdown-menu { margin-top: 100px; }
}

@media screen and (max-width: 1200px) { 
    #primary { margin-top: 80px; }
    #mega-menu-wrap-primary-menu { top: 40px !important; }
    #menu-account { margin-right: 20px !important; }
    #main, .content-inner, .bottom-inner, .site-info, .blog #content, .archive #content, .news-content-inner, .corsi-content-inner, .single #content, .search #content, .error404 #content { width: 90%; margin-left: 5%; margin-right: 5%; }
    #content { margin-top: 80px; }
    .blog #content #main, .archive #content #main, .single #content #main, .search #content #main, .error404 #content #main { width: 100%; margin-left: 0; margin-right: 0; }
    .page-thumbnail { left: 0; top: 0; width: 100%; height: 400px; position: static; }
    .page article header, .page article .entry-content, .page .breadcrumbs { width: auto; }
    .blog #primary, .single #primary, .archive #primary, .search #primary { width: 60%; }
    .blog #secondary, .single #secondary, .archive #secondary, .search #secondary { width: 32%; }
    .single-area-riservata #primary { float: none; width: 100%; }
}

@media screen and (max-width: 1100px) { 
}

@media screen and (max-width: 991px) { 
    .post-navigation .nav-previous, .post-navigation .nav-next { width: 100% !important; float: none !important; margin-bottom: 10px; }
    .column { width: 47%; }
    .news-container, .corsi-container { width: 100%; float: none; overflow: hidden; }
    .news-content-inner, .corsi-content-inner { max-width: 100%; }
    .banner { width: 100%; float: none; margin-top: 0; }
    .pea_cook_wrapper.pea_cook_bottomcenter { left: 0 !important; margin: 0 2.5% !important; }
}

@media screen and (max-width: 768px) { 
    #primary { margin-top: 40px; }
    h1.entry-title { font-size: 36px !important; }
    .flexslider { min-height: 400px; margin-bottom: 50px !important; }
    .slides li { height: 400px; }
    .slides li .slide-text { width: 100%; left: 0; padding: 20px 50px; }
    .slides li .slide-text h2 { font-size: 24px; }
    .slides li .slide-text h3 { font-size: 18px; margin-bottom: 5px !important; }
    .slides li .slide-text a { margin-top: 0; }
    .home-entry, .home .servizi { margin: 0 auto 50px; }
    .home-entry h1 { font-size: 24px !important; margin-bottom: 30px !important; }
    .home-entry p { font-size: 18px !important; margin-bottom: 0 !important; }
    .content-container { font-size: 18px; }
    .bottom-inner section { width: 100%; margin: 0 0 30px;  }
    .blog #primary, .single #primary, .blog #secondary, .single #secondary, .archive #primary, .archive #secondary, .search #primary, .search #secondary { width: 100%; float: none; }
    .site-branding { width: 300px; left: 5%; }
    .servizio, .column, .column.all-width, .servizio.double, .column.mid, .servizio.half { width: 100%; margin: 0 0 30px; }
    .servizio.double { margin: 30px 0; }
    .servizio.coor, .servizio.coor h3, .servizio.half, .servizio.half h3 { margin-bottom: 0 !important; }
    .servizio { border: 0; padding-top: 0; }
    .column, .column.all-width { margin-bottom: 75px; }
    .settore h4, .settore .loghi { width: 100%; float: none; }
    .settore h4 { margin-bottom: 30px !important; }
    table.download td { padding: 10px; }
    td.corso-title, td.data, td.title, td.pdf { width: auto; }
    td.pdf { min-width: 40px; }
    .wpcf7-form p {  width: 100%; margin-right: 0 !important; }
    .tribe-events-tickets td { width: 100% !important; max-width: 100% !important; }
    ul.pdf { margin: 0 !important; padding: 0; }
    .bottom-inner-half { width: 100% !important; display: block !important; margin: 0 0 30px !important; }
}

@media screen and (max-width: 600px) { 
    .site-branding { width: 250px; }
    .slides li .slide-text p { display: none; } 
    .tribe-tickets-meta { width: 100%; margin-right: 0; }
    table.download td { padding: 5px; font-size: 14px; }
    .tribe-events-tickets tr { border: 0 !important; padding: 0 !important; }
    .tribe-events-tickets .tickets_description, .tribe-events-tickets .tickets_name, .tribe-events-tickets td { padding: 1em !important; }

}

@media screen and (max-width: 480px) { 
    .site-branding { width: 200px; }
    .flexslider { min-height: 300px; }
    .slides li { height: 300px; }
    .slides li .slide-text { padding: 15px; }
    .slides li .slide-text h2 { font-size: 18px; margin-bottom: 5px !important; }
    .slides li .slide-text h3 { display: none; }
    .slides li .slide-text a { padding: 10px 0 0; font-size: 14px; }
    .woocommerce ul.order_details li { float: none; border-right: 0 !important; padding-right: 0 !important; padding-bottom: 1em; border-bottom: 1px dashed #d3ced2; width: 100%; }
    .tribe-bar-date-filter, .tribe-bar-search-filter { width: 100%; margin-right: 0; }
}

/* KEYFRAMES */

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}


@keyframes let-me-in-top {
    from { opacity: 0; transform: translateY(-100px); }
    to { opacity: 1; transform : translateY(0); }
}

@keyframes let-me-in-bottom {
    from { opacity: 0; transform: translateY(100px); }
    to { opacity: 1; transform : translateY(0); }
}

@keyframes let-me-in-left {
    from { opacity: 0; transform: translateX(-300px); }
    to { opacity: 1; transform : translateX(0); }
}

@keyframes let-me-in-right {
    from { opacity: 0; transform: translateX(300px); }
    to { opacity: 1; transform : translateX(0); }
}
    
@keyframes growing {
    from { opacity: 0; transform: scaleY(0); }
    to { opacity: 1; transform : scaleY(10); }
}
