﻿/*
====================================
[ CSS TABLE OF CONTENT ]
------------------------------------
 	1.0 - Main Body
    2.0 - Fonts
 	4.0 - Header
    2.0 - Services
    3.0 - Typography
-------------------------------------
[ END CSS TABLE OF CONTENT ]
=====================================
*/

/* ------------------ 1.0 - Main Body ---------------------- */
body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #555555;
    background: #fff;
    font-size: .85rem;
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -2.5rem;
}

.wrap {
    padding: 1rem;
}

.nopadd {
    padding: 0;
    margin: 0;
}

a, a:hover, a:after {
    transition: All .2s ease;
    -webkit-transition: All .2s ease;
    -moz-transition: All .2s ease;
    -o-transition: All .2s ease;
}

    a:hover {
        color: #51718A;
        transition: All .2s ease;
        -webkit-transition: All .2s ease;
        -moz-transition: All .2s ease;
        -o-transition: All .2s ease;
    }

.print-only,
.show-for-print {
    display: none !important;
}
/* ------------------ 2.0 Fonts---------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    color: #555;
    font-size: 1.5rem;
    line-height: 2rem;
}

h2, h3 {
    color: #1C799F;
}

h2, h3, h4, h5 {
    font-size: 1.1rem;
}

h3 {
    line-height: 2rem;
}

h6 {
    font-size: 1rem;
}

.mini {
    font-size: 70%;
}

p, span {
    color: #808184;
}

label {
    display: initial;
}

.field-validation-error, .text-danger {
    color: #ff0000 !important;
}

small {
    font-size: 0.6875rem;
}
/*.validation-summary-errors.small ul{
    margin-left:0!important;
}
.validation-summary-errors.small ul li{
    list-style:none;
}
.validation-summary-errors{
    margin-top:-1.5rem!important;
}
.field-validation-error{
    color:#ff0000!important;
    font-size:0.7rem;
}
.danger input, .danger select{
    margin-bottom:0!important;
}
.danger span.field-validation-error{
    margin-bottom:1rem!important;
}
.text-danger, .text-danger #Monto-error, .text-danger #Select-error, .text-danger ul li, .validation-summary-errors{
    color:#ff0000!important;
    margin:0rem;
    font-size:0.7rem!important;
    line-height:1rem;
    list-style:none;
    margin-top:-1rem;
}
.text-danger ul, .validation-summary-errors ul{
    margin-left:0;
    font-size:0.7rem!important;
    list-style:none;
}
.label .text-danger{
    margin-left:0.5rem;
    margin-top: -1rem;
}*/
.clr {
    clear: both;
}

@media only screen and (max-width: 40em) {
    label.inline {
        margin: 0em !important;
    }

    .text-right {
        text-align: left !important;
    }

    .stretch-2 {
        width: 100%;
    }
}
/* ------------------ 3.0 Header--------------------- */
header {
    background: url(../images/header1.jpg) #7490A8;
    background-repeat: no-repeat;
}

.usericonrole {
    height: 145px;
}

.userbar {
    background: #455d77;
    padding: 0.5rem;
    margin: 0;
    height: auto;
    border-top: 1px solid #97acc3;
}

.sub-nav {
    padding: 0;
    font-size: 0.7rem !important;
}

    .sub-nav span {
        font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
    }

    .sub-nav dd:nth-child(1) {
        margin-left: 0;
    }

    .sub-nav dd, .sub-nav dd a {
        color: #fff;
        text-transform: capitalize;
    }

        .sub-nav dd a span {
            color: #fff;
        }

        .sub-nav dd a:hover, .sub-nav dd a:hover span {
            color: #008CBA;
        }

    .sub-nav dl dd {
        margin-bottom: 0 !important;
    }

