.container{
    width: 1020px;
    background-color: #ffffff;
    padding: 0px;
}

body{
    background-color: #dddddd;
    padding-bottom: 60px;
}

.home {
    width: 985px;
    height: 635px;
    background-image: url('../img/home_bg.png');
    background-repeat: no-repeat;
    background-position: bottom;
}

div .header{
    background-image: url('../img/header_bg.png');
    background-repeat: repeat-x;
    overflow: auto;
}
div .header-top{
    background-image: url('../img/header_bar.png');
    background-repeat: repeat-x;
    height: 12px;
}
div .header-bottom{
    background-image: url('../img/page_header_bg.png');
    background-repeat: repeat-x;
    height: 10px;
}

.header img{
    float: left;
}
/*#spinner {
    visibility: hidden;
    position: absolute;
    width: 24px;
    height: 24px;
    padding: 3px;
    background: white url('../img/spinner.png') no-repeat 50% 50%;
    z-index: 123456;
}*/
#spinner{
    display: none;
    position:   fixed;
    z-index:    100000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 )
        url('../img/spinner.gif')
        50% 50%
        no-repeat;
}

#spinner.loading{
    display: block;
}

#categories{
    float: right;
    padding-right: 12px;
}

#categories div{
    text-align: center;
}

#categories .fullspace::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-right: -0.25em; /* Adjusts for spacing */
    height: 100%;

    /* For visualization
    background: #808080; width: 5px;
    */
}

#categories a::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-right: -0.25em; /* Adjusts for spacing */
    height: 100%;

    /* For visualization
    background: #808080; width: 5px;
    */
}

div.left_panel-trailer{
    padding-right: 25px;
}

.left_panel-trailer h3{
    float: left;
    margin-right: 10px;
    font-size: 12px;
    font-weight: bold;
}

.left_panel-trailer div::before{
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.left_panel-trailer div{
    display: block;
    vertical-align: middle;
    height: 100%;
    float: none;
    padding-left: 10px;
}

.left_panel-trailer hr{
    margin-top: 5px;
    margin-bottom: 0px;
    border-top: 2px solid #eeeeee;
}

#categories ul{
    list-style-type: none;
    padding: 0px;
}

.category-wrapper{
    display: inline-block;
    vertical-align: middle;
}

.category-title{
    font-weight: bold;
}

.category-subtitle{
    font-size: 80%;
}

.btn-message{
    background-image: url('../img/mail_invert.png');
    background-repeat: no-repeat;
    background-position: center;
    margin: 9px;
    width: 36px;
    height: 36px;
}

h1{
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    margin-top: 10px;
}

h2{
    font-size: 12px;
    font-weight: bold;
}

h3{
    color: gray;
    font-size: 20px;
}

p{
    margin: 0 0 5px;
}

.right{
    text-align: right;
}

.bold{
    font-weight: bold;
}

:disabled{
    color: #808080;
}

.disabled{
    cursor: not-allowed;
}

#categories li{
    float: left;
    width: 126px;
    height: 86px;
    margin-left: 17px;
    margin-right: 17px;
    text-decoration: none;
    text-align: center;
    background-color: #ffffff;
    border: 1px ridge #dddddd;
}

#categories a{
    display: block;
    width: 100%;
    height: 100%;
    color: #000000;
}

