/*
Theme Name: astra-child
Author: 
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

    body {
      /*padding-top: 80px;*/
      font-size: 1.0625rem;
    background-color: #F3F3F4;
    }
    .sidebar {
      min-height: 100vh;
      background-color: #f8f9fa;
      border-right: 1px solid #dee2e6;
    }
    .sidebar a {
      display: block;
      padding: 10px 15px;
      color: #333;
      text-decoration: none;
    }
    .sidebar a:hover {
      background-color: #e9ecef;
    }
    
    .nav_custom{
            /*background-color: #273DB4 !important;*/
    color: #FFF !important;
    background-image: url(https://staging.advertall.com/wp-content/themes/astra-child/img/menu_bg.png);
    }
    
    .nav_custom a.nav-link {
    color: #FFF;
    }
    .custom_top_header {
        height: 110px;
    }
    .custom_search{
    background-color: #d1e063 !important;
    color: #FFF !important;
    padding: 15px;
    }
    
    .header_banner img {
    width: 100%;
    padding: 0px;
}


.container-fluid.header_banner {
    padding: 0px;
}

.sidebar h5 {
    background: #273DB4;
    color: #FFF;
    padding: 10px;
}

.sidebar a {
    border-bottom: dotted 1px;
    background: #FFF;
}


.footer_section h4 {
    color: #FFF;
}



/*********************************************/

.border-dashed { border: 2px dashed #ccc; }
.drop-over { border-color: #007bff; background-color: #f8f9fa; }



.search-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 50px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.search-tag span {
  background: #007bff;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
}

.search-tag:hover {
  background: #007bff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-tag:hover span {
  background: #fff;
  color: #007bff;
}




.country-card .card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 10px;
  height: 160px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.country-card .card-inner img {
  width: 70px;
  height: 70px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 3px solid #f1f1f1;
  object-fit: cover;
  transition: transform 0.3s, border-color 0.3s;
}

.country-card span {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.country-card:hover .card-inner {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  border-color: #007bff;
}

.country-card:hover img {
  transform: scale(1.1);
  border-color: #007bff;
}



.tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}



.pagination .page-link {
    color: #dc3545; /* Bootstrap red */
    border: 1px solid #dee2e6;
    margin: 0 2px;
    border-radius: 6px;
    padding: 6px 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.pagination .page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #aaa;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.is-invalid{
    --bs-form-select-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFA500' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    border-color:#FFA500 !important;
}

.custom-select img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.list-inline>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}



.custom_content ul li:before {
    content: "\f00c";
    font-family: FontAwesome;
    display: inline-block;
    margin-left: calc(var(--icon-space)* -1);
    width: var(--icon-space);
    color: green;
}

.custom_content ul {
    --icon-space: 1.3em;
    list-style: none;
    padding: 0;
}

.custom_content h4{
    background: linear-gradient(50deg, rgba(2, 0, 36, 1) 0%, rgba(77, 15, 40, 1) 30%, rgba(235, 1, 8, 1) 100%);
    color: #FFF;
    padding: 10px;
    border-radius: 5px;
}

.custom_content h5{
    background: linear-gradient(50deg, rgba(2, 0, 36, 1) 0%, rgba(77, 15, 40, 1) 30%, rgba(235, 1, 8, 1) 100%);
    color: #FFF;
    padding: 10px;
    border-radius: 5px;
}


.section-heading { font-size: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; position: relative; display: inline-block; }
.section-heading:after { content:""; width:60%; height:3px; background:linear-gradient(90deg,#ff7a18,#af002d); position:absolute; left:50%; transform:translateX(-50%); bottom:-6px; border-radius:3px; }

.image-slider img {
    max-height: 500px;
    width: 100%;
}

.swiper-slide img {
    height: 100px;
}



#card-element {
    background: #f8f9fa;
    padding: 14px 18px;
    border: 2px solid #d1d1d1;
    border-radius: 10px;
    transition: .3s ease-in-out;
    min-height: 50px;
}

#card-element.StripeElement--focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

#card-element.StripeElement--invalid {
    border-color: #ff3b3b;
    box-shadow: 0 0 0 4px rgba(255, 59, 59, 0.15);
}

/* Select2 container height */
.select2-container .select2-selection--single {
    height: 40px !important;
    display: flex;
    align-items: center;
}

/* Text inside */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding-left: 10px;
    padding-right: 25px;
}

/* Arrow alignment */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}


