/* Layout */
html, body, .form {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    min-height: 100%;
    padding-top: 1px;
    margin-top: -1px;
}

.content-wrapper {
    position: relative;
    /*min-height: calc(100vh - 3.13rem);*/
    min-height: 70vh;
}

html {
    height: 100%;
}

.header-wrapper {
    position: fixed;
    height: 100px;
    width: 100%;
    background: #24265D;
    z-index: 1010;
    top: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

    .header-wrapper .header-logo {
        height: 100px;
        width: 200px;
    }

    .header-wrapper img {
        height: 100px;
        width: 200px;
    }

    .header-wrapper .header-right {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

#headerPanel {
    top: 100px;
}

#pageContent {
    margin-top: 100px;
}

#applicationMenu .dxm-item span {
    font-size: 16px !important;
    color: rgba(0, 0, 0);
    font-weight: 500;
}

#applicationGuestMenu .dxm-item span {
    font-size: 16px !important;
    color: rgba(0, 0, 0);
    font-weight: 500;
}

#applicationMenu .dxm-hovered span {
    color: #fff !important;
}

#applicationGuestMenu .dxm-hovered span {
    color: #fff !important;
}


/*.menu-container ul {
    background: #add8e6a6;
}*/


.share-banner {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2A2C61;
    padding: 10px;
    border-radius: 5px 0 0 5px;
    transition: width 0.3s ease-in-out;
    overflow: hidden;
    white-space: nowrap;
    width: 50px;
    cursor: pointer;
    z-index: 1000;
}

    .share-banner i {
        display: block;
        color: white;
        margin: 8px;
        transition: transform 0.2s;
    }

    .share-banner span {
        color: white;
        font-weight: bold;
        display: none;
        vertical-align: middle;
    }

    .share-banner:hover {
        width: 150px;
    }

        .share-banner:hover span {
            display: inline;
        }

    .share-banner i:hover {
        transform: scale(1.1);
        text-decoration: none !important;
    }

    .share-banner .linkedin-share i {
        color: #70B3D2 !important;
    }

#menuPopup {
    border: none !important;
    background: #24265D;
}

    #menuPopup ul {
        display: flex;
        flex-direction: column;
        background: #24265D;
        padding-top: 35px;
    }

    #menuPopup a {
        color: #fff;
    }

    #menuPopup .dxm-selected {
        background: #70B3D2;
        font-size: 18px;
    }

    #menuPopup .dxm-item span {
        font-size: 18px !important;
    }


.menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1011;
    top: 0;
    left: 0;
    background-color: #24265D;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 0px 0px 8px 0px rgba(66, 68, 90, 1);
}

    .menu a {
        padding: 10px 15px 10px 30px;
        text-decoration: none;
        font-size: 22px;
        color: #70B3D2;
        display: block;
        transition: 0.3s;
    }

        .menu a:hover {
            color: #f1f1f1;
            margin-left: 30px;
        }

    .menu .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

        .menu .closebtn:hover {
            text-decoration: none;
        }

.hamburger {
    font-size: 20px;
    cursor: pointer;
    margin: 10px;
}

.header-right i {
    font-size: 20px;
    cursor: pointer;
    margin: 10px;
}

.button_edit_element {
    color: white !important;
    min-height: 25px;
}

    .button_edit_element:hover {
        text-decoration: none !important;
    }

.button_on_record {
    display: flex;
    justify-content: center;
    align-items: center;
}


