/*  */
/* Global */
/*  */
/* gold #FFD700 */
:root {
  --primary-color: #de1d25;
  --secondary-color: #000;
}
.main-bg {
  background-color: var(--primary-color);
}
/* Fonts */
@font-face {
  font-family: "ProximaNova";
  src: url("../fonts/proxima_ssv/ProximaNova-Regular.otf");
}

@font-face {
  font-family: "GESSTwo";
  src: url("../fonts/GESSTwo/GESSTwoMedium-Medium.woff");
}

body::-webkit-scrollbar {
  width: 0.5em;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px black;
}

body::-webkit-scrollbar-thumb {
  background-color: black;
  outline: 1px solid slategrey;
  border-radius: 20px;
}

/* Globale */

* {
  padding: 0;
  margin: 0;
  text-align: right;
  font-family: "GESSTwo", "ProximaNova", "Andika New Basic", "Nunito",
    sans-serif;
  box-sizing: border-box;
}

.custom_btn {
  background-color: var(--primary-color);
  color: #fff;
  /* padding: 0.5rem 1rem; */
  border-radius: 10px;
}
.custom_btn:hover {
  filter: brightness(110%);
  color: #fff;
}
.btn_rounded {
  border-radius: 20px;
}

/* //////////// */

/* THIS'S THE BEST WAY TO KEEP FOOTER AT BOTTOM ALWAYS  */

html,
body,
#root {
  height: 100%;
}

#root {
  display: flex;
  flex-direction: column;
}
footer {
  margin-top: auto;
}

/* ////////////// */
html {
  scroll-behavior: smooth;
}

/**/
#goTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 99;
    font-size: 30px;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content:center;
    align-items: center;
}

#goTopBtn:hover {
    background-color: var(--secondary-color);
    cursor:pointer;
}

/* Navbar */
#mainNavbar .nav_logo_img {
    height: 100px;
}

#mainNavbar.navbar {
    /*background-color: #ffffff;*/
    background-color: #f5f5f5;
    /*background-image: linear-gradient(315deg, #ffffff 0%, #d7e1ec 74%);*/
}
#mainNavbar.navbar.scrolled {
    background-color: #4d4855;
    background-image: linear-gradient(147deg, #4d4855 0%, #000000 74%);
    transition: background 500ms;
}

#mainNavbar.navbar.scrolled .nav-item .nav-link,
#mainNavbar.navbar.scrolled .nav-item,
#mainNavbar.navbar.scrolled .navbar-brand {
  color: #fff;
  transition: color 500ms;
}

#mainNavbar .nav-item .nav-link,
#mainNavbar .nav-item,
#mainNavbar.navbar .navbar-brand {
  color: #000;
  font-size: 1rem;
  text-align: center;
}
#mainNavbar .nav-link:hover {
  color: #ea4c23;
}
#mainNavbar.navbar.scrolled .nav-link:hover {
    color: #ea4c23; 
}
#mainNavbar .nav-item.active .nav-link,
#mainNavbar.navbar.scrolled .nav-item.active .nav-link {
  color: var(--primary-color);
  font-size: 1.2rem
}
.navbar {
  -webkit-box-shadow: 0 8px 6px -6px #000;
  -moz-box-shadow: 0 8px 6px -6px#000;
  box-shadow: 0 8px 6px -6px#000;
}
@media all and (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: none;
  }
  .navbar .nav-item:hover .nav-link {
    color: #fff;
  }
  .navbar .nav-item:hover .dropdown-menu {
    display: block;
    /* text-align: center; */
  }
  .navbar .nav-item .dropdown-menu {
    margin-top: 0;
  }
}

@media only screen and (max-width: 768px){
    #mainNavbar .nav_logo_img {
        height: 50px;
    }
    #mainNavbar .nav_logo_title  h4 {
        font-size: 1rem;
    }
    #mainNavbar .nav_logo_title h6 {
        font-size: .7rem;
    }
}
/* Home Page */
.section_lable {
    background-color: var(--primary-color);
    width: 25%;
    padding: 0.75rem 0 0.75rem 3rem;
    color: #fff;
    text-align: left;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    font-size: 1.2rem;
}
@media all and (max-width: 992px) {
  .section_lable {
    width: 50%;
  }
}
@media all and (max-width: 480px) {
  .section_lable {
    width: 75%;
  }
}

.home_link {
  color: #000;
  /* border-style: double; */
}

.home_link:hover {
  color: #000;
  text-decoration: none;
}

.home_link:hover img {
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
  transition: transform 500ms;
}

.lib_services .home_link:hover img {
    -webkit-transform: scale(1.08);
    -ms-transform: scale(1.08);
    transform: scale(1.08);
    filter: brightness(0) invert(1);
}

