/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

body {
    position: relative;
}

.psj-content {
    margin-top: 50px;
}

.psj-location {
    font-size: 18px;
    color: rgb(90 90 90);
}

.psj-categories {
    font-size: 16px;
    color: #636363;
}

.psj-card-title {
    color: #6eba57;
    font-size: 18px;
    font-weight: 500;
}

.psj-archive-post {
    background: #FFFFFF;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .10);
    border: 1px solid #ffffff;
    margin-bottom: 20px;
    min-height: 92px;
    transition: .3s;
}

.psj-archive-post:hover {
    transition: .3s;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .25);
    background: #636363;
    color: #FFFFFF;
    border: 1px solid #636363;
}

.psj-archive-post a:focus {
    background: none !important;
}

.psj-archive-post:hover span,  .psj-related-post:hover span{
    color: #FFFFFF;
}

.psj-archive-post a {
    text-decoration: none !important;
    display: flex;
    padding: 15px 5px;
    width: 100%;
    margin: 0;
}

.psj-archive-post a span {
    display: block;
}

.psj-filters-title, .psj-filters-subtitle, .psj-posts-title {
    font-weight: 500;
    margin-bottom: 20px;
}

.psj-filters-title {
    font-size: 16px;
    font-weight: bold;
    color: #252728;
}

.psj-posts-title {
    font-size: 20px;
    color: #6eba57;
    font-weight: bold;
}


.psj-filters-subtitle {
    font-size: 16px;
}

.psjtext-container {
    display: flex;
    margin-bottom: 20px;
}

#psjtext {
    border: 1px solid #252728;
    background: #fff;
    color: #3d464d;
    padding: 5px 10px;
    font-size: 15px;
    width: 75%;
    margin: 0;
    outline: none;
}

.psjtext-container span {
    width: 25%;
    border: none;
    font-size: 14px;
    background-color: #252728;
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.psjtext-container span:hover {
    background-color: #636363;
}

.psjcategory-container input[type=checkbox] {
    border: 1px solid #252728;
    width: 20px;
    height: 20px;
    background: #ffffff;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.psjcategory-container input[type=checkbox]:after {
    content: "";
    opacity: 0;
    display: block;
    left: 6px;
    top: 3px;
    position: absolute;
    width: 6px;
    height: 10px;
    border: 2px solid #252728;
    border-top: 0;
    border-left: 0;
    transform: rotate(30deg);
}

.psjcategory-container input[type=checkbox]:checked:after {
    opacity: 1;
}

.psj-archive-sidebar {
    /*width: 25%;*/
    margin-bottom: 40px;
}

.psjcategory-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.psj-archive-sidebar .psjcategory-container label {
    color: #636363 !important;
    font-size: 15px !important;
    cursor: pointer;
    font-weight: 400;
    margin: 0 !important;
}

/*.psj-archive-posts {
    width: 75%;
}*/

.psj-pagination {
    display: flex;
    justify-content: end;
}

.psj-pagination > div {
    border: 1px solid #252728;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    margin-right: 5px;
    line-height: 33px;
    font-size: 18px;
    cursor: pointer;
    color: #252728;
    transition: .3s;
}

.psj-pagination > div.active, .psj-pagination > div:hover {
    color: #ffff;
    background-color: #252728;
    transition: .3s;
}

#psj-filters .select2-container--default .select2-selection--multiple,
#psj-filters .select2-container--default.select2-container--focus .select2-selection--multiple{
    border: 1px solid #252728;
    border-radius: 0;
    padding-right: 10px;
}

#psj-filters .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ffffff;
    color: #252728;
    border-color: #252728;
}

#psj-filters .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: #636363 !important;
    color: #ffffff;
    border-radius: 0;
}

.select2-container--default .psj-select2 .select2-results__option--highlighted.select2-results__option--selectable,
#psj-filters .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    background-color: #252728 !important;
    border-color: #252728;
    border-radius: 0;
    height: 100%;
}

#psj-filters .select2-container .select2-search--inline .select2-search__field {
    height: 25px;
    font-family: 'Poppins', Open Sans,Arial,sans-serif;
    margin-left: 10px;
    font-size: 15px;
}

.select2-container--open .psj-select2 .select2-dropdown--below {
    border-radius: 0;
}

#psj-filters .select2-container {
    width: 100% !important;
}

.psj-clear-filters {
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
}

/** SINGLE **/
.psj-post-back {
    margin-bottom: 30px;
}

.psj-post-back > a {
    text-decoration: none !important;
    background: none !important;
    outline: none !important;
}


.psj-post-back > a > span {
    display:inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: #252728 !important;
}

.psj-post-back > a > span:hover .psj-post-back-arrow {
    background: #252728;
    color: #ffffff;
    transition: .3s;
}

