.tab-page {
    position: relative;
    display: flex;
    /* min-height: inherit; */
    background: #EEF1F2;
}

.tab-page-iframe {
	height: inherit;
}

.tab-sidebar-wrapper {
    display: flex;
    min-width: 47px;
}

.tab-sidebar {
    width: 47px;
    position: absolute;
    z-index: 1;
    height: 100%;
    overflow: hidden;
    background: #F8F9F9;
    transition-duration: 0.5s;
    border-right: 1px solid #E5EAEB;
}

.tab-sidebar:hover {
    width: 235px;
    box-shadow: -2px 0px 12px rgba(30, 39, 43, 0.15), inset -1px 0px 0px #E5EAEB;
    overflow: hidden auto;
    z-index: 2;
}

.tab-sidebar-li a {
    display: block;
    color: #394447;
    cursor: pointer;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    height: 40px;
    padding: 12px 16px;
    white-space: nowrap;
}

.tab-sidebar-sublist .tab-sidebar-li:hover {
    background: #FFFFFF;
    box-shadow: inset 4px 0px 0px #8DDB60;
}

.tab-sidebar-li:hover a {
    text-decoration: none;
}

.tab-sidebar-sublist .tab-sidebar-li:active {
    color: #191F20;
    background: #F2FCED;
    box-shadow: inset 4px 0px 0px #00A657;
}

.tab-sidebar-li:active i {
    color: #191F20;
}

.tab-sidebar-li.selected {
    color: #191F20;
    background: #FFFFFF;
    box-shadow: inset 4px 0px 0px #00A657;
    border-top: 1px solid #EEF1F2;
    border-bottom: 1px solid #EEF1F2;
}

.tab-sidebar-li hr {
    margin: 0;
}

.tab-sidebar-li i{
    color: #87949B;
    margin-right: 16px;
    transition-duration: 0.5s;
}

.tab-sidebar:hover .tab-sidebar-li i{
    margin-right: 6px;
}

.tab-page-body {
    flex: 1;
    overflow: auto;
    height: calc(100vh - 100px - 56px - 128px);
}

.tab-page-main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    overflow-y: auto;
    height: 100%;
    flex-wrap: wrap;
}

/* .tab-page-main > div {
    margin:0 16px;
} */

.seq-cards {
    margin: 32px 16px;
    flex-grow: 4;
    flex-basis: 300px;
    min-width: 0;
}

.seq-cards > .seq-card{
    margin-bottom: 32px;
}

.seq-card {
    background: #FFFFFF;
    border-radius: 6px;
    padding: 29px 32px 32px;
}

.seq-card .bgrid-wrap {
    overflow: auto;
}

.seq-card.editmode .card-value-edit,
.seq-mini-card.editmode .card-value-edit,
.contact-info-container.editmode .card-value-edit,
.contact-info-container.editmode .card-value-edit-container{
    display: block;
}

.contact-info-container.editmode .red-asterisk {
    display: inline;
}

.seq-card.editmode .seq-card-btn-edit, .seq-card.editmode .card-value,
.seq-mini-card.editmode .seq-card-btn-edit, .seq-mini-card.editmode .card-value,
.contact-info-container.editmode .card-value, .contact-info-container.editmode .title-hide,
.contact-info-container .red-asterisk, .contact-info-container.editmode .seq-card-btn-edit{

    display: none;
}

.seq-card-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 36px;
    color: #526061;
}

.card-field {
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 23px;
    color: #606F73;
}

.card-field label {
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    margin: 0;
    color: #191F20;
}

.seq-card .card-field > label, .seq-mini-card .card-field > label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    color: #191F20;
    margin: 0 0;
    padding: 4px 4px;
}

.seq-card .card-value, .seq-mini-card .card-value {
    font-size: 16px;
    line-height: 23px;
    color: #606F73;
    margin: 0;
    max-width: 260px;
    white-space: pre-wrap;
}

.card-field > div, .card-field > span {
    padding: 0 4px;
}

.card-field a {
    color: #00763E;
    font-weight: 600;
}

hr.hr-divider {
    border-top: 1px solid #E5EAEB;
    margin: 0;
}

.seq-card hr.hr-divider {
    margin: 16px -32px;
}

.seq-mini-cards {
    flex-shrink: 0;
    flex-basis: 200px;
    margin: 32px 16px;
}

.seq-mini-cards > div {
    margin-bottom: 32px;
}
.seq-mini-card {
    padding: 29px 16px;
    background: #FFFFFF;
    border-radius: 6px;
}

.seq-mini-card hr.hr-divider {
    margin: 0 -16px;
}

.seq-mini-card .card-field {
    margin: 12px 0 0;
}

.seq-mini-card .seq-card-subtitle {
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #191F20;
    background: #F8F9F9;
    box-shadow: inset 0px 1px 0px #E5EAEB, inset 0px -1px 0px #E5EAEB;
    padding: 10px 16px;
    margin-top: 20px;
}
.card-field .imgContainer {
    margin-top: 20px;
}

.page-header {
    top: 0;
    height: 100px;
    width: 100%;
    display: flex;
    z-index: 1;
}

.page-header-container {
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #394447;
    box-shadow: inset 0px -1px 0px #87949B;
    height: 100px;
    width: 100%;
}

