input::-moz-placeholder, textarea::-moz-placeholder {
    color: inherit;
    opacity: 1;
    text-overflow: ellipsis;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: inherit;
    opacity: 1;
    text-overflow: ellipsis;
}
input::-o-placeholder, textarea::-o-placeholder {
    color: inherit;
    opacity: 1;
    text-overflow: ellipsis;
}
input::-ms-placeholder, textarea::-ms-placeholder {
    color: inherit;
    opacity: 1;
    text-overflow: ellipsis;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea, select, .pxl-select-higthlight, .nice-select {
    background-color: #fff;
    color: #666;
    padding: 0px 20px;
    padding-top: 3px;
    line-height: 1.73;
    font-size: 16px;
    font-weight: 400;
    height: 60px;
    @include transition(all 300ms linear 0ms);
    @include box-shadow(none);
    @include border-radius(0);
    width: 100%;
    outline: none;
    border: 1px solid #F6F6F6;
    &:focus {
        outline: 0;
        color: $link_color;
        border-color: $primary_color;
        background-color: unset !important;
    }
}
input[type="range"] {
    padding: 0;
    background-color: transparent;
    height: auto;
    border: none;
}
select {
    height: 60px;
}
textarea {
    padding: 20px 23px;
    height: 166px;
    margin: 0;
    @include border-radius(15px);
}

// Comment Form
//--------------------------------------------------
.comments-area {
    padding-top: 71px;
    @media (max-width: 767px) {
        padding-top: 40px;
    }
    .comment-respond {
        .logged-in-as {
            font-size: 16px;
            color: $link_color;
            margin-bottom: 17px;
            a {
                color: inherit;
                &:hover {
                    color: $primary_color;
                }
                &:nth-child(2) {
                    font-weight: 700;
                    text-decoration: underline;
                }
            }
        }
    }
    .no-comments {
        display: none;
    }
}

.comment-form {
    .container {
        padding: 0;
    }
}

.comment-input {
    position: relative;
    svg {
        position: absolute;
        top: 50%;
        left: 30px;
        transform: translate(0,-50%);
        fill: $link_color;
        path {
            fill: $link_color;
        }
    }
}
.comment-form-comment {
    position: relative;
    svg {
        position: absolute;
        top: 19px;
        left: 20px;
        fill: $link_color;
        path {
            fill: $link_color;
        }
    }
}

.comment-list-wrap {
    border-bottom: 1px solid #d3d5d6;
}

.comment-input, .comment-form-comment {
    width: 100%;
    @include transition(all 0.3s);
    &:hover, &:focus, &:active {
        .comment-text {
            color: $primary_color;
        }
    }
    .comment-text {
        font-size: 14px;
        color: #494949;
        margin-bottom: 8px;
    }
    input {
        height: 50px;
    }
    textarea {
        height: 220px;
        padding-top: 13px !important;
    }
    input, textarea {
        font-family: Almarai;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        color: #{'rgba(var(--link-color-rgb),0.4)'};
        background-color: unset;
        padding: 0;
        border:  1px solid #DEDEDE;
        border-radius: 0;
        padding: 0 41px;
        &:focus {
            border-color: $primary_color;
            color: $link_color;
        }
    }
}
.comment-list {
    padding: 0;
    list-style: none;
    margin-bottom: 40px;
    li {
        padding-top: 15px;
        .children {
            margin-bottom: 0;
            li {
                list-style: none;
                padding-left: 50px;
                @media (max-width: 575px) {
                    padding-left: 20px;
                }
            }
        }
    }
    > li {
        &:first-child {
            border-top: none;
            margin-top: 0;
            padding-top: 0;
        }
        &:last-child {
            margin-bottom: 0;
        }
        > .children > li > .children > li > .children > li > .children {
            padding-left: 0;
            .children {
                padding-left: 0;
            }
        }
    }
    #respond {
        margin-top: 20px;
        margin-bottom: 40px;
        .comment-reply-title {
            font-size: 24px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
    }
}

#respond {
    padding-top: 73px;
}

.comment-image {
    img {
        @include border-radius(78px);
        width: 69px;
        min-width: 69px;
        height: 69px;
        @media #{$max-xs} {
            margin-bottom: 12px;
        }
    }
}

.comment-title {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 500;
    margin-bottom: 5px;
    @include ft_theme_default($ft_theme_default);
    color: $link_color;
    @media #{$max-sm} {
        font-size: 16px;
    }
    a {
        color: inherit;
        &:hover {
            color: inherit;
        }
    }
}

