﻿/* media query tablet */
.header__top-link {
    padding: 2rem;
}

.header__top-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
}

.header__top-info {
    position: relative;
}

.header__top-btn {
    position: absolute;
    top: -0.43rem;
    left: 0;
}

.header__logo {
    height: 160px;
}

.header__bottom {
    /*background-color: transparent;*/
    position: relative;
    padding: 10px 0rem;
    justify-content: center;
    padding-left: 5rem;
}

.nav {
    display: flex;
    padding: 3rem 0 3rem 3rem;
    justify-content: center;
    width: 100%;
    height: unset;
    /*max-width: 120rem;*/
    display: flex;
    padding: 3rem 0 3rem 0;
    justify-content: center;
    width: 100%;
    /* max-width: 120rem; */
    position: initial;
    background-color: transparent;
}

.nav__container {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: center;
    height: auto;
    flex-direction: row;
    row-gap: 0;
    flex-wrap: unset;
    position: unset;
    background-color: initial;
}

.nav__item {
    padding: .5rem 2rem;
    width: auto;
}

.nav__item-link:not(.nav__item-btn) {
    color: var(--color-white);
    display: inline;
    font-size: var(--h4);
    font-size: inherit;
    position: relative;
}

a.nav__item-btn, 
.nav__mobile-close {
    /* font-size: var(--text-size-lg); */
    display: inline;
    font-size: var(--text-size-sm);
}

.nav__mobile-toggle, .nav__mobile-icon, .nav__mobile-close {
    font-size: initial;
}

.nav__dropdown {
    position: absolute;
    top: calc(var(--top-bg-banner)* -1);
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 0;
}

.nav__item:hover .nav__dropdown,
.nav__dropdown:hover {
    display: block;
}

