/*
 Theme Name:   National Window Tinting basic-child
 Theme URI:    http://www.dev.mediaworksweb.com/
 Description:  Basic Child Theme
 Author:       MediaWorks - Mark Wolcott
 Author URI:   http://mediaworksweb.com
 Template:     basic
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, sidebars, responsive-layout, accessibility-ready
 Text Domain:  basic-child
*/
html {
    width: 100%;
    background: #f2f3f3;
}

body {
    color: #00000;
    font-size: 19px;
    font-family: 'Asap', sans-serif;
    font-weight: 300;
    height: 100%;
    background: #f2f3f3;
}

.wrapper {
    margin: 0 auto !important;
    max-width: 100% !important;
    background: transparent !important;
}

.maxwidth {
    width: auto;
    max-width: 100%;
}

#header {
    width: 100%;
    padding: 1em 5% 10px;
    box-sizing: border-box;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background-size: 100%;
    background: #fff !important;
}

.top-widget {
    margin: 0;
    box-sizing: border-box;
}

.header-top-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sitetitle {
    width: auto;
    margin: 0;
}

.logo {
    width: max-content !important;
    text-align: center;
    padding: 0 1em;
}

.logo p, .logo a {
    color: #000 !important;
    margin: 0;
    padding: 0;
}

.logo a:hover {
    opacity: 0.7 !important;
}

#mobile-menu {
    padding: 10px !important;
    background: #2a2874 !important;
    border: 1px solid #ccc;
}

.topnav {
    width: max-content;
}

.top-menu {
    margin: 0 0 0.5em !important;
    padding: 0;
    border-radius: 0;
    background: none !important;
}

.top-menu .current-page-ancestor>a {
    color: #666 !important;
}

.top-menu ul {
    margin: 0 !important;
    padding: 0 !important;
}

.top-menu li {
    padding: 0 0 0 1em !important;
}

.top-menu li:hover a {
    background: none !important;
}

.top-menu a, .top-menu li span {
    font-family: 'Asap', sans-serif;
    font-size: 1.1em;
    color: #000 !important;
    margin-left: 1em;
    font-weight: 700 !important;
    padding: 0.5em 0 !important;
}

.top-menu a:hover {
    color: #666 !important;
    opacity: 1 !important;
    background: none !important;
}

.top-menu .current-menu-item > span {
    background: none !important;
    border-bottom: 1px solid #2a2874;
}

.top-menu .menu-item-has-children > a:after, .top-menu .menu-item-has-children > span:after, .top-menu .page_item_has_children > a:after, .top-menu .page_item_has_children > span:after {
    content: none;
}

.top-menu li ul {
    margin: 0 0 0 1em !important;
    padding: 0 !important;
    background: #fefefe !important;
    border: 1px solid #ccc;
    border-top: none;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    opacity: 0;
    visibility: hidden;
}

.top-menu li:hover ul {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 1s ease-out;
    /* Safari prior 6.1 */
    transition: opacity 0.5s ease-out;
}

.top-menu li li {
    color: #999;
    font-size: 1em;
    text-transform: none;
    margin: 0 !important;
    padding: 0 !important;
}

.top-menu li li a, .top-menu li li span {
    color: #666 !important;
    border-bottom: 1px solid #ddd !important;
    padding: 1em 0 !important;
}

.top-menu li li a:hover {
    color: #004b93 !important;
}

.top-menu li .current-menu-item > span {
    color: #ccc !important;
}

.top-menu ul ul {
    margin: 0 !important;
}

.shadow {
    position: relative;
    margin-bottom: 0px;
}

.shadow:after {
    content: '';
    left: 0;
    width: 100%;
    height: 50px;
    display: block;
    position: absolute;
    background: url(images/shdw.png) no-repeat 50% 50%;
    background-size: 80% 50px;
    bottom: -50px;
}

#main {
    margin: 0px 0 ;
    padding: 3em 0 6em;
    min-height: 100%;
    background-size: 100%;
    position: relative;
    overflow: hidden;
}

.content, .content-top-widget, .content-bottom-widget, .search #content {
    margin: 0 auto;
    padding: 0 0%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.content {
    position: relative;
}


#sidebar {
    float: left !important;
    display: block !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.widget {
    margin: 0;
}

.widget iframe {
    max-width: 100%;
}

.entry-box {
    margin: 0;
}

.content img {
    border: 1px solid #fff;
    box-shadow: 0 4px 4px #666;

}

.content .no-shdw img {
    box-shadow: none;
    border: none;
}

