/* sobreescritos */
.all-wrapper.with-pattern {
    background-image: none;
}

.auth-wrapper {
    background-image: url("../img/bg-gestor.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

body {
    background: #f2f4f8;
}
body:before {
    background: none;
}
.auth-box-w .logo-w {
    padding: 10% 20% 10% 20%;
}
.menu-w .logo-w img {
    width: auto;
    height: 25px;
}
.menu-w.menu-layout-compact ul.main-menu > li.has-sub-menu.no-sub-menu > a:before {
    content: "";
}
.user-profile .up-head-w {
    min-height: 250px !important;
}

/* propios */
.frase {
    text-align: center;
    padding-top: 20px;
}
.frase h1 {
    color: #333;
    font-size: 18px;
    font-weight: normal;
}
.frase h2 {
    color: #666;
    font-size: 14px;
    font-weight: normal;
}
td.td-avatar,
td.td-avatar img {
    width: 40px !important;
}
td.td-acciones {
    width: 50px;
    text-align: right;
}
td.td-acciones .dropdown-toggle::after {
    display: none !important;
}

.element-box-usuarios .el-tablo-user {
    transition: all 0.25s ease;
}
.element-box-usuarios .el-tablo .label {
    position: relative;
}
.element-box-usuarios .el-tablo .label img {
    margin-bottom: 15px;
}
.element-box-usuarios .el-tablo .label p {
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}
.element-box-usuarios .el-tablo.el-tablo-user .label p small {
    text-transform: lowercase !important;
    font-size: 12px;
    display: block;
}
.element-box-usuarios.el-tablo-user {
    padding: 1rem;
    margin-bottom: 1rem;
}
.el-tablo-user .btn-group {
    position: absolute;
    top: 0px;
    right: 0px;
}
.el-tablo-user .btn-group .dropdown-toggle::after {
    display: none !important;
}

.element-box-usuarios .el-tablo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0px 5px 12px rgba(126, 142, 177, 0.2);
}

.form-button-inline button.btn {
    margin-top: 25px;
    padding-top: 8px;
    padding-bottom: 9px;
}

h6.element-header a.btn {
    margin-top: -5px;
}
.row-visualizaciones {
    margin-bottom: 20px;
}
.row-visualizaciones i {
    margin-right: 5px;
}

.element-box-tarifas {
    position: relative;
    padding-bottom: 60px;
    transition: all 0.25s ease;
    width: 100%;
}
.element-box-tarifas:hover {
    /*-webkit-transform: translateY(-5px) scale(1.02);
    transform: translateY(-5px) scale(1.02);*/
    box-shadow: 0px 5px 12px rgba(126, 142, 177, 0.5);
    z-index: 10;
}

.switch
{
width: 62px;
height: 32px;
background: #E5E5E5;
z-index: 0;
margin: 0;
padding: 0;
appearance: none;
border: none;
cursor: pointer;
position: relative;
border-radius:16px;
-moz-border-radius:16px;
-webkit-border-radius:16px;
}

.switch:before
{
content: ' ';
position: absolute;
left: 1px;
top: 1px;
width: 60px;
height: 30px;
background: #FFFFFF;
z-index: 1;
border-radius:16px;
-moz-border-radius:16px;
-webkit-border-radius:16px;
}

.switch:after
{
content: ' ';
height: 29px;
width: 29px;
border-radius: 28px;
z-index: 2;
background: #FFFFFF;
position: absolute;
-webkit-transition-duration: 300ms;
transition-duration: 300ms;
top: 1px;
left: 1px;
-webkit-box-shadow: 0 2px 5px #999999;
box-shadow: 0 2px 5px #999999;
}

.switchOn , .switchOn:before
{
background: #1c4cc3 !important;
}
.switchOn:after
{
left: 30px !important;
}

.element-box-tarifas figure {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}
.element-box-tarifas a.element-box-tarifas-descarga {
    position: absolute;
    bottom: 20px;
    left: 20px;
}
.element-box-tarifas .btn-group {
    position: absolute;
    bottom: 20px;
    right: 20px;
}
.element-box-tarifas h5 {
    font-size: 1rem;
}
.element-box-tarifas .dropup .dropdown-toggle::after {
    display: none !important;
}
.element-box-tarifas .dropup .btn {
    background: #f5f5f5;
}

.table-documentos .btn-group .dropdown-toggle::after {
    display: none !important;
}
.table-documentos .mover-check-listado {
    margin-left: 13px;
}

.dropdown-acciones-multiples i {
    margin-right: 5px;
}
.table.table-padded tbody tr:hover {
    transform: none;
    -webkit-transform: none;
}
.table.table-padded tbody tr:hover td {
    background: #eceefa;
}

.aec-full-message-w.show-pack:before,
.aec-full-message-w.show-pack:after {
    display: none;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    margin-bottom: 20px;
}

.modal-footer {
    background: #f5f5f5;
}

.m-b-10 {
    margin-bottom: 10px;
}
.m-l-10 {
    margin-left: 10px;
}
.p-t-10 {
    padding-top: 10px;
}
.p-t-25 {
    padding-top: 25px;
}
.td-noborder {
    border: none !important;
}

.dropdown-years {
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.72rem;
}
.dropdown-years:hover,
.dropdown-years:focus {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.4);
}

