/* CSS Styling Rules and Media Queries */
/* Reset all of the margins, borders, and padding */
* {
	margin: 0;
	border: 0;
	padding: 0;
} 

body {
	background: url(img/backgrnd.jpg);
    background-color: #E1CBA6;
    font-family: "Linguistics Pro", Cambria, "Times New Roman", serif;
	line-height: 150%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	
}
@font-face {
	font-family: "Trajan Pro";
	src: url('fonts/TrajanPro-Regular.otf')
}
@font-face {
	font-family: "Trajan Pro";
	src: url('fonts/TrajanPro-Bold.otf')
}
@font-face {
	font-family: "LinguisticsPro";
	src: url('fonts/LinguisticsPro-Regular.otf')
}
@font-face {
	font-family: "LinguisticsPro";
	src: url('fonts/LinguisticsPro-Bold.otf')
}
@font-face {
	font-family: "LinguisticsPro";
	src: url('fonts/LinguisticsPro-Italic.otf')
}
@font-face {
	font-family: "LinguisticsPro";
	src: url('fonts/LinguisticsPro-BoldItalic.otf')
}
h1 {
    font-size: 250%;
    padding: 2% 0;    
}
h2 {
    font-size: 175%;
    padding: 2% 0;    
}
h3 {
    font-size: 150%;
    padding: 4% 0;    
}
h4 {
	font-size: 140%;
	padding-top: 2%;
	padding-right: 0%;
	padding-bottom: 2%;
	padding-left: 0%;
}
.faq h4 {
    padding: 2% 0%;
}
h5 {
    font-size: 120%;
    color: #50504b;
}
img {
    max-width: 100%;
}
/* BEGIN HEADER AND NAV STYLES */
header {
    background-image: url(img/backgrnd.jpg);
    height: auto;
    top: 0px;
    padding-top: 10px;
    position: fixed;
    border-bottom: 2px #0a0a40 solid;
    z-index: 1000;
    width: 100%;
    opacity: .90;
    max-width: 1200px;
    margin: 0 0;
}

#logo {
    float: left;
    background-repeat: no-repeat;
    width: 300;
    height: 125px;
    margin: 5px 5px 5px 20px;
}
nav {
    float: right;
    padding: 100px 25px 0 0;
}
#menu-icon {
    background: url(img/icon.png) center;
    width: 40px;
    height: 34px;
    display: hidden;
}
nav ul {
    list-style: none;
}
nav ul li {
    font-family: sans-serif;
    display: inline-block;
    padding: 10px;
    float: left;
    font-size: 110%;
}
nav ul li a {
    color: #0a0a40;
    text-decoration: none;
    font-weight: 700;
}
a:hover {
    text-decoration: underline;
}
.current {
    text-decoration: underline;
} /* Modify this for links on other pages outside of index.html */
/* END HEADER AND NAV STYLES */

/* BEGIN HERO IMAGE STYLES */
.hero {
    position: relative;
    text-align: center;
    margin-top: 150px;
    width: 100%;
}
.hero-text p {
    position: absolute;
    color: #fff;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 150%;
}
/* END HERO IMAGE STYLES */

.ht h3 {
	font-family: "Trajan Pro", "Palatino Linotype", "Book Antiqua", "Baskerville Old Face", "Times New Roman";
	font-size: 225%;
	color: #003;
	line-height: normal;
}
.ht p {
	color: #003;
}
.ht {
	font-family: "Trajan Pro", "Palatino Linotype", "Book Antiqua", "Baskerville Old Face", "Times New Roman";
	font-size: 90%;
	color: #003;
	line-height: normal;
}

/* BEGIN INNER WRAPPER */
#inner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
#container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 150px;
}
.one-third {
    width: 29%;
    float: left;
    margin: 2%;
}
p {
	font-family: "Linguistics Pro", Cambria, "Times New Roman", serif;
	font-weight: 500;
	text-align: center;
	text-transform: none;
	font-size: 120%;
	padding: 1% 5% 1% 5%;
}

