/* CSS Document */

/* LAYOUT: THREE COLUMN */
#wrapper {
	width: auto;
	max-width: 1200px;
}
#branding {
	height: 250px;
}
#main {
    padding: 1em 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
#main > div {
	box-sizing: border-box;
}

.page-template-homer #main {
	/*padding: 0;
	display: block;*/
}

.apw_homeWide_widget {
	width: 100%;
}
#nav {
    padding-top: 0em;
    width: 200px;
    float: none;
	flex-grow: 200;
	
}
#container {
    width: 58%;
	max-width: 100%;
    float: none;
    clear: none;
    padding: 0 1em;
	flex-grow: 700;
}
#sidebar {
    width: 25%;
    max-width: 300px;
    float: none;
    padding: 0 .5em;
	flex-grow: 300;
}

.thrColWrap {
	flex-grow: 1000;
	width: 83%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	    -ms-flex-pack: justify;
	        justify-content: space-between;	
}

.thrColWrap #container {
	float: none;
	clear: none;
	padding: 0 1em;
}
.thrColWrap #sidebar {
	width: 30%;
	max-width: 300px;
	float: none;
	padding: 0 .5em;
}

@media all and (min-width: 941px) {
#nav, ul.menu > li > a {
	background-color: transparent !important;
}
ul.menu > li {
	display: block;
	text-align: left;
}
ul.menu > li > a {
    display: block;
    text-align: left;
    border-bottom: solid 1px rgba(0,0,0,.2);
    padding: .9em .5em;
}
ul.menu, div.menu>ul {
    padding: 0;
}
ul.menu > li > a {
	text-shadow: none;
	color: #555 !important;
	cursor: pointer;
}
ul.sub-menu a:link, ul.sub-menu a:visited {
	color: #eee;
}
ul.menu li a:hover, ul.menu li a:active, ul.menu li.current-menu-item>a, li.current-menu-ancestor>a, div.menu>ul li a:hover, div.menu>ul li a:active, div.menu>ul li.current-menu-item>a, li.thisSub>a {
	color: #111;
	background-image: none !important;
	background-color: transparent !important;
	background: -webkit-linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, 0.15)) !important;
	background: linear-gradient(rgba(0, 0, 0, .05),rgba(0, 0, 0, 0.15)) !important;
}
li.menu-item-has-children a i.fa {
	float:right;
	-webkit-transform: rotate(-90deg);
	    -ms-transform: rotate(-90deg);
	        transform: rotate(-90deg);
}
ul.sub-menu {/*
	right: 0;
	top: 0;
	position: relative;
	opacity: 1;
	display: block;*/
	border:none;
	border-left: 3px solid #555;
    box-shadow: 7px 7px 17px rgba(0,0,0,.3);
    font-size: .9em;
}
ul.sub-menu li>a {
	/*min-width: inherit;*/
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
}
div.menu>ul>li:hover>ul.children, li.touch ul.children, li.touch ul.sub-menu, ul.menu>li:hover>ul.sub-menu {
    top: 0;
    left: 100%;
}
}

@media all and (max-width: 940px) {
#main {
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
    padding: 0;
}
.thrColWrap {
	padding: 1em 0;
	width: 100%;
}
#nav {
	width: 100%;
	max-width: none;
	xbackground-color: inherit;
	float: none;
	padding-top: 0;
}
.page-template-homer #nav {
	float: none;
}
#container {
}
#wrapper #header #branding {
	border-bottom: none !important;
}
}
