﻿html {
    background-color: #e2e2e2;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    border-top: solid 10px #000;
    color: #333;
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
}

a {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
}


.site-map a:link, .site-map a:visited,
.site-map a:active, .site-map a:hover {
    color: white;
}

header, footer, hgroup,
nav, section {
    display: block;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.hidden {
    visibility: hidden;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

.disabled {
    color: #999;
}

.no-padding{
    padding: 0;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auto-width {
    width: 1%;
    white-space: nowrap;
}
/* main layout
----------------------------------------------------------*/
.modal-content {
    width: 100% !important;
    max-width: 700px !important;
    margin: 30px auto !important;
    overflow: auto;
}

html, body, .content {
    height: 100%;
    overflow: auto;
}

.main-footer {
    height: 40px;
    bottom: 0;
    width: 100%;
    position: fixed;
}

.content-wrapper {
    margin: 0 auto;
}

.container-fluid {
    padding: 0;
}

#body {
    clear: both;
    height: calc(100% - 110px);
    overflow: hidden;
    padding: 0px;
}

.main-content {
    background: url("../Images/accent.png") no-repeat;
    padding-left: 10px;
    padding-top: 30px;
}

.featured + .main-content {
    background: url("../Images/heroAccent.png") no-repeat;
}

footer {
    clear: both;
    background-color: white;
    font-size: .8em;
    height: 40px;
    width: 100%;
    padding: 10px;
    padding-bottom: 0px;
}

.row {
    margin: 10px 0px;
}

.card-title {
    font-size: x-large;
    margin: 0;
}

/* Side Bar */

#wrapper {
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
    -webkit-transition: height .25s ease-out;
    -moz-transition: height .25s ease-out;
    -o-transition: height .25s ease-out;
    transition: height .25s ease-out;
    background: #ecf0f5;
}

#sidebar-wrapper-left {
    margin-left: calc(-250px + 5px);
    width: 250px;
    min-width: 250px;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
    background: white;
}

#sidebar-wrapper-right {
    margin-right: calc(-250px + 5px);
    width: 250px;
    min-width: 250px;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
    background: white;
}

.sidebar-wrapper-container {
    width: 250px;
    overflow: auto;
}

#bottombar-wrapper {
    overflow: overlay;
    background: white;
    height: 170px;
}

#page-content-wrapper, .container-fluid {
    width: 100%;
    height: 100%;
}

#wrapper.toggled-left #sidebar-wrapper-left {
    margin-left: 0px;
}

#wrapper.toggled-right #sidebar-wrapper-right {
    margin-right: 0px;
}

#wrapper.toggled-bottom {
    height: calc(100% - 170px);
}

.wrapper-bar {
    cursor: pointer;
    position: relative;
    top: 40%;
    height: 60px;
    width: 15px;
    background-color: gray;
    border-color: gray;
    border-radius: .2rem;
}

    .wrapper-bar:hover {
        background-color: dimgrey;
        border-color: dimgrey;
    }

.wrapper-bar-icon {
    color: white;
    padding-top: 16px;
    text-align: center;
    font-size: large;
}

.wrapper-btn {
    width: 15px;
    padding: 0px;
    margin: 0px;
    height: 100%;
}

.wrapper-bottom-bar {
    cursor: pointer;
    position: fixed;
    height: 15px;
    width: 100px;
    background-color: gray;
    border-color: gray;
    border-radius: .2rem;
}

.wrapper-bottom-bar-icon {
    height: 15px;
    text-align: center;
    font-size: large;
    color: white;
}

.wrapper-bottom-bar:hover {
    background-color: dimgrey;
    border-color: dimgrey;
}

.wrapper-bottom-btn {
    height: 15px;
    width: 100px;
    padding: 0px;
    position: fixed;
    margin-top: -15px;
    left: calc(50% - 50px);
}

.sidebar-container {
    max-width: 250px;
    padding: 5px;
}

.bottombar-container {
    max-height: 170px;
    padding: 5px;
}

