﻿body.hasBanner .navbar-header .navbar-brand {
    display: none;
}
body.hasBanner .navbar .sidebar-collapse {
    left: 20px;
}
body.hasBanner .navbar .sidebar-collapse {
    width: 40px;
}

body.hasBanner .header_banner {
    height: 90px;
    background: url(/Assets/app/img/banner_fsi_docpro.png)  #f2f2f2;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
    padding: 0 20px;
    z-index: 500;
}

body.hasBanner .header_banner:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: linear-gradient(0deg, rgba(1, 113, 150,1) 0%, rgba(1, 113, 150,0) 60%);
    opacity: .25;
    z-index: 2;
}
body.hasBanner .header_banner:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(255, 255, 255,1) 0%, rgba(0, 0, 0,0) 60%);
    opacity: 1;
    z-index: 1;
}
body.hasBanner .head_left {
    display: table;
    min-height: 90px;
    z-index: 3;
    position: relative;
    float: left;
}
body.hasBanner .login_header {
    min-height: 90px;
    /*padding-top: 20px;*/
}
body.hasBanner .head_left .logo, 
body.hasBanner .head_left .site_name {
    display: table-cell;
    vertical-align: middle;
}
body.hasBanner .head_left .logo img {
    max-height: 50px;
    max-width: 130px;
}
body.hasBanner .head_left .site_name h2, 
body.hasBanner .head_left .site_name h3 {
    color: #00587C;
    padding-left: 15px;
    font-weight: bold !important;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.4;
    font-family: "Open Sans",sans-serif;
    margin: 0;
    display: block;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, .25), -1px -1px 0px rgba(255, 255, 255, .25), -1px 1px 0px rgba(255, 255, 255, .25), 1px -1px 0px rgba(255, 255, 255, .25);
}
body.hasBanner .head_left .site_name h2 {
    color: #d72119 !important;
}
body.hasBanner .head_left .site_name h3 {
    font-size: 19px;
}
body.hasBanner .head_left .site_name a {
    text-decoration: none;
}


body.hasBanner .line-control-panel {
    height: calc(100vh - 175px);
    height: -webkit-calc(100vh - 175px);
    height: -moz-calc(100vh - 175px);
    height: -ms-calc(100vh - 175px);
    height: -o-calc(100vh - 175px);
}
body.hasBanner .custdatabox .databox .title a.red {
    font-size: 17px;
}
body.hasBanner .custdatabox .databox ul li {
    font-size: 14px;
}

/*STICKY FOOTER*/
body.login_2nd > #Section {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

body.login_2nd > #Section .login_mainContent {
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

/*LOGIN TVDT*/

.login_footer_tvdt{
    background: rgba(255, 255, 255, 0.27);
    overflow: hidden;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding:15px 0;
}
.login_footer_tvdt h3{
    font-weight: bold;
    margin: 0 0 10px 0;
    text-transform:uppercase;
    font-size:16px;
}
 .login_footer_tvdt span {
    margin: 2px 0;
    font-size: 13px;
    display:block;
}

/*LOGIN PAGE*/

body .grd-blue:before {
    display: none;
}
body .grd-blue {
    background: #fff;
    color: #444;
}
body.login_2nd {
    /*background: url(/login/Assets/app/img/bg_tvdt_login.png) no-repeat;*/
    background-size: cover;
    background-attachment: fixed;
}
body .logo h3{
    color: #d9231c;
    font-weight: bold;
    padding: 0 20px;
    line-height: 46px;
    margin-top: 0px;
    position: relative;
}
body .login_mainContent .form-login {
    position: relative;
    margin-left: 0;
    margin-top: 0;
    float: left;
    left: 0;
    top: 0;
    background: none;
    box-shadow: none !important;
    padding: 0 !important;
    width: 300px !important;
}
body .login_header {
    /*height: 90px;
    background: #fff;*/
    /*overflow: hidden;*/
}
body .login_footer {
    background: #fff;
    padding-bottom: 20px;
    padding-top: 15px;
}
body .login_footer h3, body .login_footer span {
    display: block;
    text-align: center;
}
body .login_header .head_left {
    display: table;
    height: 90px;
    float: left
}
body .login_header .head_left .logo, body .login_header .head_left .site_name {
    display: table-cell;
    vertical-align: middle;
}
body .login_header .head_left .logo img {
    max-height: 46px;
    max-width: 130px;
}
body .login_header .head_left .site_name h2, body .login_header .head_left .site_name h3 {
    color: #04166c;
    padding-left: 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.4;
    font-family: "Open Sans",sans-serif;
    margin: 0;
    display: block;
}
.access-limit{
    background-color: #fff;
    padding: 10px;
    margin-bottom: 15px;
    color: red;
    font-weight: bold !important;
    line-height: 24px !important;
    text-align: center;
    border-radius: 5px;
}
.top_link {
    margin: 0;
    display: none;
}
.stick_img {
    padding-top: 50px;
}
.top_link li img {
    max-height: 39px;
}
.top_link li {
    float: left;
}

