/*
* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 12/29/2014
*/


/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/


/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; }
.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box; }

/* For devices larger than 400px */
@media (min-width: 400px) {
  .container {
    width: 85%;
    padding: 0; }
}

/* For devices larger than 550px */
@media (min-width: 651px) {
  .container {
    width: 80%; }
  .column,
  .columns {
    margin-left: 4%; }
  .column:first-child,
  .columns:first-child {
    margin-left: 0; }

  .one.column,
  .one.columns                    { width: 4.66666666667%; }
  .two.columns                    { width: 13.3333333333%; }
  .three.columns                  { width: 22%;            }
  .four.columns                   { width: 30.6666666667%; }
  .five.columns                   { width: 39.3333333333%; }
  .six.columns                    { width: 48%;            }
  .seven.columns                  { width: 56.6666666667%; }
  .eight.columns                  { width: 65.3333333333%; }
  .nine.columns                   { width: 74.0%;          }
  .ten.columns                    { width: 82.6666666667%; }
  .eleven.columns                 { width: 91.3333333333%; }
  .twelve.columns                 { width: 100%; margin-left: 0; }

  .one-third.column               { width: 30.6666666667%; }
  .two-thirds.column              { width: 65.3333333333%; }

  .one-half.column                { width: 48%; }

  /* Offsets */
  .offset-by-one.column,
  .offset-by-one.columns          { margin-left: 8.66666666667%; }
  .offset-by-two.column,
  .offset-by-two.columns          { margin-left: 17.3333333333%; }
  .offset-by-three.column,
  .offset-by-three.columns        { margin-left: 26%;            }
  .offset-by-four.column,
  .offset-by-four.columns         { margin-left: 34.6666666667%; }
  .offset-by-five.column,
  .offset-by-five.columns         { margin-left: 43.3333333333%; }
  .offset-by-six.column,
  .offset-by-six.columns          { margin-left: 52%;            }
  .offset-by-seven.column,
  .offset-by-seven.columns        { margin-left: 60.6666666667%; }
  .offset-by-eight.column,
  .offset-by-eight.columns        { margin-left: 69.3333333333%; }
  .offset-by-nine.column,
  .offset-by-nine.columns         { margin-left: 78.0%;          }
  .offset-by-ten.column,
  .offset-by-ten.columns          { margin-left: 86.6666666667%; }
  .offset-by-eleven.column,
  .offset-by-eleven.columns       { margin-left: 95.3333333333%; }

  .offset-by-one-third.column,
  .offset-by-one-third.columns    { margin-left: 34.6666666667%; }
  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns   { margin-left: 69.3333333333%; }

  .offset-by-one-half.column,
  .offset-by-one-half.columns     { margin-left: 52%; }

}


/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
  font-size: 62.5%; }
body {
  font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.6;
  font-weight: 400;
  font-family: 'Lato', sans-serif; Helvetica, Arial, sans-serif;
  color: #222; }


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300; }
h1 { font-size: 2.6rem; line-height: 1.2;  letter-spacing: -.1rem; color:#004833; font-weight:bold;}
h2 { font-size: 2.2rem; line-height: 1.25; }
h3 { font-size: 2.0rem; line-height: 1.3;  }
h4 { font-size: 2.3rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* Larger than phablet */
@media (min-width: 651px) {
  h1 { font-size: 3.0rem; }
  h2 { font-size: 2.6rem; }
  h3 { font-size: 2.3rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 0; }


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color:#004833;
  text-decoration:none;
  font-weight:bold;}
a:hover {
  text-decoration: underline;}


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: #004833;
  border-radius: 4px;
  border: 1px solid #004833;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #004833;
  background-color: #fff;
  outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #FFF;
  background-color: #004833; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #004833;
  background-color: #fff; }


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 1rem; }


/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }



/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }

