﻿@import url('https://fonts.googleapis.com/css?family=Work+Sans:300,400,500,600,900');
/*@import url('https://fonts.googleapis.com/css?family=Work+Sans');*/

body {
    background: #444;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
}

hr {
    border-top: 1px solid #990719;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/*------------------------------------------------------------------------------*/
.image-logo {
    height: 50px;
    max-width: 100%;
    vertical-align: middle;
    border: 0;
}

.page-center {
    padding: 0;
    height: inherit;
}

.page-center {
    padding: 0;
    height: inherit;
}

@media (min-width: 1200px) {
    .page-center {
        width: 1300px;
    }
}

.page-header {
    margin: 0;
    display: block;
    padding-bottom: 30px;
}

.page-title-right .navbar-brand {
    font-size: 30px;
}

@media screen and (max-width: 1000px) {
    .page-header {
        display: none;
    }
}
/*Nav bar inverse*/
.navbar-inverse {
    background-color: #9f171a;
    border-color: #fff;
    border: 0px;
}

    .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .active > a:hover {
        color: #000000;
        background-color: #AFAFAF;
    }

    .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {
        color: #000000;
        background-color: #AFAFAF;
    }

    .navbar-inverse .navbar-nav > li > a:focus, .navbar-inverse .navbar-nav > li > a:hover {
        color: #FFFFFF;
        background-color: transparent;
    }

.navbar-nav > li > .dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background: #AFAFAF;
    color: #000000;
}

.navbar-inverse .navbar-nav > li > a {
    color: #F1E9E9;
}
/*--------------*/
/*Para los collapse*/
.panel-group .panel {
    border-radius: 0;
    box-shadow: none;
    border-color: #EEEEEE;
}

.panel-default > .panel-heading {
    padding: 0;
    border-radius: 0;
    color: #212121;
    background-color: #9f171a;
    border-color: #EEEEEE;
    color: #fff;
}

.panel-title {
    font-size: 14px;
}

    .panel-title > a {
        display: block;
        padding: 15px;
        text-decoration: none;
    }

.more-less {
    float: right;
    color: #fff;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #EEEEEE;
}
/*--------------------*/
/*Botones primarios*/
.btn-primary {
    color: #fff;
    background-color: #990719;
    border-color: #990719;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #800404;
        border-color: #800404;
    }

    .btn-primary.active, .btn-primary:active, .open > .dropdown-toggle.btn-primary {
        color: #fff;
        background-color: #800404;
        border-color: #800404;
    }

        .btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open > .dropdown-toggle.btn-primary.focus, .open > .dropdown-toggle.btn-primary:focus, .open > .dropdown-toggle.btn-primary:hover {
            color: #fff;
            background-color: #800404;
            border-color: #800404;
        }

    .btn-primary.focus, .btn-primary:focus {
        color: #fff;
        background-color: #800404;
        border-color: #800404;
    }

.btn-default {
    color: #fff;
    background-color: #474949;
    border-color: #474949;
}

    .btn-default:hover {
        color: #fff;
        background-color: #474949;
        border-color: #474949;
    }
/*--------------------*/
/*Link*/
.navbar-brand {
    float: left;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
    color: #990719;
}
/*--------------------*/

.popover-title {
    background-color: #FFC300;
}



/*PERSONALIZE*/
/*label {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: bold;
	min-height: 30px !important;
	height: auto;
	background: #E2E0E0;
}*/

.input-sm {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 0px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #e2e0e0;
}

thead > tr {
    background: #efefef;
}

tr {
    background: #AFAFAF;
}

.container-fluid-withoutpadding {
    padding-right: 0px;
    padding-left: 0px;
}

.column_action {
    background: #990719;
}

.radio-inline, .checkbox-inline {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: normal;
    vertical-align: middle;
    cursor: pointer;
    background: #fff;
}

/*partial-cabecera*/
.partial-cabecera {
    /*background-color: #fff;
	border: 1px solid #ddd;
	display: inline-table;
	margin-bottom: 5px;	*/
    border-radius: 4px 4px 4px 4px;
    display: table;
    margin-bottom: 16px;
    width: 100%;
    border-collapse: collapse;
}
/*Tab panel*/
.tab-content > .tab-pane {
    border: 1px solid #ddd;
    border-top-color: transparent;
    background: #f9f9f9;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    background: #f9f9f9;
}

.nav-tabs > li > a {
    font-weight: bold;
    color: #555;
}

.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
    border-color: #9f171a;
}

.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
    border-bottom-width: 1px;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid #f2f2f2;
}

.td-action {
    background: #990719;
}

/*Legend punteado*/
legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 0.5px solid #333;
    border-style: dotted;
}

/*cabecera modal*/
/*.modal-header {
	color: #fff;
	background-color: #990719;
	border-color: #990719;
	border-radius: 5px 5px 0px 0px;
}*/
.modal-header {
    padding: 15px;
    border-bottom: 1px solid #333;
    border-bottom-style: dotted;
}

    .modal-header h4 {
        font-weight: bold;
    }

.modal-content {
    background: #f9f9f9;
}

.modal-title {
    text-align: right;
    color: #600411;
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 900;
}
/*--------------------------------------*/
/*Paginación*/
.pagination li > a {
    position: relative;
    float: left;
    padding: 1px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #101110;
    text-decoration: none;
    background-color: #f9f9f900;
    border: 1px solid #f9f9f900;
}
/*Botones de finalización*/
.pager.final li > a, .pager.final li > span {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #fff;
    background-color: #AB1A26;
    border-color: #AB1A26;
}

    .pager.final li > a:hover, .pager li > a:focus {
        text-decoration: none;
        color: #fff;
        background-color: #800404;
        border-color: #800404;
    }