@media screen and (max-height: 450px) {
    .menu {
        padding-top: 15px;
    }

        .menu a {
            font-size: 18px;
        }
}
/* Content */
.content {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    min-height: 100vh;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Footer */
.footer-wrapper {
    height: 46px;
    position: absolute;
    bottom: 0;
    width: 100%
}

.footer {
    font-size: 10.5px;
    color: #999999;
}

.footer-link {
    color: #999999;
    border-right: 1px solid #bbbbbb;
    margin-right: 7px;
    padding-right: 10px;
    white-space: nowrap;
}

    .footer-link:hover {
        text-decoration: none;
        color: #808080;
    }

    .footer-link:last-child {
        border: none;
        margin: 0;
        padding: 0;
    }

.footer-left {
    float: left;
}

.footer-right {
    float: right;
}

.footer-left,
.footer-right {
    padding: 16px 24px;
}

@media (max-width: 599px) {
    .footer-left,
    .footer-right {
        padding: 16px 4px;
    }
}

/* Header */
.app-header {
    padding: 0 !important;
    box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
    border-bottom-width: 0 !important;
}

    .app-header .left-block {
        float: left;
    }

    .app-header .right-block {
        float: right;
    }

    .app-header .menu-container {
        overflow: hidden;
    }

        .app-header .menu-container > div {
            float: right;
        }

.header-logo {
    /*background: url('Images/logo.svg') no-repeat center;*/
    height: 26px;
    width: 150px;
}

@media (max-width: 359px) {
    .header-logo {
        /*background: url('Images/logo-small.svg') no-repeat center;*/
        width: 26px;
    }
}

.app-header .left-block .header-menu .image-item > .dxm-content {
    padding: 0 8px 0 8px;
}

.app-header .right-block .dxm-item {
    transition: 0.3s;
}

.app-header .right-block .header-menu .image-item > .dxm-content {
    padding: 0 7px 0 7px;
}

.app-header .left-block .header-menu .item.toggle-item > .dxm-content {
    padding: 0 14px 0 14px;
}

.app-header .right-block .header-menu .item.toggle-item > .dxm-content {
    padding: 0 14px 0 14px;
}

.app-header .header-menu .item.selected {
    color: inherit;
    box-sizing: border-box;
    /* DXCOMMENT: Duplicates color from the web.config (devexpress->themes->baseColor) */
    border-bottom: solid 2px #70B3D2;
}

.app-header .header-menu .item.selected,
.app-header .header-menu .item.hovered {
    background-color: #fdfcfb;
}

    .app-header .header-menu .item.selected .dxm-content {
        margin-bottom: -2px;
    }

    .app-header .header-menu .item.selected .dxm-content,
    .app-header .header-menu .item.hovered .dxm-content {
        color: inherit;
    }

/* Main Menu */
.header-menu {
    background-color: white !important;
    border-style: none !important;
    height: 3.3rem;
}

@media (max-width: 599px) {
    .menu-container .dxm-ltr > div:not(.header-menu) {
        width: 100% !important;
    }

    .header-sub-menu {
        width: 100% !important;
    }
}

.header-sub-menu .item {
    padding: 12px 7px !important;
}

/* Ellipsis -> Apps Icon */
.header-menu .adaptive-image {
    background: url('Images/adaptive-menu.svg') no-repeat center;
    width: 16px;
    height: 16px;
    padding: 0 8px;
}

/* Hide item images */
.header-menu.application-menu .item .dxm-content > img {
    display: none !important;
}

@media (max-width: 720px) {
    .header-wrapper {
        flex-direction: column !important;
        height: 180px !important;
    }

    #pageContent {
        margin-top: 180px;
    }

    #applicationGuestMenu {
        display: none;
    }

    #applicationMenu {
        display: none;
    }

    .app-header .menu-container > div {
        width: 47px;
    }

    .header-menu .adaptive-image {
        background: url('Images/application.svg') no-repeat center;
    }

        .header-menu .adaptive-image:hover {
            filter: invert(100%);
        }

    /* Show item images */
    .header-menu.application-menu .item .dxm-content > img {
        display: inline-block;
    }
}

/* Right area menu */
.header-menu .toggle-item .image {
    background: url('Images/double.svg') no-repeat center;
}

.header-menu .toggle-item.checked .image {
    background: url('Images/double-close.svg') no-repeat center;
}

.header-menu .image-item {
    vertical-align: middle !important;
}

.header-menu .vertically-aligned {
    font-size: 0;
}

/* Account */
.header-menu .account-background {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
}

#rightAreaMenu {
    background: #24265D !important;
    color: #24265D !important;
}

.header-menu .account-background div {
    border-radius: 50%;
}

.header-menu .account-background .empty-image {
    width: 16px;
    height: 16px;
    margin: 8px;
    display: inline-block;
    background: url('Images/user.svg');
}


.header-menu .account-background .account-image {
    width: 32px;
    height: 32px;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    margin: 0 auto;
    display: table;
    background-size: 100%;
}

.user-info .avatar img {
    float: left;
    height: 43px;
    border-radius: 50%;
}

.user-info .text-container {
    height: 3.13rem;
    margin-left: 60px;
}

    .user-info .text-container .user-name {
        color: #444444;
        font-size: 1.14em;
    }

    .user-info .text-container .email {
        display: block;
        color: #666666;
        font-size: 0.86em;
    }

.myaccount-item {
    background-color: #70B3D2;
    color: #fff !important;
}

    .myaccount-item.dxm-hovered {
        background-color: #70B3D2 !important;
        color: white;
    }


