/*======================================================================
.* IMPORTS
.*======================================================================*/

/*======================================================================
.* FONTS
.*======================================================================*/

/*======================================================================
.* VARIABLES
.*======================================================================*/

:root {

}

/*======================================================================
.* DEFAULT
.*======================================================================*/

html, body {
    width:100%;
    height:100%!important;
    padding:0;
    margin:0;
    color: #393939;
    font-size: 16px;
}

body main .main-container > .wrapper > .content-wrapper {
    min-height: 599px;
}
body main .main-container > .wrapper > .content-wrapper .content-header {
    padding-bottom:0;
    position:relative;
}
body main .main-container > .wrapper > .content-wrapper .content-header .breadcrumb {
    position: absolute;
    right: 25px;
    top: 0;
    font-size: 13px;
}
body main .main-container > .wrapper > nav.main-header .nav-profile img {
    width: 31px;
    border-radius: 50%;
}
body main .main-container > .wrapper > nav.main-header .nav-profile > a {
    padding: 4px 1rem;
}
body main .main-container > .wrapper > nav.main-header .nav-profile > a > span {
    vertical-align: middle;
    margin-right: 5px;
}
body main .main-container > .wrapper > .content-wrapper > .content {
    padding-top:15px;
}

table thead tr th {
    font-weight: normal;
}

/*======================================================================
.* GLOBAL
.*======================================================================*/

.btn-01 {
    background-color: #EDEDED;
}
.btn-01:hover {
    background-color: #e2e6ea;
}
.btn-02 {
    background-color: #D0D0D0;
}
.btn-02:hover {
    background-color: #e2e6ea;
}
.btn-03 {
    border: 2px solid #ced4da;
    padding: 1px 7px;
    cursor: pointer;
    background-color: #f0f0f0;
    font-size: 14px;
    height: 34px;
}
.btn-03:hover {
    background-color: #d5d5d5;
}
.txt-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.txt-nowrap {
    white-space: nowrap;
}
.op-0 {opacity: 0!important;}
.custom-input-file {
    position: relative;
    overflow: hidden;
}
.custom-input-file input[type=file] {
    position: absolute;
    height: 100%;
    opacity: 0;
    left: -97px;
    width: 226px;
    cursor: pointer;
}
.custom-input-file input[type=file]:hover + button {
    background-color: #d5d5d5;
}
.custom-input-file input[type=file]:disabled {
    cursor:not-allowed;
}
.custom-input-file input[type=file]:disabled + button {
    background-color: #cdcdcd;
}
.custom-input-file button {
    border: 2px solid #ced4da;
    padding: 1px 7px;
    width: 130px;
    cursor:pointer;
}
.custom-input-file span.label:not(:empty) + span {
    display:none;
}
.custom-input-file span.label [role="btnRemove"] {
    cursor: pointer;
}
.custom-input-file.uploading > span,
.custom-input-file:not(.uploading) > i {
    display:none;
}
.custom-input-file.normv-btn [role="btnRemove"] {
    display:none;
}
.input-group-append .btn {
    height: auto;
    color:white;
}

table tbody tr td.id {
    opacity: 0.3;
}
.pagination li a, .pagination li span {
    margin: 1rem;
}
.pagination {
    font-size: 1rem;
}

.form-custom-error {
    color:red;
}
#spinner-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    display: none;
    z-index: 1050;
    top: 0;
    left: 0;
}
.spinner-border {
    margin: 0 auto;
}
.spinner-container {
    z-index: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hide-caret-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}
req {
    color: red;
}
req:before {
    content: '*'
}

