/*
Theme Name: Anderson Veterinary Service
Theme URI: https://www.andersonveterinaryservice.com
Author: Ashley Morrison
Author URI: https://www.ashleymorrison.design
Description: This theme is designed to replace current DoctorM Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andersonveterinaryservice
Tags:transition-ready, private-use
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*RESET=======================*/
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {
	display: block;
}

audio[controls],canvas,video {
	display: inline-block;
*display: inline;*zoom: 1;
}

html {
	overflow-y: scroll;
/* 1 */
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
/* 2 */
	-webkit-text-size-adjust: 100%;
/* 3 */
	-ms-text-size-adjust: 100%;
}

body,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,em,img,strong,fieldset,label,article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	list-style: none;
}

html,body,textarea,input {
	-webkit-text-size-adjust: none;
}

:focus {
	outline: 0;
}

/*GLOBALS====================*/



img {
	width:100%;
	vertical-align: middle;
	outline: 0;
}

.bold{
	font-weight:700;
}

.italic{
	font-style: italic;
}

.center{
	text-align: center;
}

a {
	color:#000000;
	text-decoration: none;
}

a:hover{
	color:#2b447f;
	transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}

p{
	padding-bottom:30px;
	line-height:1.75em;
}

h1, h2, h3{
	font-weight:700;
}

h1{
	font-size:35px;
	padding-bottom:1%;
}

h2{
	font-size:26px;
}

h3{
	font-size:24px;
}

.white{
	color:#FFFFFF;
}

.underline{
	text-decoration: underline;
}

hr {
    margin: 10px 0 20px;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #ffffff;
    border-top: 1px solid #ebebeb;
}

.wp-block-separator{
    margin: 20px 0 30px;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #ffffff;
    border-top: 1px solid #ebebeb;

}

strong{
	font-weight:700;
}



.wp-block-button__link {
	text-transform: uppercase;
	font-size:18px !important;
    background-color: #32373c;
    border-radius: 5px;
    text-decoration: none;
    padding: 10px;
    font-size: 1.125em;
}

img{
	width:100%;
	height:auto;
	border-radius: 5px;
}


/*ANIMATION====================*/

/* Fade-in animation */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.fade-medium{
	animation: fadeIn ease 1s;
  		-webkit-animation: fadeIn ease 1s;
  		-moz-animation: fadeIn ease 1s;
  		-o-animation: fadeIn ease 1s;
  		-ms-animation: fadeIn ease 1s;
}

.fade-slow{
	animation: fadeIn ease 4s;
  		-webkit-animation: fadeIn ease 3s;
  		-moz-animation: fadeIn ease 3s;
  		-o-animation: fadeIn ease 3s;
  		-ms-animation: fadeIn ease 3s;
}

.fade-in-delay{
	opacity: 0;
  animation-name: fadeIn;
  animation-duration: .5s;
  animation-timing-function: ease-in-out;
  animation-delay: .5s; /* Delay the start of the animation by 2 seconds */
  animation-fill-mode: forwards; /* Ensures the element stays visible after animation */
}


.slideInDown {
    animation: slideInDown 1s ease-in-out; /* remove infinite */
}

.fadeABit{
    webkit-animation-name: fadeAbit;
    animation-name: fadeAbit;
}

.animated{
	webkit-animation-duration:1s;
	animation-duration:1s;
	webkit-animation-fill-mode:both;
	animation-fill-mode:both;
}


.fade-down-element {
    animation-name: fadeInDown;
    animation-duration: .75s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

/*BODY====================*/


body{
	width:100%;
	height:auto;
	background-color:#FFFFFF;
	margin:0px;
	padding:0px;
	font-size:18px;
	font-family:montserrat, sans-serif;
}

.container{
	width:90%;
	max-width:1200px;
	height:auto;
	margin:auto;
	padding:0px;
}


/*HEADER====================*/

header{
	width:100%;
	height:auto;
}

#header-info{
	width:100%;
	height:auto;
	margin:0px;
	padding:2% 0;
	display:flex;
	flex-direction:row;
}

#header-info-left{
	width:30%;
	height:auto;
}

#header-info-right{
	width:70%;
	height:auto;
	text-align:right;
}

#logo{
	width:275px;
}

#cta-phone{
	display:none;
}

/*MENUS====================*/

nav{
	background-color:#98b9f5;
	text-align:center;
	text-transform:uppercase;
}

ul#menu-main-navigation{
	margin:0px;
	padding:0px;
	list-style: none;
	display:flex;
	justify-content: center;
	text-align: center;
}

ul#menu-main-navigation li{
	height:auto;
}

ul#menu-main-navigation li a{
	display:block;
	color:#FFFFFF;
	width:165px;
	height:60px;
	line-height:60px;
	font-weight:700;
}

ul#menu-main-navigation li a:hover{
	color:#333333;
}

#mega-menu-wrap-main-navigation #mega-menu-main-navigation a.mega-menu-link .mega-description-group .mega-menu-description {
    display:none;
}


/*PAGES====================*/

#page{
	padding-top:0px;
	width:100%;
	max-width:100%;
}

#hero-mobile{
		display:none;
}


#featured-section{
	padding-bottom:20px;
}

.video_holder {
    height:700px;
    position:relative;
    overflow:hidden;
}

.video_holder .wp-block-video {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100% !important;
    object-fit: cover;
}

#featured-section{
	padding:0px;
}


#featured-circles{
	display:flex;
	flex-direction: row;
	justify-content: space-between;
	margin-top:-100px;
	z-index:100;
}

