html {
    --fontFamily: 'HelveticaNeue', sans-serif;
    --fontFamilySecondary: 'Nantes', sans-serif;
    --colorPrimary: #000000;
    --color_rgb_primary: 0, 0, 0;
    --colorPrimary20: rgba(var(--color_rgb_primary), 0.2);
    --colorPrimary60: rgba(var(--color_rgb_primary), 0.6);
    --colorPrimary80: rgba(var(--color_rgb_primary), 0.8);
    --colorSecondary: #C4C3BB;
    --bpMedium: 992px;
    --bpLarge: 1200px;
    }
    body {
        background: url('/background-image.jpg') no-repeat;
        background-size: cover;
        color: var(--colorPrimary);
        font-family: var(--fontFamily);
    }
    
    bdi-form {
        margin-bottom: 20px;
        display: block;
    }
    .container {
        width: 100%;
        max-width: 1308px;
        padding: 0 15px;
    }
    .profile_form.container, #mainContent .container {
        padding-top: 18px;
    }
    #mainContent .col-md-12 {
        padding: 0;
    }
    .skip-to-content, .hide, img[src*="/testPage/logo-bdi.png"] {
        display: none;
    }
    
    h1, h2, .crmEntityFormView .validation-summary h2, .briefing-title {
        font: 700 30px / 1.2 var(--fontFamily);
        color: var(--colorPrimary80);
        letter-spacing: -.2px;
    }
    
    .crmEntityFormView .validation-summary h2 {
        margin-bottom: 10px;
        font-size: 20px;
        line-height: 1.25;
    }
    
    h1 {
        margin-bottom: 18px;
    }
    
    p {
        font: 400 16px / 1.25 var(--fontFamily);
        color: var(--colorPrimary);
    }
    
    .page-description {
        max-width: 842px;
        margin-bottom: 38px;
        font: 400 24px / 1.25 var(--fontFamilySecondary);
        color: var(--colorPrimary80);
    }
    
    textarea {
        resize: none;
    }
    
    input, input.form-control, textarea, textarea.form-control, select, select.form-control {    
        font: 400 20px / 1.5 var(--fontFamily);
        color: var(--colorPrimary80);
    }
    
    input.form-control::placeholder, textarea.form-control::placeholder {
        color: var(--colorPrimary80);
    }
    
    input, input.form-control, textarea, textarea.form-control {
        padding: 25px 25px 25px 15px;
    }
    
    input.form-control {
        height: 64px;
    }
    
    .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
        background-color: transparent;
    }
    
    .btn {
        padding: 15px 19px 19px;
        font: 400 italic 20px / 1.2 var(--fontFamilySecondary);
        letter-spacing: .5px;
        transition: border-color ease-in-out .15s;
    }

    .modal-footer .btn:last-child {
        display: none;
    }
    
    .btn-arrow-back, .btn-arrow {
        position: relative;
        padding: 22px 61px 22px 109px;
        font: 700 14px / 1 var(--fontFamily);
        letter-spacing: 0.1px;
    }
    
    .btn-arrow-back {
        margin-bottom: 50px;
    }
    
    .btn-arrow {
        padding: 17px 13px 17px 64px;
    }
    
    .btn-arrow-back::after, .btn-arrow::after, .btn-arrow-back::before, .btn-arrow::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 50px;    
        transform: translateY(-50%) rotate(0);
        transition: border-color ease-in-out .15s;
    }
    
    .btn-arrow-back::after, .btn-arrow::after {
        height: 40px;
        border-right: 1px solid var(--colorPrimary20);
    }
    
    .btn-arrow::after, .btn-arrow-back::before, .btn-arrow::before { 
        height: 30px;
    }
    
    .btn-arrow-back::before, .btn-arrow::before {
        background: url(/arrow.png) no-repeat;
        background-position: 13px 5px;
        background-size: 46%;
    }
    
    .btn-arrow::before {
        transform: translateY(-50%) rotate(-90deg);
        transition: transform 500ms;
    }
    
    .btn-arrow.up::before {
        transform: translateY(-50%) rotate(-270deg);
    }
    
    .btn-arrow-back:hover:after, .btn-arrow-back:focus:after, .btn-arrow-back:hover:active, .btn-arrow:hover:after, .btn-arrow:focus:after, .btn-arrow:hover:active {
        border-right-color: var(--colorPrimary);
    }
    
    .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary.focus,
    .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled.focus, .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled].focus, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default.focus {
        background-color: transparent;
        border-color: var(--colorPrimary80);
    }
    
    input, input.form-control, .btn, textarea, textarea.form-control, select, select.form-control {
        border: 1px solid var(--colorPrimary20);
    }
    
    .crmEntityFormView .form-control[readonly][disabled], .form-readonly .form-control {
        display: block !important;
        padding: 15px;
        border: 1px solid var(--colorPrimary20) !important;
    }
    
    /*.crmEntityFormView .form-control[readonly][disabled], .form-readonly .form-control, .form-readonly .multi-choice-tag {    
        pointer-events: none;
    }*/
    
    .form-readonly .form-control:focus {
        outline: none;
    }
    
    
    .form-readonly a[href] {
        display: none;
    }
    
    .btn:hover, .btn:focus, .btn:active, .btn:active:focus, input:focus, input:active, input:hover, input.form-control:hover, input.form-control:active, input.form-control:focus,
    textarea:hover, textarea:focus, textarea:active, textarea.form-control:hover, textarea.form-control:focus, textarea.form-control:active,
    select:hover, select:active, select:focus, select.form-control:hover, select.form-control:focus, select.form-control:active {
        border: 1px solid var(--colorPrimary);
        outline: none;
    }
    
    input, input:focus, input:active, input:hover, input.form-control, 
    input.form-control:hover, input.form-control:active, input.form-control:focus, .btn, .btn:hover, .btn:focus, .btn:active, .btn:active:focus,
    textarea:hover, textarea:focus, textarea:active, textarea.form-control:hover, textarea.form-control:focus, textarea.form-control:active, textarea, textarea.form-control,
    select:hover, select:active, select:focus, select.form-control:hover, select.form-control:focus, select.form-control:active, select, select.form-control {
        color: var(--colorPrimary80);
        background-color: transparent;
        box-shadow: none;
    }
    
    input::placeholder, textarea::placeholder {
        color: var(--colorPrimary20) !important;
    }
    
    select, select.form-control {
        height: 64px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: url(/arrow-select.png) no-repeat;
        background-position: right 15px center;
        background-size: 27px;
    }
    
    label {
        color: var(--colorPrimary60);
        font: 400 20px / 1.5 var(--fontFamily);
    }
    
    a, a:hover, a:focus {
        color: var(--colorPrimary80);
    }
    
    a:hover, a:focus {
        text-decoration: underline;
    }
    
    .link, .link:hover, .link:active, .link:focus, .link-btn, .link-btn:hover, .link-btn:active, .link-btn:focus,
    .alert-block a {
        margin-bottom: 0;
        padding-bottom: 5px;
        border-bottom: 1px solid var(--colorPrimary);
        color: var(--colorPrimary80) !important;
        text-decoration: none;
        font: 400 16px / 1.875 var(--fontFamily);
        letter-spacing: 0.67px;
    }
    
    .link-btn, .link-btn:hover, .link-btn:active, .link-btn:focus {
        border: none;
        border-bottom: 1px solid var(--colorPrimary);
        background-color: transparent;
    }
    
    .alert-success {
        position: relative;
        background-color: rgba(198, 237, 64, 0.3);
        border-color: rgba(198, 237, 64, 0.3);
    }
    
    .close {
        position: absolute;
        right: 10px;
        top: 45%;
        border-bottom: none !important;
        transform: translateY(-50%);
    }
    
    .crmEntityFormView .actions {
        margin: 0;
        padding: 0;
        border: none;
    }
    
    input:-webkit-autofill,
    input:-webkit-autofill:focus {
        transition: background-color 600000s 0s, color 600000s 0s;
    }
    
    /*************************************datetimepicker********************************************/
    
    .datetimepicker, .datetimepicker .input-group-addon {
        display: flex;
    }
    
    .datetimepicker .input-group-addon {
        position: absolute;
        right: 0;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: calc(100% - 30px);
        border: none;
        z-index: 10;
        background-color: transparent;
    }
    
    /*--------------------------------checkbox---------------------------------------*/
    
    .form-horizontal .checkbox {
        margin-top: 35px;
    }
    
    .checkbox, .checkbox input[type=checkbox] {
        width: 25px;
        height: 25px;
    }
    
    .checkbox input[type=checkbox] {
        opacity: 0;
        cursor: pointer;
    }
    
    .checkbox span:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        width: 25px;
        height: 25px;
        border: 1px solid var(--colorPrimary20);
    }
    
    .checkbox input[type=checkbox]:checked + span:before {
        background: url('/check-sprites.png') center / 80% no-repeat;
        border: 1px solid var(--colorPrimary80);
    }
    
    /*----------------------------------------------------------------------------------------------------*/
    
    .input-group {
        width: 100%;
    }
    
    .lookup.form-control{
        padding-right: 180px;
    }
    
    .lookup.form-control ~ .input-group-btn, .query.form-control ~ .input-group-btn{
        position: absolute;
        right: 0;
        width: 160px;
        height: calc(100% - 30px);
        display: flex;
        justify-content: end;
        z-index: 10;
    }
    
    .lookup.form-control ~ .input-group-btn {
        width: 100%;
    }
    
    .lookup.form-control ~ .input-group-btn .launchentitylookup {
        position: static;
        z-index: 0;
    }
    
    .lookup.form-control ~ .input-group-btn .launchentitylookup::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .lookup.form-control .clearlookupfield {
        z-index: 2;
    }
    
    .clearlookupfield, .clearlookupfield:hover, .clearlookupfield:active, .clearlookupfield:focus, .launchentitylookup, 
    .launchentitylookup:hover, .launchentitylookup:active, .launchentitylookup:focus, .query.form-control ~ .input-group-btn .btn {
        width: 80px;
        border: none;
    }
    
    .clearlookupfield, .clearlookupfield:hover, .clearlookupfield:active, .clearlookupfield:focus {
        width: 50px;
    }
    
    .text-muted {
        display: none;
    }
    
    .fa-search::before, .fa-times::before, .fa-calendar::before {
        content: '';
        position: absolute;
        width: 30px;
        height: 30px;    
        transform: translate(-50%, -45%);
    }
    
    .fa-search::before {
        background: url('/search-icon.png') center/98% no-repeat;
    }
    
    .fa-times::before {
        background: url('/close-icon.png') center/98% no-repeat;
    }
    
    .fa-calendar::before {
        background: url('/calendar-icon.png') center/98% no-repeat;
        transform: translate(-50%, -58%);
    }
    
    .table-condensed .fa-calendar::before {
        background: url('/calendar-icon-black.png') center/98% no-repeat;
        transform: translate(-50%, 8%);
    }
    
    .picker-switch .table-condensed a {
        display: block;
        margin-right: 8px;
    }
    
    /*-----------------------------------------------Loader----------------------------------------------------*/
    /*.loader,
    #loader {
        position: absolute;
        top: calc(50% - 25px);
        left: calc(50% - 25px);
        height: 50px;
        width: 50px;
        margin: 0 auto;
        -webkit-animation: .6s linear infinite rotation;
        animation: .6s linear infinite rotation;
        border-left: 6px solid var(--colorPrimary20);
        border-right: 6px solid var(--colorPrimary20);
        border-bottom: 6px solid var(--colorPrimary20);
        border-top: 6px solid var(--colorPrimary80);
        border-radius: 100%;
    }
    @-webkit-keyframes rotation {
        from {
            -webkit-transform: rotate(0)
        }
        to {
            -webkit-transform: rotate(359deg)
        }
    }
    @keyframes rotation {
        from {
            transform: rotate(0)
        }
        to {
            transform: rotate(359deg)
        }
    }*/
    
    .spinner {
        border-left: 6px solid var(--colorPrimary20) !important;
        border-right: 6px solid var(--colorPrimary20) !important;
        border-bottom: 6px solid var(--colorPrimary20) !important;
        border-top: 6px solid var(--colorPrimary80) !important;
    }
    
    /*-------------------------------------pagination for popups----------------------------------------------*/
    
    .pagination>li>a, .pagination>li>span {
        padding-top: 10px;
    }
    
    .pagination>li>a:hover, .pagination>li>a:focus, .pagination>li>span:hover, .pagination>li>span:focus {
        color: var(--colorPrimary);
    }
    
    .pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover {
        padding-top: 9px;
        background-color: transparent !important;
        border: 1px solid var(--colorPrimary20);
        color: var(--colorPrimary80);
    }
    
    /*--------------------------------------------------------------------------------------------------------*/
    
    #content_form, .wrapper-body {
        position: relative;
        min-height: calc(100vh - 394px);
    }
    
    #content_form .profile_form::after, .loader::after, #loader::after  {
        content: '';
        position: fixed;
        top: calc(50% - 37px);
        left: calc(50% - 37px);
        height: 75px;
        width: 75px;
        background: url('/loader.gif') no-repeat;
        background-size: 100%;
        z-index: 9999;
    }
    
    #content_form .profile_form::before, .loader::before, #loader::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-color: #00B6ED;
        opacity: 0.1;
        z-index: 9998;
    }
    
    #content_form.show .profile_form::after, #content_form.show .profile_form::before {
        display: none;
    }
    
    /*------------------------------------------Topic/Segment---------------------------------------------*/
    .react-datalist-input__container input::placeholder {
        font-size: 20px !important;
        line-height: 30px !important;
        font-family: var(--fontFamily)!important;
        color: var(--colorPrimary20)!important;
    }
    
    /*------------------------------------------editor---------------------------------------------*/
    .cke_top, .cke_inner, .cke_combo_button, .cke_wysiwyg_frame, .cke_wysiwyg_div {
        background: transparent !important;
    }
    
    .wrapper-body, #content_form {
        padding-bottom: 150px;
    }
    
    .page-404 {
        position: absolute;
        top: 45%;
        min-height: 250px;
        transform: translateY(-50%);
    }
    
    .view-toolbar .toolbar-actions {
        float: inherit !important;
    }
    
    mark, .mark {
        background-color: #FCFF59;
        padding: 0;
    }
    
    
    @media screen and (max-width: 1200px) {
        #content_form {
            position: relative;
            min-height: calc(100vh - 385px);
        }
    }
    
    @media screen and (max-width: 992px) {
        .briefing-title {
            font-size: 24px;
            line-height: 1.25;
        }
    }
    
    @media screen and (max-width: 768px) {
        h1 {
            margin-top: 9px;
            margin-bottom: 10px;
        }
        h1, h2 {
            font-size: 24px;
            line-height: 1.25;
        }
        .page-description {
            margin-bottom: 15px;
            font: 400 16px / 1.5 var(--fontFamilySecondary);
        }
        p {
            font: 400 14px / 1.43 var(--fontFamily);
        }
        .profile_form.container, #mainContent .container {
            padding-top: 0px;
        }
        input, input.form-control, textarea, textarea.form-control, select, select.form-control, label {
            font-size: 16px;
        }    
        select, select.form-control, input.form-control {
            height: 44px;
        }
        input, input.form-control, textarea, textarea.form-control {
            padding: 10px;
        }
        .datetimepicker .input-group-addon, .lookup.form-control ~ .input-group-btn, .query.form-control ~ .input-group-btn {   
            height: 100%;
        }
        .lookup.form-control ~ .input-group-btn, .query.form-control ~ .input-group-btn {
            width: 90px;
        }
        .datetimepicker .input-group-addon, .clearlookupfield, .clearlookupfield:hover, .clearlookupfield:active, .clearlookupfield:focus, .launchentitylookup, .launchentitylookup:hover, .launchentitylookup:active, .launchentitylookup:focus, .query.form-control ~ .input-group-btn .btn,
        .lookup.form-control ~ .input-group-btn .btn {
            width: 45px;
            padding: 0;
        }
        .clearlookupfield, .clearlookupfield:hover, .clearlookupfield:active, .clearlookupfield:focus, .launchentitylookup, .launchentitylookup:hover, .launchentitylookup:active, .launchentitylookup:focus, .query.form-control ~ .input-group-btn .btn {
            padding: 5px;
        }
        .fa-search::before, .fa-times::before, .fa-calendar::before {
            width: 20px;
            height: 20px;
            transform: translate(-50%, -50%);
        }
        .fa-calendar::before {
            transform: translate(-50%, -65%);
        }
        .lookup.form-control {
            padding-right: 100px;
        }
        .btn {
            width: 100%;
            padding: 11px 19px;
            font-size: 18px;
            line-height: 1.1;
        }
        .btn-arrow-back {
            position: absolute;
            top: -30px;
            left: -15px;
            padding: 0;
            display: inline;
            font-size: 0;
        }
        .btn-arrow-back, .btn-arrow-back:hover, .btn-arrow-back:active, .btn-arrow-back:focus, .btn-arrow-back:active:focus {
            border: none;
        }
        .btn-arrow-back::after {
            content: none;
        }
        .btn-arrow-back::before {
            background-size: 36%;
        }
        .crmEntityFormView fieldset {
            margin-bottom: 0;
        }
        .modal-footer .btn, .modal-footer .btn + .btn {
            margin-bottom: 20px;
        }
        .modal-footer .btn + .btn {
            margin-left: 0;
        }
        #content_form {
            position: relative;
            min-height: calc(100vh - 205px);
        }
        .wrapper-body, #content_form {
            padding-bottom: 10px;
        }
        .react-datalist-input__container input::placeholder {
            font-size: 16px !important;
        }
        .wrapper-body {    
            overflow: inherit;
        }
        .page-404 {
            width: calc(100% - 30px);
        }
        #content_form, .wrapper-body {
            min-height: calc(100vh - 179px);
        }
    }