/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #auth-box {
        padding: 25px;
    }
    body.auth-page #toast-container {
        width: 500px;
        left: calc(50% - 250px);
    }
    body.auth-page  #toast-container div {
        width: 500px !important;
    }
    body.auth-page #toast-container.toast-top-right {
        top: 85px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 7px 0px;
        /*border: 1px solid #CCC;*/
        /*border-radius: 10px;*/
        margin: 0px 12px;
    }

    .navbar-expand-lg .navbar-nav .nav-link.active {
        border-bottom: 3px solid #FFF;
    }
}

@media (min-width: 768px) {
    #toast-container {
        top: 70px;
        width: 100%;
        max-width: 540px;
        left: calc(50vw - 270px)
    }

    #toast-container div {
        width: 100% !important;
    }

    #toast-container .toast {
        border-radius: 0px;
    }
}

#auth-box {
    /*border: 1px solid #CCC;*/
    max-width: 500px;
    margin: 0 auto;
    border-radius: 3px;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/* Large devices (desktops, 992px and up) */
@media screen and (min-width: 992px) {

}
@media screen and (max-width: 576px) {
    #auth-box {
        padding: 15px;
    }
    #login, #forgot-password {
        /*margin-top: 100px;*/
    }
    #toast-container {
        width: 100%;
        left: 0%;
    }
    #toast-container div {
        width: 100% !important;
    }
    #toast-container.toast-top-right {
        top: 0px;
    }
    .padding-right-sm-0 {
        padding-right: 0px;
    }
    .padding-left-sm-0 {
        padding-left: 0px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

#loading {
    z-index: 5555;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .2);
}

#auth-logo, #auth-box {
    margin-top: 25px;
}

#toast-container > div {
    opacity:1 !important;
}



/* For HoSo step */
.wizard {
    /*margin: 20px auto;*/
}

.wizard .nav-tabs {
    position: relative;
    /*margin: 40px auto;*/
    margin-bottom: 0;
    border: none;
}

.wizard > div.wizard-inner {
    position: relative;
}

.connecting-line {
    height: 2px;
    background: #e0e0e0;
    position: absolute;
    width: 80%;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 1;
}

.wizard .nav-tabs > li.active > a, .wizard .nav-tabs > li.active > a:hover, .wizard .nav-tabs > li.active > a:focus {
    color: #555555;
    cursor: default;
    border: 0;
    border-bottom-color: transparent;
    box-shadow: 0px 0px 20px #CCC;
}

span.round-tab {
    /*width: 70px;*/
    /*height: 70px;*/
    /*line-height: 70px;*/
    display: inline-block;
    border-radius: 100px;
    background: #fff;
    border: 2px solid #e0e0e0;
    z-index: 2;
    position: absolute;
    left: 0;
    text-align: center;
    /*font-size: 25px;*/
}
span.round-tab i{
    color:#555555;
}
.wizard li.active span.round-tab,
.wizard li.completed span.round-tab {
    background: #fff;
    border: 2px solid #5bc0de;

}
.wizard li.active span.round-tab i,
.wizard li.completed span.round-tab i {
    color: #5bc0de;
}

span.round-tab:hover {
    color: #333;
    border: 2px solid #333;
}

.wizard .nav-tabs > li {
    width: 25%;
    position: relative;
    display: block;
}

.wizard li:after {
    /*content: " ";*/
    position: absolute;
    left: 46%;
    opacity: 0;
    margin: 0 auto;
    bottom: 0px;
    border: 5px solid transparent;
    border-bottom-color: #5bc0de;
    transition: 0.1s ease-in-out;
}

.wizard li.active:after {
    /*content: " ";*/
    position: absolute;
    left: 46%;
    opacity: 1;
    margin: 0 auto;
    bottom: 0px;
    border: 10px solid transparent;
    border-bottom-color: #5bc0de;
}

.wizard .nav-tabs > li a {
    width: 70px;
    height: 70px;
    margin: 20px auto;
    border-radius: 100%;
    position: relative;
    display: block;
    padding: 0;
}

    .wizard .nav-tabs > li a:hover {
        background: transparent;
    }

.wizard .tab-pane {
    position: relative;
    padding-top: 50px;
}

.wizard h3 {
    margin-top: 0;
}

