/*
 * 
 * Lucia Concilio
 * BY ing. Nicolò Chiellini
 * n.chiellini@4sigmait
 * 
 */

.montserrat {
    font-family: 'Montserrat', sans-serif;
}

html { 
    border: none; 
    padding: 0px; 
    margin: 0px;       
    float: left;    
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #4d4d4d;
}
body {    
    border: none; 
    padding: 0px; 
    margin: 0px; 
    width: 100%;
    height: 100%;    
    font-size: 18px;    
    line-height: 24px;
    float: left;
    background-color: #ffffff;
    color: #4d4d4d;
    -webkit-text-size-adjust: 100%;
    font-weight: 300;
    
}
td {
    border: none;
    text-align: left;    
    margin: 0px;
    padding: 0px;
}

div, p, h1, h2, h3, h4, h5, h6, ul, 
footer, header, nav, article, main, form,
aside, section {
    float: left;
    margin: 0px;
    padding: 0px;
    width: 100%;    
    text-align: left;    
    text-decoration: none;    
    -webkit-text-size-adjust: 100%;
}

img {
    text-decoration: none;
    border: none; 
    vertical-align: middle;
}
svg {
    border: none;
    border-image-width: 0;
    stroke-width: 0px;
}
table, td, tr {
    margin: 0px;
    padding: 0px;
    border: none;
}
table {
    float: left;
}
a {
    outline: none;    
    text-decoration: none;    
    color: #154E6B;
    font-weight: bold;
}

li {
    outline: none;
}

i, em, .italic {
    font-style: italic;
}
.underline {
    text-decoration: underline;
}
*:-placeholder
{
    font-family: 'Montserrat', sans-serif;
    color: #4d4d4d;
}
*::-webkit-input-placeholder
{
    font-family: 'Montserrat', sans-serif;
    color: #4d4d4d;
}

*::-moz-placeholder
{
    font-family: 'Montserrat', sans-serif;
    color: #4d4d4d;
}
*:-moz-placeholder
{
    font-family: 'Montserrat', sans-serif;
    color: #4d4d4d;
}

*:-ms-input-placeholder
{
    font-family: 'Montserrat', sans-serif;
    color: #4d4d4d;
}

input:focus:-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }
input:focus:-ms-input-placeholder  { color:transparent; }

input,
textarea,
select,
button {    
    outline: none;
    border: none;
    padding: 0px;
    -webkit-border-radius: 0px;    
}
input,
textarea,
button {      
    -webkit-appearance: none;
}
button {
    cursor: pointer;
}
input[type="checkbox"] {
    -webkit-appearance: checkbox;
    -webkit-border-radius: auto;
    vertical-align: top;
}
input[type=submit] {
    -webkit-border-radius:0px;
}

