/*
Theme Name: Employ Design
Version: 1.0
Author: Icecube Creative Design
*/

@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,300,900);

*{
margin: 0;
}

html,
body {
    height: 100%;
	font-family: 'Source Sans Pro', arial, sans-serif;
}

html, body, .footer {
    background: #EEE url('./css/img/navbar-fill.png');
    color: #333;
}

h1 {
    font-size: 38px;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: normal;
}

h2 {
    font-size: 36px;
	font-family: 'Source Sans Pro', sans-serif;
    margin-top: 6px;
    margin-bottom: 12px;
    color: #C00;
	font-weight: 300;
}

h3 {
    font-size: 22px;
	font-family: 'Source Sans Pro', sans-serif;
    margin-top: 4px;
    margin-bottom: 8px;
    color: #333;
	font-weight: normal;
	font-style: normal !important;
}

h4 {
    font-size: 18px;
	font-family: 'Source Sans Pro', sans-serif;
    color: #333;
}

h5 {
    font-size: 15px;
}

p{
	font-size: 1.2em;
}

a,
.main-color
 {
  color: #87212e;
}

a:hover {
  color: #d2322d;
}

.clear{
clear: both;
}

.btn {
padding: 4px 12px;
}

.special-letter{
	color: #b50102;
	font-size: 1.2em;
}

.home-adv-menu ul {
  /*  list-style-image: url('img/li-icon.png'); */
  list-style: none;
  padding: 0px;
}

.header_wrapper{
padding-top: 20px;	
position: relative;
}

.navbar {
	/*
	border-bottom: 1px solid #666;
	box-shadow: 0 0 10px #888;
	margin-bottom: 0px;
	*/
	
}

.hover:hover {
    opacity: 0.8;
}

.login-form {
    border: none;
	position: absolute;
	height: 100px;
	
	right: 0px;
	top: 66px;
}

.login_button{
	position: absolute;
	
}

.login_links {
	display: none;
	position: absolute;
	top: 0;
	width: 300px;

}

.login_links a {
	color: #b50102;
	background: #fff;
	border: 1px solid #b50102;
	float: left;
	width: 120px;
	margin-right: 10px;
}

.login_links .show{
	display: block;
}

.login-form img {
    width: 32px;
    position: relative;
}

.navbar-brand {
    position: relative;
    margin-bottom: -35px;
    top: 0;
}

.page-title {
    position: relative;
    top: -50px;
    margin-bottom: -40px;
    color: #FFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.job-form-back {
    background: #111 url('./css/img/search-fill.png');
}

.footer-splitter {
   margin-top:24px;
   height: 100px;
   display:none;
}

.navbar-inverse,
.footer-splitter
{
    background: #EEE url('./css/img/navbar-fill.png');
}

.navbar {
    min-height: 130px;
	box-shadow: 0 0px 4px #333;
}

.navbar-header {
    min-height: 100px;
	float: left;
}

.navbar-toggle {
    background: #87212e url('./css/img/active-fill.png?v=1');
}

.navbar-inverse{
	box-shadow: 0 0 4px #666;	
}

.navbar-inverse .navbar-nav>li>a {
    color: #333;
}

.navbar-nav li a {
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 15px;
font-weight: bold;
text-transform:uppercase;
}

.navbar-nav li ul li a {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 15px;
    font-weight: bold;
}


#click-menu{
	top: 30px;	
}

@media (max-width: 992px) {
    
	.header_wrapper{
	text-align: center;
	}
	
	.navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 16px;
    }
	
	.navbar-brand{
	float: none;
	}
	
	.nav-menu {
    min-width: 350px;
	}

	.navbar-header{
	float: none;
	text-align: center;
	}
	
	#site-navigation {
    float: none;
	}
	
	.navbar-fixed-top{
	position: relative;
	}
	
	.login_links{
	top: 85px;
	right: 44%;
	}

}

