:root {
    --primary-color: #212529;
    --secondary-color: #F50D4F;
    --dark-color: #0E1115;
    --text-color: #C3CFE0;
    --line-color: #343A40;
    --btn-bg-color: #F50D4F;
    --btn-txt-color: #FFFFFF;
}
.theme-color-2 {
    --primary-color: #1C1F26;
    --secondary-color: #00C2FF;
    --dark-color: #0A0D10;
    --text-color: #E6EDF5;
    --line-color: #2A3038;
    --btn-bg-color: #00C2FF;
    --btn-txt-color: white;
    --star-color: #FFC109;
}
.theme-color-3 {
    --primary-color: #1F1F1F;
    --secondary-color: #D4A373;
    --dark-color: #000000;
    --text-color: #F1EDE5;
    --line-color: #343434;
    --btn-bg-color: #D4A373;
    --btn-txt-color: #1F1F1F;
    --star-color: #FFC109;
}
.theme-color-4 {
    --primary-color: #F5F1EA;
    --secondary-color: #3A5A40;
    --dark-color: #d1c9bf;
    --text-color: #2F3437;
    --line-color: #E2DED7;
    --btn-bg-color: #3A5A40;
    --btn-txt-color: white;
    --star-color: #FFC109;
}
.theme-color-5 {
    --primary-color: #F8F9FA;
    --secondary-color: #111827;
    --dark-color: #e1e5e8;
    --text-color: #2D3748;
    --line-color: #E2E8F0;
    --btn-bg-color: #111827;
    --btn-txt-color: white;
    --star-color: #9d7f04;
}

.select-color-theme button.active {
    border: solid 2px black;
}
.select-color-theme button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: solid 1px #d3d3d3;
    transform: rotate(45deg);
    cursor: pointer;
}