.comment-date {
    font-size: 15px;
    color: #666666;
    display: block;
}
.comment-content {
    @media #{$max-xs} {
        font-size: 16px;
        line-height: 1.625;
    }
    a {
        word-wrap: break-word;
    }
    .comment-text {
        color: inherit;
        font-size: 15px;
        &.pxl-pr-40 {
            @media (max-width: 575px) {
                padding-right: 0;
            }
        }
        p:last-child {
            margin-bottom: 0;
        }
        ol, ul {
            margin-bottom: 32px;
            ul, ol {
                margin-bottom: 0;
            }
        }
        ul li {
            list-style: outside;
        }
        img {
            margin: 6px 0;
        }
    }
}
.comment-reply {
    position: absolute;
    top: 17px;
    right: 0;
    a {
        display: block;
        padding: 0 24px 0 42px;
        font-size: 14px;
        @extend .ft-theme-default;
        border-radius: 0;
        line-height: 36px;
        background-color: $link_color;
        color: #fff; 
        position: relative;
        &:before {
            position: absolute;
            content:url(../img/reply.svg);
            top:0px;
            width: 11px;
            left:23px;
            color: #fff;  
            line-height: 36px;
            font-size: 16px;       
        }
        
        &:hover {
            background-color: $primary_color;
        }
    }
}

.comment-inner {
    position: relative;
}

.comment-content {
    position: relative;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    .post-sg-rating {
        position: absolute;
        top: 0;
        right: 0;
        @media (max-width: 575px) {
            position: relative;
            margin-bottom: 10px;
        }
      .star-rating-post {
        .pxl-star {
            font-size: 15px;
            input {
                display: none;
            }
            i {
            color: gray;
            transition: color 0.3s;
            }

            &.active i {
            color: $primary_color;
            }
        }
      }
    }
}

.comment-holder {
    margin-bottom: 22px;
    align-items: center;
    @media #{$max-xs} {
        display: block;
    }
}

.comment-meta {
    flex-grow: 1;
}

.comment-respond {
    position: relative;
}

.comment-form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    position:relative;
    > .row {
        order: 1;
    }
    .comment-form-comment {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        order: 3;
        margin-top: 20px;
    }
    .comment-form-cookies-consent {
        order: 1;
    }
    .comment-form-author, .comment-form-email {
        order: 2;
    }
    .form-submit {
        order: 4;
        margin-top: 20px;
        margin-bottom: 0;
        button {
            font-size: 0;
            padding: 0;
            width: 50px;
            height: 50px;
            position:absolute;
            bottom: 21px;
            right: 21px;
            display: flex;
            align-items: center;
            justify-content: center;
            @include border-radius(0);
            background-color: $link_color;
            background-image: unset;
            &:before {
                display: none;
            }
            &:after {
                display: none;
            }
            i {
                color: #fff;
                line-height: 50px;
                position:relative;
                z-index: 2;
                font-size: 16px;
            }
            &:hover {
                background-color: $primary_color;
            }
        }
    }
}

.single-post .comment-form {
    input[type="text"], textarea {
        border: 1px solid #dcdddf;
        font-size: 16px;
        color: $link_color;
        border-radius: 0;
        padding-left: 27px;
        background-color: #fff;
        font-family: 'Satoshi', sans-serif;
        letter-spacing: 0;
        padding-top: 0;
        &:focus {
            border-color: $link_color;
        }
    }
    input {
        border-radius: 0 !important;
        height: 60px;
    }
    textarea {
        height: 243px;
        resize: none;
    }
    .row {
        margin: 0 -10px;
        > div {
            margin-top: 20px;
            padding: 0 10px;
        }
    }
}

.comment-form-cookies-consent {
    font-size: 16px;
    line-height: 1.625;
    padding-left: 26px;
    position: relative;
    margin-top: 0px;
    margin-bottom: 15px;
    color: $link_color;
    margin: 15px 10px;
    input, label:before, label:after {
        position: absolute;
        width: 14px;
        height: 14px !important;
        left: 0;
        top: 6px;
        cursor: pointer;
    }
    label {
        cursor: pointer;
        &:before {
            content: '';
            z-index: 1;
            background-color: #e9e9e9;
            border-radius: 0px;
        }
    }
    label:after {
        content: '\f112';
        font-family: "Caseicon";
        font-weight: 400;
        z-index: 2;
        font-size: 8px;
        color: #000;
        opacity: 0;
        line-height: 12px;
        text-align: center;
        top: 5px;
    }
    input {
        z-index: 99;
        opacity: 0;
        margin: 0;
        &:checked + label:after {
            opacity: 1;
        }
    }
}

