/* styles for eyeclinichamilton.com */


:root {	
	background-color: #000080;
	}

body {
	font-family: 'Droid Serif', serif;
	text-align: center;
	width: 1200px;
	background-color: rgb(255,255,255);
	margin: 0 auto;
	color: #000048;
}

h1 {
	font-family:  'Alegreya SC', sans-serif;
	font-size: 270%;
	color: #ffffff;
	text-align: center;
	background-color:#000048;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 20px;
	padding-bottom: 20px;
	letter-spacing: 0.2em;
}

h2 {
	font-family: 'Vast Shadow', cursive;
	font-size: 200%;
	text-align: center;
	color: #000048;
	background-color: #ffffff;
	margin-top: 0px;
	margin-bottom: 0px;	
	word-spacing: .5em;
	padding-top: 8px;
	padding-bottom: 8px;
	text-decoration: none;	
}

h3 {
	font-family: 'Allerta', sans-serif;
	font-size: 150%;
}

h4 {	
	font-family: 'Merienda One', cursive;
	font-size: 120%;
}

h5 {
	font-family: 'Vast Shadow', cursive;
	font-size: 180%;
	color: #000048;
	letter-spacing: 0.9em;
}

h6 {
	font-family: 'Vast Shadow', cursive;
	font-size: 120%;
	color: #000048;
	letter-spacing: 0.7em;
}

h7 {
	font-family: 'Vast Shadow', cursive;
	font-size: 60%
	color: #000048;
	letter-spacing: 0.5em;
}

/* navigation */

.topnav {
	text-align: center;
	background-color: #000080;
	height: 35px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 10px;
	padding-bottom: 3px;	
}


.topnav a {
	font-family: 'Allerta', sans-serif;
	color: #ffffff;
	font-size: 135%;	
	background-color: #000080;
	display: inline;
	font-weight: bold;
	margin: 15px;
	vertical-align: baseline;
	text-decoration: none;
	text-transform: uppercase;
}


.topnav a:visited {
	color: #ffffff;
}

.topnav a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.topnav a:focus {
	color: #ffffff;	
}

.topnav a:active {
	color: #ffffff;
}

ul li {
	font-size: 100%;
	color: #ffffff;
	padding: 5px;
	text-align: left;
}

.spanishbutton {
	border: 1px solid red;
	padding: 3px;
	
}

/* header images */

.mainpage {
	width: 1200px;
	margin-top: 0px;
	margin-bottom: 0px;	
	margin-left: 0px;
	float: auto;
	padding: 0px;
	text-align: center;
	background-color: #000080;
}

.sportsvision {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	float: auto;
	text-align: center;
	border: 15px solid #ffffff;
}

.retinalscan {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	float: auto;
	text-align: center;
	border: 15px solid #ffffff;
}

.team {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	float: auto;
	padding: 0px;
	text-align: center;
	border: 15px solid #ffffff;
}

/* for enlarged text and reset */

.style1 {
	font-size: 110%;
	color: black;
}

.style2 {
	font-size: 180%;
	color: black;
}

#controls {
	cursor: pointer;
	color:#ffffff;
	background-color: #000080;
	text-align: left;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 300px;
	margin-top: 0px;
	margin-bottom: 0px;
}

/* main content */

article {
	max-width: 600px;
	height: auto;
	color: #000048;
	font-size: 110%
	float: auto;
	text-align: justify;
	padding: 5px;
	margin: 0px 100px 20px 50px;
	line-height: 1.8em;
}

article a {
	color: #000048;
	text-decoration: none;
}

article a:hover {
	color: black;
	text-decoration: underline;
}

p.happy {
	font-size: 115%;
	font-weight: bold;
}

div.healthyeyes {
	font-family: 'Allerta', sans-serif;
	font-size: 110%;
	width: 900px;
	color:#ffffff;
	background-color: #000080;
	font-weight: bold;
	float: auto;
	margin: 20px auto;
	text-align: justify;
	padding: 20px;
	line-height: 1.4em;
	word-spacing: .2em;
}

.healthyeyes a {
	color: #ffffff;
	text-decoration: none;
}

.healthyeyes a:hover {
	color: #ffffff;
	text-decoration: underline;
}

article.athletes {
	width: 810px;
	float: auto;
	margin: 50px auto 50px auto;
}

