/*
Theme Name: College Essay Advisors 
Theme URI: http://www.collegeessayadvisors.com
Version: 1.0
Author: Bicycle Creative
Author URI: http://www.bicyclecreative.com
*/

.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */


.heading-block {
	position: relative;
	margin: -20px -70px 0px;
	background: url(images/heading-bg-large.png) no-repeat 50% 0;
	padding: 5px 120px 20px;
	text-align: center;
	color: #464646;
	height: 140px;
}

.heading-block .frame {
	display: block;
	height: 106px;
	vertical-align: middle;
	width: 100%;
}

.heading-block h1 {
	display: inline-block;
	vertical-align: top;
	font-size: 37px;
	line-height: 1.2em;
	text-transform: uppercase;
	font-family: "AgencyFB-Bold", "Tahoma", "Geneva", sans-serif;
	font-weight: normal;
	margin: 0;
	letter-spacing: 2px;
}

.heading-block h2 {
	display: block;
	vertical-align: middle;
	font-size: 56px;
	line-height: 1.2em;
	text-transform: uppercase;
	font-family: "AgencyFB-Bold", "Tahoma", "Geneva", sans-serif;
	font-weight: normal;
	margin: 30px auto 0;
	letter-spacing: 2px;
	color: #464646;
}

.heading-block.medium {
	background: url(images/heading-bg-medium.png) no-repeat 50%;
	padding-top: 14px;
}

.heading-block.medium .frame {
	height: 90px;
}

/* SUBHEADLINES */

.decor-box {
	width: 368px;
	height: 69px;
	background: url(images/heading-bg-small.png) no-repeat 50% 0;
	text-align: center;
	color: #fff;
	padding: 13px 30px;
	margin: 20px auto 15px;
}

.decor-box h3 {
	color: #fff;
	font-size: 3.6rem;
	text-transform: uppercase;
}

.subheader {
	padding: 14px 50px;
	position: relative;
	color: #fff;
	height: 70px;
	display: block;
	background: url(images/title-bg01.png) repeat-x;
	background-size: auto 100%;
	max-width: 50%;
	margin: 0 auto 45px;
	text-align: center;
	font-size: 37px;
	line-height: 1.2em;
	font-family: "AgencyFB-Bold", "Tahoma", "Geneva", sans-serif;
	letter-spacing: 2px;
	position: relative;
	overflow: hidden;
}

.subheader:before,
.subheader:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	border: solid;
	border-width: 35px 13px;
	border-color: transparent transparent transparent #daf0f0;
}

subheader:after {
	left: auto;
	right: 0;
	border-color: transparent #daf0f0 transparent transparent;
}

/* NAVIGATION */

#menu-item-2463 { display: none !important; }

#menu-main-menu
{
	width: 100%;
	margin: 0;
	padding: 24px 0 0 0;
	list-style: none;  
}

#menu-main-menu li
{
	float: left;
	padding: 0 0 0px 0;
	margin-bottom: 0;
	position: relative;
	line-height: 0;
}

#menu-main-menu a 
{
	float: left;
	height: 10px;
	padding: 0 0px;
	text-decoration: none;
}

#menu-main-menu li:hover > a
{
	color: #037D74;
}

*html #menu-main-menu li a:hover /* IE6 */
{
	color: #037D74;
}

#menu-main-menu li:hover > ul
{
	display: block;
	visibility: visible;
	opacity:1.0;
	-webkit-animation: fadein 0.8s; /* Safari and Chrome */
	-moz-animation: fadein 0.8s; /* Firefox */
	-ms-animation: fadein 0.8s; /* Internet Explorer */
	-o-animation: fadein 0.8s; /* Opera */
	animation: fadein 0.8s;
	
}

/* Sub-menu */

#menu-main-menu ul
{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 99999;    
    background: rgba(255, 255, 255, 0.85);
    border: 0px solid #000;
    /*-moz-box-shadow: 0 0 2px rgba(255,255,255,.5);
    -webkit-box-shadow: 0 0 2px rgba(255,255,255,.5);
    box-shadow: 0 0 2px rgba(255,255,255,.5);*/

}

#menu-main-menu ul ul
{
  top: 0;
  left: 150px;
}

#menu-main-menu ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    /*-moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;*/
}

#menu-main-menu ul li:last-child {   
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none; }

#menu-main-menu ul a {    
    padding: 10px;
	height: 10px;
	width: 210px;
	height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
	text-transform: none;
	text-align: left;
	font-size: 13px;
}

#menu-main-menu ul { border: 1px solid #CCC; }

li#menu-item-2361 ul a { width: 210px; }

*html #menu-main-menu ul a /* IE6 */
{    
	height: 10px;
}

*:first-child+html #menu-main-menu ul a /* IE7 */
{    
	height: 10px;
}

#menu-main-menu ul a:hover
{
    background: #fff;
}

#menu-main-menu ul li:first-child > a
{
    -moz-border-radius: 0;
    border-radius: 0;
}

#menu-main-menu ul li:first-child > a:after
{
    content: '';
    position: absolute;
    left: 15px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 0px solid #000;
}

#menu-main-menu ul ul li:first-child a:after
{
    left: -8px;
    top: 12px;
    width: 0;
    height: 0;
    border-left: 0;	
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-right: 0px solid #000;
}

#menu-main-menu ul li:first-child a:hover:after
{
    border-bottom-color: #000; 
}

#menu-main-menu ul ul li:first-child a:hover:after
{
    border-right-color: #000; 
    border-bottom-color: transparent; 	
}


#menu-main-menu ul li:last-child > a
{
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px; }

/* Clear floated elements */
#menu-main-menu:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0; }

* html #menu-main-menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu-main-menu { zoom: 1; } /* IE7 */

nav { float: right; padding: 4px 0 15px; margin-right: -50px; }
nav ul li { list-style: none; display: inline-block; float: left; margin-left: /*32px*/ 60px; font-weight: 400; font-size: 1.6rem; letter-spacing: 0.0rem; }
nav ul li a { text-decoration: none !important; border-bottom: none !important; color: #fff; }
nav ul li a:hover { color: #CCC !important; }

nav ul ul li a { text-decoration: none; border-bottom: none; color: #018484; }
nav ul ul li a:hover { color: #018484 !important; }

nav ul ul { font-size: 100%; }
#menu-main-menu ul a { font-size: 1.5rem !important; }

/*ul.menu { margin: 0 0 0 0px; display: block; }
ul.menu li { list-style: none; float: left; margin: 5px 0px 5px 118px; padding-bottom: 9px; text-align: center; font-family: "EngraversGothicBT"; font-size: 13.5px; text-transform: uppercase; letter-spacing: 2px; }

ul.menu li:first-child { margin-left: 0px !important; margin-right:3px; }
ul.menu li a, ul.top-menu li a { text-decoration: none; color: #000; }
ul.menu li a:hover, ul.top-menu li a:hover { text-decoration: none; color: #222; }
ul.menu li.current-menu-item a { text-decoration: none; color: #222; }*/

.taptap-by-bonfire ul li a { font-family: "Gotham", arial, sans-serif !important; }
.taptap-by-bonfire ul li a { border-bottom: none; font-size: 2rem !important;}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari and Chrome */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}