/* Left Panel */
.left-panel {
    border: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
}

.leftpanel-section {
    border: none !important;
    background-color: rgba(0, 0, 0, 0.1);
}

.section-caption {
    height: 2.69rem;
    line-height: 2.69rem;
    vertical-align: middle;
    margin: 0;
}

.section-caption {
    border-top: solid 1px #f0f0f0;
    border-bottom: solid 1px #f0f0f0;
}

.left-panel.expand-bar,
.right-panel.expand-bar {
    border: 0;
}

a.tree-view-node {
    color: #666666;
    padding-top: 7px !important;
    padding-bottom: 8px !important;
    padding-right: 8px !important;
    border: none !important;
}

    a.tree-view-node.hovered {
        text-decoration: none;
    }

.tree-view-elbow {
    padding-top: 3px;
}

/* Right Panel */
.right-panel {
    border-left: 1px solid #f0f0f0;
}

.settings-content {
    padding: 24px 20px;
}

    .settings-content h2 {
        color: #494949;
        font-size: 1.3em;
        font-weight: 600;
    }

    .settings-content p {
        color: #999999;
    }

/* Toolbar */
.page-toolbar-wrapper {
    position: fixed;
    background-color: white;
    left: 272px;
    right: 0;
    z-index: 1;
}

@media(max-width: 959px) {
    .page-toolbar-wrapper {
        left: 0;
    }
}

.page-toolbar {
    background-color: rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    font-size: 0.93em !important;
    height: 2.69rem;
}

    .page-toolbar .item > h1,
    .section-caption {
        color: #494949;
        font-weight: 600;
        font-style: normal;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 24px;
    }

    .page-toolbar .item > h1 {
        font-size: 1.46em;
    }

    .page-toolbar .item > h1 {
        margin: 0;
        padding: 0 17px;
    }

    .page-toolbar .item .dxm-disabled .dxm-image {
        opacity: 0.3;
    }

@media (max-width: 599px) {
    .page-toolbar .item > h1 {
        max-width: 150px;
    }
}

.offer_items {
    display: flex;
    padding-top: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-left: 20px;
    text-align: left;
}

.offer_items_tasks {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #eee;
    display: flex;
    padding-left: 30px;
}

.offer_items .offer_info {
    display: flex;
    width: 20% !important;
}

.offer_status {
    display: flex;
    padding-bottom: 5px;
}

.offer_status {
    padding-right: 10px;
}

.offer_second_column .title {
    padding-bottom: 5px;
}

.offer_date {
    display: flex;
}

.offer_date {
    padding-right: 10px;
}

.offer_number {
    display: flex;
}

.offer_first_column {
    width: 20% !important;
}

.offer_second_column {
    width: 40% !important;
}

.offer_third_column {
    width: 40% !important;
}

.offer_number .title {
    padding-right: 10px;
}

.offer_number .data {
    font-weight: 700;
}


.offer_title b {
    font-size: 16px !important;
}

.offer_title {
    margin-bottom: 20px;
}

.offer_second_column .title {
    margin-bottom: 20px;
}

.offer_status {
    margin-bottom: 20px;
}

    .offer_status .title {
        font-weight: 700;
    }

.offer_date .title {
    font-weight: 700;
}

.offer_description {
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 1500px) {

    .offer_items .offer_info {
        display: flex;
        width: 30% !important;
    }

    .offer_first_column {
        width: 30% !important;
    }

    .offer_second_column {
        width: 50% !important;
    }

    .offer_third_column {
        width: 50% !important;
    }
}

@media only screen and (max-width: 990px) {
    #offerGridView_DXMainTable td:nth-child(6) {
        width: 0 !important;
    }

    #offerGridView_DXMainTable td:nth-child(5) {
        width: 0 !important;
    }
}


@media only screen and (max-width: 899px) {
    .offer_first_column {
        width: 50% !important;
    }

    .offer_items .offer_info {
        width: 50% !important;
    }

    .offer_items {
        max-width: 100vw;
        flex-wrap: wrap !important;
        padding-right: 20px;
    }
}

@media only screen and (max-width: 700px) {
    #offerGridView_DXMainTable td:nth-child(4) {
        width: 0 !important;
    }
}

@media only screen and (max-width: 568px) {
    .offer_first_column {
        width: 100% !important;
        padding-bottom: 30px;
    }

    .offer_items .offer_info {
        width: 100% !important;
    }

    .offer_items .offer_first_column .report_title .data {
        text-align: center;
        font-size: 18px;
    }

    #offerGridView_DXMainTable td:nth-child(3) {
        width: 0 !important;
    }
}

