/*
Theme Name: J&J Inspections
Theme URI: http://www.jj-inspections.nl/
Description: J&J Inspections thema 
Author: Levi Westerman 
Author URI: http://www.xebius.nl/ 
Version: 0.1
License: Xebius Media Groep
License URI: http://www.xebius.nl/
. 
© Xebius Grafisch Bedrijf 
. 
*/

/* RESET */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],/* 1 */input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}button{border:0}ul,li{margin:0;padding:0}

html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}
h1,h2,h3,h4,h5,h6,p{margin:0;color: #333;}
ul{list-style:none;}
.clear{clear:both;}

html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    background: url('img/bg.png') repeat;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.8em 0;
}

p {
    margin: 0 0 1.25em 0;
}

p:last-of-type {
    margin: 0;
}

a {
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.content p a {
    color: #00518b;
}

.content p a:hover {
    text-decoration: underline;
}

/* SCREEN SIZES */
@media screen and (min-width: 320px) {
    
    /* MAIN */
    
    header, main {
        width: 100%;
        padding: 20px;
        margin: 0 auto;
        position: relative;
    }
    
    aside {
        width: 100%;
    }
    
    /* MAIN LOGO */
    
    .logo img {
        width: auto;
        height: 85px;
    }
    
    /* MENU */
    
    .mobile-menu {
        width: 24px;
        height: 20px;
        background: url('img/mobile-menu.svg') no-repeat;
        display: block;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 55px;
    }
    
    #mobile-main-menu {
        display: none;
    }
    
    #mobile-main-menu.active {
        display: block;
    }

    #mobile-main-menu {
        width: 100%;
        margin: 16px 0px 0px;
    }
    
    #mobile-main-menu a {
        width: 100%;
        padding: 12px 0px;
        display: block;
        border-bottom: 1px solid #bbb;
        color: #000;
    }
    
    #mobile-main-menu a:hover {
        color: #00518b;
    }
    
    #mobile-main-menu li:last-of-type a {
        border-bottom: 0px;
    }
    
    #mobile-main-menu ul.sub-menu li {
        padding-left: 10px;
    }
    
    #mobile-main-menu ul.sub-menu li a {
        font-size: 15px;
    }
    
    #desktop-main-menu {
        display: none;
    }
    
    /* TALEN */
    
    .talen {
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    .talen img {
        margin: 0px 0px 0px 10px;
    }
    
    .talen img a {
        display: block;
    }

    /* FEATURED IMAGE */
    
    .featured-img {
        width: 100%;
        height: 250px;
        margin: 0 auto;
        overflow: hidden;
    }
    
    .featured-img img, body .metaslider .flexslider .slides img {
        width: auto;
        height: 100%;
        margin: 0 0 0 -50% !important;
    }
    
    /* CONTENT */
    
    .content ul {
        list-style: disc;
        padding: 0 0 0 15px;
        margin: 0 0 1.25em 0;
        color: #333;
    }
    
    /* BREADCRUMBS */
    
    .breadcrumbs {
        font-size: 13px;
        color: #888;
        margin: 40px 0px 0px;
        padding: 10px 0px 0px;
        border-top: 1px solid #ddd;
        display: block;
    }
    
    .breadcrumbs a {
        color: #888;
    }
    
    /* VACATURES */
    
    .vacatures {
        background: #00518b;
        padding: 20px;
        margin: 30px 0 0 0;
    }
    
    .vacatures h3, .vacatures a {
        color: #fff;
    }
    
    .vacatures a {
        display: block;
        padding: 8px 0px;
        border-bottom: 1px dotted #fff;
    }
    
    .vacatures a.vacature-overzicht {
        border-bottom: 0px;
        font-size: 14px;
        margin: 15px 0px 0px;
    }
    
    .vacature-link {
        display: block;
        color: #333;
        border-bottom: 1px dotted #888;
        padding: 20px 0;
    }
    
    .vacature-link:hover {
        color: #00518b;
    }

    .sc-link {
        display: inline-block;
        padding: 10px 36px 10px 10px;
        color: #fff;
        background: url('img/arrow-bg.png') #00518b no-repeat center right 10px;
        margin: 20px 0 0;
        font-weight: bold;
    }
    
    .content p a.sc-link {
        color: #fff;
    }

    .vacature-meta {
        display: block;
        margin: 0 0 20px 0;
    }
    
    .vacature-meta img {
        width: 16px;
        height: auto;
        display: inline-block;
        margin: 0 10px 0 0;
        position: relative;
        top: 3px;
    }
    
    .vacature-meta a {
        color: #666;
    }
    
    .vacature-meta a:hover {
        color: #00518b;
    }
    
    /* CATEGORY WIDGET */
    
    .category-widget {
        background: #00518b;
        padding: 20px;
        margin: 20px 0 0 0;
    }
    
    .category-widget h3, .category-widget a {
        color: #fff;
    }
    
    .category-widget a {
        display: block;
    }
    
    .category-widget a:hover {
        text-decoration: underline;
    }
    
    /* CONTACT FORMULIER */
    
    .contactform {
        width: 100%;
        margin: 20px auto 0;
    }
    
    .contactform input[type=text], .contactform input[type=tel], .contactform input[type=email], .contactform textarea {
        width: 100%;
        margin: 5px 0 0 0;
        padding: 6px;
        border: 1px solid #ccc;
        background: #fff;
    }
    
    .contactform textarea {
        resize: none;
    }
    
    .contactform input[type=submit] {
        width: 100%;
        background: #00518b;
        color: #fff;
        border: 0;
        padding: 12px;
    }
    
    .content .wpcf7-response-output {
        margin: 15px 0;
        width: 100%;
        padding: 12px;
    }
    
    .cf-row {
        width: 48%;
        float: left;
        margin-right: 4%
    }
    
    p.cf-row:nth-child(even) {
        margin-right: 0%;
    }
    
    /* SOLLICITATIE FORMULIER */
    
    .sol-form {
        width: 100%;
        margin: 20px auto 0;
    }
    
    .sol-form input[type=text], .sol-form input[type=tel], .sol-form input[type=email], .sol-form textarea {
        width: 100%;
        margin: 5px 0 0 0;
        padding: 6px;
        border: 1px solid #ccc;
        background: #fff;
    }
    
    .sol-form textarea {
        resize: none;
    }
    
    .sol-form input[type=submit] {
        width: 100%;
        background: #00518b;
        color: #fff;
        border: 0;
        padding: 12px;
    }
    
    .sol-form .wpcf7-form-control-wrap input {
        margin: 5px 0;
    }
    
    /* CONTACT INFO */
    
    .contact-info {
        background: #00518b;
        padding: 20px;
        margin: 20px 0 0 0;
    }
    
    .contact-info p {
        color: #fff;
    }
    
    .contact-info p a {
        color: #fff;
    }
    
    .contact-info p a:hover {
        text-decoration: underline;
    }
    
    /* GOOGLE MAP */
    
    .contact-map {
        position: relative;
        padding-bottom: 75%;
        height: 0;
        overflow: hidden;
        margin: 10px 0 0 0;
    }

    .contact-map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* CERTIFICATEN */
    
    .certificaat {
        width: 100%;
        height: auto;
        text-align: center;
        margin: 0 0 30px;
    }
    
    .certificaat img {
        width: 100%;
        height: auto;
        margin: 0 auto 5px;
    }
    
    /* FOOTER */
    
    footer {
        width: 100%;
        background: url('img/footer-bg.jpg');
        margin: 20px 0 0;
        border-top: 1px solid #ddd;
        padding: 20px;
    }
    
    .footer-wrap {
        width: 100%;
        margin: 0 auto;
    }
    
    .footer-widget {
        width: 50%;
        float: left;
    }
    
    .copyright {
        width: 100%;
        margin: 20px 0 0;
    }
    
    footer a {
        color: #666;
        line-height: 1.6em;
    }
    
    footer a:hover {
        text-decoration: underline;
    }
    
    footer p {
        color: #666;
    }
    
    .footer-logo {
        display: none;
    }

}
    
