/*
  Theme Name: TEMPLATE MESRS
  Theme Maker: Espoir Plus Technologie
  Version: 1.0
*/

@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700|Roboto:300,400,500,700");
@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700|Roboto:300,400,500,700");

:root {
  /*--primbgClr: #6b8f92 !important;*/
  --primbgClr: #344051 !important;
  --primbgLightClr: #415065 !important;
  --primbgneutralClr: transparent !important;
  --primbgdarkClr: #1e252f !important;
  /*--primbgdarkClr: #577375 !important;*/
  --secdbgClr: #f5a029 !important;
  --textwhite: #fff !important;
  --textPrimary: #6b8f92 !important;
  --textPrimary2: #375254 !important;
  --footerColor: #2a2b2b !important;
  --bkgColor: #f3f2ef;
  --bkgColor2: #d0d0d0;
  --bkgColor3: #f2f2f2;
  --skyblue: rgb(34, 139, 204);
  --peach: rgb(234, 81, 120);
  --gold: rgb(238, 177, 34);
}

.sykblue {
  background-color: var(--skyblue);
}

.peach {
  background-color: var(--peach);
}

.gold {
  background-color: var(--gold);
}

.section,
.section2,
.section3 {
  padding: 20px;
}

.section2 {
  background-color: var(--bs-white);
}

.section3 {
  background-color: var(--bkgColor3);
}

body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: var(--bkgColor);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.primary-bg {
  background: var(--primbgClr);
}

.primary-light-bg {
  background: var(--primbgLightClr);
}

.primary-neutral-bg {
  background: var(--primbgneutralClr);
}

.primary-dark-bg {
  background: var(--primbgdarkClr);
}

.primary-text {
  color: var(--primbgClr);
}

.top-header {
  background-color: var(--primbgClr);
}

.section-title {
  font-family: "Montserrat", sans-serif;
  color: var(--skyblue);
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 24px;
  /*text-decoration: underline;*/
}

.top-header a {
  color: var(--textwhite);
  font-size: 12px;
  text-decoration: none;
  margin: 0 13px;
}

.top-header a:hover {
  text-shadow: 2px 2px var(--primbgdarkClr);
  font-weight: bold;
  font-size: 13px;
}

.top-header a i {
  font-size: 17px;
}

.social-links a {
  margin: 8px 4px;
}
.social-links-icons {
  padding-top: 4px;
}

#main-menu .nav-link {
  font-weight: 600;
  color: #344051;
  font-size: 17px;
}

#main-menu .nav-link.active {
  color: var(--primbgClr);
}

#navbarSupportedContent {
  /*overflow-x: scroll;*/
  /*right: 0;*/
}

.dropdown-menu {
  background-color: var(--primbgdarkClr);
  padding: 0;
}

.dropdown-menu .dropdown-item {
  color: #fff;
}

.dropdown-menu .dropdown-item:hover {
  color: rgb(24, 102, 150) !important;
  background-color: white;
  font-weight: 600;
}

#main-menu .dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 12px;
}

.searchlink {
  border-radius: 50%;
  border: 1px solid #777777;
  padding: 6px 10px !important;
}

/****CAROUSEL***/

.carousel-item .imgcontent {
  width: 100%;
  height: 70vh;
  background-repeat: no-repeat;
  background-size: cover;
  animation: fadeIn 1.8s ease;
}

.carousel-item .captionsection {
  width: 28%;
  position: absolute;
  z-index: 2;
  right: 10%;
  bottom: 0;
  height: 210px;
  font-size: 30px;
  background-color: rgba(52, 64, 81, 0.6);
}

.carousel-item .captionsection .captionsection-content {
  position: absolute;
  top: 26%;
  left: 9%;
  padding-right: 30px;
}

.captionsection-content h6 {
  color: #fff;
  font-weight: 800;
  margin-right: 25px;
  text-align: justify;
  animation: zoomInLeftTxt 0.4s ease;
}

.captionsection-content a {
  text-decoration: none;
  animation: bounce-in 2s ease;
}

.carousel .navigationbtbn {
  position: absolute;
  z-index: 5;
  bottom: 1.3% !important;
  right: 10%;
}

.carousel .navigationbtbn button {
  border: none;
  background-color: rgba(0, 0, 0, 0.8);
}

/****CAROUSEL***/
.access-rapide-slide .item {
  height: 171px;
  width: 200px;
  border-radius: 8px;
  position: relative;
  margin: 0 10px;
  color: #fff;
}

.access-rapide-slide .partner {
  height: 171px;
  width: 200px;
  border-radius: 8px;
  position: relative;
  margin: 0 10px;
  color: #fff;
}

.access-rapide-slide .item:hover {
  background-color: var(--primbgdarkClr);
}

.access-rapide-slide .item a {
  text-decoration: none;
  /*margin: 20px auto;*/
  padding: 0 10px;
  text-align: center;
}

