.customfile-container *{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font:normal 14px Arial, sans-serif;}
.customfile-container{width:150px;padding:0px;margin:0 auto;}
.customfile-container label:first-child{width:100px;display:block;margin-bottom:.5em;font:bold 18px Arial, sans-serif;color:#333;}
.customfile-wrap{position:relative;padding:0;margin-bottom:.5em;}
.customfile-filename,
.customfile-upload{margin:0;padding:0;}
.customfile-filename{padding:.4em .5em;border:1px solid #A8A49D;border-radius:2px 0 0 2px;}
.customfile-filename:focus{outline:none;}
.customfile-upload{display:inline-block;*display:inline;padding:4px 12px;margin-bottom:0;*margin-left:.3em;font-size:14px;line-height:20px;color:#ffffff;text-align:center;text-shadow:0 1px 1px rgba(255, 255, 255, 0.25);vertical-align:middle;cursor:pointer;background-color:#37B8D5;*background-color:#e6e6e6;border:none;*border:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);*zoom:1;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);}
.customfile-upload:hover{color:#333333;*background-color:#d9d9d9;}
.customfile-upload::-moz-focus-inner{padding:0;border:0}
.customfile-filename{display:none !important;}

/*.pac-container {*/
/*    width: 210px !important;*/
/*}*/

.btn {
	padding: 7px 15px;
}

.btn-small {
	padding: 4px 11px;
}

.btn-large {
    padding: 11px 19px;
    border-radius: 4px;
}

.btn-group .btn {
    line-height: 19px;
}

.btn-info {
	background-color: #33ccff;
}

a.btn:hover:not(.btn-link), a.btn:focus:not(.btn-link) {
	color: white;
}

.btn-info:hover, .btn-info > a:hover,
.btn-info:focus, .btn-info > a:focus,
.btn-info:active, .btn-info > a:active,
.btn-info.active, .btn-info > a:active,
.btn-info.disabled, .btn-info > a:disabled,
.btn-info[disabled] {
	text-decoration: none;
	/*background-position: 0 -15px;*/
	background-color: #29b3e1;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.btn-primary:hover, .btn-primary:focus,
.btn-primary:active, .btn-primary.active,
.btn-primary.disabled, .btn-primary[disabled] {
	color: white;
}

.btn-primary:hover, .btn-primary > a:hover,
.btn-primary:focus, .btn-primary > a:focus,
.btn-primary:active, .btn-primary > a:active,
.btn-primary.active, .btn-primary > a:active,
.btn-primary.disabled, .btn-primary > a:disabled,
.btn-primary[disabled] {
	-webkit-transition: all 0.15s ease-in-out;
	-moz-transition: all 0.15s ease-in-out;
	-o-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
	background-color: #6041A2;
}

.btn-success:hover, .btn-success > a:hover,
.btn-success:focus, .btn-success > a:focus,
.btn-success:active, .btn-success > a:active,
.btn-success.active, .btn-success > a:active,
.btn-success.disabled, .btn-success > a:disabled,
.btn-success[disabled] {
	color: white;
	text-decoration: none;
	background-position: 0 -15px;
	-webkit-transition: all 0.15s ease-in-out;
	-moz-transition: all 0.15s ease-in-out;
	-o-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
	background-color: #84b02c;
}

.customfile-upload {
	padding: 15px;
}

.vet_selected:hover {
	background-color: #99cc33;
}

.nav > li > a:hover, .nav > li > a:focus {
	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	-o-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	-o-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.homepage-steps-list-text {
    text-align: center;
}

.homepage-steps-list-text h4 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.homepage-steps-list-image {
    max-width: 230px;
}

.homepage-steps-list-image img {
    border-radius: 50%;
}

.homepage-steps-list-entry {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 220px;
    background-color: #f6f7f8;
    align-items: center;
    padding: 20px;
    margin-left: 10px;
    margin-right: 10px;
    height: 400px;
}

.homepage-steps-list-container {
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.image-card-container {
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #fff;
    width: fit-content;
    height: 600px;
}

.image-card-container .image-card {
    flex: 1;
    flex-grow: 2.6;
    /*background-image: url('/img/housecall-cat.jpeg');*/
    background-size: cover;
    min-height: 600px;
    background-position: center;
}


.image-card-container .image-card-right {
    background-color: #f6f6f6;
    display: flex;
    flex: 1;
}

.image-card-container .image-card-right .image-card-right-inner {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-text-shadow {
    text-shadow: 1px 1px 1px rgb(0, 0, 0, 0.42);
}

.homepage-heal-container {
    background-image: url('/img/subscription-photo.webp');
}

div.homepage-cat-image {
    background-image: url('/img/housecall-cat.webp'), url('/img/housecall-cat-lowq.webp');
}

div.homepage-vet-image {
    background-image: url('/img/vet_purple_bg_compressed.webp');
    /*padding: 20px;*/
    background-position: top;
    background-size: cover;
    height: 700px;
    position: relative;
}

h2 {
    color: #555;
}

h3 {
    color: #333;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.card-grid .compact-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.compact-card .footer-action {
    margin-top: auto;
}

.compact-card .availability-tab {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px;
    background: #f4f7f9;
    border-radius: 6px;
}

.compact-card .header-flex {
    display: flex;
    gap: 12px;
    align-items: center;
}

.compact-card .img-box {
    border: 1px solid rgba(110, 74, 184, 0.4);
    flex-shrink: 0;
}


.compact-card .title-info {
    margin-bottom: 10px;
}
.compact-card .title-info h3 {
    margin-top: 0px;
    line-height: 30px;
}
.compact-card .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 15px;
}

.compact-card .tag {
    background: #f0f4f8;
    padding: 3px 6px;
    border-radius: 4px;
    color: #445;
}

.compact-card .patients { margin: 8px 0; line-height: 1.2; }

.compact-card .availability-tab {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    background: #f7fafc;
    padding: 6px;
    border-radius: 4px;
}

.compact-card .availability-tab .time { font-weight: bold; }

.compact-card .compact-card:hover {
    border-color: rgba(110, 74, 184, 0.3);
}

@media only screen and (max-width: 768px) {
    .image-card-container {
        flex-direction: column;
        height: auto;
    }

    .image-card-container .image-card-right {
        width: auto;
    }

    .image-card-container .image-card img {
        max-height: unset;
    }
}

@media only screen and (max-width: 820px) {
    div.homepage-vet-image {
        background-image: url('/img/vet_purple_bg_compressed-tablet.webp');
    }

    div.homepage-heal-container {
        background-image: url('/img/subscription-photo-tablet.webp'), url('/img/subscription-photo-tablet-lowq.webp');
    }

    div.homepage-cat-image {
        background-image: url('/img/housecall-cat-tablet.webp'), url('/img/housecall-cat-lowq.webp');
    }
}

@media only screen and (max-width: 1080px) {
    .homepage-steps-list-entry {
        margin-top: 15px;
    }

    .homepage-steps-list-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

@media only screen and (max-width: 499px) {
    .homepage-steps-list-container {
        justify-content: space-around;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }
}

@media only screen and (min-width: 768px) {
    .headings {
        height: 0;
        min-height: 0!important;
    }
}