dl dd {
    margin-bottom: 0 !important;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.sub-nav > a {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

@media only screen and (max-width: 40em) {
    header {
        background-image: url(../images/header2.jpg);
    }

    .usericonrole {
        height: 140px;
    }

    .sub-nav {
        font-size: 0.95rem !important;
    }

        .sub-nav li a {
            margin-left: 0;
        }

        .sub-nav dd.right, .sub-nav dd.left {
            float: none !important;
            text-align: center;
        }
}
/* ------------------ 4.0 Menu--------------------- */
#cssmenu {
    position: relative;
    height: 30px;
    background-color: #8CA0AC;
    width: auto;
    border-top: 1px solid #caced3;
    border-bottom: 1px solid #304352;
}

    #cssmenu *, #cssmenu *::before, #cssmenu *::after {
        box-sizing: initial !important;
    }

    #cssmenu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        line-height: 1;
    }

    #cssmenu > ul {
        position: relative;
        display: block;
        background-color: #8CA0AC;
        width: 100%;
        z-index: 500;
    }

    #cssmenu ul.open li a:hover,
    #cssmenu ul li a:hover {
        background-color: #f0f0f0;
        color: #000;
    }

    #cssmenu:after,
    #cssmenu > ul:after {
        content: ".";
        display: block;
        clear: both;
        visibility: hidden;
        line-height: 0;
        height: 0;
    }

    #cssmenu.align-right > ul > li {
        float: right;
    }

    #cssmenu.align-center ul {
        text-align: center;
    }

        #cssmenu.align-center ul ul {
            text-align: left;
        }

    #cssmenu > ul > li {
        display: inline-block;
        position: relative;
        margin: 0;
        padding: 0;
    }

    #cssmenu > ul > #menu-button {
        display: none;
    }

    #cssmenu ul li a {
        display: block;
        font-family: Helvetica, sans-serif;
        text-decoration: none;
    }

    #cssmenu > ul > li > a {
        font-size: 12px;
        font-weight: bold;
        padding: 10px 10px 10px 10px;
        color: #fff;
        -webkit-transition: color 0.25s ease-out;
        -moz-transition: color 0.25s ease-out;
        -ms-transition: color 0.25s ease-out;
        -o-transition: color 0.25s ease-out;
        transition: color 0.25s ease-out;
    }

    #cssmenu > ul > li:hover {
        background: #74858f;
        color: white;
    }

    #cssmenu > ul > li.has-sub > a {
        padding-right: 32px;
    }

    #cssmenu > ul > li > a:hover {
        color: #4c4c4c;
    }

    #cssmenu li.has-sub::after {
        display: block;
        content: "";
        position: absolute;
        width: 0;
        height: 0;
    }

    #cssmenu > ul > li.has-sub::after {
        right: 10px;
        top: 13px;
        border: 5px solid transparent;
        border-top-color: #fff;
    }

    #cssmenu .has-sub {
        border-top-color: #4c4c4c;
    }

    #cssmenu > ul > li:hover::after {
        border-top-color: #ffffff;
    }

    #cssmenu ul ul {
        position: absolute;
        left: -9999px;
        top: 70px;
        opacity: 0;
        -webkit-transition: opacity .3s ease, top .25s ease;
        -moz-transition: opacity .3s ease, top .25s ease;
        -ms-transition: opacity .3s ease, top .25s ease;
        -o-transition: opacity .3s ease, top .25s ease;
        transition: opacity .3s ease, top .25s ease;
        z-index: 1000;
        border: 1px solid #b3b3b3;
    }

        #cssmenu ul ul ul {
            top: 37px;
            padding-left: 1px;
        }

        #cssmenu ul ul li {
            position: relative;
        }

    #cssmenu > ul > li:hover > ul {
        left: auto;
        top: 30px;
        opacity: 1;
    }

    #cssmenu.align-right > ul > li:hover > ul {
        left: auto;
        right: 0;
        opacity: 1;
    }

    #cssmenu ul ul li:hover > ul {
        left: 150px;
        top: 0;
        opacity: 1;
    }

    #cssmenu.align-right ul ul li:hover > ul {
        left: auto;
        right: 170px;
        top: 0;
        opacity: 1;
        padding-right: 5px;
    }

    #cssmenu ul ul li a {
        width: 130px;
        border-bottom: 1px solid #eeeeee;
        padding: 10px 10px 10px 10px;
        font-size: 12px;
        color: #4c4c4c;
        background: #ffffff;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }

    #cssmenu.align-right ul ul li a {
        text-align: right;
    }

    #cssmenu ul ul li:hover > a {
        background: #f2f2f2;
        color: #8c9195;
    }

    #cssmenu ul ul li:last-child > a,
    #cssmenu ul ul li.last > a {
        border-bottom: 0;
    }

    #cssmenu > ul > li > ul::after {
        content: '';
        border: 6px solid transparent;
        width: 0;
        height: 0;
        border-bottom-color: #ffffff;
        position: absolute;
        top: -12px;
        left: 30px;
    }

    #cssmenu.align-right > ul > li > ul::after {
        left: auto;
        right: 30px;
    }

    #cssmenu ul ul li.has-sub::after {
        border: 4px solid transparent;
        border-left-color: #9ea2a5;
        right: 10px;
        top: 12px;
        -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
        -o-transition: all .2s ease;
        transition: all .2s ease;
        -webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
    }

    #cssmenu.align-right ul ul li.has-sub::after {
        border-left-color: transparent;
        border-right-color: #9ea2a5;
        right: auto;
        left: 10px;
    }

    #cssmenu ul ul li.has-sub:hover::after {
        border-left-color: #ffffff;
        right: -5px;
        -webkit-transform: rotateY(180deg);
        -ms-transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        -o-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }

    #cssmenu.align-right ul ul li.has-sub:hover::after {
        border-right-color: #ffffff;
        border-left-color: transparent;
        left: -5px;
        -webkit-transform: rotateY(180deg);
        -ms-transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        -o-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }

