body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #f1f0ed;
    color: #495056;
    font-size: 15px;
    line-height: 1;
}

* {
    box-sizing: border-box;
}

[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    margin: 0 0 20px;
}

a {
    font-weight: 700;
    color: inherit;
}

p {
    margin: 0 0 20px;
}

iframe,
img {
    max-width: 100%;
    height: auto;
}

select,
textarea,
input {
    font-family: inherit;
}

select,
textarea,
input[type="password"],
input[type="email"],
input[type="text"] {
    width: 100%;
    border: none;
    border-bottom: 1px solid #495056;
    color: inherit;
    background: none;
    height: 50px;
    outline: none;
    font-weight: 700;
}

textarea {
    height: initial;
}

label {
    text-transform: uppercase;
    letter-spacing: 2px;
}

select.no-val {
    color: #aeb0b1;
}

::-webkit-input-placeholder { text-transform: uppercase; opacity: .4; color: inherit; font-weight: 700; letter-spacing: 1px; }
:-moz-placeholder { text-transform: uppercase; opacity: .4; color: inherit; font-weight: 700; letter-spacing: 1px; }
::-moz-placeholder { text-transform: uppercase; opacity: .4; color: inherit; font-weight: 700; letter-spacing: 1px; }
:-ms-input-placeholder { text-transform: uppercase; opacity: .4; color: inherit; font-weight: 700; letter-spacing: 1px; }