/*------------------*/

/*BEGIN => Custom Validation Engine*/

.formErrorContent {
    min-width: 200px !important;
    background: #D37B03 !important;
}

.formErrorArrow div {
    background: #D37B03 !important;
}

/*END => Custom Validation Engine*/

.title {
    text-align: right;
    color: #600411;
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 900;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus, .nav-tabs > li > a {
    color: #666666;
    font-weight: 600;
}

label {
    font-weight: 600;
}

th, b, strong {
    font-weight: 600;
}

legend {
    font-size: 20px;
    font-weight: 500;
}

.partial-cabecera > div {
    display: table-row;
}

    .partial-cabecera > div:first-child > div {
        display: table-cell;
    }

        .partial-cabecera > div:first-child > div > span {
            border: 1px solid #9f171a;
            background-color: #9f171a;
            padding: 4px 10px;
            display: inline-block;
            color: #FFFFFF;
            font-weight: 400;
            border-top-right-radius: 6px;
        }

    .partial-cabecera > div:last-child > div {
        display: table-cell;
        border: 1px solid #9f171a;
        padding: 2px 10px;
        color: #666666;
    }

/*BEGIN => app-file-inline*/

.file-input-wrapper {
    /*overflow: hidden;*/
    position: relative;
}

.file-input-wrapper > input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    height: 100%;
    z-index: 3;
}

.file-input-wrapper > .btn-file-input {
    display: inline-block;
}

.file-input-wrapper .popover-title {
    background-color: #990719 !important;
    color: #ffffff !important;
    padding-right: 5px;
    padding-left: 13px;
}

.file-input-wrapper .popover {
    width: 650px!important;
}

.no-side-paddings {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.popover-header-button {
    float: right;
    padding-bottom: 0px;
    padding-top: 0px;
    padding-right: 5px;
    padding-left: 5px;
}


/*END => app-file-inline*/

.custom-notif {
    top: 5% !important;
    left: 5% !important;
    width: 90% !important;
}

.color_history {
    color: #908d06;
}

.popover.top {
    width: 100%;
}

.popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    max-width: none !important;
    padding: 1px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    word-wrap: normal;
    white-space: normal;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    line-break: auto;
}

.popover-title {
    background-color: #908d06;
    color: #ffffff;
}


/* CSS used here will be applied after bootstrap.css */

.modal-body {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}


/*SIDEBAR*/
#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

    #wrapper.toggled {
        padding-left: 220px;
    }

#sidebar-wrapper {
    /*margin-top: 50px;*/
    z-index: 1000;
    left: 220px;
    width: 0;
    height: 100%;
    margin-left: -220px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #222222;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

    #sidebar-wrapper::-webkit-scrollbar {
        display: none;
    }

#wrapper.toggled #sidebar-wrapper {
    width: 350px;
}

#page-content-wrapper {
    width: 100%;
    padding-top: 70px;
    background: grey;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -220px;
}

/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 350px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .sidebar-nav li {
        position: relative;
        line-height: 20px;
        display: inline-block;
        width: 100%;
    }

        .sidebar-nav li:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            height: 100%;
            width: 3px;
            background-color: #1c1c1c;
            -webkit-transition: width .2s ease-in;
            -moz-transition: width .2s ease-in;
            -ms-transition: width .2s ease-in;
            transition: width .2s ease-in;
        }

        .sidebar-nav li:first-child a {
            color: #fff;
            background-color: #222222;
        }

        /*.sidebar-nav li:nth-child(2):before {
            background-color: #ec1b5a;
        }

        .sidebar-nav li:nth-child(3):before {
            background-color: #79aefe;
        }

        .sidebar-nav li:nth-child(4):before {
            background-color: #314190;
        }

        .sidebar-nav li:nth-child(5):before {
            background-color: #279636;
        }

        .sidebar-nav li:nth-child(6):before {
            background-color: #7d5d81;
        }

        .sidebar-nav li:nth-child(7):before {
            background-color: #ead24c;
        }

        .sidebar-nav li:nth-child(8):before {
            background-color: #2d2366;
        }

        .sidebar-nav li:nth-child(9):before {
            background-color: #35acdf;
        }*/

        .sidebar-nav li:hover:before,
        .sidebar-nav li.open:hover:before {
            width: 100%;
            -webkit-transition: width .2s ease-in;
            -moz-transition: width .2s ease-in;
            -ms-transition: width .2s ease-in;
            transition: width .2s ease-in;
        }

        .sidebar-nav li a {
            display: block;
            color: #ddd;
            text-decoration: none;
            padding: 10px 15px 10px 30px;
        }

            .sidebar-nav li a:hover,
            .sidebar-nav li a:active,
            .sidebar-nav li a:focus,
            .sidebar-nav li.open a:hover,
            .sidebar-nav li.open a:active,
            .sidebar-nav li.open a:focus {
                color: #fff;
                text-decoration: none;
                background-color: transparent;
            }

    .sidebar-nav > .sidebar-brand {
        height: 65px;
        font-size: 20px;
        line-height: 44px;
    }

    .sidebar-nav .dropdown-menu {
        position: relative;
        width: 100%;
        padding: 0;
        margin: 0;
        border-radius: 0;
        border: none;
        background-color: #222;
        box-shadow: none;
    }

/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/


/*-------------------------------*/
/*            Overlay            */
/*-------------------------------*/

.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(250,250,250,.8);
    z-index: 1;
}

.granateSelected {
    background: #6f0301;
}

.textLayer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 1;
    line-height: 1.0;
}

    .textLayer > .folio {
        white-space: normal !important;
    }
/*FIN SIDEBAR*/