@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
    #cssmenu {
        width: auto;
    }

        #cssmenu.align-center ul {
            text-align: left;
        }

        #cssmenu.align-right > ul > li {
            float: none;
        }

        #cssmenu ul {
            width: auto;
        }

        #cssmenu .submenuArrow,
        #cssmenu #indicatorContainer {
            display: none;
        }

        #cssmenu > ul {
            height: auto;
            display: block;
        }

            #cssmenu > ul > li {
                float: none;
            }

            #cssmenu li,
            #cssmenu > ul > li {
                display: none;
            }

        #cssmenu ul ul,
        #cssmenu ul ul ul,
        #cssmenu ul > li:hover > ul,
        #cssmenu ul ul > li:hover > ul,
        #cssmenu.align-right ul ul,
        #cssmenu.align-right ul ul ul,
        #cssmenu.align-right ul > li:hover > ul,
        #cssmenu.align-right ul ul > li:hover > ul {
            position: relative;
            left: auto;
            top: auto;
            opacity: 1;
            padding-left: 0;
            padding-right: 0;
            right: auto;
        }

        #cssmenu ul .has-sub::after {
            display: none;
        }

        #cssmenu ul li a {
            font-size: 15px;
            padding: 20px 20px;
        }

        #cssmenu ul ul li a {
            border: 0;
            background: none;
            width: auto;
            padding: 20px 35px;
            font-size: 15px;
            color: #e5e5e5;
        }

        #cssmenu.align-right ul ul li a {
            text-align: left;
        }

        #cssmenu ul ul li:hover > a {
            background: white;
            color: #4c4c4c;
            border-bottom: 1px solid #4c4c4c;
        }

        #cssmenu ul ul li:hover > #menu-button::after,
        #cssmenu ul ul li:hover > #menu-button::before {
            border-color: #4c4c4c;
        }

        #cssmenu ul ul ul a {
            padding: 8px 50px;
        }

        #cssmenu ul ul ul ul a {
            padding: 8px 65px;
        }

        #cssmenu ul ul ul ul ul a {
            padding: 8px 80px;
        }

        #cssmenu ul ul ul ul ul ul a {
            padding: 8px 95px;
        }

        #cssmenu > ul > #menu-button {
            display: block;
            cursor: pointer;
        }

        #cssmenu #menu-button > a {
            padding: 14px 20px;
        }

        #cssmenu ul.open li,
        #cssmenu > ul.open > li {
            display: block;
        }

            #cssmenu > ul.open > li#menu-button > a {
                color: #fff;
                border-bottom: 1px solid rgba(150, 150, 150, 0.1);
            }

            #cssmenu > ul.open > li#menu-button:hover > a {
                color: #4c4c4c;
                border-bottom: 1px solid rgba(150, 150, 150, 0.1);
            }

        #cssmenu > ul > li:hover#menu-button::after,
        #cssmenu > ul > li:hover#menu-button::before {
            border-color: #4c4c4c;
        }

        #cssmenu > ul.open > li:hover#menu-button::after,
        #cssmenu > ul.open > li:hover#menu-button::before {
            border-color: #4c4c4c;
        }

        #cssmenu ul ul::after {
            display: none;
        }

        #cssmenu #menu-button::after {
            display: block;
            content: '';
            position: absolute;
            height: 3px;
            width: 22px;
            border-top: 2px solid #fff;
            border-bottom: 2px solid #fff;
            right: 20px;
            top: 15px;
        }

        #cssmenu #menu-button::before {
            display: block;
            content: '';
            position: absolute;
            height: 3px;
            width: 22px;
            border-top: 2px solid #fff;
            right: 20px;
            top: 25px;
        }

        #cssmenu ul.open #menu-button::after,
        #cssmenu ul.open #menu-button::before {
            border-color: #fff;
        }

    #menu-button {
        border-color: #4c4c4c;
    }
}
/* ------------------Content---------------------- */
.content {
    margin-top: 0rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    /*margin-top:1rem;
    margin-bottom:1rem;
        Para ajustar correctamente el header en la página de login y registro, se eliminaron los márgenes y se usa el padding.
    */
}