/* Custom
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.resize{
	width:100%;
	height:auto;
}

.nobr{
	white-space:nowrap;
}

.header{
	background-color: #F6F6F4;
	color:#333;
	text-align:right;
  padding-top: 1%;
}

.header a{
	color:#333;
	padding-left:2%;
	text-decoration:none;
}

.header a:hover{
	color:#004833;
}

@media (max-width:739px){
	.header {
		text-align:center;
	}}

.sslider-bg{
	background-image:url(../images/header-bg.jpg);
	background-position:right;
	background-size: cover;
}

.slider-bg {
    position: relative;
    overflow: hidden;
}
.slider-bg:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
    background-image: url(../images/header-bg.jpg);
    background-repeat: no-repeat;
    background-position: 50% 0;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}

.logo{
	max-width:250px;
}

/* =Nav
-------------------------------------------------------------- */
	
ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align:right;
  color:#000;
  
}

ul.topnav li {display: inline;
text-align:center;}

ul.topnav li a {
  display: inline-block;
  color: #000;
  text-align: center;
  padding-top: 7%;
  margin-right:25px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.5rem;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
}

ul.topnav li a:first-child {
	padding-left:0;
}

ul.topnav li a:hover {
	border-bottom: 3px solid #0E2B00;
	text-align:center;}

ul.topnav li.icon {display: none;}

@media screen and (max-width:717px) {
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;
  }
}

@media screen and (max-width:717px) {
  ul.topnav.responsive {position: relative;}
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }
}
@media screen and (max-width: 717px) {
  ul.topnav li:first-child {
    display: none;
  }
}

.contact {
	padding-right:0;
}


/* End of Nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.slider{
	line-height:0;
}

.cta-bg{
	background-color:rgba(255, 255, 255, 0.37);
}

.cta {
	font-size:2.0rem;
	color:#004833;
	text-transform:capitalize;
	text-align:center;
	padding:1% 0;
}

.cta img{
	max-width:60px;
}

.cta a{
	color:#004833;
}

.cta a:hover{
	color:#FFB807;
}
	
.main {
	padding: 2%;
}

.main-bg{
	background-color: #F3E7C1; /* For browsers that do not support gradients */
  background-image: linear-gradient(#F3E7C1, #FEFBF2); /* Standard syntax (must be last) */
  padding: 2% 0;
}

.contact {
	border: 1px solid #004833;
	border-radius: 15px;
	padding: 4%;
}

.newsletter p {
	margin-bottom: 0;
}

.welcome {
	background-color:#D5E489;
	padding:2%;
}

.main-right{
	text-align:right;
	width:50%;
	float:right;
	margin-left:2%;
}

.right-align {
	float: right;
	margin-left: 2%;
}

.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.thirty-three {
	width: 33%;
}

@media (max-width:650px){
	.main-right{
		width:100%;
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
	}}

.blog-div{
	text-align:center;
	padding:2% 0;
}

.blog-div h2{
	text-transform:uppercase;
}

.blog-div img{
	max-width:100px;
}

.blog-div a{
	color:#000;
	font-weight:400;
}

.blog-div a:hover{
	color:#004833;
  text-decoration: none;
}

@media (max-width:1091px){
	.blog-div h2{
		font-size:2.4rem;
	}}
	
@media (max-width:1007px){
	.blog-div h2{
		font-size:2.3rem;
	}}

.reviews{
	background-image:url(../images/reviews.jpg);
	background-size: cover;
	background-repeat:no-repeat;
	background-position: 99% 50%;
	color:#F4E806;
	font-family:"Shadows Into Light";
	font-size:2.8rem;
	font-weight:bold;
	vertical-align:baseline;
	padding-top:15%;
	padding-left:2%;
	padding-right:2%;
}

.reviews img{
	max-width:200px;
}

.reviews a{
	color:#F4E806;
	text-decoration: none;
}

.reviews a:hover{
	color:#ffffff;
}

@media (max-width:1340px){
	.reviews{
		font-size:2.4rem;}}
		
@media (max-width:1240px){
	.reviews{
		font-size:2.2rem;}
		.reviews img{
			max-width:150px;}}
			
@media (max-width:1000px){
	.reviews{
		font-size:2.0rem;}}
		
