/* Sticky footer styles
      -------------------------------------------------- */

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
    /*
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    /*margin: 0 auto -60px;
    */

}

/* Set the fixed height of the footer here */
#push,
#footer {
    height: 60px;

}
#footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ccc;
}

/* Lastly, apply responsive CSS fixes as necessary
@media (max-width: 767px) {
    #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}*/

.customreadonly{background-color: #eee; cursor: not-allowed;}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

#wrap > .container {
    padding-top: 60px;
}
.container .credit {
    margin: 20px 0;
}


body{
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 12px;

}

#main-menu {
    position:relative;
    z-index:9999;
    width:auto;
}
#main-menu ul {
    width:12em; /* fixed width only please - you can use the "subMenusMinWidth"/"subMenusMaxWidth" script options to override this if you like */
}

.loadinggif {
    background:url('../img/ajax-loader.gif') no-repeat right center;
}

.loadinggifl {
    background:url('../img/ajax-loader.gif') no-repeat left center;
}

@font-face {
    font-family: 'ubuntubold';
    src: url('../fonts/ubuntu-bold-webfont.eot');
    src: url('../fonts/ubuntu-bold-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu-bold-webfont.woff2') format('woff2'),
        url('../fonts/ubuntu-bold-webfont.woff') format('woff'),
        url('../fonts/ubuntu-bold-webfont.ttf') format('truetype'),
        url('../fonts/ubuntu-bold-webfont.svg#ubuntubold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntubold_italic';
    src: url('../fonts/ubuntu-bolditalic-webfont.eot');
    src: url('../fonts/ubuntu-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu-bolditalic-webfont.woff2') format('woff2'),
        url('../fonts/ubuntu-bolditalic-webfont.woff') format('woff'),
        url('../fonts/ubuntu-bolditalic-webfont.ttf') format('truetype'),
        url('../fonts/ubuntu-bolditalic-webfont.svg#ubuntubold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntulight_italic';
    src: url('../fonts/ubuntu-lightitalic-webfont.eot');
    src: url('../fonts/ubuntu-lightitalic-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu-lightitalic-webfont.woff2') format('woff2'),
        url('../fonts/ubuntu-lightitalic-webfont.woff') format('woff'),
        url('../fonts/ubuntu-lightitalic-webfont.ttf') format('truetype'),
        url('../fonts/ubuntu-lightitalic-webfont.svg#ubuntulight_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntumedium_italic';
    src: url('../fonts/ubuntu-mediumitalic-webfont.eot');
    src: url('../fonts/ubuntu-mediumitalic-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu-mediumitalic-webfont.woff2') format('woff2'),
        url('../fonts/ubuntu-mediumitalic-webfont.woff') format('woff'),
        url('../fonts/ubuntu-mediumitalic-webfont.ttf') format('truetype'),
        url('../fonts/ubuntu-mediumitalic-webfont.svg#ubuntumedium_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntuitalic';
    src: url('../fonts/ubuntu-italic-webfont.eot');
    src: url('../fonts/ubuntu-italic-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu-italic-webfont.woff2') format('woff2'),
        url('../fonts/ubuntu-italic-webfont.woff') format('woff'),
        url('../fonts/ubuntu-italic-webfont.ttf') format('truetype'),
        url('../fonts/ubuntu-italic-webfont.svg#ubuntuitalic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntumedium';
    src: url('../fonts/ubuntu-medium-webfont.eot');
    src: url('../fonts/ubuntu-medium-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu-medium-webfont.woff2') format('woff2'),
        url('../fonts/ubuntu-medium-webfont.woff') format('woff'),
        url('../fonts/ubuntu-medium-webfont.ttf') format('truetype'),
        url('../fonts/ubuntu-medium-webfont.svg#ubuntumedium') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubunturegular';
    src: url('../fonts/ubuntu-regular-webfont.eot');
    src: url('../fonts/ubuntu-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu-regular-webfont.woff2') format('woff2'),
        url('../fonts/ubuntu-regular-webfont.woff') format('woff'),
        url('../fonts/ubuntu-regular-webfont.ttf') format('truetype'),
        url('../fonts/ubuntu-regular-webfont.svg#ubunturegular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ubuntulight';
    src: url('../fonts/ubuntu-light-webfont.eot');
    src: url('../fonts/ubuntu-light-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu-light-webfont.woff2') format('woff2'),
        url('../fonts/ubuntu-light-webfont.woff') format('woff'),
        url('../fonts/ubuntu-light-webfont.ttf') format('truetype'),
        url('../fonts/ubuntu-light-webfont.svg#ubuntulight') format('svg');
    font-weight: normal;
    font-style: normal;

}

.error {
    color:#FF0000;
}



.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}



#map_canvas{
    width: 100% !important;
    height: 100% !important;
    position: absolute; top: 50px; right: 0; bottom: 0; left: 0;
}

.navbar-default{
    background-color: #A20B0B !important;
}

.navbar-default .navbar-nav > li > a{
    color: #fff !important;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus{
    background-color: #BA0C0C !important;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus{
    background-color: #BA0C0C !important;
}

.dropdown-menu > li > a{
    font-size: 11px;
}


/* Rutas */

#map{
    width: 100%;
    height: 100%;
    margin-top: 50px;
}



#panel{
    position: absolute;
    top:100px;
    left:-270px;
    z-index: 200;
    background-color: white;
    border-radius: 2px;
    border:1px solid #ccc;
    width: 270px;
    height:80%
}


#panel .expand{
    position: absolute;
    right: -30px;
    width: 30px;
    background: #A20B0B;
    border: 1px solid #ccc;
    top: -1px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.flipped{

    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";

}

.spinner{
    background-image: url('../img/loading-spinner.gif');
    background-repeat: no-repeat;
    height: 32px;
    width: 32px;
    display: inline-block;
    vertical-align: middle;
}



#panel .filters{
    overflow-y: auto;
    height: 100%;
}



#panel .filters.active{

}