@media only screen and (max-width: 64.063em) {
    .content {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
}

@media only screen and (max-width: 800px) {
    .content {
        margin-top: 1.5rem;
    }
}

/* ------------------ 5.0 Footer---------------------- */
footer {
    width: 100%;
    background-image: url(../images/bg_gradient_footer.jpg);
    background-repeat: repeat;
    text-align: center;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.footerblank {
    background-image: url(../images/bg_separation_1024x9_fondblanc.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-color: #fff;
    width: 100%;
    height: 9px;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

img.footerblank {
    padding: 0 !important;
    margin-bottom: 0 !important;
}

footer p {
    line-height: 0.7rem;
    margin: 0.5rem;
    font-size: 0.6rem;
}

footer, .push {
    height: 2.5rem;
}

/* ------------------ 6.0 Table------------------- */

/* ------------------Reset--------------------- */
table, tbody, tfoot, thead, th, tr {
    background: transparent;
    border: 0 none;
    font-size: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: top;
}

    table, table td {
        padding: 0;
        border: none;
        border-collapse: collapse;
    }

table {
    width: 100%;
}

.datagrid table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
}

.datagrid {
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border: 1px solid #728692;
    width: 100%;
    overflow-x: auto;
    margin-top: 1rem;
}

    .datagrid table td, .datagrid table th {
        padding: 3px 10px;
    }

    .datagrid table thead th, .datatitle {
        background-color: #51718a;
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        border-left: 1px solid #fff;
        text-shadow: 0 1px 1px #0f2740;
        vertical-align: top;
    }

        .datagrid table thead th:first-child {
            border: none;
        }

    .datagrid table tbody td {
        color: #00496B;
        border-left: 1px solid #E1EEF4;
        font-size: 12px;
        font-weight: normal;
    }

    .datagrid table tbody .alt td {
        background: #E1EEF4;
        color: #00496B;
    }

    .datagrid table tbody td:first-child {
        border-left: none;
    }

    .datagrid table tbody tr:last-child td {
        border-bottom: none;
    }

    .datagrid table tfoot td div {
        border-top: 1px solid #1C799F;
        background: #51718a;
    }

    .datagrid table tfoot td {
        padding: 0;
        font-size: 12px;
    }

        .datagrid table tfoot td div {
            padding: 4px;
        }

        .datagrid table tfoot td ul {
            margin: 0;
            padding: 0;
            list-style: none;
            text-align: right;
        }

    .datagrid table tfoot li {
        display: inline;
    }

        .datagrid table tfoot li a {
            text-decoration: none;
            display: inline-block;
            padding: 2px 8px;
            margin: 1px;
            color: #FFF;
            border: 1px solid #fff;
            -webkit-border-radius: 3px;
            -moz-border-radius: 3px;
            border-radius: 3px;
            background: -moz-linear-gradient( center top, #1C799F 5%, #1C799F 100% );
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1C799F', endColorstr='#1C799F');
            background-color: #51718a;
        }

            .datagrid table tfoot li a span {
                color: #FFF;
            }

    .datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover {
        text-decoration: none;
        border-color: #fff;
        color: #FFFFFF;
        background: none;
        background-color: #6b8ba4;
    }

    .datagrid label {
        font-size: 12px;
    }

    .datagrid table tr td input[type="checkbox"] {
        margin: 0px;
    }
/*.datagrid a{
  position: relative;
}
.datagrid a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background-color:#00496B;
  content: "";
}
.datagrid a:hover {
  color:#00496B;
}
.datagrid a:hover:after {
  width: 100%;
}*/
#totals {
    background: #ccc;
}

    #totals tr {
        text-align: center;
        border-top: 1px solid #808184;
        border-bottom: 1px solid #808184;
    }

    #totals td {
        font-size: 12px;
        padding: 10px;
    }

.total {
    font-weight: bold;
}

.col-uno {
    background: #1178c8;
}

#unseen .green {
    background: #369089;
}

