@import url('//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700');
@import url('//fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&display=swap');
@import url('//fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;700&display=swap');

/*font-family: 'Open Sans', sans-serif;*/
body
{
	background-image:url(../img/background.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position:center;
	background-attachment:fixed;
    font-family: 'Open Sans',Arial!important;
    font-weight: 400;
    color: #333;
    padding-top: 5rem;

}
label{ font-weight: 600;}

a,h1,h2,h3,h4,h5,h6{font-family: 'Fira Sans', sans-serif !important; font-weight: 500!important;}

.select2-selection__rendered {line-height: 31px !important;}
.select2-container .select2-selection--single {height: 35px !important;}
.select2-selection__arrow {height: 34px !important;}
.select2-selection.select2-selection--single{border: 1px solid #ced4da;}
.select2-selection.select2-selection--multiple{border: 1px solid #ced4da;}
.select2-container--default.select2-container--focus .select2-selection--multiple{border: 1px solid #ced4da;}

.cke_contents{padding: 10px!important;}


.btn{color: white!important;}
.btn-light{ color:#333!important;}

navbar-nav{font-family: 'Fira Sans', sans-serif !important; font-weight: 500!important;}
.navbar .navbar-brand{
    padding: 5px;
    border-radius: 5px;
    background-color: white;
}
.navbar .user_logueado{
    position:absolute;right:20px
}

.container,.fondo-fluid{
    border-radius: 5px;
    background-color:rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    padding-top: 10px;
}

.container h3:first-of-type{
    margin-top: 10px;
    color: #D82020;
}

.container h4{
    margin-top: 10px;
    margin-bottom: 20px;
}


.caja_filtro{
    width: calc(100%-20px);
    border-radius: 5px;
    padding: 10px;
    background-color:rgba(0, 0, 0, 0.04);
}

.aviso_maxlength{
    padding: 5px 10px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
    background-color:rgba(255, 255, 255, 0.9);
    font-size: 12px;
}

#sticky-sidebar{
    border-left: 1px solid #fff;
}

/*DATABLES*/
#tools_tabla {
    margin-bottom: 20px;
}
#tools_tabla input#search_table{
    margin-left: 10px;
    display: inline-block;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    vertical-align: middle;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    #tools_tabla input#search_table::placeholder {
        color: rgb(161, 161, 161);
    }

    #tools_tabla .btn.disabled{
        display: none;
    }


    .dataTables_length select{ vertical-align: bottom;}


.table_wd{
    border: collapse;
    width: 100%;
    max-width: 100%;
    border: none;
    background-color: #ffffff90;
}
.table_wd thead tr th,.table_wd tfoot tr th{
    background-color: #D82020!important;
}

.table_wd thead.fondo_gris tr th,.table_wd tfoot.fondo_gris tr th{
    background-color: rgb(129, 129, 129)!important;
}

.table_wd thead tr th:first-child {
    border-top-left-radius: 5px!important;
}
.table_wd thead tr th:last-child, .table_wd thead tr th.ultimo {
    border-top-right-radius: 5px!important;
}

.table_wd tfoot tr th:first-child {
    border-bottom-left-radius: 5px!important;
}
.table_wd tfoot tr th:last-child, .table_wd tfoot tr th.ultimo {
    border-bottom-right-radius: 5px!important;
}


.table_wd thead th{
    border: 0;
    color: #ffffff;
    font-weight: normal!important;
    text-align: left;
    font-size: 14px;
    border-bottom:1px solid #FFF;
    font-family: 'Fira Sans', sans-serif !important; font-weight: 500!important;
}
.table_wd tfoot th{
    border: 0;
    color: #ffffff;
    font-weight: normal!important;
    border-top:1px solid #FFF;
    text-align: left;
    font-size: 14px;
    font-family: 'Fira Sans', sans-serif !important; font-weight: 500!important;
}


/* .table_wd tbody tr.fila-danger td{
    background-color: #ececcf!important;
} */

.table_wd tbody td{
    font-size: 14px;
}
.table_wd tbody td.select-checkbox{
    cursor: pointer;
    text-align: center;
}
.table_wd tbody td.reorder{
    text-align: center;
}


.table_wd tbody td a{
    text-decoration: none;
    color: black;
}
.table_wd tbody td a:hover{
    text-decoration: none;
    color: #d31217;
}
.table_wd tbody td a.hover:hover {
    text-decoration: none;
    color: #d31217!important;
    cursor: pointer!important;
}
.table_wd tbody td{
    border-left:1px solid #FFF;
}




table.dataTable tbody td.select-checkbox:before,table.dataTable tbody td.select-checkbox:after,table.dataTable tbody th.select-checkbox:before,table.dataTable tbody th.select-checkbox:after{
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    display:inline-block;
    width:20px;
    height:20px;
    box-sizing:border-box;
    vertical-align: middle;
}
table.dataTable tbody td.select-checkbox:before,table.dataTable tbody th.select-checkbox:before{
    content:' ';border:1px solid rgb(161, 161, 161);border-radius:3px;
}
table.dataTable tr.selected td.select-checkbox:after,table.dataTable tr.selected th.select-checkbox:after
{
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    content:'\2714';
    color: white;
    text-shadow: none;
}

table.dataTable tr.dt-rowReorder-moving{
    background-color: rgb(218, 218, 218);
}
table.dt-rowReorder-float{
    position:absolute !important;
    opacity:0.8;
    table-layout:fixed;
    border:1px solid #333;
    outline:none;
    outline-offset:0px;
    z-index:2001;
}


/*EDITAR*/
.label_notas{
    font-weight: normal;
    color: rgb(105, 105, 105);
}
.input_notas{
    background-color: rgb(243, 243, 243);
    color: rgb(156, 0, 0);
}
/*BLOQUES*/
#modal_bloques .btn{
    font-size: 16px;
    margin: 5px;
}

