/*
Theme Name: Juristo Child
Theme URI: http://themeforest.net/user/wpoceans/portfolio/
Author: wpoceans
Author URI: http://themeforest.net/user/wpoceans
Description: Juristo - Lawyer & Attorney WordPress Theme
Template:	juristo
Version: 1.0
Text Domain: juristo-child
*/


/* Attorneys hubpage */
body.page-template-page-team-filter section.wpo-page-title, body.page-template-page-our-team-filter section.wpo-page-title {
    background-color: #12497F;
    background-image: url('https://somireddylaw.com/wp-content/uploads/2026/05/attorney_bg.webp');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

body.page-template-page-team-filter .wpo-page-title:before, body.page-template-page-our-team-filter .wpo-page-title:before {
    content: none;
}
body.page-template-page-team-filter .team-filter, body.page-template-page-our-team-filter .team-filter {
    margin-bottom: 80px;
}

body.page-template-page-team-filter .team-filter .not-found-txt, body.page-template-page-our-team-filter .team-filter .not-found-txt {
    text-align: center;
    margin-top: 50px;
}
body.page-template-page-team-filter .team-filter-form-container, body.page-template-page-our-team-filter .team-filter-form-container {
    background-color: #eee;
}
body.page-template-page-team-filter .team-filter-form-container .team-filter-width-setter, body.page-template-page-our-team-filter .team-filter-form-container .team-filter-width-setter {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 20px;
}
/* Small tablets: 768px up to 991px */
@media (min-width: 768px) and (max-width: 991px) {
    body.page-template-page-team-filter .col-md-4 {
        width: 50%;
    }
}

body.page-template-page-team-filter  #team-results > .container, body.page-template-page-our-team-filter  #team-list > .container {
    max-width: 1440px;
    padding-left: 20px;
    padding-right: 20px;
}
body.page-template-page-team-filter .team-filter-form-container #team-filter-form, body.page-template-page-our-team-filter .team-filter-form-container form#our-team-filter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
}

body.page-template-page-team-filter .team-filter-form-container #team-filter-form > select {
    width: calc(25% - 20px);
    margin-top: 0;
}
body.page-template-page-our-team-filter .team-filter-form-container form#our-team-filter-form > select {
    width: calc(33.33% - 20px);
    margin-top: 0;
}
body.page-template-page-team-filter .team-filter-form-container .team-search, body.page-template-page-our-team-filter .team-filter-form-container .team-search {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 50px;
    padding: 14px 20px;
    height: 54px;
}
body.page-template-page-team-filter .team-filter-form-container .team-search {
    width: calc(25% - 20px);
}
body.page-template-page-our-team-filter .team-filter-form-container .team-search {
    width: calc(33.33% - 20px);
}

body.page-template-page-team-filter .team-filter-form-container input#team-search, body.page-template-page-our-team-filter .team-filter-form-container input#team-search {
    flex: 1;
    width: calc(100% - 25px);
    border: 0;
    outline: 0;
    background-color: transparent;
}

body.page-template-page-team-filter .team-filter-form-container button#team-search-btn, body.page-template-page-our-team-filter .team-filter-form-container button#our-team-search-btn {
    border: 0;
    background-color: transparent;
}

body.page-template-page-team-filter #team-filter-form select, body.page-template-page-our-team-filter form#our-team-filter-form select {
    background-color: #fff;
    border: 0;
    border-radius: 50px;
    margin-top: 24px;
    height: 54px;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="2,4 6,8 10,4"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}
body.page-template-page-our-team-filter .card-body .card-title {
    text-align: center;
    margin-top: 0;
}
body.page-template-page-team-filter .card-body a, body.page-template-page-our-team-filter .card-body a {
    color: #525252;
}

body.page-template-page-team-filter .card-body span.dashicons {
    color: #12497F;
}

/* Overlay */
body.page-template-page-team-filter .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    justify-content: center;
    align-items: center;
    z-index: 1001;
}
body.page-template-page-team-filter .popup-overlay.active {
    display: flex;
}

body.page-template-page-team-filter .cf7-open-btn {
    cursor: pointer;
}

