﻿@import url(social-icons.css);
.footer-social-icons {
    width: 350px;
    display: block;
    margin: 0;    
}
ul.social-icons {
    padding: 0;
    margin-top: 10px;
    list-style-type: none;
}
.social-icons li {
    display: inline;
    height: 100px;
}

.social-icons a {
    text-decoration: none;
}
.social-icon {
    color: #0366d6;
    padding: 10px 14px;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
    background-color: #69f7cc;
}
.social-icon:hover {
    color: #fff;
    background-color: #002548;
}
/* ---------------------------------------- */
@font-face {
    font-family: Roboto;
    src: url(../font/Roboto-Medium.ttf);
}

@font-face {
    font-family: myFontRoboto-Regular;
    src: url(../font/Roboto-Regular.ttf)
}

@font-face {
    font-family: myFontRoboto-Bold;
    src: url(../font/Roboto-Bold.ttf)
}

@font-face {
    font-family: myFontRoboto-Light;
    src: url(../font/Roboto-Light.ttf)
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
    text-decoration: none !important;
    cursor:pointer;
}
input[type=date].form-control{line-height:normal !important}

label {
    margin-top: 10px;
}
.well {
    box-shadow: 5px 5px 5px #ccc;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1335px;
    }
}

@media (min-width: 1200px) {
    .modal-dialog {
        max-width: 70%;
        margin: 1.75rem auto;
    }
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    height: 100%;
}
.login-frame {
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 10px;
    box-shadow: 2px 2px 3px #888888;
    padding: 30px 20px;
}

.login-text {
    text-align: center !important;
    font-family: Cambria;
    font-size: 30px;
    font-weight: bold;
    color: #9f0909;
    padding-bottom:20px;
}
body {
    font-family: myFontRoboto-Regular;
    background-color: rgb(250,250,250);
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

    /* Layout chính - mainlayout-app */
    body.mainlayout-app > .container {
        flex: 1 0 auto;
        padding-bottom: 20px;
    }

/* Layout trang chủ - container-fluid với background */
.main-app {
    flex: 1 0 auto;
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
}

/* Footer luôn ở dưới cùng */
.footer {
    flex-shrink: 0;
    position: relative;
    bottom: 0;
    width: 100%;
    line-height: 60px;
}

.footer-main {
    position: sticky;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    clear: both;
}

.top-header {
    min-height: 77px;
    background-image: url('../img/bg-top.png');
    background-position: top;
    background-color: #ffecb3;
    line-height: 1.2;
    border-bottom: 2px solid rgba(210 206 206 / 50%);
    background-repeat: no-repeat;
}
.top-header-sgd {
    margin: 0;
    color: #002548;
    font-size: 14px;
    line-height: 37px;
    text-transform: uppercase;
    font-weight: 900;
}

.top-header-app-name {
    color: #b71c1c;
    line-height: 13px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 900;
}


#top-header-right {
    background-image: url('../img/logo-55.png');
    background-repeat: no-repeat;
    height:55px;
    padding-left:125px;
    margin-top: 7px;
    margin-bottom:7px;
}

#top-header-left {
    margin-top: 7px;
}

.telesupport {
    display: block !important;
    margin-top: 11px;
    margin-left: 20px;
    border: 1px #f5ac00 solid;
    color: #b71c1c !important;
    float: right;
    background-image: linear-gradient(to top, #ffecb3, #fff8e1), linear-gradient(to top, #b71c1c, #ffdb6a);
}

.main-app {
    margin: 0 auto;
    overflow: auto;
    min-height: 100%;
    background: url("../img/nicol-2025.jpg") no-repeat center center fixed;
    background-color: rgb(250,250,250,0.8) !important;
    background-blend-mode:lighten;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.clear {
    clear: both;
    height: 60px;
}

.right-footer {
    line-height: 1.46;
    padding: 15px 10px;
    font-size: 13px;
    box-shadow: 0px -2px 0 0 rgb(255 255 255 / 50%);
    background-image: url('../img/bg-top.png');
    background-color: #ffecb3;
    background-repeat: no-repeat;
    background-position: bottom;
}

.footer-app-name {
    color: #b71c1c;
    line-height: 1.06;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 900;
}

#hotline-footer {
    color: #002548;
    font-size: 15px;
}

@media only screen and (max-height: 570px) {
    body {
        overflow-y: scroll !important;
    }

        body::-webkit-scrollbar {
            width: 6px;
            background-color: #F5F5F5;
        }

    .main-app {
        padding-bottom: 65px !important;
    }
}
/*Style cho giao diện mobile */
@media only screen and (max-width: 768px) {
    #hotline-footer {
        font-size: 11px;
        color: #002548;
    }
    .top-header-sgd {
        margin: 0;
        color: #002548;
        font-size: 11px;
        line-height: 27px;
        text-transform: uppercase;
        font-weight: 900;
    }

    .top-header-app-name {
        color: #B71C1C;
        line-height: 15px;
        font-size: 13px;
        text-transform: uppercase;
        font-weight: 900;
    }

    .mobile-phone-support {
        display: block !important;
        float: right;
    }

    .m-phone {
        display: block !important;
        position: absolute;
        top: 6px;
        right: 6px;
    }

    #top-header-right {
        margin-top: 14px;
    }

    #top-header-left {
        display: none;
    }

    .main-app {
        margin: 0 auto;
        overflow: auto;
        background-color: rgb(250,250,250);
        min-height: 100%;
        background: url("../img/nicol-2025.jpg") no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .footer-app-name {
        color: #B71C1C;
        line-height: 13px;
        font-size: 11px;
        text-transform: uppercase;
        font-weight: 900;
    }
    }


/* Style cho giao diện ipad */
@media screen and (min-device-width: 769px) and (max-device-width: 1024px) {
    .top-header-sgd {
        margin: 0;
        color: #002548;
        font-size: 12px;
        line-height: 27px;
        text-transform: uppercase;
        font-weight: 900;
    }

    .top-header-app-name {
        color: #B71C1C;
        line-height: 15px;
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 900;
    }

    .telesupport {
        display: block !important;
        margin-top: 11px;
        margin-left: 20px;
        border: 1px #f5ac00 solid;
        color: #b71c1c !important;
        float: right;
        font-size: 11px;
        background: url("../img/header-phone.png") no-repeat center center fixed;
    }
}

.form-control {
    height: auto;
}