.hidden {
    display: none;
}
.over_hidden {
    overflow: hidden;
}
.block,
.desktop {
    display: block;
}
.mobile {
    display: none;
}
.inline-block {
    display: inline-block;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.pointer {
    cursor: pointer;
}
.left {
    float: left;
}
.right {
    float: right;
}
.none {
    float: none;
}
.clear {
    clear: both;
}
.v_top {
    vertical-align: top;
}
.text_top {
    vertical-align: text-top;
}
.v_middle {
    vertical-align: middle;
}
.v_bottom {
    vertical-align: bottom;
}
.m_auto {
    margin: 0px auto
}
.w_auto {
    width: auto;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-justify {
    text-align: justify;
}
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.light {
    font-weight: 300;
}
.normal {
    font-weight: 400;
}
.bold,
strong, 
b {    
    font-weight: 700;
}
.extrabold {
    font-weight: 900;
}
.black,
.nero,
.blacklink,
.blacklink:visited,
.black_white_lnk {
    color: black;    
}
.green, .verde {
    color: green;
}
.red, .rosso {
    color: #ff0000;
}
.arancione {
    color: #ff8000;
}
.gray, .grigio, .sel {
    color: #808080;
}
.grigio_scuro {
    color: #4d4d4d;
}
.white,
.bianco,
.whitelnk,
.white_black_lnk,
.whitelnk:visited {
    color: #FFFFFF;
}
.blue_steel {
    color: #154E6B; /* rgba(21,78,107, 1)   */
}
.cover {
    background-size: 100% 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.uppercase {
    text-transform: uppercase;
}
.two-column {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 50px;
    -moz-column-gap: 50px;
    column-gap: 50px;
}
.a_inv {
    color: #bfbfbf;
}
.bb_gray {
    border-bottom: 1px solid #e5e5e5;
}

#over-box, #over-box-black {
    display: none;
    position: fixed;
    z-index: 1001;
    background-color: rgba(255,255,255, 0.7);
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    cursor: pointer;
}
#over-box-black {
    background-color: rgba(0,0,0,0.9);
    z-index: 998;
}
.modal-box {
    display: none;
    position: fixed;
    line-height: 19px;
    padding: 20px 10px;
    font-size: 16px;
    color: white;
    text-align: left;    
    width: 300px;
    left: 50%;
    margin-left: -160px;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
    background-color: white;
    z-index: 1002;
    top: -500px;
    border: 1px solid #e5e5e5;
}
/* Honey POT anti SPAM */
.hnpt {
    width: 10px;
    color: transparent;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: default;
}

.barra-cont {
    height: 131px;
}
.barra-top-cont {
    height: 39px;
    background-color: #d9d9d9;
    border-bottom: 1px solid #bfbfbf;
}
.barra-bottom-cont {
    height: 90px;
    background-color: #f2f2f2;
    border-top: 1px solid white;
}
.barra-top {
    height: 39px;
}
.barra-bottom {
    height: 90px;
}
.logo-cont {
    display: block;
    position: absolute;
    left: 0px;
    top: -20px;
    width: 252px;
    height: 71px;
    padding: 10px 20px;
    
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
}
.barra-top-txt {
    box-sizing: border-box;
    padding-left: 322px;
    font-size: 12px;
    line-height: 39px;
    font-weight: 300;
}
.barra-bottom-txt {
    box-sizing: border-box;
    height: 60px;
    padding: 20px 0px 5px 322px;
}
.barra-bottom-txt-3 {
    position: relative;
    box-sizing: border-box;
    padding-left: 25px;
    font-size: 13px;
    line-height: 16px;
}
.barra-ico-abs {
    width: 25px;
    display: block;
    float: left;
    position: absolute;
    left: 0px;
    font-size: 18px;
    
}
.email-btn {
    background-color: #154E6B;
    color: white;
    display: block; 
    float: right;
    text-align: center;
    width: 210px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    font-size: 13px;
}
.page {
    width: 1000px;
    float: none;
    margin-left: auto;
    margin-right: auto;
}
nav {
    height: 60px;
    background-color: #154E6B;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
    position: absolute;
    top: 131px;
    z-index: 10;
}
#nav {
    display: block;
    width: 480px;
    float: none;
    margin: 0px auto;
    height: 60px;    
}
#nav li {
    display: block;
    float: left;
    width: 150px;
    height: 60px;
    margin: 0px 5px;
}
#nav li a {
    display: block;
    float: left;
    width: 150px;
    height: 52px;
    line-height: 52px;
    padding-top: 4px;
    border-bottom: 4px solid #154E6B;
    text-align: center;
    font-size: 13px;
    color: white;
    font-weight: 800;
}
main {
    min-height: 500px;
}
#immagine-cover {
    height: 400px;
    width: 100%;
    background-size: 100% 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    background-image:url('../img/foto_top.jpg');
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    margin-top: 60px;    
}
#chi-siamo-txt {
    padding: 80px 0px;
}
#chi-siamo-txt h1 {
    font-size: 46px;
    line-height: 46px;
    font-weight: 200;
}
.lavorazione {
    padding: 40px 20px;
    box-sizing: border-box;
    height: 500px;
    background-size: 100% 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    background-image:url('../img/immagine-cover.jpg');
    background-color: rgba(21,78,107, 0.8) ;
    background-blend-mode: multiply;
}
.lavorazione:nth-child(even) {
    -webkit-box-shadow: -10px 0px 5px -5px rgba(0,0,0,0.5);
    -moz-box-shadow: -10px 0px 5px -5px rgba(0,0,0,0.5);
    box-shadow: -10px 0px 5px -5px rgba(0,0,0,0.5);
}
.lavorazione h3 {
    font-size: 30px;
    line-height: 30px;
    color: white;
    font-weight: 200;
}
.lavorazione p {
    color: white;
    font-weight: 200;
    font-size: 20px;
    line-height: 25px;
}
#lavorazione-1 {
    background-image:url('../img/ufficio_commercilale.jpg');
}
#lavorazione-2 {
    background-image:url('../img/ufficio_tecnico.jpg');
}
#lavorazione-3 {
    background-image:url('../img/logistico.jpg');
}
#lavorazione-4 {
    background-image:url('../img/certificazioni.jpg');
}
.form-contatto-input {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    height: 50px;
    line-height: 50px;
    border: 1px solid #e5e5e5;
    padding: 0px 10px;
}
.form-contatto-textarea {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 10px;
    border: 1px solid #e5e5e5;
}
#privacy-cont {
    box-sizing: border-box;
    padding-right: 150px;
}
.btn-blu {
    background-color: #154E6B;
    color: white;    
    text-align: center;
    width: 150px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 900;
}
#btn-submit {
    display: block;
    position: absolute;
    right: 0px;
    top: 0px;
}
#news-cont {
    max-height: 350px;
    width: 580px;
    padding: 3px 10px 10px 10px;
    position: absolute;
    margin-left: -300px;
    left: 50%;
    background-color: rgba(21,78,107, 0.75);
    color: white;
