:root {
    --eblue: #004E8A;
    --egreen: #85FCA9;
    --elight: #5DD0F4;
    --sidewidth: 22vw;
    --topheight: 9vh;
    --successcolor: #56be00e1;
    --failurecolor: #ca3701e1;
}
body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: #F5F5F5;
}
*, .navbar-admin-top .navbar-brand::before {
  transition: all 300ms;
}

a, a:hover{color: inherit; text-decoration: none}

.btn-ecustom {
    color: var(--egreen);
    background-color: var(--eblue);
    border-color: var(--egreen);
  }
  .btn-ecustom:hover {
    color: var(--eblue);
    background-color: var(--egreen);
    border-color: var(--eblue);
  }
  .btn-check:focus + .btn-ecustom, .btn-ecustom:focus {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
    box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
  }
  .btn-check:checked + .btn-ecustom, .btn-check:active + .btn-ecustom, .btn-ecustom:active, .btn-ecustom.active, .show > .btn-ecustom.dropdown-toggle {
    color: #fff;
    background-color: #0a58ca;
    border-color: #0a53be;
  }
  .btn-check:checked + .btn-ecustom:focus, .btn-check:active + .btn-ecustom:focus, .btn-ecustom:active:focus, .btn-ecustom.active:focus, .show > .btn-ecustom.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
  }
  .btn-ecustom:disabled, .btn-ecustom.disabled {
    color: #fff;
    background-color: var(--eblue);
    border-color: var(--eblue);
  }

  .btn-outline-ecustom {
    color: #949494;
    border-color: #949494;
  }
  .btn-outline-ecustom:hover {
    color: var(--egreen);
    background-color: var(--eblue);
    border-color: var(--egreen);
  }
  .btn-check:focus + .btn-outline-ecustom, .btn-outline-ecustom:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
  }
  .btn-check:checked + .btn-outline-ecustom, .btn-check:active + .btn-outline-ecustom, .btn-outline-ecustom:active, .btn-outline-ecustom.active, .btn-outline-ecustom.dropdown-toggle.show {
    color: #fff;
    background-color: #949494;
    border-color: #949494;
  }
  .btn-check:checked + .btn-outline-ecustom:focus, .btn-check:active + .btn-outline-ecustom:focus, .btn-outline-ecustom:active:focus, .btn-outline-ecustom.active:focus, .btn-outline-ecustom.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
  }
  .btn-outline-ecustom:disabled, .btn-outline-ecustom.disabled {
    color: #949494;
    background-color: transparent;
  }
  .btn-outline-ecustom.hovered {
    color: var(--egreen);
    background-color: var(--eblue);
    border-color: var(--egreen);
  }


.form-ecustom .input-edes .form-label{
    color: rgb(112, 112, 112);
}
.form-ecustom .input-edes:focus-within .form-label{
    color: var(--eblue)
}
input:focus, select:focus, button:focus {
    box-shadow: none !important;
    border: 1px solid var(--eblue)
}
a:focus {
  box-shadow: none !important;
  border: 0px solid transparent !important;
}
.no-foc {
  color: var(--eblue);
  text-decoration: none;
}

.no-foc:hover {
  color: var(--elight);
  text-decoration: none;
}
.no-focc:focus {
    box-shadow: none;
    border: none;
}
.color-eblue {
    color: var(--eblue)
}


/* login */