@media (max-width:950px){
	.reviews{
		font-size:1.8rem;}}
		
@media (max-width:900px){
	.reviews{
		font-size:1.5rem;}}

.google{
	text-align:right;
}

.fees{
	background-color: #F4F4F4;
	padding:2% 0;
}

.fees img{
	max-width:200px;
}

@media (max-width:650px){
	.fees{
		text-align:center;
	}}

.oda{
	text-align: center;
}

.oda img{
	max-width: 80px;
}

.association{
	padding-top:5%;
}

/* Services Menu
-------------------------------------------- */

.services-menu ul {
    list-style-type: none;
    margin: 5px;
    padding: 0;
    background-color: #D5E489;
    transition: 0.3s;
}

.services-menu li a {
    display: block;
    color: #004833;
    padding: 1px 1px;
    text-decoration: none;
	text-align: center;
	border: 1px solid transparent;
}

/* Change the link color on hover */
.services-menu li a:hover {
	border: 1px solid #ffffff;
	background: #ffffff;
}

.services-images {
  float:right;
  margin-left: 2%;
  max-width:250px;
}
@media (max-width: 500px){
  .services-images {
    float:none;
    display:block;
    margin-left: auto;
    margin-right:auto;
  }
}


.footer{
	background-color:#D5E489;
	padding:2% 0;
}

.footer a:hover{
	color:#fff;
}

.footer td{
	border-bottom:none;
	padding:12px 5px;
}

.google-maps {
	position: relative;
	padding-bottom: 70%; // This is the aspect ratio
	overflow: hidden;
	margin-bottom:5%;
}

.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.google-maps2 {
	position: relative;
	padding-bottom: 25%; // This is the aspect ratio
	height: 0;
	overflow: hidden;
}

.google-maps2 iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}


@media (max-width:650px){
	.footer{
		text-align:center;
	}
	.footer div{
		padding-bottom:2%;
	}
	.footer table{
		margin-left:auto;
		margin-right:auto;}}
		
.footer2{
	font-size:1.0rem;
}

.uponline{
	text-align:right;
}

.uponline img{
	max-width:100px;
}




/* Slider
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.accordion {
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin: 0px auto;
  z-index: 2;
}

.accordion ul {
  width: 100%;
  display: table;
  table-layout: fixed;
  margin: 0;
  padding: 0;
}

.accordion ul li {
  display: table-cell;
  vertical-align: bottom;
  position: relative;
  width: 16.666%;
  height: 350px;
  background-repeat: no-repeat;
  background-position: center center;
  transition: all 500ms ease-in-out;
}

.accordion ul li div {
  display: block;
  overflow: hidden;
  width: 100%;
}

.accordion ul li div a {
  display: block;
  height: 350px;
  width: 100%;
  position: relative;
  z-index: 3;
  vertical-align: bottom;
  padding: 15px 20px;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
  /*filter: invert(100%);*/
  text-decoration: none;
  font-family: Open Sans, sans-serif;
  transition: all 300ms ease-in-out;
}

.accordion ul li div a * {
  opacity: 0;
  margin: 0;
  width: 100%;
  text-overflow: ellipsis;
  position: relative;
  z-index: 5;
  white-space: nowrap;
  overflow: hidden;
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
  -webkit-transition: all 400ms ease-in-out;
  transition: all 400ms ease-in-out;
}
.accordion ul li div a h2 {
  font-family: Montserrat, sans-serif;
  text-overflow: clip;
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 2px;
  top: 160px;
}

.accordion ul li div a p {
  top: 160px;
  font-size: 18px;
  padding-left: 1em;
}

.accordion ul li:nth-child(1) { 
  background-image: url("http://www.northyorkdentalcentre.com/images/slider-general-dentistry-narrow-new.jpg"); 
  background-position: 50% 30%;
}

@media (max-width: 1240px) {
.accordion ul li:nth-child(1) { 
  background-image: url("http://www.northyorkdentalcentre.com/images/slider-general-dentistry-narrow-new.jpg"); 
  background-position: 50% 30%;
}
}

