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;
    border: 1px solid rgba(#000, 0.15);
    color: $dark_color;
    padding: 6px 22px;
    line-height: 1.73;
    font-size: 16px;
    font-weight: 400;
    height: 60px;
    @include transition(all .25s cubic-bezier(.645,.045,.355,1));
    @include box-shadow(none);
    @include border-radius(0px);
    width: 100%;
    outline: none;
    font-family: inherit;
    &:focus {
        outline: 0;
        border-color: $primary_color;
        color: #383838;
    }
}
input[type="range"] {
    padding: 0;
    background-color: transparent;
    height: auto;
    border: none;
}
select {
    height: 60px;
}
textarea {
    padding-top: 18px;
    padding-bottom: 18px;
    height: 153px;
    margin: 0;
}

// Comment Form
//--------------------------------------------------
.comments-area {
    .comment-respond {
        .logged-in-as {
            font-size: 15px;
            a {
                color: inherit;
                &:hover {
                    color: $primary_color;
                }
                &:nth-child(2) {
                    font-weight: 700;
                    text-decoration: underline;
                }
            }
        }
    }
    .no-comments {
        display: none;
    }
}
.comment-list {
    padding: 0;
    list-style: none;
    padding-bottom: 29px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(#000, 0.1);
    li {
        border-top: 1px solid rgba(#000, 0.1);
        margin-top: 24px;
        padding-top: 30px;
        .children {
            li {
                list-style: none;
                padding-left: 60px;
                @media #{$max-lg} {
                    padding-left: 0;
                }
            }
        }
    }
    > 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: 28px;
        margin-bottom: 40px;
        .comment-reply-title {
            font-size: 24px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
    }
}

.comment-image {
    width: 78px;
    min-width: 78px;
    img {
        @include border-radius(78px);
    }
    @media #{$max-xs} {
        margin-bottom: 12px;
    }
}

.comment-title {
    font-size: 18px;
    text-transform: capitalize;
    margin-top: 6px;
    margin-bottom: 0;
    a {
        color: inherit;
        &:hover {
            color: inherit;
        }
    }
}

.comment-date {
    font-size: 14px;
    color: $dark_color;
}
.comment-content {
    @media #{$max-xs} {
        font-size: 16px;
        line-height: 1.625;
    }
    a {
        word-wrap: break-word;
    }
    .comment-text {
        color: inherit;
        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 {
    a {
        font-size: 14px;
        color: $dark_color;
        &:hover {
            color: $primary_color;
        }
    }
}

.comment-inner {
    display: flex;
    flex-wrap: nowrap;
    @media #{$max-xs} {
        display: block;
    }
}

.comment-holder {
    margin-bottom: 8px;
    @media #{$max-xs} {
        display: block;
    }
}

.comment-meta {
    flex-grow: 1;
}

.comment-form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    > .row {
        order: 1;
    }
    .comment-form-comment {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        order: 2;
        margin-top: 20px;
    }
    .comment-form-cookies-consent {
        order: 3;
    }
    .form-submit {
        order: 4;
        margin-top: 20px;
        margin-bottom: 0;
    }
}
.single-post .comment-form {
    input[type="text"], textarea {
        border-color: #fff;
        &:focus {
            border-color: $primary_color;
        }
    }
    .row {
        margin: 0 -10px;
        > div {
            margin-top: 20px;
            padding: 0 10px;
        }
    }
}

.comment-form-cookies-consent {
    font-size: 15px;
    line-height: 1.73;
    padding-left: 32px;
    position: relative;
    margin-top: 15px;
    margin-bottom: 0px;
    color: #222;
    input, label:before, label:after {
        position: absolute;
        width: 20px;
        height: 20px;
        left: 0;
        top: 3px;
        cursor: pointer;
    }
    label {
        cursor: pointer;
        &:before {
            content: '';
            z-index: 1;
            background-color: rgba(0,0,0,0.05);
        }
    }
    label:after {
        content: '\f112';
        font-family: "Caseicon";
        font-weight: 400;
        z-index: 2;
        font-size: 10px;
        color: #000;
        opacity: 0;
        line-height: 12px;
        text-align: center;
        top: 8px;
    }
    input {
        z-index: 99;
        opacity: 0;
        &:checked + label:after {
            opacity: 1;
        }
    }
}

#respond {
    padding: 36px 40px 40px 40px;
    background-color: rgba(#000000, 0.05);
    @media #{$max-lg} {
        padding-left: 30px;
        padding-right: 30px;
    }
    @media #{$max-sm} {
        padding: 20px;
    }
}

/* 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;
        li {
            padding: 9px 8px;
            cursor: pointer;
            @include transition(all .25s cubic-bezier(.645,.045,.355,1));
            line-height: normal !important;
            &:hover {
                color: $primary_color;
            }
        }
    }
    .pxl-select-higthlight {
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        &:before {
            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));
        }
        &.active {
            + .pxl-select-options {
                opacity: 1;
                margin-top: 10px;
                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));
    }
}

.nice-select {
    position: relative;
    padding-right: 44px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    &: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: 16px;
        font-weight: 500;
        color: $secondary_color;
        line-height: 36px;
        padding: 0 22px;
        clip-path: polygon(0% 0px, 12px 0%, calc(100% - 12px) 0%, 100% 12px, calc(100% - 0px) 100%, 12px 100%, 0% calc(100% - 12px));
        background-color: $primary_color;
        display: inline-flex;
        font-family: 'Roboto', sans-serif;
        margin: 0 12px;
    }
}

.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 {
        border: 1px solid rgba(0, 0, 0, 0.15);
        height: 60px;
        background-color: #fff;
        @include border-radius(0px);
        .select2-selection__rendered {
            line-height: 60px;
            padding-left: 22px;
            font-size: 16px;
            color: $dark_color;
        }
        .select2-selection__arrow {
            right: 10px;
            top: 50%;
            color: #5d5d60;
        }
        .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: 0;
            right: 0;
            &:hover {
                color: $primary_color;
            }
        }
    }
}