#featured-circles a{
	display:inline-block;
	border: 20px solid #FFFFFF;
	border-radius:50%;
}

.box {
	 width: 25%;
    float: left;
    box-sizing: border-box;
    padding: 15px;
  }


.box a{
	position:relative;
}

.box a:hover:before{
	opacity:65%;
}

.box a:before{
	background-color:#3d5088;
	top: 30px;
 	left: 30px;
  bottom: 30px;
  right: 30px;
  content: "";
  position: absolute;
  border-radius: 50%;
  transition: all 0.2s ease-out;
  opacity: 0;
}

	.cube-image{
		height: 250px;
    border-radius: 50%;
    width: 250px;
    display: block;
    background-position: 50% 50%;
    background-size: cover;
    transition: all 0.3s ease-in-out;
    margin: 0px;
  }

.box a:after{
    color: #ffffff;
    content: '\f0c1';
    display: block;
    font-family: FontAwesome;
    font-size: 80px;
    left: 0;
    line-height: 80px;
    margin-top: -35px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
    transition: all 0.2s ease-out;
    opacity: 0;
}

.box a:hover:after{
	opacity:1;
}

#featured-list{
	width:100%;
	height:auto;
	display: none;
	flex-direction: column;
}

.featured-list-item{
	padding:5% 0;
	background-color:#e9f0fb;
	border-bottom:1px solid white;
	text-align: center;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    top: 300px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size:50px;
    font-weight:700;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

#welcome-section{
	position:relative;
}

.right-half{
    width: 50%;
    padding: 110px;
    box-sizing: border-box;
    margin: 0px auto;
    margin-right: 0px;
    position:relative;
    background-color:#98b9f5;
}

.right-half:before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 50px 50px 0;
    border-color: transparent #98b9f5 transparent transparent;
    content: "";
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.left-half{
    width: 50%;
    position: absolute;
    height: 100%;
    left: 0px;
    top: 0px;
    background-position: -300px 25px;
    background-attachment: fixed;
    background-size: cover;
}

#services-section{
	width:100%;
	height:auto;
	padding-top:7%;
	padding-bottom:7%;
}

#services{
	width:100%;
	height:auto;
	display:flex;
	flex-direction: row;
	justify-content: center;
	padding-top:2%;
}

.service{
	width:250px;
	height:auto;
	margin: 0 10px;

}

.service img{
	border-radius:10px;
}

.service h3{
	margin-top:5%;
}

.left-half-lower{
    width: 50%;
    position: absolute;
    height: 100%;
    left: 0px;
    top: 0px;
    background-position: 50% 50%;
    background-attachment: fixed;
    background-size: 90%;
    background-position-x: -150px;
}

#reviews-section{
	background-color: #e9f0fb;
	padding:4% 0;
}

#h1-wrapper{
}

.wp-block-image img{
	border-radius: 5px;
}

#page-content{
	padding:3% 0;
}

#thumbnail {
	width:300px;
	height:auto;
	float:left;
	padding:0% 2% 2% 0;
}

#cta{
	width:100%;
	height:auto;
	border-top:1px solid #efefef;
	padding:3% 0 0 0;
	margin-top:1%;
}

#breadcrumbs-wrapper{
	width:100%;
	height:auto;
	background-color: #e9f0fb;
	padding:.75% 0;
	text-align: center;
}

.aioseo-breadcrumbs{
	font-size: 11px;
	text-transform: uppercase;
	color:#98b9f5;
	padding-left:5px;
}

.aioseo-breadcrumb:last-child{
	padding-left:5px;
}

.aioseo-breadcrumbs a{
	font-size: 11px;
	text-transform: uppercase;
	color:#98b9f5;
	padding: 0 5px;
}

ul{
	border:1px #ebebeb solid;
	padding:2% 0 2% 30px;
	margin-bottom:5%;
	border-radius:10px;
}

#page-content li{
	padding:5px;
	line-height: 1.75em;
}

#job-title{
	padding:0 0 1% 0;
}


/*FOOTER====================*/

footer{
	background-image: url('img/footer-dog-flowers-dark.jpg');
	padding-top:3%;
}


@media only screen and (max-width:1180px) {
	
	#featured-circles{
		display:none;
	}

	#featured-list{
		display:flex;
	}

	#hero{
		display:none;
	}

	#hero-mobile{
		display:block;
	}

	.left-half{
		display:none;
	}

	.left-half-lower{
		display:none;
	}

	.right-half{
		display:none;
	}

	#services{
		padding:5% 0;
		flex-wrap: wrap;
	}

	.service{
		width:100%;
	}

	.service h3{
		margin-bottom:15%;
	}


	

}

@media only screen and (max-width:820px) {

#cta-phone{
	display:block;
	width:100%;
	height:auto;
	min-height:50px;
	background-color: #2f4782;
	line-height:50px;
	text-align: center;
}

#header-info{
	flex-direction: column;
}

#header-info-left{
	width:100%;
}

#header-info-right{
	display:none;
}

#logo{
	margin:auto;
}

#breadcrumbs{
	display:none;
}

#thumbnail{
	width:100%;
	float:none;
	padding:0px;
}

#page-content{
	padding-bottom:10%;
}

#h1-wrapper{
	margin-top:5%;
}

.video_holder .wp-block-video {
    position: inherit;
    top: inherit;
    left: inherit;

}

.video_holder{
	height:auto;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    top: 100px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}



.box{
	width:100%;
	height:auto;
	float:none;
}

.sbr-owl-dots {
	display:none;
    text-align: center;
    padding: 5px 0;
    margin-top: 5px;
}





}