/*
Theme Name: PEC Responsive
Theme URI: http://wwww.paramountextrusions.com
Description: custom and responsive
Author: encoded by Jack Wong
Version: 1.0
Tags: large banner, hero banner, responsive
*/

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
.clear { clear: both; }



/* general styles */
body {
    margin: 0;
    padding: 0;
    background: #f3f3f3;
    font-family: 'PT Sans', sans-serif;
    font-size: 62.5%;
}
h1 {
    margin: 0 0 10px 0;
    padding: 15px 0 5px 0;
    border-bottom: 1px solid #999;
    font-size: 2em;
    font-weight: normal;
}
h2 {
    margin: 0 0 10px 0;
    padding: 15px 0 5px 0;
    border-bottom: 1px solid #999;
    font-size: 2em;
    font-weight: normal;
}
h3 {
    margin: 0 0 10px 0;
    padding: 15px 0 5px 0;
    font-size: 1.8em;
    font-weight: bold;
}
h4 {
    margin: 0 0 10px 0;
    padding: 15px 0 5px 0;
    font-size: 1.6em;
    font-weight: bold;
}
h5 {
    margin: 0 0 10px 0;
    padding: 15px 0 5px 0;
    font-size: 1.6em;
    font-weight: bold;
}
h6 {
    margin: 0 0 10px 0;
    padding: 15px 0 5px 0;
    font-size: 1.6em;
    font-weight: normal;
}
p, ul > li, ol > li, blockquote, label, table {
    font-size: 1.6em;
    font-weight: normal;
    line-height: 1.5;
}
label {
    display: block;
    padding: 10px 0 5px 0;
    font-weight: bold;
}
.label-checkbox {
    display: inline;
    font-weight: normal;
}
input, select, textarea {
    padding: 2px 5px;
    width: 95%;
    padding: 2px 5px;
    font-family: "PT Sans", sans-serif;
    font-size: 1.6em;
    font-weight: normal;
}
input[type=checkbox] {
    width: auto;
}
input[type=submit] {
    margin: 20px 0;
    padding: .5em 1em;
    width: 100%;
    background: #fff216;
    border: 1px solid #999;
    border-radius: 5px;
    cursor: pointer;
}
a.btn:link, a.btn:visited, a.btn:active, .btn:link, .btn:visited, .btn:active {
    margin: 20px 0;
    padding: .5em 1em;
    width: 100%;
    background: #fff216;
    border: 1px solid #999;
    border-radius: 5px;
    font-family: "PT Sans", sans-serif;
    font-size: 1.6em;
    font-weight: normal;
    color: #000;
    text-decoration: none;
}
input[type=submit]:hover, a.btn:hover, .btn:hover {
    background: #ccc;
}
a:link, a:active, a:visited {
    color: #000;
    text-decoration: underline;
}
a:hover {
    color: #06c;
}
/* prevent nested lists from increasing font size */
ul ul li, ul ol li, ol ol li, ol ul li {
    font-size: 1em;
}
/* prevent nested elements from increasing font size */
blockquote p, blockquote ul, blockquote ol, blockquote label, p label, p input, p textarea, p select, table p {
    font-size: 1em;
}
.alignleft, .left { float: left; margin-top: 5px; margin-right: 12px; margin-bottom: 10px; }
.alignright, .right { float: right; margin-top: 5px; margin-left: 12px; margin-bottom: 10px; }
.aligncenter, .center { float: none; display: block; margin: 10px auto; }
a img { border: 0; }
/* Styles for screens that are at least 480px; */
@media only screen and (min-width: 480px) {
}
/* Styles for screens that are at least 768px; */
@media only screen and (min-width: 768px) {
}
/* Styles for screens that are at least 980px; */
@media only screen and (min-width: 980px) {
}



