/* phl-style.css */

/* General */

.capitalize-first::first-letter {
  text-transform: uppercase;
}

/* Locations / States / Cities Listing - Region Template + Locations Page ~ Can prob add to a style sheet in locations plugin but also need to the cities listing from theme custom too */

.city-search {
    padding: 0;
    margin: 0 auto;
    min-height: 300px;
    overflow: hidden;
    position: relative;
}

@media only screen and (min-width: 641px) {
    .city-search {
        padding: 32px 0;
    }
}

@media only screen and (min-width: 840px) {
    .city-search {
        padding: 50px 0;
    }
}

.states-list-heading {
    margin: 0 0 30px;
    min-height: 0;
    justify-content: space-between;
    display: flex;
}

.states-list-heading {
    margin: 0 0 16px;
    /*min-height: 108px;*/
}

@media only screen and (min-width: 641px) {
    .states-list-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 64px;
        margin: 0 0 32px;
    }
}

p#states-go-back {
    min-width: 116px;
    margin-left: 10px;
    margin-bottom: 0;
}

p#states-go-back a {
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #208991;
    margin-top: 10px;
}

@media only screen and (min-width: 641px) {
    .states-list-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0 -8px 16px;
    }
}

a.list-state {
    text-decoration: none;
}

.states-list-state {
    flex: 1;
    margin: 0 0 16px;
    list-style: none;
}

@media only screen and (min-width: 641px) {
    .states-list-state {
        flex: 50%;
    }
}

@media only screen and (min-width: 840px) {
    .states-list-state {
        flex: 0 25%;
    }
}

.states-list-state>a {
    display: block;
    background: #f7f8f9;
    padding: 10px 10px 10px 16px;
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 25px;
    color: #333;
    -webkit-tap-highlight-color: transparent;
}

@media only screen and (min-width: 641px) {
    .states-list-state>a {
        margin: 0 8px;
    }
}

.states-list-state>a:hover {
    background: #458c75;
    color: #fff;
}

i.bx.bxs-right-arrow-circle.arrow-city:hover {
    color: #fff !important;
}

.states-list-loading {
    background: rgba(255, 255, 255, .79);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    text-align: center;
    align-content: space-around;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

/* Region Template Map */

.map-iframe{
	background-color:#eee;
	width:100%;
	height:350px;
	border:0;
}
@media (min-width: 992px) {
	.map-iframe{
		height:660px;
	}
}

/* Related items Scroller */

.scroll-container {
    overflow: hidden;
}

.scroll-container-inner {
    margin: 0 0 0 -16px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    overflow-x: auto;
}

@media (min-width: 1200px) {
    .scroll-container-inner {
        margin: 0 -24px;
    }
}

.scroll-box {
    flex-shrink: 0;
    width: 180px;
    margin: 0 16px;
    padding-bottom: .75rem;
}

@media (min-width: 768px) {
    .scroll-box {
        width: 220px;
    }
}

@media (min-width: 992px) {
    .scroll-box {
        width: 240px;
    }
}

@media (min-width: 1200px) {
    .scroll-box {
        /*width: 260px;*/
        width: 328px;
        margin: 0 24px;
    }
}

.scroll-box-img.rounded-circle {
    overflow: hidden;
}

/* .scroll-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
} */

.scroll-box-img {
    height: 180px;
    width: 180px;
    margin-bottom: 2rem;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .scroll-box-img {
        height: 220px;
        width: 220px;
    }
}

@media (min-width: 992px) {
    .scroll-box-img {
        height: 240px;
        width: 240px;
    }
}

@media (min-width: 1200px) {
    .scroll-box-img {
        height: 260px;
        /*width: 260px;*/
        width: 328px;
    }
}
