@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
@import url("./animate.min.css");

:root {
    --size-normal: 18px;
    --size-title: 42px;
    --white: var(--bs-white);
    --black: var(--bs-black);
    --primary: #247b24;
}
body {
  font-size: var(--size-normal);
  font-family: "Poppins", sans-serif;
  color: #222222;
}

#header-page {
  padding-block: 2rem;
  box-shadow: 0 10px 20px 0 rgba(55, 147, 55, 0.333);
  margin-bottom: 10px;
  position: relative;
  transition: all 0.3s;
}

.brand-lnk {
  height: 100%;
  color: #222222;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.brand-lnk:hover, .brand-lnk:focus {
  color: #222222;
}
.brand-lnk .brand-txt {
  display: inline-block;
  margin: 0;
  margin-left: 1rem;
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-line {
    display: block;
    font-size: 12px;
    font-weight: 600;
    padding-right: 2rem;
}
.brand-line-min {
  text-transform: unset;
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-block: .25rem;
  color: var(--bs-gray-800);
}
.logo-img {
  width: 90px;
}

.line-mnu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.line-mnu > a, .line-mnu > *, .line-mnu .dropdown {
  text-decoration: none !important;
  color: #222222 !important;
  font-size: 20px;
  font-weight: 500;
  margin-right: 1.95rem;
}
.line-mnu .dropdown-toggle {
  text-decoration: none !important;
  color: #222222 !important;
  font-size: 20px;
  font-weight: 500;
}

  
.btns-right {
    text-align: right;
}
.btns-right button {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.search-bar {
    display: none;
    background-color: rgba(230, 230, 230, 0.2);
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem;
    z-index: 999;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(35px);
    animation: fadeInUp 0.3s;
  }
  .search-bar .input-group {
    max-width: 600px;
    margin: 0 auto;
  }
  .search-bar .input-group .btn, .search-bar .input-group input {
    border-radius: 4px;
  }
  .search-bar.show {
    display: block;
  }
  
.jumbo-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 1rem;
}
.jumbo-txt {
  font-size: 24px;
  margin-bottom: 2rem;
  color: #727272;
}
.sub-desc {
  font-size: calc(var(--size-normal) + 6px);
  color: var(--bs-gray-800);
}

/* Boutons */
.btn {
    font-size: 18px;
    font-weight: 500;
    border-radius: 30px;
    padding: .6rem 1.5rem;
}

.btn-prime {
    border: 2px solid #379337;
    color: #379337;
    position: relative;
    z-index: 30;
    overflow: hidden;
}
.btn-prime::before {
  content: "";
  display: inline-block;
  height: 105%;
  width: 105%;
  background-color: #379337;
  border-radius: 15px;
  position: absolute;
  bottom: -100%;
  left: -100%;
  z-index: -1;
  transition: .2s all ease-in;
}
.btn-prime:hover::before, .btn-prime:focus::before {
  bottom: 0;
  left: 0;
}
.btn-prime:hover, .btn-prime:focus, .btn-prime:active {
    color: var(--white) !important; 
    border: 2px solid #379337;
}

#btn-menu {
  display: none;
}
  
  .title-sx {
    font-size: var(--size-title);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 3rem;
  }
  .title-sx::after {
    content: "";
    display: block;
    height: 8px;
    width: 180px;
    margin-top: 0.6rem;
    background-color: #ffea00;
  }

.actu-sx {
    padding-block: 6rem;
}

.actu-ctn-in {
    background-color: #102c18;
    color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
}
.card-actu {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s all;
}
.card-actu:hover {
    background-color: var(--white);
    color: #222222;
}
.card-actu:hover .card-actu-img {
    transform: scale(1.1);
}
.card-actu-img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
    transition: .3s all;
}
.card-actu-caption {
    padding: 1.5rem 1rem;
}
.card-actu-title {
    font-size: 24px;
    font-weight: 700;
}
.card-actu-date {
    font-size: var(--size-normal);
}


.resrc-sx {
  padding-block: 6rem;
  background-color: #e2eeff;
}

