/* Personal Styling of CAMPUSEN */

:root {
    --vert: #0B6C27;
    --jeune: #EED058;
}

*{
    font-size: 13px;
}

.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.active {
    font-weight: bold;
}

.my_section {
    min-height: calc(100vh - 100px);
}

.bold {
    font-weight: 700;
}

#carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  #carousel img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  #carousel img.active {
    opacity: 1;
  }  

.btn_campusen {
    border-radius: 5px;
    font-weight: 700;
    /* padding: 5px 10px; */
    cursor: pointer;
    box-shadow: 0px 7px 15px rgba(0, 0, 0, 0.05);
    transition: 300ms;
}

.btn_campusen:hover {
    box-shadow: 0px 7px 15px rgba(0, 0, 0, 0.2);
}

.btn_campusen.white {
    color: #45B56F;
    background: #FFFFFF;
    border: 1.4px solid #45B56F;
}

.btn_campusen.youtube {
    background: #FFFFFF;
    border: 1.4px solid #cecece;
}

.btn_campusen.desactive {
    background: #ababab !important;
    border: 1.4px solid #979797;
    color: #545454;
}

.btn_campusen.green {
    background: linear-gradient(92.18deg, #096624 -9.52%, #17A53F 120.36%);
    color: #FFFFFF;
}

.btn_campusen.green:hover {
    background: linear-gradient(92.18deg, #096624 60.52%, #17A53F 180.36%);
}

.btn_campusen.white:hover {
    background: linear-gradient(92.18deg, #ffffff 60.52%, #f5fff8 180.36%);
}

.btn_campusen.white.header:hover {
    background: var(--vert);
    border: 1.4px solid var(--vert);
}
.btn_campusen.desactive:hover {
    cursor: not-allowed;
    box-shadow: 0px 7px 15px rgba(255, 255, 255, 0);

}

.btn_campusen.white a {
    color: #45B56F;
    font-weight: 700;
}

.btn_campusen.green a {
    color: #FFFFFF;
    font-weight: 700;
}

.btn_campusen.white.header:hover a {
    color: #FFFFFF;
}

.alert_campusen {
    position: relative;
}

.alert_campusen .alert_text {
    margin-top: -15px;
}

.alert_campusen .icone {
    position: absolute;
    width: 30px;
    left: 20px;
    top: -15px;
}

.right_section .alert_campusen .icone {
    position: absolute;
    width: 30px;
    left: 20px;
    top: -31px;
}

.alert_campusen .icone img {
    width: 100%;
}

.alert_campusen.attention .alert_text {
    background: #FEF7EA;
    border: 1px solid #EE9500;
}

.alert_campusen.info .alert_text {
    background: #E6EFFA;
    border: 1px solid #006EE7;
}

.alert_campusen.success .alert_text {
    background: #ecfdf0;
    border: 1px solid #40BF62;
}

.alert_campusen.danger .alert_text {
    background: #fae5e1;
    border: 1px solid #EC4D2C;
}
.alert_campusen.ai .alert_text {
    background: #faf4ff;
    border: 1px solid #6105A9;
}

/* Connexion */

.campusen_input {
    border: .07px solid #888888;
}

.campusen_input:focus {
    border: .5px solid rgb(22 163 74);
}


/* Surd�finiton de quelques input de tailwond css */

[type='text']:focus,
[type='email']:focus,
[type='url']:focus,
[type='password']:focus,
[type='number']:focus,
[type='date']:focus,
[type='datetime-local']:focus,
[type='month']:focus,
[type='search']:focus,
[type='tel']:focus,
[type='time']:focus,
[type='week']:focus,
[multiple]:focus,
textarea:focus,
select:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-offset-width: 0px;
    --tw-ring-color: var(--vert);
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    border-color: 0.7px solid #a9a9a9;
}

.alert_campusen.connexion .icone {
    top: -30px;
}




/* script logout*/

.btn_power_campusen.white {
    color: #a91111;
    background: #FFFFFF;
    border: 1.4px solid #a91111;
}

.btn_power_campusen {
    border-radius: 5px;
    font-weight: 700;
    padding: 5px 10px;
    cursor: pointer;
    box-shadow: 0px 7px 15px rgba(0, 0, 0, 0.05);
    transition: 300ms;
}

.btn_power_campusen.white i {
    color: #a91111;
    font-weight: bolder;
}

.btn_power_campusen.white.header:hover {
    background: #a91111;
    border: 1.4px solid #a91111;
    color: white;
}

.btn_power_campusen.white:hover i {
    color: white;
}

.light_border{
    border: #dcdcdc 0.4px solid;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.iti {
    width: 100%;
}
.iti__flag {background-image: url("../intl-tel-input-19.2.12/build/img/flags.png");}

@media (min-resolution: 2x) {
  .iti__flag {background-image: url("../intl-tel-input-19.2.12/build/img/flags@2x.png");}
}

.ui-state-default{
    ground: #fcfcfc;
    border-radius: 6px;
    min-height: 54px;
    border: 0.7px solid #d2d2d2;
    cursor: grab;
    transition: 50ms;
    margin: 3px;
    padding: 10px 20px;
}

.menu-header a{
    border-bottom: 1px solid #EFEFEF;
}

.ui-state-default:hover{
    transform: scale(1.01);
}
.ui-state-default.ordre_choix{
    width: 97%;
    background: #f3f3f3;
    color: #888888;
    justify-content: center;
}
.ui-state-default.ordre_choix:hover{
    transform: scale(1);
}

.ui-state-default input {
    width: 95%;
    padding: 0px;
}

.popup-sms-container {
    height: 100vh;
    z-index: 100;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
    border: solid 1px #545454;
    animation: fadeIn 0.5s ease-in-out;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background: #00000060;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
@media screen and (max-width: 800px)  {
    .my_section {
        min-height:auto !important;
    }
    .form_select select{
        font-size: 12px;
    }
    .ui-state-default{
        font-size: 12px;
    }
    .ui-state-default.ordre_choix{
        max-width: 60px !important;
        justify-content: center;
        padding:5px;
    }
}

@media screen and (max-width: 500px)  {
  .ui-state-default{
    font-size: 2.4vw;
}
}

#stickyNbChoixValide, #stickyNbChoix{
    position: sticky;
    top : 85px;
}

.code::-webkit-inner-spin-button,
.code::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide arrows for Firefox */
.code {
    -moz-appearance: textfield;
}

input{
    border-radius: 8px;
    border: 1px solid #d2d2d2 !important;
}

.repartition:has(.repetition_deleter:hover){
    background: #fff4f4 !important;
    border: 1px solid #EC4D2C !important;
    box-shadow: 0px 7px 15px rgba(236, 77, 44, 0.2) !important;
    transition: 0.3s;
}