.padding-botones-pedido {
    padding-top: 25px;
    text-align: right;
}

.ficha-producto figure {
    border: 2px solid #c5c5c5;
    border-radius: 6px;
}
.ficha-producto figure img {
    border-radius: 6px;
}

.btn-anterior i {
    float: left;
    margin: 0 5px 5px 0;
}
.btn-siguiente i {
    float: right;
    margin: 0 0px 5px 5px;
}

.os-tabs-controls-cliente .nav.upper.nav-tabs .nav-link {
    margin-right: 1rem;
}

.post-foot-puntos small {
    font-size: 0.8rem !important;
}
.post-box-puntos {
    border: 1px solid #e5e5e5;
}

.element-box-ventas-dashboard .el-tablo .value {
    font-size: 1.8rem;
}

.listado-avisos
    .support-index
    .support-ticket-content-w
    .ticket-reply
    .ticket-reply-content {
    margin-left: 0px;
}
.listado-avisos
    .support-index
    .support-ticket-content-w
    .ticket-reply
    .ticket-reply-content {
    font-size: 0.85rem;
}

.messages-notifications a:hover {
    text-decoration: none;
}

#carousel-imagenes-incidencias .carousel-control-prev,
#carousel-imagenes-incidencias .carousel-control-next {
    background-color: rgba(0, 0, 0, 0.1);
}

.ssg-content2 a {
    color: #333;
}

.btn-pill {
    border-radius: 200px;
}

.link-unstyled {
    border: none;
}
.link-unstyled::after,
.link-unstyled::before {
    display: none;
}