/*     top: 370px; */
    bottom: 0px;
}
#news-data {
    font-size: 12px;
    line-height: 24px;
    font-weight: 200;
}
#news-comunicazioni {
    font-size: 13px;
    line-height: 24px;
    font-weight: bold;
}
.news-testi {
    font-size: 13px;
    line-height: 16px;
}
#show-news-btn {
    position: absolute;
    right: -32px;
    top: 0px;
    display: block;
    width: 30px;
    height: 30px;
    line-height: 25px;
    text-align: center;
    background-color: rgba(21,78,107, 0.75);
    cursor: pointer;
}
#show-news-btn img {
    transform: rotate(45deg);
}
#contatti-right {
    font-size: 17px;
    line-height: 20px;
}
/* Over Cage */
@media only screen and (min-width:1025px) and (max-width:10000px) {
    a:hover {
        color: #000;
    }
    .email-btn:hover,
    .btn-blu:hover {
        color: #154E6B;
        background-color: white;
        border: 1px solid #154E6B;
        box-sizing: border-box;
    }
    #nav li a:hover {
        border-bottom: 4px solid #fff;
        color: white;
    }
}
/* ALL MOB */
@media only screen and (min-width:320px) and (max-width:1024px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }    
/*    .page {        
        height: 100vh;        
    }*/
}

/* PAD */
@media only screen and (min-width:768px) and (max-width:1023px) {
    .page {
        max-width: 1000px;
        width: 100%;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    #chi-siamo-txt {
        padding: 80px 20px;
        box-sizing: border-box;
    }
    #contatti {
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
    }
    .two-column {
        -webkit-column-gap: 25px;
        -moz-column-gap: 25px;
        column-gap: 25px;
    }
    .lavorazione { 
        height: 650px;
    }
    #contatti-right {
        font-size: 13px;
    }
    .logo-cont {
        width: 180px;        
    }
    .logo-cont img {
        width: 100%;
        margin-top: 10px;
    }
    .barra-bottom-txt,
    .barra-top-txt {
        padding-left: 230px;
    }
}
/* Phone */
@media only screen and (min-width:320px) and (max-width:767px) {
    .page {
        width: 100%;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    #chi-siamo-txt h1 {
        font-size: 30px;
        line-height: 30px;
        font-weight: 200;
    }
    #chi-siamo-txt {
        padding: 80px 20px;
        box-sizing: border-box;
    }
    #contatti {
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
    }
    .barra-bottom-txt,
    .barra-top-txt {
        display: none;
    }
    .logo-cont {
        left: 50%;
        margin-left: -146px;
    }
    #nav {
        max-width: 480px;
        width: 100%; 
    }
    #nav li {
        width: 30%;
        margin: 0px 1.666667%;
    }
    #nav li a {        
        width: 100%;        
    }
    #news-cont {
        max-height: 350px;
        max-width: 600px;
        width: 90%;
        box-sizing: border-box;
        padding: 3px 10px 10px 10px;
        position: absolute;
        margin-left: -50%;
        left: 50%;
    }
    .two-column {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 0px;
        -moz-column-gap: 0px;
        column-gap: 0px;
    }
    .lavorazione {
        width: 100%;
        max-width: 500%;
        float: none;
        margin: 0px auto;
        height: auto;
    }
    #contatti-left,
    #contatti-right {
        width: 100%;
    }
    #contatti-right {
        margin-top: 50px;
        font-size: 12px;
    }
} 