.access-rapide-slide .item a i {
  font-size: 45px;
  background-color: var(--textwhite);
  border-radius: 50%;
  padding: 20px;
  color: #1a1e21 !important;
  margin-top: 20px;
}

.access-rapide-slide .item a h4 {
  color: var(--textwhite);
  font-size: 15px;
  font-weight: 700;
  margin-top: 20px;
  text-transform: uppercase;
}

.access-rapide-slide .item a small {
  color: var(--textwhite);
}

@font-face {
  font-family: fancy-font;
  src: url("../webfonts/HandSignatureDemoRegular.ttf");
}

.mot-du-ministre {
  position: relative;
  display: flex;
  align-items: center !important;
}

.mot-du-ministre h1 {
  font-family: fancy-font;
  animation: slideInLeft 0.5s ease;
  margin-bottom: 30px;
}

.mot-du-ministre .image-minstre {
  width: 45%;
  position: relative;
}

.mot-du-ministre .image-minstre img {
  border-radius: 10px;
  position: relative;
  z-index: 2;
  height: 320px;
  animation: fadeIn 1.9s ease;
}

.image-minstre h4 {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  width: 100%;
  transition: 0.5s ease;
  opacity: 0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

.image-minstre:hover .image-minstre > h4 {
  opacity: 1;
}

.nav-tabs .nav-link {
  color: var(--skyblue);
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background-color: var(--primbgdarkClr);
  color: #ffffff;
}

.actualite-img {
  height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.dateholder {
  position: absolute;
  top: -58%;
  right: 0;
  margin-bottom: 20px;
  text-align: center;
}

.actualite-content {
  height: 180px;
}

.actualite-content h6 {
  font-size: 0.8rem;
}

.actualite-btn {
  bottom: 5px;
  left: 15%;
  width: 75%;
  position: absolute;
  margin: 15px 0;
  background-color: #2f80ed;
  color: #fff3cd;
  font-size: 12px;
}

.actualite-btn:hover {
  /*border-color: #2f80ed;*/
  border: 1px solid #2f80ed;
}

.comminquer-section {
  height: 380px;
}

.commnique-txt {
  height: 120px;
  display: flex;
  align-items: center !important;
  justify-content: center;
  margin-bottom: 30px;
}

.flag-look-like {
  display: flex;
  height: 5px;
}

.flag-look-like .green-block {
  background-color: #108757;
}

.flag-look-like .yellow-block {
  background-color: #fbd142;
}

.flag-look-like .red-block {
  background-color: #e92d38;
}

footer {
  margin-top: 20px;
  background-color: var(--primbgClr);
}

footer h5 {
  font-size: 22px;
  color: white;
}

footer ul {
  margin: 0px;
  list-style-type: none;
  font-size: 14px;
  padding: 0px 0px 10px 0px;
}

footer ul li {
  padding: 10px 0px 5px 0px;
}

footer ul li a,
footer ul li p {
  color: var(--bs-white);
  text-decoration: none;
}

footer i {
  font-size: 19px !important;
}

.footer-rights-section {
  justify-content: space-between;
  align-items: center;
  display: flex;
  padding: 15px 0 5px 0;
}

footer .social-links i {
  font-size: 22px !important;
}

/* zoomInLeft animation declaration & iteration counting */
.zoomInLeft {
  animation-name: zoomInLeft;
}

.communique-card {
  width: auto;
  height: 230px;
  background: #6c82a8;
  box-sizing: border-box;
  padding: 16px;
  margin-bottom: 40px;
  border-radius: 4px;
  position: relative;
}

.communique-card p {
  margin-top: 60px;
  height: 105px;
  font-size: 18px;
  line-height: 135%;
  letter-spacing: -0.02em;
  color: #f4f5f7;
  transition: margin-top 1s;
  transition-duration: 0.3s;
}

.communique-card .img-armoirie {
  display: block;
  width: 40px;
  /*margin: 0 auto;*/
}

.communique-card .showbtn {
  font-weight: bold;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: #aa9033;
  box-shadow: 0px 4px 8px rgb(0 0 0 / 20%);
  border-radius: 30px;
  display: none;
  /*-webkit-transform: translateY(-50px);*/
  /*-ms-transform: translateY(-50px);*/
  /*transform: translateY(-50px);*/
  /*transition: display 2s ease-in;*/
  margin: 0 auto;
  margin-top: 0.5rem;
}

.communique-card:hover .showbtn {
  display: block;
  animation: slideBtn 0.6s ease-in;
}

.communique-card:hover p {
  margin-top: 10px;
  animation: slideTextup 0.5s ease-in;
  /*-webkit-animation: slide-up .5s ease-in;*/
  /*-moz-animation: slide-up .5s ease-in;*/
}

.shareBtn {
  position: absolute;
  z-index: 5;
  left: 5px;
  top: -36%;
  display: inline-block;
}

.shareBtn:hover .shareBtn-content,
.shareBtn:focus .shareBtn-content {
  display: block;
  transition: transform 0.8s;
}

.shareBtn > span {
  background-color: var(--primbgClr);
  height: 30px;
  width: 30px;
  border-radius: 50%;
  color: #fff;
  padding: 10px 13px;
}

.shareBtn-content {
  display: none;
  position: absolute;
  min-width: 66px;
  padding: 12px 16px;
  z-index: 1;
  top: -110px;
  left: -6px;
  transition: all 0.8s ease-in-out;
}

.shareBtn-content .z-depth-2 {
  color: var(--skyblue);
  font-size: 20px;
  /*box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}

.crumbs {
  display: flex;
  justify-content: center;
}

@keyframes slideTextup {
  from {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    /*opacity: 0;*/
  }
  to {
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    /*opacity: 1;*/
  }
}

/* zoomInLeft animation keyframes */
@keyframes zoomInLeft {
  from {
    transform: scale(5) translateX(-50%);
    opacity: 0;
  }
}

@keyframes zoomInLeftTxt {
  from {
    transform: scale(10) translateX(-50%);
    opacity: 0;
  }
}

.bounce-in {
  animation: bounce-in 2s ease;
}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.rotate-in-down-left {
  animation: rotate-in-down-left 2s ease;
}

@keyframes rotate-in-down-left {
  0% {
    transform-origin: left bottom;
    transform: rotate(-90deg);
    opacity: 0;
  }
  100% {
    transform-origin: left bottom;
    transform: rotate(0);
    opacity: 1;
  }
}

.breadcrumb-section {
  min-height: 130px;
  padding: 20px 0;
  color: #ffffff;
}

.crumbs {
  display: flex;
  justify-content: center;
}

.crumbs span {
  background-color: var(--primbgdarkClr);
  margin: 3px 10px;
  padding: 10px;
  font-size: small;
  border-radius: 15px;
  text-transform: uppercase;
}

.crumbs span a {
  color: #ffffff;
  text-decoration: none;
}

.crumbs span.active {
  background-color: #ffffff;
  color: #000000;
}

.services {
  width: 100%;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 5px;
  background: whitesmoke;
  position: relative;
  -moz-box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%),
    0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
  box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%),
    0 1px 5px 0 rgb(0 0 0 / 12%);
}