.type-img {
    height: 250px;
    background-color: #fff;
    border: 2px solid #e5e5e5;
    margin-bottom: 2rem;
    border-radius: 5px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.type-square {
    width: 100%;
    background-color: #fff;
    border: 2px solid #e5e5e5;
    margin-bottom: 2rem;
    border-radius: 5px;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
    position: relative;
}

.type-square::after {
    content: "";
    display: block;
    padding-top: 100%;
}

.td-nowrap {
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1006px) {
    .td-nowrap {
        white-space: normal;
        overflow: auto;
        max-width: inherit;
    }
}

/*preview*/
.news__in {
    height: 704px;
    margin: 0;
    overflow: hidden;
    position: relative;
}

@media (max-width: 1024px) {
    .news__in {
        height: 600px;
    }
}

@media (max-width: 992px) {
    .news__in {
        height: 450px;
    }
}

@media (max-width: 767px) {
    .news__in {
        height: 250px;
        margin: 0 -15px;
    }
}

.news__img {
    height: 100%;
    min-width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.news__box {
    background-color: #209a3d;
    transform: rotate(-2deg);
    position: absolute;
    left: 3rem;
    bottom: -20px;
    padding: 3rem;
    max-width: 60%;
    z-index: 9;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

.news__box > * {
    transform: rotate(2deg);
}

.news__box__date {
    color: #fff;
    border-left: 4px solid #ffa429;
    padding-left: 20px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: "Ubuntu", sans-serif;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 767px) {
    .news__box__date {
        font-size: 1rem;
    }
}

.news__box__title {
    color: #fff;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    line-height: 1em;
}

@media (max-width: 767px) {
    .news__box__title {
        font-size: 1.5rem;
    }
}

.news__box__category {
    display: block;
    color: #fff;
    font-weight: 400;
    font-family: "Ubuntu", sans-serif;
    margin: 1rem 0;
}

@media (max-width: 767px) {
    .news__box__category {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .news__box {
        position: relative;
        left: 0;
        max-width: 90%;
        margin-top: -5rem;
        padding: 30px;
    }
}

.news__notice {
    position: relative;
    z-index: 2;
}

.news__notice__subtitle {
    padding-right: 15%;
}

.news__notice__subtitle,
.news__notice__subtitle *,
.news__notice__subtitle a {
    font-family: "Lato", sans-serif;
    color: #333;
    font-weight: 700;
    transition: all 0.3s ease-in;
}

.news__notice__subtitle strong,
.news__notice__subtitle * strong,
.news__notice__subtitle a strong {
    text-decoration: underline;
}

.news__notice__subtitle a[href] {
    text-decoration: underline !important;
    border: none !important;
}

.news__notice__subtitle a[href]:active,
.news__notice__subtitle a[href]:hover,
.news__notice__subtitle a[href]:focus {
    color: #ffa429;
    transition: all 0.3s ease-in;
}

.news__notice__text {
    padding-right: 15%;
}

.news__notice__text,
.news__notice__text *,
.news__notice__text a {
    font-size: 1.125rem;
    font-family: "Lato", sans-serif;
    color: #666;
    font-weight: 400;
}

.news__notice__text strong,
.news__notice__text * strong,
.news__notice__text a strong {
    font-weight: 600;
    text-decoration: underline;
}

.news__notice__text a[href] {
    text-decoration: underline !important;
    border: none !important;
}

.news__notice__text a[href]:active,
.news__notice__text a[href]:hover,
.news__notice__text a[href]:focus {
    color: #ffa429;
    transition: all 0.3s ease-in;
}

.element-img {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.element-img__sizes,
.element-img__sizes--min {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    color: rgba(255, 255, 255, 0.8);
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}
.element-img__sizes--min {
    font-size: 16px;
}

.form-header select.form-control {
    border-radius: 200px;
}
.select2-container .select2-selection--single {
    height: 2.4rem;
}
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    line-height: 35px;
}

.input-group-text.delete {
    background-color: #a30a3745;
    color: #a30a37;
    cursor: pointer;
}

@media (max-width: 767px) {
    .news__notice__text {
        padding-right: 0;
    }
}

.news__notice__video {
    margin: 1.5rem 0 2rem 0;
}

.news__notice__video,
.news__notice__video * {
    width: 100% !important;
    height: 40vw !important;
}

@media (max-width: 1024px) {
    .news__notice__video,
    .news__notice__video * {
        height: 50vw !important;
    }
}

@media (max-width: 767px) {
    .news__notice__video,
    .news__notice__video * {
        height: 60vw !important;
    }
}

.news__notice__img {
    margin: 1.5rem 0 2rem 0;
    height: 618px;
    overflow: hidden;
    width: 100%;
}

.news__notice__img img {
    height: 100%;
    min-width: 100%;
    max-width: inherit;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (max-width: 992px) {
    .news__notice__img {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .news__notice__img {
        height: 250px;
    }
}

.news__notice__footer {
    border-top: 4px solid #e5e5e5;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.news__notice__footer > div {
    flex: 1 1 60%;
}

.news__notice__footer > div:last-child {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex: 1 1 40%;
    justify-content: flex-end;
}

.news__notice__footer > div:last-child > * {
    margin: 0 0 0 10px;
}

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
    .news__notice__footer > div:last-child {
        top: -16rem !important;
    }
}

@media (max-width: 767px) {
    .news__notice__footer > div:last-child {
        justify-content: inherit;
        position: absolute;
        top: -19rem;
        left: 0;
    }
}

@media (max-width: 767px) {
    .news__notice__footer > div {
        flex: 100%;
    }
}

.news__notice__footer .badge {
    background-color: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 11px;
    padding: 8px 12px;
    font-weight: 400;
    color: #999;
    margin-bottom: 5px;
}

.news__notice__footer .badge:hover,
.news__notice__footer .badge:focus,
.news__notice__footer .badge:active {
    background-color: #e5e5e5;
    color: #666;
}

@media (max-width: 767px) {
    .news__notice__footer {
        flex-wrap: wrap;
    }
}

.news__related {
    padding: 5rem 0;
}

.news__related .block-sentence__bg__second,
.news__related .block-sentence__bg__first {
    width: 140vw;
}

@media (max-width: 1024px) {
    .news__related .block-sentence__bg__second,
    .news__related .block-sentence__bg__first {
        width: 170vw;
    }
}

@media (max-width: 767px) {
    .news__related .block-sentence__bg__second,
    .news__related .block-sentence__bg__first {
        display: none;
    }
}

@media (max-width: 1024px) {
    .news__related .title,
    .news__related .services__caption__text {
        font-size: 2rem;
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 992px) {
    .news__related .title,
    .news__related .services__caption__text {
        font-size: 1.5rem;
        margin-bottom: 1rem !important;
    }
}

.a2a_default_style .a2a_svg {
    border-radius: 0 !important;
}

.news__notice__subtitle,
.news__notice__subtitle *,
.news__notice__subtitle a {
    font-size: 1.5rem;
    font-weight: 700;
}
@media (max-width: 992px) {
    .news__box__date,
    .news__box__category,
    .news__notice__subtitle,
    .news__notice__subtitle *,
    .news__notice__subtitle a {
        font-size: 1.125rem;
    }
}

.size-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: auto;
    transform: translate(-50%, -50%);
    font-size: calc(14px + (20 - 14) * ((100vw - 320px) / (1920 - 320)));
    text-align: center;
    color: #666;
    font-weight: bold;
}

table.bt tbody td::before,
table.bt tfoot td::before,
table.bt tfoot th::before {
    width: 9.5em;
}

@media (min-width: 1025px) {
    body:not(.auth-wrapper) {
        padding-left: 17.2rem !important;
    }
    .menu-w {
        position: fixed;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
}

@media (max-width: 767px) {
    .element-header div.float-right {
        float: none !important;
        margin: 1.5rem 0;
    }
}
