/* CSS Document */


/* LAYOUT: MODERN 2 */

body {
    background: none #fff !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald';
    font-weight: 700;
}

#wrapper {
    box-shadow: none !important;
    background-image: none;
    width: 100%;
    margin: 0 auto;
}

#header {
}



#masthead {
    padding: 0 0 1em;
}

#branding {}

#search {
    display: none;
}

#nav {
    padding: 0 10%;
    box-sizing: border-box;
}

/*.apw_modern2 #nav,*/
.apw_modern2 ul.menu>li>a {
    background-color: transparent;
}

.apw_modern2 ul.menu,
.apw_modern2 div.menu>ul {
    text-align: right;
}

.apw_modern2 ul.menu>li>a,
.apw_modern2 ul.menu>li>a:link,
.apw_modern2 ul.menu>li>a:visited {
    text-shadow: none;
    color: #555;
}

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 {
    background-image: none !important;
    -webkit-transition: background-color .1s;
    transition: background-color .1s;
    cursor: pointer;
}

ul.menu > li.current-menu-item>a,
ul.menu > li.current-menu-ancestor>a {
    opacity: .75;
}

ul.menu > li > a:hover {
    color: #111;
}

li.menu-item-has-children a span {
    border-top-color: #333;
}

ul.sub-menu {
    right: 0;
}

ul.sub-menu li>a:hover {
    background-color: rgba(255, 255, 255, .2);
}


/* sub pages (two column) */

#main {
    display: table;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 0 10% 2em;
}

#main > div {
    min-width: 1%;
    flex: 1 1 auto;
    vertical-align: top;
}
@supports(display: flex) {
    #main > div {
        display: block;
    }
}


.apw_homeWide_widget {
    width: 100%;
}

#container {
    float: none;
    width: 80%;
}

.entry-content {
}

#sidebar {
    float: none;
    width: auto;
	max-width: 400px;
}
#sidebar.wide {
	max-width: none;
}

/* home page (wide) */

.page-template-homer-wide #main,
.page-template-homer #main {
    
	flex-wrap: wrap;
    width: 100%;
    margin: 0;
}

.page-template-homer-wide #main > div,
.page-template-homer #main > div {}

.page-template-homer-wide #container,
.page-template-homer #container {
    padding: 0;
    margin: 0;
}

.page-template-homer-wide #container,
.page-template-homer #container {
    width: 100%;
    float: none;
}

#content {}

.page-template-homer-wide #container #content > .hentry .entry-content,
.page-template-homer #container #content > .hentry .entry-content {
    padding: 0 10% 2em;
    box-sizing: border-box;
}
.apw_aboveHeader_widget {
    padding: 0 10%;
    box-sizing: border-box;	
}
#header.logoGrid .apw_top_logo {
    padding-left: 10vw;
}
#header #nav.apw-menu-right {
	padding-right: 10vw;
}

#sidebar.wide {
    text-align: center;
    padding: 2em;
	clear: both;
}

#sidebar.wide>div {
    display: inline-block;
    float: none;
    width: 33%;
    max-width: 330px;
    text-align: left;
    vertical-align: top;
}

#copyright a:link, #copyright a:visited {
	color: #ddd;
	text-decoration: underline;
}
#sidebar.wide h1, #sidebar.wide h2, #sidebar.wide h3, #sidebar.wide h4, #sidebar.wide h5, #sidebar.wide h6 {
	color: #fff;
	text-shadow: 2px 1px 1px rgba(0,0,0,.75);
}

.blog-home {
    text-align: center;
    padding: 1em 10%;
    box-sizing: border-box;
}

.blog-home .home-blog {
    width: 33%;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

.blog-home .home-blog .entry-image {}

.blog-home .home-blog .entry-image .image-contain {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: top center;
}

.blog-home .home-blog .entry-image .image-contain img {}

img.wp-post-image {
    float: none;
    margin: 0;
}

.blog-home .home-blog .entry-title {
	padding: 0 3%;
}

.blog-home .home-blog .entry-content {
	padding: 0 3%;}

.divider {
    height: 0;
    width: 90%;
    border-top: solid 1px rgba(0, 0, 0, 0.15);
    margin: 1.5em auto;
}

#footer {
    padding: 1em 10% 2em;
    box-sizing: border-box;
}

#footer, #sidebar.wide {
    background-color: #444;
    color: #fff;
    text-shadow: none;
}

/* MOBILE - TABLET */

@media all and (max-width: 1366px) {
    body {
    }
    #nav {
        padding: 0em 3%;
    }
    #main {
        margin: 0 3%;
    }
    .page-template-homer-wide #container #content > .hentry .entry-content,
	.page-template-homer #container #content > .hentry .entry-content {
        padding: 0 3% 2em;
    }
	.apw_aboveHeader_widget {
        padding: 0 3%;
	}
    #header.logoGrid .apw_top_logo {
        padding-left: 3vw;
    }
	#header #nav.apw-menu-right {
		padding-right: 3vw;
	}
    #sidebar {
        width: 360px;
    }
    .blog-home {
        padding: 1em 3%;
    }
    #footer {
        margin: 0;
    }
}

@media all and (max-width: 960px) {
    body {
    }
    #nav {
        padding: 0;
    }
    #main {
        margin: 0 0 1em;
        /*display: block;*/
		flex-wrap: wrap;
    }
    #main > div {
        /*display: block;*/
    }
    #container {
        float: left;
    }
    #sidebar {
        float: right;
    }
    #footer {
        margin: 0;
    }
}

@media all and (max-width: 960px) {
    .page-template-homer-wide #wrapper #main #container,
    .page-template-homer #wrapper #main #container {
        width: 100%;
        padding: .5em 0 0;
    }
	.page-template-homer-wide #container #content > .hentry .entry-content,
	.page-template-homer #container #content > .hentry .entry-content {
        padding: 0 0 2em;
    }
    .blog-home .home-blog {
        width: 32%;
    }
    .blog-home .home-blog .entry-image .image-contain {
        height: 150px;
    }
    .blog-home .home-blog .entry-title {
        font-size: 1.2em;
    }
    .blog-home .home-blog .entry-content {
        font-size: .9em;
    }
    .blog-home .home-blog .entry-meta,
    .blog-home .home-blog .entry-utility {
        display: none;
    }
    #apwContact a {
        font-size: 1.2em;
    }
    #QandA h2 {
        padding: 10px 5px;
        font-weight: normal;
    }
    #sidebar.wide {
        width: 100% !important;
    }
}

@media all and (max-width: 768px) {
    #nav {
        padding: 0;
    }
    .apw_modern2 ul.menu>li>a,
    .apw_modern2 ul.menu>li>a:link,
    .apw_modern2 ul.menu>li>a:visited {
        color: #fff;
    }
    .apw_modern2 ul.sub-menu a:link,
    .apw_modern2 ul.sub-menu a:visited {
        color: #fff;
    }
    li.menu-item-has-children a i.fa {
        display: none;
    }
    #masthead {
        padding: 0;
    }
}
