/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */

 /* BODY */
 p, ul, ol, dl, blockquote, pre, address, fieldset, figure { margin: 0 0 15px 0; }
 * + p, * + ul, * + ol, * + dl, * + blockquote, * + pre, * + address, * + fieldset, * + figure { margin-top: 15px; }
 .uk-article-title { margin-bottom: 30px; }
 .uk-article-title::after { background: #333; content: ""; display: block; margin-top: 10px; height: 3px; width: 125px; }
 .titolo-barre-nere::before { top: -2px; }
 .titolo-barre-nere::after { bottom: -2px; }
 .titolo-barre-nere::before, .titolo-barre-nere::after { content: ""; display: block; position: relative; height: 2px; background: #333; }
 div.uk-margin-top { margin-top: 35px !important; }
 
 /* BREADCRUMBS */
 .uk-breadcrumb { margin-bottom: 25px; }
 .uk-breadcrumb li:first-child a::before { content: "\f015"; font-family: FontAwesome; margin-right: 5px; }
 .uk-breadcrumb > li:nth-child(n+2):before { color: #333;}
 
 /* NAVBAR */
 .tm-headerbar:not(.tm-headerbar-overlay) { background: #FFF; }
 .tm-navbar { background: #FFF; border-bottom: 5px solid #333; box-shadow: 0 9px 20px rgba(0, 0, 0, 0.20), 0 2px 3px rgba(0, 0, 0, 0.20); 
 padding-bottom: 15px; }
 .tm-dropdown-overlay { background: #FFF; }
 .uk-dropdown-navbar { padding-bottom: 10px; }
 .tm-logo-small img { height: 70px; }
 @media (max-width: 959px) { .tm-headerbar-center { border-bottom: 5px solid #333; box-shadow: 0 9px 20px rgba(0, 0, 0, 0.20), 0 2px 3px rgba(0, 0, 0, 0.20); 
 height: 70px; padding: 5px 40px; } }
 @media (min-width: 960px) { 
	.tm-headerbar:not(.tm-headerbar-overlay) { padding: 10px 0 25px; }
	.tm-headerbar-right { bottom: auto; right: 10px; top: 10px; }
 }
 .uk-navbar-nav > li > a:active::before { top: 0; left: 0; -webkit-transform: none; transform: none; }
 .uk-navbar-nav > li > a:active::after { top: auto !important; bottom: 0; left: 0; -webkit-transform: none; transform: none; }
 .uk-navbar-nav > li:not(.uk-active) > a::before { content: ""; display: block; position: absolute; top: 0; left: 0; height: 2px; background: #333; 
 width: 0; opacity: 1; -webkit-transition: width .5s; transition: width .5s; }
 .uk-navbar-nav > li:not(.uk-active) > a::after { content: ""; display: block; position: absolute; bottom: 0; left: 0; height: 2px; background: #333; 
 width: 0; opacity: 1; -webkit-transition: width .5s; transition: width .5s; }
 .uk-navbar-nav > li:not(.uk-active):hover > a::before, .uk-navbar-nav > li:not(.uk-active):hover > a::after 
 { width: 100%; -webkit-transition: width .5s; transition: width .5s;  }
 
 /* TESTATE TUTTA PAGINA */
 @media (max-width: 959px) { .testata-alta .uk-slideshow, .testata-alta .uk-slideshow > li { height: calc(100vh - 80px) !important; } }
 @media (min-width: 960px) { .testata-alta .uk-slideshow, .testata-alta .uk-slideshow > li { height: calc(100vh - 235px) !important; } }
 
 /* HOME - TESTATA */
 @media (max-width: 959px) { .home-testata .uk-slideshow, .home-testata .uk-slideshow > li { height: calc(100vh - 80px) !important; } }
 @media (min-width: 960px) { .home-testata .uk-slideshow, .home-testata .uk-slideshow > li { height: calc(100vh - 235px) !important; } }
 .home-testata .uk-slidenav-contrast { background: #333; color: rgba(255, 255, 255, 0.75); }
 .home-testata .uk-slidenav-contrast:hover, .uk-slidenav-contrast:focus { color: #FFF; }
 
 /* HOME - BLOCCHI */
 .home-blocchi .uk-panel > div { margin-bottom: 0 !important; }
 .home-blocchi .uk-panel > h3 { padding: 15px 0; }
 .home-blocchi > div:nth-of-type(even) h3 { background: #D0D0D0; color: #333; }
 
 /* HOME - LISTA */
 .home-lista li { padding-left: 10px; padding-right: 10px; border-bottom: 1px solid #DDD; }
 .home-lista li:first-child { border-top: 1px solid #DDD; }
 .home-lista:nth-of-type(odd) li:nth-of-type(odd), .home-lista:nth-of-type(even) li:nth-of-type(even) { background: #F0F0F0; }
 .home-lista:nth-of-type(even) li:nth-of-type(odd) { background: transparent; }
 
 /* HOME - FOOTER */
 @media (max-width: 959px) { .tm-block-footer { padding-bottom: 40px; } }
 @media (min-width: 960px) { .tm-block-footer { padding-bottom: 0; } }
 .home-contatti .uk-panel h3:not(.titolo-barre) { text-align: center; }
 .tm-block-footer .uk-panel h3:not(.titolo-barre)::after { content: ""; display: block; position: relative; left: 50%; width: 140px; margin-left: -70px;
 border-top: 2px solid #F2F2F2; }
 .tm-block-footer .uk-panel h3:not(.titolo-barre)::after { bottom: -2px; }
 .home-contatti i { width: 25px; }
 .home-contatti i.uk-icon-mobile { font-size: 18px; margin-right: -2px; padding-left: 2px; }
 .home-contatti .tm-address-horizontal .tm-data { color: rgba(255, 255, 255, 0.75) }
 .home-contatti.tm-grid-divider > *:not(:first-child):not(.uk-row-first) { border-left-color: rgba(242, 242, 242, 0.33); }
 .uk-contrast .tm-footer + .tm-footer-meta { border-top-color: rgba(242, 242, 242, 0.33); }
 .tm-footer + .tm-footer-meta { margin-top: 40px; }
 .tm-block-footer .titolo-barre { margin-bottom: 35px; text-align: center; }
 .tm-block-footer .titolo-barre::before { top: -2px; }
 .tm-block-footer .titolo-barre::after { bottom: -2px; }
 .tm-block-footer .titolo-barre::before, .tm-block-footer .titolo-barre::after { content: ""; display: block; position: relative; left: 50%; width: 270px;
 margin-left: -136px; border-top: 3px solid #F2F2F2; }
 .footer-partner .uk-overlay-background { background: rgba(40, 108, 181, 0.80); }
 .footer-partner .uk-overlay-icon::before { content: "\f05a"; font-family: FontAwesome; width: 40px; height: 40px; margin-top: -20px; margin-left: -20px;
 font-size: 40px; }
 
 /* FOOTER */
 .uk-contrast .uk-subnav-line > :nth-child(n+2):before, .tm-gallery-dolce-vita .tm-overlay-background-secondary .uk-overlay-panel .uk-subnav-line > :nth-child(n+2):before { border-left-color: rgba(242, 242, 242, 0.33); }
 .tm-block-footer .uk-subnav > * { padding-left: 25px; }
 
 /* STORIA */
 .storia-testata .contenuto-testata div.div-testo div.titolo { font-size: 24px; line-height: 32px; font-weight: bold; margin-bottom: 5px; margin-top: -5px; }
 .storia-testata .contenuto-testata div.div-testo div.descrizione { font-size: 18px; line-height: 24px; }
 .storia-testata .contenuto-testata div.div-testo > * { color: #FFF; }
 .storia-testata .contenuto-testata div.div-testo::before { content: "\f10d"; font-family: 'FontAwesome'; font-size: 24px; color: #FFF; 
 position: absolute; left: 20px; top: 17px; }
 .storia-testata .contenuto-testata div.div-testo::after { content: "\f10e"; font-family: 'FontAwesome'; font-size: 24px; color: #FFF; 
 position: absolute; right: 20px; bottom: 17px; }
 .storia-testata .contenuto-testata .uk-icon-quote-right { font-size: 24px; position: absolute; bottom: 13px; right: 17px; }
 .storia-testata .contenitore-testo .descrizione strong { color: inherit !important; }
 @media(max-width: 767px) { 
	.storia-testata .contenuto-testata { width: 100%; height: 100%; background: rgba(22, 22, 22, 0.75); position: absolute; top: 0; margin: 0; }
	.storia-testata .contenuto-testata div.div-testo { display: table; height: 100%; width: 100%; text-align: center; }
	.storia-testata .contenuto-testata div.div-testo div.contenitore-testo { padding: 0 30px; vertical-align: middle; display: table-cell; }
 }
 @media(min-width: 768px) {
	.storia-testata .contenuto-testata { position: absolute; max-width: 425px; bottom: 25px; left: 50px; background: #161616; padding: 30px 60px; margin: 0; }
 }
 
 /* SISTEMI */
 .sistemi-lista .uk-grid img { border: 3px solid #333; }
 .sistemi-lista .uk-tab { border-top: 1px solid rgba(51, 51, 51, 0.1); }
 .sistemi-lista .titolo-barre-nere::before, .sistemi-lista .titolo-barre-nere::after { width: 155px; }
 .sistemi-lista .uk-tab > li > a:hover::before, .sistemi-lista .uk-tab > li > a:focus::before, .sistemi-lista .uk-tab > li.uk-open > a::before { opacity: 1;
 -webkit-transform: scale(1); transform: scale(1); }
 .sistemi-lista .uk-tab > li > a::before { position: absolute; right: 0; top: -1px; left: 0; content: ''; border-top: 1px solid #161616; opacity: 0;
 -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; webkit-transform: scale(0, 1); 
 transform: scale(0, 1); }
.sistemi-lista .uk-tab > li.uk-active > a::before { border-width: 3px; border-color: #161616; opacity: 1; 
-webkit-transition: border-width 0.1s, -webkit-transform 0.1s; transition: border-width 0.1s, transform 0.1s; -webkit-transform: scale(1);
 transform: scale(1); }
 
 /* REALIZZAZIONI */
 .realizzazioni-lista .uk-panel-teaser { margin-bottom: 0; }
 .realizzazioni-lista .uk-panel h3 { background: #333; color: #F8F8F9; padding: 15px 0; }
 .realizzazioni-lista .uk-overlay-background { background: rgba(0, 0, 0, 0.66); }
 .realizzazioni-lista .uk-overlay .uk-overlay-icon:before { content: "\e036"; width: 36px; height: 36px; margin-top: -18px; margin-left: -18px;
 font-size: 36px; }
 
 /* VANTAGGI */
 .vantaggi-lista .uk-grid img { border: 3px solid #333; }
 .vantaggi-lista .uk-grid [class*='uk-width']:nth-child(2) { padding-left: 25px; }
 .vantaggi-lista .uk-grid .vantaggi-descrizione { font-size: 16px; line-height: 20px; margin-top: -15px; }
 
 /* MATERIALI */
 .materiali-lista li { padding-left: 10px; padding-right: 10px; border-bottom: 1px solid #DDD; }
 .materiali-lista li:first-child { border-top: 1px solid #DDD; }
 .materiali-lista:nth-of-type(odd) li:nth-of-type(odd) { background: #F0F0F0; }
 
 /* CONTATTI */
 .contatti-mappa h3 { margin-top: 10px !important; margin-bottom: 5px; }
 .contatti-mappa i { width: 20px; }
 .contatti-mappa div.uk-margin { margin: 10px 0; }
 .contatti-mappa p { font-size: 14px; line-height: 22px; margin: 0; }
 .contatti-mappa p, .contatti-mappa strong { color: #333; }
 .contatti-titolo .titolo-barre-nere::before, .contatti-titolo .titolo-barre-nere::after { width: 227px; }
 .contatti-titolo i { width: 25px; }
  