/* 
Theme Name: Southern Tablelands Veterinary Hospital
Theme URI: https://osky.com.au
Description: Theme for Southern Tablelands Veterinary Hospital
Author: OSKY
Author URI: https://osky.com.au
Template: hello-elementor
Version: 1.0
*/

/* Global */
b, strong {
	font-weight:bold!important;
}

/* Breadcrumbs */

body.home .breadcrumbs-wrapper {
	display:none!important;
}
.breadcrumbs-wrapper .breadcrumb_last {
	color:#95c72a;
}


/* Our Staff */
.staff-photo-wrapper img {
	border:8px solid #fff!important;
	transition: all 0.25s;
}
.staff-photo-wrapper img:hover {
	border-color:#95c72a!important;
}

/* Main Menu */
.main-menu-wrapper .elementor-nav-menu--main .elementor-item {
	padding-top:42px!important; 
	padding-bottom:42px!important;
}

.main-menu-wrapper .elementor-nav-menu--dropdown a.elementor-item-active,
.main-menu-wrapper .current-menu-parent a.elementor-item-active {
	background:#11234e!important
}
.main-menu-wrapper ul:not(.sub-menu) > li > a {
	border-bottom:5px solid #fff;
}
.main-menu-wrapper ul:not(.sub-menu) > li > a:hover {
	border-color:#95c72a;
}

/* Bullet Point in Text Editor */
.elementor-widget-text-editor ul {
	list-style: none;
	margin-bottom:0.9rem;
}

.elementor-widget-text-editor ul li:before {
	content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
	color: #95c72a; /* Change the color */
  	font-weight: bold; /* If you want it to be bold */
  	display: inline-block; /* Needed to add space between the bullet and the text */
  	width: 1em; /* Also needed for space (tweak if needed) */
  	margin-left: -1em; /* Also needed for space (tweak if needed) */
	
}

/* Homepage Gallery Caption */
.custom-slider-caption .elementor-image-carousel-caption {
	background:#fff;
	padding:0.9rem;
	margin-top:-5px;
}
.custom-slider-caption .elementor-swiper-button {
	background:rgba(255,255,255,0.6);
	border-radius:50%;
	padding:0.5rem;
}

/* Custom Accordion */
.custom-accordion .elementor-accordion-item::after {
	content:"";
	display:block;
	height:1px;
	background:#ccc;
	margin-bottom:10px;
}

/* Custom Image Box with White Background */
.custom-image-box-bg .elementor-image-box-img {
	    background: #fff;
    border-radius: 50%;
    padding: 10px;
    height: 70px;
    width: 85px;
    text-align: center;
    line-height: 5rem;
}
.custom-image-box-bg .elementor-image-box-img img {
	margin:0 auto;
	text-align:center;
	width:42px; 
	height:42px;
}

/* Custom Testimonial Box */
.custom-testimonial-box .elementor-testimonial-content {
	padding:30px;
	background:#fff;
	border:1px solid #95c72a;
	border-radius:5px;
	position:relative;
	min-height:230px;
}
.custom-testimonial-box .elementor-testimonial-meta {
	margin-top:50px;
}
.custom-testimonial-box .elementor-testimonial-image {
	display:none!important;
}
.custom-testimonial-box .elementor-testimonial-content::after {
    display: block;
    content: "";
    width: 30px;
    height: 21px;
    background: url(/wp-content/uploads/2020/08/down_arrow.svg) no-repeat; /* make need to change this path at some point */
    position: absolute;
    bottom: -22px;
}

/* Gravity Form Styling */

.gform_body ul {
	margin:0;
	padding:0;
}
.gform_body ul li {
	margin:0 0 2rem;
	padding:0;
	list-style:none;

}

.gform_body label {
	font-weight: bold;
	color:#1c3268;
	margin-bottom:1rem;
}

.gform_body .hidden_label label {
	visibility:hidden!important;
}

.gform_body .gfield_description {
	font-size:0.9rem;
	
}

img.gform_ajax_spinner{
	max-width:20px !important;
}

/* Only apply this to larger screen */
@media only screen and (min-width: 768px) { 
	.gform_body .field_align_left {
	float:left;
	width: 49%;
	clear:both;
	}
	.gform_body .field_align_right {
		float:right;
		width: 49%;
	}
	/*.gform_body .field_align_right::after {
		content: "."; 
   		visibility: hidden; 
	   	display: block; 
   		height: 0; 
   		clear: both;
	}
	*/
}


.gform_body input[type=date],
.gform_body input[type=email],
.gform_body input[type=number],
.gform_body input[type=password],
.gform_body input[type=search],
.gform_body input[type=tel],
.gform_body input[type=text],
.gform_body input[type=url],
.gform_body select,
.gform_body textarea {
	border:none;
	background:#e8eaf0;
	padding:0.75rem 1rem;
	color:#333;
	border-radius:5px;
}

