/* MOBILE VERTICALE */

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat.woff');
}

@font-face {
    font-family: 'Montserrat-sb';
    src: url('/fonts/Montserrat-SemiBold.woff');
}

@font-face {
    font-family: 'Montserrat-b';
    src: url('/fonts/Montserrat-Bold.woff');
}

body {
    font-family: Montserrat, verdana, sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin: 0;
    padding: 0;
}

.main_color {
    color: #1754A2;
}

.fleft {
    float: left;
}

.fright {
    float: right;
}

.mr20 {
    margin-right: 20px;
}

.mr50 {
    margin-right: 50px;
}

.ml20 {
    margin-left: 20px;
}

.ml50 {
    margin-left: 50px;
}

#main {
    width: 100%;
}

#main_header {
    height: 75px;
    padding: 10px 0 0px 20px;
}

#home_media /* video o immagine o slide nella homepage */ {
    margin: 0;
    padding: 0;
    text-align: center;
    width:100%;
}

    #home_media video {
        width: 100%;
        height: calc(100vh - 250px); /*altezza header + altezza footer + barra del browser nel tablet */
    }

#models {
    width: calc(100% - 10px);
    padding-right: 10px;
    overflow: hidden;
}

#propertygrid_title {
    font-size: 24px;
    font-family: Montserrat, sans-serif;
    margin-bottom: 50px;
    margin-left: 30px;
    margin-top: 40px;
}


#legenda {
    overflow: hidden;
    margin: 0 0 20px 0px;
    clear: both;
}

.legenda_item {
    margin-bottom: 5px;
    cursor: pointer;
    display: table;
}

    .legenda_item img {
        width: 32px;
        height: 32px;
        float: left;
    }

    .legenda_item div {
        float: left;
        margin: 6px 0 0 5px;
    }

#model_description {
    font-size: 14px;
    font-family: Montserrat, sans-serif;
    margin-left: 30px;
    margin-bottom: 20px;
    padding-right: 135px;
}

#menu_title {
    margin: 10px 0 0 10px;
    font-size: 18px;
    font-family: Montserrat-sb, sans-serif;
}

iframe {
    border: none;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: calc(100vh - 270px);
}

#propertygrid {
    float: left;
    overflow: hidden;
}

#viewer {
    overflow: hidden;
    /*background-image: url('bg_viewer.png');*/
    height: calc(100vh - 270px);
    padding-bottom: -2px;
    background-color: #fff;
}

#viewer_menu {
    padding-top: 15px;
    height: 65px;
    font-size: 14px;
    margin-left: 20px;
}

.viewer_menu_box {
    float: left;
}

#logo_ad {
    cursor: pointer;
    margin-right: 20px;
    height: 36px;
    margin-top: 20px;
    float: right;
}

#footer {
    padding: 10px 0 20px 0;
    overflow: hidden;
    position: absolute;
    top: calc(100vh - 180px);
    text-align: right;
    width: 100%;
}

@media screen and (max-width: 810px) {
    #footer {
        top: calc(100vh - 250px);
        right:20px;
    }
}

.footer_info {
    font-size: 12px;
    margin-top: 25px;
}

#elenco_nodi, #elenco_materiali {
    width: 600px;
    display: inline-block;
    height: 800px;
    overflow: auto;
    vertical-align: top;
    border: 1px solid;
    display: none;
}

    #elenco_nodi div, #elenco_materiali div, #info div {
        padding: 5px;
    }

#info {
    float: left;
    width: 598px;
    height: 400px;
    border: 1px solid;
    overflow: auto;
    clear: left;
    display: none;
}

#menu {
    display: none;
}

.footer {
    height: 120px;
    width: 300px;
    text-align: center;
    margin: 0 auto;
    font-size: 0.8em;
}

/* standard commands < */

input[type=checkbox] {
    width: 24px;
    height: 24px;
}

.commands_section {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 10px;
}

.commands_title {
    margin-left: -10px;
    font-weight: bold;
    margin-bottom: 15px;
}

.commands_text {
    padding-bottom: 3px;
}


.commands_section input[type=checkbox] {
    float: left;
    margin-right: 5px;
}

.commands_section .checkbox_lbl {
    display: inline-block;
    margin-top: 5px;
}

input[type=radio] {
    transform: scale(1.5);
    margin-left: 15px;
    margin-bottom: 15px;
}


/* UI combo box */

.custom-combobox {
    position: relative;
    display: inline-block;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
}

.custom-combobox-input {
    margin: 0;
    padding: 5px 10px;
    width: 455px;
    background-color: #fff;
    color: #000;
    font-size: 14px;
    height: 20px;
}


/* DIALOGS */

.dlg_input input {
    width: 100px;
    height: 24px;
    border-radius: 5px;
    border-width: 1px;
    text-align: center;
}

.input_lbl {
    padding-right: 10px;
    vertical-align: middle;
    color: #707070;
    font-family: Montserrat-sb, sans-serif;
}

.input_um {
    font-size: 14px;
    padding-left: 5px;
    color: #707070;
}

.dlg_input {
    margin-bottom: 10px;
    text-align: left;
}

    .dlg_input div {
        display: inline-block;
        width: 110px;
        text-align: left;
    }

        .dlg_input div:first-child {
            width: 10px;
            margin-right: 20px;
        }

.dlg_inline_input {
    margin: 0 auto;
    margin-bottom: 10px;
    text-align: center;
}

    .dlg_inline_input div {
        display: inline-block;
        width: 110px;
        text-align: center;
    }

        .dlg_inline_input div:first-child {
            text-align: right;
        }

        .dlg_inline_input div:last-child {
            text-align: left;
        }


    .dlg_inline_input input {
        width: 100px;
        height: 24px;
        border-radius: 5px;
        border-width: 1px;
        text-align: center;
    }

/* ACCESSIBILITA' - focus tastiera */
.a11y-focusable:focus,
#viewer:focus,
a:focus {
    outline: 3px solid #076EC8;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #fff;
}

#viewer:focus {
    outline-offset: -4px;
}