/* --------------------------------------------------------------
# Contents
# 0. Global
# 1. Header
# 2. Search
# 3. Offers Section
# 4. DJ Filter Sidebar
# 5. Ad Card
# 6. DJ Sort
# 7. Favourite Button
# 8. DJ Ad Gallery
# 9. Profile Box
# 10. DJ Description
# 11. Small Mobile Cards
-------------------------------------------------------------- */


/* --------------------------------------------------------------
# 0. Global
-------------------------------------------------------------- */
.dj-grid-7 {
    @media screen and (min-width: 1400px) {
        .uk-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            grid-auto-rows: 1fr;
            gap: 12px;
            >div {
                margin: 0;
                padding: 0;
                width: 100%;
            }
        }
    }
    @media screen and (max-width: 500px) {
        .uk-grid-small>.uk-grid-margin {
            margin-top: 5px;
        }
        .uk-grid {
            >div {
                padding-left: 5px;
                .uk-card {
                    padding: 14px 14px;
                    .el-image {
                        width: 48px;
                    }
                    .el-title {
                        font-size: 10px;
                    }
                }
            }
        }
    }
}

.dj-label {
    padding: 6px 12px;
    width: fit-content;
    font-size: 10px;
    font-weight: 500;
    color: #FFF;
    background-color: #5272FF;
    border-radius: 32px;
    box-sizing: border-box;
}

.uk-tile-primary {
    border-radius: 24px;
}

.dj-text-white {
    color: #FFFFFF;
}

*+.uk-margin-medium {
    @media screen and (max-width: 600px) {
        margin-top: 24px !important;
    }
}

/* --------------------------------------------------------------
# 1. Header
-------------------------------------------------------------- */
.dj-header-cta {
    >div {
        >.el-item {
            &:first-of-type {
                svg {
                    width: 28px;
                    height: auto;
                }
            }
        }
    }
}

.dj-home {
    .uk-navbar-container {
        background-color: #FFF;
    }
}

/* --------------------------------------------------------------
# 2. Search
-------------------------------------------------------------- */
.dj-search-section {
    border-radius: 0px 0px 36px 36px;
}

.dj-search {
    form {
        display: flex;
        background-color: #FFF;
        border-radius: 64px;
        overflow: hidden;
        label,
        .label1,
        .label2 {
            display: none;
        }
        .search_word {
            flex: 1;
        }
        .search_regions {
            display: flex;
        }
        .search_price {
            display: flex;
            .search_price_from-to {
                display: flex;
            }
            [type="text"] {
                border-left: 1px solid #E6E9F4 !important;
            }
        }
        [type="text"] {
            padding: 24px;
            color: #484950;
            background-color: #fff;
            height: auto;
            border: none;
            border-radius: 0px;
            &::placeholder {
                color: #484950;
            }
        }
        [type="submit"] {
            height: 100%;
            padding-inline: 48px;
            border-radius: 100px;
        }
        .uk-select {
            padding-inline: 24px 32px !important;
            height: 100% !important;
            color: #484950;
            background-color: #fff;
            border: none !important;
            border-radius: 0px;
            border-left: 1px solid #E6E9F4 !important;
            background-position: right 8px top 50% !important;
        }
    }
    @media screen and (max-width: 960px) {
        form {
            padding: 12px;
            flex-direction: column;
            border-radius: 8px;
            box-sizing: border-box;
            .search_price {
                .search_price_from-to {
                    flex-direction: column;
                    width: 100%;
                }
                [type="text"] {
                    border-left: 0 !important;
                    border-bottom: 1px solid #E6E9F4 !important;
                }
            }
            .search_regions {
                flex-direction: column;
            }
            [type="text"] {
                border-left: 0 !important;
                border-bottom: 1px solid #E6E9F4 !important;
            }
            [type="submit"] {
                margin-top: 16px;
                min-height: 60px;
                width: 100%;
            }
            .uk-select {
                min-height: 73px;
                border-left: 0 !important;
                border-bottom: 1px solid #E6E9F4 !important;
            }
        }
    }
}


/* --------------------------------------------------------------
# 3. Offers Section
-------------------------------------------------------------- */
.dj-offers-section {
    @media screen and (min-width: 960px) {
        .dj-offers-column {
            >.uk-tile-primary {
                display: flex;
                flex-direction: column;
                >.dj-offers-grid {
                    height: 100%;
                    >.uk-grid {
                        height: 100%;
                    }
                }
            }
        }
    }
}

