/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Dog List */

.dogs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

div#dog-filters {
    width: 24%;
    float: left;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding-right: 30px;
}

.dogs-container-right {
    width: 76%;
    float: right;
    margin: auto;
	position: relative;
}

div#dog-filters select,.select2-container {
    margin-bottom: 15px;
}
span.filter-item:first-child {
    margin-left: 120px;
}
span.filter-item:first-child:before {
    content: "Fillter Applied:";
    position: absolute;
    color: #095472;
    left: 0;
}

.dog-item-anchor {
    flex-basis: calc(25% - 15px); 
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
    background-color: #fff;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #02B8FF;
}
.dog-item p { overflow: hidden; width: 100%; white-space: nowrap; text-overflow: ellipsis; text-transform: capitalize; font-size: 13px; line-height: 1.5em; }

.dogs-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.dog-item {
    padding: 15px;
}
.dog-item p {
    text-align: center;
    margin-bottom: 0;
	color: #4d4751;
}

.dog-item h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
	color: #095472;
}
span.filter-item {
    display: inline-block;
    vertical-align: middle;
    background: #095472;
    border-radius: 5px;
    color: #fff;
    margin-right: 10px;
    padding: 3px 6px;
    line-height: 1.4;
	margin-bottom: 5px;
}

span.remove-filter {
    margin-left: 5px;
    position: relative;
    top: -1px;
	cursor: pointer;
}

button#clear-all-filters {
    padding: 0;
    background-color: transparent;
    color: #095472;
}

div#selected-filters {
    margin-bottom: 5px;
}
button#load-more-dogs {
    margin: auto;
    width: auto;
    display: flex;
    margin-top: 20px;
    background: #095472;
}

span.select2-dropdown.select2-dropdown--below {
    top: 33px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    position: relative;
    top: 7px;
	padding: 0 10px !important;
}
.select2-container--default .select2-selection--multiple { height: 42px; }
.select2-container .select2-search--inline .select2-search__field { margin: 0; } 
.select2-container .select2-search--inline .select2-search__field::placeholder { color: #000 !important; }

/* Slick Slider */
.slick-slide img {
    object-fit: cover;
    height: 500px;
    max-height: 60vh;
    min-height: 400px;
	width: 100%;
}

.slick-slide img {
    -webkit-filter: saturate(25%) brightness(.25);
    filter: saturate(25%) brightness(.25);
    transition: filter .25s,opacity .25s,-webkit-filter .25s;
}

.slick-slide.slick-current.slick-active.slick-center img,.slick-slide.slick-current.slick-active + .slick-slide img {
    -webkit-filter: unset;
    filter: unset;
}

.slick-slide img:hover {
    -webkit-filter: saturate(50%) brightness(.5);
    filter: saturate(50%) brightness(.5);
}

.slick-dots li button {
    font-size: 0;
    padding: 6px;
	background-color: #d2d1d3;
}

.slick-prev, .slick-next {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 9999;
    padding: 6px;
    width: 44px;
    height: 44px;
    opacity: 0;
    background: transparent;
    font-size: 25px;
}

.slick-prev:hover, .slick-next:hover,.slick-prev:focus, .slick-next:focus {
    background: hsla(0,0%,100%,.4);
}



.slick-prev {
  left: 30px; 
}

.slick-next {
  right: 30px;
}


ul.slick-dots {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
    gap: 5px;
    margin-left: 0;
	position: absolute;
    z-index: 9;
}

.slick-dots li::marker {
    content: "";
}

.slick-dots li.slick-active button {
    background: #02B8FF;
}
.dog-carousel.slick-initialized.slick-slider:hover .slick-prev, .dog-carousel.slick-initialized.slick-slider:hover .slick-next {
    opacity: 1;
}

@media(max-width:1439px){
	.dog-item-anchor { flex-basis: calc(33.33% - 15px); } 
	.dogs-grid img { height: 290px; }
}

@media(max-width:992px){
	.dog-item-anchor { flex-basis: calc(50% - 15px); } 
	.dogs-grid img { height: 305px; }
	div#dog-filters { width: 33%;}
	.dogs-container-right { width: 67%;}
}

@media(max-width:767px){
	.dog-item-anchor { flex-basis: calc(50% - 15px); } 
	.dogs-grid img { height: 280px; }
	div#dog-filters { width: 100%; padding: 0; }
	.dogs-container-right { width: 100%;}
	.slick-slide img { object-fit: cover; height: 290px; max-height: 40vh; min-height: 290px; width: 100%; }
	ul.slick-dots {margin-top: 6px;}
	.slick-dots li button {padding: 4px;}
}

@media(max-width:576px){
	.dogs-grid img { height: 212px; }
	button#select_files_button { padding: 12px 20px; }
	#dog-form input[type="submit"] { height: 44px; width: 100%; }
	.dog_imgs_container {gap: 10px;}
}

@media(max-width:360px){
	.dog-item-anchor { flex-basis: calc(100% - 0px); }
	.dogs-grid img { height: 310px; }
}
