﻿body {
    font-family: 'Molengo', sans-serif;
    font-size: 14px;
    color: #003652;
    background:#fff;
}

a.nochange, a.nochange:hover, a.nochange:visited, a.nochange:active {
  color:inherit;
  text-decoration: none;
}

.goback {
    position:fixed; 
    left:5px; 
    top:60px; 
    z-index:1000; 
}

.goback-icon {
    color: #ADE7FF;
    opacity:0.6;
    font-size:3em; 
    text-shadow: 0.05em 0.05em 0.2em #000; 
    cursor:pointer;
}

.hometxt {
    font-size:2.0rem;
    line-height:2.5rem;
    padding-top:1.0em;
}

.menucat {
    position:fixed; 
    left:5%; 
    top:-200px; 
    z-index:1000; 
    -webkit-transition: top 1s; /* Safari */
    transition: top 1s;
    display:none;
}

.menucat-item {
    display:inline-block; 
    width:10em; 
    height:9em;
    font-size:0.8em; 
    margin:0.5em; 
    padding:0.5em; 
    background:#fff; 
    text-align:center; 
    overflow:hidden; 
    white-space:nowrap;
    border:1px solid black;
    border-radius:1em;
    cursor:pointer;
    box-shadow: 0.3em 0.3em 1.0em #000; 
    vertical-align:top;
}

.menucat-item > img {
    width:100%;
}


a:hover {
    text-decoration: none !important;
}

.h2 {
    font-size:30px;
}

.group {
    position: relative;
    margin-bottom: 35px;
}

input {
    font-size: 18px;
    padding: 5px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #0093CF;
    background: transparent;
}

input:focus {
    outline: none;
}

.home-carousel {
    position:relative; 
    width:100%; 
    padding-bottom:40%;
    text-align:center; 
    overflow:hidden;
    margin:0 auto;
}

.label-as-badge {
    font-size:1.0em;
    border-radius:1em;
}

.no-pad {
    padding:0 !important;
}

.company-fg {
    color: #003652;
}

.company-fg-alt {
    color:#fff;
}

.company-bg {
    background:#fff;
}

.company-bg-alt {
    background: #0093CF;
}

.aoa {
    display:inline-block;
    width:10em;
    margin:0.5em 1.0em;
    overflow:hidden;
    vertical-align:top;
}

.aoa-tab td {
    vertical-align:top;
}

.text-glow {
    font-size:2.5em;
    font-weight:bold;
    padding:0.5em;
    color:#003652;
    background:transparent;
    -webkit-transition: background 1s, color 1s;
    -moz-transition: background 1s, color 1s;
    -o-transition: background 1s, color 1s;
    transition: background 1s, color 1s;
}

.cat-container {
    padding:0; 
    display:inline-block; 
    float:none; 
    margin-top:0px;
    vertical-align:top;
}

.cat-carousel {
    position:relative; 
    width:100%; 
    text-align:center; 
    padding:2.0em;
}

.cat-carousel-caption {
    top: 20%; 
    transform: translateY(-20%); 
    font-size:3.0rem; 
    line-height:1.0em;
    text-shadow: 0.05em 0.05em 0 #000; 
}

.cat-pannello {
    position:relative; 
    width:100%; 
    height:100%;
    text-align:center; 
    padding:2.0em;
}

.cat-pannello-tec {
    position:relative; 
    width:100%; 
    height:100%;
    text-align:center; 
    padding:0.0em;
}

.cat-caption {
    position:absolute; 
    top:50%; 
    width:100%; 
    transform: translate(0,-50%); 
    color:#fff; 
    text-shadow: 0.1em 0.1em 0.1em #000; 
    font-size:2.5rem;
    font-weight:bold; 
    padding:0 15% 0 5%;
}

.cat-img-container {
    position: relative;
    width: 100%;
    padding-bottom:75%;
    overflow: hidden;
}
.cat-img { position:absolute; top:0%; left:0%; width:100%; opacity:0;
            -webkit-transition: top 0.5s ease, left 0.5s ease, width 0.5s ease, opacity 0.5s ease; 
            transition: top 0.5s ease, left 0.5s ease, width 0.5s ease, opacity 0.5s ease; }
.cat-img:hover { position:absolute; top:-5%; left:-5%; width: 110%; }

.cat-evi-caption {
    top: 40%; 
    transform: translateY(-50%); 
    font-size:3.0em; 
    line-height:0.8em;
    font-weight:bold;
}

.tecnico-cat-container {
    padding:0; 
    display:inline-block; 
    float:none; 
    vertical-align:top;
    height:260px;
}

.tecnico-cat-inside {
    height:90%;
    margin:1em;
    padding:1em;
    border:1px solid #bbb;
    border-radius:1em;
    overflow:hidden;
}

.tecnico-cat-caption {
    width:100%; 
    font-weight:bold; 
    font-size:0.3rem;
}

.tecnico-cat-img { max-width:90%; height:8em; opacity:0; margin-top:5px;
            -webkit-transition: opacity 0.5s ease; 
            transition: opacity 0.5s ease; }

.tecnico-cat-gliph {
    font-size:10em;
}

.prod-breve {
    position:relative; 
    display:inline-block; 
    width:18%; 
    min-width:240px; 
    height:240px;
    overflow:hidden; 
    margin:1em; 
    border:1px solid #000; 
    padding:0.5em; 
    vertical-align:top;
}

.prod-breve-sfumatura {
    position:absolute; 
    bottom:0; 
    left:0;
    width:100%; 
    height:20%; 
    background: linear-gradient(to bottom, transparent, #fff);
}

.prod-breve-cat-caption {
    position:absolute; 
    top:50%; 
    width:100%; 
    transform: translate(0,-50%); 
    color:#fff; 
    text-shadow: 0 0 2px #000; 
    font-weight:bold; 
    padding:5%;
}

.prod-breve-cat-img-container {
    position: relative;
    width: 100%;
    padding-bottom:100%;
    overflow: hidden;
}

.prod-breve-cat-img { 
    position:absolute; 
    top:0%; 
    left:0%; 
    width:150%; 
    opacity:0;
    -webkit-transition: top 0.5s ease, left 0.5s ease, width 0.5s ease, opacity 0.5s ease; 
    transition: top 0.5s ease, left 0.5s ease, width 0.5s ease, opacity 0.5s ease; }

.prod-allegato {
    display:inline-block; 
    vertical-align:top;
    text-align:center;
    margin-bottom:0em;
}

.prod-img-container {
    position: relative;
    width: 100%;
    padding-bottom:100%;
    overflow: hidden;
    line-height:0;
}

.prod-img { position:absolute; top:0%; left:0%; width:100%; }

.prod-caption {
    width:100%;
    line-height:1.5em;
    overflow:hidden;
    padding-bottom:0.5em;
}

.footer {
    background: #fff;
    color: #003652;
    opacity: 0.8;
    text-align:center;
    padding-top:1em;
}

/* INPUT UNDERLINE ================================= */
.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before, .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #0093CF;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

/* active state */
input:focus ~ .bar:before, input:focus ~ .bar:after {
    width: 50%;
}


/* FONT SCALING ================ */

@media screen and (max-width: 767px) {
    html {
        font-size: 10px;
    }
}

/* sm */
@media screen and (min-width: 768px) {
    html {
        font-size: 13px;
    }
}

/* md */
@media screen and (min-width: 992px) {
    html {
        font-size: 16px;
    }
}

/* lg */
@media screen and (min-width: 1200px) {
    html {
        font-size: 17px;
    }
}