@font-face {
    font-family: 'NotoSans';
    src: url('../fonts/NotoSans-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'NotoSans';
    src: url('../fonts/NotoSans-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Medium.ttf');
    font-weight: 500;
}


html {
    height: 100%;
    overflow: hidden;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "NotoSans", Arial, sans-serif;
    background: #f9f6f5;
    color: #371d12;
}

a {
    font-family: "NotoSans", Sans-Serif;
    text-decoration: none;
}

i {
    font-style: italic;
}

b {
    font-weight: bold;
}

.scroll-wrapper {
    overflow-y: scroll;
    height: 100%;
}

.main-wrapper {
    position: relative;
    width: 100%;
    min-width: 250px;
    min-height: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.container {
    margin: 0 auto;
    max-width: 1340px;
}

.container.short {
    max-width: 810px;
}

.container.shorter {
    max-width: 542px;
}

.color-red {
    color: red;
}

.color-green {
    color: #00df7c;
}


.bg-red {
    background: #d80000 !important;
}

.no-show {
    visibility: hidden;
}

::selection {
    background: #05e186; /* WebKit/Blink Browsers */
}

::-moz-selection {
    background: #05e186; /* Gecko Browsers */
}

.hidden {
    display: none;
}

/* --- BACKGROUND IMAGES -------------------------- */
.background-icons {
    position: relative;
    z-index: -1;
}


.background-icons .bg-img {
    position: fixed;
}

.background-icons .left-icon {
    left: 17%;
}

.background-icons .right-icon {
    right: 17%;
}

.page-background-icons {
    position: absolute;
    /*top: 50%;*/
    top: 30%;
    left: 0;
    right: 0;
    z-index: -1;
}

.page-background-icons .bg-img {
    position: absolute;
}

.page-background-icons .left-icon {
    left: 50%;

}

.page-background-icons .right-icon {
    right: 60%;
}


/* --- HEADER -------------------------- */
header {
    background: #fff;
}

.header-nav {
    /*display: flex;*/
    /*justify-content: space-between;*/
}

.header-nav .logo {
    align-self: center;
    padding: 20px 20px 14px 0;
}

.header-nav .menu-items {
    display: flex;
    justify-content: space-between;
}

.header-nav ul {
    display: flex;
}

.header-nav .logged-user-info {
    display: flex;
    align-items: center;
    position: relative;
}

.drop-down-menu {
    display: none;
    position: absolute;
    background: white;
    top: 75px;
    width: 100%;
    z-index: 11;
}

.drop-down-menu li {
    width: 100%;
    display: inline-block;
    padding: 3px;
}

.drop-down-menu a {
    width: 100%;
    padding: 10px;
    display: block;
    transition: .2s;
    text-transform: uppercase;
    color: #f63f1e;
    font-weight: 600;
}

.drop-down-menu a:hover {
    background: #f9f6f5;
    color: #371d12;
}

.header-nav .logged-user-info:hover .drop-down-menu {
    display: inline-block;
}


.drop-down-menu ul {
    display: block;
}

.header-nav .menu li a {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 28px;
    color: #f63f1e;
    text-transform: uppercase;
    font-family: "NotoSans", Sans-Serif, sans-serif;
    font-weight: bold;
    transition: .2s;
}

.header-nav .menu li.active a {
    border-top: 3px solid #371d12;
    background: #f9f6f5;
    color: #371d12;
}

.header-nav .menu li:hover:not(.active) a {
    color: #371d12;
}

.header-nav .font-size-toggle {
    align-items: center;
    /*margin: 0 160px;*/
}

.header-nav .font-size {
    font-family: "NotoSans", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    padding: 9px;
    cursor: pointer;
}

.header-nav .font-size .letter {
    transition: .2s;
}

.header-nav .font-size:not(.active) .letter {
    color: #f63f1e;
}

.header-nav .font-size:hover .letter {
    color: #371d12;
}

.header-nav .font-size.small {
    font-size: 14px;
}

.header-nav .font-size.small .letter {
    position: relative;
    top: 2px;
}

.header-nav .font-size.small.active .letter:after {
    content: "";
    position: absolute;
    width: 29px;
    height: 29px;
    border-radius: 100%;
    background: #f9f6f5;
    z-index: -1;
    left: -10px;
    top: -4px;
}


.header-nav .font-size.medium {
    font-size: 21px;
}

.header-nav .font-size.medium.active .letter:after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 100%;
    background: #f9f6f5;
    z-index: -1;
    left: -1px;
    top: 3px;
}

.header-nav .font-size.large {
    font-size: 30px;
}

.header-nav .font-size.large .letter {
    position: relative;
    bottom: 4px;
}

.header-nav .font-size.large.active .letter:after {
    content: "";
    position: absolute;
    width: 41px;
    height: 41px;
    border-radius: 100%;
    background: #f9f6f5;
    z-index: -1;
    left: -10px;
    top: 2px;
}


.logged-user-info .user-name {
    text-transform: uppercase;
    font-family: "NotoSans", Sans-Serif;
    font-weight: bold;
    margin-right: 10px;
    transition: .2s;
}

.logged-user-info:hover .user-name {
    color: #f63f1e;
}

.logged-user-info {
    cursor: pointer;
}

.login-icon {
    background: #f9f6f5;
    width: 30px;
    height: 30px;
    border-radius: 100%;
}

.sign-out-icon {
    background: url(../images/icons/signout-icon.svg) no-repeat;
    background-size: 18px;
    background-position: 8px 6px;
    height: 28px;
    width: 28px;
    display: inline-block;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

/* --- PAGE CONTENT -------------------------- */
.new-application {
    display: flex;
    justify-content: center;
    margin-top: -30px;
    margin-bottom: 40px;
}

.page-title {
    font-family: "Oswald", Sans-Serif;
    font-weight: bold;
    font-size: 2rem;
    color: #371d12;
    text-transform: uppercase;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 70px;
}

/* --- SETTINGS CONTENT -------------------------- */

.setting-controls {
    display: flex;
    margin-bottom: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.forms-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.forms-wrapper .form-wrapper {
    width: 49%;
}

.form-wrapper.no-shadow {
    box-shadow: none;
}

.percentage-block .limit {
    color: red;
    font-weight: bold;
}

.percentage-block .complete {
    color: #00df7c;
    font-weight: bold;
}

.year-control {
    margin-bottom: 30px;
}

.year-info h1 {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.year-info .desc {
    font-size: 0.8rem;
}

.year-data input {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
}

.year-data button {
    padding: 10px;
    text-transform: uppercase;
    border: none;
    background: #1cc680;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
}

.year-data button:hover {
    background: #14ae70;
}

/* --- BLOCK: APPLICATION BOXES -------------------------- */

.applications {
    margin-bottom: 130px;
    min-width: 60%;
}

.application {
    margin-bottom: 20px;
}

.application span {
    font-weight: bold;
    display: block;
}

.application-box {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    box-shadow: 0 0 30px -7px #c3c3c3;
    position: relative;
}

.application-name {
    padding: 20px 25px;
    border-bottom: 1px solid #f2edeb;
    font-family: "Oswald";
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.6rem;
    color: #371d12;
    text-transform: uppercase;
    position: relative;
}

.application-name .delete-application {
    position: absolute;
    right: 12px;
    color: #f63f1e;
}

.application-bottom-info {
    display: flex;
    align-items: center;
}

.application-bottom-info div {
    padding: 20px 10px;
    display: inline-block;
    text-align: center;
    position: relative;
}

.application-checks i {
    margin-left: 15px;
    font-size: 1.5rem;
}

.admin-content .application-checks i {
    margin-left: 30px;
    font-size: 1.5rem;
}

.application-checks .un-sign-report {
    position: absolute;
    bottom: 3px;
    cursor: pointer;
}

.application-checks .un-sign-report i {
    font-size: 1.1rem;
    color: red;
}


.application-checks i.green {
    color: #21d88d;
    transition: .2s;
}

.application-checks i.green:hover {
    color: #14a067;
}

.application-checks i.gray {
    color: #a7a7a7;
    transition: .2s;
}

.application-checks i.gray:hover {
    color: #8c8c8c;
}


.application-bottom-info.report-info {
    border-top: 5px solid #f3edeb;
    background: #f9f6f5;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/*.application-bottom-info.report-info div {*/
/*    padding: 10px 10px;*/
/*}*/

.application-applicant {
    width: 40%;
}

.application-date:after,
.application-applicant:after {
    content: "";
    width: 1px;
    height: 40px;
    background: #f3edeb;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 15px;
}

.application-date {
    width: 45%;
}

.application-button {
    width: 20%;
}

.application-transfer {
    display: inline-block;
    text-align: right;
    margin-top: 10px;
    color: #f63f1e;
    text-decoration: underline;
}

.application-transfer.download-signed-doc {
    color: green;
    cursor: pointer;
}


/* --- BLOCK: APPLICATION FORM -------------------------- */
.form-wrapper {
    box-shadow: 0 10px 30px -10px #cecece;
    border-radius: 8px;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}

.form-login {
    position: relative;
    margin-top: calc(30vh - -20px);
}

.form-login .form-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
}

.form-login h2 {
    color: #371d12;
    font-family: NotoSans, Sans-Serif;
    font-weight: 600;
    margin-bottom: 30px;
}

.form-login .login-btn {
    background: #f9f6f5;
    border: 1px solid #d7d1cf;
    min-width: 100%;
    padding: 5px 0;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    transition: .2s;
}

.login-btn:hover {
    background: #e0e0e0;
}

.login-btn.not-allowed {
    cursor: not-allowed;
    opacity: 0.4;
}

.mobile-id-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    width: 352px;
}

.mobile-id-wrapper.main-login {
    width: 230px;
}

.mobile-id-wrapper.mobile-report-wrapper {
    margin: 0 auto 50px auto;
}

.mobile-id-wrapper input {
    width: 100%;
    margin-bottom: 5px;
    border: 1px solid #d7d1cf;
    border-radius: 4px;
    padding: 7px;
    font-size: 0.9rem;
}

.form-label-input {
    display: flex;
}

.form-label-input span {
    position: relative;
    top: 8px;
    margin-right: 7px;
    color: #9e9e9e;
}

.mobile-id-wrapper input.enter-btn {
    text-transform: uppercase;
    background: #00ac6a;
    border: 1px solid #00ac6a;
    color: white;
    cursor: pointer;
    transition: .2s;
}

.mobile-id-wrapper input.enter-btn:hover {
    background: #00965e;
}

.error-plaque {
    background: red;
    padding: 10px 10px 5px 10px;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 10px;
}

.info-plaque {
    margin-bottom: 10px;
}

.info-plaque .control-code {
    font-weight: bold;
}

.info-plaque .desc {
    color: white;
    background: #19bb79;
    padding: 10px;
    border-radius: 4px;
    margin-top: 8px;
}

.info-plaque .desc.error {
    background: #bb1919;
}

.form-content-wrapper {
    width: 230px;
}

.form-login li {
    margin-bottom: 5px;
}

.form-header {
    background: #53453f;
    color: #fff;
    font-size: 1.4rem;
    padding: 15px 20px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-family: Oswald, Sans-Serif;
    text-transform: uppercase;
    /*border-top: 1px solid #e6dbd8;*/
    /*border-left: 1px solid #e6dbd8;*/
    /*border-right: 1px solid #e6dbd8;*/
}

.form-header em {
    color: #f63f1e;
    font-size: 1rem;
}

.form-header .center {
    margin: 0 auto;
}

.form-content {
    background: #fff;
    border-left: 1px solid #e6dbd8;
    border-right: 1px solid #e6dbd8;
}

.form-notice {
    background: #f9f6f5;
    padding: 20px;
}

.form-notice.list {
    margin-top: 35px;
}

.form-notice p {
    font-size: 1.1rem;
    line-height: 22px;
}

.form-notice h2 {
    margin: 0 40px;
    font-weight: 600;
    font-size: 1.2rem;
}

.form-notice i,
.form-notice b {
    font-weight: 600;
}

.form-notice .fas {
    color: #f63f1e;
}

.form-notice ul li:not(:first-child) {
    margin-top: 15px;
}

.form-notice ul li a {
    color: #f63f1e;
    text-decoration: underline;
}

.form-breaker {
    background: #53453f;
    padding: 20px 55px;
}

.form-breaker h2 {
    font-family: Oswald;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.form-breaker p {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.form-row {
    margin-bottom: 20px;
}

.form-row.extra-padding {
    padding: 0 14px 0 21px;
    margin: 45px 0;
}

.form-row h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-row h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.form-row p {
    margin-bottom: 10px;
}

.form-footer {
    padding: 20px;
    background: #f9f6f5;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    position: relative;
    border-left: 1px solid #e6dbd8;
    border-right: 1px solid #e6dbd8;
    border-bottom: 1px solid #e6dbd8;
}

.form-login .form-footer {
    background: #fff;
}

.form-footer.single-btn {
    justify-content: flex-end;
}

.form-footer:after {
    content: "";
    height: 20px;
    background: #f9f6f5;
    position: absolute;
    bottom: -8px;
    border-radius: 10px;
    z-index: -1;
    left: 20px;
    width: 96%;
    border: 1px solid #e1e1e1;
    box-shadow: 0 10px 30px -8px #8c8c8c;
}

.form-login .form-footer:after {
    width: 93%;
}

.form-block {
    border-bottom: 1px solid #e1e1e1;
    padding: 30px 40px;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0;
}

.center-content h2 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 60px;
}

.form-input-row {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.label-row {
    flex: 1;
}

.input-row {
    flex: 2;
}

textarea.text,
input.text {
    width: 100%;
    background: #f9f6f5;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 10px;
    font-weight: bold;
    transition: .2s;
    color: #53453f;
    font-size: 0.9rem;
}

input.text.center {
    text-align: center;
}

textarea.text::placeholder,
input.text::placeholder {
    color: #7a6b64;
    font-style: italic;
    font-weight: normal;
}

input.text.short {
    width: 70%;
}

textarea.text:hover,
textarea.text:focus,
input.text:hover,
input.text:focus {
    background: #fbfafa;
    box-shadow: 0 5px 10px -10px #b9b9b9;
}

.input-btn-wrapper {
    position: relative;
}

.input-btn-wrapper input.text {
    padding-right: 100px;
}

.input-btn {
    border: 1px solid #f63f1e;
    border-radius: 4px;
    padding: 7px 14px;
    top: 3px;
    position: absolute;
    right: 3px;
    background: #fff;
    cursor: pointer;
    color: #f63f1e;

}

.add-input-btn {
    width: 100%;
    background: #544540;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    color: #fff;
    padding: 10px 0;
    font-weight: 600;
    font-size: 1rem;
}

.extra-info {
    position: relative;
    margin-bottom: 40px;
}

.extra-info:after {
    content: " (" attr(title) ")";
    display: inline-block;
    color: #53453f;
    position: absolute;
    left: 0;
    top: 40px;
    width: 80%;
    font-style: italic;
}


/* FORM RADIO */
.form-radio-container {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.form-radio-container.active {
    border: 1px solid #f63f1e;
}

.form-radio label {
    border: 1px solid #d7d1cf;
    padding: 13px 15px 13px 44px;
    cursor: pointer;
    border-radius: 4px;
    transition: .2s;
}

.form-radio label:hover {
    border: 1px solid #f63f1e;
}

.form-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.form-radio-container .checkmark {
    position: absolute;
    top: 13px;
    left: 10px;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.form-radio-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.form-radio-container input:checked ~ .checkmark {
    background-color: #f63f1e;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.form-radio-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.form-radio-container .checkmark:after {
    top: 7px;
    left: 7px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: white;
}

/* --- BLOCK: EPIFOND APPLICATION TABLE -------------------------- */
.epifond-table th:first-child {
    width: 315px;
}

.epifond-table th {
    text-align: center;
    padding-bottom: 10px;
}

.epifond-table tr:not(:first-child):nth-child(odd) {
    background: #fbfaf9;
}

.epifond-table td {
    padding: 10px 6px;
    position: relative;
    line-height: 19px;
    transition: .2s;
}

.epifond-table td b {
    font-weight: 600;
}

.epifond-table td:first-child {
    padding-left: 20px;
}

.epifond-table td:last-child {
    padding-right: 13px;
}

.epifond-table input {
    width: 100%;
    padding: 7px;
    border-radius: 4px;
    border: 1px solid #e1e1e1;
    background: #faf9f8;
    font-size: 0.9rem;
    font-family: NotoSans;
    font-weight: bold;
    color: #53453f;
}

.epifond-table input:hover,
.epifond-table input:focus {
    background: #fbfafa;
    box-shadow: 0 5px 10px -10px #b9b9b9;
}


.epifond-table input.locked {
    background: #e1e1e1;
    cursor: not-allowed;
}

.epifond-table input.total {
    pointer-events: none;
}

.epifond-table .fact-icon {
    position: relative;
}

.epifond-table .fact-icon:before {
    content: "\f06a";
    font-family: FontAwesome;
    color: #f63f1e;
    display: inline-block;
    padding: 5px 5px;
    position: absolute;
    font-size: 1rem;
    top: -15px;
    left: -11px;
}

.sign-options {
    margin-top: 20px;
}

.sign-options button {
    cursor: pointer;
    margin: 10px;
}

/* --- BLOCK: EPIFOND REPORTING TABLE -------------------------- */

.table-block {
    padding: 0 40px;
    position: relative;
    z-index: 0;
}

.table-group-title {
    background: #f1eae8;
    position: absolute;
    right: 0;
    padding: 10px 106px;
    font-size: 0.9rem;
}

.organization-table::before,
.reporting-table::before {
    content: "";
    height: 56px;
    width: 100%;
    position: absolute;
    background: #f9f6f5;
    z-index: -1;
    left: 0;
}


.reporting-table tr:first-child {
    background: #f9f6f5;
}

.organization-table tr:first-child th,
.reporting-table tr:first-child th {
    padding: 20px 0;
    font-weight: 600;
}


.reporting-table tr:nth-child(2) td {
    padding-top: 30px;
}

/* --- BLOCK: EPIFOND organization TABLE -------------------------- */

.organization-table tr:first-child {
    margin-bottom: 20px;
}

.organization-table tr:first-child th {
    padding: 13px 0;
    z-index: 10;
    position: relative;
}

.organization-table th {
    height: 72px;
}

.organization-table th:nth-child(1n+3) {
    vertical-align: bottom;
}

.organization-table th.align-bottom {
    vertical-align: bottom;
}

.organization-table th:first-child {
    width: 215px;
}

.organization-table th:nth-child(2) {
    width: 130px;
}

.organization-table::before {
    content: "";
    height: 72px;
}

.epifond-table.master input {
    cursor: pointer;
}

.table-row-add-more-button {
    padding: 5px 15px;
    margin: 20px;
    border-radius: 4px;
    border: none;
    background: #00e482;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
}

/* --- BLOCK: APPLICATION FOOTER -------------------------- */
.steps-container {
    max-width: 1015px;
}

.application-steps {
    display: flex;
}

.application-step {
    text-align: center;
    width: 100%;
    color: #371d12;
    font-weight: 600;
    text-transform: uppercase;
}

.application-bullet-wrapper {
    display: flex;
    align-items: center;
}

.application-bullet-line {
    height: 2px;
    width: 100%;
    background: #58453e;
    display: inline-block;
}

.application-step.done .application-bullet-line {
    background: #21d58a;
}

.application-step.done .application-text {
    color: #21d58a;
}

.application-bullet {
    border-radius: 100%;
    margin: 5px;
    background: #58453e;
}

.application-step.active .application-bullet {
    background: #f0e8e5;
}


.application-step.done .application-bullet {
    background: #21d58a;
}

.application-text {
    font-size: 0.87rem;
    margin-top: 16px;
    padding: 0 20px;
    font-family: Oswald;
    font-weight: bold;
}

.application-step .application-bullet::before {
    content: attr(data-page);
    padding: 5px 9px;
    display: inline-block;
    color: #f1f1f1;
}

.application-step.active .application-bullet::before {
    content: attr(data-page);
    padding: 5px 9px;
    display: inline-block;
    color: #371d12;
}

.application-step.done .application-bullet::before {
    content: "\f00c";
    font-family: FontAwesome;
    display: inline-block;
    padding: 5px 5px;
    color: #fff;
}

.sign-application {
    cursor: pointer;
}

/* --- FOOTER -------------------------- */
.main-footer {
    border-top: 1px solid #e1e1e1;
    width: 100%;
    background-color: #fff;
    padding: 25px 0;
}

.bottom-footer-wrapper {
    margin-top: 160px;
}

.bottom-footer-wrapper .main-footer,
.main-footer.bottom {
    bottom: 0;
    position: absolute;
}

.main-footer > .bottom {
    display: block;
    width: 1150px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 18px;
    color: #101010;
    text-align: center;
}


/* --- ITEM: CHECKBOXES -------------------------- */
.im-checkbox > span::before {
    border-radius: 4px;
    top: 0;
    margin-top: 0;
    border: 1px solid gray;
}

.im-checkbox > span::after {
    color: #ffffff;
    top: 0;
    margin-top: 3px;
}

.im-checkbox > span {
    font-size: 1rem;
}

.im-checkbox > input:checked + span::before {
    border-color: #ff0404;
    background: #ff0404;
}


/* --- ITEM: BUTTONS -------------------------- */
.btn-default {
    background: #d7cdc9;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1em;
    display: inline-block;
    color: #fff;
    transition: .2s;
}

.btn-default:hover {
    background: #a1918c;
}

.btn-default.orange {
    background: #ff6f6f;
}

.btn-default.green {
    background: #21d88d;
}

.btn-default.green:hover {
    background: #14b372;
}


.back-btn {
    padding: 10px 40px;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-green {
    border-radius: 4px;
    padding: 10px 40px;
    font-size: 1em;
    display: inline-block;
    color: #fff;
    background: linear-gradient(90deg, rgba(36, 223, 145, 1) 0%, rgba(21, 175, 113, 1) 100%);
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-green:hover {
    background: linear-gradient(94deg, rgba(36, 223, 98, 1) 0%, rgba(21, 175, 113, 1) 100%);
}

.btn-green.orange {
    background: linear-gradient(90deg, rgb(253, 176, 80) 0%, rgb(228, 109, 0) 100%);
}

.btn-green.orange:hover {
    background: linear-gradient(94deg, rgb(228, 109, 0) 0%, rgb(253, 176, 80) 100%);
}

.btn-green.next-btn {
    align-self: flex-end;
    cursor: pointer;
}

.btn-green.medium-btn {
    padding: 13px 48px;
}

.btn-gray.big-btn,
.btn-green.big-btn {
    padding: 20px 120px;
    font-size: 1.1rem;
}

.btn-gray {
    border-radius: 4px;
    padding: 10px 40px;
    font-size: 1em;
    display: inline-block;
    color: #fff;
    background: linear-gradient(90deg, rgb(106, 106, 106) 0%, rgb(76, 76, 76) 100%);
    text-transform: uppercase;
    font-weight: 600;
    cursor: not-allowed;
}

.btn-gray:hover {
    background: linear-gradient(94deg, rgb(179, 179, 179) 0%, rgb(76, 76, 76) 100%);
}

.download-link {
    margin-top: 30px;
    text-decoration: underline;
    color: #06aa6b;
}


/* --- ITEM: REMOVE ICON -------------------------- */
.remove-icon {
    border: 1px solid #f9f6f5;
    border-radius: 100%;
    padding: 4px 6px;
    font-size: 0.7rem;
    background: #f9f6f5;
    cursor: pointer;
    transition: .2s;
}

.remove-icon:hover {
    background: #ff0404;
}

/* --- ITEM: SWITCH USER MODAL -------------------------- */
.switch-user-wrapper {
    position: fixed;
    background: #ffffff;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
}

.switch-user-body h1 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
    color: #dadada;
}

.switch-user-content {
    overflow-y: overlay;
    margin-top: 50px;
    margin-bottom: 10px;
}

.switch-user-body {
}

.switch-user-control {
}

.switch-user-control .close-btn {
    position: absolute;
    font-size: 1.5rem;
    color: rgb(246 63 30 / 60%);
    right: 30px;
    top: 30px;
    border: 3px solid rgb(246 63 30 / 60%);
    padding: 12px;
    border-radius: 100%;
    line-height: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: .2s;
}

.switch-user-control .close-btn:hover {
    color: rgb(246 63 30 / 100%);
    border: 3px solid rgb(246 63 30 / 100%);
}

.switch-user-list {
    display: flex;
    flex-direction: column;
}

.switch-user-list li a {
    border: 1px solid #efefef;
    display: block;
    color: #f63f1e;
    text-transform: uppercase;
    padding: 10px 25px 10px 10px;
    margin-bottom: 5px;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: .2s;
}

.switch-user-list li a:hover {
    background: #efefef;
}


/* --- ADMIN: FRONTPAGE -------------------------- */
.admin-content {
    display: flex;
    flex-wrap: wrap;
}

.admin-content .users-list {
    /*max-width: 400px;*/
    /*min-width: 260px;*/
    /*width: 300px;*/
    flex: 1;
    margin-right: 55px;
    margin-bottom: 80px;
}

.admin-content .applications {
    flex: 3;
}

.admin-content .users-list .user {
    display: flex;
    justify-content: space-between;
}

.admin-content .tag-name {
    display: flex;
}

.admin-content .users-list .user:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.admin-content .users-list .user:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.admin-content .users-list .user.active {
    background: #f1f1f1;
}


.admin-content .users-list ul {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    box-shadow: 0 0 30px -7px #c3c3c3;
}

.admin-content .users-list-block {
    margin-top: 20px;
    max-height: 500px;
    overflow: overlay;
}

.admin-content .users-list ul li {
    padding: 10px;
    cursor: pointer;
    transition: .2s;
}

.admin-content .users-list ul li:not(:last-child) {
    border-bottom: 1px solid #e1e1e1;
}

.admin-content .users-list ul li span {
    margin: 5px;
}

.admin-content .users-list ul li span.tag {
    font-weight: bold;
}

.admin-content .users-list ul li span.count {
    font-size: 0.8rem;
}

.admin-content .users-list ul li:hover {
    background: #f1f1f1;
}

.admin-content ul li.user-search-list {
    padding: 0;
}

.user-search {
    width: 100%;
    border: none;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    padding: 13px 15px;
    font-size: 1.2rem;
}

h1.admin-content {
    font-size: 1.2rem;
    color: #371d12;
    font-weight: bold;
    text-transform: uppercase;
}

/* width */
.admin-content ::-webkit-scrollbar {
    width: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;

}

/* Track */
.admin-content ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Handle */
.admin-content ::-webkit-scrollbar-thumb {
    background: #10af6f;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Handle on hover */
.admin-content ::-webkit-scrollbar-thumb:hover {
    background: #0a7e4f;
}

.application-box .app-steps {
    position: absolute;
    display: flex;
    margin-top: -5px;
    right: 25px;
}

.application-box li a {
    height: 10px;
    width: 50px;
    display: block;
    margin-right: 2px;
}

.application-box li:first-child a {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.application-box li:last-child a {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.application-box .app-step {
    z-index: 1;
}

.application-box .app-step a {
    background: #9c9c9c;
    transition: .2s;
}

.application-box .app-step.done a {
    background: #10af6f;
    transition: .2s;
}

.application-box .app-step a:hover {
    background: #7e7e7e;
}

.application-box .app-step.done a:hover {
    background: #0c945e;
}


/* --- WIDGET: DRAG AND DROP UPLOAD ----------------- */

.upload {
    background: #f9f6f5;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    text-align: center;
    cursor: pointer;
    transition: .2s;
}

.dropzone {
    border: none;
}

.dz-button {
    text-decoration: underline;
}

.dz-drag-hover {
    background: #fff;
    border: 1px dotted white;
}

.dz-default.dz-message {
    display: inline-block;
}

.upload:before {
    content: "";
    position: absolute;
    border: 3px dashed #c1c1c1;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
}

.upload p {
    text-decoration: underline;
}

.uploaded-files {
    margin-top: 15px;
}

.uploaded-files li {
    margin-bottom: 10px;
}

.uploaded-files a {
    color: #ff0404;
    text-decoration: underline;
}


/*#drop_file_zone {*/
/*    background-color: #EEE;*/
/*    border: #999 5px dashed;*/
/*    width: 290px;*/
/*    height: 200px;*/
/*    padding: 8px;*/
/*    font-size: 18px;*/
/*}*/
/*#drag_upload_file {*/
/*    width:50%;*/
/*    margin:0 auto;*/
/*}*/
/*#drag_upload_file p {*/
/*    text-align: center;*/
/*}*/
#drag_upload_file #selectfile {
    display: none;
}

@media all and (max-width: 1400px) {
    .container {
        padding: 0 15px;
    }
}

@media all and (max-width: 1200px) {

}

@media all and (max-width: 870px) {
    .menu-items .menu {
        display: none;
    }
}

@media all and (max-width: 800px) {

    .setting-controls .big-btn {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .forms-wrapper .form-wrapper {
        width: 100%;
    }

    .main-content {
        margin: 0 10px;
    }

    .header-nav {
        margin: 0 10px;
    }

    .header-nav .font-size-toggle {
        margin: 0;
    }

}

@media all and (max-width: 500px) {

}

@media all and (max-width: 400px) {

}


/** EXTRA WIDGETS **/
/* ---------------- MODAL : START --------------- */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 20; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */

}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 0;
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
    position: relative;
}

@media all and (max-width: 1200px) {
    .modal-content {
        width: 90%;
    }
}

/* The Close Button */
.close {
    color: #9e1616;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 14px;
    top: 14px;
    background: #ff6d40;
    border-radius: 100%;
    padding: 3px 9px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.modal-header {
    background: #FF5722;
    padding: 22px;
    margin-bottom: 10px;
}

.modal-header ul {
    display: flex;
}

.modal-header li {
    margin-right: 10px;
}

.modal-header span.title {
    font-size: 1rem;
    color: #fff;
}

.modal-header span.name {
}

.modal-header span.value {
    font-size: .9rem;
}


.modal-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    background: #ff5723;
    padding: 10px;
    margin-top: 10px;
}

.modal-row-title {
    width: 200px;
    padding: 10px;
    text-align: right;
    font-size: 1rem;
}

.modal-row-title.active {
    color: #1ce490;
}

.modal-row-data {
    width: 440px;
    padding: 10px;
}

.modal-row-data select {
    width: 100%;
    font-size: 1rem;
    padding: 10px;
}

.modal-row-data input[type="email"],
.modal-row-data input[type="text"] {
    width: 100%;
    padding: 10px;
}

.modal-row-data textarea {
    width: 100%;
}

.modal-row-data label {
    cursor: pointer;
}

.modal-btn {
    padding: 5px 19px;
    border: 1px solid black;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 10px;
}

.modal-btn.delete-modal {
    border: 1px solid #fefefe;
    color: #ffffff;
}

.modal-btn.delete-modal:hover {
    border: 1px solid black;
    color: black;
}

.modal-btn.save-modal {
    background: #1ce490;
    color: #fff;
    border: none;
}

.modal-btn.save-modal:hover {
    background: #00c472;
    color: #000;
}

/* ---------------- MODAL : END --------------- */
/* ---------------- LOADER : START --------------- */
.loader {
    display: none;
    border-top: 16px solid #0fad70;
    border-right: 16px solid #1ce490;
    border-bottom: 16px solid #53453f;
    border-left: 16px solid #f63f1e;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    position: fixed;
    top: 100px;
    left: 30px;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ---------------- LOADER : END --------------- */
