


h1, h2, h3, h4, h5, h6 {
    color: #8ba6d2;
}

a {
    color: #dd0079;
}

#header {
    height: 115px;
}


#main-nav a {
   padding: 5px 10px 36px !important;
}

#main-nav a:hover
 {
color:#8ba6d2;
}

#main-nav  .sub-menu a{
	     padding: 5px 10px  !important;
		 color:#8ba6d2 !important;
}

.page-title {
  color: #8ba6d2;
}

.sub-menu .menu-item a {
  text-align: left !important;
  text-transform: uppercase !important;
  width: 90% !important;
  font-size: 95% !important;
  
  

}

.sub-menu .menu-item a:hover {
	color: #dd0079 !important;
padding-left:16px !important;	
}

#main-nav ul {
  border-color: #dd0079 #eee #eee;
  top: 50px;
  border-width: 2px;
  width: 220px;
  left: inherit;
  margin-left: inherit;
}

#main-nav ul::before{
	display:none;
}



.mobile-button {
  position: absolute;
  right: 0;
  top: 39px;
}

/* ----------------------------------------------------------------
        Footer
-----------------------------------------------------------------*/
#footerwrap {
    background-color: #333;
}

#footer {
	background-color: transparent;
    position: relative;
    border-top: 5px solid rgba(0,0,0,0.2);
}

#footer a {
    color: #dd0079;
    text-decoration: none !important;
}

#footer .footer-widgets-wrap {
    position: relative;
    padding: 40px 0;
}

.footer-widgets-wrap .col_full,
.footer-widgets-wrap .col_half,
.footer-widgets-wrap .col_one_third,
.footer-widgets-wrap .col_two_third,
.footer-widgets-wrap .col_three_fourth,
.footer-widgets-wrap .col_one_fourth,
.footer-widgets-wrap .col_one_fifth,
.footer-widgets-wrap .col_two_fifth,
.footer-widgets-wrap .col_three_fifth,
.footer-widgets-wrap .col_four_fifth,
.footer-widgets-wrap .col_one_sixth,
.footer-widgets-wrap .col_five_sixth { margin-bottom: 0; }

#copyrights {
    background-color: transparent;
    font-size: 14px;
    line-height: 1.8;
}

#copyrights i.footer-icon {
    position: relative;
    top: 1px;
    font-size: 14px;
    width: 14px;
    text-align: center;
    margin-right: 3px;
}

.copyright-links a {
    display: inline-block;
    margin: 0 3px;
    color: #333;
    border-bottom: 1px dotted #444;
}

.copyright-links a:hover {
    color: #555;
    border-bottom: 1px solid #666;
}

.copyrights-menu { margin-bottom: 10px; }

.copyrights-menu a {
    font-size: 14px;
    margin: 0 10px;
    border-bottom: 0 !important;
}

#copyrights .col_half { margin-bottom: 0 !important; }

#copyrights a:first-child { margin-left: 0; }

#copyrights .tright a:last-child { margin-right: 0; }

.footer-logo {
    display: block;
    margin-bottom: 30px;
}

@media only screen and (max-width: 620px) {
	#main-nav {
	  top: 82px !important;
	  width: 210px !important;
	} 
	
	#headerwrap #main-nav a {
  font-weight: bold;
}


	.sub-menu .menu-item 
	{
		width: 100% !important;
	}
	.sub-menu .menu-item a {
		text-transform: capitalize !important;
	}
	
	 #main-nav {
   display:none !important;
	}
	
	 #main-nav.active  {   
	 display:block !important;
	}


	.mobile-button::before {
    color: #000;
    content: "";
    font: 21px/1em FontAwesome;
    height: 1em;
    left: 50%;
    margin: -0.5em 0 0 -0.5em;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 1em;
	}
	.mobile-button::after {
		background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
		border: medium none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	.mobile-button {
		background-color: #c3c3c3;
		border-radius: 5px;
		cursor: pointer;
		display: block;
		float: right;
		height: 30px;
		margin-bottom: 3px;
		margin-right: 3px;
		
		width: 32px;
	}
	
	
	#main-nav::before {
    border-bottom: 8px solid #999;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    content: " ";

    height: 0;
    position: absolute;
    right: 9px;
    top: -8px;
    width: 0;
    z-index: -1;
}
.clearfix::after, .widget li::after, #body::after, #footer::after, footer::after, .pagenav::after, #main-nav::after, .menu::after, .gallery::after, #content::after {
    clear: both;
    content: " ";

    font-size: 0;
    height: 0;
    visibility: hidden;
}
#headerwrap #main-nav {
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 5px;
    bottom: auto;
    box-shadow: 1px 2px 0 rgba(0, 0, 0, 0.2);
    clear: both;

    left: auto;
    padding: 10px 5px;
    position: absolute;
    right: 0;
    top: 120px;
    width: 160px;
    z-index: 1000;
}
#headerwrap #main-nav {
    height: auto;
    margin: 10px 0;
}

	
	#main-nav {
    border-color: #ccc !important;
    border-radius: 0 !important;
    box-shadow: none !important;
top: 82px !important;
	  width: 210px !important;
}


}