/*.content .no-shdw p, .content .no-shdw p:last-child {
    margin: 0 !important;
    padding: 0 !important;
}
*/
.content a img:hover {
    opacity: 0.8;
}

.button {
    background: #fff;
    padding: 0;
}

.button a, a .button, a.button, .btn-default, .pt-cv-wrapper .btn-success, .woocommerce button, .woocommerce .button, .gform_button {
    color: #000000 !important;
    white-space: nowrap;
    border: 1px solid #006699 !important;
    padding: 0.5em 0.5em 0.5em !important;
    display: inline-block;
}
.headerbutton a{
    color: #fff !important;
    border-radius: 7.5px;
    white-space: nowrap;
    background: #c80807;
    padding: 0.5em 0.7em 0.7em !important;
    display: inline-block;
}
.button a:hover, a .button:hover, .top-menu .button a:hover {
    color: #2a2874 !important;
    background: #eee !important;
    opacity: 0.8;
}

.home-links .textwidget {
    position: relative;
}

.cell-style {
  border: solid 1px #000000;
  background: #ffffff;
  box-shadow: 0px 10px 4px -4px #5d5d5d;
  margin: -50px 10px 50px 10px;
}

.home-links h4, .home-links h4 a {
    margin: 0 0 0 -20px;
    padding: 0 0 0.5em 20px;
    overflow: visible;
}
/*
.home-links h4 a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -60px;
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: #ccc;
}*/

.home-links h4 a:hover:before {
    background: #8dc63f;
}

.home-links p {
}

/*
Base Elements
-------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .faux-heading {
    color: #000000;
    font-family: 'Roboto Slab', sans-serif;
    font-weight: 400;
    margin: 0.5em 0;
    padding: 0;
}

h1 {
    font-size: 3em;
    color: #fff !important;
    line-height: 100%;
    margin: 0.1em 0;
    /* text-transform: lowercase; */
}

h2 {
    font-size: 2.3rem;
    margin-top: 0;
}

h3 {
    font-size: 1.6em;
    line-height: 140%;
}

h3.widget-title {
    font-size: 1.1em;
    text-align: center;
}

h4 {
    font-size: 1.3em;
    font-weight: normal;
}

h5 {
    font-size: 1.3rem;
    font-weight: bold;
}

h6 {
    font-size: 1.3rem;
}

.caldera-grid label {
    color: #666;
}

p {
    color: #000000;
    line-height: 160%;
    margin: 0 0 1em;
    padding: 0;
}

a {
    color: #000000 !important;
}

a:hover {
    color: #fff;
    opacity: 0.8;
    text-decoration: none !important;
}

ul {
    color: ##000000;
    list-style: outside url(images/arrow.png) !important;
    margin: 0 0 1em 1em !important;
}

ol {
    margin: 0 0 1em 1em !important;
}

li {
    padding: 0.2em 0 !important;
}

ol li {
    padding: 0.5em 0 0.5em 0.5em !important;
}

ul ul {
    font-size: 0.9em;
    list-style: square !important;
    margin: 0 0 0 1em !important;
}

#footer ul {
    font-size: 1em;
    list-style: none !important;
}

#footer li {
    color: #fff;
    list-style: square !important;
    padding: 0.3em 0 0 !important;
}

blockquote, q {
    margin: 1em 0;
    background: #fefefe;
}

.white, a.white, .white a {
    color: #fff !important;
}

.black, a.black, .black a {
    color: #000 !important;
}

.blue, a.blue, .blue a {
    color: #004b93 !important;
}

.red, a.red, .red a {
    color: #c84427 !important;
}

.teal, a .teal, .teal a {
    color: #099;
}

.gray, a .gray, .gray a {
    color: #666;
}

.larger {
    font-size: 1.2em;
}

.smaller {
    font-size: 0.9em
}

.noclick>a {
    pointer-events: none;
}

.circle img {
    border-radius: 100%;
}

.angle {
    padding-top: 50px;
    padding-bottom: 100px;
    clip-path: polygon(100% 0%, 100% 70%, 50% 90%, 50% 90%, 0 70%, 0 0);
}

figure {
    margin: 0;
}

address {
    font-style: normal;
}

.wp-caption-text, .wp-caption p.wp-caption-text {
    color: #666;
    font-size: 0.9em;
    padding: 0.8em 0;
}

#footer {
    color: #000;
    font-size: 0.8em;
    margin: 0 auto;
    padding: 0 5% !important;
    box-sizing: border-box;
    background: transparent !important;

    bottom: 0;
}