.login_mainContent {
/*    background: url(/login/Assets/app/img/bg_login.jpg) #1e9bc5;*/
    background-size: cover;
    background-position: 100% 100%;
    background-repeat: no-repeat;
    position: relative;
    padding: 50px 0;
    min-height: 530px;
}
.top_link > li > a {
    line-height: 90px;
    margin-left: 10px;
}
.login_2nd_content .form-login {
    height: auto !important;
}
.login_2nd_content .form-login .fg_logo img {
    display: none;
}
body .login_footer h3 {
    text-transform: uppercase;
    font-size: 16px;
}
body .login_footer span {
    margin: 2px 0;
    font-size: 13px;
}
body .login_footer span a:hover {
    text-decoration: underline;
    color: #d92702;
}
body .login_footer span a {
    color: #d92702;
    -webkit-transition: all .25s;
       -moz-transition: all .25s;
        -ms-transition: all .25s;
         -o-transition: all .25s;
            transition: all .25s;
}
.login_2nd_content .form-login .fg_logo .caption {
    display: block !important;
    color: #d9231c!important;
    visibility: visible !important;
    text-transform: uppercase;
    margin: 0 auto !important;
    /* font-size: 18px !important; */
    /* font-weight: bold; */
    font-size: 15px;
    font-weight:600;
    text-align: left;
}
.form-login select.form-control {
    display: block;
    clear: both;
    box-shadow: none;
    border-color: #ddd;
}
body .form-login .remember + .form-group > button {
    background-color: #26a7cf;
    border-color: #26a7cf;
}
body .form-login .remember + .form-group > button:hover {
    background-color: #36c0eb;
    border-color: #36c0eb;
}
.login_2nd_content .form-login .Work_year {
    display: block !important;
    visibility: visible !important;
}
.login_2nd_content > h2 {
    /* margin: 40px 0 30px 0; */
    margin:5px 0 20px 0;
    color: #d9231c;
    text-align: left;
    display: block;
    /* font-weight: bold; */
    line-height: 1.4;
    font-family: "Open Sans",sans-serif;
    font-size: 21px;
    font-weight:600;
}
body .login_mainContent .form-login .form-group:not(.remember) label {
    width: auto !important;
    float: left;
    min-width: 175px;
}

body .login_mainContent .form-login label + .form-control {
    float: left;
    display: inline-block !important;
    width: 300px !important;
    clear: none !important;
}

body .login_mainContent  .form-group {
    clear: both;
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
}

body .form-login .remember + .form-group > button {
    width: 200px;
    float: right;
    border-radius: 4px;
}

body .login_mainContent  .form-group.remember {
    width: 175px;
    float: left;
    clear: none !important;
    display: inline-block !important;
}

body .login_mainContent  .form-group:last-child {
    float: left;
    width: 200px;
    clear: none !important;
}

.login_2nd_content .form-login .fg_logo .caption {
    /* border-bottom: 1px solid #adddea; */
}
.stick_img img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    max-height: 320px;
}

