/*
Theme Name: VEC
Description: Custom theme for VEC
Author: Kleurvision Inc
Template: boilerplate
*/

@import url(../boilerplate/style.css);
@import url(https://fonts.googleapis.com/css?family=Droid+Sans:400,700); /*	font-family: 'Droid Sans', sans-serif;*/
html, body {
	height: 100%;
}
body {
	font-size: 100%;
	line-height: 120%;
	color: #53585a;
	font-family: helvetica, arial, sans-serif;
	background: url(images/sub_bg.jpg) repeat-x;
}

sub{
	top: -0.15em;
}

.nav a{
	outline: none;
}

#skip {
	padding:6px;
	position: absolute;
	top:-100px;
	left: 20px;
	color:#fff;
	border-right:1px solid #094c8a;
	border-left:1px solid #094c8a;
	border-bottom:1px solid #094c8a;
	-webkit-border-bottom-right-radius:8px;
	-webkit-border-bottom-left-radius:8px;
	-moz-border-radius-bottomright:8px;
	-moz-border-radius-bottomleft:8px;
	border-bottom-right-radius:8px;
	border-bottom-left-radius:8px;
	background:transparent;
	-webkit-transition: top .7s .5s ease-out, background .7s linear;
    -moz-transition: top .7s .5s ease-out, background .7s linear;
    -o-transition: top .7s .5s ease-out, background .7s linear;
    transition: top .7s .5s ease-out, background .7s linear;
}
#skip:focus {
	position:absolute;
	left: 20px;
	top:0px;
	background:#094c8a;
	outline:none;
	-webkit-transition: top .1s ease-in, background .25s linear;
    -moz-transition: top .1s ease-in, background .25s linear;
    -o-transition: top .1s ease-in, background .25s linear;
    transition: top .1s ease-in, background .25s linear;
}
h1, h2, h3, h4, h5, h6 {
	margin: .5em 0;
	font-weight: 400;
	padding-left: 30px;
	display: inline-block;
	line-height: 110%;
	letter-spacing: -0.025em;
}
.entry-content h2 {
	padding: 0;
	color: #23A9E1;

}

.entry-content h3 {
	padding: 0;
}



.ie7 h1, .ie7 h2, .ie7 h3, .ie7 h4, .ie7 h5, .ie7 h6 {
	display: block;
}
.entry-title {
	background: url(images/info.png) 0  top no-repeat;
	color: #23A9E1;
	display: block;
	border-bottom: 2px solid #f1f1f1;
}
h1 {
	background-position-y: .4em;
}
a,
a:visited {
	color: #23A9E1;
	text-decoration: none;
}
a:hover,
a:focus {
	color: #222;
}
.pad-left {
	padding-left: 10px;
}

.logo {

}
nav {
	margin: 0 auto;
	width: 998px;
}

nav#mainnav {
	position: absolute;
	z-index: 10;
}

#topnav {
	margin: 0 0 0 300px;
	width: 698px;
	float: right;
	position: absolute;
	z-index: 10;
}
#menu-main-navigation {
	margin: 0;
	padding: 0;
	float: right;
}
#menu-main-navigation li {
	display: block;
    float: left;
    margin-top: 0.8em;
}
.ie7 #menu-main-navigation li {
	display: inline;
}
#menu-main-navigation a,
#menu-main-navigation a:visited {
	padding: .2em .8em;
	color: #5f5f5f;
	font-size: .9em;
	font-weight: 700;
	text-decoration: none;
	display: block;
}
#menu-main-navigation a:hover,
#menu-main-navigation a:focus {
	text-decoration: underline;
}
header {
	margin: 0 auto;
	width: 998px;
	background: url(images/sub_bar.jpg) 50% 49px no-repeat;
	height: 110px;
	position: relative;
}
header h1 {
	background-position-y: 0;
	position: relative;
	top: 30px;
	color: #fff;
}
.ie7 header h1 {
	top: -60px;
	left: 280px;
}
.home header h1 {
	top: 0;
}
.ie7 .home header h1 {
	top: 0;
	left: 0;
}
#content {
	margin: 0 auto;
	width: 998px;
}
.ie7 #content {
	position: relative;
	top: -64px;
}
.ie7 .home #content {
	top: 0 !important;
}
#content {
	background: url(images/bg.jpg) repeat-y;
	overflow: auto;
}
/* Home Page Styles */
.home {
	background: url(images/hero-bg-white.jpg) 0 -21px repeat-x;
}
.home #content {
	background-image: none !important;
}
.home header {
	background: transparent center -20px no-repeat;
	margin: 0 auto 0;
	display: block;
	overflow: hidden;
	height: 530px;
	position: relative;
}