/* layout */
#logo {
    margin: 0 auto;
    width: 200px;
    height: 100px;
    background: url(images/logo-paramount-extrusions-company.png) no-repeat;
    background-size: contain;
}
#body-home, #body-sub {
    margin: 0 auto;
    padding: 20px;
    max-width: 940px;
}
#main {
    margin: 0 0 20px 0;
    padding: 5px 20px 10px 20px;
    background: #fff;
}
aside {
    margin: 0;
    padding: 0;
}
.widget {
    margin: 0 0 20px 0;
    padding: 5px 30px 10px 30px;
    background: #fff;
}
#widget-nav {
    padding: 5px 0 0 0;
}
.textwidget {
    padding-bottom: 20px;
}
/* Styles for screens that are at least 480px; */
@media only screen and (min-width: 480px) {
}
/* Styles for screens that are at least 768px; */
@media only screen and (min-width: 768px) {
    header {
        margin: 0 auto;
        padding: 0 10px;
        max-width: 760px;
        height: 100px;
        background: url(images/bg-header-expanded.png) no-repeat right top;
    }
    #logo {
        margin: 0 0 0 30px;
    }
    #body-home #main {
        float: left;
        padding: 0 20px 10px 20px;
        width: 59%;
    }
    #body-home aside {
        float: right;
        width: 30%;
    }
    #body-sub #main {
        float: right;
        padding: 0 20px 10px 20px;
        width: 64%;
    }
    .body-sub-catalog #main {
        margin-bottom: 600px;
    }
    #body-sub aside {
        float: left;
        width: 25%;
    }
    .widget {
        padding: 0 30px 10px 30px;
    }
    #widget-nav {
        padding: 0;
    }
    .is-sticky {
        width: 25%;
    }
    .is-sticky .widget-catalog {
        width: 9.25%;
    }
}
/* Styles for screens that are at least 980px; */
@media only screen and (min-width: 980px) {
    header {
        padding: 0;
        max-width: 980px;
    }
    #logo {
    }
    #body-home #main {
        width: 64%;
    }
    #body-sub #main {
        width: 69%;
    }
}



/* navigation */
nav {
    position: relative;
    z-index: 10;
    float: none;
    width: 100%;
    background: #fff216;
    border-bottom: 5px solid #6d6e71;
}
.menu-link {
    display: block;
    background: #fff216;
    font-size: 1.8em;
    color: #000;
    text-align: center;
    text-decoration: none;
}
nav ul {
    display: none;
    margin: 0;
    padding: 0;
    background: #ccc;
    list-style: none;
}
nav li a {
    display: block;
    margin: 0;
    padding: 5px 10px;
    background: #ccc;
    border-bottom: 1px solid #999;
    color: #000;
    text-decoration: none;
}
nav li a:hover {
    color: #999;
}
/* Styles for screens that are at least 480px; */
@media only screen and (min-width: 480px) {
}
/* Styles for screens that are at least 768px; */
@media only screen and (min-width: 768px) {
    nav {
    }
    .menu-link {
        display: none;
    }
    #nav {
        margin: 0 auto;
        padding: 0 30px;
        max-width: 760px;
    }
    nav ul {
        display: block;
        background: transparent;
    }
    nav li {
        display: inline-block;
        font-size: 1.8em;
    }
    nav li a:link, nav li a:visited, nav li a:active {
        padding: 5px 10px;
        background-color: transparent;
        border: none;
        font-weight: bold;
        color: #000;
        text-decoration: none;
    }
    nav li a:hover {
        color: #999;
    }
    nav ul ul {
        position: absolute;
        display: none;
        background: #ccc;
    }
    nav ul ul li {
        display: block;
        padding: 0;
    }
    nav ul ul li a:link, nav ul ul li a:active, nav ul ul li a:visited {
        font-weight: normal;
    }
    nav ul ul li a:hover {
        background: #fff;
        color: #000;
    }
}
/* Styles for screens that are at least 980px; */
@media only screen and (min-width: 980px) {
    #nav {
        margin: 0 auto;
        padding: 0 20px;
        max-width: 940px;
    }
}



/* subnavigation */
#subnav {
    margin: 0;
    padding: 0;
    list-style: none;
}
#subnav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#subnav li, #subnav ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
}
#subnav li:last-child {
    border-bottom: none;
}
#subnav a:link, #subnav a:visited, #subnav a:active {
    display: block;
    margin: 0;
    padding: 5px 30px;
    color: #000;
    text-decoration: none;
}
#subnav a:hover, #subnav .current-menu-item > a {
    background: #fff216;
    font-weight: bold;
}
#subnav ul li a:link, #subnav ul li a:visited, #subnav ul li a:active {
    padding-left: 50px;
}
/* Styles for screens that are at least 480px; */
@media only screen and (min-width: 480px) {
}
/* Styles for screens that are at least 768px; */
@media only screen and (min-width: 768px) {
}
/* Styles for screens that are at least 980px; */
@media only screen and (min-width: 980px) {
}



