

p {
  padding: 0 0 1em;
}
h1, h2, h3, h4, h5, h6 {
  padding: 0 0 0.4em;
}

h1 {
	font-size: 1.5em;
}

h2 {
	font-size: 1.17em;
}

h3 {
	font-size: 1em;
}

body {
	font-family: 'Open Sans', serif;
	font-size: 15px;
	max-width: 1024px;
	height: 100%;
	margin: auto;
	/* background-color:#e6f4fc;  */
	/* background-color: rgba(255,255,255,0.8);  */
	background-repeat: no-repeat;
    background-attachment: fixed;
	background-size: cover;
	padding: 0% 0%;
	background-image: url("../images/crossword.png") /* Background pattern from subtlepatterns.com */
}
	
header {
	padding: 20px 40px;
	text-align:left;
	
	/* font-family: 'Open Sans Condensed', sans-serif; */
}

.headerimage {
	position: relative;
	widtH: 100%;
}

.headerspan {
	position: absolute;
	top: 50px;
	left: 0;
	width: 100%;
	letter-spacing: -1px;
}

.headertext {
	
}

img {
	max-width: 100%;
	height: auto;
}

img.fig {
	max-width: 100%;
	height: auto;
}

.scrolloff {
        pointer-events: none; /* This property causes the W3C CSS Validation to fail since it is still in beta */
    }

.mapwrapper {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.mapwrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

header img {
	margin: auto;
	max-width: 100%;
	height: auto;
}



.main {
	padding: 20px 40px;
}

.aboutimg {
	width: 300px;
	height: 300px;
	float: right;
}

.floatleft {
	float: left;
	margin: 0px 15px 15px 0px;
}

.floatright {
	float: right;
	margin: 0px 0px 15px 15px;
}

.doctorleft {
	max-width:95%; 
	height: auto;
}

.leftimagetop {
	vertical-align:top;
}

/* lists, nav */

nav {
	padding: 10px 40px;
	
	text-align:center;
	/* border-top: 1px solid #C0C0C0; */
}

nav ul {
    list-style-type: none;
	border-bottom: 1px solid rgb(205,0,0);
    margin: 0;
    padding: 0;
	overflow: hidden;
}

nav li {
	display:inline; 
    /* float: left; */
}

nav li a {
	/* display: block; */
     display: inline-block; 
    text-align: center;
	font-size: 1.2em;
    padding: 2px 40px 8px 0px;
    text-decoration: none;
}

nav li a.hover {
 	font-weight: bold;
 	color: rgb(205,0,0);
	
}
.active, nav.sub li a.active {
	font-weight: bold;
	color: rgb(205,0,0);
	
}

nav.sub {
	padding: 0px 40px;
}

nav.sub ul {
	border: none;
}

nav.sub li a {
	font-size: 0.9em;
    padding: 0px 40px 8px 0px;
}

a {
/* 	font-weight: bold;
 */	color: rgb(88,88,88);
	text-decoration: none;
}

a:hover {
	font-weight: bold;
 	color: rgb(205,57,57);
}

/* sticky footer related start */

* {
	margin: 0;
	padding: 0;
}


html{
	height: 100%;
	overflow-y: scroll;
}

.wrapper {
	min-height: 100%;
	margin: 20px auto -120px; /* the bottom margin is the negative value of the footer's height */
	/* background-image: url("../images/crossword_trans.png");  */
	 background-color: rgba(255,255,255,0.9); 
	box-shadow: 2px 2px 10px 3px  #888888; 
}

.push {
	height: 120px; /* '.push' must be the same height as 'footer' */
	
}

.footercontent {
	border-top: 1px solid rgb(205,0,0);
	padding: 20px 0px;
}

.footer {
	height: 120px;
	padding: 20px 40px;
}

.times td { 
	padding: 0px 10px 0px 0px; 
}

/* sticky footer related end */

.clickable {
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;     
  z-index: 1;
}

ul.sitemap
{
	padding: inherit;
}

ul.events
{
	padding:inherit;
}
ul.events li
{
	padding-top:10px;
	/* border-bottom: 1px solid #000; */
}

ul.cv {
	padding: 10px 10px 10px 30px;
}

ul.rig {
	list-style: none;
	font-size: 0px;
	margin-left: -2.5%; /* should match li left margin */
}
ul.rig li {
	display: inline-block;
	padding: 10px;
	margin: 0 0 2.5% 2.5%;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 16px;
	font-size: 1rem;
	vertical-align: top;
	box-shadow: 0 0 5px #ddd;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	overflow: hidden;
}
ul.rig li img {
	/* max-width: 100%;
	height: auto;
    overflow: hidden;
	margin: 0 0 0; */
	position:relative;

}
ul.rig li h3 {
	margin: 0 0 5px;
}
ul.rig li p {
	font-size: .9em;
	line-height: 1.5em;
	color: #999;
}

.thumb {
    display: inline-block;
     width: 100%;
    height: 180px;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
	position: relative;
}

.thumb a {
	font-size:0;
}

/* class for 2 columns */
ul.rig.columns-2 li {
	width: 47.5%; /* this value + 2.5 should = 50% */
}
/* class for 3 columns */
ul.rig.columns-3 li {
	width: 30.83%; /* this value + 2.5 should = 33% */
	height: 200px;
}
/* class for 4 columns */
ul.rig.columns-4 li {
	width: 22.5%; /* this value + 2.5 should = 25% */
}


@media (max-width: 480px) {
	ul.grid-nav li {
		display: block;
		margin: 0 0 5px;
	}
	ul.grid-nav li a {
		display: block;
	}
	ul.rig {
		margin-left: 0;
	}
	ul.rig li {
		width: 100% !important; /* over-ride all li styles */
		margin: 0 0 20px;
	}
	
	header {
		display: none;
	}
}
	

@media (max-width: 720px) {
	.floatright, .floatleft {
		float: none;
		margin: 0px;
	}
}

/* Container needed to position the button. Adjust the width as needed */
.container {
  position: relative;
  width: 100%;
}

/* Style the button and place it in the middle of the container/image */
.appointment_btn {
  background-color: rgb(205,0,0);
  color: white;
  font-size: 15px;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  border-radius: 0px;
  white-space: nowrap;
  text-align: center;
  font-family: inherit;
}

.appointment_btn:hover {
  background-color: rgb(185,0,0);
}