/*!
Theme Name: HJA
Author: Reality House & Nordic Creative
Author URI: https://www.realityhouse.co.uk/
Description: Hodge Jones & Allen
Version: 1.0.0
Text Domain: HJA
Tags: nordiccreative

*/




#wpadminbar {
	/*display: block !important;*/
}

.placeholder2 {
    padding-top: 127px;
}

.about__video-module {
    padding-top: 127px;
}

.about__video-module .video-module__video-play {
    top: 127px;
}

.about__video-module_tjl { background-position: center; background-repeat: no-repeat; background-size: cover; }

/* Alignments */
.text-style-1--advanced img.alignleft {
	float: left;
    margin-right: 42px;
    margin-top: 7px;
}

.text-style-1--advanced img.alignright {
  	float: right;
  	margin-left: 42px;
  	margin-top: 7px;
}

@media only screen and (max-width: 767px) {
	.text-style-1--advanced img.alignleft,
	.text-style-1--advanced img.alignright {
	  	float: none;
	  	margin-left: auto;
	  	margin-right: auto;
	}
}

.text-style-1--advanced img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.text-style-1--advanced hr {
    margin-top: 50px;
    margin-bottom: 50px;
    border-top: 1px solid #2c2a29;
}

.hero__form__select {
    background: transparent;
    height: 50px;
    font-size: 20px;
    border: 0;
    border-bottom: 1px solid #442341;
}

span.hero-listing__grid-item-placeholder-img {
    display: block;
    margin-bottom: 21px;
    width: 100%;
    height: 300px;
    background: #808080;
}

strong a {
    font-weight: bold !important;
}

.hja-pagination .page-link:focus {
    box-shadow: none !important;
}

.hja-pagination .page-link {
    color: #442341;
    border-radius: 50%;
    border: none !important;
    background-color: #0000 !important;
    margin-left: 0;
    width: 34px;
    height: 34px;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hja-pagination .page-link:hover {
    color: #78D5E1;
}

.hja-pagination span.page-link.current {
    background-color: #78D5E1 !important;
    border-radius: 50%;
    color: #fff;
}

/*.hja-pagination .page-item:first-child .page-link:not(.current),
.hja-pagination .page-item:last-child .page-link:not(.current) {
    padding-bottom: .6rem;
    padding-top: .4rem;
}*/

body.page-template-template-expert-comments .header {
    background-color: #fff;
}

.opinions-sec__profile-img {
    object-fit: cover;
}

.hero__form__label--file {
    min-height: 21px;
    margin-bottom: 7px;
}

.wpcf7-list-item {
    margin-left: 0;
}

.wpcf7-acceptance label {
    padding-left: 35px;
    position: relative;
}

.wpcf7-acceptance label:before {
    content: "";
    width: 20px;
    height: 20px;
    left: 9px;
    top: 3px;
    border: 1px solid #fff;
    display: inline-block;
    position: absolute;
    cursor: pointer;
}

.page-template-template-help-service label:before,
.page-embed-form .wpcf7-acceptance label:before,
.justice-service .call-back .wpcf7-acceptance label:before {
    border-color: #442341;
}

.page-embed-form .wpcf7-acceptance label:before,
.call-back .wpcf7-acceptance label:before {
    left: 0;
}

.page-embed-form .wpcf7-acceptance label:after,
.call-back .wpcf7-acceptance label:after {
    left: 5px;
}

body.page-template-template-service-3 .wpcf7-acceptance label:after,
body.page-template-template-service-php .wpcf7-acceptance label:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E");
}

.page-embed-form .hero__form-check-text {
    max-width: 100%;
    font-size: 12px;
}

.page-embed-form .hero__form-check-text a {
    font: normal 12px/2 "Arial", sans-serif;
}

.page-embed-form  .hero__form__input-wrap {
    max-width: calc(50% - 32px);
}

.page-embed-form .hero__form__input-wrap.hero__form__textarea-wrap {
    max-width: 100%;
    width: 100%;
}

.hero__form__input-wrap .bootstrap-select,
.hero__form__input-wrap .wpcf7-form-control-wrap,
.hero__form__input-wrap .bootstrap-select {
    width: 100%;
}

.page-embed-form .call-back__form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.page-embed-form .hero__form__input:focus, 
.page-embed-form .hero__form__textarea:focus,
.page-embed-form .hero__form__input:focus + .hero__form__label, 
.page-embed-form .hero__form__textarea:focus + .hero__form__label {
    color: #442341;
    border-color: #442341;
}

.page-embed-form .hero__form__input-wrap {
    margin-bottom: 24px;
}

.page-embed-form .hero__form__label {
    text-transform: uppercase !important;
}

.hero__form__label.small {
    font-size: 10px;
    transform: translateY(0);
}

.page-embed-form  .wpcf7-response-output {
    width: 100%;
    margin: 2rem 0 !important;
}

.modal--contact-2 .wpcf7-acceptance label:before {
    border: 1px solid #442341;
    left: 0;
}

.wpcf7-acceptance input:checked + .wpcf7-acceptance label:after {
    opacity: 1;
}

.modal--contact-2 .wpcf7-acceptance label:after {
    left: 4px;
}

.wpcf7-acceptance label:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"%3E%3Cpath fill="%23442341" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/%3E%3C/svg%3E') center center/contain no-repeat;
    left: 13px;
    top: 7px;
    opacity: 0;
    cursor: pointer;
}

.wpcf7-acceptance label.active:after {
    opacity: 1;
}

.wpcf7-acceptance input {
    display: none;
    
}


@media (max-width: 1300px) {
    span.hero-listing__grid-item-placeholder-img {
        height: 278px;
    }

}

@media (max-width: 767px) {
    .page-embed-form .hero__form__input-wrap {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 375px) {
    .hja-pagination .page-link {
        width: 26px;
        height: 26px;
        font-size: 16px;
    }

}

/*.hero__form__label-text span {
    font-size: .75rem;
}*/

.grecaptcha-badge { 
    visibility: hidden;
}


body.page-template-template-service-3 .call-back__form p,
body.page-template-template-service-php .call-back__form p {
    color: #fff;
}

body.page-template-template-service-3 .call-back__form .text-underline:after,
body.page-template-template-service-php .call-back__form .text-underline:after {
    background-color: #fff;
}

.wpcf7-not-valid-tip {
    position: absolute;
    /*bottom: 0;*/
    text-transform: lowercase;
    font-size: 1rem;
}

.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #cd001a !important; /* form invalid / unaccepted */
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #ff9d6e !important; /* form success */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #cd001a !important; /* form abort / failed */
}

.wpcf7 form.spam .wpcf7-response-output {
    border-color: #cd001a !important; /* spam */
}


.cookie-notice-container a { text-decoration: underline; }
.cookie-notice-container a:hover { text-decoration: none; }