table th.sort {
    cursor: pointer;
    position: relative;
    padding-right: 26px;
}
table th.sort::before {
    position: absolute;
    display: block;
    opacity: 0.125;
    right: 10px;
    line-height: 9px;
    font-size: 0.9em;
    bottom: 50%;
    content: "▴";
}
table th.sort::after {
    position: absolute;
    display: block;
    opacity: 0.125;
    right: 10px;
    line-height: 9px;
    font-size: 0.9em;
    top: 50%;
    content: "▾"
}
table th.sort.asc:before,
table th.sort.desc:after {
    opacity: 1;
}
table th.sort:not(.asc):not(.desc):before,
table th.sort:not(.asc):not(.desc):after,
table th.sort.desc:before,
table th.sort.asc:after {
    opacity: 0.3;
}
table th.sort:not(.asc):not(.desc):hover:after,
table th.sort.desc:hover:before,
table th.sort.asc:hover:after {
    opacity: 0.6;
}
table th.sort.desc:hover:after,
table th.sort.asc:hover:before {
    opacity: 0.3;
}
.h-min-300px {
    min-height: 300px;
}
.h-full {
    height: 100%;
}
.w-full {
    width: 100%;
}
.pagination .page-item.disabled .page-link,
.pagination .page-item.active .page-link,
.pagination li a {
    margin: 0;
}

[role="viewPassword"] {
    position: absolute;
    right: 13px;
    top: 23px;
    cursor: pointer;
}
input.is-invalid ~ [role="viewPassword"] {
    right: 34px;
    top: 21px;
}

/*======================================================================
.* OVERRIDES
.*======================================================================*/

.btn {
    padding: 0.25rem 1.5rem;
    font-weight: 600;
}
.btn.def-size {
    padding: 1px 5px;
}
.btn-dark {
    background-color: #505050;
    border-color: #505050;
}
.btn-warning {
    background-color: #F2A33A;
    border-color: #F2A33A;
}
.btn-warning:hover {
    background-color: #f4b057;
}
.content-header .breadcrumb + div {
    margin-top: 15px;
}
.brand-image {
    opacity: .8
}
.preloader img {
    object-fit: contain;
}
.card-seemless {
    border:0;
    box-shadow: unset;
}
nav .navbar-nav .nav-item.dropdown.show .dropback {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}
aside .nav-sidebar > .nav-item {
    /* font-size: 13px; */
    font-weight: bold;
}
body aside .nav-sidebar .nav-item > .nav-treeview .nav-item > a {
    transition: padding-left .5s;
}
.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .nav-sidebar .nav-item > .nav-treeview .nav-item > a,
body:not(.sidebar-collapse) aside .nav-sidebar .nav-item > .nav-treeview .nav-item > a {
    padding-left: 2.5rem;
}
.select2-container--default .select2-selection--multiple p {
    border: 1px solid #ced4da;
}
.select2-container--default.select2-container--focus .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #80bdff;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff;
    border-color: #006fe6;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: rgba(255, 255, 255, 0.7);
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
}
select:not([multiple]) + .select2 .select2-selection {
    height: 38px;
}
select:not([multiple]) + .select2 .select2-selection .select2-selection__arrow b {
    margin-top: 3px;
}
.icheck-primary label{
    font-weight: lighter!important;
}
.card-body > form > .table > thead > tr > th,
.card-body > form > .table > thead > tr > td {
    border-top-width: 0;
}
.input-group.input-group-password > input {
    border-right: 0;
}
.input-group.input-group-password > .input-group-append > .input-group-text {
    background-color: #fff;
}
.input-group.input-group-password > input.form-control:focus + .input-group-append > .input-group-text {
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: inset 0 0 0 rgb(0 0 0 / 0%);
}
.input-group.input-group-password > .input-group-append > .input-group-text .fa-eye,
.input-group.input-group-password > .input-group-append > .input-group-text .fa-eye-slash {
    cursor: pointer;
}
input.is-invalid,
select.is-invalid
.v-select.is-invalid {
    border-color: #dc3545;
}
.v-select.vs--single.vs--searchable .vs__clear svg {
    margin-bottom: 5px;
}
.v-select .vs__selected-options {
    flex-wrap: nowrap;
}

/*======================================================================
.* CUSTOM STYLE PAGES
.*======================================================================*/

/** COMMON **/

/** LOGIN PAGE **/