#panel .filters .route select{
    display: block;
    width: 100%;
    height: 40px;
    padding-left: 10px;
    margin-top: 10px;
}

#panel .filters .route{
    padding: 20px;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
}

#panel .filters .filter-title{
    border-bottom: 1px solid #ccc;
    padding: 20px;
    min-width: 250px;
    font-size: 16px;
    text-align: left;
}

#panel .filters .filter-list{
    display: none;
    padding: 20px;
}

.m10{
    margin: 0px 10px;
}


/* INI NO MORE TABLES*/
@media only screen and (max-width: 800px) {

    /* Force table to not be like tables anymore */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #no-more-tables tr { border: 1px solid #ccc; }

    #no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align:left;
    }

    #no-more-tables td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }

    /*
    Label the data
    */
    #no-more-tables td:before { content: attr(data-title); }
}

.table p{
    display: inline-block;
}

.table .card-view{
    border-bottom: 1px dotted #ccc;
    line-height: 25px;
}

.table .card-view:last-child{
    border-bottom: 1px solid #ccc;
}

.table .card-view .value{
    float: right;
}

.visible-breakpoint{
    display: none;
}

/* Boostrap menu breakpoint */
@media (max-width: 905px) {

    .navbar .container{
        width: 100%;
    }

    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #navbar{
        z-index: 2000;
        width: 100%;
        background:  #BA0C0C;
        position: absolute;
        margin: 0px;
        transition: all 0.2s ease;
        height: 0px;
        overflow: hidden;
    }

    #navbar h2{
        font-size: 16px;
        border-bottom: 1px solid white;
        padding-bottom: 10px;
        text-align: center;
        color: white;
        margin-bottom: 0px;
    }

    #navbar ul{
        padding-left: 15px;
        margin-top:0px;
        margin-bottom: 0px;
    }

    #navbar .navbar-nav li{
        border-bottom: 1px solid white;
    }

    #navbar .navbar-default{
        background-color: transparent!important;
    }

    #navbar .navbar-default, #navbar .navbar-default li{
        border-bottom: 0px;

    }

    .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus{
        background-color: #A20B0B;
    }

    #navbar .menu-secundario,
    #navbar .menu-terceario{
        position: absolute;
        top: 0px;
        z-index: 2001;
        background:  #BA0C0C;
        right: 100%;

        width: 100%;
    }

    #navbar .caret{
        border-top: 5px solid transparent;
        border-right: 5px solid transparent;
        border-left: 5px dashed;
        border-bottom: 5px solid transparent;
        position: relative;
        float: right;
        margin: 3px 5px 0px 0px;
    }

    #navbar .menu-secundario ul{
        width: 100%;
        display: block;
        top: auto;
        padding-left: 0px;
        background-color: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
        border: none;
        color: white;
        right: 0px;
        display: none;
    }


    #navbar .back{
        position: absolute;
        bottom: 20px;
        left: 20px;
        font-size: 14px;
        color: white;
    }

    #navbar .back i{
        font-size: 12px;
        margin-right: 5px;
    }

    .dropdown-menu > li > a{
        color: white;
        font-size: 12px;
    }

    #navbar .menu-secundario.active,
    #navbar .menu-terceario.active{

    }

    .navbar-fixed-top{
        margin:0px;
    }

    .navbar-toggle{
        margin-right: 15px;
    }

    .navbar-default .navbar-toggle .icon-bar{
        background-color: white;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a{
        color:white !important;
    }

    .navbar-default .container{
        padding:0px;
    }

    .visible-breakpoint{
        display: block;
    }

}

