/* Bootstrap classes for store_locator shortcode */

/* Container */
.container {
    width: 100%;
    max-width: 1140px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Row */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* Columns */
.col-12,
.col-md-3,
.col-md-4,
.col-md-6,
.col-md-8,
.col-md-12,
.col-lg-4,
.col-lg-8,
.col-lg-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Display utilities */
.d-none {
    display: none !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-flex {
    display: flex !important;
}

/* Flexbox utilities */
.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

/* Spacing utilities - Margin */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.ml-2 {
    margin-left: 0.5rem !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.m-0 {
    margin: 0 !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Spacing utilities - Padding */
.p-0 {
    padding: 0 !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

/* Responsive padding */
@media (min-width: 768px) {
    .pr-md-3 {
        padding-right: 1rem !important;
    }
    
    .pl-md-3 {
        padding-left: 1rem !important;
    }
    
    .pt-md-2 {
        padding-top: 0.5rem !important;
    }
    
    .pb-md-2 {
        padding-bottom: 0.5rem !important;
    }
    
    .mt-md-0 {
        margin-top: 0 !important;
    }
}

/* Width utilities */
.w-100 {
    width: 100% !important;
}

/* Form controls */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
    color: #212529;
}

.btn-slider {
    background-color: #00B2E3;
    color: #fff;
    border-color: #00B2E3;
}

.btn-slider:hover {
    background-color: #0099cc;
    border-color: #0099cc;
    color: #fff;
}

.btn-list {
    background-color: #fff;
    color: #212529;
    border: 1px solid #ced4da;
}

.btn-list:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.btn-list.active {
    background-color: #00B2E3;
    color: #fff;
    border-color: #00B2E3;
}

.btn-list.active:hover {
    background-color: #0099cc;
    border-color: #0099cc;
    color: #fff;
}

/* Collapse */
.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

/* Show collapse by default if parent button has aria-expanded="true" */
.single_filter button[aria-expanded="true"] ~ .collapse {
    display: block;
}

/* Card */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem;
}

/* Text utilities */
.text-underlined {
    text-decoration: underline;
}

/* Additional store locator specific styles */
#store_locator .row {
    margin-right: 0;
    margin-left: 0;
}

#store_locator [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

#store_locator .col-md-3,
#store_locator .col-md-4,
#store_locator .col-md-8,
#store_locator .col-md-12 {
    padding-right: 15px;
    padding-left: 15px;
}

@media (max-width: 767px) {
    #store_locator .col-md-3,
    #store_locator .col-md-4,
    #store_locator .col-md-6,
    #store_locator .col-md-8,
    #store_locator .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Infowindow styles - Fix for white text/links */
.infowindow {
    color: #212529 !important;
    font-size: 14px;
    line-height: 1.5;
}

.infowindow p {
    color: #212529 !important;
    margin: 0.5rem 0;
}

.infowindow .info-window-title {
    color: #00B2E3 !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: block;
    margin-bottom: 0.5rem;
}

.infowindow .info-window-title:hover {
    text-decoration: underline !important;
}

.infowindow a {
    color: #00B2E3 !important;
    text-decoration: none !important;
    font-weight: bold;
}

.infowindow a:hover {
    text-decoration: underline !important;
}

.infowindow .infowindow-icon {
    color: #00B2E3 !important;
    font-size: 14px !important;
    margin-left: 5px;
}

.infowindow .infowindow-icon b {
    color: #00B2E3 !important;
    font-weight: bold;
}

.infowindow .phone-icon,
.infowindow .mail-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
    vertical-align: middle;
}

.infowindow .phone-icon {
    background-image: url('../../assets/images/phone.svg');
}

.infowindow .mail-icon {
    background-image: url('../../assets/images/mail.svg');
}

.infowindow button.btn {
    color: #fff !important;
}

.infowindow button.btn:hover {
    color: #fff !important;
    opacity: 0.9;
}

.gm-style img{
    border-radius: 0;
    margin: 0;
}

.gm-style .gmnoprint img{
    height: 30px !important;
    width: 30px !important;
    box-shadow:none;
}


.gmnoprint button{
    border-radius:0 !important;
}