.psj-post-back-arrow {
    margin-right: 8px;
    border: 1px solid #252728;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 33px;
    font-size: 18px;
    color: #252728;
    transition: .3s;
}

.psj-related-posts {
    display: flex;
    margin-top: 50px;
    flex-wrap: wrap;
}

.psj-related-post {
    margin-bottom: 20px;
}

.psj-related-post a {
    background: #FFFFFF;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .10);
    min-height: 92px;
    border: 1px solid #ffffff;
    transition: .3s;
    color: #252728;
}

.psj-related-post a:hover {
    transition: .3s;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .25);
    background: #252728 !important;
    color: #FFFFFF;
    border: 1px solid #252728;
}

.psj-related-post a {
    text-decoration: none !important;
    display: flex;
    padding: 15px;
    height: 100%;
}

.psj-related-post a span {
    display: block;
}

.psj-related-posts .psj-posts-title {
    display: block;
    width: 100%;
}

.psj-apply-btn {
    border: 2px solid #6eba57;
    background: #6eba57 !important;
    color: #ffffff !important;
    padding: 8px 10px;
    font-size: 14px;
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 30px auto 0;
    transition: .2s;
    outline: none !important;
}

.psj-apply-btn:hover {
    color: #ffffff !important;
    background: #548e42  !important;
    border-color: #548e42;
    transition: .2s;
}

.psj-apply-modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.psj-d-none {
    display: none;
}

.psj-apply-form {
    max-width: 500px;
    min-width: 400px;
    display: block;
    margin: .5rem auto;
    background: #ffffff;
    border-radius: 5px;
}

.psj-apply-modal:not(.psj-d-none) .psj-apply-form {
    animation-name: psjFadeIn;
    animation-duration: 1s;
    transition-timing-function: linear;
}

.psj-apply-form-body {
    padding: 2rem;
    position: relative;
}

.psj-apply-form-group {
    margin-bottom: 1rem;
    font-size: 16px;
}

.psj-apply-form-group input[type=text] {
    border: 1px solid #252728;
    background: #fff;
    color: #3d464d;
    padding: 5px 10px;
    font-size: 16px;
    margin: 0;
    outline: none !important;
    width: 100%;
}

.psj-apply-form-footer {
    display: flex;
    justify-content: center;
    margin: 30px auto 0;
}

.psj-apply-form-footer button.psj-submit, .psj-apply-form-footer button.psj-cancel {
    border: 2px solid #6eba57;
    padding: 5px 30px;
    font-size: 15px;
    margin: 0 10px;
    transition: .3s;
    outline: none !important;
    font-weight: normal;
}

.psj-apply-form-footer button.psj-submit {
    background: #6eba57 !important;
    color: #ffffff !important;
}

.psj-apply-form-footer button.psj-cancel {
    border: 2px solid #ffffff;
    color: #252728;
}

.psj-apply-form-footer button.psj-cancel:hover {
    background: #53b128 !important;
    border: 2px solid #53b128 !important;
    color: #ffffff !important;
    transition: .3s;
}

.psj-apply-form-footer button.psj-submit:hover {
    background: #53b128 !important;
    border-color: #53b128;
}

.psj-apply-form-footer button.psj-cancel {
    background: transparent !important;
    color: #252728 !important;
}

.psj-apply-form-header {
    background: #53b128;
    padding: 30px;
}

.psj-apply-form-header div {
    color: #ffffff;
    font-size: 18px;
    width: 100%;
    text-align: center;
}

.psj-posts-title--single {
    color: #6eba57;
    font-size: 25px;
}

.psj-apply-btn--top {
    margin-top: 10px;
    margin-left: 0;
    max-width: 155px;
    padding: 5px 10px;
}

.psj-pagination-first, .psj-pagination-last {
    letter-spacing: -3px;
}

.psj-results-container {
    color: #252728;
    margin-top: 15px;
    font-size: 14px;
}

.psj-archive {
    font-family: 'Poppins', Open Sans,Arial,sans-serif;
}

.psj-posts-title--filters-title, .psj-results-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.psj-results-container span {
    color: #252728;
    font-size: 14px;
}

.mt-200 {
    margin-top: 200px !important;
}

@keyframes psjFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}




/**    Grid     **/
.psj-archive .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
}

.psj-post .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.psj-archive .col-md-3, .psj-archive .col-md-9, .psj-archive .col-12, .psj-archive .col-md-4,
.psj-related-post.col-md-4 {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.psj-related-posts .container {
    width: 100%;
}


@media (min-width: 768px) {
    .psj-archive .col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .psj-archive .col-md-9 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }
    .psj-archive .col-md-4, .psj-related-post.col-md-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }
}