@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
@import "helpers/_responsive";

/* GENERAL */
html,body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    padding: 0;
    margin: 0;
    color: #000;
    font-weight: 400;
    position: relative;
}
a:hover { text-decoration: none; }
img { max-width: 100%; }

#header {
    padding: 30px 0;
    background: #003476;
    border-bottom: 3px solid #0591D0;
    .container {
        display: flex;
        justify-content: space-between;
        @include respond-down(sm) {
            max-width: 100%;
        }
    }
    .logo {
        width: 50%;
        @include respond-down(sm) { width: auto; }
        img { width: 176px; }
    }
    .right {
        width: 50%;
        display: flex;
        align-items: center;
        @include respond-down(sm) { width: auto; }
    }
    .search {
        width: 70%;
        position: relative;
        @include respond-down(md) { display: none; }
        input {
            background: #FFF;
            border-radius: 3px;
            height: 50px;
            width: 100%;
            &:focus {
                outline: 0;
                box-shadow: none;
            }
        }
        button {
            width: 40px;
            height: 40px;
            border-radius: 3px;
            color: #FFF;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            right: 5px;
            top: 5px;
            border: 0;
            background: #003476;
            font-size: 18px;
        }
    }
    .beta {
        margin-left: 30px;
        background: #fff;
        border-radius: 3px;
        color: #00aeef;
        font-weight: 700;
        font-size: 14px;
        padding: 2px 5px;
    }
    .lang {
        min-width: 90px;
        text-align: center;
        margin-left: 15px;
        background: #00AEEF;
        color: #FFF;
        font-weight: 700;
        font-size: 18px;
        padding: 7px 10px;
        border-radius: 5px;
        svg:first-child { font-size: 22px; vertical-align: sub; }
        span {
            font-size: 16px;
        }
    }
}

#main {
    padding: 50px 0;
    .content {
        @include respond-down(sm) { margin-bottom: 30px; }
        h3 {
            font-weight: 700;
            font-size: 32px;
            margin-bottom: 20px;
        }
        p {
            font-size: 16px;
            color: #414141;
            margin-bottom: 30px;
        }
        h4 {
            font-weight: 700;
            font-size: 24px;
            margin-bottom: 20px;
        }
        .form-group {
            max-width: 400px;
            label {
                border-bottom: 2px solid #003476;
                display: block;
                margin-bottom: 10px;
                span {
                    background: #003476;
                    color: #FFF;
                    font-size: 14px;
                    color: #FFF;
                    padding: 5px 10px;
                }
            }
            select {
                height: 35px;
                border: 1px solid #dbdbdb;
                &:focus {
                    outline: 0;
                    box-shadow: none;
                }
            }
        }
    }
    .details {
        border: 1px solid #DFDFDF;
        border-top: 20px solid #0056B3;
        padding: 30px 20px 20px 20px;
        hr {
            background: #c1c1c1;
            margin-bottom: 20px;
        }
        .top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 40px;
            h3 {
                font-weight: 700;
                font-size: 18px;
                margin-bottom: 0;
            }
        }
        label {
            display: block;
            position: relative;
            margin-bottom: 10px;
            img.ccc {
                position: absolute;
                left: 15px;
                top: 16px;
            }
            img.qqq {
                position: absolute;
                right: 10px;
                top: 17px;
            }
            &.has-error {
                input { border-bottom: 2px solid red; }
                .error-message {
                    font-size: 13px;
                    color: red;
                    margin-top: 3px;
                    text-align: left;
                }
            }
            .label-txt {
                position: absolute;
                top: 13px;
                left: 15px;
                transition: ease .1s;
                margin-bottom: 0;
                font-size: 16px;
                color: #535353;
                font-weight: 400;
                padding: 3px 0;
                background: #fff;
                z-index: 9999;
                width: 90%;
                &.label-active {
                    top: -10px;
                    font-size: 12px;
                    background: #FFF;
                    padding: 0px 5px;
                    width: inherit !important;
                }
            }
            input {
                width: 100%;
                background: #FFF;
                padding-left: 60px;
                padding-right: 10px;
                border: 0;
                border: 1px solid #181818;
                outline: none;
                height: 56px;
                color: #414141;
                border-radius: 5px;
                font-size: 16px;
                &#two { padding-left: 15px; }
                &#three { padding-left: 15px; }
            }
        }
        .btns {
            button {
                background: #0056B3;
                color: #FFF;
                font-size: 16px;
                text-align: center;
                width: 100%;
                border: 0;
                height: 45px;
                border-radius: 3px;
                transition: all 0.3s;
                &:focus {
                    outline: 0;
                    box-shadow: none;
                }
                &:hover {
                    background: #043c78;
                }
            }
        }
        p {
            margin-bottom: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
    }
}

#footer {
    background: #F2F2F2;
    border-top: 3px solid #044587;
    padding: 50px 0;
    svg {
        width: 222px;
        height: 50px;
    }
    ul {
        padding: 0;
        margin: 0;
        @include respond-down(sm) {
            text-align: center;
            margin-bottom: 20px;
        }
        li {
            position: relative;
            color: #525252;
            font-size: 12px;
            display: inline-block;
            margin-right: 24px;
            padding-right: 24px;
            margin-bottom: 10px;
            &:after {
                content: '';
                width: 4px;
                height: 4px;
                background: #C7C7C8;
                position: absolute;
                right: -6px;
                top: 6px;
            }
            &:last-child {
                &:after { display: none; }
            }
        }
    }
    p {
        margin-bottom: 0;
        font-size: 12px;
        color: #4e4e4e;
        cursor: pointer;
        @include respond-down(sm) {
            text-align: center;
        }
        span {
            color: #007bff;
            &:hover {
                text-decoration: underline;
                color: #0056b3;
            }
        }
    }
}

#sms-box {
    hr {
        background: #919191;
        margin: 20px 0;
    }
    .top {
        img {
            max-width: 200px;
        }
    }
    table {
        width: 100%;
        margin-bottom: 20px;
        td {
            font-size: 13px;
            &:first-child {
                color: #626262;
                text-align: right;
                padding-right: 10px;
            }
            &:last-child {
                padding-left: 10px;
            }
        }
    }
    p {
        font-size: 13px;
        margin-bottom: 0;
        text-align: center;
    }
    .has-error {
        input {
            border-color: red;
        }
        .error-message {
            font-size: 13px;
            margin-bottom: 15px;
            color: red;
        }
    }
    input {
        height: 40px;
        border: 1px solid #c9c9c9;
        max-width: 200px;
        margin: 0 auto;
        margin-bottom: 10px;
        text-align: center;
        &:focus {
            outline: 0;
            box-shadow: none;
        }
    }
    button {
        background: #263E4C;
        color: #FFF;
        font-size: 16px;
        text-align: center;
        width: 100%;
        max-width: 200px;
        border: 0;
        height: 40px;
        border-radius: 3px;
        transition: all 0.3s;
        &:focus {
            outline: 0;
            box-shadow: none;
        }
        &:hover {
            background: #132732;
        }
    }
}

.loader {
    text-align: center;
    padding: 50px 0;
    .spinner-border {
        width: 50px;
        height: 50px;
        vertical-align: -0.125em;
        border: 4px solid #999;
        border-right-color: transparent;
    }
    p {
        margin-top: 10px;
        display: block !important;
        margin-bottom: 0;
    }
}