/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   @Font-Face
   ========================================================================== */

@font-face {
    font-family: 'BitterRegular';
    src: url('../fonts/Bitter-Regular-webfont.eot');
    src: url('../fonts/Bitter-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Bitter-Regular-webfont.ttf') format('truetype'),
         url('../fonts/Bitter-Regular-webfont.svg#BitterRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BitterItalic';
    src: url('../fonts/Bitter-Italic-webfont.eot');
    src: url('../fonts/Bitter-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Bitter-Italic-webfont.ttf') format('truetype'),
         url('../fonts/Bitter-Italic-webfont.svg#BitterItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BitterBold';
    src: url('../fonts/Bitter-Bold-webfont.eot');
    src: url('../fonts/Bitter-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Bitter-Bold-webfont.ttf') format('truetype'),
         url('../fonts/Bitter-Bold-webfont.svg#BitterBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* remove border around all input elements */
input:focus {
    outline: none;
}

/* remove border around all textarea elements */
textarea:focus {
    outline: none;
}

/* remove border around all select elements */
select:focus {
    outline: none;
}

/* remove border around all input,textarea and select elements */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* remove border around all elements */
:focus {
    outline: none;
}


body {
	background: url(../media/color-dark-bg.jpg) #2d1241;
	font-family: 'BitterRegular', Arial, sans-serif;
	letter-spacing: 0;
	padding: 0;
}

p, pre, ul {
	padding: 0;
	margin: 0;
}

#header {
	background: url(../media/color-mid-bg.jpg) #411c3c;
	width: 100%;
}

#header-inner {
	margin: 0 auto;
	width: 90%;
	padding: 80px 0 1em 0;
	color: #422a54;
}

#content {
	background: url(../media/color-light-bg.jpg) #844e70;
	width: 100%;
}

#content-inner {
	margin: 0 auto;
	width: 90%;
	padding: 2em 0;
	color: #411c3c;
}

#content-inner p {
	width: 75%;
	padding-top: 1em;
}

#content-inner p.last {
	padding-bottom: 1em;
}

#accordion-4 a:link, #accordion-4 a:visited {
	color: #411c3c;
}

#accordion-4 a:hover {
	color: #ffc0cb;
}


#accordion p {
	width: 75%;
}

#footer {
	width: 100%;
}

.contact-grid {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}

.contact-box {
	flex: 0 0 auto;
}

.contact-box:not(:last-child) {
	margin-right: 2em;
}

.contact {
	font-size: 2em;
	line-height: 1;
	font-family: 'BitterBold', Arial, sans-serif;
}

.contact a:link, .contact a:visited {
	text-decoration: none;
	color: #411c3c;
	transition: 0.3s all ease;
}

.contact a:hover {
	color: #ffc0cb;
}

#footer-inner {
	margin: 0 auto;
	width: 90%;
	padding: 1em 0;
	color: #844e70;
	line-height: 2;
	overflow: hidden;
}

#logo-container {
	color: #844e70;
	font-size: 0.7em;
	text-align: center;
}

#logo-container-inner {
	float: right;
	width: 292px;
}

#logo-container img {
	height: 60px;
	padding-bottom: 5px;
}

#disciplines {
	float: left;
	margin-right: 20px;
}

#twitter-box {
	float: right;
}

#twitter-box a:link, #twitter-box a:visited, #twitter-box a:hover {
	color: #844e70;
	text-decoration: none;
}

#header h1 {
	font-size: 3em;
	color: #844e70;
    font-weight: normal;
    font-style: normal;
}

#content h2 {
	font-size: 2em;
	padding: 0;
	margin: 0;
    font-weight: normal;
    font-style: normal;
}

#content h3 {
	font-size: 1.7em;
	padding: 0;
	margin: 0;
    font-weight: normal;
    font-style: normal;
}

#content h4 {
	font-size: 1.5em;
	padding: 0;
	margin: 1em 0 0 0;
    font-weight: normal;
    font-style: normal;
}

#content ul {
	list-style-type: none;
	padding: 0;
	margin: 0 0 1em 0;
    font-weight: normal;
    font-style: normal;
}

