.bgblue {
    background-color: #005aaa !important;
}

.bgblack {
    background-color: #222 !important;
}

.bgred {
    background-color: #f42e2e !important;
}

.fontwhite {
    color: white !important;
}

.fontblue {
    color: #005aaa !important;
}

.fontred {
    color: #f42e2e !important;
}

.divider {
    display: block; 
    height: 2px;
    margin: 10px;
    width: 90%;
    overflow: hidden;
    background-color: #5c86d0;
}

.is-invalid {
    border: 2px solid #e81e26;
}

.inline-block {
    display: inline-block;
}

.alinearDerecha {
    text-align: right;
}

@media screen and (min-width: 992px) {
    .vertical-divider {
        border-right: 2px solid #5c86d0;
    }
}
@media screen and (max-width: 991px) {
    .vertical-divider {
        padding-bottom: 10px;
        border-bottom: 2px solid #5c86d0;
    }

    .margenArriba {
        margin-top: 15px;
    }
}

.btn-blue {
    background-color: #005aaa !important;
    color: whitesmoke !important;
    transition: all 0.3s;
}

.btn-blue:hover {
    background-color: #afd9ee !important;
    color: #005aaa !important;
}

.btn-logout {
    border-radius: 4px;
    padding: 6px 12px;
}

.btn-logout:hover {
    background-color: grey;
}

.modal .bgblue {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.modal .bgred {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#modalPlacas textarea {
    resize: vertical;
}

.hiddenElement {
    display: none;
}

.hr {
    display: block;
    height: 0px;
    border: 1px dotted #afd9ee;
    border-radius: 2px;
}


/*
ESTILOS GENERALES
*/

body {
    background-color: whitesmoke;
    font-family: Open Sans, sans-serif;
}

a:hover, a:active, a:visited, a:link, a:focus {
    text-decoration: none;
}

.modal { 
    overflow: auto !important; 
}



/*
PANEL ADMIN
*/
#navbar {
    height: 10vh;
    background-color: #222;
    margin-bottom: 0px;
    border: 0px;
    border-radius: 0px;
}

#navbar a, #navbar a:link, #navbar a:hover,
#navbar a:visited, #navbar a:focus, #navbar a:active, 
#navbar span.navbar-text {
    color: whitesmoke;
}

#navbar .navbar-brand {
    display: block;
    align-content: center;
    height: 100%;
    padding: 10px 0px 10px 20px;
}

#navbar .navbar-brand > img{
    display: block;
    height: 100%;
    width: auto;
    background-color: whitesmoke;
    border-radius: 10px;
}



.wrapper {
    display: flex;
    align-items: stretch;
}


#sidebar {
    min-width: 17vw;
    max-width: 17vw;
    min-height: 90vh;
    font-size: 18px;
}


#sidebar ul.elementos {
    padding: 20px 0px;
}

#sidebar ul .sidebarOption{
    transition: all 0.3s;
}

#sidebar ul .sidebarOption:hover {
    background: #afd9ee;
}

#sidebar ul .sidebarOption.active {
    background: whitesmoke;
}

#sidebar ul .sidebarOption a {
    color: whitesmoke;
}

#sidebar ul .sidebarOption:hover a {
    color: #005aaa;
}

#sidebar ul .sidebarOption.active a {
    color: #005aaa;
}

#sidebar ul .sidebarOption a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

.sidebar_dropdownContent {
    position: relative;
    left: 17vw;
    top: -130px;
    background: #005aaa !important;
    border-radius: 0px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.sidebar_dropdownContent li a {
    color: whitesmoke !important;
}

.sidebar_dropdownContent > li:hover > a {
    color: #005aaa !important;
    background-color: whitesmoke !important;
}

.dropdown:hover .menu-desplegable {
    display:block;
}

.menu-desplegable {
    width: fit-content;
    left: 155px;
    top: -70px;
    background-color: #afd9ee !important;
    color: #005aaa !important;
    border-radius: 6px;
}

.menu-desplegable li a{
    background-color: #afd9ee !important;
    color: #005aaa !important;
}

.menu-desplegable li:hover a{
    background-color: whitesmoke !important;
    color: #005aaa !important;
}

#divContenido {
    width: 83vw;
    overflow: auto;
}

#contenidoDinamico {
    padding-top: 20px;
}

#contenidoDinamico table {
    font-size: 12px;
    margin-top: 20px;
}

#contenidoDinamico table .btn{
    font-size: 12px;
}

.botonesSuperiores div,
.botonesSuperiores form {
    margin-bottom: 10px!important;
}

#tabla td {
    max-width: 270px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-header .close span {
    color: white !important;
}





/*
DATOS PRESUPUESTO
*/

#containerProyecto {
    margin: 40px 10px 0px 10px;
}

#datosCabeceraProyecto h3 {
    margin-top: 0px;
}

#tablaProyecto {
    margin-top: 15px;
    font-size: 11px;
    border-collapse: collapse;
    border-radius: 5px;
    overflow: hidden;
}

#tablaProyecto thead {
    font-weight: bold;
}

#tablaProyecto thead td {
    background: #005aaa !important;
}

#tablaProyecto thead td.noModificable {
    background: #222 !important;
}

#tablaProyecto tbody {
    background: white;
}

#tablaProyecto td {
    vertical-align: middle;
}

#tablaProyecto #tipoestancia {
    width: 7em;
}

#tablaProyecto #descripcion {
    width: 9em;
}

#tablaProyecto #aislamiento {
    width: 7em;
}

#tablaProyecto #pavimento {
    width: 6em;
}

#tablaProyecto #distanciatubos {
    width: 4em;
}

#tablaProyectoTotales {
    width: auto;
    margin:auto;
    align-content: center;
    margin-top: 15px;
    font-size: 11px;
    border-collapse: collapse;
    border-radius: 5px;
    overflow: hidden;
}

#tablaProyectoTotales thead {
    font-weight: bold;
}

#tablaProyectoTotales thead td {
    background: #222 !important;
    padding: 5px;
}

#tablaProyectoTotales tbody {
    background: white;
}

#tablaProyectoTotales td {
    vertical-align: middle;
}

.input-6 {
    width: 4.3em;
}

.input-3 {
    width: 3em;
}

.btn-tablaProyecto {
    display: block;
    width: auto;
    margin: 20px auto;
}



/*
SELECCION DE PRODUCTOS
*/

#imgSuperiorSeleccion {
    margin: 20px 0px;
}

.seleccionProductos img {
    display: block;
    border-radius: 10px;
    margin: 10px 0px;
}

.seleccionProductos h3 {
    font-weight: bold;
    color: #005aaa !important;
}

.imgProductosHorizontal {
    max-width: 200px;
    max-height: 100px;
}

.imgProductosCuadrada {
    max-width: 100px;
    max-height: 100px;
}

.bloqueSeleccion {
    margin-top: 30px;
}

.productoSeleccionado {
    background-color: #afd9ee !important;
}


/*
PRESUPUESTO PDF
*/
.separador {
    height: 2px;
    width: 95%;
    display: block;
    margin: 0 auto;
    background-color: #888;
    opacity: 0.5;
}

.tablaPresupuesto {
    margin-top: 15px;
    font-size: 11px;
    border-collapse: collapse;
    border-radius: 5px; 
}

.tablaPresupuesto .datosCliente td{
    border: none !important;
}

.alinearDerecha {
    text-align: end;
}

.tablaPresupuesto .cabecera {
    font-weight: bold;
    color: whitesmoke;
    background: #005aaa !important;
}