button,
input[type="submit"],
input[type="button"],
.button {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 17px 24px;
    line-height: 1;
    border-radius: 50px;
    cursor: pointer;
    transition: background .3s ease;
    border: 2px solid #495056;
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover {
    background: #495056;
    color: #fff;
}

.wrapper {
    width: 1440px;
    max-width: 100%;
    margin: auto;
    padding: 0 20px;
}

.hide {
    display: none!important;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.fac {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.fsb {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.fsbc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gap-20 {
    gap: 20px;
}
.gap-20-30 {
    gap: 20px 30px;
}
.gap-10-35 {
    gap: 10px 35px;
}

.mt-20 { margin-top: 20px; }
.mt-25 { margin-top: 25px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mt-80 { margin-top: 80px; }

.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-80 { margin-bottom: 80px; }

.w-250 { width: 250px; max-width: 100%; }
.mw-300 { max-width: 300px; }

.text-right { text-align: right; }
.text-center { text-align: center; }

.link-style-1 {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 400;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    transition: opacity .3s ease;
    padding: 5px;
}
.link-style-1 i {
    width: 25px;
    flex-shrink: 0;
    font-weight: 400;
    font-size: 17px;
}
.link-style-1:hover {
    opacity: .8;
}

.font-1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
}

.color-1 {
    color: #85998F;
}

.text-style-1 {
    color: #85998F;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    font-size: 47px;
}

.text-style-2 {
    color:#495056;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-header-container {
    background: #495056;
    color: #fff;
}
.main-header {
    padding: 25px 0;
    gap: 20px;
}
.main-header > .c1 {
    display: flex;
    align-items: center;
    gap: 10px 100px;
}

.main-nav {
    display: flex;
    gap: 10px 50px;
}
.main-nav .menu-item.current {
    font-weight: 700;
}

.logout-link {
    gap: 20px;
}
.logout-link i {
    transform: rotate(180deg);
}

.main-content-container {
    padding: 70px 0;
}

.form-style-1 {
    display: grid;
    gap: 10px 30px;
    grid-template-columns: 1fr 1fr;
}
.form-style-1 .full {
    grid-column: 1 / -1;
}

.form-style-1 .sep {
    background: #dfdfdf;
    height: 1px;
    margin: 50px 0 30px;
}

.show_el {
    display: none;
}
.show_el.active {
    display: block;
    animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.error-msg {
    background: #e5bdbd24;
    padding: 14px 24px;
    border-top: 2px solid #d35c5c;
    margin: 10px 0;
    font-weight: 700;
    color: #d35c5c;
    font-size: 13px;
}

form.loading {
    opacity: .5;
    cursor: progress;
}

.search-field {
    width: 325px;
    max-width: 100%;
    position: relative;
}
.search-field input {
    padding-right: 25px;
}
.search-field:after {
    content: '';
    font-family: 'icomoon';
    position: absolute;
    pointer-events: none;
    top: 16px;
    right: 2px;
}

.listing .th {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 140px;
    background: #85998F;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}
.listing .r {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 140px;
    border-bottom: 1px solid #E0E1E4;
}
.listing .c {
    padding: 10px 24px;
}
.listing .c4 {
    text-align: center;
}

.listing .r .c {
    padding: 14px 24px;
    font-size: 14px;
    line-height: 1.2;
}

.listing .actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px 15px;
}
.listing .actions i {
    cursor: pointer;
    font-size: 13px;
    transition: all .3s ease;
}
.listing .edit_btn:hover {
    color: #85998f;
}
.listing .delete_btn:hover {
    color: #a72a2a;
}
.listing .archive_btn:hover {
    color: #a72a2a;
}

.listing .r.status-archive {
    opacity: .6;
    background: #ebebeb;
}

.listing .r.status-archive {
    display: none;
}
.listing.show_archived .r.status-archive {
    display: grid;
}

.custom-checkbox {
    border: none;
    padding: 0;
    background: none;
    position: relative;
    line-height: 1;
    display: inline-flex;
    gap: 12px;
    align-items: center;
}
.custom-checkbox:hover {
    background: none;
    color: inherit;
}
.custom-checkbox .box {
    width: 20px;
    height: 20px;
    border: 1px solid #495056;
    background: #fff;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}
.custom-checkbox .box:before {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    background: #85998f;
    width: 14px;
    height: 14px;
    transform: scale(0);
    transition: transform .4s ease;
}
.custom-checkbox.checked .box:before {
    transform: scale(1);
}

.custom-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 10%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease;
}
.custom-popup.closing {
    opacity: 0;
}
.custom-popup-wrapper {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 3px;
    max-height: 88vh;
    overflow: auto;
    width: 460px;
    max-width: 100%;
    animation: fade-in-bottom 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.custom-popup .close {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #85998F;
    cursor: pointer;
    transition: opacity .4s ease;
}
.custom-popup .close:hover {
    opacity: .8;
}

.popup-form .fields-con,
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@-webkit-keyframes fade-in-bottom{0%{-webkit-transform:translateY(30px);transform:translateY(30px);opacity:0}100%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes fade-in-bottom{0%{-webkit-transform:translateY(30px);transform:translateY(30px);opacity:0}100%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}
.fade-in-bottom {
	animation: fade-in-bottom 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
@-webkit-keyframes fade-out-bck{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}100%{-webkit-transform:translateZ(-50px);transform:translateZ(-50px);opacity:0}}@keyframes fade-out-bck{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}100%{-webkit-transform:translateZ(-50px);transform:translateZ(-50px);opacity:0}}
.fade-out-bck {
	animation: fade-out-bck 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.hover-opac,
.items-a-hover-opac a {
    transition: opacity .3s ease;
    cursor: pointer;
}
.hover-opac:hover,
.items-a-hover-opac a:hover {
    opacity: .8;
}

body:after{
    content: '';
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 30%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}
body.page-loading:after{
    opacity: 1;
}

@media(max-width:1023px){
    .main-content .user-name {
        margin-bottom: 40px;
    }
}
@media(max-width:1023px){
    .main-header > .c1 {
        gap: 10px 30px;
    }
    .main-nav {
        gap: 10px 20px;
    }
}

@media(max-width:767px){
    .main-nav {
        gap: 10px;
    }
    .main-nav a {
        font-size: 0;
    }
    .main-nav a i {
        font-size: 24px;
    }
    
    .listing {
        display: flex;
        flex-direction: column;
        background: #fff;
    }
    .listing .th {
        display: none;
    }
    .listing .r {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 10px;
    }
    .listing .r .c {
        padding: 8px 12px;
        font-size: 14px;
    }
    .listing.show_archived .r.status-archive {
        display: flex;
    }
    .listing .r:nth-child(odd) {
        background: #f9faf9;
    }

    .listing-controls {
        text-align: left;
    }

    .form-style-1 {
        grid-template-columns: 1fr;
    }

    .listings-container > .r1 {
        flex-direction: column;
        align-items: flex-start;
    }
    .listings-container > .r1 > div {
        flex: 1;
        width: 100%;
    }

}