.navbar-nav a:hover {
    color: #FFF;
    background: #87212e url('./css/img/active-fill.png?v=1');
    text-transform:uppercase;
}

.home-adv-menu h3,
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.active>a:focus {
    color: #FFF;
    background: #b50102 url('./css/img/active-fill.png?v=1');
    text-transform:uppercase;
}

.navbar-inverse .navbar-nav>li>a:hover, 
.navbar-inverse .navbar-nav>li>a:focus {
    color: #b50102;
    text-decoration: underline;
    background: transparent;
}

.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-circle-arrow-left,
.carousel-control .glyphicon-circle-arrow-right,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    display: inline-block;
}

.container{
max-width:990px;
}

/* Wrapper for page content to push down footer */
.wrap {
    height: auto !important;
    height: 100%;
    margin: 0 auto;
    /* Pad bottom by footer height */
       padding: 0 0;
    position: relative;
    z-index: 10;
	
}

.content_wrapper{
/* background: #fff;
box-shadow: 0 0 6px #333; */
margin-bottom: 20px;
}

.content-image {
   position: absolute;
   right: 12px;
   top: 200px;
   z-index:9;
   width: 960px;
}

.sidebar_banner{
margin-top: -24px;
}

.footer {
    height: 120px;
    position: relative;
	width: 100%;
	margin: auto;
}

.footer .container {
	border-top: 1px solid #999;
	padding-top: 20px;
}

.hr {
    overflow: hidden;
    height: 1px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #333;
    margin: 12px 0;
}

.home-adv-menu {
	margin-bottom: 20px;
}

.home-adv-menu > li {
    background-color: #fff;
	margin: 10px 9px;
	box-shadow: 0 2px 3px #999;
	width: 18%;
}

.home-adv-menu li.menu-item-317{
margin-left: 0px;
}

.home-adv-menu > li {
    float: left;
	background-color: #b50102;
	color: #fff;
}

.home-adv-menu > li a {
	color: #fff;
	 padding: 4px 20px 4px 20px;
	display: block;
}

.home-adv-menu li.menu-item-has-children > a {
	color: #fff;
	padding: 12px 3px;
	text-align: center;
}

.home-adv-menu li.menu-item-has-children {
    background: #b50102;
}

.home-adv-menu .col-md-3:first-of-type {
    display: none;
	
}

.home-adv-menu h3 {
    padding: 12px 6px 12px 12px;
    font-size: 16px;
    font-weight: normal;
    min-height: 60px;
    
}

.home-adv-menu h3 a {
    color:#FFF;
}

.home-adv-menu h3 span {
    font-size: 50px;
    float: left;
    position: relative;
    top: -10px;
    margin-right: 8px;
}

.home-adv-menu ul {
    padding-left: 20px;
	 background-color: #fff;
}

.home-adv-menu ul li {

}

.home-adv-menu ul li a {
    color: #333;
}

.job-search-home-block {
    position: absolute;
    top: 80px;
    right: 22%;
    z-index: 99;
    padding-bottom: 20px;
    width: 220px;
	background-color: #333;
}

.home-adv-menu ul.sub-menu{
	height: 210px;
	padding-left: 0px;
	padding-top: 12px;
}


/* ---- banner image ---- */
.wp-post-image{
	background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
    height: auto;
    line-height: 1.42857;
    max-width: 100%;
    padding: 4px;
    transition: all 0.2s ease-in-out 0s;
}

@media (min-width: 992px) {
    .home-adv-menu .col-md-3 {
        width: 22%;
        padding-right: 0px;
        padding-left: 0px;
    }
	
	.page-banner{
	margin-top: 120px;
	}
	
	.home-banner{
	   margin-top: 88px;
	}
	.login_links {
	display: none;
	position: absolute;
	top: 0;
	width: 300px;
	left: -200px;
	}


}