/* banner */
/* note used anymore
.cycle-slideshow {
    position: relative;
    z-index: 9;
    padding: 0;
    height: auto;
    border-bottom: 5px solid #ccc;
}
.cycle-slideshow, .banner, .banner img {
    width: 100%;
    text-align: center;
}
.banner {
    display: none;
}
.huge_it_slideshow_image_wrap_1, huge_it_slideshow_image_wrap_2 {
    border-bottom: 5px solid #ccc;
}
*/



/* accordion */
.accordion h3 {
    padding: 5px 10px;
    background: url(images/accordion-plus.png) no-repeat right center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}
.accordion h3:hover {
    background-color: #fff216;
}
.accordion h3.active {
    background: url(images/accordion-minus.png) no-repeat right center;
    background-color: #fff216;
}
.accordion article {
    margin: 0;
    padding: 5px 10px 10px 10px;
}
.accordion article p:first-child {
    margin-top: 0;
    padding-top: 0;
}
/* Styles for screens that are at least 480px; */
@media only screen and (min-width: 480px) {
}
/* Styles for screens that are at least 768px; */
@media only screen and (min-width: 768px) {
}
/* Styles for screens that are at least 980px; */
@media only screen and (min-width: 980px) {
}



/* other */
.catalog {
    clear: both;
    padding-bottom: 20px;
}
.catalog table {
    width: 100%;
    border-collapse: collapse;
}
.catalog th {
    padding: 3px 5px;
    background: #636466;
    font-weight: bold;
    color: #fff;
    text-align: left;
    vertical-align: top;
}
.catalog td {
    padding: 3px 5px;
    border-bottom: 1px solid #ccc;
    vertical-align: top;
}
.catalog tr:nth-child(even) td {
    background: #f3f3f3;
}
/* Styles for screens that are at least 480px; */
@media only screen and (min-width: 480px) {
}
/* Styles for screens that are at least 768px; */
@media only screen and (min-width: 768px) {
    .catalog .col:nth-child(even) {
        float: right;
        padding-bottom: 20px;
        width: 48%;
    }
    .catalog .col:nth-child(odd) {
        clear: both;
        float: left;
        padding-bottom: 20px;
        width: 48%;
    }
    .address {
        clear: both;
        float: left;
        width: 45%;
    }
    .map {
        float: right;
        width: 50%;
    }
    .wpcf7-form-control-wrap.address {
        float: none;
        width: auto;
    }
    form p {
        clear: both;
    }
    .form-condense-2 {
        float: left;
        width: 48%;
        margin-right: 1.5%;
    }
    .form-condense-2:nth-child(2n+2) {
        margin-right: 0;
    }
    .form-condense-3 {
        float: left;
        width: 30%;
        margin-right: 3%;
    }
    .form-condense-3:nth-child(3n+3) {
        margin-right: 0;
    }
}
/* Styles for screens that are at least 980px; */
@media only screen and (min-width: 980px) {
}



/* footer */
footer {
    clear: both;
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    background: #333;
}
#copyright {
    width: 100%;
    background: #666;
}
#copyright p {
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 1em;
    color: #ccc;
}
#footer-content {
    margin: 0 auto;
    padding: 20px;
    width: auto;
    max-width: 940px;
    color: #999;
}
#footer-content h3 {
    border-bottom: 1px solid #666;
}
#footer-content p, #footer-content ul > li {
    font-size: 1.4em;
}
#footer-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer-content ul > li {
    padding: 5px 0;
}
#footer-content a:link, #footer-content a:visited, #footer-content a:active {
    color: #999;
    text-decoration: none;
}
#footer-content a:hover {
    color: #fff216;
}
/* Styles for screens that are at least 480px; */
@media only screen and (min-width: 480px) {
}
/* Styles for screens that are at least 768px; */
@media only screen and (min-width: 768px) {
    #copyright p {
        padding: 10px 40px;
        max-width: 760px;
    }
    #footer-content {
        padding: 20px 40px;
    }
    #footer-content section {
        float: left;
        padding: 0 0 40px 0;
        width: 29%;
        margin-left: 4%;
    }
    #footer-content section:first-child {
        margin-left: 0;
    }
    #footer-content ul > li {
        padding: 0;
    }
    #footer-content .menu {
        float: left;
        width: 45%;
    }
}
/* Styles for screens that are at least 980px; */
@media only screen and (min-width: 980px) {
    #copyright p {
        padding: 10px 20px;
        max-width: 940px;
    }
}