/* Controles del Sidebar*/

.sidebar-wrapper-container .bootstrap-select .dropdown {
    width: 100%;
}

.sidebar-wrapper-container .bootstrap-select .dropdown-item {
    padding: .15rem .6rem;
    display: flex;
}

.sidebar-wrapper-container .dropdown-menu span.check-mark {
    top: 3px !important;
    right: 30px !important;
}

.sidebar-wrapper-container .bootstrap-select .dropdown-item .text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

.sidebar-wrapper-container .bootstrap-select .dropdown-menu,
.sidebar-wrapper-container .bootstrap-select .dropdown-item,
.sidebar-wrapper-container .bootstrap-select .filter-option,
.sidebar-wrapper-container .input-group .form-control {
    font-size: 12px;
}

.sidebar-wrapper-container .bootstrap-select .dropdown-menu {
    min-width: 220px !important;
    width: 220px !important;
    max-width: 220px !important;
}

    .sidebar-wrapper-container .bootstrap-select .dropdown-menu .inner {
        overflow-x: hidden;
    }

.sidebar-wrapper-container .table td,
.sidebar-wrapper-container .table th {
    width: 25px;
}

.sidebar-wrapper-container .table td {
    padding: 0px;
}

.sidebar-wrapper-container .table th {
    padding: 2px 5px;
    color: white;
}

.sidebar-wrapper-container .input-group-text {
    font-size: smaller;
}

.sidebar-wrapper-container .table .custom-switch {
    padding-left: 38px;
    position: absolute;
}

/* Mapas */
.div_mapa {
    background: url(/images/ajax-loader.gif) no-repeat center center;
    padding: 10px;
    height: 100%;
    background-color: #fff;
    border: 1px solid lightgrey;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

/* bootstrap
----------------------------------------------------------*/

.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}

.btn-group-xxs > .btn, .btn-xxs {
    padding: .2rem .2rem;
    font-size: .7rem;
    line-height: .2;
    border-radius: .1rem;
}

.vertical-input-group-first {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.vertical-input-group-middle {
    border-radius: 0;
}

.vertical-input-group-last {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.custom-switch-right {
    padding: 0px;
}

.custom-switch-right .custom-control-label-right {
    padding-right: 35px;
}

.custom-switch-right .custom-control-label-right::before {
    left: calc(11rem - 5px);
}

.custom-switch-right .custom-control-label-right::after {
    left: calc(11rem - 3px);
}

/* site title
----------------------------------------------------------*/
.site-title {
    color: #c8c8c8;
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    font-size: 2.3em;
    margin: 0;
}

    .site-title a, .site-title a:hover, .site-title a:active {
        background: none;
        color: white;
        outline: none;
        text-decoration: none;
    }


/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

    #login a {
        background-color: #d3dce0;
        margin-left: 10px;
        margin-right: 3px;
        padding: 2px 3px;
        text-decoration: none;
    }

        #login a.username {
            background: none;
            margin: 0;
            padding: 0;
            text-decoration: underline;
        }

    #login ul {
        margin: 0;
    }

    #login li {
        display: inline;
        list-style: none;
    }


/* menu
----------------------------------------------------------*/
ul#menu {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 5px;
    padding: 0;
    text-align: right;
}

    ul#menu li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

        ul#menu li a {
            background: none;
            color: #999;
            text-decoration: none;
        }

            ul#menu li a:hover {
                color: #333;
                text-decoration: none;
            }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: .8em;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .1rem;
        margin-right: .1rem;
    }

/* page elements
----------------------------------------------------------*/
/* featured */
.featured {
    background-color: #fff;
}

    .featured .content-wrapper {
        background-color: #7ac0da;
        background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
        background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        color: #3e5667;
        padding: 20px 40px 30px 40px;
    }

    .featured hgroup.title h1, .featured hgroup.title h2 {
        color: #fff;
    }

    .featured p {
        font-size: 1.1em;
    }

