﻿
.modal-backdrop {
    background-color: transparent;
}

/* Sobreescribo para el modal azul, sino letra en blanco*/
.magic-grid-body-td {
    color: rgb(21, 21, 21) !important;
}

.magic-grid-header {
    /*background-color: rgb(225, 238, 255) !important;*/
}

.input-validation-error {
    border: 1px solid #fe7a7a;
}

.pagination {
    margin: 0;
}

.magicgrid-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1000;
}

    .magicgrid-loading i {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -15px;
        margin-top: -15px;
        color: #000;
        font-size: 30px;
    }

.legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 40px;
    color: #333333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}

.validation-summary-valid {
    display: none;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
    display: block;
    white-space: unset !important;
    font-size: smaller;
    border-bottom: 1px solid #f4f4f4;
}


/*.content-header .dropdown-menu {
    margin-left: -145px !important;
}*/

.modal-dialog {
    /*width: 60%;
    height: 91%;*/
    padding: 0;
}

.modal-content {
    /*height: 100%;*/
    border-radius: 0;
}

.modal-body {
    height: calc(100% - 56px);
}

/*.form-control {
    height:auto !important;
    padding:3px 3px 2px 3px !important;
}*/
.panel-footer .container {
    width: 100% !important;
}


.navbar-nav > .notifications-menu > .dropdown-menu > li .menu, .navbar-nav > .messages-menu > .dropdown-menu > li .menu, .navbar-nav > .tasks-menu > .dropdown-menu > li .menu {
    max-height: 600px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: hidden;
}

.navbar-nav > .notifications-menu > .dropdown-menu, .navbar-nav > .messages-menu > .dropdown-menu, .navbar-nav > .tasks-menu > .dropdown-menu {
    width: 400px;
    padding: 0 0 0 0 !important;
    margin: 0 !important;
    top: 100%;
}

#firma {
    display: none;
}

.col150px {
    width: 150px;
    max-width: 150px;
    min-width: 150px;
}

.table > thead > tr > th {
    border-bottom: 1px solid #f4f4f4;
}

.collapsed-box .box-footer {
    display: block !important;
}

.content-wrapper .content {
    /*padding-bottom: 0px !important;*/
}

.main-footer {
    display: none;
    padding: 3px;
}

.content-header {
    padding: 5px;
}

    .content-header > .breadcrumb {
        position: relative;
        margin-top: 0px;
        top: 0;
        right: 0;
        float: none;
        background: #d2d6de;
        padding-left: 10px;
    }

.content {
    padding: 5px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.breadcrumb li .btn {
    margin-top: -2px;
}

table {
    margin-bottom: 0px !important;
}

[magicgrid-group-drop] > td:empty:before {
    content: 'Arrastrar Columna para Agrupar';
}

[magicgrid-group-drag][dropped] {
    border: 1px solid #7e7e7e;
    background: #cccccc;
    border-radius: 3px;
    padding: 2px;
    margin-right: 3px;
}

[magicgrid-group]:hover {
    cursor: pointer;
}

#grid-container table tr[magicgrid-td-hide] {
    display: none;
}

[magicgrid-group='open']:before {
    content: "\f13a";
}

[magicgrid-group='close']:before {
    content: "\f138";
}

.magic-grid-body-td {
    font-size: 13px;
}

.dropdown-menu {
    border: 1px solid rgba(0,0,0,.15) !important;
}

.list-group-item {
    padding: 10px 10px !important;
    font-size: small;
}

.adjunto {
    position: relative;
    overflow: hidden;
    margin-right: 10px;
}

    .adjunto input.upload {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        font-size: 20px;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
    }

.separator {
    border-top: 1px solid #797979;
    margin-right: 20px !important;
    margin-left: 15px !important;
}

.magicgrid .magicgrid-container .magicgrid-footer {
    padding: 5px !important;
}

    .magicgrid .magicgrid-container .magicgrid-footer ul.pagination {
        margin: 0 !important;
    }

.box > li > a {
    color: #f4f4f4 !important;
}

.box.box-solid.box-primary > .box-header a, .box.box-solid.box-primary > .box-header .btn .dropdown-menu > li > a {
    color: rgb(21, 21, 21);
}

.full-width {
    padding: 5px;
    margin-top: 5px;
    display: block;
}

.control-sidebar-bg,
.control-sidebar {
    background-color: transparent;
    top: 0;
    right: -500px;
    width: 500px;
    -webkit-transition: right 0.3s ease-in-out;
    -o-transition: right 0.3s ease-in-out;
    transition: right 0.3s ease-in-out;
}