#unseen .blue {
    background: #255981;
}

#unseen .border {
    border-right: 1px solid #b2b2b2;
}

#unseen .right {
    text-align: right;
}

#unseen .left {
    text-align: left;
}

div.dhtmlx_window_active, div.dhx_modal_cover_dv {
    position: fixed !important;
}

#unseen table thead tr:nth-child(2) th, #unseen table tbody td {
    font-size: 11px;
    border-top: 1px solid white;
    vertical-align: middle;
}

#unseen table tbody tr:nth-child(odd), .datagrid table tbody tr:nth-child(odd) {
    background: #f4f4f4;
}

#unseen {
    width: 100%;
}

    #unseen table th {
        vertical-align: middle;
        text-align: center;
    }

.databorder, .datatitle {
    padding: 5px;
    text-align: center;
    border: 1px solid #51718a;
}

#unseen input {
    height: 2rem;
    padding: .2rem;
    margin: 0;
}

tbody.userol td {
    padding: .5rem;
}

    tbody.userol td input[type="radio"] {
        padding: 0;
        margin: 0;
    }

/* ------------------7.0 Buttons------------------- */
.btn, input.btn, a.btn {
    text-shadow: 0 1px 1px #0f2740;
    color: #FFFFFF;
    display: inline-block;
    text-decoration: none;
    padding: .4rem .8rem;
    -moz-border-radius: .5rem;
    -webkit-border-radius: .5rem;
    border-radius: .5rem;
    border-top: 1px solid #728692;
    border-right: 1px solid #122a42;
    border-bottom: 1px solid #122a42;
    border-left: 1px solid #728692;
    background: #51718a;
    font-size: 0.8rem;
    transition: All .2s ease;
    -webkit-transition: All .2s ease;
    -moz-transition: All .2s ease;
    -o-transition: All .2s ease;
    margin-right: 0.3rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

a.btn {
    color: #FFFFFF;
    text-decoration: none;
    padding: .4rem .8rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.btn:hover {
    background-color: #6b8ba4;
    cursor: pointer;
}

.btn:active {
    position: relative;
    top: 1px;
}

.btn .deshabilitado {
    background-color: gray;
}

.aux{
    vertical-align:top;
    height:2.45rem;
    padding-top:.55rem!important;
}

.fakelink {
    background: none;
    text-decoration: none;
    margin-top: -5px;
    cursor: pointer;
    box-shadow: none;
    border: none;
    color: #008CBA;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
}

    .fakelink:hover {
        color: #00496B;
    }

.bgrid {
    margin-bottom: 0.5rem;
}

.btn:disabled {
    background: #a0a0a0;
    border: 1px solid #a0a0a0;
    text-shadow: 0 1px 1px #a0a0a0;
}
/* ------------------ 0 - Noticias ---------------------- */

.news {
    position: relative;
    margin-bottom: 1rem;
    background: #fdfdfd;
}

.newsborder {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 1px solid #418CD8;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 1px 15px rgba(0, 0, 0, 0.1) inset;
    -webkit-box-shadow: 0 1px 15px rgba(0, 0, 0, 0.1) inset;
}

.newsimgleft {
    position: absolute;
    top: 0px;
    left: 0px;
}

.newsimgright {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
}

/* Input */

input[type="file"] {
    padding: 0.5rem;
    height: auto;
}

/* ------------------ Barra Tabla de Lugares ------------------- */
.bar {
    height: 100%;
    padding: 10px;
    border-radius: 5px;
    border-bottom: 1px dotted gray;
}

    .bar .barra {
        margin-bottom: 10px;
        color: #fff;
        padding: 4px;
        text-align: left;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        -webkit-animation-name: bar;
        -webkit-animation-duration: 0.5s;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-timing-function: ease-out;
        background-image: url(../images/bg_bars.png);
        background-repeat: repeat-x;
    }

    .bar .title {
        text-align: center;
    }

        .bar .title .semana {
            background-color: #5b768f;
            height: 40px;
            border-radius: 5px;
            background-image: url(../images/bg_bars.png);
            background-repeat: repeat-x;
            background-position: bottom;
        }

.numsemana {
    background-image: url(../images/bg_ribbon.png);
    z-index: 1;
    background-repeat: no-repeat;
    background-position: 100% 0%;
    color: white;
    font-size: 30px;
    width: 160px;
    height: 80px;
    display: block;
    padding-top: 5px;
}

.bar h2 {
    color: white;
    font-size: 20px;
    text-shadow: 1px 1px gray;
}

.bar .barras ol li {
    margin-left: 1em;
    list-style-type: decimal;
    font-size: 0.85rem;
    line-height: 1rem;
    margin-bottom: 1rem;
}

    .bar .barras ol li:hover {
        background-color: #cfcfcf;
    }

.barras ol li:after {
    clear: both;
}

.bar .barras li:nth-child(n+1):nth-child(-n+5) div .barra {
    background-color: #51c623;
}

.bar .barras li:nth-child(n+6) div .barra {
    background-color: #327e14;
}

.tb_semana {
    background-color: #5b768f;
    height: 35px;
    border-radius: 5px;
    background-image: url(../images/bg_bars.png);
    background-repeat: repeat-x;
    background-position: bottom;
    text-align: center;
    color: white;
    font-size: 20px;
    text-shadow: 1px 1px gray;
}

.tb-num, -tb-num-month {
    color: white;
    text-align: center;
    color: white;
    font-size: 20px;
    text-shadow: 1px 1px gray;
}

.tb-num {
    background-image: url(../images/bg_ribbon.png);
    background-repeat: no-repeat;
    background-position: 50% -65%;
    width: 50px;
    height: 80px;
    display: inline-block;
}

.tb-num-month {
    background-image: url(../images/bg_ribbon.png);
    background-repeat: no-repeat;
    background-position: 50% -65%;
    background-size: 100px 65px;
    width: 80px;
    height: 80px;
    display: inline-block;
}

/* ------------------ Barra Matraqueros ------------------- */
.matraqueros ol li {
    margin-left: 0;
}

.matraqueros ol li {
    padding: .4rem;
}

    .matraqueros ol li::after {
        clear: both;
    }

.matraqueros li:nth-child(n+1):nth-child(-n+5) div .barra {
    background-color: #51c623;
}

.matraqueros li:nth-child(n+6) div .barra {
    background-color: #327e14;
}

.matraqueros .barra {
    color: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-animation-name: bar;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-out;
    background-image: url(../images/bg_bars.png);
    background-repeat: repeat-x;
    padding: 0.2rem;
    /*padding: 4px;
		text-align: left;*/
}


/* ------------------Chat-------------------- 

#dialog{
}

.web_dialog_overlay
{
   position: fixed;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   height: 100%;
   width: 100%;
   margin: 0;
   padding: 0;
   background: #000000;
   opacity: .15;
   filter: alpha(opacity=20);
   -moz-opacity: .20;
   z-index: 1000;
   display: none;
}
#dialog{display:none; position:absolute;}
.web_dialog {
    background-color: #fff;
    z-index: 1001;
    position: sticky;
    transform: translate(-50%);
    top: 5%;
    left: 50%;
    border: 2px solid #336699;
}
.web_dialog_header{
    background-color: #336699;
    border: 1px solid #336699;
    padding:0.5rem;
    color:#fff;
}
.web_dialog_header a{
   color: White;
   text-decoration: none;
}
.web_dialog_content{
    padding:1rem;
}

@media only screen and (max-width: 40em) {
    .web_dialog {
        width: 80%;
    }
}*/

/* -------------------------------------------- */
/* ---------------Modal Reportes--------------- */

.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
        filter: alpha(opacity=50);
        opacity: .5;
    }

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

    .modal.fade .modal-dialog {
        opacity: 0;
        -webkit-transition: opacity .5s linear;
        -moz-transition: opacity .5s linear;
        -ms-transition: opacity .5s linear;
        -o-transition: opacity .5s linear;
        transition: opacity .5s linear;
        /*-webkit-transition: -webkit-transform 6s linear;
       -o-transition:      -o-transform 6s linear;
          transition:         transform 6s linear;
  -webkit-transform: translate(0, -25%);
      -ms-transform: translate(0, -25%);
       -o-transform: translate(0, -25%);
          transform: translate(0, -25%);*/
    }

    .modal.in .modal-dialog {
        opacity: 1;
        -webkit-transition: opacity .5s linear;
        -moz-transition: opacity .5s linear;
        -ms-transition: opacity .5s linear;
        -o-transition: opacity .5s linear;
        transition: opacity .5s linear;
        /*-webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
       -o-transform: translate(0, 0);
          transform: translate(0, 0);*/
    }

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

    .modal-backdrop.fade {
        filter: alpha(opacity=0);
        opacity: 0;
        -webkit-transition: opacity .5s linear;
        -moz-transition: opacity .5s linear;
        -ms-transition: opacity .5s linear;
        -o-transition: opacity .5s linear;
        transition: opacity .5s linear;
    }

    .modal-backdrop.in {
        filter: alpha(opacity=50);
        opacity: .5;
    }

.modal-header {
    min-height: 16.42857143px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

    .modal-header .close {
        margin-top: -2px;
    }

.modal-title {
    margin: 0;
    line-height: 1.42857143;
}

.modal-body {
    position: relative;
    padding: 15px;
}

.modal-footer {
    padding-top: .8rem;
    padding-right: .8rem;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

    .modal-footer .btn + .btn {
        margin-bottom: 0;
        margin-left: 5px;
    }

    .modal-footer .btn-group .btn + .btn {
        margin-left: -1px;
    }

    .modal-footer .btn-block + .btn-block {
        margin-left: 0;
    }

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }

    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }

    .modal-sm {
        width: 300px;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        width: 900px;
    }
}
/* ---------------Input--------------- */
input[type="text"].hasDatepicker {
    background-image: url('../images/calendar-date.svg');
    background-repeat: no-repeat;
    background-position: 98% 50%;
}