@media (max-width: 992px) {
    .job-search-home-block {
        top: 120px;
        right: auto;
        left: 10%;
    }
	
	.home-adv-menu .col-md-3 {
        width: 45%;
		float: left;
    }
	
	.home-adv-menu > li {
        width: 46%;
    }
	
	.nav-menu li.menu-item-has-children {
    margin: 0;
    width: auto !important;
}
	.nav-menu li.menu-item-has-children a{
    padding: 10px 26px;
}

	.nav-menu{
    float: none;
}

	.login-form{
    top: 100px;
	right: 54%;
	}
	
	.login_links {
    right: -200px;
    top: 0;
    }

    body{
        margin-top:-32px;
    }
}

@media (max-width: 640px) {

	.nav-menu{
	min-width: 390px;
	}
	.nav-menu li.menu-item-has-children a{
    padding: 10px 8px;
	font-size: 100%;
    }

	.home-adv-menu > li {
		width: 96%;
	}
    body{
        margin-top:-46px;
    }	
}



.job-search-home-block .job-form-back {
    position: absolute;
    min-height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0.9;
    z-index: 1;
}

.job-search-home-block .job-form-front {
    position: relative;
    z-index: 2;
}

.job-search-home-block .row {
    margin: 0;
}

.job-search-home-block .job-search-selector .col-sm-4 {
    padding: 0;
}

.job-search-home-block .job-search-selector a {
    color: #FFF;
    padding: 6px 0;
    display: inline-block;
    width: 100%;
    text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	}

.job-search-home-block .job-search-selector a:hover {
    color: #FFF;
    background-color: #444;
}

.job-search-home-block .job-search-selector .active a {
    color: #FFF;
    background: #b50102 url('./css/img/active-fill.png?v=1');
}

.job-search-home-block .job-search-form-holder {
    padding-left: 20px;
    margin-top: 12px;
}

.job-search-form {
    width: 180px;
}

.job-search-form label {
    color: #CCC;
    margin-bottom: 0;
    font-weight: normal;
    /*text-transform: uppercase;*/
}

.job-search-form .form-group {
    margin-bottom: 10px;
}

.job-search-form .btn-default {
    margin-top: 12px;
}



.home-banner {
    background: transparent url('./img/home-banner-back.png') repeat-x;
	overflow: hidden;
	border-bottom: 1px solid #aaa;
}

.shadow_bottom{
	bottom: 0;
    box-shadow: 0 0 5px #666;
    height: 20px;
    position: relative;
    width: 100%;
	border-top: 1px solid #ddd;
}


/* Carousel base class */
.home-banner .carousel {
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
}

/* Since positioning the image, we need to help out the caption */
.home-banner .carousel-caption {
    z-index: 10;
    left: 10%;
    top: 5%;
    color: #000;
    text-align: left;
}

/* Declare heights because of positioning of img element */
.home-banner .carousel .item {
    height: 470px;
    background-color: #777;
}

.home-banner .carousel-inner > .item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 470px;
}

.home-banner .carousel-control .glyphicon {
    /*color: #000;*/
}

.partnership-carousel .carousel .item {
    height: 60px;
}

.partnership-carousel .carousel-control {
    background: none;
    width: 20px;
}

.partnership-carousel .carousel-control .glyphicon {
    left: 0;
    top: 30%;
}

.partnership-carousel .container {
    padding: 0 30px;
}

.partnership-carousel .row div span {
    font-size: 29px;
}

.partnership-carousel .row div {
    text-align: center;
    padding-top: 12px;
}

@media (max-width: 992px) {
    .partnership-carousel .row div {
        display: inline-block;
        text-align: center;
        width: 16%;
    }
}

@media (max-width: 992px) {
    .form-newsletter .form-group {
        display: inline-block;
    }
}

.form-newsletter input {
    width: 200px;
}

