html, body { color: #2B2B2B; font-family: 'Work Sans', sans-serif; -webkit-font-smoothing: antialiased; }
.container { padding: 0; width: 100%; }
.row { margin: 0; }
.row > div { padding: 0 1.5% 12px; }
.content { width: 85%; margin: 0 auto; }
.vertical-center > div { float: none; display: inline-block; margin-left: -.5%; vertical-align: middle; }
.vertical-center > div:first-of-type { margin: 0; }

/* Links */
a { transition: background-color .2s, color .2s; }
a:hover,
a:focus { text-decoration: none; }
.button { background-color: #FFA61C; border-radius: 14px; border: 0; color: #fff; display: inline-block; letter-spacing: .05em; margin-top: 12px; padding: 4px 16px; transition: background-color .2s; }
.button:hover { background-color: #59C1F5; color: #fff; }
.button:focus { color: #fff; }

/* Headers */
h1 { font-size: 75px; letter-spacing: 0.09em; font-family: 'Anton', sans-serif; color: #003F5E;}
#resoures h1 {color: white;}
h2 { font-size: 2.2em; margin: 12px 0 0; font-family: 'Work Sans', sans-serif; font-weight: 700; color: #2B2B2B;}
h3 { font-size: 1.8em; margin: 28px 0 0; font-family: 'Anton', sans-serif; color: #003F5E; }
h4 { font-size: 1.2em; margin: 28px 0 0; font-family: 'Work Sans', sans-serif; font-weight: 700; color: #FF9116;}
h4 a { font-size: 1.2em; margin: 28px 0 0; font-family: 'Work Sans', sans-serif; font-weight: 700; color: #FF9116;}
#contact h4 {color: white;}

.hr {border-bottom: 10px solid #FF9116; margin-bottom: 30px; width: 10%;}

/* Paragraphs & Lists */
p { line-height: 1.5em; margin: 16px 0 6px; color: #2B2B2B; }
ul, ol { margin: 16px 0 10px; color: #2B2B2B;}
li {  line-height: 1.4em; margin-bottom: 8px; color: #2B2B2B;}

/* Forms */
form { margin: 18px 0; }
label { display: block; margin: 10px 0 8px; width: 100%; }
input[type="text"] { margin-bottom: 8px; padding-left: 3px; width: 100%; }
textarea { height: 80px; margin-bottom: 8px; padding: 3px 5px; resize: none; width: 100%; }
input[type="checkbox"],
input[type="radio"] { margin: 0 4px 0 2px; }
input[type="checkbox"] + label,
input[type="radio"] + label { display: inline-block; margin-right: 14px; position: relative; top: -1px; width: auto; }
input[type="submit"] { background-color: #FF9116; border-radius: 14px; border: 0; color: #fff; letter-spacing: .05em; margin-top: 14px; padding: 4px 16px; transition: background-color .2s; }
.button:hover,
input[type="submit"]:hover { background-color: #59C1F5; }

/* Tables */
table { border: 2px solid #333; border-width: 0 2px 2px 0; margin: 14px 0; width: 100%; }
table tr th { border: 2px solid #333; border-width: 0 2px 2px 0; padding: 2px 4px; }
table tr td { border: 1px solid #333; border-width: 0 1px 1px 0; padding: 2px 4px; }
table tr:nth-of-type(even) { background-color: #eee; }

/* Accordion  (can remove if not needed)*/
.accordion-header { cursor: pointer; }
.accordion-header i { font-size: .7em; margin-left: 12px; transition: transform .45s; vertical-align: middle; }
.opened .accordion-header i { transform: rotate(180deg); }
.accordion > div { padding: 3px 0; }

/* Modal Window   (can remove if not needed)*/
#modal-window { height: 100%; left: 0; position: fixed; top: -100%; transition: top .95s; width: 100%; }
#modal-window.showing { top: 0; }
#modal-window > span { background-color: rgba(0,0,0,.75); cursor: pointer; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
#modal-window > span > span { color: #fff; font-size: 3em; line-height: .6em; padding: 13px 15px; position: absolute; right: 0; top: 0; transition: color .2s; }
#modal-window > span > span:hover { color: #ddd; }
#modal-window > div { background-color: #fff; border: 1px solid #333; box-shadow: 1px 63px 58px 0 #111; height: 78%; margin: -84px auto 0; padding: 12px 16px; position: relative; transition: 1s ease-in-out .1s; width: 70%; }
#modal-window.showing > div { box-shadow: 4px 13px 28px 0 #111; margin-top: 60px; }

/*********************************************/
/******   Custom CSS  ************************/
/*********************************************/
.header img {width: 100%;}
nav {float: right;}
nav ul {list-style-type: none}
nav ul li {display: inline-block; padding-right: 50px; }
nav ul li a {display: block; font-weight: 400; color: #2B2B2B;}
nav ul li a:hover {border-bottom: 5px solid lightgrey; border-top: 5px solid lightgray; font-weight: 700; transition: 0.5s all;}
.active {border-bottom: 5px solid #FF9116; border-top: 5px solid #FF9116; font-weight: 700;}
#header h1 {padding-left: 4.5%; }
#header span {display: block; font-weight: 300; font-size: 31.5px; color: #003F5E; padding-left: 4.5%}


.intro-header h2 {margin-bottom: 50px;}
.intro img {margin-bottom: 25px;}
.intro span {display: block; font-size: 18px; font-weight: 700;}

.announcement {background-color: #FF9116; padding: 10px 25px 25px; margin-bottom: 25px; text-align: center;}
.announcement p { color: #333; font-size: 120%;}
.announcement a {color: #fff;}
.announcement a i {font-size: 40px; color: white;}

.study-section {background-color: #003F5E; margin-bottom: 50px;}
.study-section-body { width: 85%; margin: 25px auto; padding: 0!important;}
.study-section-body .col-sm-12 { padding: 0!important;}
.study-section h2 {padding-bottom: 25px; color: white; display: inline-block; vertical-align:top; margin-top: 0; }
.study-section ul {list-style: none; }
.study-section ul li:before { vertical-align: top; content: "■"; color: #FF9116; font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; font-size: 70px; }
.study {margin-bottom: 50px; padding-left: 15px; padding-right: 15px;}
.study ul {list-style: none; }
.study ul li:before {  content: "■"; color: #FF9116; font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; font-size: 18px; }
.study ul li {  color: white; padding-bottom: 25px;}

.map-section {margin-bottom: 50px;}
.map-header img {width: 100%;}

.schedule-section {margin-bottom: 50px;}
.schedule-header img {width: 100%;}

.resources-section {margin-top: 50px;}
.public {margin-bottom: 50px;}

.document {margin-top: 50px; margin-bottom: 50px;}
.document span {font-weight: 300; color: darkgray;}
.document h3 {margin: 5px 0 0;}
.document p {margin: 5px 0 0;}
.document h4 a {margin: 10px 0 0;}
.document .border {width: 80%; border-bottom: solid 1px darkgray; padding-top: 15px;}

.contact-form {margin-top: 50px; padding-right: 50px!important; }
.contact-form h2 {font-size: 20px;}
.contact-info {background-color: #FF9116; padding: 50px!important; margin-bottom: 50px; margin-top: 50px; }
.contact-info h3 {color: white;}
.contact-info p {color: white; font-weight: 700;}
.contact-info a {color: white;}
.contact-info a:hover {color: #003F5E; transition: 0.5s all;}

.events {height: 400px;}
.events h2 {margin-top: 50px;}
.survey {margin-top: 50px; margin-bottom: 30px;}
.survey img {width: 75%; margin: 0 auto; display: block; padding-top:15px;}

.footer {background-color: #003F5E;}
.footer .logos img {margin-top: 50px; margin-bottom: 50px;}
.footer .logos img.watertown {width: 60%; padding-right: 50px; padding-left: 50px;}

.footer .footer-links {margin-top: 6%;}
.footer .footer-links nav ul li a {color: white; }
.footer .footer-links nav a.email {font-family: 'Anton', sans-serif; font-size: 23px;color: white; padding-left: 17%;}
.footer .footer-links nav a.email:hover {color: #59C1F5; transition: 0.5s all;}



.resp-container {
     position: relative;
     overflow: hidden;
     padding-top: 56.25%;
 }
 
 .resp-iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 80%;
     border: 0;
 }

/*********************************************/
/****** Media Queries ************************/
/*********************************************/
/* Add more queries as needed; 992px is the column breakpoint for "medium"  columns in Bootstrap */

@media screen and (max-width: 992px) {
     .vertical-centered > div { margin: 0; }
     h1 { font-size: 2.2em; margin: 20px 0 6px; }
     h2 { font-size: 1.7em; margin: 12px 0 0; }
     h3 { font-size: 1.4em; margin: 20px 0 0; }
     h4 { font-size: 1.3em; margin: 28px 0 0; }
     h5 { font-size: 1.2em; margin: 26px 0 0; }
     h6 { font-size: 1.1em; margin: 26px 0 0; }
     p, li { font-size: .9em; line-height: 1.3em; }
     .button { font-size: .8em; border-radius: 12px; padding: 4px 12px 3px; }
     table tr { font-size: .8em; padding: 2px; }

     #modal-window > span > span { font-size: 1.8em; padding: 8px; }
     #modal-window > div { font-size: .9em; height: 85%; padding: 8px 10px; width: 90%; }
     #modal-window.showing > div { margin-top: 34px;  }
}

@media screen and (max-width: 770px) {
     nav {float: none; text-align: center;}
    .footer .logos img.watertown {display: block; width: 55%; margin: 25px auto; padding: 0; }
     .footer .logos img {display: block; margin: 0 auto; width: 35%; margin-bottom: 25px;}
     .footer .footer-links nav a.email {text-align: center; padding: 0; margin-bottom: 10px;}
}



@media screen and (max-width: 640px) {
     nav {float: none; text-align: center;}
     #header h1 {font-size: 45px; text-align: center; padding: 0;}
     #header span {padding: 0; text-align: center; margin-bottom: 25px;}
     .intro-header h2 {text-align: center;}
     .intro img {margin: 0 auto; display: block;}
     .intro span {text-align: center;}
     .intro p {text-align: center; margin-top: 5px; margin-bottom: 25px; }

     .study-section ul li:before {font-size: 45px;}
     .study {margin-bottom: 5px;}
     .study ul li:before {font-size: 18px;}

     .map-header h2 {text-align: center; margin-bottom: 25px;}

     .footer a {text-align: center;}
     .footer .logos img.watertown {display: block; width: 55%; margin: 25px auto; padding: 0; }
     .footer .logos img {display: block; margin: 0 auto; width: 35%; margin-bottom: 25px;}
     .footer .footer-links nav a.email {text-align: center; padding: 0; margin-bottom: 10px;}

     .document {margin-top: 15px;}
     .resources-section {margin-top: 15px;}
     
}