/* --------------------------------------------------------------
# 4. DJ Filter Sidebar
-------------------------------------------------------------- */
.dj-filter-sidebar {
    height: fit-content;
    form {
        display: flex;
        flex-direction: column;
        gap: 24px;
        .se_geoloc_or_label {
            display: block;
            margin-block: 6px;
            font-size: 12px;
            color: #03081C;
        }
        label,
        .label {
            margin-bottom: 12px;
            display: block;
            font-size: 18px;
            font-weight: 500;
            letter-spacing: -0.72px;
            color: #03081C;
        }
        .search_cats {
            display: flex;
            flex-direction: column;
            gap: 12px;
            >div {
                display: flex;
                flex-direction: column;
                gap: 12px;
            }
            >div:empty {
                display: none;
            }
        }
        .search_ex_fields {
            display: flex;
            flex-direction: column;
            gap: 28px;
        }
        .search_ex_fields:empty {
            display: none;
        }
        [style="clear:both"],
        .clear_both {
            display: none;
        }
        .search_price_from-to,
        .djse_type_inputbox_min_max {
            display: flex;
            flex-wrap: wrap;
            gap: 0px 10px;
            .label1,
            .label2 {
                display: block;
                margin-left: 16px;
                font-size: 10px;
                font-weight: 700;
            }
            .label {
                width: 100%;
            }
            >div {
                flex: 1;
                min-width: 60px;
            }
        }
        .se_checkbox {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .djcf_se_row_ch,
        .djcf_se_row_hc,
        .se_checkbox_v {
            display: flex;
            align-items: center;
            gap: 8px;
            .uk-checkbox,
            .form-check-input {
                background-color: transparent;
                border: 1px solid #03081C;
                border-radius: 2px;
                transform: translateY(2px);
                &:checked {
                    background-color: #03081C;
                }
            }
            .label,
            .radio_label {
                margin: 0;
                font-size: 13px;
                font-weight: 500;
            }
        }
        .search_buttons {
            text-align: right;
        }
        /* Accordion */
        .djse_type_checkbox_accordion_c {
            margin-bottom: 10px;
        }
        .djse_type_checkbox_accordion_c .label {
            width: 100%;
            display: block;
            background-image: url(../images/arrow-down.svg);
            background-size: 20px 20px;
            background-position: center right;
            background-repeat: no-repeat;
            box-sizing: border-box;
            cursor: pointer;
        }
        .djse_type_checkbox_accordion_c .label:hover {
            color: #5272ff;
        }
    }
}


/* --------------------------------------------------------------
# 5. Ad Card
-------------------------------------------------------------- */
.dj-ad-card {
    border-radius: 24px;
    &.p_special,
    &.p_bg {
        .uk-card-default {
            background-color: #5272FF;
            .uk-text-small,
            .dj-title {
                color: #fff;
            }
            .uk-text-primary,
            .el-fav {
                color: #FFEA00;
                * {
                    color: #FFEA00;
                }
            }
        }
    }
    &.p_special {
        .uk-card-default {
            background: linear-gradient(73.12deg, #5272FF 10%, #FF00D4 108.57%);
        }
    }
    &.p_border {
        .uk-card-default {
            border-width: 1px 1px 1px 0px;
            border-style: solid;
            border-color: #5272FF;
        }
    }
    .uk-first-column {
        >div {
            height: 100%;
            .el-image {
                height: 100%; 
                border-radius: 24px 0px 0px 24px;
              /*  object-position: left bottom; */
            }
        }
    }
    .dj-title {
        padding-right: 48px;
    }
    .el-fav {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    .uk-card-default {
        border-radius: 0px 24px 24px 0px;
    }
    @media screen and (max-width: 640px) {
        .uk-first-column {
            >div {
                .el-image {
                    aspect-ratio: 2 / 1 !important;
                    border-radius: 16px 16px 0px 0px;
                }
            }
        }
        .dj-title {
            padding-right: 32px;
            font-size: 16px;
        }
        .uk-grid-item-match {
            margin-top: 0 !important;
        }
        .uk-card-default {
            border-radius: 0px 0px 16px 16px;
        }
    }
}

/* --------------------------------------------------------------
# 6. DJ Sort
-------------------------------------------------------------- */
.djsortbox {
    form {
        >div {
            margin-bottom: 0 !important;
            display: flex;
            align-items: center;
            gap: 12px;
            width: fit-content;
            .uk-select {
                font-size: 12px;
                background-color: #E6E9F4;
                border-color: #E6E9F4 !important;
                box-shadow: 0px 1px 2px 0px #1F293714;
            }
        }
    }
}

/* --------------------------------------------------------------
# 7. Favourite Button
-------------------------------------------------------------- */
.fav-button {
    padding: 12px 24px;
    text-decoration: none;
    border: 1px solid #5272ff;
    border-radius: 32px;
    transition: 200ms linear;
    &:hover {
        color: #FFF;
        background-color: #5272ff;
    }
    .uk-icon {
        margin-left: 6px;
    }
}

/* --------------------------------------------------------------
# 8. DJ Ad Gallery
-------------------------------------------------------------- */
.dj-ad-gallery {
    .uk-slideshow-items {
        .el-image {
            border-radius: 24px;
        }
    }
    .uk-thumbnav {
        .uk-object-cover {
            aspect-ratio: 1 / 1 !important;
            border-radius: 8px;
        }
    }
    @media screen and (max-width: 600px) {
        .uk-thumbnav {
            display: none;
        }
    }
}


/* --------------------------------------------------------------
# 8. DJ Ad Gallery
-------------------------------------------------------------- */
.dj-profile-box {
    height: fit-content;
    .djc-profile-box {
        .uk-margin-remove-top {
            .el-title {
                margin-bottom: 24px;
                display: block;
                text-decoration: none;
            }
        }
        .el-meta {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 12px;
            p {
                margin: 0 !important;
            }
            .el-title {
                flex-shrink: 0;
                color: #000000;
                svg {
                    width: 24px;
                    height: 24px;
                }
            }
            .el-content {
                color: #000000;
                span {
                    word-break: break-word;
                }
            }
        }
        #djcf-contact-form {
            form {
                margin: 0 !important;
                .uk-alert-primary {
                    padding: 0 !important;
                    margin: 0 !important;
                }
            }
        }
    }
    form {
        display: flex;
        flex-direction: column;
        gap: 12px;
        label {
            margin-bottom: 4px !important;
            font-size: 12px;
        }
        >div {
            margin: 0 !important;
        }
        [type="text"],
        textarea {
            font-size: 14px;
        }
    }
    [type="submit"] {
        color: #FFFFFF;
        background: linear-gradient(73.12deg, #00DDFF -5.26%, #FF00D4 108.57%);
    }
    [uk-toggle] {
        margin: 0 auto;
        padding: 0;
        display: block;
        width: fit-content !important;
        line-height: 1.2;
        background: linear-gradient(73.12deg, #00DDFF -5.26%, #FF00D4 108.57%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        border-bottom: 1px solid #5272FF;
        border-radius: 0px;
        &:hover {
            color: #03081C;
            background: unset;
            -webkit-background-clip: unset;
            -webkit-text-fill-color: unset;
            border-color: #03081C;
        }
    }
    .uk-button {
        width: 100%;
    }
    @media screen and (min-width: 960px) {
        >div {
            min-width: 360px;
            max-width: 360px;
        }
    }
}

/* --------------------------------------------------------------
# 10. DJ Description
-------------------------------------------------------------- */
.dj-description {
    .uk-list {
        gap: 48px;
    }
    .el-item {
        font-size: 14px;
        >div {
            display: flex;
            gap: 32px;
            >div {
                &:last-of-type {
                    text-align: right;
                    font-weight: 600;
                }
            }
        }
    }
    @media screen and (max-width: 600px) {
        .el-item {
            >div {
                flex-direction: column;
                gap: 0px;
                >div {
                    &:last-of-type {
                        margin: 0 !important;
                        text-align: left;
                    }
                }
            }
        }
    }
}


/* --------------------------------------------------------------
# 11. Small Mobile Cards
-------------------------------------------------------------- */
.small-mobile-cards {
    @media screen and (max-width: 500px) {
        .el-title {
            font-size: 14px;
        }
    }
}