.ecard-cont {
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-ecard {
    border-radius: 15px;
}
.login-ecard .row{
    border-radius: 15px;
    overflow: hidden;
}
.login-eforms {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.login-buttons {
  display: flex;
  flex-direction: column;
}
.login-buttons .buttons{
  margin-top: auto;
}
@media (min-width: 991px) {
  .login-buttons, .login-eforms {
    padding: 3rem;
  }

  .login-eforms {
    border-left: 3px solid var(--egreen);
  }
  .ecard-cont {
    min-height: 100vh;
  }
  .login-ecard {
    margin: 1rem auto;
  }
}
@media (min-width: 991px) and (min-height: 605px){
  .login-ecard {
    height: 90vh;
    width: 70vw;
  }
}
@media (min-width: 991px) and (max-height: 604px){
  .login-ecard {
    min-height: 90vh;
    width: 70vw;
  }
}
@media (max-width: 990px) {
  .login-buttons, .login-eforms {
    padding: 2rem;
  }

  .login-eforms {
    border-top: 3px solid var(--egreen);
  }
  .login-ecard {
    margin: 2rem auto;
  }
}
.login-eforms .form-check-input:checked {
  background-color: var(--egreen);
  border-color: var(--egreen);
}
.login-eforms .form-check-input:checked::before {
  color: var(--eblue) !important
}
/* login */

.p-3-e {
  padding: 2rem 1rem
}
@media (min-width: 991px) {
  .p-3-e {
    padding: 2rem 2rem
  }
}



/* dashboard users */

.bg-eblue {
  background-color: var(--eblue);
}
.bg-eblue a:not(.dropdown-item){
  color: #b3ffc9 !important;
}
.bg-eblue.navbar a.active {
  font-weight: bold;
  color: white !important;
  border-bottom: 4px solid var(--egreen)
}

/* dashboard users */

/* dashboard admin */
.navbar-admin-top .navbar-brand {
  width: var(--sidewidth);
  height: var(--topheight);
  position: relative;
  color: white;
  isolation: isolate;
}
.navbar-admin-top .navbar-brand::before {
  width: var(--sidewidth);
  position: absolute;
  content: '';
  z-index: -1;
  top: 0;left: 0;bottom: 0;right: 0;
  background-color: #00335A;
}
.navbar-admin-top .navbar-brand button:focus{
  border: 1px solid transparent
}
.side-edash {
  position: fixed;
  z-index: 1000;
  opacity: 1;
  top: var(--topheight); left: 0;
  width: var(--sidewidth);
  height: calc(100vh - var(--topheight));
  background-color: var(--eblue);
}
.side-edash .nav-droplink {
  padding: 0.25rem 0.25rem 0.25rem 0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  text-decoration: none;
}
.side-edash .nav-elink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem 0.75rem 1.5rem;
  color: white;
  text-decoration: none;
}
.side-edash .nav-elink:focus,
  .side-edash .nav-droplink:focus {
  border: 0px solid transparent !important
}
.side-edash .navbar-nav {
  margin-top: 2rem;
  height: calc(93vh - var(--topheight));
  overflow: auto;
  scrollbar-width: thin;
  margin-right: -0.5rem;
  scrollbar-gutter: stable;
}
.side-edash .card {
  background-color: #00335A;
  border-radius: 0;
  color: white
}

.side-edash a.nav-elink[data-bs-toggle="collapse"] {
  position: relative;
}
.side-edash a.nav-elink[data-bs-toggle="collapse"]::after {
  content: url("data:image/svg+xml,%3Csvg width='14' height='7' viewBox='0 0 14 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 5L13 1' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  position: absolute;
  right: 4.5rem;
  transform: scale(0.55);
}

.side-edash a:hover {
  color: var(--egreen)
}
.side-emain {
  padding: 0 0.5rem;
  margin-top: calc(var(--topheight) + 1rem);
  margin-left: var(--sidewidth);
}
.side-edash .nav-elink.active {
  color: var(--egreen);
}
.side-edash a.nav-elink.active[data-bs-toggle="collapse"]::after,
.side-edash a.nav-elink[data-bs-toggle="collapse"]:hover::after {
  content: url("data:image/svg+xml,%3Csvg width='14' height='7' viewBox='0 0 14 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 5L13 1' stroke='lightgreen' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
/* dashboard admin */
.side-edash.hide {
  width: 0 !important;
  opacity: 0 !important;
}
.side-emain.hide {
  margin-left: 0 !important;
}
.navbar-admin-top .navbar-brand.hide::before {
  width: 0 !important;
}
.navbar-admin-top .navbar-brand i span{
  opacity: 0;
}
.navbar-admin-top .navbar-brand.hide i span{
  opacity: 1;
}
.navbar-brand {
  background-color: var(--eblue);
}
#menu-button {
  right: 1.5rem;
}


.navtabs {
  border-color: var(--egreen);
}
.navtabs a:focus{
    border: 0px solid transparent;
}
.navtabs a{
  border: 0px solid transparent;
}
.navtabs a.active{
  font-weight: bold;
  color: var(--eblue)
}
.navtabs a:not(.active){
  color: rgb(115, 115, 115)
}


@media (min-width: 1200px){
  :root {
    --sidewidth: 22vw;
  }
}

@media (max-width: 1199px){
  :root {
    --sidewidth: 32vw;
  }
}
@media (max-width: 820px){
  :root {
    --sidewidth: 32vw;
    --topheight: 6vh;
  }
}
.side-edash
{
  overflow: hidden;
}
@media (max-width: 786px){
  :root {
    --sidewidth: 37vw;
    --topheight: 6vh;
  }
  .side-emain, .side-emain.hide {
    margin-left: 0;
  }
  #menu-button {
    right: 1rem;
  }
}

@media (max-width: 540px){
  :root {
    --sidewidth: 70vw;
    --topheight: 8vh;
  }
  .side-emain, .side-emain.hide {
    margin-left: 0;
  }
  #menu-button {
    right: 1rem;
  }
}

.breadcrumb-item + .breadcrumb-item::before {
  content: url("data:image/svg+xml,%3Csvg width='7' height='8' viewBox='0 0 7 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.56832 0.220703C1.10666 0.634029 0.0356445 1.97787 0.0356445 3.57185C0.0356445 5.49501 1.59467 7.05403 3.51782 7.05403C5.44098 7.05403 7 5.49501 7 3.57185C7 1.978 5.92916 0.634247 4.46768 0.220804V2.01439C4.99193 2.3348 5.34182 2.91247 5.34182 3.57185C5.34182 4.57922 4.52519 5.39585 3.51782 5.39585C2.51046 5.39585 1.69382 4.57922 1.69382 3.57185C1.69382 2.91232 2.04387 2.33454 2.56832 2.01418V0.220703Z' fill='%238BFFB1'/%3E%3C/svg%3E%0A");
}
.breadcrumb-item.active {
  color: var(--eblue);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: 600;
}
@media (min-width: 992px) {
    .lang-menu .nav {
        max-height: 55vh;
        overflow-y: auto;
        flex-wrap: nowrap;
        padding-right: 0.5rem;
    }
}

@media (max-width: 991px) {
    .lang-menu .nav {
        max-height: 75vh;
        overflow-y: auto;
        flex-wrap: nowrap;
        padding-right: 0.5rem;
    }
}
@media (max-width: 456px) {

    .lang-menu .nav {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
}