a {
	text-decoration: none;
	color:#003;
}
a:hover {
	text-decoration: underline;
}
.circle {
	margin-top: 2%;
}
.clearfix {
    clear: both;
    padding: 2%;
}
article {
    float: left;
    width: auto;
    margin-left: 4%;
    padding: 2%;
}
.aside-news {
    border-radius: 0%;
    padding-bottom: 15px;
}
aside {
    float: none;
    width: auto;
}
aside h3 {
    text-decoration: underline;
}
aside .news {
	list-style: none;
	}
.news {
    width: auto;
    float: right;
    padding: 0px 20px 0px 10px;
    font-size: 90%;
    }
.news a {
	color: #0a0a40;
	font-size: 100%;
    }
.one-third img {
    padding-bottom: 2%;
}
.syll ol {
    text-align: left;
    margin-left: 20%;
    margin-right: 20%;
	margin-bottom: 10px;
    font-family: "Linguistics Pro", Cambria, "Times New Roman", serif;
	font-weight: 500;
	text-transform: none; 
	font-size: 115%;
}
.syll ol li {
    padding-left: 4px;
	margin-bottom: 4px;
}
.apollist ul {
	font-family: "Linguistics Pro", Cambria, "Times New Roman", serif;
	font-weight: 500;
	text-align: left;
	text-transform: none;
	font-size: 115%;
	padding: 0% 20% 2% 20%;
}
.missionlist ol {
	font-family: "Linguistics Pro", Cambria, "Times New Roman", serif;
	font-weight: 500;
	text-align: left;
	text-transform: none;
	font-size: 115%;
	padding: 0% 15% 2% 15%;
	line-height: 125%;
}
.sup {
	font-size: 75%;
}

/* END INNER WRAPPER STYLES */

/* BEGIN ACCORDION STYLES HERE!!!! */
 /* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: #000058;
    cursor: pointer;
    padding: 15px;
    width: 80%;
    text-align: left;
    font-size: 125%;
    color: #fff;
    border: 1px solid #b9a585;
    outline: none;
    transition: 0.4s;
}
/* Add a plus symbol and minus symbol for open and closed */
.accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 80%;
    font-weight: 700;
    color: #ffffff;
    float: left;
    margin-left: 5px;
    margin-right: 5px;
}
.active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
    color: #ffffff;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #989898;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    position: relative;
    left: 10%;
    padding: 0px 0px;
    width: 80%;
    background-color: #b9a585;
    font-size: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
} 

/* END ACCORDION STYLES HERE!!!! */




/* BEGIN FOOTER STYLES */
footer {
    /* background: url(img/backgrnd.jpg); */
    border-top: 2px solid #0a0a40;
    overflow: hidden;
    opacity: 1;
}
#footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
footer .one-third {
    width: 33%;
    margin: 2% 0%;
    height: auto;
}
footer h3 {
    color: #0a0a40;
}
footer p {
    color: #0a0a40;
    text-align: center;
}
#footer-third {
    border-right: 1px solid #0a0a40;
    height: auto;
}
footer a {
    color: #0a0a40;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
    color: #405580;
}
#footer-third-last h5 {
    display: inline;
}
/* END FOOTER STYLES */

/* BEGIN FOOTER-SECOND (SOCKET) STYLES */
footer.second {
    border-top: 2px solid #0a0a40;
    max-height: 50px;
    padding-top: 2%;
    padding-bottom: 2%;
    opacity: 1;
    margin-bottom: 5%;
}
/* END FOOTER-SECOND (SOCKET) STYLES */



/*********** BEGIN CONTACT FORM STYLES ********/

 /* Style inputs, select elements and textareas */
.input #contact {
  width: 300px;
  padding: 10px 5px 10px 5px;
  text-align: center;
  border: 2px solid #006;
  border-radius: 5px;
  box-sizing: border-box;
  resize: vertical;
  color: #006;
}

.input #namefirst {
  padding: 5px;	
}
.input #emailadd {
  padding: 5px;	
}
.input #comments {
  padding: 5px;	
}

/* Style the label to display next to the inputs */
label {
  padding: 5px 5px 5px 5px;
  display: inline-block;
}

.error {
  color: #C00;
  style: emphasis;
}