body.hasBanner .line-control-panel {
    height: calc(100vh - 175px);
    height: -webkit-calc(100vh - 175px);
    height: -moz-calc(100vh - 175px);
    height: -ms-calc(100vh - 175px);
    height: -o-calc(100vh - 175px);
}
body .login_mainContent .form-login .form-group label {
    text-shadow: #fff 0px 1px 1px;
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.header_tvdt{
    background: rgba(255, 255, 255, 0.27);
    /*overflow: hidden;*/
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
body .login_header .switch_lang_login {
    top: 36px;
}


/* ADD CSS 24/10/2017 */
.support_id{
    position:fixed;
    bottom:0;
    left:10px;
    width:295px;
    background:#fff;
    border-radius: 10px 10px 0 0;
    z-index: 900;
    transition: all ease .5s;
}
.support_id.active .sup_main{
    display: block;
    transition: display ease-in .5s;
}
.support_id.active .btn_sup::after{
    content: "\f078";
    font-family: FontAwesome;
    color: #fff;
    font-size: 14px;
}
.support_id .sup_header{
    background: #DA4B38;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    padding: 10px 15px;
    border-radius: 10px 10px 0 0;
    position: relative;
}
.support_id .sup_header .fa{
    margin: 0 5px 0 0;
}
.support_id .sup_main{
    z-index: 9;
    padding:10px 15px;
    border-left: 1px solid #ddd;
    border-right:1px solid #ddd;
    background-color: #fff;
    display: none;
    transition: display ease-out .5s;
}
.support_id .sup_main .title{
    font-size: 14px;
    color: #1d76c7;
    margin: 10px 0 15px 0;
    font-weight: bold !important;
    width: 100%;
    line-height: 1.4;
}
.btn_sup{
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.btn_sup:hover{
    text-decoration: none;
}
.btn_sup:after{
    content:"\f077" /* "\f078" */;
    font-family: FontAwesome;
    color: #fff;
    font-size: 14px;
}
.support_id .sup_main ul li{
    list-style: none;
    margin: 0 0 10px 0;
}
.support_id .sup_main ul li i{
    display: inline-block;
    width: 15px;
    text-align: center;
}
.head_hotline{
    width: 170px;
    height: auto;
    float: right;
    position: relative;
    margin-top: 20px;
}

.head_hotline img{
    width: 100%;
}
.header_tvdt{
    padding:10px 0;
    max-height: 110px;
}
.header_tvdt .head_left {
    /*display: inherit !important;*/
    /*float: left;*/
    /*height: auto !important;*/
}
.txt_phone {
    position: absolute;
    bottom: -5px;
    left: 43px;
    font-size: 17px;
    font-weight: bold;
    color: #fb1b15;
    opacity: 0.8;
    text-shadow:
   -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
     1px 1px 0 #fff;
}


/*RESPONSIVE*/
@media(max-width: 991px){
    .stick_img img {
        max-width: 400px;
        width: 100%;
    }
    .stick_img {
        padding-top: 0;
    }
    body .login_mainContent .form-login {
        left: 50%;
        -webkit-transform: translateX(-50%);
           -moz-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
             -o-transform: translateX(-50%);
                transform: translateX(-50%);
    }
    .login_2nd_content > h2 {
        text-align: center;
        font-size: 26px;
    }
    .login_2nd_content {
        display: block;
        clear: both;
        overflow: hidden;
        padding: 0 15px;
    }
}
@media(max-width: 860px){
    body.hasBanner .navbar .sidebar-collapse {
        left: 5px;
    }
    body.hasBanner .navbar .appname {
        margin-left: 50px;
    }
}
@media(max-width: 767px){
    .login_2nd_content > h2 {
        font-size: 22px;
    }
    body .login_mainContent .form-login {
        width: 200px !important;
    }
}
@media(max-width: 640px){
    body.hasBanner .line-control-panel {
        height: calc(100vh - 220px);
        height: -webkit-calc(100vh - 220px);
        height: -moz-calc(100vh - 220px);
        height: -ms-calc(100vh - 220px);
        height: -o-calc(100vh - 220px);
    }
    body.hasBanner .navbar .appname {
        display: block !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 15px;
    }
   body.hasBanner .navbar {
        background: #1d76c7;
    }
    body.hasBanner  .head_left .site_name h2 {
        font-size: 14px;
    }
    body.hasBanner  .head_left .site_name h3 {
        font-size: 16px;
    }
    body .login_header .head_left .logo img {
        max-height: 30px;
    }    
}
@media(max-width: 480px){
    body.hasBanner  .head_left .logo img {
        max-width: 100px;
    }
    body.hasBanner  .head_left .site_name h2 {
        font-size: 10px;
    }
    body.hasBanner  .head_left .site_name h3 {
        font-size: 13px;
    }
}