﻿html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

html input[disabled], html input[readonly] {
    background-color: #fafafa !important;
    cursor: not-allowed !important;
}

button[type="button"], button[type="submit"] {
    font-size: 15px !important;
    font-family: Arial,sans-serif !important;
}

textarea {
    padding: 10px !important;
}

.field-validation-error {
    color: #a94442;
}

/************* HEADER *************/


.navbar-default {
    background-color: #5c2134 !important;
    border-color: #5c2134 !important;
    margin: 0px !important;
}

.navbar-default .navbar-nav > li > a {
    color: #eaeaea !important;
}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        line-height: 20px;
    }
}

.log-off span {
    font-size: 1.8em;
    color: #eaeaea !important;
    line-height: 38px;
}

.log-off:hover {
    background-color: #a94442 !important;
}

@media (max-width: 768px) {
    .navbar-default .navbar-nav > .open > a,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #fff !important }
}

.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover { color:#fff !important; background-color: #9D2449 !important }

/************* ESTILOS LAYOUT / FRAMEWORK *************/

.main {
    margin-top: 20px;
    /*padding: 0 25px 25px 25px;*/
}

#logo {
    background: transparent url("../../../Content/img/logo-header.png") no-repeat 50% 50%;
    background-size:cover;
    display: block;
    height: 55px;
    overflow: hidden;
    padding: 10px 0;
    width: 220px;
    margin-top:3px;
}

.disable-combobox .k-dropdown-wrap{
    background-color: whitesmoke !important;
}

.enable-combobox .k-dropdown-wrap {
    background-color: white !important;
}

.hover-dropdown .k-dropdown-wrap:hover {
    background-color: whitesmoke !important;
}

/************* TELERIK DEFAULT *************/

.k-checkbox-label { font-weight:400 }

.k-checkbox-label::before {
    top:-5px;
    left:1px;
}

.k-checkbox-label, .k-radio-label {
    line-height: 5px !important
}

.k-radio:checked + .k-radio-label::after {
    background-color: #9D2449 !important;
}

.k-textbox, .k-numerictextbox, .k-datepicker, .k-dropdown, .k-combobox, .k-datetimepicker, .k-timepicker, .k-maskedtextbox {
    display: block !important;
    width: 100% !important;
    text-transform: uppercase;
}

.k-list-optionlabel.k-state-selected.k-state-focused, .k-list > .k-state-selected.k-state-focused, .k-item.k-state-selected.k-state-hover {
    background-color: #9D2449 !important;
    color: #fff !important;
}

.k-treeview .k-in {
    color:#333;
    margin-top:2px;
    font-size: 15px;
}

.k-treeview .k-in.k-state-hover, .k-treeview .k-in.k-state-selected {
    color: #333;
    background-color: transparent;
    cursor: pointer;
}

.k-pager-wrap .k-link, .k-pager-wrap .k-link:hover {
    color: #333;
}

.btn-primary {
    background-color: #9D2449;
    border-color: #9D2449;
}
.btn-primary:focus, .btn-primary.focus {
  background-color: #8A1136;
  border-color: #8A1136;
}
.btn-primary:hover {
  background-color: #8A1136;
  border-color: #8A1136;
}
.btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
  background-color: #8A1136;
  border-color: #8A1136;
}
.btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus,
.btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus {
  background-color: #8A1136;
  border-color: #8A1136;
}

.btn-info {
    background-color: #b2945e;
    border-color: #b2945e;
}
.btn-info:focus, .btn-info.focus {
  background-color: #9F814B;
  border-color: #9F814B;
}
.btn-info:hover {
  background-color: #9F814B;
  border-color: #9F814B;
}
.btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info {
  background-color: #9F814B;
  border-color: #9F814B;
}
.btn-info:active:hover, .btn-info.active:hover, .open > .dropdown-toggle.btn-info:hover, .btn-info:active:focus,
.btn-info.active:focus, .open > .dropdown-toggle.btn-info:focus, .btn-info:active.focus, .btn-info.active.focus, .open > .dropdown-toggle.btn-info.focus {
  background-color: #9F814B;
  border-color: #9F814B;
}

/************* LOGIN *************/

.logo-login {
    margin-top: 5%;
    margin-bottom: 3%;
    height: 150px;
    width: 270px;
}

#login-form {
    background-color: #f7f7f7;
    border-radius: 2px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    height: 320px;
    margin: 10px auto 20px;
    max-width: 370px;
    padding: 50px 25px 0;
}


/************* TAMAÑOS / COLORES *************/

