@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200;300;400;600&display=swap');

:root {
    --blue: #0D5379;
    --light-blue: #2C97D3;
    --gray: #0D202C;
    --link: #0086CB;
    --ff-titillium: 'Titillium Web', sans-serif;
}

body {
    color: var(--gray);
    font-family: var(--ff-titillium);
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
    height: 340px;
    background-image: url('../../layouts/bkm/xs/header.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.logo {
    display: flex;
    padding: 20px;
    max-height: 160px;
    background-color: white;
    border: 2px solid var(--gray);
    border-left: 0;
    border-right: 0;
}

.triangle {
    position: absolute;
    bottom: -15px;
    width: 100%;
    height: 40px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    background-color: white;
}

footer {
    margin-top: 20px;
    margin-bottom: 40px;
}

footer p {
    margin: 0;
}

h1 {
    margin: 1.2rem 0 1rem 0;
    color: var(--blue);
    font-size: 2rem;
    font-weight: 300;
}

h2 {
    margin: 1rem 0 0.8rem 0;
    color: var(--light-blue);
    font-size: 1.5rem;
    font-weight: 400;
}

h3 {
    margin: 1rem 0;
    color: var(--gray);
    font-size: 1.5rem;
    font-weight: 300;
}

p {
    font-size: 1rem;
}

a {
    color: var(--link);
    font-weight: 600;
    text-decoration: none;
}

a:hover {
}

section .row p {
    text-align: justify;
}

.toggler {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: 0;
    background: none;
}

.toggler-icon {
    position: relative;
    display: block;
    width: 100%;
    height: 8px;
    background: var(--gray);
    border-radius: 10px;
}
.toggler-icon:after {
    position: absolute;
    content: '';
    top: 15px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gray);
    border-radius: 10px;
}
.toggler-icon:before {
    position: absolute;
    content: '';
    top: -15px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gray);
    border-radius: 10px;
}

#modal .modal-content {
    background-image: url('../../layouts/bkm/xs/menu-bg.png');
    background-color: transparent !important;
    background-repeat: no-repeat;
    background-size: cover;
}

#modal .modal-body {
    display: flex;
    flex-direction: column;
}

.modal-navigation {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 0;
    padding: 20px 0 20px 0;
    text-align: center;
    list-style: none outside none;
}

.modal-navigation li img {
    max-height: 80px;
}

#modal .btn-close {
    position: absolute;
    top: 20px;
    right: 30px;
    transform: scale(2.8);
    opacity: 1;
}

table.table {
    border-radius: 8px;
    border-color: var(--gray);
}

table.table th {
    color: var(--blue);
    font-weight: 600;
    font-size: 1rem;
}

table.table td {
    font-size: 0.95rem;
}


.square {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.square:after {
    display: block;
    content: "";
    padding-bottom: 100%;
}

.square img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.rect {
    position: relative;
    text-align: center;
}

.rect img {
    width: auto;
    height: 540px;
    border-radius: 30px;
}

/* card */
.bkmcard {
    display: flex;
    border: 0;
    position: relative;
    min-height: 270px;
}

.bkmcard > div {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.bkmcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bkmcard-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255,255,255,.8);
    border-radius: 0 0 25px 25px;
}
.bkmcard-label h2 {
    margin: 0;
    padding: 14px;
    color: var(--gray);
    font-weight: 600;
    text-align: center;
}

/* form */
fieldset {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

legend {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--light-blue);
}

div.formline {
    display: flex;
    flex-direction: column;
    width: 100%;
}

div.formline label {
    width: auto;
    font-size: 1.25rem;
    font-weight: 300;
}

div.formline label.checkbox {
    font-size: 1.1rem;
}

div.formline input,
div.formline select,
div.formline textarea {
    padding: 0 8px;
    width: auto;
    height: 32px;
    color: var(--gray);
    font-family: var(--ff-titillium);
    font-size: 1.1rem;
    font-weight: 300;
    border-radius: 8px;
    border-color: var(--gray);
}

div.formline textarea {
    padding-top: 5px;
    padding-bottom: 5px;
    min-height: 140px;
    line-height: 1.2;
}

div.formline select {
    font-size: 1rem;
}

div.formline input[type=submit] {
    align-self: flex-end;
    height: auto;
    color: var(--light-blue);
    font-size: 1.8rem;
    font-weight: 600;
    text-align: right;
    border: 0;
}

div.formline input[type=submit]:hover {
    background-color: transparent !important;
    color: var(--light-blue) !important;
}

div.formline .error {
    background-color: #ffcdd2;
}

.social-media {
    margin: 1rem 0;
    padding: 0;
    list-style: none none outside;
    display: flex;
    justify-content: space-evenly;
}

form button:hover {
    background-color: var(--bs-gray-300) !important;
}

form button[type="submit"] {
    margin: 0 !important;
}

.v-text-field .v-field--no-label input, .v-text-field .v-field--active input {
    border: 0 !important;
}

.v-label {
    float: none !important;
    width: auto !important;
}

div.container-fluid {
    position: unset !important;
}

/* google map */
#map {
    width: 100%;
    height: 200px;
    border-radius: 37px;
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: 37px;
}

@media (min-width: 768px ){
    h1 {
        font-size: 3rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1.2rem;
        font-weight: 300;
    }

    header {
        height: 510px;
        background-image: url(../../layouts/bkm/sm/header.png);
    }

    .logo {
        justify-content: center;
        padding: 50px 20px;
        max-height: unset;
    }

    .logo img {
        height: 200px;
    }

    section {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }

    .bkmcard > div {
        height: 280px;
    }

    .bkmcard-img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .modal-navigation li img {
        max-height: 110px;
    }

    #map {
        height: 1200px;
    }
}

@media (min-width: 992px) {
    header {
        height: 615px;
        background-image: url(../../layouts/bkm/lg/header.png);
    }

    .logo {
        height: 300px;
    }

    .logo img {
        height: auto;
    }

    nav {
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
    }

    .menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 80%;
        margin: 0 auto;
        padding: 0;
        list-style: none none outside;
        text-align: center;
    }

    .menu li a img {
        max-width: 90%;
    }

    #map {
        height: 1200px;
    }
}