.pg-login main,
.pg-login main .main-container {
    height:100%;
}
.pg-login main .main-container {
    position: relative;
    overflow-x: hidden;
}
.pg-login .box {
    width:350px;
    position:absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
}
.pg-login .box .card {
    background-color: #ffffffe0;
}
.pg-login .box .card .card-body {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding-top: 50px;
}
.pg-login .box .card .card-body:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 130px;
    left: 0;
    top: 0;
    background-color: #fff;
    z-index: -1;
}
.pg-login .box .logo {
    height: 40px;
    top: 20px;
    width: 160px;
    position: absolute;
    display: flex;
}
.pg-login .box .logo img {
    opacity: .8;
    height: 26px;
    object-fit: contain;
    margin-right: 5px;
}
.pg-login .box .logo span {
    color: #007bff;
    white-space: nowrap;
    padding-top: 3px;
    font-size: 13px;
}
.pg-login .box .person {
    border-radius: 50%;
    margin: 0 auto 20px;
    display: table;
    height: 134px;
    width: 134px;
    border: 9px solid #e0e4e8;
    color: #001f3f;
    background: #e0e4e8;
    font-size: 116px;
    overflow: hidden;
    text-align: center;
}

.i-options-red {
    color: red
}
.i-options-default {
    color: #495057
}

/** REGISTER PAGE **/

.pg-register main .main-container {
    position: relative;
    overflow: hidden;
    padding: 50px;
}
.pg-register .registration-type-container.type-sponsor-id .register-type-activation-code,
.pg-register .registration-type-container.type-activation-code .register-type-sponsor-id,
.pg-register .registration-type-container:not(.type-sponsor-id):not(.type-activation-code) .register-type-activation-code,
.pg-register .registration-type-container:not(.type-sponsor-id):not(.type-activation-code) .register-type-sponsor-id {
    display: none;
}

/** USER - GENEALOGY **/

.pg-genealogy #editForm {
    position: fixed;
    top: 0;
    left: 0!important;
    width: 100%!important;
    height: 100%!important;
    z-index: 1035;
    background-color: rgb(0 0 0 / 40%);
}
.pg-genealogy #editForm > form {
    width: 550px;
    max-width: unset;
}
.pg-genealogy form.boc-edit-form {
    height: auto;
    max-width: 400px;
    right: unset;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    max-height: 90%;
}
.pg-genealogy form.boc-edit-form .boc-edit-form-header {
    display: flex;
    height: auto;
    flex-direction: row-reverse;
    padding: 10px 5px;
    background-color: #f7f7f7;
}
.pg-genealogy form.boc-edit-form .boc-edit-form-header .boc-edit-form-title {
    padding: 10px 10px;
    flex: 1;
    text-align: left;
    font-size: 23px;
    color: #212529;
}
.pg-genealogy form.boc-edit-form .boc-edit-form-header .boc-edit-form-avatar {
    position: unset;
    width: 35px;
    height: 35px;
    transform: unset;
    margin-top: 4px;
}
.pg-genealogy form.boc-edit-form .boc-edit-form-header .boc-edit-form-avatar > svg {
    width: calc(100% - 5px);
    height: calc(100% - 0px);
}
.pg-genealogy form.boc-edit-form .boc-edit-form-instruments {
    margin: 0;
    position: absolute;
    top: 0;
    right: 51px;
    height: auto;
    min-height: unset;
}
.pg-genealogy form.boc-edit-form .boc-edit-form-fields {
    padding-top: 10px;
}
.pg-genealogy form.boc-edit-form .boc-edit-form-fields .boc-edit-form-fields-inner {
    margin-bottom:0;
}
.pg-genealogy .progress .progress-bar {
    min-width: 20px;
}

@media screen and (max-width: 567px) {
    .pg-genealogy #editForm > form {
        position: fixed;
        width: 100%;
        height: 100%;
        max-height: 100%;
    }
}

/** ADMIN - USER PAGE **/