/* Style the submit button */
input[type=submit] {
  background-color: #006;
  color: white;
  padding: 12px 20px;
  border: 3px solid #333;
  border-radius: 4px;
  cursor: pointer;
}


/*********** END CONTACT FORM STYLES **********/



/* ************************************************** */
/* !BEGIN MEDIA QUERIES SECTION! */
/* ************************************************** */

/* TABLET */
@media screen and (max-width: 768px) {
    header {
        position: fixed;
	   height: auto;
    }
   #menu-icon {
        display: inline-block;
    }
    nav:hover ul {
        display: block;
    }
    nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    }
    nav ul {
        display: none;
        z-index: 1000;
        position: absolute;
        background: #0a0a40;
        width: 50%;
        padding: 0px;
        right: 0px;
        top: 150px;
        border: 1px solid #fff;
        border-radius: 15px 15px 15px 15px;
    }
    nav li {
        text-align: center;
        width: 100%;
        border-bottom: 1px solid #fff; 
    }
    article {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .news {
    float: none;
    padding-right: 0px;
}	

    h4 {
        font-size: 130%;
    }
    p {
        font-size: 125%;
        margin: 2%;
    }
    .ht h3 {
	font-family: "Trajan Pro", "Palatino Linotype", "Book Antiqua", "Baskerville Old Face", "Times New Roman";
	font-size: 250%;
	color: #003;
	line-height: normal;
}
    footer .one-third {
        width: 100%;
	   height: auto;
        margin: 0;
    }
    #footer-third {
        height: auto;
        padding-bottom: 2%;
        border-bottom: 1px solid #000;
    }
    #footer-third-last {
        margin-bottom: 5%;
    }
    .hero {
    margin-top: 150px;
    color: #ff0000;
    line-height: 125%;
}
    .hero-text p {
    position: absolute;
    top: 30%;
    left: 50%;
    font-size: 125%;
    }
}

/* SMART PHONE */
@media screen and (max-width: 478px) {
    header {
        position: fixed;
	   height: 125px;
    }
    h2 {
        font-size: 140%;
    }
    h3 {
        font-size: 125%;
    }
    h4 {
        font-size: 115%;
    }
    p {
        font-size: 125%;
        margin: 2%;
    }
     .ht h3 {
	font-family: "Trajan Pro", "Palatino Linotype", "Book Antiqua", "Baskerville Old Face", "Times New Roman";
	font-size: 170%;
	color: #003;
	line-height: normal;
}
    #logo {
    float: left;
    width: 240px;
    height: 125px;
    margin: 10px 10px 10px 10px;
    }
    nav {
    float: right;
    padding: 65px 25px 0 0;
}
    .one-third {
        width: 100%;
	   height: auto;
        margin: 0;
    }
    .one-third p {
        text-align: center;
    }
    .hero {
    margin-top: 135px;
    color: #00ff00;
    line-height: 100%;
}
    .hero-text p {
    position: absolute;
    top: 40%;
    left: 50%;
    font-size: 100%;
    }
   
}
/* MOBILE PHONE */
@media screen and (max-width: 320px) {
    h2 {
        font-size: 100%;
    }
    h3 {
        font-size: 100%;
    }
    h4 {
        font-size: 100%;
    }
    p {
        font-size: 115%;
        margin: 2%;
    }
     .ht h3 {
	font-family: "Trajan Pro", "Palatino Linotype", "Book Antiqua", "Baskerville Old Face", "Times New Roman";
	font-size: 155%;
	color: #003;
	line-height: normal;
}
    #logo {
    float: left;
    width: 22px;
    height: 90px;
    margin: 40px 10px 10px 10px;
    }
    .hero {
    margin-top: 135;
    color: #0000ff;
    line-height: 100%;
}
    .hero-text p {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 100%;
    text-align: center;
    }
    .accordion {
    background-color: #000058;
    cursor: pointer;
    padding: 5px;
    width: 80%;
    text-align: left;
    font-size: 125%;
    color: #fff;
    border: 1px solid #b9a585;
    outline: none;
    transition: 0.4s;
}

}