.gform_body input::placeholder,
.gform_body select::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #999fb4;
  opacity: 1; /* Firefox */
}

.gform_body input::-ms-input-placeholder,
.gform_body select::-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #999fb4;
}

.gform_body input::-ms-input-placeholder,
.gform_body select::-ms-input-placeholder { /* Microsoft Edge */
  color: #999fb4;
}

.gform_wrapper .validation_error {
	margin-bottom:2rem;
	color:maroon;
	background:#ffe2e3;
	border:1px solid #e99ca0;
	padding:1rem;
}

.gform_body .gfield_description.validation_message {
	color:maroon;
}
.gform_body .gfield_error input,
.gform_body .gfield_error select,
.gform_body .gfield_error textarea{
	background:#ffe2e3!important;
}

.gform_footer input[type=submit] {
	color: #1C3268;
    border-color: #95C72A;
    font-weight: bold;
    border-radius: 30px;
    background-color: #95C72A;
	padding:0.5rem 3rem;
}
.gform_footer input[type=submit]:hover {
	/* no styling for hover? */
}

textarea:focus,
input:focus{
    outline: none!important;
}

/* Newsletter Form */
#gform_1 {
	display:flex;
}
#gform_1 .gform_body {
	flex: 1;
}
#gform_1 ul.gform_fields {
	display:flex;
	justify-content:center;
	align-items: center;
	width:100%;
}
#gform_1 ul.gform_fields > li {
	flex:1;	
	margin-right:1rem;
}

#gform_1 .gform_footer {
	align-self: center;
}


#gform_1 .gform_footer input[type=submit] {
    color: #fff;
    border-color: #1C3268;
    background-color: #1C3268;
    padding: 0.75rem 3rem;
}

/* Instagram Feed */
.sbi_photo_wrap .sbi-screenreader {	
    text-indent: 0!important;
    display: block!important;
    width: 100%!important;
	height:auto!important;
    min-height: 90px!important;
    line-height: 1.5rem!important;
    text-align: left!important;
    color: #1C3268;
    background: #fff;
    position: absolute;
    bottom: -90px;
    padding: 0.5rem;
    text-align: center!important;
	border:1px solid #eee;
	border-top:none;
}
.sbi_photo_wrap .sbi_photo {
    margin-bottom: 90px;
}
#sb_instagram #sbi_load .sbi_load_btn,
#sb_instagram .sbi_follow_btn a{
	color: #1C3268!important;
    border-color: #95C72A!important;
    font-weight: bold!important;
    border-radius: 30px!important;
    background-color: #95C72A!important;
    padding: 0.75rem 3rem!important;
	font-size:1rem;
}
#sb_instagram .sbi_follow_btn a {
	background-color:#1C3268!important;
	border-color:#1C3268!important;
	color:#95C72A!important;
	max-width:272px;
	position:relative;
}
#sb_instagram .sbi_follow_btn a:focus,
#sb_instagram .sbi_follow_btn a:hover {
	outline: 0;
    box-shadow: inset 0 0 10px 20px #12234e!important;
}

/* Align button to the bottom */
.align-button-bottom  {
	min-height:345px!important;
}
.align-button-bottom .elementor-widget-button {
	position:absolute;
	bottom:0;
	left:0;
}

.align-button-bottom .elementor-cta__button-wrapper {
	position:absolute;
	bottom:25px;
}
.align-button-bottom  .elementor-cta__content {
	min-height:360px;
	align-content:start;
}

/* Homepage Instagram */
.homeigfeed #sbi_images > div {
	min-height:300px!important;
/* 	width: 19%!important;
    margin: 0 0.5%!important; */
	
}
.homeigfeed .sbi_photo_wrap {
	width:95%;
}


/* Staff Slider */

.staffslider#elementor-popup-modal-754 {
    background-color: #1c3268;
}

.staffslider#elementor-popup-modal-754 .dialog-widget-content {
    background: transparent;
    box-shadow: none;
}

.staffslider#elementor-popup-modal-754 .dialog-message {
    overflow: hidden;
}

.staffslider .elementor-slides .swiper-slide-bg{
    transition: all 0.25s;
    height: 50%;
    min-width: 350px;
    min-height: 350px;
    border-radius: 50%;
    max-width: 350px;
    margin: auto;
    border: #fff 10px solid;
}

.staffslider .elementor-754 .elementor-element.elementor-element-b698717 .swiper-slide-contents{
    position: absolute;
    top: 70%;
}

.staffslider p.green-text {
    font-size: 12px;
    color: #4ddc4d;
    font-weight: normal !important;
}

.staffslider .elementor-slides .swiper-slide-inner .elementor-slide-heading:not(:last-child) {
    margin-bottom: 5px;
    font-weight: normal !important;
}