.select-color-theme .color1 {
    background: linear-gradient(to right, #212529 50%, #F50D4F 50%);
}
.select-color-theme .color2 {
    background: linear-gradient(to right, #1C1F26 50%, #00C2FF 50%);
}
.select-color-theme .color3 {
    background: linear-gradient(to right, #1F1F1F 50%, #D4A373 50%);
}
.select-color-theme .color4 {
    background: linear-gradient(to right, #F5F1EA 50%, #3A5A40 50%);
}
.select-color-theme .color5 {
    background: linear-gradient(to right, #F8F9FA 50%, #111827 50%);
}


::selection {background: var(--text-color); color: #191C1D;}
header, footer {display: none;}
.template-book-4 * {font-family: Montserrat; margin: 0;}
.template-book-4 p, .template-book-4 li, .template-book-4 span, .template-book-4 a {line-height: 1.5;}

.template-book-4 {background-color: var(--primary-color) !important;}
.template-book-4-top, .template-book-4-portfolio, .template-book-4-info, .template-book-4-contact {min-height: 100vh; display: flex; align-items: center;}
.template-book-4-top h1 {padding-top: 50px !important; padding-bottom: 0 !important;}
.template-book-4 .tb4-noflex {display: block; position: relative; width: 100%;}
.template-book-4 .tb4-flex-column {display: flex; align-items: center; flex-direction: column; width: 100%;}
.template-book-4 .name {font-size: 45px; text-align: center; color: var(--text-color); margin-bottom: 0; margin-top: 45px; font-weight: bold; text-transform: initial;}
.template-book-4 .metier .activite {font-size: 22px; text-align: center; color: var(--secondary-color); margin-top: 10px;}
.template-book-4 .profil-background {height: 300px; width: 300px; margin: auto; position: relative; border-radius: 300px; background-position: center; background-size: cover; box-shadow: 0px 0px 40px var(--secondary-color);}
.template-book-4 h2 {font-size: 45px; text-align: center; color: var(--text-color); padding: 50px 0;}
.template-book-4 .template-book-4-portfolio {border-top: solid 2px var(--line-color); border-bottom: solid 2px var(--line-color);}
.template-book-4 .template-book-4-info {border-bottom: solid 2px var(--line-color);}
.template-book-4 .info {max-width: 1200px; margin: auto; position: relative;}
.template-book-4 .info .txt-desc, .template-book-4 .info li {color: var(--text-color);}
.template-book-4 .info .list-desc ul {list-style: none; margin: 50px 0; padding: 0px; display: flex; flex-wrap: wrap; gap: 20px;}
.template-book-4 .list-desc li {box-shadow: 1px 2px 20px 11px hsl(0deg 0% 100% / 4%); width: calc(50% - 13px); padding: 15px 25px; border-radius: 10px; background: var(--dark-color);}
.template-book-4 .container-contact {max-width: 1200px; margin: auto;}
.template-book-4 .contact-top {background: #212428; box-shadow: 4px 5px 27px #ffffff1a; border-radius: 3px; padding: 20px; text-align: center;}
.template-book-4 .contact-top p {color: white;}
.contact-none {display: none;}
.template-book-4 span {color:var(--text-color);}
.titre-galeries {text-align: center; color: var(--secondary-color); margin-bottom: 20px; font-size: 22px; margin-top: 50px; font-weight: initial !important;}
.template-book-4-portfolio h2 {padding-bottom: 0;}
.book-rs {display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; list-style: none; padding: 20px 0;}
.book-rs a {background-color: var(--text-color); display: block; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 5px;}
.book-rs svg {width: 24px; height: 24px; fill: var(--primary-color); display: block;}
.template-book-4-contact h2 {padding-bottom: 0;}
.book-galeries-img {column-gap: 1rem; width: 100%; padding: 10px;}
.book-galeries-img[data-columns="3"] {column-count: 3;}
.book-galeries-img[data-columns="2"] {column-count: 2;}
.book-galeries-img[data-columns="4"] {column-count: 4;}
.book-galeries-img .card {width: 100%; display: block; margin-bottom: 1rem; border-radius: 8px; overflow: hidden; break-inside: avoid; left: auto !important; top: auto !important;}
.book-galeries-img .card img, .book-galeries-img .card {max-width: 100%; height: auto;}
.book-author-country:before {display: none !important;}
.book-author-country .adresse-txt {padding-top: 3px; display: block;}

	
/* FORM CONTACT */
.template-book-4 .hc_bookBuilder_form_contact_fields {display: flex; flex-wrap: wrap; gap: 12px; width: 100%;}
.template-book-4 .hc_bookBuilder_form {margin: auto !important; max-width: 800px;} 
.template-book-4 .hc_bookBuilder_form_contact_fields .field_block {width: calc(50% - 6px);}
.template-book-4 .hc_bookBuilder_form_contact_fields .field_block input, .template-book-4 .hc_bookBuilder_form_contact_fields .field_block textarea {border: solid 1px var(--text-color); background: transparent; padding: 14px 18px; border-radius: 5px; color: var(--text-color);}
.template-book-4 .field_block_subject, .template-book-4 .field_block_message {width: 100% !important;}
.field_block input::placeholder, .field_block textarea::placeholder {color: var(--text-color) !important; opacity: 0.5;}
.template-book-4 .hc_bookBuilder_contact_submit {background: var(--btn-bg-color) !important; color: var(--btn-txt-color) !important; border: none !important; text-transform: initial !important; padding: 12px 25px !important; line-height: 1.5 !important; border-radius: 5px; font-size: 16px; margin: 25px auto !important; text-align: center; display: table; transition: .4s;}
.template-book-4 .hc_bookBuilder_contact_submit:hover {background: var(--btn-bg-color) !important; color: var(--btn-txt-color) !important; border: none !important; opacity: .8;}



.cv-preview .template-book-4 .name {font-size: 16px;}
.cv-preview .template-book-4 .profil-background {width: 130px; height: 130px;}
.cv-preview .template-book-4-top, .cv-preview .template-book-4-portfolio, .cv-preview .template-book-4-info, .cv-preview .template-book-4-contact {min-height: auto; padding: 30px 0;}
.cv-preview .template-book-4 h2 {font-size: 16px; padding: 20px 0;}
.cv-preview .template-book-4 .info .list-desc div {padding: 10px 1%;}
.cv-preview .template-book-4 .info {margin: 0 20px; line-height: 6px;}
.cv-preview .template-book-4 .activite {font-size: 10px; line-height: 18px;}
.cv-preview .template-book-4 .book-author-country {padding-top: 10px;}
.cv-preview .template-book-4 .book-author-country:before {font-size: 12px;}

@media screen and (max-width: 1200px) {
  	.template-book-4 .info {margin: 0 40px;}
}

@media (max-width: 1024px) {
  .book-galeries-img[data-columns="3"], .book-galeries-img[data-columns="4"] {column-count: 2;}
}

@media screen and (max-width: 700px) {
  	.template-book-4 .info .list-desc div {width: 100%; margin: 0 0 10px 0; padding-left: 25px;}
  	.template-book-4-top {padding: 50px 20px;}
  	.book-galeries-img {column-count: 1 !important;}
}