.nav__dropdown-bridge {
    position: absolute;
    top: -8rem;
    height: 8rem;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.nav__dropdown-menu {
    font-size: var(--text-size-14);
    width: 100%;
    height: auto;
    padding: 4rem 6rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    background-color: white;
}

/*.nav__item:hover .nav__dropdown::before,
.nav__dropdown:hover::before {
    content: ' ';
    width: 300px;
    height: 300px;
    clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
    background-color: var(--color-secondary);
}*/

.nav__dropdown-container {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
}

.nav__dropdown-container:not(:last-child) {
    border-right: 1px solid var(--color-secondary);
}

.nav__dropdown-head {
    font-size: inherit;
}

.nav__dropdown-item {
    margin-bottom: 1.5rem;
}

.nav__dropdown-link {
    color: var(--color-secondary)
}

.nav__item.nav__item--dropdown:hover .nav__item-link::after {
    content: '';
    background-color: var(--color-white);
    width: 2rem;
    height: 2rem;
    margin: 0 auto;
    position: absolute;
    left: 0;
    bottom: -8.3rem;
    right: 0;
    clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}

.footer__content {
    padding: 6rem 0;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 0;
}

.footer__content-top {
    text-align: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    flex-direction: column;
    align-self: self-start;
}

.footer__content-center {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: normal;
}

.footer__content-center > div {
    border: none;
    margin: 0;
    padding: 0;
}

/*footer2*/
.footer2__top {
    padding: 3rem 5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    column-gap: 2rem;
}

.footer2__social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/*.nav__item-link {
    color: var(--color-white);
}*/
h1, .h1 {
    font-size: var(--h1);
}

h2, .h2 {
    font-size: var(--h2);
}

h3, .h3 {
    font-size: var(--h3);
}

h4, .h4 {
    font-size: var(--h4);
}

h5, .h5 {
    font-size: var(--h5);
}

h6, .h6 {
    font-size: var(--h6);
}

.padding-lg-0 {
    padding: 0;
}

.padding-lg-5 {
    padding: 5rem;
}

.padding-x-lg-8 {
    padding-left: 8rem;
    padding-right: 8rem;
}

.padding-x-lg-10 {
    padding-left: 10rem;
    padding-right: 10rem;
}

.padding-x-lg-20 {
    padding-left: 20rem;
    padding-right: 20rem;
}

.text-lg-left {
    text-align: left;
}

.display-lg-none {
    display: none;
}

.display-lg-flex {
    display: flex;
}

.display-lg-grid {
    display: grid;
}

.display-lg-block {
    display: block;
}

.btn {
    min-width: 25.5rem;
}

.btn-lg {
    min-width: 30rem;
}

.btn-sm {
    min-width: 13rem;
}

.btn-xs {
    min-width: 10rem;
}

/*Image*/
.img-sheet {
    width: 100%;
    height: 100%;
    max-width: 55.7rem;
    max-height: 40rem;
}

.img-sheet-lg--wauto{
    width: auto;
    height: auto;
}

.img-book {
    max-height: 40rem;
    max-width: 40rem;
}

.img-sede-small {
    height: auto;
}

.img-banner {
    height: 40rem;
}

.bg-banner {
    position: relative;
    top: var(--top-bg-banner);
    background-position: top;
}

/*.bg-banner:not(.bg-banner-home) {*/
.bg-banner {
    margin-bottom: var(--top-bg-banner);
}

.bg-banner::before {
    /*background-image: linear-gradient(to bottom, var(--color-secondary-banner) 1%, transparent 30%);*/
    /*background-image: linear-gradient(to bottom, #000000d1 1%, transparent 30%);*/
    background-image: linear-gradient(to bottom, #000000 1%, #00000000 30%);
    top: 0;
}

.bg-banner::after {
    background-image: linear-gradient(to top, var(--color-primary-banner) 0%, transparent 30%);
    bottom: 0;
}

/*Card*/
.card-container--absolute {
    padding-left: 7rem;
    padding-right: 7rem;
    top: 50rem;
}


.card-three {
    flex-direction: row;
    border-radius: 0;
    position: relative;
}

.card-three--right {
    flex-direction: row-reverse;
}

.card-three__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 3rem 0;
}

.card-three__content,
.card-three__content-bottom {
    padding-left: 5rem;
    padding-right: 5rem;
    text-align: left;
}

.card-three__image {
    /*max-width: 45rem;*/
    max-height: 29rem;
    /*display: block;*/
    height: 100%;
}

.card-three__time {
    position: absolute;
    top: 4rem;
    width: 20rem;
}

.card-three__time.card-three--left {
    right: 0;
}

.card-three__time.card-three--right {
    left: 0
}

.card-three--border .card-three {
    border-radius: unset;
    max-height: 25rem;
}

.card-three--border .card-three__image,
.card-three--border .card-three {
    border-radius: unset;
}

.card-three--border .card-three--left {
    border-top-left-radius: var(--radius-card-three);
}

.card-three--border .card-three--right {
    border-top-right-radius: var(--radius-card-three);
}

.card-three--border .card-three__header {
    width: 70%;
}

/*.card-three--border .card-three__body {
    padding-top: 5rem;
}*/

.card-three--border .card-three__content {
    overflow-y: auto;
}

.card-four__body {
    padding: 3rem;
}

.know-us__content {
    flex-direction: row;
}

.know-us__content-area--one {
    grid-template-areas: "a b" "c b";
    /*row-gap: 0;*/
    grid-template-rows:  0fr 1fr;
}

.know-us__content-area--two,
.know-us__content-area--three {
    grid-template-areas: "b a" "b c";
    grid-template-rows: 0fr 1fr;
}

.know-us__img {
    width: auto;
    max-width: 50rem;
    max-height: 30rem;
}

/* Flexbox & GridLayout */
.justify-content-lg-between {
    justify-content: space-between;
}

.justify-content-lg-start {
    justify-content: flex-start;
}

.justify-content-lg-center {
    justify-content: flex-center;
}

.justify-content-lg-end {
    justify-content: flex-end;
}

.align-item-lg-end {
    align-items: flex-end;
}


.flex-direction-lg-row {
    flex-direction: row;
}

.gridcol-lg-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gap-lg-2 {
    gap: 2rem;
    -webkit-gap: 2rem;
    -moz-gap: 2rem;
}

.row-gap-lg-2 {
    row-gap: 2rem;
    -webkit-row-gap: 2rem;
    -moz-row-gap: 2rem;
}

.column-gap-lg-5 {
    column-gap: 5rem;
}

/* Grid Bootstrap */
.col-lg-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
}

.col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
}

.col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
}

.col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
}

.col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
}

.col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
}

.col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
}

.col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
}

.col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
}

.col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
}

.col-lg-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
}

.col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
}