.page-banner {
    background: #f0eff4 url('img/header_banner/hb_pencils.png') repeat-x scroll 0 bottom;
    height: 130px;
    border-bottom: 1px solid #aaa;
	/* box-shadow: 0 0px 4px #333 inset; */
	position: relative;
    z-index: 999999999;
}

.page-id-7 .page-banner, .parent-pageid-7 .page-banner {
    background: #f0eff4 url('img/header_banner/hb_bits.png') repeat-x scroll 0 bottom;
}

.page-id-258 .page-banner, .parent-pageid-258 .page-banner {
    background: #f0eff4 url('img/header_banner/hb_umbrella.png') repeat-x scroll 0 bottom;
}

.page-id-9 .page-banner, .parent-pageid-9 .page-banner {
    background: #f0eff4 url('img/header_banner/hb_people.png') repeat-x scroll 0 bottom;
}

.page-id-366 .page-banner, .parent-pageid-366 .page-banner {
    background: #f0eff4 url('img/header_banner/hb_candidate.png') repeat-x scroll 0 bottom;
}


#sidebar_form{
padding: 20px;
background-color: #b50102;
color: #fff;
}

.latest-jobs {
    padding-left: 0;
}

.latest-jobs li {
    margin-bottom: 12px;
}

.latest-jobs a {
    display: block;
    margin-bottom: -4px;
    line-height: 9px;
}

.latest-jobs span {
    color: #CCC;
    font-size: 11px;
    line-height: 9px;
}

.row-page {

	padding-bottom: 40px;
}

@media (max-width: 992px) {
    .row-page {
        background: none;
    }
}

.row-page .col-lg-4 {
    width: 33%;
    padding: 24px 0 0 24px;
	float: right;
	overflow: hidden;
}

.row-page .col-lg-8 {
    width: 63%;
    padding: 24px 20px 0 40px;
	margin-right: 20px;
	float: left;
}

.row-page .col-lg-12 {
    width: 100%;
    padding: 24px 40px 0 40px;
}

@media (max-width: 992px) {
    .row-page .col-lg-8 {
        width: 100%;
		
    }
	.row-page .col-lg-4 {
    display: none;
}

	
}

@media (max-width: 992px) {
    .latest-jobs-bar {
        display: none;
    }
}

.sub-menu {
    padding: 12px 12px 0 12px;
    margin-left: 0px;
    margin-bottom: 12px;
}

.sub-menu ul {
    padding-left: 20px;
}

.job-search-info {
    margin-left: 24px;
    margin-bottom: 24px;
    min-width: 160px;
    color: #666;
}

.btn-danger, .btn-danger, .btn-danger, .btn-danger.active, .open .dropdown-toggle.btn-danger {
    background-color: #b50102;
    border-color: #a20102;
}

.job-info-summary,
.job-info-description {
    margin-bottom: 0px;
    margin-top: 0px;
    padding: 12px 0px;
    margin-bottom: 4px;
    font-size: 15px;
	position: relative;
}

.job-info-summary:hover,
.job-info-description:hover {
    cursor: pointer;
}



.search_result_wrapper{
	margin: 0px 0px 60px 0px;
	border-bottom: 1px solid #999;
	padding-bottom: 20px;
}

.search_result_wrapper .btn{
float: right;
}

.search_result_wrapper .more, .search_result_wrapper .less{
	
	position: absolute;
	
	left: 0px;
	width: 50px;
	height: 50px;
	text-align: center;
	font-size: 2em;
	color: #999;

}

.search_result_wrapper .more{
	bottom: -50px;
}

.search_result_wrapper .less{
	
	padding: 25px 0 0 0;

}


.job-info-description {
    display: none;
    font-size: 15px;
}

table tr td {
   background-color: #FFF;
color: #222;
}

thead tr th {
    background-color: #b50102;
}

.table-striped>tbody>tr:nth-child(even)>td, .table-striped>tbody>tr:nth-child(even)>th {
    background-color: #FFF;
}

.table-hover>tbody>tr:hover>td, .table-hover>tbody>tr:hover>th {
background-color: #fddedc;
}

