/*
 * Copia de SMF_PRO_LEGACY/web/css/site.css.
 *
 * ÚNICA modificación respecto al original: la ruta de `main_bg.jpg` en `.main-bg`
 * (línea marcada más abajo). En el legado la imagen se servía desde el docroot de
 * Yii con ruta absoluta '/img/main_bg.jpg'; aquí vive en Front/assets/img/.
 * No introducir cambios de diseño en este archivo.
 */

main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #ffffff;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.table-striped-burnt > tbody > tr:nth-of-type(odd) {
    background-color: #e89576;
  }
  
  .table-striped-orange > tbody > tr:nth-of-type(odd) {
    background-color: #e8b176;
  }
  
  .table-striped-mustard > tbody > tr:nth-of-type(odd) {
    background-color: #e8ce76;
  }
  
  .table-striped-yellow > tbody > tr:nth-of-type(odd) {
    background-color: #e6e876;
  }
  
  .table-striped-green > tbody > tr:nth-of-type(odd) {
    background-color: #cae876;
  }

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

ul.pagination > li > a, .pagination > li > span{
    padding: 6px 12px;
    margin-left: -1px;
    border: 1px solid #ddd;
}

.pagination > .active > a{
    color: #fff;
    font-weight: bold;
    background-color: #337ab7;
    border-color: #337ab7;
}

.btn-toolbar > .btn-group > .btn{
    margin: 0 5px 0 0;
} 

/*Floating action button*/ 
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	left:40px;
	color:#FFF;
	border-radius:5px;
	text-align:center;
    z-index: 10000;
}

.my-float{
	margin-top:5px;
    font-size: 22px;
}

.sticky-lg-top{
    top:120px;
}

.gradient-custom-2 {
    /* fallback for old browsers */
    background: #fccb90;
    
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
    
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
}
    
@media (min-width: 768px) {
    .gradient-form {
        height: 100vh !important;
    }
}
@media (min-width: 769px) {
    .gradient-custom-2 {
        border-top-right-radius: .3rem;
        border-bottom-right-radius: .3rem;
    }
}

.main-bg{
    color: #fff !important;
    /* ruta adaptada a Front/assets/img/ — ver cabecera del archivo */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),url('../img/main_bg.jpg');
    background-size: cover !important;
    background-position: center center;
    background-repeat: no-repeat;
}

.strokeme {
    color: white;
    text-shadow: -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
}
.fiscal-cufe {
    overflow-wrap: anywhere;
}

.fiscal-payload {
    max-height: 28rem;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.row_2{
    color: black;
    position: relative;
}

/* ================================================================================================== */
/*                                              CHANGES                                               */
/* ================================================================================================== */

.container-ords-prod { margin-top: 25px !important; }
.sub_title_resumen { font-size: 16px !important; }
.resumen div .fas, .d-block { font-size: 17px; }
.home { margin-top: 20px !important; }
.resumen div .card-body { padding: 10px !important; }
.home .card-body{ /*all: unset !important;*/ padding: 8px !important; transform: translateX(0.5%); }
.kpis { display: grid !important; grid-template-columns: repeat(6, 1fr) !important;  gap: 5px !important; width: 100% !important; }
.ords-diseno { padding: 10px; background-color: #CCCCCC; }
.ords-diseno select { border: solid 1px black; }
.ords-diseno-panel{ width: 100%; background-color: #8B8B8B; }
.panel-ords-prod { display: grid !important; grid-template-columns: 75% 25% !important;  gap: 5px !important;
    padding-top: 0 !important; width: 100% !important; }
.crear-ordenes .btn { /*position: initial;*/ width: 95%; }
.kpis .card { width: 100%; }
.ords-general { width: 100% !important; }
.ords-general select{ border: solid 1px; border-color: blue !important; }
.panel-diseno-view .flex-grow-1 { font-size: 12px; }

.btn_viewpass {
    position: absolute;
    /*right: 5px;*/
    top: 50%;
    /*border-radius: 7px;*/
    /*transform: translateY(15px);*/
    transform: translateX(360px);
    /*background: rgba(120, 120, 120, 1.0);*/
    background: transparent;
    /*text-align: center;*/
    padding: 0;
    width: 45px;
    height: 38px;
    border: solid 1px rgba(0, 0, 0, 0.2);
    border-bottom: none;
    border-top: none;
    border-right: none;
    cursor: pointer;
}

/* LOGIN ASPECTS */
@media (max-width: 1397px) { .btn_viewpass { transform: translateX(285px); } }
@media (max-width: 1024px) { .btn_viewpass { transform: translateX(291px); } }
@media (max-width: 878px) { .btn_viewpass { transform: translateX(518px); } }
@media (max-width: 615px) { .btn_viewpass { transform: translateX(449px); } }
@media (max-width: 512px) { .btn_viewpass { transform: translateX(392px); } }
@media (max-width: 384px) { .btn_viewpass { transform: translateX(265px); } }
@media (max-width: 308px) { .btn_viewpass { transform: translateX(189px); } }

/* ================================================================================================== */