﻿/*@media screen and (min-width : 320px) and (max-width : 480px) {

}

@media screen and (min-width : 481px) and (max-width : 767px) {

}  

@media screen and (min-width : 768px) and (max-width : 1024px) {

}    

@media screen and (min-width : 1025px) and (max-width : 1280px) {

}*/
body {
    font-family: "exo 2", sans-serif;
}

#logo {
    float:left;
}
#logo img {
     max-height: 50px !important;
  }

@media (max-width: 350px) {
  #logo img {
     margin: 2px;
     max-height: 40px !important;
  }
}

@media (min-width: 768px) {
  #logo img {
     max-height: 150px !important;
  }
}

#top {
    min-height: 110px;
    padding: 10px;
    background-color: #FFFFFF;
    width: 100%;
    border-bottom: 2px solid #CCC;
}
#footer {
    height: 50px;
    padding: 10px;
    background-color: #F8F8F8;
    width: 100%;
    border-top: 2px solid #CCC;
    text-align: center;
    position: fixed;
    bottom: 0px;
}

.menuIco {
    max-width: 16px;
    margin-right: 5px;
}

.loading {
    background-image: url(/EnergyWeb/images/resources/loading.gif);
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

#overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.8;
    filter: alpha(opacity=80);
}
#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -28px 0 0 -25px;
}

.active {
	background: #258ecd !important;
	color: yellow !important;
}

#div_dati_involucro_nuovo, #div_impianti_solari_nuovo, #div_impianti_fotovoltaici_nuovo, #div_centrali_termiche_nuovo {
    float: left; 
    width: 180px; 
    display: none;
    border: 1px solid #CCC;
    border-radius: 3px;
}
.btn_dati_involucro_nuovo, .btn_impianto_solare_nuovo, .btn_impianto_fotovoltaico_nuovo, .btn_centrale_termica_nuovo {
    padding-left: 3px;
    text-align: left !important;
    border: 0px !important;
    width: 100%;
}

#div_componenti_nuovo {
    float: left; 
    width: 180px; 
    display: none;
    border: 1px solid #CCC;
    border-radius: 3px;
}
.btn_componenti_nuovo {
    padding-left: 3px;
    text-align: left !important;
    border: 0px !important;
    width: 100%;
}

#btn_componenti_nuovo {  
    width: 65px !important;
    border-radius: 6px;
    float: left; 
    text-align: center;
    color: #FFF;
    background-color: #449D44;
    max-height: 40px;
}

#div_btn_componenti_nuovo {
    position: fixed;
    right: -2px;
    top: 30px;
    z-index: 9999;
}

.div_btn_salva {
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 9999;
}

.btn_salva {
    min-width: 65px !important;
    width: 65px !important;
    border-radius: 6px;
}

.btn_salva_componenti {
    min-width: 65px !important;
    width: 65px !important;
    border-radius: 6px;
}

.btn_back_componenti {
    clear: left;
    top: 30px;
    min-width: 65px !important;
    width: 65px !important;
    border-radius: 6px;
}

.leftColHeadBtn {
    margin: 1px;
    width: 49%;
    float: left;
}

.child1 { margin-left: 30px; }
.child2 { margin-left: 60px; }

/* Smartphones (portrait and landscape) ----------- */
@media (min-width : 240px) and (max-width : 319px) {        
        h1, .h1 { font-size: 22px; margin-top: 2px; }
        h2, .h2 { font-size: 18px; margin-top: 2px; }
        h3, .h3 { font-size: 12px; margin-top: 2px; }
        h4, .h4 { font-size: 8px; margin-top: 1px; }
        h5, .h5 { font-size: 7px; margin-top: 1px; }
        h6, .h6 { font-size: 6px; }
        .child1 { margin-left: 5px !important; }
        .child2 { margin-left: 10px !important; }
}
@media (min-width : 320px) and (max-width : 480px) {
        h1, .h1 { font-size: 26px; margin-top: 4px; }
        h2, .h2 { font-size: 20px; margin-top: 4px; }
        h3, .h3 { font-size: 16px; margin-top: 4px; }
        h4, .h4 { font-size: 10px; margin-top: 3px; }
        h5, .h5 { font-size: 8px; margin-top: 3px; }
        h6, .h6 { font-size: 7px; }
        .child1 { margin-left: 10px !important; }
        .child2 { margin-left: 20px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
        h1, .h1 { font-size: 32px; margin-top: 6px;  }
        h2, .h2 { font-size: 24px; margin-top: 6px; }
        h3, .h3 { font-size: 18px; margin-top: 6px; }
        h4, .h4 { font-size: 12px; margin-top: 4px; }
        h5, .h5 { font-size: 10px; margin-top: 4px; }
        h6, .h6 { font-size: 8px; }
        .child1 { margin-left: 20px !important; }
        .child2 { margin-left: 40px !important; }
}


.btnTab {
    margin-top: 3px;
    min-width: 15%;
    margin-bottom: -2px;
    font-size: small !important;
}
@media (max-width: 509px) {
    .btnTab {
        margin-top: 1px;
        min-width: 100%;
        margin-bottom: 1px;
        font-size: x-small !important;
    }
}
@media (min-width: 510px) and (max-width: 800px) {
    .btnTab {
        margin-top: 3px;
        min-width: 15%;
        margin-bottom: -2px;
        font-size: x-small !important;
    }
}

.myCalculator{
    padding: 9px;
    width: 320px;
    height: 320px;
    background-color: #FFF;
    border: 2px solid #CCC;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -150px;
    margin-left: -150px;
    border-radius: 6px;
}

.btnCalculator {
    cursor: pointer;
}

@media (max-width : 320px) {
    .myCalculator {
    font-size: 90%;
    padding: 3px;
    width:240px;
    height:280px;
    margin-top: -100px;
    margin-left: -120px;
    }
}

.imgContainer {
    padding: 35px 6px;
    text-align: center;
    border: 1px solid #CCC;
    min-height: 140px;
    min-width: 100%;
}

#modal-body-image {
    text-align: center !important;
    padding-top: 3px !important;
}

#modal-body-image img {
    width: 100% !important;
}

.unBold {
    font-weight: normal;
}
