/**
Theme Name: RWS Advocates India
Author: Rhizomatic Web Services
Author URI: https://rhizomaticweb.com
Description: RWS Theme for Advocates India.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rws-advocatesindia
Template: astra
*/

body {
    user-select: none; /* For modern browsers */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}
.site-content {
    padding-top: 30px;
    padding-bottom: 30px;
    min-height: 700px;
}

.container {
    width: 100%;
}

thead th {
    border-bottom-width: 2px;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #e9ecef;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #e9ecef;
}

.table td, .table th {
    padding: .75rem;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}

.table {
        max-width: 98%;
        margin: auto !important;
        border: 0;
        padding-top: 20px;
}

/* Hero Section */
.hero-section {
    background-image: url('https://advocatesindia.biz/imgs/slider2.jpg');
    background-size: cover;
    background-position: center right;
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    padding: 0 60px;
    margin-top: -30px;
}


/* Count Section */
.count-section {
    text-align: center;
    padding: 20px;
    background-color: #f4f4f4;
}

.count-section p {
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Search Form Section */
.search-form-section {
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
    width: 80%;
    margin: auto;
}

.search-form-section form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.search-form-section form label {
  /*  display: block; */
    font-weight: bold;
    margin-bottom: 5px;
}

.search-form-section form input[type="text"],
.search-form-section form select,
.search-form-section form input[type="submit"] {
    padding: 10px;
    margin: 5px;
    border: 1px solid #828282;
    border-radius: 5px;
    width: auto !important;
    flex: 1; 
}

.search-form-section form input[type="submit"] {
    background-color: #0D74D4;
    color: #fff;
    cursor: pointer;
    border: none;
}

/* Project Info Section */
.project-info-section {
    padding: 60px 20px 70px 20px;
    background-color: #f4f4f4;
}

.project-info-section p {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.project-info-section h2 {
    text-align: center;
    color: #ffffff;
    background: var(--ast-global-color-0);
    display: block;
    width: fit-content;
    margin: 10px auto;
    padding: 5px 20px 10px 20px;
    border-radius: 10px;
}

/* Browse Directory Section */
.browse-directory-section {
    padding: 20px;
    border-bottom: 1px double var(--ast-global-color-0);
    max-width: 1140px;
    margin: 40px auto 30px auto;
    text-align: center;
}

.browse-directory-section h2, .submit-name-section h2 {
    text-align: center;
    padding-bottom: 20px;
}

.browse-directory-section .specialities-dropdown {
    display: none;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    font-size: 16px;
}

/* Submit Name Section */
.submit-name-section {
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
}

.submit-name-section .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0D74D4;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

/* Pricing Section */
.pricing-section {
    padding: 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.pricing-plan {
    display: inline-block;
    width: 30%;
    padding: 20px;
    margin: 10px;
    border: 1px solid #828282;
    border-radius: 10px;
    background-color: #ffffff;
}

.pricing-plan h3 {
    color: #1E293B;
}

.pricing-plan p {
    color: #828282;
}

.pricing-plan .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0D74D4;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.advocate-details {
    width: 700px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 20px;
    background: url(https://doctorsindia.biz/wp-content/uploads/2024/07/card-bg.jpg);
    background-repeat: no-repeat;
    background-position: bottom right;
}


.advocate-details .address{
    padding: 10px;
    border-bottom: 1px solid;
}

.advocate-details .contact {
    padding:10px;
}

.advocate-details .cbtn a {
    display: block;
    width: fit-content;
    margin: 20px auto 10px auto;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    background: #076500;
    color: #ffffff;
    font-weight: bold;
}

.advocate-details .cbtn a:hover {
    background: #518c2d;
}


a.mbtn {
    padding: 10px;
    font-weight: bold;
    display: block;
    width: fit-content;
}

a.mbtn:hover {
    color: #ffffff;
    background: var(--ast-global-color-0);}

.othadv {margin: 40px auto 20px;}

.othadv h2 {margin-bottom:20px}


.simg {
    float: right;
    padding: 0px 10px;
}



.dataTables_wrapper {
    width: 900px;
    max-width: 98%;
    margin: auto;
}

/*Pricing Page*/
.pricing-page {
    text-align: center;
}

.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-plan {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.day h2 {
    color: #1f1f1d;

}

.gold h2 {
    color: #937000;
}
.blue h2 {
    color: #0D74D4;
}

.pricing-plan .price {
    font-size: 24px;
    color: #ffffff;
    padding: 5px 0px;
}

.pricing-plan p {
    color: #828282;
}

.pricing-plan ul {
    list-style-type: none;
    padding-left: 10px;
    margin: 10px 0;
    text-align: left;
}

.pricing-plan ul li:before {
    content : '\2638';
    position: absolute;
    left: 0;
    top: 25%;
    transform: translateY(-50%);
    font-size: 1.2em; 
}
.pricing-plan ul li {
    margin: 5px 0;
    position: relative;
    padding-left: 25px;
    color: #111111;
}


.gold .price {
    background-color: #937000;

}

.day .price {
    background-color: #1f1f1d;
}
.blue .price {
    background-color: #002446;
}

.btn-primary {
    background-color: #0D74D4;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: var(--ast-global-color-0);
}

.submit-form {
    width: 800px;
    margin: auto;
    max-width: 95%;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid;
    border-radius: 10px;
}

.submit-form button {
    margin-top: 20px;
    border-radius: 10px;
}
.error-message {
         font-size: 18px;
        font-weight: bold;
        color: red;
}
.success-message {
        font-size: 20px;
        font-weight: bold;
        color: green;
}

.loginlink {
    font-size: 12px; 
    text-align: center; 
    display: block;
}

.single-info {
    display: inline-block;
    background: var(--ast-global-color-0);
    padding: 15px 20px 0px 20px;
    border-radius: 10px;
    min-width: 32%;
    margin: 0.5%;
    text-align: center;
    -webkit-transition: .3s ease-out;
    -moz-transition: .3s ease-out;
    -ms-transition: .3s ease-out;
    -o-transition: .3s ease-out;
    transition: .3s ease-out;
}

.single-info:hover {
    transform: translateY(-5px);
}

.single-info:before {
    z-index: -1;
    content: '';
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    height: 90%;
    opacity: 0;
    filter: blur(10px);
    transition: .3s ease-out;
    background: #082868;
    -webkit-transition: .3s ease-out;
    -moz-transition: .3s ease-out;
    -ms-transition: .3s ease-out;
    -o-transition: .3s ease-out;
}

.single-info:hover:before{
    opacity: 0.8;
    position: absolute;
}

.single-info a, .single-info h3 {
    color :#ffffff;
}

.single-info [class*=" icofont-"], .single-info [class^=icofont-] {
    font-size: 30px;
}

.alist {list-style: none;}
.alist li {line-height: 2;}

.section-title {
    text-align: center;
    margin-bottom: 15px;
}

.citylist {
    max-width: 1080px;
    margin: auto;
}


body.woocommerce-checkout .site-primary-footer-wrap  {
    display: none !important;
}

.site-below-footer-wrap {
	margin-top: 0px;
}

body.woocommerce-checkout .site-below-footer-wrap {
	margin-top: 100px;
}


/* Responsive styles */
@media (max-width: 768px) {
    .simg {
        float: none;
        margin:auto;
        padding: 20px 10px;
    }

    .browse-directory-section .specialities-dropdown {
        display: block;
    }

    .hero-section {
        font-size: 1.8rem;
    }

.search-form-section form input[type="text"],
.search-form-section form select,
.search-form-section form input[type="submit"] {
max-width: 80% !important;
}


    .search-form-section form {
        flex-direction: column;
    }

    .advocate-details {
        max-width: 95%;
}
.browse-directory-section {
padding-top: 30px;
padding-left: 30px;
padding-right: 30px;
background: var(--ast-global-color-4);
}

.single-info {
    min-width: 100%;
    margin: 5px 0px;
    display: block;
}

}