/* Select Style */
.pxl-select {
    width: 100%;
    position: relative;
    .pxl-select-hidden {
        position: absolute;
        visibility: hidden;
        opacity: 0;
    }
    .pxl-select-options {
        max-height: 282px;
        overflow-y: scroll;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        list-style: none;
        margin: 10px 0 0;
        padding: 12px 18px;
        background-color: #fff;
        z-index: 900;
        font-size: 16px;
        color: #666;
        font-family: inherit;
        box-shadow: 0 3px 65px rgba(0,0,0,0.08);
        @include border-radius(0px);
        @include transition(all .25s cubic-bezier(.645,.045,.355,1));
        opacity: 0;
        margin-top: 30px;
        visibility: hidden;
        border-radius: 0 0 10px 10px;
        li {
            padding: 9px 10px;
            cursor: pointer;
            @include transition(all .25s cubic-bezier(.645,.045,.355,1));
            line-height: normal !important;
            border-radius: 5px;
            &:first-child {
                display: none;
            }
            &:hover {
                color: #0A1320;
                background-color: rgba(#0A1320, 0.04);
            }
        }
    }
    .pxl-select-higthlight {
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        &:before {
            content: "\f150";
            width: 28px;
            height: 28px;
            border-radius: 28px;
            color: #646464;
            line-height: 28px;
            text-align: center;
            font-size: 12px;
            font-family: Caseicon;
            position: absolute;
            top: 50%;
            right: 15px;
            @include transform(translate(0, -50%));
            @include transition(all .25s cubic-bezier(.645,.045,.355,1));
        }
        &.active {
            border-bottom-left-radius: 0px !important;
            border-bottom-right-radius: 0px !important;
            + .pxl-select-options {
                opacity: 1;
                margin-top: 0px;
                visibility: visible;
            }
            &:before {
                transform: translate(0, -50%) scaleY(-1);
            }
        }
    }
}

.pxl-form-date .wpcf7-form-control-wrap, .pxl-form-date .pxl-item-group {
    &:after {
        content: "\f150";
        width: 28px;
        height: 28px;
        border-radius: 28px;
        color: #2D2D2D;
        line-height: 28px;
        text-align: center;
        font-size: 12px;
        font-family: Caseicon;
        position: absolute;
        top: 50%;
        right: 10px;
        @include transform(translate(0, -50%));
        @include transition(all .25s cubic-bezier(.645,.045,.355,1));
        opacity: 0;
        z-index: -1;
    }
}

.nice-select {
    position: relative;
    padding-right: 44px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    border-radius: 0;
    &:before {
        content: "\f150";
        font-family: Caseicon;
        width: 28px;
        height: 28px;
        border-radius: 28px;
        color: #2D2D2D;
        line-height: 28px;
        text-align: center;
        font-size: 12px;
        position: absolute;
        top: 50%;
        right: 10px;
        @include transform(translate(0, -50%));
        @include transition(all .25s cubic-bezier(.645,.045,.355,1));
    }
    ul.list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        list-style: none;
        margin: 30px 0 0;
        padding: 12px 15px;
        background-color: #fff;
        z-index: 101;
        font-size: 16px;
        color: #666;
        font-family: inherit;
        box-shadow: 0 3px 65px rgba(0,0,0,0.08);
        @include border-radius(0px);
        @include transition(all .25s cubic-bezier(.645,.045,.355,1));
        opacity: 0;
        visibility: hidden;
        max-width: 350px;
        max-height: 246px;
        overflow-y: auto;
        li {
            padding: 9px 8px;
            cursor: pointer;
            @include transition(all .25s cubic-bezier(.645,.045,.355,1));
            line-height: normal !important;
            &:hover {
                color: #101010;
                background-color: rgba(#000, 0.04);
            }
        }
    }
    &.open {
        &:before {
            transform: translate(0, -50%) scaleY(-1);
        }
        ul.list {
            opacity: 1;
            margin-top: 0;
            visibility: visible;
        }
    }
}

.comment-reply-title small {
    a {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        line-height: 35px;
        padding: 0 22px;
        background-color: $link_color;
        display: inline-flex;
        margin: 0 12px;
        &:hover {
            background-color: $primary_color;
        }
    }
}

.post-password-form {
    input[type="password"] {
        margin-top: 6px;
    }
    input[type="submit"] {
        margin-top: 10px;
    }
}

/* Select 2 */
.select2 {
    .select2-selection--single {
        border: 1px solid #2d2d2d;
        height: 51px;
        .select2-selection__rendered {
            padding-left: 15px;
            line-height: 51px;
        }
        .select2-selection__arrow {
            right: 8px;
            top: 50%;
            @include transform(translate(0px, -50%));
        }
    }
}

form .select2-container--default {
    width: 100% !important;
    .select2-selection {
        height: 60px;
        background-color: #fff;
        @include border-radius(30px);
        border: none;
        .select2-selection__rendered {
            line-height: 60px;
            padding-left: 22px;
            font-size: 16px;
            color: #646464;
        }
        .select2-selection__arrow {
            right: 20px;
            top: 50%;
            color: #646464;
        }
        .select2-selection__clear {
            height: 20px;
            line-height: 20px;
            position: absolute;
            right: 30px;
            text-align: center;
            top: 50%;
            @include transform(translate(0px, -50%));
            width: 20px;
            color: #5d5d60;
        }
        .select2-selection__placeholder {
            color: inherit;
        }
    }
}
.select2-container.select2-container--open {
    .select2-dropdown {
        border-color: #e7e8e9;
        .select2-search__field {
            border: 1px solid #e7e8e9;
            padding-left: 15px;
            padding-right: 15px;
        }
    }
    .select2-results {
        .select2-results__option {
            font-size: 15px;
        }
        li.select2-results__option--highlighted {
            background-color: $primary_color;
        }
    }
}

/* Date Time */
body .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today {
    color: $primary_color !important;
}
body .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover,
body .xdsoft_datetimepicker .xdsoft_calendar td:hover,
body .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div:hover {
    background: $secondary_color !important;
    @include box-shadow(none !important);
    color: #fff !important;
}
body .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today,
body .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
body .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
body .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current.xdsoft_disabled:hover,
body .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current.xdsoft_disabled:hover
body .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current
body .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current,
body .xdsoft_timepicker .xdsoft_time_variant .xdsoft_current {
    background-color: $primary_color !important;
    @include box-shadow(none !important);
    color: #fff !important;
}
body {
    .xdsoft_datetimepicker {
        font-family: inherit;
        border: none;
        @include box-shadow(0 5px 20px -5px rgba(0,0,0,0.12));
        .xdsoft_calendar {
            th {
                background-color: #f3f3f3;
                color: #444;
            }
            td {
                border-color: #ebebeb;
                height: 30px;
                background-color: #f7f7f7;
                @media #{$min-xl} {
                    height: 36px;
                }
                > div {
                    padding: 0;
                    text-align: center;
                }
            }
        }
        .xdsoft_datepicker {
            width: 230px;
            @media #{$min-xl} {
                width: 305px;
            }
        }
        .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current {
            background-color: $primary_color;
            @include box-shadow(none);
        }
    }
}