#content ul a:link, #content ul a:visited {
	color: #411c3c;
	text-decoration: none;
    font-weight: normal;
    font-style: normal;
}

#content ul a:hover {
	color: #ffc0cb;
    font-weight: normal;
    font-style: normal;
}


#accordion h3 {
	font-size: 2.2em;
	line-height: 1.1;
	list-style-type: none;
	padding: 0;
	margin: 0;
	font-family: 'BitterBold', Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    cursor: pointer;
    clear: both;

}

#accordion h3 a:link, #accordion h3 a:visited {
	color: #411c3c;
	text-decoration: none;
    font-weight: normal;
    font-style: normal;
}

#accordion h3 a:hover {
	color: #ffc0cb;
    font-weight: normal;
    font-style: normal;
}

#footer ul {
	font-size: 1em;
	list-style-type: none;
	padding: 0;
	float: left;
}

#footer ul li a, #footer ul li a:visited {
	color: #844e70;
}

#footer ul li a:hover {
	color: #ffc0cb;
}

.bitter-bold {
	font-family: 'BitterBold', Arial, sans-serif;
}

/* ==========================================================================
   FlexSlider
   ========================================================================== */

/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {
	outline: none;
}

.slides,
.flex-control-nav,
.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {
	margin: 0;
	padding: 0;
}

.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
}
/* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .slides img {
	width: 100%;
	display: block;
}

.flex-pauseplay span {
	text-transform: capitalize;
}

/* Clearfix for the .slides element */
.slides:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

html[xmlns] .slides {
	display: block;
	}

* html .slides {
	height: 1%;
}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {
	display: block;
}


/* FlexSlider Default Theme
*********************************/
.flexslider {
	margin: 1em 0;
	background: #2d1241;
	border: 4px solid #2d1241;
	position: relative;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	zoom: 1;
}

.flex-viewport {
	max-height: 2000px;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	transition: all 1s ease;}

.loading .flex-viewport {
	max-height: 300px;
}

.flexslider .slides {
	zoom: 1;
}

.carousel li {
	margin-right: 5px
}

.flex-caption {
	color: white;
	padding: 0.2em 0.2em 0.2em 0.2em;
	text-align: center;
}

.flex-caption a:link, .flex-caption a:visited {
	color: white;
}

.flex-caption a:hover {
	color: #844e70;
}

/* Direction Nav */
.flex-direction-nav {
	*height: 0;
}

.flex-direction-nav a {
	width: 30px;
	height: 30px;
	margin: -20px 0 0;
	display: block;
	background: url(../media//bg_direction_nav.png) no-repeat 0 0; position: absolute;
	top: 50%;
	z-index: 10;
	cursor: pointer;
	text-indent: -9999px;
	opacity: 0;
	-webkit-transition: all .3s ease;
}

.flex-direction-nav .flex-next {
	background-position: 100% 0;
	right: -36px;
}

.flex-direction-nav .flex-prev {
	left: -36px;
}

.flexslider:hover .flex-next {
	opacity: 0.8;
	right: 5px;
}

.flexslider:hover .flex-prev {
	opacity: 0.8;
	left: 5px;
}

.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
	opacity: 1;
}

.flex-direction-nav .flex-disabled {
	opacity: .3!important;
	filter:alpha(opacity=30);
	cursor: default;
}

/* Control Nav */
.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: -40px;
	text-align: center;
}

.flex-control-nav li {
	margin: 0 6px;
	display: inline-block;
	zoom: 1;
	*display: inline;
}

.flex-control-paging li a {
	width: 11px;
	height: 11px;
	display: block;
	background: #666;
	background: rgba(0,0,0,0.5);
	cursor: pointer;
	text-indent: -9999px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-o-border-radius: 20px;
	border-radius: 20px;
	box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
}

.flex-control-paging li a:hover {
	background: #333;
	background: rgba(0,0,0,0.7);
}

.flex-control-paging li a.flex-active {
	background: #000;
	background: rgba(0,0,0,0.9);
	cursor: default;
}