.services .icon {
  line-height: 1.3;
  position: relative;
  display: inline-block;
  border-radius: 50%;
  margin-bottom: 7px;
}

.services .icon span {
  font-size: 50px;
  color: #cdb30c;
}

.services .media-body {
  position: relative;
  text-align: center;
}

.services .media-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #323232;
  text-transform: uppercase;
  text-align: center;
}

.services .btn-custom {
  position: absolute;
  bottom: 0;
  right: 50px;
  width: 40px;
  height: 40px;
  background: var(--primbgClr);
  border-radius: 50%;
  opacity: 0;
  text-decoration: none;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.services .btn-custom span {
  color: #cdb30c;
}

@media (max-width: 991.98px) {
  .services .btn-custom {
    right: 30px;
    opacity: 1;
  }
}

.services.active {
  background: #cdb30c;
}

.services.active h3 {
  color: #000000;
}

.services.active .icon span {
  color: #000000;
}

.services:hover {
  background: var(--primbgdarkClr);
}

.services:hover h3 {
  color: #ffffff;
}

.services:hover .icon span {
  color: #000000;
}

.services:hover .btn-custom {
  opacity: 1;
  right: 30px;
}

.leministre {
  display: flex;
}

.headofdepartmentdetails {
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #1a1e21;
  background-position: top;
  position: relative;
  min-height: 670px;
  width: 50%;
}

.info-headofdepartmentdetails {
  width: 50%;
}

.headofdepartmentdetails .responsable {
  position: absolute;
  bottom: 0;
  color: #fff;
  width: 100%;
  background-color: #1a1e21bd;
}

.headofdepartmentdetails h5,
.headofdepartmentdetails h3 {
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

.list-style-none {
  list-style: none;
  padding-left: 15px;
}

.responsable img {
  height: 60px;
  /*margin: 0 auto;*/
  /*display: block;*/
}

.flash-info .alert-info-icon {
  background-color: firebrick !important;
}

.flash-info #marquee {
  background: #1e252f;
  color: #ffffff;
  font-weight: 800;
}

.footer-galary img {
  height: 70px;
}

.newsletter {
  width: 100%;
  margin: 0 auto;
}

.newsletter input {
  color: #ffffff;
}

.newsletter input:focus {
  background-color: var(--primbgdarkClr);
  outline: none !important;
  box-shadow: none;
  color: #ffffff;
}

.der-article {
  background-color: var(--primbgLightClr);
  margin-bottom: 10px;
  text-decoration: none;
}

.der-article-page {
  background-color: #e5e5e5;
  margin-bottom: 10px;
  text-decoration: none;
}

.der-article i,
.der-article-page i {
  font-size: 13px !important;
  padding-right: 5px;
}

.der-article .flex-grow-1 {
  color: #ffffff;
}

.der-article-page .flex-grow-1 {
  color: #3f3e3e;
  font-size: 13px;
}

.der-article img,
.der-article-page img {
  height: 70px;
}

.info-surle-ministe {
  color: #ffffff;
}

.info-surle-ministe i {
  background-color: #ffffff;
  padding: 15px;
  margin-right: 10px;
  border-radius: 50%;
  color: var(--primbgdarkClr);
}

.info-surle-ministe:hover i {
  background-color: var(--primbgLightClr);
  color: #ffffff;
}

.side-menu a.active {
  background-color: var(--primbgdarkClr);
  color: #fff;
  border: none;
}

.side-menu a:hover {
  background-color: var(--primbgLightClr);
  color: #fff;
}

.sn5img {
  width: 250px;
}

.partners img {
  height: 80px;
  filter: grayscale(100%);
  padding: 0 10px;
}

.partners img:hover {
  filter: unset;
}

.cookie-section {
  /*display: block;*/
  /*opacity: 1;*/
  background: #333;
  color: #fff;
  font-size: 15px !important;
  left: 0;
  position: fixed;
  box-sizing: content-box;
  text-align: center;
  padding: 10px 0 10px 0;
  margin: auto;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

.actualite-content .date-thema {
  margin: 10px 0;
}

.thematiquetable td {
  /*display: inline-block;*/
}

.scroll-top {
  width: 40px;
  height: 40px;
  line-height: 33px;
  position: fixed;
  bottom: 105%;
  right: 20px;
  font-size: 30px;
  z-index: 99;
  color: #252638;
  border-radius: 50%;
  border: 2px solid #252638;
  text-align: center;
  background: #ffffff;
  opacity: 0.1;
  cursor: pointer;
  font-weight: 400;
  transition: 1s ease;
  box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 20%);
}

.scroll-top:hover {
  opacity: 0.8;
}

.scroll-top.open {
  bottom: 30px;
}

.resultat-search {
  margin: 0 auto 40px auto;
  width: 50%;
}

.dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item:active {
  color: white;
  background-color: var(--primbgdarkClr);
}

.testResultbg {
  /*height: 120px;*/
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  /*background-image: url("../img/resbg.jpg");*/
  /*background-image: url("../img/ODD-728_156-modif.png");*/
  background-color: var(--primbgClr);
  padding: 15px;
}
.lien-utiles {
  height: 282px;
  overflow-y: auto;
}
.footer-last-article {
  height: 180px;
  overflow-y: auto;
}
/*__Top search bar__*/
.header-search {
  margin-top: 6px;
}
.search-form {
  position: relative;
  margin-right: 10px;
}
.search-form .form-group {
  float: right !important;
  transition: all 0.35s, border-radius 0s;
  width: 32px;
  height: 32px;
  background-color: #ffbe07;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  border-radius: 25px;
}

.search-form .form-group input.form-control {
  padding-right: 20px;
  padding-left: 23px;
  border: 0 none;
  background: transparent;
  box-shadow: none;
  display: block;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  color: #272727;
}

.search-form .form-group input.form-control::-webkit-input-placeholder {
  display: none;
  color: #272727;
}

.search-form .form-group input.form-control:-moz-placeholder {
  /* Firefox 18- */
  display: none;
  color: #272727;
}

.search-form .form-group input.form-control::-moz-placeholder {
  /* Firefox 19+ */
  display: none;
  color: #272727;
}

.search-form .form-group input.form-control:-ms-input-placeholder {
  display: none;
  color: #272727;
}

.search-form .form-group:hover,
.search-form .form-group.hover {
  width: 100%;
  border-radius: 4px 25px 25px 4px;
}
.search-form .form-group:hover i {
  left: 5px;
}
.search-form .form-group span.form-control-feedback {
  position: absolute;
  top: -1px !important;
  right: -2px;
  z-index: 2;
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  left: initial;
  font-size: 14px;
}

.search-form i {
  position: absolute;
  top: 9px;
  left: 8px;
  color: #3f3e3e;
}

.img-holder-cab {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 210px;
  width: 210px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
}
.img-holder-cab .social-media {
  display: none;
  position: absolute;
  /* left: 10%; */
  height: 210px;
  width: 210px;
  border-radius: 50%;
  clip: inherit;
  background-color: #0000009e;
  width: 100%;
}
.img-holder-cab .social-media a {
  color: #fff;
}
.img-holder-cab:hover .social-media {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