.dropdown:hover > a.dropdown-toggle {
  background-color:#000 !important;
  color:#FFF !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
 }

.latest-jobs-bar ul {
  padding-left: 0;
}

.latest-jobs-bar ul li{
  list-style: none;
}

.latest-jobs-bar ul li a {
  color: #666;
  text-decoration: none;
}

.latest-jobs-bar ul li a:hover {
  color: #d2322d;
}

/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
 */

.main-navigation {
	float: right;
	margin: 0 auto;
	max-width: 740px;
	min-height: 45px;
	position: relative;
}

ul.nav-menu,
div.nav-menu > ul {
	margin: 0;
	padding: 0 20px 0 0;
}

.nav-menu li {
	display: inline-block;
	position: relative;
	width: 100%;
}

.nav-menu li a {
	color: #333;
	display: block;
	font-size: 1.3em;
	line-height: 1.2em;
	margin-top: 20px;
	padding: 20px 30px;
	text-decoration: none;
}

.nav-menu > ul li a {
	margin: 0px 20px 0 20px;
}

.nav-menu li a {
	color: #333;
	display: block;
	font-size: 1.1em;
	line-height: 1.2em;
	margin-top: 20px;
	padding: 20px 10px 20px 20px;
	text-decoration: none;
}

.nav-menu li.menu-item-has-children {
margin: 0 0px;
width: 130px;
}


.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #220e10;
	color: #fff;
}

.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #220e10;
	padding: 0;
	position: absolute;
	z-index: 99999;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.nav-menu .sub-menu ul,
.nav-menu .children ul {
	border-left: 0;
	left: 100%;
	top: 0;
}

#site-navigation .sub-menu li{
width: 100%;
padding: 5px 0px 5px 0px;
}

ul.nav-menu ul a,
.nav-menu ul ul a {
	color: #fff;
	margin: 0;
	padding: 6px 20px;
	font-size: 1.1em;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #b50102;
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul,
ul.nav-menu .focus > ul,
.nav-menu .focus > ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	color: #b50102;
}

.menu-toggle {
	display: none;
}


.menu-toggle {
	display: none;
}

/* form styles */


.wpcf7-form {
    margin-left: 0;
    margin-right: 0;
    max-width: 500px;
    padding: 25px 15px 25px 10px;
    color: #888;
    text-shadow: 1px 1px 1px #FFF;
    border: 0;
}
.wpcf7-form h1 {
    font-size: 25px;
    padding: 0px 0px 10px 40px;
    display: block;
    border-bottom:1px solid #E4E4E4;
    margin: -10px -15px 30px -10px;;
    color: #888;
}
.wpcf7-form h1>span {
    display: block;
    font-size: 11px;
}
.wpcf7-form label {
    display: block;
    margin: 0px;
}
.wpcf7-form label>span {
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: #888;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea, .wpcf7-form select {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}

.wpcf7-form input[type="text"]:focus, .wpcf7-form input[type="email"]:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus {
	border-color: #66afe9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}


.wpcf7-form textarea{
    padding: 5px 3px 3px 5px;
}
.wpcf7-form select {
    background: #FFF url('down-arrow.png') no-repeat right;
    background: #FFF url('down-arrow.png') no-repeat right);
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width: 70%;
    height: 35px;
    line-height: 25px;
}
.wpcf7-form textarea{
    height:100px;
}
.wpcf7-form .button {
    background: #E27575;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    box-shadow: 1px 1px 5px #B6B6B6;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #9E3F3F;
    cursor: pointer;
}
.wpcf7-form .button:hover {
    background: #CF7A7A
}

#wpcf7-f274-p53-o1{
width: 420px;
}

#wpcf7-f541-p388-o1 input[type="email"], #wpcf7-f541-p388-o2 input[type="email"]{
	width: 82%;
	float: left;
	margin-right: 10px;
}

