/*
Theme Name: Victorien
Theme URI: https://idizbox.com
Author: iDizBox
Author URI: https://idizbox.com
Description: Thème Victorien - By iDizBox - 2025
Version: 1.00
Text Domain: idbxboostrap1
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');


html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: visible !important;
}

body {
    background-color: #222839;
    color: #717A8F;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.mobile_only {
    display: none;
}

:focus {
    outline: 0!important;
}

a, a:visited, a:focus {
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.mb_10 { margin-bottom: 10px; }
.mb_15 { margin-bottom: 15px; }
.mb_20 { margin-bottom: 20px; }
.mb_25 { margin-bottom: 25px; }
.mb_30 { margin-bottom: 30px; }
.mt_10 { margin-top: 10px; }
.mt_15 { margin-top: 15px; }
.mt_20 { margin-top: 20px; }
.mt_25 { margin-top: 25px; }
.mt_30 { margin-top: 30px; }

h2, .h2 {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
}

.col_blue {
    color: #364160;
}

.btn, .btn:active, .btn:visited, .btn:focus {
    background-color: #364160;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10.5px 30px;
}

.btn:hover {
    background-color: #435a9a;
    color: #FFFFFF;
}

.btn_white, .btn_white:active, .btn_white:visited, .btn_white:focus {
    background-color: #FFFFFF;
    color: #364060;
}

.btn_white:hover {
    background-color: #435a9a;
    color: #FFFFFF;
}

.btn_light, .btn_light:active, .btn_light:visited, .btn_light:focus {
    background-color: #51608D;
}

.modal-body {
    padding: 30px;
}

.modal-content {
    border-radius: 10px;
    border: 0;
}

.modal-backdrop.show {
    opacity: 0;
}

.btn-close-custom {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    padding: 0;
    z-index: 10;
    cursor: pointer;
    opacity: 0.5;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.btn-close-custom:hover {
    opacity: 1;
}

.btn_link_back, .btn_link_back:visited, .btn_link_back:focus, .btn_link_back:active {
    font-weight: bold;
    color: #364060;
    opacity: 0.5;
}

.btn_link_back:hover {
    opacity: 1;
}

.modal-dialog {
    padding-top: 20px;
    padding-bottom: 20px;
}

/******************************************/
/****************** LOGO ******************/
/******************************************/

#top_logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 999;
    text-align: center;
}

#top_logo img {
    width: 162px;
    height: auto;
}

#top_logo h1 {
    color: #FFF;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    margin-top: 3px;
}

#top_menu {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 999;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 30px;
}

.hidemarkers #top_menu {
    display: none;
}

#top_menu a {
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
}

#top_menu_mobile {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 999;
    display: none;
    cursor: pointer;
}

.top_menu_toogler1, .top_menu_toogler2, .top_menu_toogler3 {
    width: 20px;
    height: 2px;
    display: block;
    background-color: #FFFFFF;
    position: relative;
}

.top_menu_toogler2 {
    margin: 5px 0;
}

#top_menu_mobile_cont {
    position: fixed;
    top: 75px;
    right: 15px;
    background: white;
    border-radius: 10px;
    padding: 15px 15px;
    display: none;
    z-index: 1000;
}

#top_menu_mobile_cont a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #222839;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}

#top_menu_mobile_cont a:last-child {
    margin-bottom: 0;
}

#top_menu_mob_cont.open .top_menu_toogler1 {
    transform: rotate(45deg);
    top: 7px;
}

#top_menu_mob_cont.open .top_menu_toogler2 {
    opacity: 0;
}

#top_menu_mob_cont.open .top_menu_toogler3 {
    transform: rotate(-45deg);
    top: -7px;
}


/******************************************/
/****************** MAP *******************/
/******************************************/

.page_carte {
    position: relative;
}

.page_carte:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: transparent;
    background: -webkit-linear-gradient(180deg, rgba(34, 40, 57, 1) 0%, rgba(34, 40, 57, 0) 100%);
    background: -moz-linear-gradient(180deg,rgba(34, 40, 57, 1) 0%, rgba(34, 40, 57, 0) 100%);
    background: linear-gradient(180deg, rgba(34, 40, 57, 1) 0%, rgba(34, 40, 57, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#222839", endColorstr="#222839", GradientType=0 );
    z-index: 999;
    pointer-events: none;
}

.page_carte:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: transparent;
    background: -webkit-linear-gradient(180deg, rgba(34, 40, 57, 0) 0%, rgba(34, 40, 57, 1) 100%);
    background: -moz-linear-gradient(180deg,rgba(34, 40, 57, 0) 0%, rgba(34, 40, 57, 1) 100%);
    background: linear-gradient(180deg, rgba(34, 40, 57, 0) 0%, rgba(34, 40, 57, 1) 100%);
    z-index: 999;
    pointer-events: none;
}