.staffslider p.desc-text {
    font-size: 12px;
    font-weight: normal !important;
}


.staffslider#elementor-popup-modal-754 .dialog-close-button {
    display: none;
}

.staffslider .eicon-chevron-left:before, .staffslider .eicon-chevron-right:before {
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    height: 30px;
    width: 30px;
}

.staffslider .elementor-widget-slides .elementor-slide-description {
    font-family: inherit;
    font-weight: normal;
}

.staffslider .elementor-swiper-button-prev,
.staffslider .elementor-swiper-button-next{
    top: 30%;
}



/* FAQ Page */

#faq-section ul {
    margin-bottom: 15px;
}

#faq-section .custom-accordion .elementor-accordion-item::after {
    content: "";
    display: block;
    height: 1px;
    background: #ccc;
    margin-bottom: 0;
}


/* Homepage */

.home #whathappen .elementor-post__text {
    width: 100%;
    padding: 20px 25px 35px;
    position: relative;
    height: 320px;
}

.home #whathappen .elementor-post__read-more {
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    bottom: 23px;
}

.home .gform_wrapper .validation_error {
    margin-bottom: 0;
    color: maroon;
    background: unset;
    border: none;
    padding: 0;
    height: fit-content;
    position: absolute;
    top: -5px;
}

#gform_wrapper_1.gform_validation_error .gform_footer{
	margin-bottom:21px;
}

/* Team Slider */

.our-team-wrapper .our-team-item{
	width:80% !important;
}

.our-team-wrapper .our-team-item > img{
	object-fit:cover;
	width:380px !important;
	height:380px !important;
}

.our-team-wrapper .our-team-item p{
	width:95% !important;
	font-size:15px !important; 
}

.our-team-wrapper::after,
.our-team-wrapper::before{
	width:14% !important;
	top: -26px !important;
}

.page-id-706 .elementor img{
	border-radius: 200px;
	border-color: #fff !important;
	max-height: 350px;
    width: 100%;
    max-width: 350px;
    object-fit: cover;
}

.page-id-706 .elementor-image-box-img{
	max-width:350px;
	width: 100% !important;
    max-height: 350px !important;
}

/* Boxed Tiles */

.elementor-inner .elementor-widget-wrap{
	flex-flow:column nowrap;
}

.elementor-inner .elementor-widget-wrap .elementor-widget-button{
	margin-top: auto;
	position:inherit;
}

/* General Responsive */

@media screen and (max-width:1199px){
	.elementor-61 .elementor-element.elementor-element-2c56d81{
		padding:10px 10px 100px 10px !important;
	}
	
	#breadcrumbs{
		padding-left:20px;
	}
	
	.elementor-6 .elementor-element.elementor-element-1569070 > .elementor-element-populated{ 
		margin-right:20px; 
	}

	.elementor-post-navigation .elementor-post-navigation__separator-wrapper{
		padding-left: 10px;
		padding-right: 10px;
	}

	.elementor-8 .elementor-element.elementor-element-35a96128{
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.align-button-bottom{
		min-height: 400px !important;
	}
	
	.elementor-element-d4fd764{
		padding: 0 20px;
	}
	
}

@media screen and (max-width:991px){
	.elementor-61 .elementor-element.elementor-element-10819d0 > .elementor-element-populated{
		padding: 10px 0px 10px 30px !important;
	}
	
	.align-button-bottom{
		min-height: 450px important;
	}
	
	#slider-section .swiper-slide-contents{
		max-width:100%;
		width:100% !important;
	}
	
	.page-id-706 .elementor-706 .elementor-row{
		flex-direction:column;
		align-items:center;
	}
	
	.page-id-706 .elementor-706 .elementor-row{
		flex-direction:column;
		align-items:center;
	}
	
	.page-id-706 .elementor-706 .elementor-column{
		width:100% !important;
	}
	
	.our-team-wrapper .our-team-item {
		width:100% !important;
	}
	
	.our-team-wrapper::after,
	.our-team-wrapper::before{
		display:none;
	}
	
	button.flickity-button{
		display:none !important;
	}

}

