/****************************************************************************************************
 * 
 * STYLE : DL_DOC_USER - JOHN DOE ET FILS
 * 
****************************************************************************************************/

/****************************************************************************************************
 * TABLE
****************************************************************************************************/

#dl_doc_usuer_datas_wrap {
	margin: 50px;
}
#dl_doc_usuer_datas_wrap table {
	border-collapse: collapse;
	width: 100%;
}
#dl_doc_usuer_datas_wrap td, #dl_doc_usuer_datas_wrap th {
	text-align: left;
	padding: 5px 10px;
}
#dl_doc_usuer_datas_wrap th {
	text-align: center;
	font-weight: bold;
	color: gray;
}
#dl_doc_usuer_datas_wrap tr, #dl_doc_usuer_datas_wrap td,#dl_doc_usuer_datas_wrap th {
	border: 1px solid silver;
}
#dl_doc_usuer_datas_wrap tr:nth-child(even) {
	background: white;
}
#dl_doc_usuer_datas_wrap .no {
	color: red;
	background: rgba(250, 220, 235, .5);
}
#dl_doc_usuer_datas_wrap .yes {
	color: green;
	background: rgba(200, 215, 150, .5);
	text-align: right;
}

/* FILTRES */
.filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.filters button {
    cursor: pointer;
}

/* EXPORT BTN */
.btn-export {
    color: #fff;
    background-color: #d02139;
    border: none;
    padding: .6rem 1.1rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
    font-weight: 600;
    transition: .3s all ease;
    cursor: pointer;
}
.btn-export:hover {
    color: #fff;
    background-color: #af1c30;
    border: none;
}

/* PAGINATION */
.pagination {
    text-align: center;
    padding: 10px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 2px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    background-color: #f9f9f9;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #0073aa;
    color: #fff;
}

.pagination .current-page {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 2px;
    border: 1px solid #0073aa;
    background-color: #0073aa;
    color: #fff;
    border-radius: 4px;
}

.pagination .disabled {
    color: #999;
    cursor: not-allowed;
}


/****************************************************************************************************
 * BROCHURE
****************************************************************************************************/

.col_brochure {
	display: flex;
    flex-direction: column;
}

.wp-block-media-text {
    margin-bottom: 15px;
    display: flex;
}

.wp-block-media-text__media {
    width: 130px;
    height: 130px;
}

.wp-block-media-text__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.wp-block-media-text__content h3, .wp-block-media-text__content h3 a {
    font-size: 16px;
}

.dl_doc {
	float: right;
    width: 40px;
    height: 40px;
}

.dl_doc a {
    color: transparent !important;
    font-size: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: #d02139 url('./img/icon_dl_white.svg') no-repeat;
    background-size: 80%;
    background-position: center;
    display: block;
    cursor: pointer;
}

.dl_doc_direct {
    float: right;
    width: 40px;
    height: 40px;
}

.dl_doc_direct a {
    color: transparent !important;
    font-size: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: #d02139 url('./img/icon_dl_white.svg') no-repeat;
    background-size: 80%;
    background-position: center;
    display: block;
    cursor: pointer;
}

#popup_dl_wrap {
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
}

#popup_dl_bg {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .8);
    box-shadow: 0px 9999px 0px 9999px rgb(0, 0, 0, .8);
}

#popup_dl_card {
    position: absolute;
    z-index: 1;
    width: 80%;
    max-width: 1000px;
    height: auto;
    margin: auto;
    top: 20%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 10px solid #ee7602;
    padding: 50px;
}

#popup_dl_content {
    width: 100%;
    margin: auto;
    overflow: auto;
}

#popup_dl_content legend {
    margin-bottom: 50px;
}

#doc_name {
    color: #d02139;
}

#popup_dl_content label {
    width: 150px;
    text-align: left;
    display: inline-block;
    margin: 10px 0 5px 0;
}

#popup_dl_content input {
	width: 100%;
}

#popup_dl_content input[type="submit"] {
    float: right;
    border: 0;
    padding: 10px 20px;
    background: #d02139;
    color: white;
    margin-top: 50px;
}

.required {
    color: #d02139;
    font-size: 20px;
    font-weight: bolder;
}

/****************************************************************************************************
 * BACKSTAGE EMAIL
****************************************************************************************************/

.success, .fail {
    display: block;
    width: 50%;
    padding: 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius:  5px;
    position: fixed;
    margin: auto;
    top: 10%;
    left: 0;
    right: 0;
    box-shadow: 0 10px 20px 10px rgba(0, 0, 0, .2);
    z-index: 9999;
}

.success {
    background: lightgreen;
    border: 1px solid green;
    color: darkgreen;
}

.fail {
    background: lightpink;
    border: 1px solid red;
    color: darkred;
}

@media only screen and (max-width: 400px) {
	.col_brochure {
		display: flex;
	    flex-direction: column;
	    align-items: flex-start;
	}
}