*{
    margin: 0;
    padding: 0;
}

body{
    font-family: Verdana;
    min-width: 320px;
    background-color: #f5f3f3;
}

/* MENU */
    #menu_bar{
        height: 60px;
        background-color: #6d6e71;
        padding: 10px;
        position: relative;
    }

    #menu_left{
        float: left;
        color: #ffffff;
        line-height: 60px;
    }

    #dropdown{
        position: relative;
        width: 100px;
        height: 70px;
        text-align: center;
        float: left;
        background: url('../images/menu.png') no-repeat;
        cursor: pointer;
    }

    #dropdown:hover {
           background-position: 0 -70px;
    }

    .dropdown_item{
        display: none;
        position: relative;
        background-color: green;
        min-width: 240px;
        height: 30px;
        top: 70px;
        left: 25px;
        line-height: 30px;
        padding: 10px;
        z-index: 200;
        text-align: left;
    }

    .dropdown_item:nth-child(odd){
        background-color: #aaaaac;
    }
    .dropdown_item:nth-child(even){
        background-color: #6d6e71;
    }

    .dropdown_item:hover{
        color: #ffffff;
        background-color: #ee1a39 !important;
    }

    .dropdown_text{
        display: inline-block;
        width: 70%;
    }

    .dropdown_value{
        display: inline-block;
        text-align: right;
        width: 30%;
    }

    #menu_bar .name{
        color: #ffffff;
        float: left;
    }

    #logo{
        position: absolute;
        width: 82px;
        height: 47px;
        text-align: center;
        background: url(../images/logo2.png) no-repeat;
        cursor: pointer;
        top: 16px;
        right: 36px;
        background-size: 82px;
    }

    #logo:hover{
        background-position: 0px -47px;
    }
/* MENU */

/* BANNER */
    .container{
        text-align: center;
        padding: 20px;
    }

    .format_container{
        text-align: center;
        /*max-width: 92%;*/
        margin: auto;
        max-height: 220px;
        overflow-y: auto;
    }

    .format_text{
        display: none;
        text-align: left;
        font-weight: bold;
    }

    .format{
        position: relative;
        display: inline-block;
        text-align: left;
        width: 360px;
        /*width: 300px;*/
        margin: 0px;
        margin-bottom: -3px;
        cursor: pointer;
        height: 30px;
        line-height: 30px;
        white-space:nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
    }

    .format:nth-child(odd){
        background-color: #e3e1e1;
    }
    .format:nth-child(even){
        background-color: #cccccc;
    }

    .format:hover, .format_selected{
        color: #ffffff !important;
        background-color: #ee1a39 !important;
    }

    .format .number{
        margin-left: 34px;
        letter-spacing: -1px;
        width: 26px;
        display: inline-block;
        vertical-align: top;
        font-size: 12px;
        line-height: 30px;
        /*font-weight: bold;*/
    }

    .format .name{
        width: 220px;
        /*max-width: 220px;*/
        display: inline-block;
        white-space: nowrap;
        overflow: hidden !important;
        text-overflow: ellipsis;
    }

    .format .size{
        float: right;
        margin-right: 6px;
        font-size: 10px;
        display: inline-block;
    }

    .icon{
        position: absolute;
        top: 5px;
        left: 5px;
        width: 20px;
        height: 20px;
        background-size: 100%;
        background-position: 100%;
    }
    .icon_html{ background-image: url('../images/icon_html.png');}
    .icon_png{  background-image: url('../images/icon_png.png');}
    .icon_jpg{  background-image: url('../images/icon_jpg.png');}
    .icon_gif{  background-image: url('../images/icon_gif.png');}

    #banner_container{
        min-height: 200px;
        padding: 20px;
        display: inline-block;
        width: calc(100% - 40px);
    }

    #shown_banner{
        margin: auto;
        width: 0px;
        height: 0px;
    }

    #shown_banner iframe{
        width: 100%;
        height: 100%;
        border: none;
        overflow: hidden;
    }
    #shown_banner img{
        border: none;
        overflow: hidden;
    }
/* BANNER */

/* VERTICAL VIEW */
    .vertical_view .format_container{
        width: 360px;
        /*width: 300px;*/
        float: left;
        text-align: left !important;
        max-height: calc(100vh - 100px);
    }

    .vertical_view .format{
        width: 100%;
        /*text-align: left;*/
    }

    .vertical_view .format .number{
        /*margin-left: 40px;*/
    }
    .vertical_view .format .size{
        /*float: right;*/
        /*margin-right: 6px;*/
    }

    .vertical_view #banner_container{
        padding: 0px 20px;
        width: calc(100% - 400px);
        /*width: calc(100% - 350px);*/
    }

    .vertical_view .format_text{
        margin-bottom: 10px;
    }
/* VERTICAL VIEW */

/* TWO BANNERS VIEW */

    .two_view .format_text{
        display: block;
    }

    #banner_container{
        padding-bottom: 0px;
    }
    .banner_container:nth-child(1){
        padding-top: 0px !important;
        padding-bottom: 20px !important;
    }
/* TWO BANNERS VIEW */


.desktop{display: block;}
.mobile{display: none;}

/* ONLY DESKTOP */
@media screen and (min-width: 461px) {
    .format_container{
        max-width: 92%;
    }
}

/* MOBILE OPTIMIZATION */
@media screen and (max-width: 460px) {
    .desktop{display: none;}
    .mobile{display: block;}
    .container {
        padding: 10px 0px;
    }
    .format_container{
        max-height: calc(30vh) !important;
        width: 96% !important;
        margin: 0 2% !important;
        overflow-x: hidden;
    }

    .format{
        width: 100%;
    }

    #banner_container{
        padding: 10px 0px;
        width: calc(100%);
    }
    #menu_bar .name{
        text-align: center;
        width: 100%;
        margin-top: 10px;
    }
    #menu_bar{
        padding: 0px;
        height: 110px;
    }
    #logo{
        /*height: 60px;*/
        right: 25px;
    }
    #dropdown{
        height: 60px;
        margin-top: 10px;
    }
    .dropdown_item{
        top: 100px;
    }

    .vertical_view #banner_container{
        padding: 10px 0px;
        width: calc(100%);
    }

}
/* MOBILE OPTIMIZATION */


/* SCROLLBAR */ 
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
 ::-webkit-scrollbar-track {
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); */
    /*-webkit-border-radius: 10px;*/
    /*border-radius: 10px;*/
}
 ::-webkit-scrollbar-thumb {
    /*-webkit-border-radius: 10px;*/
    /*border-radius: 10px;*/
    background: rgba(109, 109, 109, 0.6); 
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); */
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(109, 109, 109, 1); 
}
/* SCROLLBAR */ 


