/*
==========================================================================
IMPORTO FONTS
==========================================================================
*/
@font-face {
    font-family: OpenSans;
    src: url('fonts/OpenSans-Regular.eot');
    src: url('fonts/OpenSans-Regular.woff') format('woff'),
    url('fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: OpenSans;
    src: url('fonts/OpenSans-Bold.eot');
    src: url('fonts/OpenSans-Bold.woff') format('woff'),
    url('fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: RobotoSlab;
    src: url('fonts/RobotoSlab-Regular.eot');
    src: url('fonts/RobotoSlab-Regular.woff') format('woff'),
    url('fonts/RobotoSlab-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: RobotoSlab;
    src: url('fonts/RobotoSlab-Bold.eot');
    src: url('fonts/RobotoSlab-Bold.woff') format('woff'),
    url('fonts/RobotoSlab-Bold.ttf') format('truetype');
    font-weight: bold;
}

/*
==========================================================================
CSS TABLE
==========================================================================
*/

#weather_socio_container {
    width: 100%;
    margin: 0 !important;
    height: 100%;

}

#weather_socio_container > table {

    margin: 0;

}

#weather_socio_container tr {

    border-bottom: none;

}

#weather_socio_container > table > tbody > tr > th:first-of-type {

    text-align: left;

}

#weather_socio_container > table > tbody > tr > th {

    font-size: 1.6em;
    position: relative;
    font-family: RobotoSlab;
    text-align: center;
}

#weather_socio_container > table > tbody > tr > td {

    padding: 0 !important;
    text-align: center;

}

#weather_socio_container > table > tbody > tr > th > span {
    color: #ffffff;
    z-index: 2;
    position: relative;
}

#weather_socio_container > table > tbody > tr > td > span {
    color: #ffffff;
    font-family: RobotoSlab;
    font-size: 1.4em;
}

#weather_socio_container > table > tbody > tr > th > span:first-of-type {
    padding-left: 5%;
}

#weather_socio_container > table > tbody > tr > td > i {
    color: #ffffff;
    font-size: 4em;
    padding-top: 35%;
    padding-bottom: 40%;
}

#weather_socio_container > table > tbody > tr > th:before {

    position: absolute;
    content: "";
    background-color: rgba(255, 255, 255, 0.3);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}

#weather_socio_container > table > tbody > tr:first-of-type > td > div {

    height: 100%;
    border: 0.2em solid #238f50;
    font-family: RobotoSlab;
}

#weather_socio_container > table > tbody > tr:first-of-type > td > div span {
    height: 2.6em;
}

#weather_socio_container > table > tbody > tr:last-of-type {
    height: 90%;
}

#weather_socio_container > table > tbody > tr > td:nth-child(1),
#weather_socio_container > table > tbody > tr > th:nth-child(1) {

    background-color: #238f50;
    width: 40%;
}

#weather_socio_container > table > tbody > tr > td:nth-child(2),
#weather_socio_container > table > tbody > tr > th:nth-child(2) {

    background-color: #6c9b58;
    width: 20%;
}

#weather_socio_container > table > tbody > tr > td:nth-child(3),
#weather_socio_container > table > tbody > tr > th:nth-child(3) {

    background-color: #79a356;
    width: 20%;
}

#weather_socio_container > table > tbody > tr > td:nth-child(4),
#weather_socio_container > table > tbody > tr > th:nth-child(4) {

    background-color: #79ae5e;
    width: 20%;
}

#first_row_info {
    margin: 0 auto;
    width: auto !important;
}

#first_row_info > tbody > tr > td > i {
    color: #ffffff;

    font-size: 1em;
}

#first_row_info > tbody > tr > td > span {
    color: #ffffff;
    font-family: RobotoSlab;
    font-size: 1.5em;
}

i.first_column_icon {
    font-size: 6em !important;

}

span.first_column_temp {

    font-size: 6em !important;

}

tr.weather_no_data {
    width: 100% !important;
    height: 100% !important;

}

td.weather_no_data {
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;

}

span.weather_no_data {

    padding: 0 !important;

}

#weather_socio_wrapper {

    background-color: #238f50;
    position: relative;

}

#weather_socio_loading {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    z-index: 9;
    display: none;
}

#weather_socio_container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #238f50;
    z-index: 1;
}

#weather_socio_wrapper .select2-selection__placeholder {

    color: #238f50;
    font-family: RobotoSlab;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: auto!important;
    font-size: 1.4em;
}

#weather_socio_wrapper .select2-container--default .select2-selection {
    border-radius: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 0.4em 0.3em 0 0.3em;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
    transform: translate(-50% , -50%);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 1.4em;
}




/*
====================================================
regola per override css sito regionali
====================================================
*/

#weather_socio_container table td{
    font-size:inherit!important;
}