.vec_logo{
	display: block;
    height: 110px;
    left: 0;
    margin: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 280px;
    z-index: 10;
}

body.home article {
  border-bottom: 1px solid #D2D3CC;
}

.hero {
	width: 980px;
	background-color: transparent !important;
	height: 346px;
}

.heroSlider {
height: 346px;
overflow: hidden;
position: relative;
width: 998px;
}

.heroContent {
  position: absolute;
  top: 150px;
  width: 450px;
  z-index: 22;
}

.heroBkg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.heroBkg > img {
    height: 380px;
    float: right;
}

.heroContent h1 {
	margin:0;
	padding-left: 0;
	color: #fff;
	line-height: 110%;
	background-image: none;
	font-size: 1.7em;
}
.heroContent p {
	font-size: .9em;
	color: #53524f;
}
.locations {
  color: #FFFFFF;
  float: left;
  font-size: 0.9em;
  margin: 0 auto;
  overflow: auto;
  padding: 0 0 25px 30px;
  position: absolute;
  bottom: 85px;
  width: 970px;
  z-index: 20;
  background: #094c8a;
  border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;
  -moz-box-shadow:    0px -2px 0px 6px rgba(0,0,0,0.15);
  -webkit-box-shadow: 0px -2px 0px 0px rgba(0,0,0,0.15);
  box-shadow:         0px -2px 0px rgba(0,0,0,0.15);
  behavior: url(/PIE/PIE.htc);
}

.locations .homeAlert {
	color: red;
	font-weight: normal;
	font-size: 0.9em;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
	display: none;
}

/*
.ie7 .locations {
	margin-top: 65px;
}
.ie8 .locations,
.ie9 .locations {
	margin-top: 60px;
} */
.locations li {
	padding: 10px 0 8px;
	width: 98%;
	margin: 0 2% 0 0;
	list-style: none;
	float: left;
	position: relative;

}
.locations h2,
.locations a {
	color: #23a9e1;
}
.locations h2 {
	margin: 0;
	padding-left: 0;
	font-size: 1.1em;
	font-weight: 700;
	text-transform: uppercase;
	background-image: none;
}

.locations h3 {
    clear: both;
    color: #fff;
    display: block;
    margin: 5px 0;
    padding: 3px 0 0;
    text-transform: lowercase;
    border-top: 1px solid #0c6ac0;
    letter-spacing: 0px;
}

.locations p {
	margin: 0;
}
a.directions {
	margin-left: 20px;
	text-decoration: none;
	position: absolute;
	right: 0;
	bottom: 0px;
}
a.directions:hover,
a.directions:focus {
	text-decoration: underline;
}
.sub-nav {
  color: #FFFFFF;
  float: left;
  margin: 0 auto;
  padding: 0 0 20px;
  position: absolute;
  top: 426px;
  width: 1000px;
  z-index: 20;
}

.sub-nav li {
	margin: 0;
	padding: 16px 0 0;
	width: 198px;
	height: 76px;
	list-style: none;
	text-align: center;
	background: url(images/subnav_bg.jpg) repeat-x;
	border-right: 1px solid #22608e;
	border-left: 1px solid #4b8fbe;
	float: left;
}
.sub-nav li:hover,
.sub-nav li:focus {
	background: url(images/subnavo.jpg) repeat-x;
}
.sub-nav a,
.sub-nav a:visited {
	padding: 42px 0 0;
	color: #fff;
	text-decoration: none;
	display: block;
}
.sub-nav a:hover,
.sub-nav a:focus {
	text-decoration: none;
}
.hospitals a { background: url(images/hospital.png) 50% 0 no-repeat; }
.patientcare a { background: url(images/heart.png) 50% 0 no-repeat; }
.faq a { background: url(images/bubble.png) 50% 0 no-repeat; }
.referalVet a { background: url(images/referalVet.png) 50% 0 no-repeat; }
.contact a { background: url(images/phone.png) 50% 0 no-repeat; }

