:root {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    color: #464E6D;
    background: #EEEEF3;
    font-family: "Nunito", sans-serif;
}

.header {
    font-family: "Poppins", sans-serif;
    display: block;
    margin: 1em 0;
    font-weight: 700;
    font-size: 1.3em;
}

div {
    word-wrap: break-word;
}

audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel {
    background-color: #FFFFFF;
}

audio::-webkit-media-controls-play-button {
    transform: scale(2.4);
}

.middle {
    display: flex;
    justify-content: center;
    align-items: center;
}

button {
    outline: none;
}
button:focus, a:focus {
    outline: none;
}

a:hover {
    text-decoration: none;
}

.btn-main {
    border-radius: 0;
    font-size: 1rem;
    background: #606079;
    padding: .375rem 1rem;
    font-weight: bold;
    color: #FFFFFF !important;
}

.fa, .fab, .fas {
    margin-right: 0.5em;
}

.contents {
    min-height: 55vh;
}

.page-content {
    overflow-x: auto;
}

.page-content img{
 /*   width: 100%; */
}

.thumb-video, .preview-video {
    width: 100%;
    height: 15em;
}

.breadcrumb-main {
    background: #D5DAE9;
    color: #464E6D;
    margin: 1em 0;
}

.breadcrumb-main a {
    color: #464E6D;
    font-weight: bold;
}

.breadcrumb-main .breadcrumb-item.active {
    color: #9BA2BC;
}

.breadcrumb-main .eva {
    fill: #464E6D;
    vertical-align: top;
    width: 1.25em;
    height: 1.25em;
}

.pagination {
    margin: 0 auto 2em;
}

.pagination li.active a {
    background: #606079;
    color: #FFFFFF;
    border-color: #606079;
}

.pagination li a {
    color: #606079;
    border-color: #FFFFFF;
    outline: none;
    margin: 0 0.5em;
    position: relative;
    display: block;
    padding: .5rem .95rem;
    margin-left: -1px;
    background: #FFFFFF;
}

.pagination li:focus {
    box-shadow: none;
    border-color: none;
    outline: none;
}

.pagination li:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.pagination li:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.img-wrap {
    width: 100%;
}

section {
    position: relative;
    margin-bottom: 2.5em;
}

.top-bar {
    background: #4f4f66;
    color: #FFFFFF;
    padding: 1em;
}

.top-bar a {
    color: #FFFFFF;
    font-size: 1.2em;
    margin: 0.5em;
}

.navbar-main .navbar-toggler {
    width: 15%;
}

.navbar-main .navbar-brand {
    font-size: 1rem;
    max-width: 80%;
}

.navbar-main .navbar-brand > div > img {
    width: 2.2em;
    margin-right: 1em;
    /* margin-top: -1em; */
}

.navbar-main .navbar-brand > div > .header-text {
    display: inline-block;
    font-weight: 700;
    color: #464E6D;
    max-width: 85%;
    white-space: normal;
}

.navbar-main .navbar-brand > div > .header-text > span {
    font-size: 0.65em;
    display: inline-block;
}

.navbar-main .navbar-brand > div > .header-text > div {
    font-size: 0.85em;
}

.navbar-main .navbar-nav {
    padding: 1em 1em;
}

.navbar-main .nav-link {
    color: #464E6D;
}

.navbar-main .nav-link:hover, .navbar-main .nav-link:focus {
    font-weight: 700;
}

.navbar-main .dropdown-menu {
    background: #EEEEF3 !important;
    border: none;
    transition: all 0.5s;
    font-weight: bold;
    -webkit-box-shadow: 8px 12px 23px -15px rgba(176, 176, 228, 0.589);
    -moz-box-shadow: 8px 12px 23px -15px rgba(176, 176, 228, 0.589);
    box-shadow: 8px 12px 23px -15px rgba(176, 176, 228, 0.589);
}

.navbar-main .dropdown-item {
    color: #464E6D !important;
    padding: 0.25rem 1rem;
}

.navbar-main .dropdown-item:active,  .navbar-main .dropdown-item.active, 
.navbar-main .dropdown-item:hover, .navbar-main .dropdown-item:focus {
    background: none;
    color: #606079 !important;
}

.navbar-main .submenu {
    padding-left: 1rem !important;
    transition: unset !important;
}

.navbar-main .dropdown-menu .dropdown-toggle:focus::after {
    transform: rotate(-90deg);
}

.btn-slide {
    color: #4f4f66;
}

.btn-slide:hover {
    color: #4f4f66;
}

.slide-main .carousel-inner {
    position: relative;
}

.slide-main .carousel-item {
    max-height: 14em;
    overflow: hidden;
}

.slide-main.slide-gallery .carousel-item {
    max-height: 30em;
}

.slide-main .carousel-item img {
    width: 100%;
}

.slide-main .carousel-item .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(87,87,87);
    /* background: linear-gradient(180deg, rgba(87,87,87,0.36) 0%, rgba(82,82,82,0.62) 57%, rgba(6,6,6,0.7) 100%); */
background: linear-gradient(180deg, rgb(87 87 87 / 10%) 0%, rgb(82 82 82 / 23%) 57%, rgb(6 6 6 / 32%) 100%);
    color: #FFFFFF;
}

.slide-main .carousel-item .caption {
    color: #FFFFFF;
    position: absolute;
    width: 100%;
    bottom: 1em;
    text-align: center;
    font-size: 1em;
}

.slide-main > .carousel-control-next, 
.slide-main > .carousel-control-prev {
    opacity: 1 !important;
}

.slide-main > .carousel-indicators {
    bottom: 0.10em;
}

.slide-main > .carousel-indicators li {
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    background: #D6D6D6;
}