.margin-t-5 {
    margin-top: 5px !important;
}

.margin-l-5 {
    margin-left: 5px !important;
}

.box-actividades {
    border: 1px solid black;
    -webkit-box-shadow: 0px 0px 14px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 14px 2px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 14px 2px rgba(0,0,0,0.75);
}

.direct-chat-messages {
    height: 500px;
}

.direct-chat-text {
    white-space: normal !important;
}

.fileUpload {
    position: relative;
    overflow: hidden;
    margin-right: 10px;
}

    .fileUpload input.upload {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        font-size: 20px;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
    }



.input-group input[type=date] {
    padding: 6px 2px;
    width: calc(100% - 15px) !important;
}

.xelect[data-val-required][value=''] + .xelect-container .xelect-single {
    background: -webkit-linear-gradient(top, #fffacf 20%, #fffacf 50%, #fffacf 52%, #fffacf 100%);
}

.table-condensed td.magic-grid-body-td {
    width: 1% !important;
    white-space: nowrap;
}

.table-responsive {
    overflow-x: auto;
}

    .table-responsive .dropdown-menu {
        position: absolute !important;
    }

.dropdown-menu {
    border: 1px solid rgba(0,0,0,.15) !important;
}

.dropup {
    position: relative;
}

hr {
    margin-top: 5px;
    margin-bottom: 5px;
}
/********************
CUSTOMIZACION A7WARD
********************/

.modal-content .box {
    margin-bottom: 0px;
}

.nav-tabs-custom > .nav-tabs > li.active {
    border-top-color: #000000;
}

.skin-blue .sidebar-menu > li:hover > a, .skin-blue .sidebar-menu > li.active > a {
    color: #ffffff;
    background: #1e282c;
    border-left-color: #000000;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #000000;
    border-color: #000000;
}

.btn-primary {
    background-color: #000000;
    border-color: #000000;
}

    .btn-primary:hover, .btn-primary:active, .btn-primary.hover {
        background-color: #000000;
    }

a {
    color: #000000;
}

.box.box-primary {
    border-top-color: #000000;
}

.box.box-solid.box-primary {
    border: 1px solid #000000;
}

    .box.box-solid.box-primary > .box-header {
        color: #ffffff;
        background: #000000;
        background-color: #000000;
    }

.skin-blue .main-header .navbar {
    background-color: #000000;
}

.skin-blue .main-header .logo {
    background-color: #000000;
}

.sidebar-menu > li.active > a {
    border-left-color: #000000 !important;
}

table tbody tr .selected td {
    border: 1px solid #64a845;
    background-color: #d0ef9d;
}

/*********
CHECKBOX
*********/

.checkOnOff {
    float: right;
    width: 80px;
    height: 26px;
    background: #dcdcdc;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    position: relative;
    -webkit-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
    -moz-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
}

    .checkOnOff label {
        display: block;
        width: 34px;
        height: 20px;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        -webkit-transition: all .4s ease;
        -moz-transition: all .4s ease;
        -o-transition: all .4s ease;
        -ms-transition: all .4s ease;
        transition: all .4s ease;
        cursor: pointer;
        position: absolute;
        top: 3px;
        left: 3px;
        z-index: 1;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
        box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
        background: #fcfff4;
        background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: -o-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: -ms-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );
    }

    .checkOnOff input[type=checkbox] {
        visibility: hidden;
    }

        .checkOnOff input[type=checkbox]:checked ~ label {
            /*left: 43px;*/
            transform: translate(43px,0);
            background: -webkit-linear-gradient(top, #ecffba 0%, #87b549 40%, #35671b 100%);
            background: -moz-linear-gradient(top, #ecffba 0%, #87b549 40%, #35671b 100%);
            background: -o-linear-gradient(top, #ecffba 0%, #87b549 40%, #35671b 100%);
            background: -ms-linear-gradient(top, #ecffba 0%, #87b549 40%, #35671b 100%);
        }

    .checkOnOff:after {
        content: 'No';
        font: 12px/26px Arial, sans-serif;
        color: #000;
        position: absolute;
        right: 10px;
        z-index: 0;
        font-weight: bold;
        text-shadow: 1px 1px 0px rgba(255,255,255,.15);
    }

    .checkOnOff:before {
        content: 'Si';
        font: 12px/26px Arial, sans-serif;
        color: #196915;
        position: absolute;
        left: 10px;
        z-index: 0;
        font-weight: bold;
    }

#modal-content > .box {
    border-radius: 0px !important;
}