.home .services {
	width: 700px;
	font-size: .9em;
/* 	float: left; */
	display: block;
	overflow: hidden;
}
.home .services h2 {
	display: block;
}
.home .services ul {
	margin: 1em 0 0;
	width: 30%;
	padding: 0 0 0 3%;
	float: left;
}
.home .services li {
	margin-left: 9px;
}
.home .services .col2 {
	margin-top: -80px;
	margin-left: 140px;
}
.home .services .col3 {
	margin-top: -75px;
	margin-left: 370px;
}
.home .services .col4 {
	margin-top: -75px;
	margin-left: 540px;
}
.home a.appointment {
	margin: 10px;
	float: right;
}

div#reviews-widget {
	margin-top: 4em;
	border-top: 1px solid #D2D3CC;
}

div#reviews-widget h2 {
	color: #23A9E1;
	margin-bottom: 1em;
}
.news {
	border-bottom: 1px solid #D2D3CC;
	padding: 0 0 .5em 0;
	margin: 0 0 15px;
}
.news h2 {
	margin: .4em 0;
	background: url(images/news.png) no-repeat;
	color: #23A9E1;
}
.news h3 {
	color: #23a9e1;
	font-weight: 700;
	margin: .2em 0;
	padding-left: 0;
	background-image: none;
}
.news ul {
	margin: 0;
	padding: 0;
	width: 680px;
	padding-bottom: 5px;
	border-bottom: 1px solid #d2d3cc;
	float: left;
}
.news li {
	width: 45%;
	margin: 0 30px 0 0;
	padding: 0;
	list-style: none;
	float: left;
}
.news .entry-meta,
.news a {
	color: #126ba7;
	font-size: .7em;
}
.news a {
	text-decoration: none;
}
.news a:hover,
.news a:focus {
	text-decoration: underline;
}
a.morenews {
	margin-top: 5px;
	font-size: 1em;
	color: #23a9e1;
	float: right;
}
/* Sub-page Styles */
#main-content {
	margin: 0;
	padding: 0 0 50px 0;
	width: 680px;
	float: left;
}
/* Sub-page Sidebar Styles */
#sidebar {
	position: relative;
	z-index: 100;
	margin: 0;
	padding: 0 0 1em;
	width: 306px;
	float: right;
}
.services h2 {
	color: #23A9E1;
}
.services li {
	margin-left: 24px;
	list-style-image: url(images/pulse.png);
}
.services a,
.services a:visited {
	text-decoration: none;
}
a.appointment,
a.appointment:visited {
	margin: 20px;
	padding: 15px 50px 17px;
	text-align: center;
	width: 160px;
	color: #fff;
	text-decoration: none;
	display: block;
	background: url(images/appt-button.png) no-repeat;
}
a.appointment:hover,
a.appointment:focus {
	text-decoration: underline;
}
.ad {
	display:block;
    position:relative;
    right:0;
	text-align: center;
	font-size: .7em;
}
.home .ad {
	margin: 20px 0 0 60px;
}

blockquote {
	font-size: 2em;
	line-height: 1em;
	font-weight: 400;
	color: #666;
	margin: 1em 2em;
}

/* Blog styles */
.entry-utility,
.comment-meta {
	top: auto;
	background: none;
}

.clear-fix {
	clear: both;
}
/* Footer Styles */
.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -112px; /* the bottom margin is the negative value of the footer's height */
}
.footer, .push {
	height: 112px; /* .push must be the same height as .footer */
}