@media screen and (min-width: 480px) {
    
    .featured-img img, body .metaslider .flexslider .slides img {
        margin: 0 0 0 -20% !important;
    }
    
    /* CERTIFICATEN */
    
    .certificaat {
        width: 46%;
        margin: 0 1%;
        display: inline-block;
    }

}

@media screen and (min-width: 568px) {
    
    .featured-img img, body .metaslider .flexslider .slides img {
        margin: 0 !important;
    }

}

@media screen and (min-width: 760px) {
    
    /* MAIN LOGO */
    
    .logo img {
        height: auto;
    }
    
    /* FEATURED IMAGE */
    
    .featured-img {
        width: 100%;
        height: auto;
        overflow: visible;
    }
    
    .featured-img img {
        width: 100%;
        height: auto;
    }
    
    /* FOOTER */
    
    footer {
        padding: 30px;
        margin: 40px 0 0;
    }
    
    .footer-widget, .copyright {
        width: 25%;
        margin: 0;
    }
    
    .footer-logo {
        display: block;
    }

}

@media screen and (min-width: 880px) {
    
    .content {
        width: calc(100% - 290px);
        float: left;
    }
    
    aside {
        width: 250px;
        float: right;
    }
    
    .vacatures {
        margin: 0;
    }

}

@media screen and (min-width: 1000px) {
    
    /* MAIN */
    
    header, main {
        width: 1000px;
        padding: 30px 15px 0px;
    }
    
    /* MENU */
    
    .mobile-menu {
        display: none;
    }
    
    #desktop-main-menu {
        display: block;
        text-align: right;
    }
    
    #desktop-main-menu nav {
        position: absolute;
        top: 70px;
        right: 15px;
        width: 700px;
    }
    
    #desktop-main-menu nav li {
        display: inline-block;
        margin: 0px 0px 10px 40px;
        position: relative;
    }
    
    #desktop-main-menu nav li a {
        color: #000;
        text-transform: uppercase;
        font-weight: 600;
        padding: 6px 0px;
    }
    
    #desktop-main-menu nav li a:hover {
        color: #00518b;
    }
    
    #desktop-main-menu ul.sub-menu {
        display: none;
        position: absolute;
        top: 25px;
        left: -10px;
        z-index: 999;
        text-align: left;
        background: rgba(255, 255, 255, 0.97);
        width: 350px;
    }
    
    #desktop-main-menu nav ul li ul.sub-menu li {
        display: block;
        margin: 0;
    }
    
    #desktop-main-menu nav ul li ul.sub-menu li a {
        background: none;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        display: block;
    }
    
    #desktop-main-menu nav ul li ul.sub-menu li a:hover {
        background: none;
        border-bottom: 1px solid #00518b;
    }
    
    #desktop-main-menu ul li:hover ul.sub-menu {
        display: block;
    }
    
    #desktop-main-menu nav li.uitklap a {
        background: url('img/arrowdown.png') no-repeat center right;
        background-size: 9px 6px;
        padding: 6px 16px 6px 0;
    }
    
    #desktop-main-menu nav li.uitklap a:hover {
        background: url('img/arrowdown-hover.png') no-repeat center right;
        background-size: 9px 6px;
    }
    
    /* TALEN */
    
    .talen {
        top: 30px;
        right: 15px;
    }
    
    /* FEATURED IMAGE */
    
    .featured-img {
        width: 1000px;
        padding: 30px 15px 0px;
    }
    
    /* FOOTER */
    
    footer {
        margin: 50px 0 0;
    }
    
    .footer-wrap {
        width: 1000px;
        padding: 30px 15px 0;
    }

}