#map_container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
}

.marker-victorien .marker-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #FD453E;
/*  animation: glow-victorien 0.6s ease-in-out infinite alternate;*/
}

.marker-participant .marker-inner {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #FFDA05;
/*  animation: glow-participant 0.6s ease-in-out infinite alternate;*/
}

.hidemarkers #map_container .marker-victorien, .hidemarkers #map_container .marker-participant {
    display: none;
}

@keyframes glow-victorien {
  0% {
    background-color: #FD453E;
    box-shadow: 
      0 0 8px #FD453E, 
      0 0 15px #FD453E, 
      0 0 25px #FF6B5B, 
      0 0 40px #FFFFFF;
  }
  100% {
    background-color: #FF6B5B;
    box-shadow: 
      0 0 15px #FF6B5B, 
      0 0 25px #FF6B5B, 
      0 0 35px #FF9083, 
      0 0 50px #FFFFFF;
  }
}

@keyframes glow-participant {
  0% {
    background-color: #FFDA05;
    box-shadow: 
      0 0 8px #FFDA05, 
      0 0 15px #FFE63B, 
      0 0 25px #FFF36C, 
      0 0 35px #FFFFFF;
  }
  100% {
    background-color: #FFF899;
    box-shadow: 
      0 0 15px #FFF36C, 
      0 0 25px #FFF899, 
      0 0 35px #FFFFC2, 
      0 0 50px #FFFFFF;
  }
}

#btn_ajout_bottom_cont {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: none;
    min-width: max-content;
}

.showmarkers #btn_ajout_bottom_cont {
    display: block;
}

#btn_backtocarte {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translate(-50%, 0);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    opacity: 0.6;
    pointer-events: auto;
}

#btn_backtocarte:hover {
    opacity: 1;
}

#map_etape_1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    pointer-events: none;
}

#map_etape_1_pin {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -100%); 
    z-index: 9999; 
}

#btn_ajout_pin {
    position: absolute;
    bottom: 50px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 99999;
    pointer-events: auto;
    min-width: max-content;
}

#map_etape_1_top {
    text-align: center;
    position: absolute;
    max-width: 700px;
    left: 0;
    right: 0;
    margin: auto;
    top: 30px;
    pointer-events: none;
}

.map_etape_1_toptit {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.map_etape_1_topintro {
    color: #FFFFFF;
    font-size: 18px;
}

#map_etape_1_pin .marker-participant .marker-inner {
    width: 15px;
    height: 15px;
}

#map_etape_1_pin .marker-participant {
    position: relative;
}

#map_etape_1_pin .marker-participant .marker_top {
    height: 25px;
    width: 1px;
    background-color: #FFFFFF;
    position: absolute;
    top: -35px;
    left: 7px;
}

#map_etape_1_pin .marker-participant .marker_bottom {
    height: 25px;
    width: 1px;
    background-color: #FFFFFF;
    position: absolute;
    bottom: -35px;
    left: 7px;
}

#map_etape_1_pin .marker-participant .marker_left {
    width: 25px;
    height: 1px;
    background-color: #FFFFFF;
    position: absolute;
    top: 7px;
    left: -35px;
}

#map_etape_1_pin .marker-participant .marker_right {
    width: 25px;
    height: 1px;
    background-color: #FFFFFF;
    position: absolute;
    top: 7px;
    right: -35px;
}

/******************************************/
/*************** LEGENDE ******************/
/******************************************/

#legende_container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hidemarkers #legende_container {
    display: none;
}

.showmarkers #legende_container {
    display: flex;
}

.legende_victorien, .legende_participant {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.page_carte .leaflet-container .leaflet-control-attribution {
    background-color: transparent;
    color: #FFFFFF;
    font-size: 8px;
    opacity: 0.5;
    text-align: right;
}

.page_carte .leaflet-control-attribution a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 8px;
    -webkit-tap-highlight-color: transparent;
}

/**/

.modal-md.modal_md_mid {
    max-width: 645px;
}

.form-label {
    margin-bottom: 6px;
    font-weight: bold;
    color: #364160;
}

.form-control {
    font-size: 18px;
    color: #364160;
    padding: 10.5px;
    border: 2px solid #364160;
}

.form-control:focus, .form-select:focus {
    color: #364160;
    background-color: #FFFFFF;
    border-color: #364160;
    box-shadow: none;
}

.form-select {
    font-size: 18px;
    color: #364160;
    padding: 10.5px 32.5px 10.5px 10.5px;
    border: 2px solid #364160;
}

textarea.form-control {
    min-height: 179px;
    resize: none;
}

