﻿/*Global css*/
html, body {
    height: 100%;
}

:root {
    --fw-primary: #137878;
    --fw-secondary: #7acdd0;
    --fw-tertiary: #f05026;
    --fw-max-width: 1920px;
}

@font-face {
    font-family: 'Segoe UI Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Regular'), url('/framework/font/Segoe UI.woff') format('woff');
}

@font-face {
    font-family: 'Segoe UI Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Bold'), url('/framework/font/Segoe UI Bold.woff') format('woff');
}

@font-face {
    font-family: 'Segoe UI Semilight';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Semilight'), url('/framework/font/Segoe UI Semilight.woff') format('woff');
}

/*End Global*/

.dx-button-mode-contained.dx-button-default {
    background-color: var(--fw-primary);
}

.dx-button-mode-contained.dx-button-default.dx-state-hover {
    background-color: var(--fw-primary);
    filter: brightness(0.90);
}

.dx-button-mode-contained.dx-button-default.dx-state-active, .dx-button-mode-contained.dx-button-default.dx-state-focused {
    background-color: var(--fw-primary);
    filter: brightness(0.80);
}

.dx-htmleditor-content img {
    vertical-align: middle;
}

.dx-htmleditor-content table {
    width: 50%;
}

    .dx-htmleditor-content table td:last-child {
        text-align: right;
    }

.fileuploader-container {
    float: left;
}

.input-group-prepend {
    min-width: 76px;
}

.input-group-append button {
    min-width: 60px;
}

.dx-tag-add-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 100%;
    color: white;
}

    .dx-tag-add-button::after,
    .dx-tag-add-button::before {
        position: absolute;
        top: 50%;
        content: "";
        left: 9px;
        margin-top: -5px;
        width: 3px;
        height: 11px;
        background: #aaa;
    }

.dx-rtl .dx-tagbox .dx-tag-add-button,
.dx-tagbox.dx-rtl .dx-tag-add-button {
    right: auto;
    left: 0;
}

.dx-tag-add-button::after {
    left: 5px;
    margin-top: -1px;
    width: 11px;
    height: 3px;
}

.dx-tag-add-button:active::after,
.dx-tag-add-button:active::before {
    background: #ddd;
}

.dx-tag.dx-state-focused .dx-tag-add-button::after,
.dx-tag.dx-state-focused .dx-tag-add-button::before {
    background-color: #aaa;
}

.dx-tag.dx-state-focused .dx-tag-add-button:active::after,
.dx-tag.dx-state-focused .dx-tag-add-button:active::before {
    background: #ddd;
}

.dx-rtl .dx-tag-add-button::before {
    right: auto;
    left: 9px;
}

.dx-rtl .dx-tag-add-button::after {
    right: auto;
    left: 5px;
}

.dx-popup-title.dx-toolbar {
    background-color: var(--fw-primary);
    color: white;
}

.custom-page {
    min-height: 100%;
    padding: 0px;
    position: relative;
    min-width: 100%;
}

.mailbody {
    padding: 20px;
    height: calc(100vh - 135px);
    max-width: var(--fw-max-width);
    margin-left: auto;
    margin-right: auto;
    overflow-y: auto;
}

.bar-header {
    width: 100%;
    background-color: var(--fw-secondary);
    user-select: none;
}

.title-bar {
    padding: 0;
    background-color: var(--fw-secondary);
    color: white;
    height: 65px;
    vertical-align: central;
    max-width: var(--fw-max-width);
    margin-left: auto;
    margin-right: auto;
}

    .title-bar img {
        position: relative;
        margin-left: 25px;
        height: 35px;
        width: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .title-bar h5 {
        font-family: 'Segoe UI Bold';
        transform: translateY(55%);
        height: 35px;
        display: inline-block;
    }

.button-bar {
    padding-top: 10px;
    background-color: var(--fw-primary);
    height: 70px;
    text-align: center;
    width: 100%;
}


.custom-button {
    border-radius: 6px;
    padding: 0px 8px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: top;
    user-select: none;
    min-width: 150px;
    font-family: 'Segoe UI Bold';
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    line-height: 50px;
    max-height: 50px;
    color: white;
}

    .custom-button.red {
        background-color: #ec1c24;
        border: 1px solid #F15A2C;
    }

    .custom-button.green {
        background-color: #009345;
        border: 1px solid #37B34A;
    }

    .custom-button.yellow {
        background-color: #DDC72C;
        border: 1px solid #FFDD15;
    }

    .custom-button.secondary {
        background-color: var(--fw-secondary);
        border: 1px solid var(--fw-primary);
    }

    .custom-button.white {
        background-color: white;
        color: #333;
        border: 1px solid var(--fw-primary);
    }

.custom-button:hover {
    cursor: pointer;
    filter: brightness(112%);
}

    .custom-button.white:hover {
        filter: brightness(90%);
    }

.scroll-view {
    height: 100%;
    overflow-y: auto;
}

.full-height {
    height: 100%;
}
