﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 100px;
    padding-bottom: 20px;
    background-color: #f1f1f1;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}


/* --- MODIFICACIONES BOOTSTRAP --- */
/* -------------------------------- */
th {
    text-align: center !important;
    border-right: solid 1px #7c7c7c;
}

img {
    vertical-align: top !important;
}
.navbar {
    min-height: 100px !important;
}
.navbar-collapse {
    border-top: 10px solid transparent !important;
}
.navbar-inverse{
    border-color: transparent !important;
}


/* --- W3 --- */
/* ---------- */
.w3-container:after, .w3-panel:after, .w3-row:after, .w3-row-padding:after, .w3-topnav:after, .w3-clear:after, .w3-btn-group:before, .w3-btn-group:after, .w3-btn-bar:before, .w3-btn-bar:after {
    content: "";
    display: table;
    clear: both;
}
.w3-panel {
    padding: 0.01em 16px;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}
.w3-green, .w3-hover-green:hover {
    color: #fff !important;
    background-color: #4CAF50 !important;
}
.w3-orange, .w3-hover-orange:hover {
    color: #000 !important;
    background-color: #ff9800 !important;
}
.w3-text-white, .w3-hover-text-white:hover {
    color: #fff !important;
}
.w3-red, .w3-hover-red:hover {
    color: #fff !important;
    background-color: #f44336 !important;
}
.w3-btn, .w3-btn-floating, .w3-dropnav a, .w3-btn-floating-large, .w3-btn-block, .w3-hover-shadow, .w3-hover-opacity, .w3-hover-opacity-off, .w3-hover-sepia, .w3-hover-grayscale, .w3-hover-greyscale,
.w3-navbar a, .w3-sidenav a, .w3-pagination li a, .w3-hoverable tbody tr, .w3-hoverable li, .w3-accordion-content a, .w3-dropdown-content a, .w3-dropdown-click:hover, .w3-dropdown-hover:hover, .w3-opennav, .w3-closenav, .w3-closebtn,
.w3-hover-amber, .w3-hover-aqua, .w3-hover-blue, .w3-hover-light-blue, .w3-hover-brown, .w3-hover-cyan, .w3-hover-blue-grey, .w3-hover-green, .w3-hover-light-green, .w3-hover-indigo, .w3-hover-khaki, .w3-hover-lime, .w3-hover-orange, .w3-hover-deep-orange, .w3-hover-pink,
.w3-hover-purple, .w3-hover-deep-purple, .w3-hover-red, .w3-hover-sand, .w3-hover-teal, .w3-hover-yellow, .w3-hover-white, .w3-hover-black, .w3-hover-grey, .w3-hover-light-grey, .w3-hover-dark-grey, .w3-hover-text-amber, .w3-hover-text-aqua, .w3-hover-text-blue, .w3-hover-text-light-blue,
.w3-hover-text-brown, .w3-hover-text-cyan, .w3-hover-text-blue-grey, .w3-hover-text-green, .w3-hover-text-light-green, .w3-hover-text-indigo, .w3-hover-text-khaki, .w3-hover-text-lime, .w3-hover-text-orange, .w3-hover-text-deep-orange, .w3-hover-text-pink, .w3-hover-text-purple,
.w3-hover-text-deep-purple, .w3-hover-text-red, .w3-hover-text-sand, .w3-hover-text-teal, .w3-hover-text-yellow, .w3-hover-text-white, .w3-hover-text-black, .w3-hover-text-grey, .w3-hover-text-light-grey, .w3-hover-text-dark-grey {
    -webkit-transition: background-color .3s,color .15s,box-shadow .3s,opacity 0.3s,filter 0.3s;
    transition: background-color .3s,color .15s,box-shadow .3s,opacity 0.3s,filter 0.3s;
}
.w3-closebtn {
    text-decoration: none;
    float: right;
    font-size: 24px;
    font-weight: bold;
    color: inherit;
}

    .w3-closebtn:hover, .w3-closebtn:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }


/* --- PROPIOS --- */
/* --------------- */
/* Capas, div, etc 
   --------------- */
.container-blanco {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    width: 800px;
}