.page-header-description {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.placeholder-image {
    width: 74px;
    height: 48px;
    border-radius: 4px;
    background: #C2CBCF;
    position: relative;
}
.placeholder-image img {
    height: 100%;
    width: 100%;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}
.placeholder-image:after {
    content: '\e910';
    font-family: 'Streamline-Bold';
    font-size: 24px;
    line-height: 24px;
    color: #99A5AA;
    position: absolute;
    left: 25px;
    top: 10px;
    z-index: 0;
}


.page-header-title {
    color: #FFFFFF;
}
.page-header-subtitle {
    color: #FFFFFF;
}
.page-header-subtitle .seq-link {

}

.page-header-divider {
    border: 1px solid #191F20;
    height: 100px;
    margin: 0 16px;
}

.card-value-edit {
    display: none;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    color: #191F20;
}

.card-value-edit-container {
    display: none;
}

.field-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}



.tab-page-toolbar {
    display: none;
    padding: 0 32px;
    width: 100%;
    height: 72px;
    background: #F8F9F9;
    border-bottom: 1px solid #E5EAEB;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    position: relative;
    left: 0;
    top: 0;
    z-index: 1;
}

.tab-page-toolbar.d-flex + .tab-page-main {
    height: calc(100% - 74px);
}

/* smart dropdown */
.smart-dropdown {
    position: relative;
}

.smart-dropdown-list  {
    display: flex;
    width: auto;
    flex-direction: column;
    position: absolute;
    top: 36px;
    right: 0;
    left: auto;
    z-index: 2;
    padding: .5rem 0;
}

.smart-dropdown-list li .seq-dropdown-menu {
    box-shadow: none;
}

.smart-dropdown-list > li, .smart-dropdown-list > li > button {
    white-space: nowrap;
    width: 100%;
    border-radius: 0px;
}

.smart-dropdown-toggler {
    padding: 6px 12px;
}
.smart-dropdown-toggler:before {
    content: '\e930';
    font-family: 'Streamline-Bold';
}

.smart-btn-dropdown:after {
    content: '\e932';
    font-family: 'Streamline-Bold';
    font-size: 12px;
    margin-left: 10px;
}

.imgContainer .ajax-file-upload-container {
    display: none;
}

.seq-card-imgContainer {
    width: 255px;
    height: 132px;
    flex-shrink: 0;
    padding-right: 10px;
}

.seq-card-img{
    width: 100%;
    height: 100%;
    border-radius: 4px;
}
.seq-card-placeholderImg {
    width: 245px;
    min-width: 245px;
    height: 132px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    background: #F8F9F9;
    border: 1px dashed #C2CBCF;
}

.seq-card-placeholderImg .ajax-upload-dragdrop {
    height: 100%;
    padding: 25px 0 0px;
    text-align: center;
    border-radius: 4px;
}

.seq-card-placeholderImg .ajax-upload-dragdrop.state-hover {
    border: 1px solid #00A657;
}

.seq-card-placeholderImg .ajax-file-upload-error {
    font-size: 12px;
    line-height: 17px;
    color: #E02F4F;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0 5px;
}

.seq-card-placeholderImg .ajax-file-upload-error {
    width: 243px;
}

.seq-card-placeholderImg .ajax-file-upload-error b{
    white-space: nowrap;
}

.seq-card-placeholderImg .btn-icon-borderless {
    background: transparent;
    border: none;
}

.placeholderImg-subtext {
    font-size: 12px;
    line-height: 17px;
    color: #606F73;
}

.photo-viewer {
    overflow-y: hidden;
    min-height: 100vh;
    flex-shrink: 0;
    flex-wrap: nowrap;
    display: flex;
    justify-content: space-around;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 31, 32,0.4);
    z-index: 3;
}
.media-viewer-tool {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 4;
    padding: 0 10px;
}
.media-viewer-photo {
    position: relative;
    display: flex;
    align-items: center;
    margin: auto;
}

.media-viewer-photo img {
    object-fit: contain;
    max-height: 90vh;
    max-width: 100%;
    border: 0;
}

.media-viewer-close {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 30px;
}

.media-viewer-close:after {
    content: "\e939";
    font-family: 'Streamline-Bold';
}

.textarea-vertical {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 15;
    overflow: hidden;
}

@media only screen and (min-width: 600px) {
    .tab-page-body {
        height: calc(100vh - 100px - 72px - 108px);
    }
}

@media only screen and (min-width: 768px) {
    .tab-page-body {
        height: calc(100vh - 100px - 72px - 64px);
    }

    
}
@media only screen and (min-width: 1024px) {
    .page-header-divider {
        margin: 0 32px;
    }

    .smart-dropdown-list {
        flex-direction: row;
        background: transparent;
    }
    .smart-dropdown-list li.dropdown {
        position: relative;
    }
    .smart-dropdown-list li .seq-dropdown-menu {
        position: absolute;
        box-shadow: 0px 2px 6px rgba(57, 68, 71, 0.3);
    }

    .smart-dropdown-list.collapse {
        display: flex !important;
        position: static;
    }
    .smart-dropdown-list > li:not(:last-of-type) {
        margin-right: 12px;
    }

    .smart-dropdown-list > li > button {
        background: #00A657;
        border: 1px solid transparent;
        color: #FFFFFF;
        border-radius: 4px;
        font-size: 16px;
        line-height: 16px;
    }

    .smart-dropdown-list > li > button:hover, .smart-dropdown-list > li > button:focus {
        background: #00763E;
        box-shadow: 0px 1px 3px rgba(57, 68, 71, 0.35);
    }

    .smart-dropdown-list > li > button:active {
        background: #606F73;
        box-shadow: none;
    }

    .smart-dropdown-toggler {
        display: none;
    }

    .page-header-container{
        padding: 0 32px;
    }
}
@media only screen and (min-width: 1440px) {
    .tab-page-body {
        height: calc(100vh - 100px - 80px - 64px);
    }
}