/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
body {
    position: relative;
}

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

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

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

.gj-card-title {
    color: #008037;
    font-size: 18px;
    font-weight: 500;
}

.gj-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;
}

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

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

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

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

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

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

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

.gj-posts-title {
    font-size: 20px;
    color: #008037;
    font-weight: bold;
}


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#gj-filters .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ffffff;
    color: #636363;
    border-color: #636363;
    font-size: 15px;
}

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

.select2-container--default .gj-select2 {
    font-size: 15px;
}

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


#gj-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 .select2-dropdown--below {
    border-radius: 0;
}

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

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

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

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


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

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

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

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

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

.gj-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: #636363;
}

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

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

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

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

.gj-apply-btn {
    border: 2px solid #008037;
    background: #008037 !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;
}

.gj-apply-btn:hover {
    color: #ffffff !important;
    background: #636363 !important;
    border-color: #636363;
    transition: .2s;
}

.gj-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);
}

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

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

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

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

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

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

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

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

.gj-apply-form-footer button.gj-submit {
    background: #008037 !important;
    color: #ffffff !important;
}

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

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

.gj-apply-form-footer button.gj-submit:hover {
    background: #636363 !important;
    border-color: #636363;
}

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

.gj-apply-form-header {
    background: #008037;
    padding: 30px;
}

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

.gj-posts-title--single {
    color: #636363;
    font-size: 25px;
}

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

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

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

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

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

.gj-results-container span {
    color: #636363;
    font-size: 14px;
}

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


/**    Grid     **/
.gj-archive.container, .gj-post.container {
    width: 80%;
    max-width: 1080px;
    margin: auto;
}
.gj-archive .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
}

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

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

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

.gj-related-posts .container > .row {
    margin-left: -15px;
    margin-right: -15px;
}


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