.category-1-bg{
    background: linear-gradient(#ffffff, #F66E12);
}

.category-2-bg{
    background: linear-gradient(#ffffff, #00619E);
}

.category-3-bg{
    background: linear-gradient(#ffffff, #019EE3);
}

.category-4-bg{
    background: linear-gradient(#ffffff, #EF0089);
}

div #categories{
    display: inline-block;
}

.category-underline{
    height: 6px;
}

.category-1-underline{
    background-color: #F66E12;
}
.category-2-underline{
    background-color: #00619E;
}
.category-3-underline{
    background-color: #019EE3;
}
.category-4-underline{
    background-color: #EF0089;
}

.fullspace{
    width: 100%;
    height: 100%;
}

.filter{
    display: inline-block;
    float: right;
}

div.left_panel{
    width: 364px;
    float: left;
    padding-right: 2px;
    padding-left: 15px;
}

.left_panel label{
    vertical-align: top;
}

.filter-line label{
    font-weight: normal;
    font-size: 90%;
}

div.panel_separator{
    width: 1px;
    background-color: #e0e0e0;
    float: left;
    margin: 0px;
    min-height: 635px;
}

div.vertical-separator{
    width: 1px;
    min-height: 0.1px;
    background-color: gray;
    margin-left: 2px;
    margin-right: 15px;
    float: left;
    height: 100%;
}

div.filter-order{
    display: inline-block;
    width: 10px;
    min-height: 0.1px;
    font-size: 90%;
    vertical-align: top;
}

div.filter-validation{
    display: inline-block;
    width: 26px;
    min-height: 0.1px;
    float: right;
}
.filter-validation{
    text-align: center;
}

div.colorbox-info{
    display: inline-block;
    flow: right;
    margin-right: 10px;
}

div.tab-content{
    margin-left: 25px;
}

.overflow-auto{
    overflow: auto;
}

div.main{
    width: 590px;
    float: left;
}

div .footer{
    width: 100%;
    height: 42px;
    background-image: url('../img/footer_bg.png');
    background-repeat: repeat-x;
}
.footer div{
    float: right;
    vertical-align: middle;
    margin-top: 5px;
    margin-right: 5px;
}
.footer .logo{
    width: 144px;
    height: 42px;
    background-image: url('../img/bimtech-logo.png');
    background-repeat: no-repeat;
    float: left;
    margin-top: 0px;
}



.overlay_wrapper{
    position: relative;
}

.tab-pane{
    overflow:hidden;
}


div .overlay_menu{
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    padding-top: 85px;
}
.overlay_menu ul{
    padding-left: 0px;
}

.overlay_menu li{
    list-style-type: none;
    padding-bottom: 5px;
}

.modal-shown {
    display:block;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog{
    width: 213px;
    margin: 200px auto;
    border: 1px outset gray;
}

.wide-alert{
    width: 240px;
}

.modal-content .alert-body{
    padding-left: 18px;
    padding-right: 18px;
}

.alert-message{
    width: 300px;
    height: 120px;
}
.alert-message div .alert-body{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 40px;
}

.alert-footer{
    height: 52px;
    padding: 9px;
    overflow: auto;
    background-color: #f1f1f1;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.alert-footer-content{
    float: right;
}

.alert-content{
    background-color: #ffffff;
}

.modal-content{
    width: 384px;
    margin: 200px auto;
    border: 1px outset gray;
}
.modal-content input[type=number]{
    width: 60px;
}

.modal-content table{
    border-spacing: 2px;
    border-collapse: separate;
}

.nav-tabs>.disabled>a, .nav-pills>.disabled>a {
    color: #999;
    cursor: default;
    border: none; /** add this for tabs/pills **/
}

.nav-tabs>.disabled>a:hover, .nav-pills>.disabled>a:hover {
    background-color: transparent;
}

div .scroll-pane{
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #000000;
    padding-left: 1px;
}

div.surface-selection{
    height: 200px;
}

.color-selection{
    height: 300px;
}

.layer_button{
    width: 20px;
    height: 20px;
    display: inline-block;
}

.settings{
     background-image: url('../img/btn_layer_settings.png');
}

.sheet{
    background-image: url('../img/btn_layer_product_list.png');
}

.web{
    background-image: url('../img/btn_layer_info.png');
}

/* Surface textures size is 120x120px*/

.left_panel select{
    width: 120px;
}

.layers-tab table{
    /*width: 50%;*/
    display: inline;
}
.layers-tab select{
    width: 180px;
}

.layers-tab input[type=number]{
    width: 56px;
}
.layers-tab th{
    font-weight: normal;
    color: #808080;
    font-size: 12px;
}

.layers-tab tr{
    height: 26px;
}

.layers_total{
    width: 408px;
}

th.layer-column-order{
    width: 40px;
}
th.layer-column-name{
    width: 149px;
}
th.layer-column-material{
    width: 180px;
}
th.layer-column-phys{
    width: 34px;
    text-align: center;
}
th.layer-column-thick{
    width: 50px;
    text-align: center;
}
th.layer-column-sheet{
    width: 29px;
    text-align: center;
}
th.layer-column-url{
    width: 32px;
    text-align: center;
}
.layers-tab .btn{
    height: 24px;
    width: 24px;
    display: block;
    margin: auto;
}

.thermal-tab label, .acoustic-tab label{
    font-weight: normal;
}

.thermal-tab label.strong, .acoustic-tab label.strong{
    font-weight: bold;
}

.bold{
    font-weight: bold !important;
}

.thermal-tab select{
    float: right;
    width: 192px;
    margin-left: 6px;
    display: inline-block;
}

.thermal-tab .wide-select{
    width: 390px;
}
.acoustic-tab select{
    float: right;
    width: 310px;
    margin-left: 6px;
    display: inline-block;
}
.thermal-tab .overflow-auto, .acoustic-tab .overflow-auto{
    margin-bottom: 2px;
}

.thermal-tab input[type=number], .acoustic-tab input[type=number]{
    float: right;
    width: 64px;
    display: inline-block;
}

.life a{
    background: url("../img/life2.png");
    background-repeat: no-repeat;
    background-position: center;
    width: 150px;
}

.nav-tabs a{
    color: #202020;
    font-weight: bold;
}

/*Color filter preview*/
.colorbox-image{
    width: 100%;
    height: 100%;
}
.colorbox-image a{
    display: block;
    width: 100%;
    height: 100%;
}

div .colorbox-filter{
    border: 1px solid #606060;
    width: 120px;
    height: 50px;
}

div .colorbox-item{
    width: 58px;
    height: 58px;

    display: inline-block;
    margin: 1px 1px 1px 1px;
    float: left; /*To remove that damned space*/
}

div .colorbox-item.large{
    width: 88px;
    height: 88px;
}

.colorbox-item input{
    visibility: hidden;
    display: none;
    margin: 0px;
}

.colorbox-item label{
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-align: right;
    line-height: 96px;
    font-weight: 600;
    font-size: 11px;
    padding-right: 4px;
}

.colorbox-item.large label{
    line-height: 158px;
}

.colorbox-item input:checked + label {
    /*background-color: rgba(0, 0, 255, 0.2);*/
    border: 2px solid #000000;
    line-height: 92px;
    padding-right: 2px;
}

.colorbox-item.large input:checked + label{
    line-height: 154px;
}

.colorbox-item input.disabled + label {
    background-color: rgba(255, 255, 255, 0.6);
    color: #a0a0a0;
    cursor: not-allowed;
}

td.gray{
    color: #999
}