article.mandate {
	height: auto;
	background: linear-gradient(#ffffff, #6e9afc);
	color: #000048;
	float: auto;
	font-size: 105%;
	font-weight: bold;
	text-align: justify;
	padding: 15px 80px 30px 80px;
	margin: 100px auto 0px auto;
	border-top-style: solid;
	border-left-style: double;
	border-right-style: double;
	border-bottom-style: none;
	border-width: 10px 10px 0px 10px;
	border-color: #000048;	
}

p.mandate {
	font-family: 'Droid Serif', serif;
}


aside {
	font-family: 'Allerta', sans-serif;
	width: 400px;
	background-color: #000080;
	color: #ffffff;
	border: 2px solid #000048;
	font-size: 90%;
	float: right;
	text-align: justify;
	padding: 5px;
	margin: 0px 50px 20px 50px;
	line-height: 1.6em;
}


figure.aside {
	font-family: 'Allerta', sans-serif;
	width: 380px;
	float: right;
	text-align: justify;
	background-color: #000080;
	color: #ffffff;
	font-size: 90%;
	padding: 20px;
	box-shadow: 5px 5px 5px #00ff00
}

figure.trophy {
	width: 100%;
	color: #000066;
}

figure.swimfemales {
	margin: 50px auto 30px auto;
}

p.closing {
	color: #000048;
	font-weight: bold;
	font-size: 115%;
	text-align: center;
}

.contactcolumn {
	float: left;
	width: 40%;
	margin: 20px 20px 40px 20px;
	padding: 10px;
	text-align: left;
	line-height: 1.5em;
}

.contactcolumn a {
	color: #000048;
	text-decoration: none;
}

.contactcolumn a:hover {
	color: #000048;
	text-decoration: underline;
}

/* our team page*/

/* welcome */

div.welcome {
	width: 1000px;
	float: auto;
	margin: auto;
	background-color: #000080;
	color: #ffffff;
	border: 5px solid black;
	border-radius: 10px;
	padding: 10px;
}


/* Meet the Team  Three columns side by side */
.column {
    float: left;
    width: 31%;
    margin-bottom: 16px;
	margin-left: 5px;
    padding: 0 8px;
	text-align: center;
}

.button a  {
	color: #ffffff;
}

/* Display the columns below each other instead of side by side on small screens */
@media (max-width: 650px) {
    .column {
        max-width: 100%;
        display: block;
	
    }
}

/* Add some shadows to create a card effect */
.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

/* Some left and right padding inside the container */
.container {
    padding: 0 16px;
}

/* Clear floats */
.container::after, .row::after {
    content: "";
    clear: both;
    display: table;
}

.title {
    color: #000048;
	font-weight: bold;
}

.button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
   background-color: #000080;
	color: #ffffff;
    text-align: center;
    cursor: pointer;
    width: 100%;
}

.button a {
	color: #ffffff;
}

.button a:hover {
   	color: #ffffff;
	text-decoration: underline;
}

/* to render Phone Number */
a[href^="tel"] {
	color: inherit;
	text-decoration: none;
}

/* contact submit form*/

label {
    display:block;
    margin-top:20px;
    letter-spacing:2px;
}

form {
	margin: 0px auto;
	width: 459px;
}

input,textarea {
	width: 439px;
	height: 25px;
	background: #efefef;
	border: 1px solid black;
	padding: 10px;
	margin-top: 3px;
	font-size: 0.9em;
	color: black;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

textarea {
	height: 120px;
}

input:focus, textarea:focus {
	border:1 px solid black;
}

#submit {
	width: 130px;
	height: 40px;
	border: 1px solid black;
	margin-top: 20px;
	margin-bottom: 25px;
	color: black;
	cursor: pointer;
}

#submit:hover {
	opacity:.9;
}

/* footer */

footer {
	position: relative;
	font-size: 85%;
	right: 0;
	bottom: 0;
	left: 0;
	text-align:center;
	background-color: #000048;
	padding-top: 10px;
	padding-bottom: 10px;
	color: #ffffff;
}

footer a {
	
	color: #ffffff;
	text-decoration: none;

}

footer a:hover {
	color: #ffffff;
	text-decoration: underline;
}

address {
	font-style: normal;
}	