.slide-main > .carousel-indicators .active {
    background: #606079;
}

.slide-main > .carousel-control-next .eva, 
.slide-main > .carousel-control-prev .eva {
    fill: #FFFFFF;
}

.header-link {
    color: #606079;
    font-weight: 700;
    display: block;
    font-size: 1em;
    margin-bottom: 0.35em;
}

.header-link:hover {
    color: #4f4f66;
}

li a.header-link {
    color: #606079 !important;
    margin: 1em 0;
}

li a.header-link:hover {
    color: #4f4f66 !important;
}

.header-link-content {
    color: #464E6D;
    font-weight: 700;
    display: block;
    font-size: 1.2em;
    margin: 1em 0em 2em;
    position: relative;
}

.header-link-content:before {
    content: '';
    position: absolute;
    width: 1.5em;
    height: 0.5em;
    border-radius: 10px;
    background: #606079;
    bottom: -0.5rem;
    left: 0;
}

.box {
    background: #FFFFFF;
    padding: 1.25em;
    min-height: 36.5em;
    margin-bottom: 2em;
}

.box .date {
    font-size: 1em;
    margin-top: 1em;
    display: block;
    color:#9BA2BC;
}

.box.sm {
    min-height: 10em;
}

.box.hover:hover {
    -webkit-box-shadow: 8px 12px 23px -15px rgb(176, 176, 228);
    -moz-box-shadow: 8px 12px 23px -15px rgb(176, 176, 228);
    box-shadow: 8px 12px 23px -15px rgb(176, 176, 228);
}

.box.md {
    min-height: 20em;
}

.news-image {
    overflow: hidden;
    height: 20em;
    text-align: center;
    background: #EEEEF3;
}

.news-image img {
    height: 100%;
}

.banner {
    background: #EEEEF3;
    text-align: center;
    height: 5em;
    overflow: hidden;
}

.banner img {
    max-width: 100%;
    height: 100%;
}

.gallery {
    width: 100%;
    height: 18em;
    overflow: hidden;
}

.gallery > img {
    max-width: 100%;
    height: 100%;
}

.footer {
    background: #464E6D;
    z-index: 1;
    padding: 2em 0em 0em;
    margin-bottom: 0;
}

.footer small {
    font-size: 0.85em;
    display: block;
}

.footer .bg-footer {
    margin-top: 1em;
    padding: 1em 0em;
    background: #2F3653;
    color: #FFFFFF
}

.footer .bg-footer small {
    display: inline-block !important;
    margin-right: 1em;
}

.footer a {
    color: #FFFFFF;
    display: inline-block;
    padding: 0.5em;
}

.image-box {
    position: relative;
    overflow: hidden;
    height: 20em;
    cursor: pointer;
}

.image-box img {
    max-width: 100%;
    height: 100%;
    transition: all 1s;
}

.image-box .overlay {
    display: none;
    transition: all 1s;
}

.image-box .overlay .fa, .image-box .overlay .fas, .image-box .overlay .fab {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 1.5em;
    z-index: 10;
    color: #FFFFFF;
}

.image-box:hover img {
    transform: rotate(10deg) scale(1.2);
}

.image-box:hover .overlay {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 10;
    background: rgba(22, 22, 22, 0.664);
}

.caption {
    margin: 1em 0 2em;
}


.link-unset, .link-unset:hover {
    color: unset;
}

.message-box {
    background: #e0e0e0;
    padding: 1em;
    border-radius: 0.585em;
    margin: 1em 0;
    position: relative;
}

.message-box .author {
    display: block;
    font-weight: 700;
}

.message-box.left {
    max-width: 70%;
    margin-left: 2em;
    float: left;
}

.message-box.left::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 20%;
    border-top: 1em solid transparent;
    border-bottom: 1em solid transparent;
    border-right: 1.5em solid #e0e0e0;
}

.message-box.right {
    max-width: 70%;
    margin-right: 2em;
    float: right;
    text-align: right;
}

.message-box.right::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 20%;
    border-top: 1em solid transparent;
    border-bottom: 1em solid transparent;
    border-left: 1.5em solid #e0e0e0;
}

label.error {
    color: #df4b4b;
    margin-top: 0.5em;
    display: block;
}

.notfound {
    height: 100vh;
}

@media (min-width: 992px) {
    .navbar-main {
        background: #606079;
        padding: 0;
    }

    .navbar-main .navbar-brand {
        max-width: 50%;
    }

    .navbar-main .navbar-brand > div > .header-text {
        color: #FFFFFF;
    }

    .navbar-main .nav-link {
        color: #FFFFFF !important;
    }

    .navbar-main .navbar-brand > div > .header-text > span {
        font-size: 0.85em;
    }

    .navbar-main .navbar-brand > div > .header-text > div {
        font-size: 1.2em;
        width: 33rem;
    }

    .navbar-main .nav-item.active > a {
        position: relative;
        font-weight: 700;
    }
    
    .navbar-main .nav-item.active > a::before {
        content: '';
        position: absolute;
        width: 1.5em;
        height: 0.5em;
        border-radius: 10px;
        background: #FFFFFF;
        bottom: 0;
        left: .5rem;
    }

    .slide-main .carousel-item {
        max-height: 30em;
    }

    .slide-main .carousel-item .caption {
        font-size: 1.2em;
    }

    .slide-main.slide-gallery .carousel-item {
        max-height: unset !important;
    }

    .thumb-video {
        height: 23em;
    }
    
    .preview-video {
        height: 40em;
    }

    .page-content img{
        max-width: 100%;
        height: auto !important;
    /*    width: auto; */
    }
}

@media (min-width: 1900px) {
    .container {
        max-width: 1440;
    }
}