#footer p {
    margin: 0;
}

#footer a, #footer a:hover {
    color: #036;
}

#footer ul {
    font-size: 0.9em;
    text-align: center;
    display: block;
    margin: 0 auto !important;
    padding: 1em 0 0 0;
}

#footer li {
    display: inline-block !important;
    padding: 0 .85em !important;
}

#footer li {
    border-left: 1px solid #fff;
}

#footer li:first-child {
    border: none;
}

.fg-item-inner {
    border: 1px solid #666 !important;
    border-radius: 5px !important;
}

.fbx-btn-transition {
    font-family: foobox !important;
}

.tint {
    box-shadow: inset 0 500px rgba(0, 50, 100, 80%);
}

/* POST SLIDER*/
.wppsac-post-slider {
    text-align: center;
    padding: 0 5%;
}

.wppsac-post-slider h2.wppsac-post-title, .wppsac-post-slider h2.wppsac-post-title a {
    font-size: 1.2em !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    text-transform: none;
    text-align: center;
}

.wppsac-post-slider .wppsac-sub-content {
    margin: 0 0 0.5em;
}

.wppsac-readmorebtn, .white .wppsac-readmorebtn {
    color: #2a2874 !important;
    font-size: 0.9em !important;
    text-transform: uppercase;
    margin-top: 1em !important;
    padding: 0.3em 0.5em !important;
    background: #fff;
    border: 1px solid #fff !important;
}

.wppsac-readmorebtn:hover, .white .wppsac-readmorebtn:hover {
    color: #2a2874 !important;
    background: #fff !important;
}

.wp-medium-5 {
    display: none;
}

.wp-medium-7 {
    width: 100%;
}

/* NINJA FORMS */
.nf-form-fields-required, .nf-field-label {
    display: none;
}

/* Layout of Portfolio page */
.layout .sow-slider-image-wrapper {
    margin: 1em 0 0 0 !important;
    padding: 1em 0 0 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.layout, .layout .sow-slider-image-wrapper h3 {
    margin: 0 0 1em;
}

/* RESPONSIVE */
@media screen and (max-width: 1023px) {
    .sitetitle {
        height: auto !important;
        float: none !important;
        margin: 0 auto 1em !important;
    }

    .metaslider .caption-wrap {
        position: relative !important;
        background: #2a2874 !important;
    }

    .button {
        display: block;
    }

    .topnav, #mobile-menu {
        border-radius: 0.5em;
        margin: 0 auto;
    }

    .top-menu {
        background: #fff !important;
        border-radius: 1em;
        top: 150px;
        padding: 0.5em !important;
    }

    .top-menu li a, .top-menu li span {
        margin: 0.2em !important;
    }

    .top-menu li ul {
        margin: 0 0.2em !important;
        border: none;
        opacity: 1;
        visibility: visible;
        background: none !important;
        box-shadow: none !important;
        border: none !important;
    }

    .top-menu .current-menu-item > span {
        border-bottom: none;
    }

    .top-menu li li a, .top-menu li li span {
        font-size: 1.5em !important;
        padding: 0.5em 0 !important;
    }

    .top-menu li.menu-item-has-children > .open-submenu {
        color: #333;
    }

    #footer {
        text-align: center !important;
    }

    .footer-menu li {
        font-size: 0.9em;
    }

    .footer-menu {
        display: table;
        text-align: center;
        margin: 0 auto !important;
    }

    .footer-menu li {
        font-size: 0.9em;
    }

    #footer img {
        margin: 0 auto !important;
    }
}

@media screen and (max-width: 800px) {
    .top-widget {
        margin: 0 auto;
    }

    #header {
        padding: 0 5%;
    }

    .logo a{
        font-size: 2em !important;
    }

    .sitetitle {
        margin: 0 !important;
    }

    .header-top-wrap {
        display: block;
    }

    .top-widget p {
        text-align: center !important;
    }

    .top-widget p .smaller {
        display: block;
    }

    h1 {
        font-size: 2.5em;
        margin: 0.2em 0 !important;
        padding: 0;
    }

    h2 {
        font-size: 1.5em;
        margin: 0;
        padding: 0;
    }

    .metaslider .caption h2 {
        font-size: 5.5vw;
    }

    .logo {
        padding: 0.5em;
    }

    .wrapper h1 {
        margin-bottom: 2rem;
    }

    img.alignleft, .alignleft, .img.alignright, .alignright {
        float: none !important;
        display: block;
        margin: 0 0 1em 0 !important;
    }
}