.modal_form_stepcont {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translate(-50%, 0px);
    background-color: #51618D;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    /* height: 30px; */
    width: 120px;
    text-align: center;
    padding: 4.5px;
}

.form_photo_cont {
    margin-top: 32px;
}

.form_photo_cont .image_upload_wrap {
    aspect-ratio: 1 / 1;
    background-color: #EAEEF9;
    border: 2px solid #364160;
    border-radius: 10px;
    height: auto;
    margin: auto;
    max-height: 180px;
    max-width: 180px;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
}

.form_photo_cont .image_upload_input {
    cursor: pointer;
    height: 100%;
    left: 0;
    margin: 0;
    opacity: 0;
    outline: none;
    padding: 0;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.form_photo_cont .image_upload_wrap .drag_text {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.form_photo_cont .image_upload_content {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    height: auto;
    margin: auto;
    max-height: 180px;
    max-width: 180px;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
    background-color: #EAEEF9;
    border: 2px solid #364160;
}

.form_photo_cont .image_upload_content img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.form_photo_cont .remove_image {
    background-color: #364160;
    border-radius: 100px;
    cursor: pointer;
    height: 28px;
    width: 28px;
    position: absolute;
    right: 5px;
    top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drap_text_titcont {
    color: #364160;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    margin-top: 15px;
    margin-bottom: 15px;
}

.drap_text_soustitcont {
    color: #364160;
    opacity: 0.5;
    font-size: 14px;
}

.form-check-input[type=checkbox] {
    border-radius: 5px;
    border: 2px solid #364160;
    width: 20px;
    height: 20px;
    margin: 0;
}

label.form-check-label {
    color: #364160;
}

.form-check-input:checked {
    background-color: #364160;
    border-color: #364160;
}

.form-check-input:focus {
    border-color: #364160;
    box-shadow: none;
}

.form_check_cont {
    display: flex;
    align-items: center;
    gap: 6px;
}

.participation_step_3_bntcont {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal_post_imgcont {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
}

.modal_post_imgcont img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal_post_nom {
    font-size: 22px;
    font-weight: bold;
    color: #364160;
}

.modal_post_txt {
    margin-top: 20px;
}

.modal_post_localisation {
    font-size: 12px;
}

.modal-lg, .modal-xl {
    max-width: 700px;
}

.modal-open #btn_ajout_bottom_cont {
    display: none;
}

/* MODERATION */

#top_statuts_cont {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.btn_actif, .btn_actif:active, .btn_actif:visited, .btn_actif:focus {
    color: #2052f4;
}

.btn_actif:hover {
    color: #FFFFFF;
}

.moderation_container_solo {
    background-color: #FFFFFF;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
}

.moderation_container_photo {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
    background-color: #d4dee6;
}

.moderation_container_photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn_green, .btn_green:active, .btn_green:visited, .btn_green:focus {
    background-color: #139513;
    padding: 10px;
    font-size: 16px;
}

.btn_green:hover {
    background-color: #0bb90b;
}

.btn_red, .btn_red:active, .btn_red:visited, .btn_red:focus {
    background-color: #a00e0e;
    padding: 10px;
    font-size: 16px;
}

.btn_red:hover {
    background-color: #c50707;
}

ul.page-numbers {
    margin: 0;
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
    text-align: center;
}

ul.page-numbers li {
    display: inline-block;
    margin: 10px;
}

ul.page-numbers li a.page-numbers {
    color: #FFFFFF;
    font-weight: 600;
}

ul.page-numbers li span.page-numbers.current {
    background-color: #FFFFFF;
    display: block;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #222839;
    border-radius: 100%;
}

.moderation_container_date {
    font-size: 12px;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    
    body {
        font-size: 16px;
    }
    
    h2, .h2 {
        font-size: 20px;
    }
    
    .btn, .btn:active, .btn:visited, .btn:focus {
        font-size: 16px;
    }
    
    .page_carte:before {
        height: 220px;
    }
    
    #top_logo {
        top: 15px;
        left: 15px;
    }
    
    #btn_ajout_bottom_cont, #btn_ajout_pin {
        bottom: 60px;
    }
    
    #btn_backtocarte {
        bottom: 30px;
    }
    
    #map_etape_1_top {
        top: 74px;
        padding: 0 15px;
    }
    
    .map_etape_1_toptit {
        font-size: 18px;
    }
    
    .map_etape_1_topintro {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .participation_step_3_bntcont {
        flex-direction: column;
        gap: 10px;
    }
    
    #top_statuts_cont .btn {
        padding: 6px !important;
    }
    
    #top_menu {
        display: none;
    }
    
    #top_menu_mobile {
        display: block;
    }
    
    .hidemarkers #top_menu_mobile {
        display: none;
    }
    
}