.flex-control-thumbs {
	margin: 5px 0 0;
	position: static; 
	overflow: hidden;
}

.flex-control-thumbs li {width: 25%;
	float: left;
	margin: 0;
}

.flex-control-thumbs img {
	width: 100%;
	display: block;
	opacity: .7;
	cursor: pointer;
}

.flex-control-thumbs img:hover {
	opacity: 1;
}

.flex-control-thumbs .flex-active {
	opacity: 1;
	cursor: default;
}

@media screen and (max-width: 860px) {
	  .flex-direction-nav .flex-prev {
	  	opacity: 1;
	  	left: 0;
	  }
	  
	  .flex-direction-nav .flex-next {
	  	opacity: 1;
	  	right: 0;
	  }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

dl.accordion-list {
	display: block;
	list-style: none;
	padding: 0;
	margin: 0;
}

dl.accordion-list dt {
	display: block;
	width: 100%;
	cursor: pointer;
	margin: 0;
	padding: 0.5em 0;
}

dl.accordion-list dt > h3 {
	margin: 0;
}

dl.accordion-list dd {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 0 1em 0;
}

ul.link-list {
	list-style-type: none;
	margin: 0 !important;
	padding: 1em 0 !important;
}

ul.link-list li {
	margin: 0;
	font-size: 1.5em;
	font-family: 'BitterBold', Arial, sans-serif;
	font-weight: normal;
	font-style: normal;
}

ul.link-list li:not(:last-child) {
	margin-bottom: 0.25em;
}

ul.link-list li a {
	transition: 0.3s ease all;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 1280px) {

	#header-inner {
		margin: 0 auto;
		width: 1150px;
	}
	
	#content-inner {
		margin: 0 auto;
		width: 1150px;
	}
	
	#footer-inner {
		margin: 0 auto;
		width: 1150px;
	}
	
}

@media only screen and (max-width: 800px) {

	#header-inner {
		padding: 40px 0 0.5em 0;		
	}
	
	#content-inner {
		padding: 1em 0;
	}
	
	#content-inner p, #content-inner ul {
		width: 100%;
	}
		
	#footer-inner {
		padding: 1em 0;
	}
		
	#header h1 {
		font-size: 2.3em;
	}
	
	#content h2 {
		font-size: 1.5em;
	}
	
	#accordion h3 {
		font-size: 1.8em;
	}
	
	ul.link-list li {
		font-size: 1.3em;
	}
	
	#accordion {
		width: 100%;
	}
	
	.flex-caption {
		font-size: 0.8em;
		padding: 0.05em;
	}
		
}

@media only screen and (max-width: 550px) {

	#logo-container {
		font-size: 0.5em;
	}
	
	#logo-container img {
		height: 45px;
	}
	
	#disciplines {
		margin-right: 12px;
	}
	
	#logo-container-inner {
		width: 219px;
	}
	
	.contact-grid {
		flex-wrap: wrap;
	}
}

@media only screen and (max-width: 440px) {

	#header-inner {
		padding: 0.5em 0;
	}
	
	#content-inner {
		padding: 1em 0;
	}
	
	#content-inner p, #content-inner ul {
		width: 100%;
		font-size: 0.9em;
	}
		
	#footer-inner {
		text-align: center;
		padding: 1em 0;
	}
	
	#footer ul {
		float: none;
	}
	
	#logo-container {
		margin: 10px auto 0 auto;
		font-size: 0.7em;
		text-align: center;
	}
	
	#logo-container-inner {
		float: none;
		display: inline-block;
		width: auto;
	}
	
	#logo-container img {
		height: 55px;
	}
	
	#disciplines {
		float: left;
		margin-right: 20px;
	}
	
	#twitter-box {
		float: left;
	}
		
	#header h1 {
		font-size: 2em;
	}
	
	#content h2 {
		font-size: 1.1em;
	}
	
	#accordion h3 {
		font-size: 1.4em;
	}
	
	ul.link-list li {
		font-size: 1.1em;
	}
	
	#accordion {
		width: 100%;
	}
	
	.flex-caption {
	font-size: 0.5em;
	padding: 0.05em;
	}
	
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