#caja_bloques{
    display: inline-block;
    width: 100%;
    min-height: 10px;
    padding: 0;
    margin: 0;
}

#caja_bloques li{margin: 0;}

.cabecera_bloque{
    position: relative;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    padding-right: 60px;
}
    .cabecera_bloque a{
        display: inline-block;
        width: 100%;
        text-decoration: none;
    }
    .cabecera_bloque h6{
        display: inline-block;
        width: auto;
        min-width: 160px;
        margin-right: 10px;
        text-decoration: none;
    }
    .cabecera_bloque small.text-preview{
        color: rgb(189, 189, 189);
    }

.cabecera_bloque a i{float: right;}
.bloque_contenido{
    display: inline-block;
    background-color: rgb(255, 255, 255);
    width: 100%;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

    .body_bloque{
        position: relative;
    }

    .boton_borrar_bloque{
        display: inline-block;
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .boton_mover_bloque{
        display: inline-block;
        position: absolute;
        top: 10px;
        left: 10px;
    }

    .bloque_contenido .caja_img img{ max-width: 200px;}


/*IMAGENES SUBIDAS*/
#fotos-publicadas{
    padding: 0;
    padding-top: 15px;
    width: 100%;
    display: inline-block;

}
#fotos-publicadas li {
    cursor: move;
    margin-bottom: 10px;
}

    #fotos-publicadas .foto-item {
        width: 117px;
        height: 70px;
        overflow: hidden !important;
        float: left;
        position: relative;
        margin-right: 10px;
        border-radius: 5px;
    }

    #fotos-publicadas .foto-item img {
        width:100%;
        float: left;
        position: relative;
        z-index: 1;
    }

    #fotos-publicadas .foto-item .div_orden {
        display: inline-block;
        position: absolute;
        top: 4px;
        left: 4px;
        padding: 3px 7px;
        background-color: rgb(255, 255, 255);
        color: rgb(66, 66, 66);
        font-weight: bold;
        border-radius: 5px;
        z-index: 99999999999;
    }

    #fotos-publicadas .foto-item .img-options {
        width: 100%;
        height: 100%;
        background-color: #FFFFFF;
        opacity: 0.6;
        position: relative;
        top: 0px;
        z-index: 3;
        display: none;
    }
        #fotos-publicadas .foto-item:hover .img-options{
            display:block;
        }



    #fotos-publicadas .foto-item .btn{
        display: none;
        cursor: pointer;
        right: 4px;
        position: absolute;
        top: 4px;
        z-index: 99;
    }

    #fotos-publicadas .foto-item:hover .btn{
        display:inline-block;
    }


/*BANNERS SUBIDAS*/
#banners-publicadas{
    padding: 0;
    padding-top: 15px;
    width: 100%;
    display: inline-block;

}
#banners-publicadas li {
    cursor: normal;
    margin-bottom: 0px;
}

#banners-publicadas .foto-item {
        width: auto;
        height: auto;
        max-width: 600px;
        overflow: hidden !important;
        float: left;
        position: relative;
        margin-right: 10px;
        border-radius: 5px;
        background-color: khaki;
    }

    #banners-publicadas .foto-item img {
        width:100%;
        float: left;
        position: relative;
        z-index: 1;
    }

    #banners-publicadas .foto-item .div_orden {
        display: inline-block;
        position: absolute;
        top: 4px;
        left: 4px;
        padding: 3px 7px;
        background-color: rgb(255, 255, 255);
        color: rgb(66, 66, 66);
        font-weight: bold;
        border-radius: 5px;
        z-index: 99999999999;
    }

    #banners-publicadas .foto-item .img-options {
        width: 100%;
        height: 100%;
        background-color: #FFFFFF;
        opacity: 0.6;
        position: relative;
        top: 0px;
        z-index: 3;
        display: none;
    }
    #banners-publicadas .foto-item:hover .img-options{
            display:block;
        }

    #banners-publicadas .foto-item .btn{
        display: none;
        cursor: pointer;
        right: 4px;
        position: absolute;
        top: 4px;
        z-index: 99;
    }

    #banners-publicadas .foto-item:hover .btn{
        display:inline-block;
    }


/*SUBIR IMAGENES*/
.dropzone {
    width: 100%;
    cursor: pointer;
    /* overflow-y: hidden; */
    border-radius: 5px;
    border: 1px dashed rgb(170, 170, 170);
}

.dropzone .dz-preview .dz-image {
    border-radius: 5px;
    width: 120px;
    height: 120px;
}


table.dataTable tbody > tr.selected td, table.dataTable tbody > tr > .selected td{
	background-color: transparent!important;
}

.dz-error-message{
    z-index: 99999;
}