body {
background-color: #ffffff;
color: #666666;
font-family: Calibri, Helvetica, Verdana, Arial, Sans-serif;
font-size: 100%;
text-align: left;
margin: 0px;
}

@font-face {
	font-family: 'Script';
	/*src: url('fonts/Tangerine_Regular.ttf') format('truetype');*/
	src: url('fonts/cac_champagne.ttf') format('truetype');
}

* {
box-sizing: border-box;
}


/* --------------------------------------------- */
/* ------------- Alignment Styles -------------- */
/* --------------------------------------------- */


.cntr {
text-align: center
}

.right {
text-align: right
}

.mid {
vertical-align: middle
}

.midright {
text-align: right;
vertical-align: middle
}

.top {
vertical-align: top
}

[class*="col-"] {
    float: left;
    padding: 10px;
    /*border: 1px solid red;																	/* HERE */
} 

/* For mobile phones: */
[class*="col-"] {
    width: 100%;
}
@media only screen and (min-width: 900px) {
    /* For tablets: */
    .col-s-1 {width: 8.33%;}
    .col-s-2 {width: 16.66%;}
    .col-s-2a {width: 20%;}
    .col-s-3 {width: 25%;}
    .col-s-4 {width: 33.33%;}
    .col-s-5 {width: 41.66%;}
    .col-s-6 {width: 50%;}
    .col-s-7 {width: 58.33%;}
    .col-s-8 {width: 66.66%;}
    .col-s-9 {width: 75%;}
    .col-s-10 {width: 83.33%;}
    .col-s-11 {width: 91.66%;}
    .col-s-12 {width: 100%;}
    .col-s-menu {width: 100%; padding: 0px;}
}
@media only screen and (min-width: 1400px) {
    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-2a {width: 20%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
	.col-menu {width: 66.66%; padding: 0px;}
} 

/* If the screen size is 900px wide or less, hide the element */
@media only screen and (max-width: 900px) {
  div.hidetablet {
    display: none;
  }
}

/* If the screen size is 600px wide or less, hide the element */
@media only screen and (max-width: 600px) {
  div.hide {
    display: none;
  }
}

/* If the screen size is 1200px wide or less, hide the side gaps */
@media only screen and (max-width: 1400px) {
  div.hidesides {
    display: none;
  }
}


/* ------------------------------------------------ */
/* ------------- General HTML Styles -------------- */
/* ------------------------------------------------ */

img {
    border: 0px;
	max-width: 100%;
    height: auto;
} 

h2 {
    color: #444444;
}

h1.white {
    color: #ffffff;
	padding-left: 15px;
}

h3 {
	margin-top: 2px;
	margin-bottom: 10px;
	font-size: 140%;
	color: #26529a;
}

.rightalign {
	float: right;
}


.handwritten {
	background-color: #b1ddde;
	color: #304d4e;
	font-family: 'Script', Verdana-Italic;
	font-size: 180%;
	border: 0px;
	padding: 15px;
}

.greybox {
	background-color: #f4f4f2;
	border: 0px;
	color: #4f4f4f;
	font-family: Calibri, Helvetica, Verdana, Arial, Sans-serif;
	padding: 10px;
	margin-top: 0px;
    display: block;
	overflow: auto;
}

h4.home {
	color: #26529a;
	font-size: 130%;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}

h4.hometitle {
	color: #26529a;
	font-size: 130%;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 8px;
}

h4.contact {
	font-size: 160%;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 8px;
}

h4.links {
	font-size: 130%;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 8px;
}

h4.linkssub {
	font-size: 130%;
	text-decoration: underline;
	margin-top: 10px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 8px;
}

h4.investigations {
	color: #000000;
	text-decoration: underline;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 8px;
}

h4.patient {
	color: #402f61;
	font-size: 130%;
	margin-top: 0px;
	margin-bottom: 12px;
	padding-top: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
}

.downloadbox {
	background-color: #fcc636;
	border: 0px;
	color: #604e1e;
	font-family: Calibri, Helvetica, Verdana, Arial, Sans-serif;
	padding: 10px;
	margin-top: 0px;
	height: 200px;
}

.downloadboxlarge {
	background-color: #fcc636;
	border: 0px;
	color: #604e1e;
	font-family: Calibri, Helvetica, Verdana, Arial, Sans-serif;
	padding: 10px;
	margin-top: 0px;
	height: 240px;
}

h4.download {
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	font-size: 160%;
}

a {
	text-decoration: none;
	color: #0038c6;
}
a:hover {
	text-decoration: underline;
}

a.file {
	text-decoration: none;
	color: #604e1e
}
a.file:hover {
	text-decoration: underline
}

a.contact {
	text-decoration: none;
	color: #4f4f4f;
}
a.contact:hover {
	text-decoration: underline;
}

img.investigations {
	padding-top: 30px;
}

ul {
	list-style-image: url('images/bullet.png');
}

.patientquote {
	margin-left: 60px;
	margin-right: 60px;
	margin-bottom: 15px;
	font-size: 110%;
	font-style: italic;
	background-color: #fbd6e5;
	color: #642b43;
	border: 1px solid #642b43;
	padding: 4px;
	text-align: center;
}

.patientquote2 {
	margin-left: 60px;
	margin-right: 60px;
	margin-bottom: 15px;
	font-size: 110%;
	font-style: italic;
	background-color: #d8ccf0;
	color: #402f61;
	border: 1px solid #402f61;
	padding: 4px;
	text-align: center;
}




/* ------- Design Elements (all pages) -------- */


#header {
    background-color: #ffffff;
	color: #666666;
    padding: 5px;
}