#wpcf7-f541-p388-o2 form{
	margin-top: 0px;
	padding-top: 0px;
}

#wpcf7-f541-p388-o2 input[type="email"]{
	width: 70%;
	float: left;
	margin-right: 6px;
}


.wpcf7-mail-sent-ok{
	background-color: #398f14;
	color: #fff;
	padding: 10px 10px 10px 20px !important;
	text-shadow: none;
	font-size: 16px;
}

.footer input[type="email"]{
	width: 60%;
	margin-right: 6px;
	float: left;
}

.footer .wpcf7-form{
	padding-top: 6px;
}

@media (max-width: 643px) {
	.footer .col-xs-12 {
		padding-top: 20px;
	}
}

.page-id-47 img.wp-post-image{
	background-color: transparent;
    border: none;
    border-radius: 0;
    display: block;
    height: auto;
    line-height: 1.42857;
    max-width: 100%;
    transition: all 0.2s ease-in-out 0s;
}	
	
	
#wpadminbar{
	opacity: 0;
}
#wpadminbar:hover{
	opacity: 1;
}

[class^="icon-"]{
	margin-right: 10px;
	vertical-align: middle !important;
}

@media (max-width: 643px) {
	.site-title {
		font-size: 30px;
	}

	#content .entry-header,
	#content .entry-content,
	#content .entry-summary,
	#content footer.entry-meta,
	#content .featured-gallery,
	.search.sidebar .page-content,
	.blog.sidebar .page-content,
	.sidebar .post-navigation .nav-links,
	.paging-navigation .nav-links,
	#content .author-info,
	.comments-area .comments-title,
	.comments-area .comment-list,
	.comments-area .comment-navigation,
	.comment-respond,
	.sidebar .site-info,
	.sidebar .paging-navigation .nav-links {
		padding-left: 20px;
		padding-right: 20px;
	}

	#content .format-status .entry-content,
	#content .format-status .entry-met {
		padding-left: 35px;
	}

	/* Small menu */
	.menu-toggle {
		cursor: pointer;
		display: inline-block;
		font: bold 16px/1.3 "Source Sans Pro", Helvetica, sans-serif;
		margin: 0;
		padding: 12px 0 12px 20px;
	}

	.menu-toggle:after {
		content: "\f502";
		font-size: 12px;
		padding-left: 8px;
		vertical-align: -4px;
	}

	.toggled-on .menu-toggle:after {
		content: "\f500";
		vertical-align: 2px;
	}

	.toggled-on .nav-menu,
	.toggled-on .nav-menu > ul {
		display: block;
		margin-left: 0;
		padding: 0;
		width: 100%;
	}

	.toggled-on li,
	.toggled-on .children {
		display: block;
	}

	.toggled-on .nav-menu li > ul {
		background-color: transparent;
		display: block;
		float: none;
		margin-left: 20px;
		position: relative;
		left: auto;
		top: auto;
	}

	.toggled-on .nav-menu li > ul a {
		color: #141412;
		width: auto;
	}

	.toggled-on .nav-menu li:hover > a,
	.toggled-on .nav-menu .children a {
		background-color: transparent;
		color: #141412;
	}

	.toggled-on .nav-menu li a:hover,
	.toggled-on .nav-menu ul a:hover {
		background-color: #db572f;
		color: #fff;
	}

	ul.nav-menu,
	div.nav-menu > ul {
		display: none;
	}

	#content .featured-gallery {
		padding-left: 24px;
	}

	.gallery-columns-1 .gallery-item {
		margin-right: 0;
		width: 100%;
	}

	.entry-title,
	.format-chat .entry-title,
	.format-image .entry-title,
	.format-gallery .entry-title,
	.format-video .entry-title {
		font-size: 22px;
		font-weight: bold;
	}

	.format-quote blockquote,
	.format-status .entry-content {
		font-size: 18px;
	}

	.format-quote blockquote small,
	.format-quote blockquote cite {
		font-size: 13px;
	}

	.error404 .page-title {
		padding: 40px 0 0;
	}

	.error404 .page-title:before {
		content: normal;
	}

	.comment-author {
		margin-right: 30px;
	}

	.comment-author .avatar {
		height: auto;
		max-width: 100%;
	}

	.comment-metadata,
	.comment-content,
	.comment-list .reply {
		width: 70%;
		width: -webkit-calc(100% - 104px);
		width:         calc(100% - 104px);
	}

	.comment-form input[type="text"],
	.comment-form input[type="email"],
	.comment-form input[type="url"] {
		width: -webkit-calc(100% - 120px);
		width:         calc(100% - 120px);
	}

	.comment-form textarea {
		height: 80px; /* Smaller field for mobile. */
	}

	/* Audio */
	.format-audio .entry-content:before {
		display: none;
	}

	.format-audio .audio-content {
		background-image: none;
		float: none;
		padding-left: 0;
		width: auto;
	}
}

