﻿:root {
    --primary-color: #0a406b;
    --secondary-color: #225379;
}

body {
    width: 100%;
    font-size: 20px;
    font-family: Montserrat;
    margin: 0;
    padding: 0;
    position: relative;
    background-color: #fefefe;
    overflow-x: hidden;
    color: #292929;
}

p {
    color: #3e3e3e;
    padding: 10px 1rem;
}

a {
    color: #0a406b;
    cursor: pointer;
    font-weight: 600;
    border-bottom: thin dotted var(--primary-color);
}

h1 {
    border-bottom: thin solid var(--secondary-color);
    font-weight: bold;
    padding: 10px 0;
    margin-bottom: 25px;
}

button {
    height: 55px;
    width: 225px;
    color: #fff;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
}

    button:hover {
        border-width: 2px;
        background-color: var(--secondary-color);
    }

.header {
    height: auto;
    max-height: 150px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

    .header img {
        height: 100%;
        width: auto;
        padding: 1rem;
    }

    .header h1 {
        color: var(--primary-color);
    }

    .header button {
        margin-right: 2rem;
    }

.primary {
    background-image: url('../Images/IDX-bg.jpg');
    background-position: top;
    background-size: contain;
    width: 100%;
}

.button-container {
    height: auto;
    width: 100%;
    position: absolute;
    top: 200px;
    left: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

    .button-container button {
        margin: 0 10px;
    }

section {
    padding: 2rem 16rem;
}

    section:nth-child(even) {
        background-color: #fff;
    }

footer {
    color: #fcfcfc;
    font-size: 70%;
    background-color: #292929;
    padding: 3rem 0;
}

    footer a {
        color: #fcfcfc;
        font-size: 12px;
        font-weight: normal;
    }

        footer a:hover {
            color: #9e1515;
        }

    footer h3 {
        border-bottom: thick solid #9e1515;
        margin-bottom: 10px;
        padding-bottom: 5px;
    }

.footer {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.footer-div {
    display: flex;
    flex-flow: column nowrap;
    margin: 10px;
    min-width: 300px;
    width: calc(50vw / 4);
}

    .footer-div .nav {
        display: flex;
        flex-flow: column nowrap;
    }

.copy {
    text-align: center;
    padding: 2rem;
}

.to-top-btn {
    cursor: pointer;
    position: fixed;
    bottom: 25px;
    right: 50px;
    z-index: 1;
}

.table-container {
    display: table;
    margin: 5rem auto;
    padding: unset !important;
}

    .table-container table {
        background-color: #fff;
        font-size: 1rem;
        border: 3px solid #333;
    }

    .table-container th {
        background-color: var(--primary-color);
        padding: 10px;
        color: #fff;
    }

    .table-container tr:nth-child(even) {
        background-color: #f6f6f6;
    }

    .table-container td {
        padding: 8px;
        min-width: 200px;
        text-align: center;
    }

.iframe-mobile-messge {
    display: none;
}

iframe {
    border: thin solid #ccc;
    box-shadow: 0 0 10px #ddd;
}

.examples {
    display: flex;
    flex-flow: column wrap;
    max-width: 1920px;
    margin: 2rem auto;
}

    .examples div {
        display: flex;
        flex-flow: row norap;
        padding: 3rem;
    }

        .examples div:nth-child(odd) {
            flex-flow: row-reverse nowrap;
            border-top: thick solid var(--primary-color);
            border-bottom: thick solid var(--primary-color);
        }

        .examples div p {
            padding: 0 2rem;
        }

    .examples img {
        max-width: 450px;
        max-height: 400px;
        width: 100%;
        box-shadow: 0 2px 8px #ccc;
        border-radius: 6px;
        cursor: pointer;
        transition: 0.3s;
    }

        .examples img:hover {
            opacity: 0.7;
        }

.sign-up-button {
    display: block;
    width: 300px;
    margin: 5rem auto;
}

/*img Modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 80px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    .examples img {
        max-width: 250px;
        max-height: 200px;
    }
}

@media screen and (max-width: 1023px) {
    .primary {
        height: auto;
        margin-top: 15vh;
    }

    .header h1 {
        font-size: 22px;
    }

    iframe {
        width: 100%;
        height: 720px;
    }
}

@media screen and (max-width: 1200px) {
    section {
        padding: 4rem;
    }

    .examples div {
        flex-flow: row wrap;
        justify-content: center;
    }

        .examples div:nth-child(odd) {
            flex-flow: row-reverse wrap;
        }
}

@media screen and (max-width: 767px) {
    .button-container {
        flex-flow: column;
        top: 130px;
    }

        .button-container button {
            margin-bottom: 5px;
            padding: 8px;
            width: 60%;
            height: 50%;
        }

    .primary {
        visibility: hidden;
    }

    .header {
        box-shadow: 0 4px 6px #bbb;
        height: 100px;
    }

        .header img {
            height: 60px;
            width: auto;
            padding: unset;
            margin-left: 25px;
        }

        .header h1 {
            font-size: 18px;
            margin-right: 15px;
        }

        .header button {
            display: none;
        }

    .to-top-btn {
        width: 75px;
    }

    section {
        padding: 20px;
    }

        section p,
        section ul {
            font-size: 70%;
        }

    .interactive-iframe {
        display: none;
    }

    .iframe-mobile-messge {
        display: block;
    }

    .table-container td {
        padding: unset;
        min-width: unset;
        text-align: unset;
    }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {
    body {
        width: 110%;
    }

    .examples div {
        display: flex;
        flex-flow: row nowrap;
        padding: 3rem;
    }

        .examples div:nth-child(odd) {
            flex-flow: row-reverse nowrap;
            border-top: thick solid var(--primary-color);
            border-bottom: thick solid var(--primary-color);
        }


    .examples img {
        max-width: 250px;
        max-height: 200px;
    }
}
