html, body {height:100%;}
body { 
  color: #333;
  background-color:#fff;
  direction: ltr;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Arial, Helvetica, sans-serif;
}

h2, h2 small{color:#031884; font-weight:bold;}
h2 {font-size:1.8em; }

#configurador{min-height:100%; margin:10px auto;}

#header{padding:0 0 10px 0;}
#header .logo{ max-width:440px;}
#header .tel{ max-width:200px; text-align:right;}

#footer{padding-top:15px; margin-top:15px; padding-bottom:10px;   border-top:1px solid #DEDEDE;  text-align:center; line-height:17px;}
#main{background:#fff;}

.box{height:100%; min-height:778px; overflow: hidden;}

.boxLeft{
    padding:7px;
    padding-bottom:0px; 
}

.bgTT{
    border:#DBDBDB 1px solid; 
    background:#F9F9F9; 
    -webkit-box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.7);
    -moz-box-shadow:    2px 2px 3px 0px rgba(50, 50, 50, 0.7);
    box-shadow:         2px 2px 3px 0px rgba(50, 50, 50, 0.7);    
}
.box .ins{padding:15px 0 0 0; }

.box-title{ font-size:16px;  font-weight:bold; color:#666; }

.dcatalogo{display:none; padding:0 10px;}
.active{display:block;}

.list_catalog li, .list_acabados li, .list_fijos li, .list_herrajes li  {
    width:15%; vertical-align:top; text-align:center; margin-bottom:0px; padding:2px 0 2px 0; cursor:pointer; 
    border:2px solid #F9F9F9;
}

.list_catalog li img{width:100%;}
.list_catalog .title{font-size:0.8em; margin-top:4px; margin-right: 0; line-height:11px;  }

.list_catalog li:hover{border:2px solid #BBBDBD;}
.list_catalog li.active{border:2px dashed #E68C8A;}

.list_acabados li{width:10%; margin-bottom:10px; }
.list_fijos li{width:20%; margin-bottom:10px; }
.list_herrajes li{width:20%; margin-bottom:10px; }

#producto{text-align:center; height:100%;}
#producto .capa{text-align:center; position:absolute; top:0px; left:0px; width:100%; height:100%;}
#producto .img_capas{width:100%;}


.dcatalogo .tab-content {
   padding: 10px 5px 0 5px;}


.nav > li > a.btn-sm{
  padding: 5px 10px;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
   background-color: #D9534F;
   color: #FFFFFF;
}

#main_menu .nav > li{margin:0; border-right: #4B4949 1px solid;}
#main_menu .nav > li:last-child{
    border-right:none;
}

#main_menu .nav > li > a.btn-sm{
    font-size:14px; 
    border:none;
    border-left: #898889 1px solid; border-right:#898889 1px solid;
    border-radius:0;    
    background: url('../img/bg/menu_bkg.jpg') repeat-x top;
    color:#fff;
    font-weight: normal;
    padding-left:9px; padding-right:9px; 
    min-height:35px;
    line-height:27px; 
    padding-bottom:0px; 
}
#main_menu .nav > li > a.btn-sm:hover, #main_menu .nav > li.active > a.btn-sm{
    background: url('../img/bg/menu_bkg_ov.jpg') repeat-x;
}

#main_menu .nav > li > a.first{
    border-top-left-radius:5px;
    border-bottom-left-radius:5px;    
}
#main_menu .nav > li > a.last{
    border-top-right-radius:5px;
    border-bottom-right-radius:5px;
}



.dcatalogo .nav > li > a.btn-sm{
    padding: 2px 5px;
    font-size:13px; 
}

.item_acabado img{max-height:100px;}

#img_secundario, #img_cerco{display:none;}

#loading{background:rgba(0, 0, 0, .7); height:100%; color:#fff; padding-top:30%;  min-height:775px; }

.steps{display:none;}
.steps.active{display:block;}
.title{ margin:4px 10px 0 0; }


.padding-big{padding:20px;}
.form-title{color:#DD0024; font-size:14px; display:block; margin-top:10px; line-height:15px; }
.title-inline{display:inline-block;}

li.emptyItem{ min-height:200px; }


.box-right{
    padding-left:0px !important;
    padding-right:0px !important;
}

input, textarea, select{ 
    border:#8C8A8B 1px solid;
    border-radius:0px !important;
    padding:3px !important;
    font-size:12px !important;
}
.form-group {
    margin-bottom: 5px;
}
.form-group label {
    display: block;
    text-align: left;
    margin-bottom:0;
    font-size:12px;
}
.form-group label.dosLineas{
    line-height:13px; 
}
.form-control{
    height: auto !important; 
}

#form_detalles{
    padding-right:15px; 
}
#form_detalles .col-md-3, #form_detalles .col-md-2, #form_detalles .col-md-6 {
    padding-right:0px !important;
} 

.error {
    color: #B94A48;
}
.form-group.error input, .form-group.error select, .form-group.error textarea {
    border-color: #B94A48;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}
.form-group.error .control-label, .form-group.error .help-block, .form-group.error .help-inline {
    color: #B94A48;
}
.form-group .help-block{ font-size:11px;}

.small{font-size:11px;}

.page-404 {
    padding-bottom: 108px;
    padding-top: 5%;
    text-align: center;
}
.page-404 .number {
    color: #DEDEDE;
    display: inline-block;
    font-size: 100px;
    font-weight: 300;
    letter-spacing: -10px;
    line-height: 128px;
    margin-bottom: 10px;
    margin-top: 0;
    position: relative;
    text-align: right;
    top: 15px;
}
.page-404 .details {
    display: inline-block;
    margin-left: 60px;
    padding-top: 0;
    text-align: left;
}
.overlay{
    background:#000; opacity:0.7; position:absolute; left:0; top:0; width:100%; height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay .msg{color:#FFF; text-align:center; margin:10% auto; z-index:10000}

label.error{font-size:11px; font-weight:normal;}

.notas{margin-top:20px; line-height:14px;}
.text-small{font-size:0.9em !important;}

.btn-primary{
    background-color: #B81820 !important;
    border-color: #B81820 !important;
}


#pedido_acciones a{
    color:black !important;
    text-decoration: none !important;
}


#f_serie option:disabled{
    color:#b5b0b0;
}

.image-alter-msg{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 15px;
    background-color: rgba(0,0,0,0.7);
    color:white;
    text-align: center;
    font-weight: bold;
}

.image-danger-msg{
    position: absolute;
    bottom: 50%;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 15px;
    background-color: rgba(255,0,0,0.7);
    color:white;
    text-align: center;
    font-weight: bold;
}