.lib_services .home_link:hover div {
    border: none !important;
    background-color: var(--primary-color);
}
/*  */

/* Slider */
.carousel-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 600px;
  width: 100%;
}
.carousel_search {
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 5%;
    left: 65%;
    bottom: 10%;
    z-index: 2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.carousel-caption {
  right: 45%;
  left: 10%;
  bottom: 2%;
}

.carousel-caption-text {
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
}

.carousel-control-prev,
.carousel-control-next {
  /* 
  transform: translateY(-50%); */
  top: unset;
  bottom: 5%;
  height: 50px;
  width: 50px;
  outline: white;
  background-size: 100%, 100%;
  border-radius: 50%;
  border: 1px solid white;
  background-color: white;
}

.carousel-control-prev {
  left: 5%;
}

.carousel-control-next {
  right: 40%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23009be1' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
  width: 30px;
  height: 48px;
  filter: brightness(0);
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23009be1' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
  width: 30px;
  height: 48px;
  filter: brightness(0);
}

@media only screen and (max-width: 992px) {
    /*.carousel-bg {
        height: 900px;
    }*/

    .carousel_search {
        left: 5%;
        bottom: unset;

    }
    .carousel-caption {
        top:unset;
        right: 7%;
        left: 8%;
        bottom: 0;
    }
  .carousel-calendar {
    width: 8rem;
  }
  .carousel-caption-text {
    font-size: 1.4rem;
  }
  .carousel-indicators {
    bottom: 10%;
  }
  .carousel-control-prev {
    left: 2%;
  }

  .carousel-control-next {
    right: 2%;
  }
}

@media only screen and (max-width: 768px) {
    .carousel_search {
        position: relative;
        left: 0;
        right: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        bottom: unset;
    }

    .carousel-bg {
        
        height: 300px;
    }
  /*.carousel-caption {
    top: 10%;
    left: 4%;
    right: 4%;
    transform: translateY(-10%);
  }*/
  .carousel-calendar {
    width: 6rem;
  }
  .carousel-calendar h5 {
    font-size: 1.1rem !important;
  }
  .carousel-caption-text {
    font-size: 1.3rem;
  }
  .carousel-indicators {
    bottom: 5%;
  }
  /*.carousel-bg {
    height: 450px;
  }*/
  .carousel-control-prev {
    left: 0;
  }

  .carousel-control-next {
    right: 0;
  }

  .carousel-control-prev,
  .carousel-control-next {
    height: 30px;
    width: 30px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 20px;
    height: 20px;
  }
}

@media only screen and (max-width: 480px) {
  /*.carousel-caption {
    top: 0;
    transform: translateY(0);
  }*/
  
  .carousel-calendar {
    width: 4rem;
  }
  .carousel-calendar h5 {
    font-size: 1rem !important;
  }
  .carousel-caption-text {
    font-size: 1rem;
  }
  .carousel-indicators {
    bottom: 0;
    margin-bottom: 0;
  }
  .carousel-caption {
    font-size: 4px;
  }
  .carousel-control-prev,
  .carousel-control-next {
    height: 25px;
    width: 25px;
  }
  /*.carousel-bg {
    height: 350px;
  }*/
}

/*  */

/* Advances Search */

#category.custom-select:focus,
#category.custom-select:active {
  border-bottom-right-radius: 0 !important;
}

.aside_container.right {
  position: fixed;

  z-index:100;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  padding: 0.5rem;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: -5px 10px 10px 0px rgba(179, 179, 179, 0.36);
}
/* .aside_container.right:hover {
  right: 0px;
  transition: 0.5s ease-in-out;
} */
.aside_container.right a img:hover {
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
  transition: transform 100ms;
}
.aside_container.left {
  position: absolute;
  width: 220px;
  z-index: 1;
  left: 0;
  top: 15%;
  bottom: 70px;
  overflow: auto;
  /* height: calc(100vh - 20%);
  overflow-y: auto; */
  /* transform: translateY(-50%); */
  background-color: #fff;
  /* padding: 5rem; */
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 10px 2px 12px -3px rgba(179, 179, 179, 0.36);
}

@media only screen and (max-width: 992px) {
  .filter_btn {
    position: fixed;
    z-index: 1;
    left: 3%;
    top: 15%;
    border-radius: 50%;
  }

    .aside_container.left {
        position: fixed;
    }
  .aside_container.left {
    left: -220px;
    transition: 0.5s ease-in-out;
  }
  .aside_container.left.open {
    left: 0;
    transition: 0.5s ease-in-out;
  }
}