.container-ancho {
    width: 95%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.contenedor-pagina {
    width: 100%;
    padding: 10px 20px 20px 20px;
    background-color: white;
}
.seccion-pagina-left {
    float: left;
    width: 75%;
}
.seccion-pagina-right {
    float: right;
    width: 20%;
}
.seccion-contenido {
    width: 100%;
    padding: 20px;
    border: 1px solid #DADADA;
    background-color: #F4F4F4;
    height: 100%;
}
.botonera-principal {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #d8d8d8;
    border-radius: 10px;
}
.float-left{
    float: left;
}
.float-right{
    float: right;
}
.nueva-seccion {
    clear: both;    
}
.nueva-seccion-top {
    clear: both;
    margin-top: 10px;
}
.nueva-seccion-bottom {
    clear: both;
    margin-bottom: 10px;
}
.nueva-seccion-top-bottom {
    clear: both;
    margin-top: 10px;
    margin-bottom: 10px;
}
.ocultar {
    display: none;
}
.tablaocultar{
    display: normal;
}
.imprimir-contenedor{
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: right;
}


/* ----- IMÁGENES Y MÁS ----- */
/* -------------------------- */
.logo{
    height: 70px;
}


/* Para formularios 
   ---------------- */
.form-input-muy-pequeno{
    float: left;
    width: 80px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.form-input-pequeno{
    float: left;
    width: 120px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.form-input-muy-mediano{
    float: left;
    width: 185px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.form-input-mediano{
    float: left;
    width: 240px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.form-input-muy-grande{
    float: left;
    width: 305px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.form-input-grande{
    float: left;
    width: 350px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.form-input-mas-grande{
    float: left;
    width: 500px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.form-input-multilinea{
    float: none;
    clear: both;
    width: 100%;
    margin-right: 10px;
    margin-bottom: 10px;
}
.form-input-buscar{
    float: left;
    width: 250px;
    margin-right: 5px;
}
.input-multilinea {
    height: 100px !important;
}
.imagen-mediano{
    width: 100%;    
    padding-top: 5px;
    padding-bottom: 5px;
}
.file-upload{
    width: 100%;    
}
.textbox-bloqueado{
    background-color: #c8c8c8;
}
.form-input-boton-padding-top {
    padding-top: 25px;
}

/* Para botonera de opciones */
.contenedor-button-opciones{
    margin-top: 15px;
}
.contenedor-textbox-opciones{
    float: left;
    margin-right: 10px;
}
.contenedor-control-opciones{
    float: left;
    margin-right: 10px;
}
.button-opciones{
    margin-right: 5px;
    border-width: 0;
    background-color: transparent;
}
.textbox-opciones{
    margin-right: 5px;
    border-width: 0;
}


/* Textos varios 
   ------------- */
.texto-cursiva {
    font-style: italic;
}
.texto-marca-agua{
    font-style: italic;
    color: #c3c3c3;
}
.MensajeOK {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #333;
	font-style: italic;
}
.MensajeError {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: red;
	font-style: italic;
    font-weight: bold;
}


/* Controles
   --------- */
.textbox-calendario-dia {
    width: 45px;
}
.gridview-tarifas-celda{
    padding: 5px;
}
.gridview-tarifas-cabecera{
    border-style: none solid none none;
    background-color: #7c7c7c;
    color: white;
    border-right-width: 1px;
    border-right-color: #5b5b5b;
}
.textbox-cambio{
  background-color: #f8ba7f;
}


/* CUSTOM RADIO & CHECKBOXES
   http://stackoverflow.com/a/17541916/383904 */
.rad,
.ckb{
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.rad > input,
.ckb > input{ /* HIDE ORG RADIO & CHECKBOX */
  visibility: hidden;
  position: absolute;
}
/* RADIO & CHECKBOX STYLES */
.rad > i,
.ckb > i{     /* DEFAULT <i> STYLE */
  display: inline-block;
  vertical-align: middle;
  width:  16px;
  height: 16px;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: inset 0 0 0 8px #fff;
  border: 1px solid gray;
  background: gray;
}
/* CHECKBOX OVERWRITE STYLES */
.ckb > i {
  width: 25px;
  border-radius: 3px;
}
.rad:hover > i{
  box-shadow: inset 0 0 0 3px #fff;
  background: gray;
}
.rad > input:checked + i{
  box-shadow: inset 0 0 0 3px #fff;
  background: orange;
}
/* CHECKBOX */
.ckb > input + i:after{
  content: "";
  display: block;
  height: 12px;
  width:  12px;
  margin: 2px;
  border-radius: inherit;
  transition: inherit;
  background: gray;
}
.ckb > input:checked + i:after{
  margin-left: 11px;
  background:  orange;
}


/* ------ PARA IDOMAS -------*/
/*---------------------------*/
.idiomas-contenedor {
    margin-top: 14px;
    margin-left: 10px;
    padding-top: 5px;
    padding-left: 10px;
    text-align: right;
    float: right; 
}


/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}


/* Responsive: Portrait tablets and up */
@media only screen and (max-width: 850px) {
    /* ----- MODIFICACIONES BOOTSTRAP  ----- */
    .navbar{
        min-height: 80px !important;
    } 

    /* ------ PARA IDOMAS -------*/
    /*---------------------------*/
    .idiomas-contenedor {
        margin-bottom: 10px;
        margin-left: 0px;
        padding-left: 0px;
        text-align: left;
        float: none; 
    }

    /* Capas, div, etc 
    --------------- */
    .float-left{
        float: none;
        width: 100%;
    }
    .float-right{
        float: none;
        width: 100%;
    }
    .seccion-pagina-left {
        float: none;
        width: 100%;
    }
    .seccion-pagina-right {
        float: none;
        width: 100%;
    }
    .seccion-contenido {
        padding: 10px;
    }
   .form-input-muy-pequeno {
       float: none;
        width:95%;
    }
    .form-input-pequeno {
        float: none;
        width:95%;
    }
    .form-input-muy-mediano{
        float: none;
        width:95%;
    }
    .form-input-mediano {
        float: none;
        width:95%;
    }
    .form-input-muy-grande{
        float: none;
        width:95%;
    }
    .form-input-grande{
        float: none;
        width:95%;
    }
    .form-input-mas-grande{
        float: none;
        width:95%;
    }
    .form-input-multilinea {
        width:95%;
    }
    .tablaocultar {
        display:none ;
    }
    .form-input-boton-padding-top {
        padding-top: 0px;
    }

    /* Para botonera de opciones */
    .contenedor-button-opciones{
        margin-bottom: 10px;
    }
    .contenedor-textbox-opciones{
        width: 180px;
    }
    .contenedor-control-opciones{
        width: 50px;
    }

    /* ----- IMÁGENES Y MÁS ----- */
    /* -------------------------- */
    .logo{
        height: 50px;
    }
}