/*
Sticky Footer by Ryan Fait
http://ryanfait.com/

*/
footer {
	position: relative;
	z-index: 10;
	margin: 0;
	height: 112px;
	background: #126ba7 url(images/footer_bg.jpg) repeat-x;
}
#menu-footer-navigation,
.copyright {
	margin: 0 auto;
	width: 998px;
}
#menu-footer-navigation {
	padding: 10px 0 0;
}
#menu-footer-navigation li {
	margin-top: .8em;
	display: inline-block;
}
.ie7 #menu-footer-navigation li {
	display: inline;
}
#menu-footer-navigation a,
#menu-footer-navigation a:visited {
	padding: .05em .8em .2em .5em;
	color: #53585a;
	font-size: .75em;
	text-decoration: none;
	display: block;
}
#menu-footer-navigation:first-child a {
	padding-left: 0;
}
#menu-footer-navigation a:hover,
#menu-footer-navigation a:focus {
	text-decoration: underline;
}
#menu-footer-navigation li a:after {
	content: '|';
	padding-left: 10px;
}
#menu-footer-navigation li:last-child a:after {
	content: none;
}
.copyright {
	padding: 30px 0 0;
	font-size: .9em;
	color: #fff;
}
.copyright a,
.copyright a:visited {
	color: #fff;
	text-decoration: none;
}
.copyright a:hover,
.copyright a:focus {
	text-decoration: underline;
}

.alignleft {
    border: 1px solid #CCCCCC;
    float: left;
    margin: 0 1em 1em 0;
    padding: 0.25em;
}

/* PAGE/POST CONTENT
///////////////////////////////////////////////////*/
.entry-content ul, .entry-content ol {
	margin: .5em 0;
}

.entry-content p {
	margin: 0 0 1em;
}

.post-hero {
    border: 1px solid #CCCCCC;
    box-shadow: 1px 1px 1px #DDDDDD;
    width: 680px;
    margin: 15px 0 0 0
}

.post-hero img {
	border: 5px solid #FFFFFF;
	width: 670px;
}

span.sub-title {
  color: #666666;
  display: block;
  font-size: 0.6em;
  line-height: 0.99em;
  padding: 0 0 0.5em;
}

/* CONTACT PAGE
///////////////////////////////////////////////////*/

.contactHolder {
	clear: both;
	margin: 0 0 2em;
	font-size: .9em;
}

.left {
	float: left;
	width: 215px;
}

.right {
	float: right;
}

span.blue {
	color: #23a9e1;
}

span.wpcf7-form-control-wrap {
    clear: both;
    display: block;
    margin: 0.5em 0 0;
    position: relative;
}

form.wpcf7-form label {
	font-size: .9em;
}

form.wpcf7-form textarea {
	height: 100px;
}

/* MODAL BOX
////////////////////////////////////////////*/

.jqmWindow {
    display: none;

    position: fixed;
    top: 17%;
    left: 50%;

    margin-left: -300px;
    width: 600px;

    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
    z-index: 1000000;
}

.jqmOverlay { background-color: #000; z-index: 500!important;}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}




/* Quick IE Fixes, to be addressed */
.ie7_anon{
	display: none;
}

/* Top Bar */
.topBar {
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: #094c8a;
    text-align: right;
    padding: .5rem 0;
}

.topBar img {
    width: 30px;
    padding: 0.2em;
    float: right;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.topBar a {
	color: #fff;
}

div.header-alert {
	background-color: red;
	padding: 1.5em 3em;
	color: #fff;
}

/* Questionnaire Styling */

.page-id-1513 #sidebar, .page-id-1527 #sidebar{
	display: none;
}

.page-id-1513 #content, .page-id-1527 #content{
	background: none;
}

.page-id-1513 #main-content, .page-id-1527 #main-content {
	width: 100%;
}

.gform_wrapper .field_description_below .gfield_description {
    padding-top: 0px;
    font-size: 12px;
    line-height: 1rem;
}

.gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio], .gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox] {
    margin-top: 0px !important;
    margin-right: 5px;
}

.gform_wrapper ul.gfield_radio li label {
	font-size: .95rem;
}

@media (max-width: 640px) {
	.page-id-1513 #content, .page-id-1527 #content {
		width: 94%;
		padding: 15px;
	}
	
	.page-id-1513 #main-content, .page-id-1527 #main-content {
	    width: 100%;
	}
}






/* The Modal (background) */
.modal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000000000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 1% auto; /* 15% from the top and centered */
  padding: 5px;
  border: 1px solid #888;
  width: 50vw; /* Could be more or less, depending on screen size */
  text-align: center;
  
}

.modal-content img {
	max-height: 90vh;
	max-width: 50vw;
	width: auto;
}

@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
	.modal-content { 
		width: 90vw;
	}
	.modal-content img {
	max-height: 90vh;
	max-width: 90vw;
	width: auto;
}
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}