img.logo {
	min-width: 185px;
}

img.donate {
	padding-bottom: 45px;	
}

img.donatehelpus {
	padding-bottom: 25px;	
}

#pagecontainer {
	background-color: #ffffff;
    padding: 0px;
	line-height: 25px;
}

/* ---------- MENU ----------- */


.navbar {
    overflow: hidden;
    background-color: #4272d7;
    font-family: Calibri, Helvetica, Verdana, Arial, Sans-serif;
}

.navbar a {
    float: left;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    padding: 14px 30px;
    text-decoration: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;    
    border: none;
    outline: none;
    color: #ffffff;
    padding: 14px 30px;
    background-color: inherit;
    font: inherit;
    margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #eaeaea;
	color: #444444;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    left: 0;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}


@media only screen and (min-width: 600px) {
    /* For tablets: four columns */
	.supermenucol-4 {
		float: left;
		width: 25%;
		padding: 10px;
		background-color: #eaeaea;
		height: 230px;
		color: #444444;
	}

	.supermenucol-4 a {
		float: none;
		color: #444444;
		padding: 6px;
		text-decoration: none;
		display: block;
		text-align: left;
	}

	.supermenucol-4 a:hover {
		background-color: #eaeaea;
		text-decoration: underline;
	}
}


@media only screen and (min-width: 1200px) {
    /* For desktop: six solumns - four for menu and two for sides*/
	.supermenucol-4 {
		float: left;
		width: 16.66%;
		padding: 10px;
		background-color: #eaeaea;
		height: 230px;
		color: #444444;
	}

	.supermenucol-4 a {
		float: none;
		color: #444444;
		padding: 6px;
		text-decoration: none;
		display: block;
		text-align: left;
	} 

	.supermenucol-4 a:hover {
		background-color: #eaeaea;
		text-decoration: underline;
	}

}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .supermenucol-4 {
        width: 100%;
        height: auto;
		padding: 10px;
		background-color: #eaeaea;
		color: #444444;
    }

	.supermenucol-4 a {
		float: none;
		color: #444444;
		padding: 6px;
		text-decoration: none;
		display: block;
		text-align: left;
	} 

	.supermenucol-4 a:hover {
		background-color: #eaeaea;
		text-decoration: underline;
	}
}

/* --------------- Footer --------------*/

.footer {
	margin-top: 25px;
    background-color: #4272d7;
	color: #ffffff;
}

.fixedfooter {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #4272d7;
  color: white;
}

h3.footertitle {
	color: #ffffff;
	margin-top: 0px;
}

a.footerlink {
	color: #ffffff;
	text-decoration: none;
}
a.footerlink:hover {
	text-decoration: underline;
}


/* -------------- Home Page ------------ */

.mySlides {
	display:none;
}

.w3-animate-fading {
	animation:fading 7s infinite
}
@keyframes fading {0%{opacity:0}50%{opacity:1}100%{opacity:0}}