fieldset {
    border: 1px solid #DDDDDD !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
}

    fieldset legend {
        font-weight: bold;
        margin: 0;
        margin-left: -0.1875rem;
        padding: 0 0.1875rem;
    }

/* ---------------Errors-------------- */
hr + div.validation-summary-errors {
    margin-top: -1.5rem;
}

input + div.validation-summary-errors {
    margin-top: -1rem;
}

.validation-summary-errors {
    display: block;
    font-style: italic;
    font-weight: normal;
    font-size: 0.75rem;
    color: #ff0000 !important;
    margin-bottom: 1rem;
    height: 1rem;
}

    .validation-summary-errors ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

.field-validation-error, .field-validation-error span, span.field-validation-error {
    display: block;
    font-size: 0.75rem;
    font-style: italic;
    font-weight: normal;
    margin-bottom: .456rem;
    margin-top: -1px;
    color: #ff0000 !important;
    margin-top: -1rem;
}

.input-validation-error {
    border-color: #ddc6c6 !important;
    box-shadow: inset 0 1px 2px rgba(255, 0, 0, 0.1) !important;
}

/* --------------- Matraqueros -------------- */

.progress_bars {
    width: 100%;
    overflow: hidden;
}

    .progress_bars ol {
        list-style-type: none;
        counter-reset: li;
        margin-left: 1rem;
        padding-left: 1rem;
        font-size: inherit;
    }

        .progress_bars ol li {
            margin: 0;
            padding: 0;
            list-style: none;
            position: relative;
            display: block;
            padding: .1em .1em .1em .2em;
            *padding: .1em;
            text-decoration: none;
            transition: all .3s ease-out;
            margin-right: 1rem;
            margin-bottom: .8rem;
        }

            .progress_bars ol li:before {
                content: counter(li)". ";
                counter-increment: li;
                position: absolute;
                left: -2em;
                font-size: .85rem;
                color: #1C799F !important;
                width: 2em;
                text-align: left;
                color: #23385b;
                font-weight: bold;
                line-height: 1rem;
            }

    .progress_bars .progress_title h3 {
        margin: 0px;
        line-height: 1rem;
    }

    .progress_bars .progress_title h3, .progress_bars .progress_title span {
        font-size: .85rem;
    }

    .progress_bars .progress_content_outer {
        width: 100%;
        height: 2em;
        position: relative;
        background-color: rgb(241, 241, 241);
    }

    .progress_bars .progress_content {
        height: 2em;
        padding: .1em .3em;
        overflow: hidden;
        position: absolute;
        color: white;
        font-size: .8rem;
        background: url('../images/bg_bars.png') rgba(81, 198, 35, 1);
    }

    .progress_bars .progress_number {
        font-weight: bold;
        color: white;
    }

    .progress_bars li:nth-child(n+1):nth-child(-n+5) .progress_content {
        height: 2em;
        padding: .1em .3em;
        overflow: hidden;
        position: absolute;
        color: white;
        background: url('../images/bg_bars.png') rgba(81, 198, 35, 1);
    }

    .progress_bars li:nth-child(n+6) .progress_content {
        height: 2em;
        padding: .1em .3em;
        overflow: hidden;
        position: absolute;
        color: white;
        background: url('../images/bg_bars.png') #327e14;
    }