/* Mobile devices */
@media (max-width: 359px) {
	.gallery {
		margin-left: 0;
	}

	.gallery .gallery-item,
	.gallery-columns-2.gallery-size-thumbnail .gallery-item {
		max-width: none;
		width: 49%;
		width: -webkit-calc(50% - 4px);
		width:         calc(50% - 4px);
	}

	.gallery-columns-1.gallery-size-medium,
	.gallery-columns-1.gallery-size-thumbnail,
	.gallery-columns-2.gallery-size-thumbnail,
	.gallery-columns-3.gallery-size-thumbnail {
		display: block;
	}

	.gallery-columns-1 .gallery-item,
	.gallery-columns-1.gallery-size-medium .gallery-item,
	.gallery-columns-1.gallery-size-thumbnail .gallery-item {
		text-align: center;
		width: 98%;
		width: -webkit-calc(100% - 4px);
		width:         calc(100% - 4px);
	}

	.gallery-columns-3 .gallery-item:nth-of-type(3n),
	.gallery-columns-5 .gallery-item:nth-of-type(5n),
	.gallery-columns-7 .gallery-item:nth-of-type(7n),
	.gallery-columns-9 .gallery-item:nth-of-type(9n) {
		margin-right: 4px;
	}

	.gallery br {
		display: none;
	}

	.gallery .gallery-item:nth-of-type(even) {
		margin-right: 0;
	}

	/* Comments */
	.comment-author {
		margin: 0 0 5px;
		max-width: 100%;
	}

	.comment-author .avatar {
		display: inline;
		margin: 0 5px 0 0;
		max-width: 20px;
	}

	.comment-metadata,
	.comment-content,
	.comment-list .reply {
		width: 100%;
	}
	
#nav
{
    /* container */
}
    #nav > a
    {
        display: none;
    }
    #nav li
    {
        position: relative;
    }
 
    /* first level */
 
    #nav > ul
    {
        height: 3.75em;
    }
        #nav > ul > li
        {
            width: 25%;
            height: 100%;
            float: left;
        }
 
    /* second level */
 
    #nav li ul
    {
        display: none;
        position: absolute;
        top: 100%;
    }
        #nav li:hover ul
        {
            display: block;
        }
		
@media only screen and ( max-width: 40em ) /* 640 */
{
    #nav
    {
        position: relative;
    }
        #nav > a
        {
        }
        #nav:not( :target ) > a:first-of-type,
        #nav:target > a:last-of-type
        {
            display: block;
        }
 
    /* first level */
 
    #nav > ul
    {
        height: auto;
        display: none;
        position: absolute;
        left: 0;
        right: 0;
    }
        #nav:target > ul
        {
            display: block;
        }
        #nav > ul > li
        {
            width: 100%;
            float: none;
        }
 
    /* second level */
 
    #nav li ul
    {
        position: static;
    }
}