.show {
  display: block !important;
}
#advancedSearchExit {
  /* position: absolute;
  left: 10%;
  top: 5%; */
  width: 10px;
  height: 10px;
}
#advancedSearchExit:hover {
  cursor: pointer;
}

/* Footer */
footer {
  background-color: #2d2422;
  font-size: .9rem;
}
footer a {
  color: #fff;
}
footer a:hover {
  color: #fff;
  text-decoration: none;
}

/* Data Table*/
.func-btn:hover {
  color: var(--secondary-bg-color) !important;
}

.table th,
.table td {
  vertical-align: middle;
  border: unset;
}

.table thead th {
  border: unset;
}

.dt-buttons {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 766px) {
  .dt-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 500px) {
  .dt-buttons {
    justify-content: center;
  }
}

.dataTables_filter,
.dataTables_filter input,
.dataTables_filter label {
  width: 100% !important;
}

.dt-buttons .btn {
  margin: 0.5rem;
}

.dt-button-collection .dropdown-menu {
  left: -13px;
}

.row-control-head {
  width: 20px;
}

.rowControl {
  padding: 3px 0.75rem !important;
}

.rowControl button {
  font-size: 1.4rem;
}

.rowControl .btn-group-fun {
  height: 45px;
  width: 45px;
}

.rowControl .dropdown-menu.show {
  display: flex;
  justify-content: flex-end;
  top: -56px !important;
  left: 50px !important;
  right: unset;
  background-color: unset;
  -webkit-box-shadow: unset;
  box-shadow: unset;
  position: unset;
  will-change: unset;
  transform: unset;
  border: none;
}
.rowControl a {
  cursor: pointer;
}

.border-bottom-right-radius-0 {
  border-bottom-right-radius: 0 !important;
}

.border-top-right-radius-0 {
  border-top-right-radius: 0 !important;
}
.border-bottom-left-radius-0 {
  border-bottom-left-radius: 0 !important;
}

.border-top-left-radius-0 {
  border-top-left-radius: 0 !important;
}

.custom-control-inline {
  margin-left: 0 !important;
}

.custom-control {
  padding-right: 2rem !important;
}

.pagination .page-item:not(:first-child) {
    margin-right: 0.4rem;
}

.pagination .page-item:first-child:not(.active) .page-link,
.pagination .page-item:last-child:not(.active) .page-link,
.pagination .page-item.disabled .page-link {
    background-color: var(--secondary-color);
    color:#fff;
}
.page-item:first-child .page-link,
.pagination .page-link {
    border-radius: 50%;
    border-width: 0px;
    background-color: #f5f5f5;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination .page-link:hover {
    /*filter: brightness(110%);*/
    color: #fff;
    background-color: var(--secondary-color);
    cursor: pointer;
}
.active .page-link {
  background-color: var(--primary-color) !important;
}
.pagination.pagination-xs .page-link {
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
}

.pagination {
  justify-content: flex-start !important;
  /*color: #fff !important;*/
}

.pagination-container .pagination {
  justify-content: center !important;
}

@media only screen and (max-width: 768px) {
    .page-item:first-child .page-link,
    .pagination .page-link {
       
        height: 30px;
        width: 30px;
    }
}


    /*  */
    /* Tabs */
    .nav-tabs .nav-link {
        border: unset;
        color: #000;
    }

        .nav-tabs .nav-link.active {
            color: var(--primary-color);
            border-bottom: 2px solid var(--primary-color);
        }

    /* Side Tabs */
    a {
        color: #414141;
    }

        a:hover {
            color: #000;
        }

    .nav.nav-pills {
        background-color: #f5f5f5;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .nav-pills .nav-link.active,
    .nav-pills .show > .nav-link {
        color: var(--primary-color);
        background-color: #fff;
    }
    /* Login Page */

    .login-card {
        width: 100%;
        padding: 3rem;
        border: none;
        box-shadow: 3px 4px 16px 6px rgba(179, 179, 179, 0.36);
        border-radius: 10px;
    }

        .login-card .form-group .form-control {
            border: none;
            border-radius: unset;
            border-bottom: 2px solid silver;
            background-color: transparent;
        }

            .login-card .form-group .form-control:focus {
                box-shadow: unset;
                border-bottom: 2px solid var(--secondary-color);
                transform: scaleX(1);
                transition: transform 0.3s ease-in-out;
            }

    .login-left {
        background-color: var(--main-bg-color);
        background-image: url(../images/agefis-13z851QZVtE-unsplash.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 70%;
    }
    /*Swiper*/

    .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23de1d25'%2F%3E%3C%2Fsvg%3E");
    }

    .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23de1d25'%2F%3E%3C%2Fsvg%3E")
    }