.indexbar {
	padding-top: 0px;
	border-top: 0px;
	background-color: #26529a;
	width: 100%;
	height: 2px;
	margin-bottom: 25px;
}

.storiespics {
    float: left;
    padding: 2px;
	width: 33.33%;
} 

.storypiccontainer {
  position: relative;
  width: 100%;
}

.storypiccontainer_col {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #4272d7;
}

.storypiccontainer:hover .storypiccontainer_col {
  opacity: 1;
}

.patientpic {
  display: block;
  width: 100%;
  height: auto;
}




/* -------------- Trustees Page ------------ */


.trusteebox {
	background-color: #b1ddde;
	border: 0px;
	color: #304d4e;
	min-height: 180px;
	text-align: center;
	padding: 10px;
	display: block
}

.trusteebox2 {
	background-color: #d8ccf0;
	border: 0px;
	color: #402f61;
	min-height: 180px;
	text-align: center;
	padding: 10px;
	display: block
}

.trusteebox3 {
	background-color: #fcc636;
	border: 0px;
	color: #604e1e;
	min-height: 180px;
	text-align: center;
	padding: 10px;
	margin-top: 0px;
	display: block
}

.trusteebox4 {
	background-color: #fbd6e5;
	border: 0px;
	color: #642b43;
	min-height: 180px;
	text-align: center;
	padding: 10px;
	margin-top: 0px;
	display: block
}

img.trusteepic {
	padding: 0px;
	margin-bottom: 0px;
	display: block
}

h4.trustee {
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 8px;
	font-size: 160%;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    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.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
	background-color: #ffffff;
	color: #304d4e;
	font-family: Calibri, Helvetica, Verdana, Arial, Sans-serif;
    margin: auto;
    padding: 20px;
    border: 1px solid #888888;
    width: 80%;
}

.map-modal-content {
	background-color: #ffffff;
	color: #304d4e;
	font-family: Calibri, Helvetica, Verdana, Arial, Sans-serif;
    margin: auto;
    padding: 20px;
    border: 1px solid #888888;
	text-align: center;
}

/* The Close Buttons */
.cericlose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.cericlose:hover,
.cericlose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.chrisclose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.chrisclose:hover,
.chrisclose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.davidclose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.davidclose:hover,
.davidclose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.paulclose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.paulclose:hover,
.paulclose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.catherineclose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.catherineclose:hover,
.catherineclose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.satclose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.satclose:hover,
.satclose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* PATIENT STORIES */

.storybox {
	background-color: #b1ddde;
	border: 0px;
	color: #304d4e;
	min-height: 180px;
	padding: 10px;
	display: block
}

a.story {
	background-color: #b1ddde;
	color: #304d4e;
	text-decoration: none;
}
a.story:hover {
	text-decoration: underline;
}

a.storytitle {
	background-color: #b1ddde;
	color: #000000;
}

/* LINKS */

.mapclose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.mapclose:hover,
.mapclose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#DavidBtn {
background:url('images/trustee_btn4.png');
background-repeat: no-repeat;
width:100px;
height:35px;
border: 0;
cursor: pointer;
}

#PaulBtn {
background:url('images/trustee_btn2.png');
background-repeat: no-repeat;
width:100px;
height:35px;
border: 0;
cursor: pointer;
}

#SatBtn {
background:url('images/trustee_btn3.png');
background-repeat: no-repeat;
width:100px;
height:35px;
border: 0;
cursor: pointer;
}

#ChrisBtn {
background:url('images/trustee_btn1.png');
background-repeat: no-repeat;
width:100px;
height:35px;
border: 0;
cursor: pointer;
}

#CeriBtn {
background:url('images/trustee_btn1.png');
background-repeat: no-repeat;
width:100px;
height:35px;
border: 0;
cursor: pointer;
}

#CatherineBtn {
background:url('images/trustee_btn1.png');
background-repeat: no-repeat;
width:100px;
height:35px;
border: 0;
cursor: pointer;
}

#MapBtn {
background:url('images/map_btn.png');
background-repeat: no-repeat;
width:100px;
height:35px;
border: 0;
cursor: pointer;
}






/* -------------------- Home Page -------------------- */

