@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    src: url("./fonts/Poppins-Light.ttf");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    src: url("./fonts/Poppins-Regular.ttf");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    src: url("./fonts/Poppins-Medium.ttf");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    src: url("./fonts/Poppins-SemiBold.ttf");
}
@font-face {
    font-family: "Poppins";
    font-style: bold;
    font-weight: 700;
    src: url("./fonts/Poppins-Bold.ttf");
}

/*
.text-color-primary {
    color: #4a3a6c;
}
.text-color-secondary {
    color: #82ad01;
}
.bg-primary {
    background-color: #4a3a6c !important;
}
.bg-secondary {
    background-color: #82ad01 !important;
}
*/
body {
    font-family: Poppins;
    font-weight: 400;
}

img {
    max-width: 100% !important;
}

.bg-light {
    background-color: #fff !important;
}
.bg-grey {
    background-color: #f7f7f7 !important;
}

.body a,
.body a:hover {
    color: #02d080;
    font-weight: 500;
    overflow-wrap: break-word;
}
.carousel-control-prev:focus,
.carousel-control-next:focus {
    color: #02d080;
    opacity: 0.5;
}

a.no-decoration:hover {
    text-decoration: none;
}

h1 {
    font-weight: 700;
    font-size: 1.9rem;
}
h2 {
    font-weight: 600;
    font-size: 1.65rem;
}
h3 {
    font-weight: 600;
    font-size: 1.4rem;
}
h4 {
    font-weight: 500;
    font-size: 1.15rem;
}
h5 {
    font-weight: 300;
    font-size: 1.1rem;
}
h6 {
    font-weight: 300;
    font-size: 1rem;
}

.btn.btn-clear {
    background-color: transparent;
}

/*** UL ***/
ul {
    list-style-type: none;
    margin: 0;
}

.body ul {
    padding: 0;
    list-style: none !important;
}
.body ul li {
    margin-top: 0.3rem;
    padding-left: 1em;
    text-indent: calc(-0.7em - 4px);
}
.body ul li:before {
    background-color: #02d080;
    border-radius: 50%;
    content: "";
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 2px;
    height: 8px;
    width: 8px;
}

/*** TABLE ***/
.table td {
    border: none;
}

/*** HEADER ***/
header {
    background-color: #fefefe;
    border-bottom: 1px solid #ceced0;
}
header a,
.dropdown-item {
    color: #848484;
    font-weight: 500;
    position: relative;
}
header a:hover {
    text-decoration: none;
}
header ul a:hover,
header nav .nav-item .nav-link:hover,
header nav .nav-item.active .nav-link {
    color: #000;
}

header a.border-round {
    border: 1px solid #bbb;
    border-radius: 50%;
    padding-left: 10px;
    width: 80px;
    height: 80px;
}
header a.border-round span {
    font-size: 0.8rem;
    color: #666;
    display: block;
    transform: translateY(50%);
}
header a.border-round:hover {
    background-color: #f8f9fa;
}
header a.border-round:hover span {
    color: #333;
}

@media (min-width: 992px) {
    header ul li.nav-item {
        margin-top: 2px;
        height: 98px;
    }

    header ul li.nav-item > a {
        top: 50%;
        transform: translateY(-50%);
    }

    header nav .dropdown-toggle::after {
        display: none;
    }
    header nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
    header nav .nav-item.dropdown > .dropdown-menu {
        margin: 0;
        border: 0;
        border-top: 1px solid #ceced0;
        border-radius: 0;
    }
}
/*** BREADCRUMB ***/
.breadcrumb {
    font-size: 0.9rem;
    font-weight: 400;
}
.breadcrumb .breadcrumb-item a {
    color: #00a565;
}
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #00a565;
}

/*** DROPDOWN ***/
.dropdown-item:hover {
    color: #000;
    text-decoration: none;
}
.dropdown-item:active {
    background-color: #f8f9fa;
}
/*** FOOTER ***/
footer {
    background-color: #414544;
    font-size: 0.8rem;
}

footer,
footer a,
footer a:hover {
    color: #fff;
}
footer a:hover {
    text-decoration: none;
}
footer a.border {
    padding: 1rem 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
    display: block;
}

footer .list-inline .list-inline-item + .list-inline-item {
    margin-left: 1rem;
}

.btn:focus {
    box-shadow: none;
}

#searchbar {
    position: absolute;
    top: 100%;
    right: 0;
    padding: 1rem;
    background: #fff;
    z-index: 999;
    border-top: 1px solid #ceced0;
    min-width: 400px;
}
#searchbar input:focus {
    box-shadow: none;
    border-color: #02d684;
}
#searchbar button {
    background-color: #02d684;
}

.sticky.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
}

@media (min-width: 769px) {
    .carousel-inner.row .carousel-item {
        ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 0 0 33.333333%;
    }
    .carousel-inner.row .active,
    .carousel-inner.row .active + .carousel-item,
    .carousel-inner.row .active + .carousel-item + .carousel-item {
        display: block;
    }

    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item,
    .carousel-inner
        .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)
        + .carousel-item
        + .carousel-item {
        transition: none;
        margin-right: initial;
    }

    .carousel-inner .carousel-item-next,
    .carousel-inner .carousel-item-prev {
        position: relative;
        transform: translate3d(0, 0, 0);
    }

    .carousel-inner .active.carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%;
        z-index: -1;
        display: block;
        visibility: visible;
    }

    /* left or forward direction */
    .active.carousel-item-left + .carousel-item-next.carousel-item-left,
    .carousel-item-next.carousel-item-left + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    /* farthest right hidden item must be abso position for animations */
    .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }

    /* right or prev direction */
    .active.carousel-item-right + .carousel-item-prev.carousel-item-right,
    .carousel-item-prev.carousel-item-right + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}