/* page titles */
hgroup.title {
    margin-bottom: 10px;
}

    hgroup.title h1, hgroup.title h2 {
        display: inline;
    }

    hgroup.title h2 {
        font-weight: normal;
        margin-left: 3px;
    }

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

    ol.round li {
        margin: 25px 0;
        padding-left: 45px;
    }

        ol.round li.zero {
            background: url("../Images/orderedList0.png") no-repeat;
        }

        ol.round li.one {
            background: url("../Images/orderedList1.png") no-repeat;
        }

        ol.round li.two {
            background: url("../Images/orderedList2.png") no-repeat;
        }

        ol.round li.three {
            background: url("../Images/orderedList3.png") no-repeat;
        }

        ol.round li.four {
            background: url("../Images/orderedList4.png") no-repeat;
        }

        ol.round li.five {
            background: url("../Images/orderedList5.png") no-repeat;
        }

        ol.round li.six {
            background: url("../Images/orderedList6.png") no-repeat;
        }

        ol.round li.seven {
            background: url("../Images/orderedList7.png") no-repeat;
        }

        ol.round li.eight {
            background: url("../Images/orderedList8.png") no-repeat;
        }

        ol.round li.nine {
            background: url("../Images/orderedList9.png") no-repeat;
        }

/* content */
article {
    float: left;
    width: 70%;
}

aside {
    float: right;
    width: 25%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            background: url("../Images/bullet.png") no-repeat 0 50%;
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
}

/* login page */

#loginForm .validation-error {
    display: block;
    margin-left: 15px;
}

#loginForm .validation-summary-errors ul {
    margin: 0;
    padding: 0;
}

#loginForm .validation-summary-errors li {
    display: inline;
    list-style: none;
    margin: 0;
}

#loginForm input {
    width: 250px;
}

    #loginForm input[type="checkbox"],
    #loginForm input[type="submit"],
    #loginForm input[type="button"],
    #loginForm button {
        width: auto;
    }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom: 5px;
    }

#socialLoginList button {
    margin-bottom: 12px;
}

#logoutForm {
    display: inline;
}

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

/* google maps */

.map-container img {
    vertical-align: unset;
}

.gm-style .gm-style-mtc label {
    padding-top: 8px;
}

/* modal forms */
.modal-form {
}

.modal-form-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

.modal-form-title {
    font-size: x-large;
}

.modal-form-body {
    padding: 5px;
}

.modal-form-footer {
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
}

/* forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

    fieldset legend {
        display: none;
    }

    fieldset ol {
        padding: 0;
        list-style: none;
    }

        fieldset ol li {
            padding-bottom: 5px;
        }

    fieldset li label {
        display: block;
        font-weight: 600;
        float: left;
        min-width: 200px;
        text-align: right;
        margin-right: 20px;
        font-size: 14px;
    }

        fieldset li label.checkbox {
            margin-top: 0px;
            margin-bottom: 0px;
            min-width: 160px;
            line-height: normal;
        }

    fieldset input, fieldset select, fieldset textarea {
        border: 1px solid #e2e2e2;
        background: #fff;
        color: #333;
        font-size: 1.2em;
        margin: 0;
        padding: 5px;
        min-width: 200px;
        max-width: 200px;
        font-size: 12px;
    }

    fieldset textarea {
        font-family: inherit;
        width: 500px;
    }

        fieldset input:focus, fieldset textarea:focus {
            border: 1px solid #7ac0da;
        }

    fieldset input[type="checkbox"] {
        min-width: 0px;
        margin-right: 20px;
        line-height: 40px;
    }

    fieldset input[type="submit"],
    fieldset input[type="button"] {
        background-color: #d3dce0;
        border: 1px solid #787878;
        cursor: pointer;
        font-size: 1.2em;
        font-weight: 600;
        padding: 7px;
        margin-right: 8px;
        width: auto;
    }

    fieldset td input[type="submit"],
    fieldset td input[type="button"] {
        font-size: 1em;
        padding: 4px;
        margin-right: 4px;
    }

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}


/* tables
----------------------------------------------------------*/