/* Large Displays */
@media only screen and (min-width: 20.063em) and (max-width: 120em) {
    .row {
        max-width: 80em !important;
    }
}

#ui-datepicker-div{
    z-index:9999!important;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }


.fa-spin, .ffab.spin::before {
  -webkit-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear; }

.fa-pulse, .ffab.pulse::before {
  -webkit-animation: fa-spin 1s infinite steps(8);
  animation: fa-spin 1s infinite steps(8); }

@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg); } }

@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg); } }


.ffab.after {
  padding-right: 3.6375rem; }
  .ffab.after:before {
    right: 1em; }
  .ffab.after:after {
    right: -15px;
    -webkit-transform: skewX(-15deg);
        -ms-transform: skewX(-15deg);
            transform: skewX(-15deg);
    -webkit-transform-origin: right;
        -ms-transform-origin: right;
            transform-origin: right; }

.ffab.before {
  padding-left: 3.6375rem; }
  .ffab.before:before {
    left: 1em; }
  .ffab.before:after {
    left: -15px;
    -webkit-transform: skewX(15deg);
        -ms-transform: skewX(15deg);
            transform: skewX(15deg);
    -webkit-transform-origin: left;
        -ms-transform-origin: left;
            transform-origin: left; }

.ffab:not(.before):not(.after) {
  padding-right: 3.6375rem; }
  .ffab:not(.before):not(.after):before {
    right: 1em; }
  .ffab:not(.before):not(.after):after {
    right: -15px;
    -webkit-transform: skewX(-15deg);
        -ms-transform: skewX(-15deg);
            transform: skewX(-15deg);
    -webkit-transform-origin: right;
        -ms-transform-origin: right;
            transform-origin: right; }

.ffab {
  overflow: hidden;
  position: relative; }
  .ffab::before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    position: absolute;
    transition: all 0.3s;
    z-index: 2; }
  .ffab::after {
    background-color: rgba(255, 255, 255, 0.1);
    border: 0 solid currentColor;
    content: '';
    height: 110%;
    position: absolute;
    top: -5%;
    transition: all 0.3s;
    width: 3.6375rem;
    z-index: 1; }

  /*Inicia clases para loader*/
  .bn-modal-inner{
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1000;
    height: 400px;
    margin-top: -200px;
    display: flex; 
    justify-content: center;
    width: 600px;
    margin-left: -300px;
}

  .center-div {
  display: flex;
  justify-content: center;
  align-items: center;
}
  /*Finaliza clases para loader*/