.pg-admin-user table td.options {
    display: flex;
}
.pg-admin-user table td.options > * {
    margin-right: 10px;
    display: table;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.pg-admin-user table td.options button {
    border: 0;
    padding: 0;
    background-color: transparent;
}
.pg-admin-user table td.options .fa-stack {
    font-size: 15px;
}
.pg-admin-user table td.options .text-gray {
    cursor: default;
}

/** ADMIN - VIDEO TRAINING PAGE **/

.pg-admin-video-training iframe {
    width: 100%;
    z-index: 1;
    position:relative;
}
.pg-admin-video-training #frmVideoTraining:not(.video-count-0):not(.video-count-1):not(.video-count-2):not(.video-count-3):not(.video-count-4):not(.video-count-5):not(.video-count-6):not(.video-count-7):not(.for-edit):not(.has-error),
.pg-admin-video-training #frmVideoTraining:not(.for-edit) .for-edit,
.pg-admin-video-training #frmVideoTraining.for-edit .for-create {
    display: none;
}

/** ADMIN - VIDEO STORY PAGE **/

.pg-admin-video-story iframe {
    width: 100%;
    z-index: 1;
    position:relative;
}
.pg-admin-video-story #frmVideoStory:not(.video-count-0):not(.video-count-1):not(.video-count-2):not(.video-count-3):not(.video-count-4):not(.video-count-5):not(.video-count-6):not(.video-count-7):not(.video-count-8):not(.video-count-9):not(.video-count-10):not(.video-count-11):not(.video-count-12):not(.video-count-13):not(.video-count-14):not(.for-edit):not(.has-error),
.pg-admin-video-story #frmVideoStory:not(.for-edit) .for-edit,
.pg-admin-video-story #frmVideoStory.for-edit .for-create {
    display: none;
}

/** ADMIN - ACCOUNT PAGE **/

.pg-admin-account .account-details {
    display: flex;
    padding: 10px;
}
.pg-admin-account .account-details img {
    width: auto;
    margin-right: 10px;
    height: 200px;
}
.pg-admin-account .account-details .details {
    padding: 10px 0;
    flex: 1;
}
.pg-admin-account .account-details .account-controls {
    flex:0;
}
.pg-admin-account .account-details .account-controls button {
    white-space: nowrap;
    color: #3671e4;
}
.pg-admin-account .account-details .details .item {
    margin-bottom: 10px;
}
.pg-admin-account .account-details .details .item label {
    margin: 0;
}
.pg-admin-account .account-details:not(.edit) input {
    border: 0;
    padding: 0;
}
.pg-admin-account .account-details.edit .for-show-only,
.pg-admin-account .account-details:not(.edit) .for-edit,
.pg-admin-account .account-details.edit #btnEdit,
.pg-admin-account .account-details:not(.edit) .options {
    display: none !important;
}
.pg-admin-account table td.status-color {
    padding-right:0;
}
.pg-admin-account table div.status {
    width: 15px;
    height: 15px;
    display: table;
    margin-top: 5px;
    border-radius: 5px;
}
.pg-admin-account table div.status.status-active {
    background-color: lime;
}
.pg-admin-account table div.status.status-used {
    background-color: red;
}
.pg-admin-account .code-box {
    margin-left: 20px;
    padding-top: 8px;
    line-height: 1;
}
.pg-admin-account #btnCodeCopy {
    cursor: pointer;
}
.pg-admin-account #txtCode {
    width: 7px;
    opacity: 0;
    border: 0;
    padding: 0;
}

/** [CUSTOM] PAGE **/

/*======================================================================
.* MEDIA
.*======================================================================*/


/** DESKTOP to SP Approach (Current UI) **/

@media (max-width: 1200px) {
}
@media (max-width: 1024px) {
}
@media (max-width: 992px) {
}
@media (max-width: 991px) {
}
@media (max-width: 768px) {
    .btn-01 {
        padding: .45rem !important;
    }
    .container {
        font-size: .75rem;
        height: auto!important;
    }
    .container p,button, input, select{
        font-size: inherit !important;
    }
    h1 {
        font-size: 1.5rem;
    }
}
@media (max-width: 736px) {
}
@media (max-width: 576px) {
}
@media (max-width: 421px) {
}
@media (max-width: 375px) {
}

/*======================================================================
.* ANIMATION
.*======================================================================*/