/* Popup box */
body.page-template-page-team-filter .popup-box {
    background: #fff;
    padding: 20px;
    width: 500px;
    font-size: 14px;
    border-radius: 8px;
    height: 90%;
    max-height: 460px;
    overflow-y: auto;
}
body.page-template-page-team-filter .popup-box .form-group {
    margin: 0 0 15px 0;
}
body.page-template-page-team-filter .popup-box .form-control {
    height: 36px;
    border: 0;
    border-bottom: 1px solid #939393;
    border-radius: 0;
}
body.page-template-page-team-filter .popup-box .wpcf7-submit {
    padding: 10px 25px;
    border: 2px solid #12497F;
    border-radius: 32px;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #12497F;
}
body.page-template-page-team-filter .popup-box .wpcf7-submit:hover {
color:#fff;
background-color: #12497F;
}
body.page-template-page-team-filter .closePopup {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

body.page-template-page-team-filter.no-scroll {
    overflow: hidden;
}
@media (max-width: 520px) {
    body.page-template-page-team-filter .popup-box {
        width: calc(100% - 40px);
    }
}

.about-gallery-img-slider .gallery-icon {
    background: #fff;
    max-width: 215px;
    margin: 0 auto;
    padding: 10px !important;
    height: auto;
    border-radius: 10px;
}
.about-gallery-img-slider .gallery-icon img {
    width: 100%;
    height: 75px;
    object-fit: contain;
    object-position: center;
}
/*for home page video*/

.fix-video-box .e-hosted-video video {
    object-position: top center;
}



@media (max-width: 1024px) {
    body.page-template-page-team-filter .team-filter-form-container .team-search, body.page-template-page-our-team-filter .team-filter-form-container .team-search {
        width: 100%;
    }

    body.page-template-page-team-filter .team-filter-form-container #team-filter-form > select {
        width: calc(33.33% - 20px);
        margin-top: 24px;
    }

    body.page-template-page-our-team-filter .team-filter-form-container #our-team-filter-form > select {
        width: calc(50% - 20px) !important;
        margin-top: 24px !important;
    }
}
@media (max-width: 767px) {

    body.page-template-page-team-filter .team-filter-form-container #team-filter-form > select, body.page-template-page-our-team-filter .team-filter-form-container #our-team-filter-form > select {
        width: 100% !important;
    }
}




/* BOOK NOW */
body.page-template-page-book-now .wrapper{
    max-width:1000px;
    margin:120px auto 80px;
    background:white;
    border-radius:18px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

body.page-template-page-book-now h1{
    margin-top:0;
    margin-bottom:8px;
}

body.page-template-page-book-now .subtitle{
    color:#666;
    margin-bottom:30px;
}

body.page-template-page-book-now .booking-filter-wrapper{
    max-width:1000px;
    margin:60px auto;
    padding:0 20px;
}

body.page-template-page-book-now .booking-filters{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:40px;
}

body.page-template-page-book-now .booking-filters select{
    height:55px;
    border:1px solid #dcdcdc;
    border-radius:10px;
    padding:0 15px;
    font-size:16px;
    background:#fff;
}

body.page-template-page-book-now .booking-results-grid{
    display:grid;
    gap:25px;
}

body.page-template-page-book-now .booking-card{
    background:#fff;
    border:1px solid #e7e7e7;
    border-radius:16px;
    padding:25px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

body.page-template-page-book-now .attorney-title{
    margin:0 0 20px;
    font-size:24px;
    font-weight:600;
}

body.page-template-page-book-now .booking-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

body.page-template-page-book-now .fee-box{
    display:flex;
    flex-direction:column;
    gap:8px;
}

body.page-template-page-book-now .fee-box label{
    font-size:14px;
    color:#666;
}

body.page-template-page-book-now .fee-box input{
    width:180px;
    height:48px;
    border:1px solid #ccc;
    border-radius:10px;
    padding:0 15px;
    font-size:16px;
    background:#fafafa;
}

body.page-template-page-book-now .book-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: #12497F;
    color:#fff;
    text-decoration:none;
    padding:14px 28px;
    border-radius:10px;
}

body.page-template-page-book-now .book-btn:hover{
    color:#fff;
}

body.page-template-page-book-now .loading-text,
body.page-template-page-book-now .not-found-txt{
    text-align:center;
    margin-top:40px;
}

@media (max-width: 1040px){
body.page-template-page-book-now .wrapper{
margin: 100px 20px 80px;
}
}
@media (max-width: 981px){
body.page-template-page-book-now .wrapper{
padding: 20px;
}
body.page-template-page-book-now .booking-filter-wrapper {
    max-width: 1000px;
    margin: 20px auto;
}
}
@media (max-width: 620px){
body.page-template-page-book-now .booking-filters {
    display: flex;
    flex-wrap: wrap;
}
}