@media screen and (max-width:767px){
	.elementor-swiper-button{
		display:none !important;
	}
	
	.home .elementor-cta--skin-classic .elementor-cta__content{
		height: auto!important;
    	min-height: 300px;
	}
	
	.elementor-61 .elementor-element.elementor-element-10819d0 > .elementor-element-populated{
		padding: 0 30px !important;
	}
	
	.elementor-element[data-id="96215f3"] .elementor-widget-wrap{
		height:435px;
	}
	
	#sb_instagram .sbi_photo{
		height:188px !important;
	}
	
	.elementor-61 .elementor-element.elementor-element-c102fce{
		padding:50px 0px 50px 0px !important;
	}
	
	.elementor-element[data-id="cbdedd5"]{
		padding-left:10px;
		padding-right:10px;
	}
	
	.elementor-6 .elementor-element.elementor-element-1569070 > .elementor-element-populated{ 
		margin-left:20px; 
	}
	.elementor-61 .elementor-element.elementor-element-2c56d81{
		padding:0 !important;
	}
	.elementor img{
		width:100%;
	}
	
	.elementor-46 .elementor-element.elementor-element-774afdbb{
		padding:5% 5% 0% 5% !important;
	}

	.elementor-element .elementor-column-wrap,
	.elementor-element-835cbe7{
		margin-right: 10px !important;
    	margin-left: 10px !important;
    	margin-bottom: 20px !important;
	}
	.elementor-294 .elementor-element.elementor-element-fc72b3c,
	.elementor-247 .elementor-element.elementor-element-6e11764,
	.elementor-247 .elementor-element.elementor-element-fc72b3c,
	.elementor-296 .elementor-element.elementor-element-fc72b3c,
	.elementor-344 .elementor-element.elementor-element-1fbefd4{
		margin-bottom: 0 !important;
	}
	
	.elementor-element-ee0eb8f{
		text-align:center;
	}
	
	.elementor-46 .elementor-element.elementor-element-606ba8c1 > .elementor-element-populated{
		padding:10% 10% 0% 10% !important;
	}
	
	.elementor-46 .elementor-element.elementor-element-209d0b22 > .elementor-element-populated,
	.elementor-46 .elementor-element.elementor-element-25ad0126 > .elementor-element-populated{
		padding:0% 10% 0% 10% !important;
	}
	
	.elementor-46 .elementor-element.elementor-element-547e7023{
		padding:0 !important;
	}
	
	.home #whathappen .elementor-post__read-more {
	 	font-size: 16px;
    	padding: 15px 30px;
    	border-radius: 30px;
	}
	
	#gform_wrapper_2{
		margin-bottom:20px;
	}
	
	.elementor-slide-heading{
		font-size:48px !important;
	}
	
	.our-team-wrapper .our-team-item > img{
		width:300px !important;
		height:300px !important;
	}
}

@media screen and (max-width:640px){
	#sb_instagram .sbi_photo{
		height:223px !important;
	}
	
	.sbi_photo_wrap .sbi-screenreader{
		padding:1.5rem !important;
	}
}

@media screen and (max-width:550px){
	#slider-section .swiper-slide-contents{
		max-width:100%;
		width:100% !important;
	}
	
	#gform_1{
		flex-direction:column;
	}
	
	#field_1_2{
		margin-right:0 !important;
	}
	
	.home .validation_error{
		position:inherit !important;
		top:0;
	}
}

@media screen and (max-width:480px){
	.elementor-slide-heading{
		font-size:45px !important;
	}
	
	.align-button-bottom .elementor-widget-button{
		bottom:-11px;
	}
	
	.page-id-706 .elementor img{
		max-width: 266px;
		max-height: 266px;
	}
}

@media screen and (max-width:450px){
	.elementor-element[data-id="6e93415c"] span{
		word-break: break-all;
	}
}

@media screen and (max-width:400px){
	
	.elementor-61 .elementor-element.elementor-element-07782c2 .elementor-post__excerpt p{
		font-size:14px !important;
	}
	
	.elementor-61 .elementor-element.elementor-element-f075439 .elementor-cta__description,
	.elementor-61 .elementor-element.elementor-element-b2fa566 .elementor-cta__description,
	.elementor-61 .elementor-element.elementor-element-0b00aae .elementor-cta__description{
		font-size:14px;
	}
	
	.elementor-element-1569070 .elementor-column-wrap{
		margin:0 !important;
	}
}

@media screen and (max-width:360px){
	.elementor-slide-heading{
		font-size:38px !important;
	}
}
@media screen and (min-width:768px){
	.elementor-section.elementor-section-height-full{
		height: 100% !important;
	}

}
@media screen and (max-width:768px){
	.elementor-element-07782c2 .elementor-posts-container article:not(:first-child) {
    	display:none!important;
	}

}
	

/* IE Fixes */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.sbi_follow_btn svg{
		position:absolute;
		left:-88px;
		top:18px;
	}
	
	.sbi_follow_btn a{
		padding-right:30px !important;
	}
	
	.elementor-msie .elementor-61 .elementor-element.elementor-element-07782c2 .elementor-post{
		padding-right:0 !important;
		padding-left: 0 !important;
		max-width:359px;
		margin:auto;
	}
	
	.elementor-inner .elementor-widget-wrap{
		flex-flow: inherit !important;
	}
	
	
}

.gfield.gf_invisible {
	display:none!important;
}