.text-primary { color: #9D2449 }
.text-info { color: #b2945e }
.text-default { text-transform: none !important }
.text-lowercase { text-transform: lowercase !important }
.text-center { text-align:center !important }
.text-wrap { word-break: break-all }
.smallest { font-size: 1.2em; vertical-align: middle; }
.padding-zero { padding: 0 !important }
.text-consolas { font-family: Menlo,Monaco,Consolas,"Courier New",monospace !important; letter-spacing:1px }

/************* NOTIFICACIONES *************/

#notification {
    font-size: 1em;
    opacity: 0.9;
    position: fixed;
    right: 10px;
    top: 30px;
    z-index: 10100;
}

/************* MODAL *************/

.modal-contenido {
    line-height: 1.35em;
	overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
}

.modal-contenido .form-group {
    box-sizing: border-box !important;
}

.modal-botones {
    padding-top:10px;
    margin-top:10px;
}

/************* SIDEBAR / MENU PRINCIPAL *************/

.sidebar {
    background-color: #f8f8f8;
    border-right: 1px solid #e6e6e6;
    left: 0;
    max-height: 95%;
    min-height: 90%;
    position: absolute;
}

.sidebar li { border-bottom: 1px solid #e6e6e6 }

.sidebar a {
    background-color: #fff;
    color: #71798f;
    font-size: 1em;
    padding: 0 !important;
}

.sidebar a .menu-icon {
    font-size: 1em;
    padding: 13px;
    width: 30px;
}

.sub-menu a .menu-icon {
    padding-left:25px;
    width:45px;
}

.sidebar a .menu-child {
    position: absolute;
    right: 5px;
    top: 15px;
}

.menu-active, .menu-active .menu-icon, .sidebar a:hover, .sidebar a:hover .menu-icon {
    background-color: #eee !important;
    /*color: #fff !important;*/                                    
}

.labelCantMenu {
    position: absolute;
    top: 15px;
    right: 10px;
}

@media only screen and (orientation:landscape) 
{
    .sidebar a {
        font-size: 1em;
    }
}

@media (max-width: 767px) {
    .sidebar { z-index: 2; }
}

@media only screen and (min-device-width: 1200px) and (max-device-width: 1500px){
    .sidebar a .menu-icon {
        font-size: 1em;
        padding: 15px 10px;
        width: 30px;
    }
    .sub-menu a .menu-icon {
        padding-left:20px;
        width:35px;
    }

     .sidebar a .menu-child {
        position: absolute;
        right: 5px;
        top: 17px;
    }
}

@media only screen and (min-device-width: 851px) and (max-device-width: 1199px){
    .sidebar a .menu-icon {
        font-size: 1em;
        padding: 15px 10px;
        width: 40px;
    }
    .sub-menu a .menu-icon {
        padding-left:25px;
        width:45px;
    }

    .sidebar a .menu-child {
        position: absolute;
        right: 5px;
        top: 15px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 850px){
    .sidebar a .menu-icon {
        font-size: 1em;
        padding: 15px 5px;
        width: 20px;
    }
    .sub-menu a .menu-icon {
        padding-left:15px;
        width:30px;
    }

    .sidebar a .menu-child {
        position: absolute;
        right: 5px;
        top: 13px;
    }

    .labelCantMenu {
        position: absolute;
        top: 12px;
        right: 10px;
    }
}

@media (max-width: 767px) {
    .sidebar { z-index: 2; }

    nav nav-sidebar li{
        font-size:1.1em;
    }

    .sidebar li{
        font-size:1.1em !important;
    }
}

/************* GRID /*************/

.grid-toolbar {
    min-height:40px;
    padding-top: 10px;
}

.grid-toolbar .form-group {
    box-sizing: border-box !important;
    margin-bottom: 5px !important;
}

.k-grid table {
    touch-action: auto !important;
} 

.k-grid-norecords-template {
    border: 0;
    padding: 15px 0 10px 0;
}

.grid-agrupar {
    display: block;
    font-style: italic;
    width: 100%;
    text-align:center;
}

.grid-boton-columna { 
    font-size: 1.5em;
    text-align: center;
    display: block;
}

a.grid-boton-columna {
    color: #9D2449;
}

.k-state-selected .grid-boton-columna { 
    color: whitesmoke !important;
}

a.grid-boton-columna:hover, a.grid-boton-columna:focus {
    text-decoration: none;
    color: #333;
    background: none;
}

.k-grid .k-grid-header .k-header {
    font-weight: 600 !important;
}

.k-grid-header
{
    padding-right: 0px !important;
}

.k-grid-content
{
    height: auto !important;
    overflow-y: hidden !important;
}

.k-grid .form-control-feedback {
    line-height: 34px;
}

.k-grid input.k-checkbox {
    width: 30px !important;
    height: 25px !important;
    cursor: pointer;
}

.k-grid .k-checkbox-label::before {
    width: 16px !important;
    height: 16px !important;
    margin-left: 8px !important;
    margin-top: 4px !important;
}

.k-grid .k-grid-header .k-header .k-link {
    height: auto;
}
  
.k-grid .k-grid-header .k-header {
    white-space: normal;
}

.k-grid .k-grid-header .k-header .k-link {
    height: auto;
}
  
.k-grid .k-grid-header .k-header {
    white-space: normal;
}

.k-state-selected {
    background-color: #6F7271 !important;
    border-color: #6F7271 !important;
}

.k-grid td.k-state-selected:hover, .k-grid tr.k-state-selected:hover td {
    background-color: #6F7271 !important;
}

.k-state-focused {
    box-shadow: none !important;
}

#tsDetalle > .nav.nav-tabs {
    background-color: #f5f5f5;
}

#tsDetalle > .tab-content {
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 0 20px 20px;
    overflow: hidden;
}

/************* LOADING /*************/

#loading {
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10100;
}

#loading .loading-body {
    top: 50%;
    left: 50%;
    position: fixed;
    background-color: #fff;
    border-radius: 7px;
    color: #666;
    font-size: 1.2em;
    font-weight: 600;
    max-width: 320px;
    min-width: 220px;
    min-height: 80px;
    padding: 15px;
    text-align: center;
}

#loading .loading-icon {
    background: #fff url("../../../Content/img/loading.svg") no-repeat 0 0;
    display: block;
    height: 40px;
    margin: 0 auto;
    width: 40px;
}


/************* FOOTER /*************/

footer[role="contentinfo"] {
    background-color:#30353c;
    height:60px;
    position:absolute;
    bottom:0;
    width:100%;
    color:#fff !important;
}

footer[role="contentinfo"] p {
    margin: 0 0 5px 0;
}

.fondo-colores {
    background: url("../../../Content/img/fondo-colores.jpg") repeat-x center top;
    height: 6px;
    margin-bottom: 5px;
}

.k-slider-selection {
    background-color: #337ab7;
}