*,
*::before,
*::after {
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin: 0;
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

h1,
h2 {
    font-family: "TLP", sans-serif;
    margin-bottom: 20px;
}

h1 {
    font-size: 36px;
    line-height: 40px;
}

h2 {
    font-size: 26px;
    line-height: 40px;
}

h3 {
    font-size: 24px;
    line-height: 40px;
}

h4 {
    font-size: 18px;
    line-height: 20px;
}

h5 {
    font-size: 14px;
    line-height: 20px;
}

h6 {
    font-size: 12px;
    line-height: 20px;
}

p {
    font-size: 15px;
    line-height: 1.8;
    margin-block: 10px;
}

ul {
    margin-top: 0;
}

a {
    color: currentColor;
    text-decoration: none;
}

p > a {
    color: rebeccapurple;
    font-weight: bold;
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

#banner_placement img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

svg {
    transition: all .3s ease-in-out;
}

button, input, textarea {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

@media (max-width:768px) {
    h1 {
        font-size: 18px;
        line-height: 1.5;
    }

    h2 {
        font-size: 14px;
        line-height: 1.5;
    }

    h3 {
        font-size: 14px;
        line-height: 1.5;
    }

    body, p, li {
        font-size: 14px;
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.content-container {
    display: none;
}

    .content-container:has(p) {
        display: block;
    }

article.section-container.content-container {
    margin-block: 80px;
    padding: 50px;
    background-color: #e1e8ed;
    border-radius: 12px;
}

@media (max-width:768px) {
    article.section-container.content-container {
        margin-block: 40px;
        padding: 20px;
    }
}

article .entry-content * {
    font-family: "Montserrat", sans-serif;
}

article .entry-content img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    margin-block: 0.8em;
}

.entry-content li {
    line-height: 2;
}

.entry-content a {
    color: #4336FF;
}

.loadr {
    margin: auto;
    display: none;
}

h1.page-title{
    line-height:50px;
}

table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

    table caption {
        font-size: 1.5em;
        margin: .5em 0 .75em;
    }

    table tr {
        background-color: #f8f8f8;
        border: 1px solid #ddd;
        padding: .35em;
    }

    table th,
    table td {
        padding: .625em;
        text-align: center;
    }

    table th {
        font-size: .85em;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

/*@media screen and (max-width: 600px) {
    table {
        border: 0;
        width: 100%;
    }

        table caption {
            font-size: 1.3em;
        }

        table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        table tr {
            border-bottom: 3px solid #ddd;
            display: block;
            margin-bottom: .625em;
        }

        table td {
            border-bottom: 1px solid #ddd;
            display: block;
            font-size: .8em;
            text-align: center;
        }

            table td::before {*/
                /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
                /*text-align: center;
                content: attr(data-label);
                display: block;
                font-weight: bold;
                text-transform: uppercase;
            }

            table td:last-child {
                border-bottom: 0;
            }
}*/


/* Popup Block */

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-out {
    100% {
        opacity: 0;
    }
}

html:has(dialog#popup-block[open]) {
    overflow: hidden;
}

#popup-block::backdrop {
    background-color: #ffffff90;
    backdrop-filter: blur(25px);
}

#popup-block {
    max-width: 500px;
    width: -webkit-fill-available;
    animation: fade-in 0.5s;
    padding: 40px 60px;
}

    #popup-block[open] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: auto;
    }

    #popup-block #closeDialog {
        position: absolute;
        display: block;
        text-align: center;
        line-height: 1;
        width: 30px;
        height: 30px;
        font-size: 22px;
        top: 30px;
        right: 20px;
        background-color: black;
        color: white;
        border: 0;
        border-radius: 100px;
        box-shadow: 0px 3px 5px 0 #eee;
    }

@media only screen and (min-width: 768px) {
    #popup-block {
        background: white;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
        min-height: 400px;
    }
}

@media only screen and (max-width: 768px) {
    #popup-block {
        height: 100vh;
        max-height: 100vh;
        border: 0;
        background-color: #fff;
        justify-content: start !important;
        padding-inline: 30px !important;
        padding-top: 15vh;
    }

        #popup-block #closeDialog {
            top: 60px;
        }
}

.popup-logo {
    max-width: 150px;
}

.popup-heading {
    font-size: 22px;
    margin-bottom: 0;
}

.lead-form {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: .8em;
}

    .lead-form input {
        appearance: none;
        border: 0;
        padding: 15px 13px;
        background-color: #F3F3F3;
        border-radius: 12px;
    }

    .lead-form select {
        appearance: none;
        border: 0;
        padding: 15px 13px;
        background-color: #F3F3F3;
        border-radius: 12px;
        color: #6e6a6a
    }

    .lead-form .form-btn {
        background-image: radial-gradient(circle, black, skyblue);
        background-size: 200% 200%;
        background-repeat: no-repeat;
        animation: glowing 3s linear infinite;
        color: white;
        padding: 15px 12px;
        border-radius: 50px;
        max-width: 100%;
        font-size: 14px;
        margin-block: 5px;
    }

@keyframes glowing {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.intl-tel-field {
    width: 100%;
    padding-left: 100px !important;
}

.loadingMessage {
    display: none;
    padding: 5px 10px;
    background: #ff1f1f1f;
    margin-top: 10px;
    border: 1px solid #ffa3a3;
    text-align: center;
    border-radius: 5px;
}

#popup-block p.subhead{
    text-align: center;
    line-height: 1.5;
    margin-top: 0px;
}