/*@media( max-width : 585px ) {*/

    .wizard {
        /*width: 90%;*/
        height: auto !important;
    }

    span.round-tab {
        font-size: 16px;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .wizard .nav-tabs > li a {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .wizard li.active:after {
        /*content: " ";*/
        position: absolute;
        left: 35%;
    }
/*}*/
/* End of HoSo step */

/* Select 2 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
}
.select2-container--default .select2-selection--single {
    height: 38px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 3px !important;
}
.input-group .select2-container--default .select2-selection--single {
    border-color: #ced4da !important;
    border-radius: 0px 4px 4px 0px !important;
}
.input-group .select2-container.select2-container--default {
    width: calc(100% - 41px) !important;
}
.input-group .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #495057 !important;
}
/* Select 2 */

.alert ul {
    margin-bottom: 0px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.box {
    background-color: #FFF;
    min-height: 50px;
    background-color: rgba(255, 255, 255, 0.54);
    padding: 15px;
    border: 2px solid #5bc0de;
    border-radius: 25px;
}


#user-profile-page #cover {
    max-height: 200px;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 4px 4px 0px 0px;
}

#user-profile-page #cover #user-avatar {
    width: 100px;
    height: 100px;
    bottom: -25px;
    position: absolute;
    left: 25px;
    border-radius: 50%;
    border-width: 3px;
    border-color: #FFF;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/*#user-profile-page #cover .btn {
    position: absolute;
    bottom: 15px;
}*/

/*#user-profile-page #cover #btn_request_phone {
    right: 115px;
}

#user-profile-page #cover #btn_request_date {
    right: 15px;
}*/

.btn-outline-primary, .btn-outline-danger {
    background-color: #FFF;
}

/*#search-form .form-group {
    margin-bottom: 7px;
}*/

@media (max-width: 768px) {
    .modal-full-sm {
        min-width: 100%;
        margin: 0;
    }

    .modal-full-sm .modal-content {
        min-height: 100vh;
        border: none;
        border-radius: 0px;
    }

    .modal-full-sm .modal-content iframe {
        height: 98vh
    }

    .modal-full-sm .close {
        top: 5px !important;
        right: 5px !important;
    }

    .user_avatar_item {
        height: 150px;
    }

    .padding-left-7-sm {
        padding-left: 7.5px;
    }
    .padding-right-7-sm {
        padding-right: 7.5px;
    }
}

@media (min-width: 576px) {
    .user_avatar_item {
        height: 150px;
    }

    #footer-user-nav {
        /*margin-left: calc(50vw - 415px) !important;*/
    }
}

.modal {
     overflow-y:auto;
}

.box-outline {
    border: 1px solid #dee2e6;
    border-radius: .25rem!important;
}

.box-outline .header {
    margin-top: -28px;
    font-weight: bold;
    margin-left: 20px;
    background: #FFF;
    border: 1px solid #CCC;
    padding: 5px 15px;
    width: 150px;
    border-radius: 10px;
    text-align: center;
}

.border-bottom-primary-4 {
    border-bottom: 4px solid #007bff;
    font-weight: bold;
}
.border-bottom-dark-4 {
    border-bottom: 4px solid #343a40;
    font-weight: bold;
}

@media screen and (min-width: 350px) {
    .connection-type-tab a {
        /*font-size: 18px;*/
    }
}

@media screen and (max-width: 350px) {
    .connection-type-tab a {
        /*font-size: 14px;*/
    }
}

@media screen and (max-width: 768px) {
  .btn-block-xs-only {
    display: block;
    width: 100%;
  }
}



/*.mobile-app, .mobile-app a {
    color: #000;
}
.mobile-app a {
    text-decoration: underline;
}
.mobile-app .bg-white a {
    color: #007bff;
}
.mobile-app .bg-white {
    color: #212529;
}*/


.navbar .nav-link{
    color: #FFF;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #FFF;
}
.navbar-toggle .icon-bar+.icon-bar {
    margin-top: 4px;
}
.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
}

.img-thumbnail {
    font-size: 14px;
}



/* Css make Select2 work with select has readonly attribute */
select[readonly].select2 + .select2-container {
  pointer-events: none;
  touch-action: none;
}
select[readonly].select2 + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}
select[readonly].select2 + .select2-container .select2-selection__arrow,
select[readonly].select2 + .select2-container .select2-selection__clear {
    display: none;
}

.hhtn-bg-primary {
    background-color: #eb4125;
    color: #FFF;
}

.app-icon {
    width: 25px;
}

.modal .close {
    z-index: 99999;
    position: absolute;
    right: -7px;
    top: -7px;
    border-radius: 50%;
    background-color: #FFF;
    border: 1px solid #000;
    opacity: 1;
    width: 25px;
    height: 25px;
    text-align: center;
    /* line-height: 25px; */
    font-size: 18px;
}
.modal .close:hover {
    opacity: 1 !important;
}

.hhtn-text-primary {
    color: #ED1C24;
}

.text-3-line {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.625;
}
.text-2-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.625;
}

.box-shadow {
    box-shadow: 0px 0px 20px #CCC;
}
.box-float-icon {
    position: absolute;
    top: -5px;
    right: -5px;
}

#hoso-form .box-float-icon {
    top: -15px;
    right: -15px;
    z-index: 1;
}

.border-grey-light {
    border-color: #0000000d !important;
}

/* Footer nav */
#footer-nav {
    padding: 7px 0px;
    background: #FFF;
    box-shadow: 0 -10px 50px #CCC;
}

#footer-nav .nav-item {
    width: 33%;
    color: #212529;
    font-size: 1rem;
}

#footer-nav .nav-item.active {
    color:  #ED1C24 !important;
}

#footer-nav .nav-item img {
    width: 18px;
    display: block;
    margin: 0 auto 5px auto;
}
/* End of footer nav */

/* Header nav mobile  */
#header-mobile {
    margin: -15px -15px 15px -15px; 
    background-image: url(/app_assets/images/background.jpg); 
    height: 70px; 
}

/* Body mobile */
#body-mobile {
    margin: -30px -15px 0 -15px; 
    border-radius: 15px; 
    background: #FFF;
    border: 1px solid #ccccc33d;
    border-bottom: 0;
}

.mb-100 {margin-bottom: 100px !important;}