/* Global / Shared  */
.ardent_content_wrapper .defaultWidgetSettings {
    height: 50px;
    display: none;
    overflow: auto;
}
.ardent_content_wrapper .advanced-posts-pagination .next-link, .ardent_content_wrapper .advanced-posts-pagination .prev-link {
    color: #fff;
    background-color: #000;
}
.ardent_content_wrapper .advanced-posts-pagination {
    margin-top: 50px !important;
    margin-bottom: 40px !important;
    padding-top: 20px !important;
    border-top: 1px solid !important;
}
.ardent_content_wrapper .advanced-posts-pagination a:last-child {
    margin-right: 0px !important;
}
.ardent_content_wrapper .advanced-posts-pagination span {
    margin-right: 10px !important;
    color: #fff;
    background-color: #000;
    padding: 5px 10px !important;
    margin-right: 10px !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
}
.ardent_content_wrapper .advanced-posts-pagination a {
    color: #000;
    padding: 5px 10px !important;
    margin-right: 10px !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
}
.ardent_content_wrapper .post-list-wrapper .loader {
    background: rgba(246, 246, 246, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    text-align: center;
}
.ardent_content_wrapper .post-list-wrapper .loader:before {
    content: '';
    background: rgba(246, 246, 246, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    height: 100%;
}
.ardent_content_wrapper .post-list-wrapper .loader:after {
    content: "\f021";
    color: #000;
    font-size: 24px;
    font-family: FontAwesome;
    position: absolute;
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    position: absolute;
    top: 50px;
}
.post-data.loading, 
.ardent_content_wrapper .post-list.loading {
    position: relative;
}
.post-data.loading:before, 
.ardent_content_wrapper .post-list.loading:before {
    content: '';
    background: rgba(246, 246, 246, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    height: 100%;
}
.post-data.loading:after, 
.ardent_content_wrapper .post-list.loading:after {
    content: "\f021";
    color: #000;
    font-size: 24px;
    font-family: FontAwesome;
    position: absolute;
    z-index: 101;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 100px;
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}

.ardent_content_wrapper .post-list .single-post .excerpt {
    margin: 25px 0;
}

/*Advanced Posts Layout One*/
.ardent_content_wrapper.layout-one .advanced_clear_filter {
    cursor: pointer;
}
.ardent_content_wrapper.layout-one .search {
    display: flex;
    width: 100%;
    margin: 0 auto;
    overflow: auto;
}
.ardent_content_wrapper.layout-one .search input[type="search"] {
    margin-right: 5px;
    height: auto !important;
}
.ardent_content_wrapper.layout-one .search input[type="submit"] {
    vertical-align: top;
    color: inherit;
    border-color: inherit;
    background-color: transparent;
    border: 2px solid;
    flex: 1 0 90px;
}
/* Add as setting? */
.ardent_content_wrapper.layout-one .search input[type="submit"]:hover {
    color: inherit;
    background-color: inherit;
}
.ardent_content_wrapper.layout-one .search input[type="search"] {
    -webkit-appearance: none;
    height: 56px;
}
.ardent_content_wrapper.layout-one form.search {
    margin-bottom: 40px;
    margin-top: 30px;
}
.ardent_content_wrapper.layout-one .clear_search {
    color: #636363;
    font-family: Open Sans;
    font-weight: 600;
}
.ardent_content_wrapper.layout-one .col-md-3, .ardent_content_wrapper .col-md-9 {
    float: left;
    position: relative;
    padding: 0px 15px;
}
.ardent_content_wrapper.layout-one .col-md-3 {
    width: 25%;
}
.ardent_content_wrapper.layout-one .col-md-9 {
    width: 75%;
}

.ardent_content_wrapper.layout-one .advanced-posts-filter {
    margin-bottom: 25px;
}

.ardent_content_wrapper.layout-one .advanced-posts-filter h4 {
    margin-bottom: 0px;
}

.ardent_content_wrapper.layout-one .advanced-posts-filter:last-child {
    margin-bottom: 0px;
}
.ardent_content_wrapper.layout-one .advanced-posts-filter .filter_wrapper {
    list-style: none;
    overflow: auto;
    margin-left: 0px;
    max-height: 250px;
    padding-left: 10px;
    margin-bottom: 25px;
}
.ardent_content_wrapper.layout-one .advanced-posts-filter .filter_container {
    position: relative;
    margin-bottom: 5px;
}
.ardent_content_wrapper.layout-one .advanced-posts-filter .filter_container label {
    display: block;
    color: #636363;
    padding: 9px 15px;
    padding-left: 10px;
    padding-right: 27px;
    position: relative;
    background-color: transparent;
    -webkit-transition: background-color 0.3s, opacity 0.3s;
    transition: background-color 0.3s, opacity 0.3s;
    cursor:pointer;
    opacity:.8;
}
.ardent_content_wrapper.layout-one .advanced-posts-filter .filter_container label:hover{
    opacity:1;
}
.ardent_content_wrapper.layout-one .advanced-posts-filter .filter_container input {
    display: none;
}
.ardent_content_wrapper.layout-one .advanced-posts-filter .filter_container input[type="checkbox"]:checked+label {
    color: #000;
    background-color: #eee;
}
.ardent_content_wrapper.layout-one .advanced-posts-filter .filter_container span {
    position: absolute;
    right: 10px;
}
.ardent_content_wrapper.layout-one .post-list {
    padding-left: 15px;
}
.ardent_content_wrapper.layout-one .post-list .single-post {
    display: block;
    margin: 15px 0px;
}
.ardent_content_wrapper.layout-one .post-list .single-post a {
    display: block;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
}
.ardent_content_wrapper.layout-one .post-list .single-post a:hover {
    background-color: rgba(0,0,0,0.1);
}
.ardent_content_wrapper.layout-one .post-list .single-post .post-thumbnail {
   width: 33%;
   display: inline-block;
   vertical-align: middle;
}
.ardent_content_wrapper.layout-one .post-list .single-post .post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: inline-block;
   vertical-align: middle;
}
.ardent_content_wrapper.layout-one .post-list .single-post .post-text {
    width: 65%;
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
}
.ardent_content_wrapper.layout-one .post-list .single-post .post-text p {
    padding-bottom: 0px;
}
.post-data .row {
    overflow: auto;
}
.ardent_content_wrapper.layout-one .post-data .row::after {
    content: "";
    clear: both;
    display: table;
}
.ardent_content_wrapper.layout-one .post-list.custom-columns-1 .single-post{
    width:100%;
    display:block;
    margin:0;
}
.ardent_content_wrapper.layout-one .post-list.custom-columns-2 .single-post,
.ardent_content_wrapper.layout-one .post-list.custom-columns-3 .single-post,
.ardent_content_wrapper.layout-one .post-list.custom-columns-4 .single-post,
.ardent_content_wrapper.layout-one .post-list.custom-columns-5 .single-post{
    display:inline-block;
    margin:0;
}
.ardent_content_wrapper.layout-one .post-list.custom-columns-2 .single-post{
    width: calc(50% - 2px);
}
.ardent_content_wrapper.layout-one .post-list.custom-columns-3 .single-post{
    width: calc(33.3% - 2px);
}
.ardent_content_wrapper.layout-one .post-list.custom-columns-4 .single-post{
    width: calc(25% - 2px);
}
.ardent_content_wrapper.layout-one .post-list.custom-columns-5 .single-post{
    width: calc(20% - 2px);
}

body[data-elementor-device-mode="mobile"] .ardent_content_wrapper.layout-one .post-list.custom-columns-1 .single-post,
body[data-elementor-device-mode="mobile"] .ardent_content_wrapper.layout-one .post-list.custom-columns-2 .single-post,
body[data-elementor-device-mode="mobile"] .ardent_content_wrapper.layout-one .post-list.custom-columns-3 .single-post,
body[data-elementor-device-mode="mobile"] .ardent_content_wrapper.layout-one .post-list.custom-columns-4 .single-post,
body[data-elementor-device-mode="mobile"] .ardent_content_wrapper.layout-one .post-list.custom-columns-5 .single-post{
    width:100%;
    display:block;
}

@media (max-width: 1000px) {
    .ardent_content_wrapper.layout-one .col-md-9 {
        width: 60%;
    }
    .ardent_content_wrapper.layout-one .post-list .single-post .post-thumbnail {
        width: 40%;
    }
    .ardent_content_wrapper.layout-one .post-list .single-post .post-text {
        width: 58%;
    }
    .ardent_content_wrapper.layout-one .post-list .single-post .post-text h4 {
        line-height: 1.1;
        font-size: 18px;
    }
    .ardent_content_wrapper.layout-one .post-list .single-post .post-text p {
        font-size: 14px;
        line-height: 1.1;
    }
}

@media (max-width: 690px) {
    .ardent_content_wrapper.layout-one .col-md-9 {
        width: 100%;
    }
    .ardent_content_wrapper.layout-one .col-md-9 {
        padding: 0px;
    }
    .ardent_content_wrapper.layout-one .col-md-3 {
        display: none;
    }

    .ardent_content_wrapper.layout-one .post-list {
        padding-left: 0px;
    }
}

@media (max-width: 500px) {
    .ardent_content_wrapper.layout-one .post-list .single-post .post-text, 
    .ardent_content_wrapper.layout-one .post-list .single-post .post-thumbnail {
        display: block;
        width: 100%;
    }
}

/*Advanced Posts Layout Two*/

.ardent_content_wrapper.layout-two .advanced-posts-filter {
    display: flex;
    gap: 10px;
}
.ardent_content_wrapper.layout-two .advanced-posts-filter .filter_wrapper {
    flex: auto;
}
.ardent_content_wrapper.layout-two .advanced-posts-filter .filter_wrapper .filter_container input {
    display: none;
}
.ardent_content_wrapper.layout-two .advanced-posts-filter .filter_wrapper .filter_container label {
    padding: 0.5em 1em;
    width: 100%;
    cursor: pointer;
}
.ardent_content_wrapper.layout-two .advanced-posts-filter .filter_wrapper .advanced-filter-selection {
    color: #333333;
    background: #F2F2F2;
    font-family: "Lato", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.25em !important;
    padding: 0.8rem 1rem;
    cursor: pointer;
}
.ardent_content_wrapper.layout-two .advanced-posts-filter .filter_wrapper .advanced-filter-selection i {
    float: right;
}
.ardent_content_wrapper.layout-two .advanced-posts-filter .filter_wrapper .checkboxes-wrap {
    position: relative;
}
.ardent_content_wrapper.layout-two .tax-dropdown-filter {
    color: #333333;
    background: #F2F2F2;
    font-family: "Lato", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.25em !important;
    padding: 0.8rem 1rem;
    cursor:pointer;
}
.ardent_content_wrapper.layout-two .tax-dropdown-filter i {
    float:right;
}
.ardent_content_wrapper.layout-two .tax-dropdown-filter.open i {
    transform:rotate(180deg);
}
.ardent_content_wrapper.layout-two .advanced-posts-filter .filter_wrapper .tax-checkboxes-filter {
    position: absolute;
    display: none;
    background: gray;
    color: #fff;
    overflow: hidden auto;
    width: -webkit-fill-available;
    max-height: 300px !important;
    z-index: 10;
}
.ardent_content_wrapper.layout-two .search {
    margin-top: 25px;
}
.ardent_content_wrapper.layout-two form,
.ardent_content_wrapper.layout-two .search .reset {
    display: inline;
}
.ardent_content_wrapper.layout-two .search .search_form input[type="search"] {
    width: 45%;
    display: inline;
    margin-right: 15px;
}
.ardent_content_wrapper.layout-two .search .search_form input[type="submit"] {
    display: inline;
}
.ardent_content_wrapper.layout-two .search .reset {
    cursor: pointer;
    margin-left: 10px;
    display: none;
}
.ardent_content_wrapper.layout-two .search .reset.show {
    display: inline;
}
.ardent_content_wrapper.layout-two .search .reset span {
    font-size: 0.9em;
    text-transform: uppercase;
    line-height: 1.25em;
    letter-spacing: 2px;
    background-color: #61963000;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-radius: 100px 100px 100px 100px;
    padding: 8px 25px;
}
.ardent_content_wrapper.layout-two .selected-filters {
    margin-top: 25px;
}
.ardent_content_wrapper.layout-two .selected-filter{
    font-size: 12px;
    padding: 3px 25px 3px 10px;
    display: inline-block;
    border: 2px solid black;
    border-radius: 20px;
    text-align: left;
    cursor: pointer;
    position:relative;
    margin-right:7px;
    margin-bottom:7px;
}
.ardent_content_wrapper.layout-two .selected-filter:after{
    content: 'x';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: #777;
    color: white;
    text-align: center;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    line-height: 20px;
}
.ardent_content_wrapper.layout-two .post-list-wrapper {
    margin-top: 25px;
    position: relative;
}
.ardent_content_wrapper.layout-two .post-list-wrapper .post-list {
    grid-template-columns: repeat(4, 1fr);
    display: grid;
    gap: 10px;
}
.ardent_content_wrapper.layout-two .post-list-wrapper .post-list.post-list.custom-columns-1 {
    grid-template-columns: repeat(1, 1fr);
}
.ardent_content_wrapper.layout-two .post-list-wrapper .post-list.post-list.custom-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}
.ardent_content_wrapper.layout-two .post-list-wrapper .post-list.post-list.custom-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
.ardent_content_wrapper.layout-two .post-list-wrapper .post-list.post-list.custom-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}
.ardent_content_wrapper.layout-two .post-list-wrapper .post-list.post-list.custom-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}
.ardent_content_wrapper.layout-two .post-list-wrapper .post-list .single-post {
    background: #F7F7F7;
}
.ardent_content_wrapper.layout-two .post-list-wrapper .post-list .single-post .post-thumbnail img {
    display: block;
}
.ardent_content_wrapper.layout-two .post-list-wrapper .post-list .single-post .post-text {
    padding: 0 10px;
}
@media only screen and (max-width: 1000px) {
    .ardent_content_wrapper.layout-two .post-list-wrapper .post-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 679px) {
    .ardent_content_wrapper.layout-two .advanced-posts-filter { 
        flex-direction: column;
    }
    .ardent_content_wrapper.layout-two .post-list-wrapper .post-list {
        grid-template-columns: auto;
        gap: 0;
    }
    .ardent_content_wrapper.layout-two .search .search_form input[type="search"],
    .ardent_content_wrapper.layout-two .search .search_form input[type="submit"] {
        width: 100%;
        display: block;
        margin-right: 0;
    }
    .ardent_content_wrapper.layout-two .search .search_form input[type="submit"] {
        margin-top: 15px;
    }
    .ardent_content_wrapper.layout-two .search .reset {
        margin-left: 0;
    }
    .ardent_content_wrapper.layout-two form,
    .ardent_content_wrapper.layout-two .search .reset {
        display: block;
    }
    .ardent_content_wrapper.layout-two .search .reset span {
        display: block;
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }
    .ardent_content_wrapper.layout-two .post-list-wrapper .post-list .single-post {
        margin-bottom: 15px;
    }
}