@media only screen and (max-width: 350px) {
    #offerGridView_DXMainTable td:nth-child(2) {
        width: 0 !important;
    }
}



/*---------------Content--------------------------*/

#SignInRegisterTabControl {
    padding-top: 10px;
}

.content-wrapper {
    background-color: #fffffe !important;
    z-index: 1;
}

.footer-wrapper {
    background-color: #F5F5F5 !important;
}

.dxm-hovered {
    color: #fff !important;
    /* background-color: #add8e6a6 !important;*/
    background-color: #70B3D2 !important;
    transition: 0.3s;
}

.header-right .dxm-hovered {
    background-color: #24265D !important;
}


.dxm-hovered .account-background {
    background-color: #fffffe !important;
}

.dxm-hovered .account-image {
    color: #6E706F !important;
    background-color: #fff !important;
}

.dxm-hovered .user-name {
    color: #fff !important;
}

.dxm-hovered .email {
    color: #fff !important;
}

.dxm-selected .user-name {
    color: #fff !important;
}

.dxm-selected .email {
    color: #fff !important;
}

#organizationFilesLayout_1 table.dxgvControl_Material {
    height: 100% !important;
}

#organizationFilesLayout_1 .dxflNestedControlCell_Material {
    height: 100%;
}

a[id^="loadFileButton"]:hover {
    text-decoration: none;
}

a[id^="deleteButton"]:hover {
    text-decoration: none;
}

/*#cancelButton {
    margin-right: 20px;
}*/

#returnButton {
    margin-left: 10px;
}


.organization-content .first-column img[src="/Content/Images/user.svg"] {
    box-shadow: none !important;
    max-height: 150px !important;
}

#organizationFilesLayout_1 img {
    height: 100%;
    width: 100%;
    margin: 0 !important;
}

#documentFileGrid_DXMainTable {
    box-shadow: none;
    padding-top: 20px;
}

#documentFileGrid_DXEmptyRow .dxgv {
    border-bottom: none !important;
}

#organizationFilesLayout_0 {
    padding-top: 30px;
}

.docs-card {
    max-width: 100%;
    overflow-x: hidden;
}


td.dxgv {
    padding: 2px 10px 2px !important;
}


.dxgvFixedHeader .dxgvHeader {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.dxgvCSD.auto-height {
    height: auto !important;
}

.dxgvCSD.fixed-height {
    height: 500px !important;
}

.dxbButtonSys {
    border-radius: 20px !important;
}

[id^=qualityPopup] .dxpc-content{
    font-size: 30px;
}

.centerDiv {
    margin-left: auto;
    margin-right: auto;
    width: 62%;
}

.centerContentDiv {
    margin-left: auto;
    margin-right: auto;
    width: 75%;
}

.contact-form-layout{

}
.contact-form-layout .dxflFormLayout_Material .dxflCaption_Material {
    color: white !important;
}

.dxflFormLayout_Material .dxflCaption_Material {
    /*color: #404662 !important;*/
    /*color: white !important;*/
    color: rgb(36, 38, 93) !important;
}

.dxflGroupBoxCaption_Material {
    color: #404662 !important;
}

.dxeTextBox_Material, .dxeButtonEdit_Material, .dxeIRadioButton_Material, .dxeRadioButtonList_Material, .dxeCheckBoxList_Material, .dxeMemo_Material {
    border-color: #24265d !important;
}

/*.dxgvTable_Material {
    border-color: #24265d !important;
}*/

.gridCommonStyle{
    width: 100%;
}

.dataColCaption {
    width: 10% !important;
    min-width: 150px;
    padding-left: 10px;
    margin: auto;
    font-weight: bold;
}

.dataCol1 {
    width: 25%;
    max-width: 250px;
    padding-left: 10px;
    margin: auto;
    text-align: left;
}

.dataCol2 {
    width: 20%;
    padding-left: 10px;
    margin: auto;
}

.dataColButtons{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-right: 10px;
}

#errorPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    z-index: 1000;
}

#searchForm {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dxflRequired_Material {
    color: red !important;
}

    @media screen and (max-width: 700px) {
        #searchForm #userLayout {
            width: 90% !important;
        }
    }

    @media screen and (max-width: 700px) {
        .centerDiv {
            width: 100%;
        }

        .centerContentDiv {
            width: 98%;
        }
    }

    @media screen and (max-width: 600px) {
        [id^=qualityPopup] {
            width: 100vw !important;
        }
    }