body {
    background-color: #f4f7fb;
}

.sticky-top {
    top: 15px;
}

body.modal-open .sticky-top {
    padding-right: 0px !important;
    margin-right: 0px !important;
}

body.modal-open .navbar.sticky-top {
    padding-right: 1.0rem !important;
}

.bg-primary-light {
    background-color: rgba(122, 85, 49, 0.2);
    color: #af884f;
}

.mobile-menu {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transition: all .4s;
    text-align: left;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    z-index: 1031;
}

.mobile-menu.show {
    transform: translateX(0);
}

.mobile-menu .navbar-nav {
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.show {
    right: 0;
}


.md-form.md-outline.form-lg .form-control.form-control-lg {
    padding: 0.8rem 0.725rem;
}

.md-form.md-outline.form-lg label {
    font-size: 1.0rem;
    transform: translateY(13px);
}

.form-control-lg {
    font-size: 1rem;
}

.select-wrapper.md-form.md-outline+label {
    left: 14px;
}

.select-wrapper input.select-dropdown {
    height: auto;
    line-height: 2.3rem;
}

.logo {
    scale: 1.4;
}

.sidebar {
    width: 276px;
}

.list-group-item.active {
    background-color: rgba(122, 85, 49, 0.2);
    border-color: #af884f;
}

.list-group-item a {
    color: #af884f;
}

.sidebar.navbar.navbar-light .breadcrumb .nav-item.active>.nav-link,
.navbar.navbar-light .navbar-nav .nav-item.active>.nav-link {
    background-color: rgba(122, 85, 49, 0.2);
    color: #af884f;
}

.classic-tabs .nav.tabs-cyan li a.active {
    border-color: #af884f;
}

.classic-tabs .nav li a.active {
    color: #af884f;
    border-bottom: 3px solid;
}

.classic-tabs .nav li a {
    font-weight: 800;
    color: #6c757d;
}

.modal .breadcrumb {
    margin-bottom: 0 !important;
}

.form-control:focus {
    border-color: #af884f;
    box-shadow: inset 0 0 0 1px #af884f;
}

.md-form.md-outline textarea.md-textarea:focus:not([readonly]) {
    border-color: #af884f;
    box-shadow: inset 0 0 0 1px #af884f;
}

.md-form.md-outline textarea.md-textarea:focus:not([readonly])+label {
    color: #af884f;
}

.md-form textarea.md-textarea+label {
    top: 0rem;
}

.form-check-input[type="radio"]:checked+label:after,
.form-check-input[type="radio"].with-gap:checked+label:after,
label.btn input[type="radio"]:checked+label:after,
label.btn input[type="radio"].with-gap:checked+label:after {
    background-color: #af884f;
}

.form-check-input[type="radio"]:checked+label:after,
.form-check-input[type="radio"].with-gap:checked+label:before,
.form-check-input[type="radio"].with-gap:checked+label:after,
label.btn input[type="radio"]:checked+label:after,
label.btn input[type="radio"].with-gap:checked+label:before,
label.btn input[type="radio"].with-gap:checked+label:after {
    border: 2px solid #af884f;
}

.form-check-input[type="radio"]:focus+label:before,
label.btn input[type="radio"]:focus+label:before {
    border-color: #af884f;
    box-shadow: 0 0 0 0.2rem rgba(175, 136, 79, 0.25);
}

.avatar-pic {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.switch label input[type="checkbox"]:checked+.lever:after {
    background-color: #fff;
}

.switch label input[type="checkbox"]:checked+.lever {
    background-color: #af884f;
}

.form-row .md-form.md-outline {
    margin-bottom: 0;
}

.image-wrapper {
    position: relative;
    float: left;
    width: 115px;
    height: 115px;
    margin-right: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.sortable-gallery .image-wrapper {
    width: 150px;
    height: 150px;
}

.img-cont {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    -webkit-animation: image-picker-image-appear .12s ease-out;
    animation: image-picker-image-appear .12s ease-out;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.image-wrapper .overlay {
    position: absolute;
    z-index: 3;
    display: none;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .4);
    border-radius: 4px;
    border: 2px solid #af884f;
}

.image-wrapper:hover .overlay {
    display: block;
}

.image-wrapper a {
    position: absolute;
    right: 8px;
    bottom: 5px;
}

.image-wrapper label {
    position: absolute;
    right: 8px;
    top: 2px;
    cursor: pointer;
}

.ajax-file-upload {
    justify-content: center;
    align-items: center;
    display: flex;
    margin: inherit;
    word-wrap: break-word;
    white-space: normal;
    cursor: pointer;
    border: 0;
    border-radius: 0.125rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    padding: 1rem 2.4rem;
    font-size: 0.94rem;
    cursor: pointer;
    background-color: rgba(122, 85, 49, 0.2);
    color: #af884f;
    border: 2px dashed #af884f;
    text-align: center;
}

.number-input input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.number-input input[type=number]::-webkit-inner-spin-button,
.number-input input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-input {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.number-input button {
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.number-input button:before,
.number-input button:after {
    display: inline-block;
    position: absolute;
    content: '';
    height: 2px;
    transform: translate(-50%, -50%);
}

.number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
    text-align: center;
}

.number-input.number-input {
    border: 1px solid #ced4da;
    width: 10rem;
    border-radius: .25rem;
}

.number-input.number-input button {
    width: 2.6rem;
    height: .7rem;
}

.number-input.number-input button.minus {
    padding-left: 10px;
}

.number-input.number-input button:before,
.number-input.number-input button:after {
    width: .7rem;
    background-color: #495057;
}

.number-input.number-input input[type=number] {
    max-width: 4rem;
    padding: .5rem;
    border: 1px solid #ced4da;
    border-width: 0 1px;
    font-size: 1rem;
    height: 2rem;
    color: #495057;
}

@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance: none) and (stroke-color:transparent) {

        .number-input.def-number-input.safari_only button:before,
        .number-input.def-number-input.safari_only button:after {
            margin-top: -.3rem;
        }
    }
}

@media (min-width: 992px) {
    .mobile-menu.show {
        transform: translateX(-100%);
    }

    .mobile-menu-overlay.show {
        right: unset;
    }
}