.card-body-table {
    padding: 10px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0.75em;
    border: 0 none;
}

    table.dataTable tbody th, table.dataTable thead th,
    table.dataTable tbody td, table.dataTable tbody td {
        padding: 5px;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
    table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
        top: unset !important;
        font-size: medium;
        font-weight: bolder;
    }

    table.dataTable thead th.sorting_asc:after,
    table.dataTable thead th.sorting_desc:after,
    table.dataTable thead th.sorting:after,
    table.dataTable thead th.sorting_asc:before,
    table.dataTable thead th.sorting_desc:before,
    table.dataTable thead th.sorting:before {
        top: 0px;
        font-size: large;
    }

    table.dataTable td.hidden, table.dataTable th.hidden {
        display: none !important;
    }

    table.dataTable td.hidden, table.dataTable th.hidden {
        display: none !important;
    }

.dataTables_info {
    float: left;
    font-size: small;
}

.dataTables_paginate {
    float: right;
    text-align: right;
    font-size: small;
}

    .dataTables_paginate .page-link {
        padding: 5px 10px;
    }

.dataTables_processing{
    z-index: 1;
}

.dataTables_wrapper {
    font-size: smaller;
}

    .dataTables_wrapper thead,
    .dataTables_wrapper input,
    .dataTables_wrapper select,
    .dataTables_wrapper textarea {
        font-size: small;
    }

    .dataTables_wrapper label {
        font-size: small;
        margin-bottom: 10px;
    }

    .dataTables_wrapper .dt-buttons {
        height: 30px;
    }

    .dataTables_wrapper .dt-buttons .btn {
        height: 30px;
    }

    .dataTables_wrapper .dataTables_length select {
        width: 60px !important;
        min-width: initial;
    }

.dataTables_scrollHeadInner {
    width: 100%;
}

.dataTables_wrapper label {
    display: block;
    float: left;
    min-width: 200px;
    text-align: right;
    margin-right: 20px;
    margin-bottom: 0px;
}

    .dataTables_wrapper label.checkbox {
        margin-top: 0px;
        margin-bottom: 0px;
    }

.table {
    width: 100%;
}

table.dataTable .filter_column {
    display: block;
}

table.dataTable.dtr-column tbody tr td.control {
    min-width: 15px;
    width: 15px;
}

    table.dataTable.dtr-column tbody tr td.control::before {
        font-size: 14px;
        font-weight: bold;
        padding: 0px;
        cursor: pointer;
    }

table.dataTable .date_range_filter {
    width: 75px !important;
    display: inline;
}

table.dataTable thead input,
table.dataTable thead input[type=text] {
    width: 100%;
    min-width: 75px;
    height: 20px;
    font-size: 10px;
}

/* alerts */

#alert-container {
    position: fixed;
    left: 5%;
    right: 5%;
    z-index: 1000;
}

/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 850px) {
    /* header
    ----------------------------------------------------------*/
    header .float-left, header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }

    /* login */
    #login {
        font-size: .85em;
        margin: 0 0 12px;
        text-align: center;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #999;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }

            #login a:hover {
                color: #333;
            }

    /* menu */
    .navbar-nav .nav-link {
        padding-left: 5px !important;
        padding-right: 0px !important;
    }

    ul#menu {
        margin: 0;
        padding: 0;
        text-align: center;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }


    /* main layout
    ----------------------------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .content-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

    /* features */
    section.feature {
        float: none;
        padding: 10px;
        width: auto;
    }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    label {
        text-align: left;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }

    /* tables*/

    .card-body-table {
        padding: 5px;
    }

    .dataTables_info {
        float: left;
        font-size: x-small;
    }

    .dataTables_paginate {
        font-size: x-small;
    }

        .dataTables_paginate .page-link {
            padding: 2px 5px;
        }

    /* footer*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        padding-top: 20px;
    }

    /* Side Bar */

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }
}