.accordion ul li:nth-child(2) { 
  background-image: url("http://www.northyorkdentalcentre.com/images/slider-orthodontics.jpg"); 
 background-position: 70% 0%;
}

@media (max-width: 1240px) {
.accordion ul li:nth-child(2) { 
  background-image: url("http://www.northyorkdentalcentre.com/images/slider-orthodontics-narrow.jpg"); 
 background-position: 70% 0%;
}
}

.accordion ul li:nth-child(3) { 
  background-image: url("http://www.northyorkdentalcentre.com/images/slider-emergency-dentistry.jpg"); 
background-position: 50% 50%;
}

@media (max-width: 1240px) {
.accordion ul li:nth-child(3) { 
  background-image: url("http://www.northyorkdentalcentre.com/images/slider-emergency-dentistry.jpg"); 
background-position: 50% 50%;
}
}

.accordion ul li:nth-child(4) { 
  background-image: url("http://www.northyorkdentalcentre.com/images/slider-kaydental-kids.jpg"); 
  background-position: 30% 40%;
}

@media (max-width: 1240px) {
.accordion ul li:nth-child(3) { 
  background-image: url("http://www.northyorkdentalcentre.com/images/slider-kaydental-kids.jpg"); 
background-position: 30% 40%;
}
}

.accordion ul li:nth-child(5) { 
  background-image: url("http://dev.fjwestcott.com/media/wysiwyg/home/home_ind_enthusiast_portrait_photography_little_studio_basics_lights.jpg"); 
  background-position: 60% 64%;
}

.accordion ul li:nth-child(6) { 
  background-image: url("http://dev.fjwestcott.com/media/wysiwyg/home/home_ind_flex_enthusiast_portrait_photography.jpg"); 
  background-position: 70% 25%;
}

.accordion ul li { background-size: cover; }
.accordion ul:hover li { width: 10%; }
.accordion ul:hover li:hover { width: 90%; }

/*.accordion ul:hover li:hover a { background: rgba(0, 0, 0, 0.4); }*/

/*
.accordion ul:hover li:hover a * {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
*/

 @media screen and (max-width: 680px) {
  
  body { margin: 0; }
  .accordion { height: auto; }

  .accordion ul li,
  .accordion ul li:hover,
  .accordion ul:hover li,
  .accordion ul:hover li:hover {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    -webkit-transition: none;
    transition: none;
  }
  .accordion ul li div a * {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.child-menu ul {
	float: right;
	margin-left: 2%;
    padding: 0;
    width: 20%;
    background-color: #CCCCCC;
    transition: 0.3s;
}

.child-menu li {
	list-style-type: none;
	margin: 0;
	padding: 4% 0;
}

.child-menu a {
	display: block;
    color: #004833;
    padding: 1px 1px;
    text-decoration: none;
	text-align: center;
	border: 1px solid transparent;
}

.child-menu a:hover {
	background-color: #ffffff;
	border: 1px solid #ffffff;
}


/* Team Page
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.bio {
	text-align: center;
	font-size: 1.5rem; /* IE 9 & 10 don't like font-size: 0; */
	min-width: 200px;
}
.bio-blank{
  background: transparent; 
  box-shadow: none;
}
@media (max-width: 1110px) {
  .bio-blank{
    display: none;}
}

.bio div {
    width: 200px;
    height: 325px;
    display: inline-block;
    background: #ffffff;
	text-align: center;
	margin: 5px;
	padding: 5px;
	box-shadow: 1px 1px 3px #888888;
	color: #333333;
	overflow: hidden;
}

.bio a {
	text-decoration: none;
}

.bio h5 {
	margin-top: 8px;
	margin-bottom: -2px;
}

.bio:after {
    content: '';
    width: 100%; /* Ensures there are at least 2 lines of text, so justification works */
    display: inline-block;
}

.bio p {
	font-weight: 400;
}

.biopage {
	margin: 5px;
	padding: 5px;
}

.bio-image, 
.bio-text {
	float: left; 
	display: table;
}

.bio-image {
	width: 25%;
	text-align: center;
}

.bio-text {
	width: 75%;
	min-height: 270px;
}

.bio-resize {
	width: 150px;
	height: auto;
}

.doctors {
	float: right;
	width: 50%;
	background: #004833;
	color: #ffffff;
	text-align: center
}

.doctors img {
	width: 40%;
}

.alert {
  padding: 1%;
  background-color: #004833;
  color: #ffffff;
  font-size: 2.0rem;
  text-align: center;
}

.alert a {
  color: #ffffff;
}

.alert a:hover {
  color: #D5E489;
}


.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}
.closebtn:hover {
  color: black;
}

