/*
 Theme Name: 	Divi-child
 Theme URI:     http://the-whole-shebang.co.uk/Divi-child/
 Description:   Divi Child Theme
 Author:        mmaynard
 Author URI:    http://mmaynard.co.uk
 Template: 		Divi
 Version:       1.0.0
*/


/* ===== START CUSTOM CSS ===== */

body.et_fixed_nav.et_secondary_nav_enabled #main-header {
    top: 0px !important;
}

.et_fixed_nav #top-header {
    top: 40px;
    left: 0px;
    right: 0px;
}

#top-header, #et-secondary-nav li ul {
	background: -webkit-linear-gradient(left, #313c46, #777a7a ); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(left,  #313c46, #777a7a); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right,  #313c46, #777a7a); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right,  #313c46, #777a7a); /* Standard syntax (must be last) */
}



/* ===== TOP HEADER BUTTONS ===== */

a#join:link, a#join:visited {
	position: fixed;
	top: 15px;
	right: 443px;
	display:cell;
	width:76px;
	height:15px;
	background-color:#FFD204;
	z-index: 100;
	text-align:center;
	line-height: 14px;
	color:#313C46;
	font-size:0.9em;
	font-weight:700;
	font-family:"Lato",arial,sans-serif;
	text-transform:uppercase;	
	vertical-align:middle;
}

a#join:hover {
	background-color: #FFF;
}



/*#top-header .container {
    padding-top: 9px;
}*/

#top-header-band {
	width: 100%;
	height: 30px;
	background: rgba( 49, 60, 70, 1 ) ;
}

body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header {
    top: 0px !important;
    height: 217px;
}

body.admin-bar.et_fixed_nav #top-header {
    top: 50px;
}

#main-header {
    line-height: 23px;
    font-weight: 500;
    top: 0px;
    background-color: #FFF;
    width: 100%;
    padding: 18px 0px 0px;
    min-height: 50px;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out 0s;
    position: relative;
    /*z-index: 99999;*/
	z-index: 99;
}

.et_fixed-header #logo {
	max-height: 50px !important;	
}


.et-fixed-header {
min-height:50px !important;
padding:18px 0 0 0 !important;
}

#top-menu-nav {
height:53px !important;
padding-top: 3px !important;
}

.et-fixed-header #et_search_icon::before {
padding-top:8px !important;
}


/* ===== NAVIGATION ===== */

.et_fixed_nav #logo {
    max-height: 50px !important;
    margin-bottom: 0px;
    margin-top: 90px;
}

#et-top-navigation {
    float: left;
    padding-top: 15px;
}

#main-header nav#top-menu-nav {
    padding-top: 9px;
}

#main-header, #main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu { 
	background: rgba( 49, 60, 70, 1 ) !important;
}

#top-menu a {
    color: rgba( 255, 255, 255, 1 ) !important;
}

#top-menu a:hover {
    color: rgba( 255, 204, 0, 1 ) !important;
}

#et_search_icon:before {
    content: "U";
    font-size: 17px;
    left: 0px;
    position: absolute;
    top: 9px;
    color: #FFF;
}


/*.ubermenu-trigger-click .ubermenu-has-submenu-drop > .ubermenu-target {
    cursor: pointer;
    color: rgba( 49, 60, 70, 1 ) !important;
}


.ubermenu-main .ubermenu-item-level-1 ubermenu-target ubermenu-item-layout-default ubermenu-item-layout-text_only {
	color: #313c46 !important;
}*/


/* ===== COUNTDOWN ===== */

.et_pb_countdown_timer .section p {
    font-size: 64px;
    line-height: 64px;
    padding-bottom: 0px;
    text-align: center;
    display: inline-block;
    color: #FFD204 !important;
}

/* ===== TIMETABLE ===== */

.et_pb_tabs_controls li {
    float: left;
    padding: 5px 40px 3px;
    border-right: 1px solid #D9D9D9;
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.mf-tt {
	width: 900px;
	padding: 10px;
}

.mf-tt ul.class-list {
	list-style:none;
}

.mf-tt ul.class-list li {
	font-weight: 700;
	padding: 10px 0px 10px 0px;
	border-bottom: 1px solid #ccc;
}




/* ===== PAGES ===== */


/*.et_fixed_nav.et_secondary_nav_enabled #page-container { */  /*  start top of page immediately beneath header */
    /*padding-top: 114px !important;*/
/*}*/

#page-container {
    padding-top: 176px !important;
}


/* ===== CONTACT ADDRESS ===== */
/*.et_pb_all_tabs p.p1 {
	line-height: 0.8em !important;	
}*/


/* ===== SIDEBAR ===== */


/* ===== SOCIAL ICONS ===== */

.et-social-icon a {
    display: inline-block;
    font-size: 24px;
    position: relative;
    text-align: center;
    transition: color 300ms ease 0s;
    color: #FFD204;
    text-decoration: none;
}

.et-social-facebook .et-social-icon a.icon:hover {
    color: #FFF;
}

/* ===== FOOTER ===== */


.footer-widget {
    float: left;
    width: 210px;
    margin: 0px 60px 50px 0px;
    color: #FFF;
}

.footer-widget h4.title {
	color: #FFD204 !important;	
	font-weight: 300;
}

.share {
	background-repeat: no-repeat;
	display: block;
	width: 117px;
	height: 27px;
	margin-top: 10px;
	opacity: 0.7;
    filter: alpha(opacity=60); /* For IE8 and earlier */
}


a#twitter:link, a#twitter:visited {
	background-image:url(images/Twitter-Share-Button.png);
}
a#googleplus:link, a#googleplus:visited {
	background-image:url(images/GooglePlus-Share-Button.png);
}
a#facebook:link, a#facebook:visited {
	background-image:url(images/Facebook-Share-Button.png);
}

a#googleplus:hover, a#twitter:hover, a#facebook:hover {
	opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */	
}


/* ===== FOOTER POSTS ===== */

#footer-widgets .footer-widget .fwidget et_pb_widget rpwe_widget recent-posts-extended li:before {
	border-style: none !important;
	top: 20px;
}

a#GetMoreNews:link, a#GetMoreNews:visited {
	display: cell;
	background-color: #FFD204;
	width: 70px;
	height: 20px;
	color: #313c46;
	text-align:center;
	vertical-align:middle;
	padding: 3px;
	position: relative;
	top: 20px;
}

a#GetMoreNews:hover {
	background-color: #313c46;
	color: #FFD204;
}


/* ===== FOOTER NAV HORIZONTAL ===== */

.bottom-nav li.current-menu-item > a {
    color: #FFF;
}