.search-no-results {
    #pxl-main {
        min-height: calc(100vh - 308px);
    }
    .pxl-content-wrap.no-sidebar .no-results.not-found {
        max-width: 780px;
        margin: auto;
    }
    .search-form .searchform-wrap {
        position: relative;
        .search-submit {
            padding: 0;
            background-color: transparent;
            width: 50px;
            height: 50px;
            position: absolute;
            top: 50%;
            right: 0;
            transform: translate(0,-50%);
            &:hover {
                color: $primary_color;
            }
        }
    }
}

.pxl-file-upload-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: row-reverse;
    padding-bottom: 10px;
    @media #{$max-sm} {
        display: block;
    }
    .pxl-file-upload-button {
        white-space: nowrap;
        line-height: 52px;
        font-size: 16px;
        color: #fff;
        text-transform: capitalize;
        background: #16232B;
        padding: 0 38px;
        @media #{$max-sm} {
            padding-left: 24px;
            padding-right: 24px;
        }
        &:hover {
            background: #222;
        }
    }
    .pxl-file-upload-input {
        width: auto;
        font-size: 16px;
        color: #0A1320;
        background: none;
        font-weight: 500;
        padding: 0 22px;
        height: 52px;
        @media #{$max-sm} {
            padding: 0;
        }
    }
}