.bg-primary {
    background: #273DB4 !important;
}

button.btn.btn-primary {
    background: #273DB4;
    border: #273DB4;
}


/* Search Results Title */
.title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937; /* dark gray */
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 24px;
    line-height: 1.3;
}

/* Bottom accent line */
.title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #273DB4; /* primary blue */
    border-radius: 4px;
}

.list-group-item.active {
    z-index: 2;
    background-color: #273DB4 !important;
    border-color: #273DB4 !important;
}

/* Header action buttons */
.header-actions .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

/* Icons */
.header-actions .action-btn i {
    font-size: 14px;
}

/* Hover */
.header-actions .action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Highlight Post Ad */
.header-actions .post-btn {
    font-weight: 600;
}

/* Favorite heart color */
.header-actions .favorite-btn i {
    color: #dc3545;
}

/* Right alignment in header */
.header-actions {
    margin-left: auto;
}

div#wpcf7-f1782-o1 textarea {
    height: 100px;
}

div#wpcf7-f1782-o1{
    background:#ccc;
    padding:10px;
}



.nav-link {
    cursor: pointer;
    transition: 0.3s;
}

.nav-link.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.nav-link:not(.disabled):hover {
    transform: translateY(-2px);
}


/* Mobile optimization */
@media (max-width: 991px) {
    .header-actions .action-btn span {
        display: none; /* icon only */
    }

    .header-actions .action-btn {
        padding: 8px 10px;
    }
}




/* Mobile */
@media (max-width: 768px) {
    .title {
        font-size: 22px;
    }
    
    ol, ul {
    margin: 0 0 1.5em 3em;
    margin: unset !important;
}

footer {
    text-align: center;
}

div#wpcf7-f1782-o1{
    background:#ccc;
    padding:25px;
}


}


/* 1st Row */
.card.row-group-1{
    border: 3px solid #d633ff !important; /* Fuchsia */
}

/* 2nd Row */
.card.row-group-2{
    border: 3px solid #0d3b8e !important; /* Deep Blue */
}

/* 3rd Row */
.card.row-group-3{
    border: 3px solid #d633ff !important;
}

/* 4th Row */
.card.row-group-4{
    border: 3px solid #0d3b8e !important;
}

/* 5th Row */
.card.row-group-5{
    border: 3px solid #d633ff !important;
}

/*.bg_m{*/
/*        background: blue;*/
/*}*/

.bg-primary h4 {
    color: #FFF;
}

ul.navbar-nav.bg_m a {
    color: #000 !important;
}


/*************************************/

/*@media (min-width: 768px) {*/

/*    .sticky-sidebar {*/
/*        position: sticky;*/
/*        top: 20px;*/
        /*height: calc(100vh - 40px);*/
        /*overflow-y: auto;*/
/*    }*/

/*    .sticky-sidebar::-webkit-scrollbar {*/
/*        width: 6px;*/
/*    }*/

/*    .sticky-sidebar::-webkit-scrollbar-thumb {*/
/*        background: #ccc;*/
/*        border-radius: 10px;*/
/*    }*/
/*}*/

/*@media (min-width:768px){*/

/*    .sticky-sidebar{*/
/*        position:sticky;*/
        top:80px; /* adjust for your header */
        /*max-height:calc(100vh - 100px);*/
        /*overflow-y:auto;*/
/*        padding-right:8px;*/
/*    }*/

/*}*/