@font-face {
    font-family: "Roboto";
    font-weight: 400;
    src: url(./fonts/Roboto-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 600;
    src: url(./fonts/Roboto-Regular.ttf) format("truetype");
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Roboto;
}

#root, .App {
    height: 100%;
}

.page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-content {
    width: 100%;
    margin: 0 auto;
}

    .page-content.header-content {
        max-width: 980px;
    }

@media (max-width: 1024px) {
    .page-content {
        padding: 0 20px;
        width: auto;
    }
}

header .top {
    height: 180px;
    background: url(/images/top.png);
    background-position: 0% 100%;
    background-size: cover;
}

@media (max-width: 500px) {
    header .top {
        height: 120px;
    }
}

header .top h1 {
    margin: 0 !important;
    padding: 90px 0 0 0 !important;
    font-size: 36px !important;
    line-height: 36px !important;
    color: #fff;
    font-family: Roboto;
    font-weight: bold;
}

@media (max-width: 1024px) {
    header .top h1 {
        padding-left: 140px !important;
    }
}

@media (max-width: 500px) {
    header .top h1 {
        padding: 45px 0 0 90px !important;
        font-size: 24px !important;
        line-height: 24px !important;
    }
}

header .top h1 span {
    font-weight: normal;
}

header .top .logo {
    margin-top: -124px;
    margin-left: -190px;
}

@media (max-width: 1024px) {
    header .top .logo {
        margin-left: 0;
        width: 120px;
        height: auto;
    }
}

@media (max-width: 500px) {
    header .top .logo {
        width: 90px;
    }
}

header .top .caller {
    position: absolute;
    top: 30px;
    right: 50px;
}

    header .top .caller .box {
        display: block;
        width: 170px;
        height: 105px;
        border: 2px solid #ffffff;
        border-radius: 15px;
        color: #fff;
    }

        header .top .caller .box > div {
            display: flex;
            justify-content: center;
            padding-top: 7px;
        }

            header .top .caller .box > div img {
                width: 50px;
                margin-left: -5px;
            }

            header .top .caller .box > div a {
                margin: 0;
                padding: 0;
                font-weight: bold;
                font-size: 48px;
                text-decoration: none;
                color: #fff;
            }

                header .top .caller .box > div a:visited {
                    color: #fff;
                }

    header .top .caller .apps {
        display: flex;
        flex-direction: row;
        padding-top: 6px;
    }

        header .top .caller .apps > div:first-child {
            margin-right: 14px;
        }

        header .top .caller .apps img {
            max-width: 18px;
            height: auto;
            margin-bottom: -5px;
        }

        header .top .caller .apps a {
            font-size: 12px;
            color: #fff;
            text-decoration: none;
        }

header .menu {
    height: 60px;
    background: #325A95;
}

    header .menu .page-content {
        height: 60px;
        display: flex;
    }

    header .menu img {
        width: 60px;
        height: auto;
        margin-right: 10px;
    }

    header .menu a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        margin-top: 20px;
        line-height: normal;
    }

@media (max-width: 500px) {
    header .menu a {
        margin-top: 10px;
    }
}

header .menu .rs-nav-subtle.rs-nav-horizontal .rs-nav-bar {
    border-color: rgba(0, 0, 0, 0.4);
}

.page-body {
    flex: 1;
    display: flex;
    flex-direction: row;
}

    .page-body .container {
        padding-top: 25px;
    }

.main-banner {
    width: 100%;
    background-size: cover;
    background-image: url("/images/banner.png");
    background-position: center bottom;
    position: relative;
    min-height: 1080px;
}

@media (max-width: 500px) {
    .main-banner {
        padding-top: 45px;
    }
}

.main-banner .panel {
    position: absolute;
    top: 90px;
    right: 90px;
    width: 400px;
    height: 350px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    padding: 25px 15px;
    border-radius: 15px;
}

@media (max-width: 500px) {
    .main-banner .panel {
        width: calc(90% - 30px);
        margin: 0 auto;
        position: initial;
    }
}