.covid {
  border: 5px solid #F50000;
  background-color: #ffffff;
  color: #333;
  padding: 2%;
}

#overlay {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  cursor: pointer;
}
#text{
  position: absolute;
  top: 50%;
  left: 50%;
  color: #464646;
  background: #FFFFFF;
  padding: 30px;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}
#close-box {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 15px;
    font-size: 3rem;
}

@media screen and (max-width:770px){
  #text {
    overflow-y: scroll;
    position: relative;
    top: 50%;
  }
}

/* Landing Page
----------------------------------------------------- */
.lp-sidebar {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
	background-color: #D5E489;
	color:#000000;
	padding:1%;
	text-align:center;
  float: right;
  margin-left: 2%;
  width: 35%;
}

.lp-sidebar input[type="submit"]{
	background-color:#c0c0c0;
  color: #000;
}

.lp-sidebar input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
	color:#333;
}

.main-lp{
  width:65%;
	float:left;}

.main-lp a {
  color: #15548D;
  font-weight: bold;
  text-decoration: none;
}
		
.bio-lp{
	background-color:#004833;
	padding:2%;
	color:#ffffff;
}

.bio-lp h1{
	color:#ffffff;
}

.bio-lp img{
  max-width: 150px; 
  float:left;
  margin-right: 2%;
}

.lp-button{
    color: #ffffff;
  }

	
@media screen and (max-width:2000px){
	.main-lp{
		width: 58%;
	}}
	
@media screen and (max-width:1310px){
	.main-lp{
		width:55%;
	}}	
	
@media screen and (max-width:1216px){
	.lp-sidebar{
		width:40%;
	}}		

@media screen and (max-width:770px){
	.lp-sidebar {
		width:100%;
		position:relative;
		padding:0;}
	.main-lp {
		width:100%;}
  .bio-lp img{
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media (max-width:650px){
.right-lp{
	width:100%;
	text-align:center;
	margin-left:0;
}
.left-lp{
	width:100%;
	text-align:center;
	margin-right:0;}
  }

/* Square Sliders
----------------------------------------------------- */
.square-slider-container{
  width: 100%;
  display: flex;
  justify-content: space-around;
}
.square-slider-item img{
  width: 100%;
  height: auto;
}
.square-slider-item img:hover{
  filter: brightness(80%);
  transition: 0.3s;
}

@media (max-width: 650px){
  .square-slider-container{
    display: block;
  }
}

/*
@media (max-width: 650px) {
  .container {
    display: flex;
    flex-direction: column;
  }

  .logo-container {
    order: 1;
  }

  .square-slider-container {
    order: 2;
    margin-top: 20px;
  }
}*/
/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/


/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}

.center {
	text-align: center;
}

.cdcp-patients-guide {
	margin-bottom: 1rem;
    max-width: 100%;
    height: 100%;
    text-wrap: wrap;
}

@media (max-width: 750px) {
	.contact-button {
		float:left;
		margin-top: 1rem;
	}
	
	.cta-container {
		display: inline-flex;
	}
	
	.cta-column {
		padding: 1rem;
	}
	
	.cta-desktop {
		display:none;
	}
	
	.google-maps {
		height: 300px;
	}
}

@media (min-width: 751px) {
	
	.cta-container {
		display: none;
	}
}