@media only screen and (max-width: 992px) and (min-width: 980px){
    .nav > li > a{
        padding: 14px 8px;
    }
}


@media (min-width: 768px){
    .navbar-right{
        margin-right: 0px;
    }

}


@media (max-width: 980px){
    #map{
        margin-top: 0px;
    }

    .navbar-fixed-top{
        margin-bottom: 0px;
    }

    .btn-container{
        margin: 20px 0px;
    }
}

@media (max-width: 995px) and (min-width: 905px){
    .navbar .container{
        width: 100%;
    }
}

@media (max-width: 768px){

    #panel .expand{
        width: 50px;
        height: 70px;
        right: -50px;
        line-height: 70px;
    }

    #panel .filters .filter-list{
        max-height: 200px;
        overflow: auto;
    }

    .btn-container .btn{
        display: block;
        width: 80%;
        margin: 0 auto;
    }

    .fixed-table-toolbar{
        text-align: right;
    }


    .fixed-table-toolbar .search{
        display: block;
        padding: 0px 30px;
        margin: 15px auto;
        float: initial!important;
    }

    .fixed-table-toolbar .columns{
        margin-right: 30px;
        z-index: 200;
    }

}

.spacer {
    height: 20px;
}

.disabled{
    pointer-events:none;
    opacity:0.4;
}

#progress {
    height: 18px;
}

#progress .ui-progressbar {
    position: relative;
}

#progress .ui-progressbar-value {
    margin-top: -20px;
}

#progress span.caption {
    display: block;
    text-align: center;
    position: absolute;
    width: 100%;
}

.modal-body.load-hdm-files-body .file-input-label input {
    display:none;
}

.modal-body.load-hdm-files-body .file-input-label {
    height: 38px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
}

.modal-body.load-hdm-files-body .file-input-label:hover {
    background-color: lightgray;
}

.modal-body.load-hdm-files-body hr {
    margin-top:0px;
    margin-bottom: 0px;
}

.modal-body.load-hdm-files-body .file-input-label .dynamic {
    display: inline-block;
    float: right;
}
.modal-body.load-hdm-files-body .file-input-label .dynamic div {
    display: inline-block;
    padding-left: 5px;
}
.modal-body.load-hdm-files-body {
    padding: 0px 15px;
}