.card-doc {
  position: relative;
  border: 2px solid #222222;
  min-height: 250px;
  width: 100%;
  padding: 1rem 2rem;
  clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 50px);
  transition: .3s all;
}
.card-doc a {
  text-decoration: none;
  font-weight: 600;
  font-size: 24px;
  color: #222222;

}

.card-doc:hover {
  color: var(--white);
  background-color: #222222;
}
.card-doc:hover a {
  color: var(--white);
  text-decoration: none;
}
.fk-lnk {
  text-align: right;
  font-size: var(--size-normal);
  margin-top: 1.5rem;
}


#dwn-footer {
  background-color: #e6e6e6;
  border-top: 5px solid #247b24;
  padding-block: 3rem;
}
.ftr-lnks {
  text-align: right;
}

.ftr-lnks a {
  color: var(--black);
  text-decoration: none;
  display: inline-block;
  padding-left: 1rem;
  font-size: 16px;
}
.ftr-lnks a:hover, .ftr-lnks a:focus {
  text-decoration: underline;
}

/* Page */
#pre-header {
  background-color: #085508;
  padding-block: 4rem;
  color: #fff;
}
#pre-header .dropdown {
  text-align: right;
  margin-top: 3.5rem;
}
#pre-header .btn.dropdown-toggle {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
}
#pre-header .btn.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "...";
  border-top: unset;
  border-right: unset;
  border-bottom: unset;
  border-left: unset;
  color: #fff;
}

.page-sx {
  padding-block: 5rem;
}
.page-title {
  text-transform: uppercase;
  font-size: var(--size-title);
  font-weight: 700;
}

.custm-tab-in {
  min-height: 350px;
  background-color: #f2f2f2;
  padding: 3rem 2rem;
  border-radius: 20px;
  line-height: 1.7;
}

.custm-tab-in p{
  max-width: 820px;
}

.nav-pills .nav-link, .nav-pills .show > .nav-link {
  padding: .5rem 3rem !important;
}

.content-txt {
  max-width: 770px;
  margin: 1.5rem auto;
  font-size: var(--size-normal);
  line-height: 1.7;
}
.content-txt p {
  margin-bottom: 1.25rem;
}

.block-display-code {
  background-color: var(--black);
  color: var(--white);
  border-radius: 15px;
  margin-bottom: 2rem;
  padding: 2rem;
  font-size: 16px;
}
.flw-code {
  font-size: 24px;
  font-weight: 700;
  display: inline-block;
  border: 1px solid #ffea00;
  padding: .125rem .5rem;
}
label {
  font-size: calc(var(--size-normal) - 2px);
  font-weight: 500;
}
fieldset {
  margin-bottom: 2rem;
}
fieldset h4, legend {
  font-weight: 600;
  font-size: var(--size-normal);
}
fieldset h5 {
  font-weight: 500;
  font-size: calc(var(--size-normal) - 2px);
}
.table td, .table th {
  font-size: calc(var(--size-normal) - 4px);
}
.table .form-control {
  background-color: #f9f9f9;
}

/* if */
#ifFormationPrecedente, #ifSecteurPublic, #ifDiplomePrecedent, #autres_cycles, #post-bac, #preBac_table, #bachelier_table, #post_universitaire {
  display: none;
}
.img-preview {
  margin-block: 1rem;
}
.img-preview img {
  max-width: 200px;
}

/* Media Queries */
/* Extra Large devices */
@media screen and (max-width: 1399.98px) {
    
}

/* Large devices */
@media screen and (max-width: 1199.98px) {
    #btn-menu {
      display: inline-block;
    }
    .line-mnu {
      flex-direction: column;
      align-items: flex-start;
      padding: 2rem;
    }
    .line-mnu  a{
      display: block;
      margin-bottom: 1rem;
    }

}

/* Medium devices */
@media screen and (max-width: 991.98px) {
   
}

/* small devices */
@media screen and (max-width: 767.98px) {
   
}
/*Extra small*/
@media screen and (max-width: 575.98px){
    
}

@media screen and (max-width: 450px){
   
}