/*
	Theme Name: TradeXchange
	Theme URI: http://livingfoods.nl
	Version: 1.0
	Author: BrandDogs BV
	Author URI: https://branddogs.nl

*/


/* reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, nav, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/*------------------------------------*\
    MAIN
\*------------------------------------*/


/* global box-sizing */

*, *:after, *:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'titilliumlight';
    font-size: 14px;
    color: #554839;
    background-color: #fff;
}

.clear:before, .clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

hr {
    clear: both;
    background: #f1f1f1;
    height: 1px;
    max-width: 1630px;
    width: 100%;
    margin: 0 auto;
    border: 0;
}

hr.no-space {
    padding: 0;
    max-width: 1630px;
    width: 100%;
    margin: 0 auto;
}

a {
    color: #f07d00;
    text-decoration: none;
    font-family: 'titilliumlight';
}

a:hover {
    text-decoration: underline;
}

a:focus {
    outline: 0;
}

a:hover, a:active {
    outline: 0;
}

a.link {
    color: #fff;
    background: #271d67;
    border-radius: 4px;
    font-size: 14px;
    padding: 5px 8px 5px 8px;
}

a.link:hover {
    background: #f07d00;
    text-decoration: none;
}

a.terug {
    float: left;
}

input:focus {
    outline: 0;
    border: 1px solid #2c3a81;
}

strong, b {
    font-family: 'titilliumbold';
}

em {
    font-style: italic;
}

h1 {
    font-family: 'venacti_rgbold';
    color: #271d67;
    font-size: 26px;
    line-height: 30px;
    padding-bottom: 8px;
}

h2 {
    font-family: 'venacti_rgbold';
    color: #271d67;
    font-size: 21px;
    line-height: 24px;
}

h3 {
    font-family: 'titilliumbold';
    color: #554839;
    font-size: 18px;
    line-height: 20px;
}

p {
    padding-bottom: 16px;
}

.bttn-top.show {
    display: block;
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 9999999999;
    width: 30px;
    height: 30px;
    background: url('images/top-img.png') no-repeat;
}

.bttn-top.hide {
    display: none;
}


/*---- HEADER ----*/

#masthead {
    width: 100%;
}

.header-inner {
    max-width: 1630px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

#top {
    max-width: 1630px;
    width: 100%;
    margin: 0 auto;
    background: url('images/top_background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 120px;
}

#top .container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

#site-branding {
    width: 100%;
    height: 118px;
    display: table-cell;
    vertical-align: middle;
    max-width: 1080px;
}

.logo {
    height: auto;
    margin-top: -7px;
    float: left;
}

h2.pay-off {
    float: left;
    padding: 52px 0 0 40px;
    width: auto;
    color: white;
}

h2.pay-off span {
    color: #ef8410;
}

#header-img {
    margin-top: 2px;
    clear: both;
}

#header-img .search-form {
    display: none;
}

#header-img img {
    filter: Alpha(Opacity=0);
    /*IE7 fix*/
    opacity: 0;
}


/*---- MAIN NAV ----*/

#menu-button, #nav-mobile {
    display: none;
}

#nav {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    height: 60px;
}

ul.nav-menu {
    width: 82%;
    float: left;
    list-style-type: none;
}

ul.nav-menu li {
    line-height: 60px;
    padding: 0 30px 0 30px;
    display: inline-block;
}

ul.nav-menu li:hover {
    background: #fbfbfb;
}

ul.nav-menu li a {
    color: #271d67;
    font-size: 16px;
}

ul.nav-menu li.current_page_item {
    background: #f4f4f4;
}

ul.nav-menu li.current_page_item a {
    font-family: 'titilliumbold';
}


/*---- ZOEKEN ----*/

.header-img .search-form {
    display: none;
}

#nav .search-form {
    float: right;
    width: 18%;
    height: 60px;
    padding-top: 16px;
}

.search-form form {
    overflow: hidden;
    display: block;
}

.search-form form input {
    width: auto;
    display: inline-block;
    padding: 4px 20px 4px 8px;
    border: 0;
    border-radius: 4px;
}

.search-form form input {
    background: url(images/search.png) right center no-repeat #f4f4f4;
    color: #271d67;
}


/*---- LOGIN ----*/

#login {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 999;
}

#login form {
    width: 250px;
    height: 200px;
    background: url('images/login-bg.jpg') left top no-repeat #ef8410;
    position: absolute;
    top: 0;
    left: 0;
    padding: 26px 30px 20px 30px;
}

#login-page form {
    width: 100%;
    height: auto;
    position: relative;
}

#login form p, #login-page form p {
    color: #fff;
    padding-bottom: 10px;
    font-size: 18px;
}

#login form p span, #login-page form p span {
    font-family: 'titilliumbold';
}

#login form input, #login-page form input {
    margin-bottom: 10px;
    width: 100%;
    border-radius: 4px;
    border: 0;
    height: 32px;
    padding-left: 10px;
    font-size: 16px;
    background: #ffe0be;
    color: #f07d00;
}

#login form input:focus {
    background: #fff;
    color: #271d67;
}

#login-page form input:focus {
    background: #fff;
    color: #271d67;
    border: 1px solid #ffe0be;
}

#login form input[type=submit], #login-page form input[type=submit] {
    background: #554839;
    color: #fff;
}

#login form input[type=submit]:hover, #login-page form input[type=submit]:hover {
    background: #45321d;
}


/*---- SECOND NAV ----*/

#second-navigation {
    width: 100%;
    height: 60px;
    background: url('images/second-menu-bg.jpg') center #271d67;
    background-size: cover;
    position: relative;
    z-index: 400;
}

ul.second-menu {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

ul.second-menu>li {
    float: left;
    padding: 0;
    list-style: none;
    list-style-image: none;
    display: inline-block;
    position: relative;
    transform: skew(-25deg);
    -webkit-transform: skew(-25deg);
    -moz-transform: skew(-25deg);
    -ms-transform: skew(-25deg);
    -o-transform: skew(-25deg);
}


/* 1 item */

ul.second-menu>li:first-child:nth-last-child(1) {
    width: 100%;
}


/* 2 items */

ul.second-menu>li:first-child:nth-last-child(2), ul.second-menu>li:first-child:nth-last-child(2)~li {
    width: 50%;
}


/* 3 items */

ul.second-menu>li:first-child:nth-last-child(3), ul.second-menu>li:first-child:nth-last-child(3)~li {
    width: 33.3333%;
}


/* 4 items */

ul.second-menu>li:first-child:nth-last-child(4), ul.second-menu>li:first-child:nth-last-child(4)~li {
    width: 25%;
}


/* 5 items */

ul.second-menu>li:first-child:nth-last-child(5), ul.second-menu>li:first-child:nth-last-child(5)~li {
    width: 20%;
}


/* 6 items */

ul.second-menu>li:first-child:nth-last-child(6), ul.second-menu>li:first-child:nth-last-child(6)~li {
    width: 16.6666667%;
}

ul.second-menu li a {
    color: #fff;
    display: block;
    font-size: 17px;
    line-height: 32px;
    padding: 14px 0;
    text-align: center;
    text-decoration: none;
}

ul.second-menu li a span {
    transform: skew(25deg);
    -webkit-transform: skew(25deg);
    -moz-transform: skew(25deg);
    -ms-transform: skew(25deg);
    -o-transform: skew(25deg);
    display: block;
}

ul.second-menu li:nth-of-type(1) a {
    background: #271d67;
}

ul.second-menu li:nth-of-type(2) a {
    background: #212770;
}

ul.second-menu li:nth-of-type(3) a {
    background: #202e7a;
}

ul.second-menu li:nth-of-type(4) a {
    background: #2c3a81;
}

ul.second-menu li:nth-of-type(5) a {
    background: #3a4994;
}

ul.second-menu li:nth-of-type(6) a {
    background: #4b5baa;
}

ul.second-menu li.current-menu-item a, ul.second-menu li a:hover, .single-referenties #second-navigation ul.second-menu li:nth-of-type(3) a {
    background: #f07d00;
}


/*---- CONTENT ----*/

.container {
    width: 100%;
}

.content {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 50px 0 50px 0;
}

.contact .content {
    padding: 50px 0 0 0;
}

.content.nieuws, .content.nieuws-page {
    max-width: 1100px;
}

.content.nieuws-page .grid-item {
    width: 33.3333333%;
    float: left;
    padding: 0 40px 40px 0;
}

.content.nieuws h1 {
    padding: 0 10px 20px 10px;
}

.content.nieuws a.meer-nieuws {
    display: block;
    width: 150px;
    margin: 0 auto;
    text-align: center;
    color: #a5a19b;
    background: url('images/meer-nieuws-arrow.png') left center no-repeat;
}

.content.nieuws a.meer-nieuws:hover {
    color: #f07d00;
    background: url('images/meer-nieuws-arrow-hover.png') left center no-repeat;
    text-decoration: none;
}

.container .content:first-of-type {
    padding-top: 60px;
}

.content.two-column .left {
    width: 50%;
    float: left;
    padding-right: 10px;
}

.content.two-column .right {
    width: 50%;
    float: right;
    padding-left: 10px;
}

.content .youtube {
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.18);
    -moz-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.18);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.18);
    margin: 0 0 2px 2px;
}

.content .embed-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    padding-bottom: 56.25%;
    height: auto;
}

.content .embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*---- NIEUWS CAROUSEL ----*/

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.grid {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid-item {
    width: 100%;
    height: auto;
    float: left;
    padding: 0 10px 0 10px;
    list-style-type: none;
}

.nieuws .grid-item p, .nieuws .grid-item h2 {
    padding-right: 14%;
}

.nieuws .grid-item h2 {
    font-family: 'titilliumbold';
    color: #554839;
    padding: 22px 0 0 0;
    font-size: 18px;
    line-height: 20px;
}

.nieuws .grid-item a:hover {
    text-decoration: none;
}

.nieuws .grid-item h2:hover {
    color: #271d67;
}

.nieuws .grid-item li.datum {
    color: #f08006;
    padding: 3px 0 14px 0;
    font-size: 15px;
}

.nieuws .grid-item p {
    color: #88827a;
}

.owl-theme .owl-controls {
    padding: 10px 0 10px 0;
}

.owl-theme .owl-controls .owl-page span {
    width: 8px;
    height: 8px;
    background: #88827a;
    filter: Alpha(Opacity=30);
    /*IE7 fix*/
    opacity: 0.3;
}


/*---- LEVERANCIERS / UITSPRAKEN ----*/

.leveranciers {
    width: 100%;
    max-width: 1630px;
    margin: 0 auto;
    height: auto;
    display: block;
    position: relative;
    background: url('images/leverancier-1.jpg') top right no-repeat;
}

.uitspraken {
    width: 100%;
    max-width: 1630px;
    margin: 0 auto;
    height: auto;
    display: block;
    position: relative;
}

.leveranciers .bg, .uitspraken .bg {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 30px 0 50px 0;
    background: url('images/leveranciers-bg.png') left no-repeat;
    background-size: 100% 100%;
}

.leveranciers .text, .uitspraken .text {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    min-height: 160px;
    position: relative;
}

.leveranciers .gezocht {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    line-height: 26px;
    max-width: 400px;
}

.uitspraken .inner {
    max-width: 500px;
    width: 100%;
}

.leveranciers .link, .uitspraken .link {
    max-width: 400px;
    display: inline-block;
}

.leveranciers h1, .uitspraken h1 {
    color: #fff;
}

.leveranciers p {
    color: #fff;
    padding: 0;
}

.uitspraken p {
    color: #fff;
    padding: 0;
    font-size: 20px;
    font-family: 'venacti_rgregular';
    text-align: right;
}

.leveranciers h2 {
    color: #271d67;
    font-family: 'venactisemibold';
    font-size: 18px;
    display: inline-block;
    float: left;
    margin-top: 16px;
}

.uitspraken h2 {
    color: #271d67;
    font-family: 'venactisemibold';
    font-size: 18px;
    text-align: right;
    margin-top: 16px;
}

.uitspraken p.sinds {
    color: #271d67;
    font-family: 'venacti_rgregular';
    font-size: 16px;
    text-align: right;
}

a.cfs-hyperlink {
    font-size: 15px;
    display: inline-block;
    background: #271d67;
    color: #fff;
    border-radius: 4px;
    padding: 5px 8px 5px 8px;
    float: left;
}

a.cfs-hyperlink:hover {
    color: #f07d00;
    background: #fff;
    text-decoration: none;
}


/*---- SIDEBAR ----*/

.sidebar {
    position: relative;
}

.sidebar .textwidget {
    padding-bottom: 8px;
}

.sidebar ul {
    width: 100%;
    max-width: 275px;
    list-style-type: none;
}

.single .sidebar ul li {
    padding-bottom: 20px;
    opacity: 0.9;
}

.single .sidebar ul li:hover {
    opacity: 1;
}

.sidebar h3 {
    color: #88827a;
    font-size: 16px;
    padding-bottom: 2px;
}

.google-maps {
    position: relative;
    padding-bottom: 18.4%;
    height: 0;
    overflow: hidden;
    margin-top: -300px;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 40% !important;
    height: 300px !important;
}


/*---- FOOTER ----*/

.footer {
    width: 100%;
    overflow: hidden;
    padding: 50px 0 50px 0;
}

.footer ul.social-media {
    text-align: center;
    list-style-type: none;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.footer ul.social-media li {
    background: #271d67;
    width: auto;
    height: auto;
    display: inline;
    padding: 8px;
    border-radius: 30px;
    margin: 0 10px 0 10px;
}

.footer ul.social-media li:hover {
    background: #f07d00;
}

.footer ul.contact {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    list-style-type: none;
    padding: 40px 0 50px 0;
    overflow: hidden;
}

.footer ul.contact li {
    width: 25%;
    float: left;
    text-align: left;
}

.footer ul.contact li h3 {
    font-size: 14px;
    font-family: 'titilliumbold';
}

.footer ul.contact li p {
    font-size: 14px;
}

.footer ul.contact li p span {
    font-family: 'titilliumbold';
    text-transform: uppercase;
    color: #f78932;
    padding-right: 6px;
}

#footer-navigation {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 10px;
}

#footer-navigation .textwidget {
    float: left;
    width: 20%;
}

#footer-navigation .textwidget p {
    color: #f07d00;
    font-family: 'titilliumbold';
}

#footer-navigation ul {
    list-style-type: none;
    float: right;
    width: 80%;
}

#footer-navigation ul li {
    float: right;
    text-align: center;
    display: inline-block;
    padding: 0 16px 0 16px;
}

#footer-navigation ul li:first-of-type {
    padding: 0 0 0 16px;
}

#footer-navigation ul li:last-of-type {
    padding: 0 16px 0 0;
}

#footer-navigation ul li a {
    color: #271d67;
}

#footer-navigation ul li.current_page_item a {
    font-family: 'titilliumbold';
}


/*---- PAGE ----*/

.content .uitgelicht, .content .sidebar {
    width: 40%;
    float: left;
}

.page-template-default .content .uitgelicht img {
    width: 100%;
    height: auto;
}

.page-template-default .content article, .page-template .content article, .single article {
    width: 60%;
    float: left;
    max-width: 550px;
}

.home .content article, .content .loop article {
    width: 100%;
}

.loop {
    width: 100%;
    max-width: 1630px;
    margin: 0 auto;
}

.loop h1 {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.page-template-default .content article img {
    padding: 10px 0 10px 0;
}

.page-template-default .content article h1 {
    padding-bottom: 30px;
}

.page-template-default .content article h2 {
    font-family: 'titilliumbold';
    color: #554839;
    padding: 22px 0 0 0;
    font-size: 18px;
    line-height: 20px;
}

.content article p {
    width: 100%;
    max-width: 550px;
    float: left;
}

.page-template-default .content article a.link {
    color: #fff;
    background: #f07d00;
    border-radius: 4px;
    font-size: 16px;
    padding: 5px 8px 5px 8px;
    font-family: 'titilliumregular';
    margin: 20px 0 20px 0;
    display: inline-block;
}

.page-template-default .content article a.link:hover {
    background: #271d67;
    text-decoration: none;
}

.single article h1 {
    padding-bottom: 0;
}

.single article a.cfs-hyperlink {
    font-size: 15px;
    color: #2c3a81;
    display: block;
    background: none;
    padding: 0;
    margin-bottom: 20px;
}

.single article a.cfs-hyperlink:hover {
    text-decoration: underline;
}

.single article p {
    float: left;
}

.single article a.terug {
    float: left;
    color: #554839;
    font-family: 'venactisemibold';
    padding-top: 40px;
}

.single article a.terug:hover {
    text-decoration: none;
    color: #f07d00;
}


/*---- PAGE TEMPLATE OVER TRADEXCHANGE ----*/

.sidebar-bg::before {
    content: "";
    background-color: #f6f3ef;
    background-image: url('images/sidebar-arrow.png');
    background-position: center right;
    background-repeat: no-repeat;
    width: 40%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sidebar-bg {
    width: 100%;
    max-width: 1630px;
    margin: 0 auto;
    position: relative;
    height: auto;
    display: block;
}

.content .sidebar a {
    color: #88827a;
    font-size: 16px;
}

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


/*---- REFERENTIES ----*/

.loop.referenties .grid .grid-item {
    width: 29.3333333%;
    height: auto;
    float: left;
    padding: 0;
    margin: 0 4% 30px 0;
}

.loop.referenties .grid-item ul {
    list-style-type: none;
}

.loop.referenties .grid-item ul li a img {
    border-bottom: 1px solid #ececec;
    width: 100%;
}

.loop.referenties .grid-item {
    border: 1px solid #ececec;
}

.loop.referenties .grid-item a h2 {
    margin: 20px 20px 10px 20px;
    font-family: 'venactisemibold';
    color: #554839;
    font-size: 18px;
    line-height: 20px;
}

.loop.referenties .grid-item a:hover {
    text-decoration: none;
}

.loop.referenties .grid-item p {
    margin: 5px 20px;
    color: #d8d0c5;
    font-size: 15px;
}

.loop.referenties .grid-item a.link {
    margin: 10px 20px 20px 20px;
    background: #d8d0c5;
    color: #fff;
    display: inline-block;
}

.loop.referenties .grid-item a.link:hover {
    background: #271d67;
}


/*---- CONTENT ONE PAGE ----*/

.medewerkers ul {
    list-style-type: none;
}

.medewerkers ul li {
    width: 16.666667%;
    float: left;
    padding: 0 20px 0 0;
}

.content.drie-kolommen .grid-item {
    width: 33.3333333%;
    padding: 0 20px 20px 0;
}

.content.twee-kolommen .grid-item {
    width: 50%;
    padding: 0 20px 20px 0;
}

.content.een-kolom .grid-item {
    width: 100%;
    max-width: 850px;
    float: left;
    padding: 0;
}

.content.drie-kolommen ul, .content.twee-kolommen ul, .content.een-kolom ul li p {
    list-style-type: none;
}

.content.drie-kolommen ul li p, .content.twee-kolommen ul li p, .content.een-kolom ul li p {
    width: 100%;
    float: left;
}

.content.drie-kolommen, .content.twee-kolommen, .content.een-kolom, .content.drie-kolommen.wit {
    background: none;
    width: 100%;
    max-width: none;
    border-bottom: 1px solid #f1f1f1;
}

.content.drie-kolommen ul, .content.twee-kolommen ul, .content.een-kolom ul {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
/*    overflow: hidden;
*/}

.content.een-kolom.blauw, .content.twee-kolommen.blauw, .content.drie-kolommen.blauw {
    background: url('images/blauwe-achtergrond.jpg') top left repeat;
    border: none;
}

.content.een-kolom.blauw h1, .content.twee-kolommen.blauw h1, .content.drie-kolommen.blauw h1 {
    color: #f07d00;
}

.content.een-kolom.blauw ul li, .content.twee-kolommen.blauw ul li, .content.drie-kolommen.blauw ul li {
    color: #fff;
}

.content.een-kolom.oranje, .content.twee-kolommen.oranje, .content.drie-kolommen.oranje {
    background: url('images/oranje-achtergrond.jpg') top left repeat;
    border: none;
}

.content.een-kolom.oranje h1, .content.twee-kolommen.oranje h1, .content.drie-kolommen.oranje h1 {
    color: #271d67;
}

.content.een-kolom.oranje ul li, .content.twee-kolommen.oranje ul li, .content.drie-kolommen.oranje ul li {
    color: #fff;
}

ul.branchelijst {
    width: 100%;
    height: auto;
    list-style-type: none;
    padding: 20px 0 30px 0;
    position: relative;
    overflow: hidden;
}

ul.branchelijst li.branchelijst-alfabet {
    float: left;
    padding: 6px 0;
    width: 34px;
    height: 34px;
    margin: 5px 5px 5px 0;
    text-align: center;
    background: #f07d00;
    display: inline;
}

ul.branchelijst li.branchelijst-alfabet:hover {
    background: #271d67;
    text-decoration: none;
}

ul.branchelijst li.branchelijst-alfabet a {
    color: #fff;
}

ul.branchelijst li.branchelijst-alfabet a:hover {
    text-decoration: none;
}


/*---- PAGE TEMPLATE CONTACT ----*/

.contact article form {
    padding-top: 20px;
}

.contact form tr {
    display: inline-block;
    width: 100%;
    padding-bottom: 6px;
}

.contact form tr td {
    min-width: 100px;
}

.contact form tr td span {
    color: #f07d00;
}

.contact form tr td input {
    width: 100%;
    max-width: 240px;
    border: 1px solid #c6c0b6;
}

.contact form tr td textarea {
    width: 340px;
    max-width: 100%;
    border: 1px solid #c6c0b6;
    margin-top: 4px;
}

.contact form tr td input[type=submit] {
    color: #fff;
    background: #271d66;
    border-radius: 4px;
    border: 0;
    font-size: 16px;
    padding: 5px 8px 5px 8px;
    font-family: 'titilliumregular';
    display: inline-block;
    margin-bottom: 40px;
}

.contact form tr td input[type=submit]:hover {
    background: #271d66;
}


/*---- NIEUWSBRIEF ----*/

.nieuwsbrief {
    padding: 100px 0 120px 0;
    width: 100%;
    max-width: 1630px;
    margin: 0 auto;
    text-align: center;
}

.nieuwsbrief a.cfs-hyperlink {
    text-align: center;
    float: none;
}

.nieuwsbrief a.cfs-hyperlink:hover {
    color: #fff;
    background: #f07d00;
}


/*---- FONTS----*/

@font-face {
    font-family: 'venacti_rgbold';
    src: url('fonts/venacti_bd-webfont.eot');
    src: url('fonts/venacti_bd-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/venacti_bd-webfont.woff2') format('woff2'), url('fonts/venacti_bd-webfont.woff') format('woff'), url('fonts/venacti_bd-webfont.ttf') format('truetype'), url('fonts/venacti_bd-webfont.svg#venacti_rgbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'venacti_rgregular';
    src: url('fonts/venacti_rg-webfont.eot');
    src: url('fonts/venacti_rg-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/venacti_rg-webfont.woff2') format('woff2'), url('fonts/venacti_rg-webfont.woff') format('woff'), url('fonts/venacti_rg-webfont.ttf') format('truetype'), url('fonts/venacti_rg-webfont.svg#venacti_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'venactisemibold';
    src: url('fonts/venacti_sb-webfont.eot');
    src: url('fonts/venacti_sb-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/venacti_sb-webfont.woff2') format('woff2'), url('fonts/venacti_sb-webfont.woff') format('woff'), url('fonts/venacti_sb-webfont.ttf') format('truetype'), url('fonts/venacti_sb-webfont.svg#venactisemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'titilliumlight';
    src: url('fonts/titillium-light-webfont.eot');
    src: url('fonts/titillium-light-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/titillium-light-webfont.woff2') format('woff2'), url('fonts/titillium-light-webfont.woff') format('woff'), url('fonts/titillium-light-webfont.ttf') format('truetype'), url('fonts/titillium-light-webfont.svg#titilliumlight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'titilliumregular';
    src: url('fonts/titillium-regular-webfont.eot');
    src: url('fonts/titillium-regular-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/titillium-regular-webfont.woff2') format('woff2'), url('fonts/titillium-regular-webfont.woff') format('woff'), url('fonts/titillium-regular-webfont.ttf') format('truetype'), url('fonts/titillium-regular-webfont.svg#titilliumregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'titilliumbold';
    src: url('fonts/titillium-semibold-webfont.eot');
    src: url('fonts/titillium-semibold-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/titillium-semibold-webfont.woff2') format('woff2'), url('fonts/titillium-semibold-webfont.woff') format('woff'), url('fonts/titillium-semibold-webfont.ttf') format('truetype'), url('fonts/titillium-semibold-webfont.svg#titilliumbold') format('svg');
    font-weight: normal;
    font-style: normal;
}


/*---- RESPONSIVE ----*/

@media handheld, only screen and (max-width: 1080px) {
    .leveranciers .text, #top, .uitspraken .text, #top {
        padding: 0 30px;
    }
    .leveranciers a.cfs-hyperlink .text, .uitspraken a.cfs-hyperlink .text {
        padding: 0;
    }
    .content.nieuws h1 {
        padding: 0 0 20px 0;
    }
    .content {
        padding: 50px 20px;
    }
    .page-template-default .content article, .single article {
        padding-left: 20px;
    }
    .footer ul.contact {
        padding: 40px 30px 50px 30px;
    }
    #footer-navigation {
        padding: 10px 30px 0 30px;
    }
    .wrapper {
        padding: 0 30px;
    }
    .content .sidebar {
        padding-left: 20px;
    }
    .contact .content {
        padding-bottom: 120px;
    }
}

@media handheld, only screen and (max-width: 980px) {
    h2.pay-off {
        display: none;
    }
}

@media handheld, only screen and (max-width: 900px) {
    /*h2.pay-off {
        font-size: 16px;
    }*/
    ul.nav-menu li {
        padding: 0 20px 0 20px;
    }
}

@media handheld, only screen and (max-width: 800px) {
    #nav {
        display: none;
    }
    #nav-mobile {
        display: block;
    }
    #header-img .search-form {
        display: block;
    }
    #header-img .search-form form {
        overflow: hidden;
        display: block;
        width: auto;
        height: auto;
        padding: 10px 10px 0 0;
        float: right;
    }
    #header-img .search-form form input {
        background: url(images/search.png) right center no-repeat #fff;
        opacity: 0.9;
        color: #271d67;
    }
    ul#menu-main {
        width: 100%;
    }
    #header-img {
        min-height: 200px;
    }
    .leveranciers {
        width: 100%;
        max-width: 1630px;
        margin: 0 auto;
        height: auto;
        display: block;
        padding-bottom: 160px;
        position: relative;
        background: url(images/leverancier-1.jpg) bottom center no-repeat;
        background-size: contain;
    }
    .uitspraken[style] {
        width: 100%;
        max-width: 1630px;
        margin: 0 auto;
        height: auto;
        display: block;
        padding-bottom: 160px;
        position: relative;
        background-position: bottom center !important;
        background-size: contain !important;
    }
    .uitspraken .inner {
        padding-bottom: 200px;
    }
    .leveranciers .bg, .uitspraken .bg {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        padding: 30px 0 150px 0;
        background: url('images/leveranciers-bg-mobile.png') center no-repeat;
        background-size: cover;
    }
    .uitspraken .inner {
        padding-right: 30px;
    }
    #footer-navigation .textwidget {
        width: 100%;
        text-align: center;
    }
    #footer-navigation ul {
        text-align: center;
        list-style-type: none;
        width: 100%;
        max-width: 1080px;
        margin: 0 auto;
    }
    #footer-navigation ul li, #footer-navigation ul li:first-of-type, #footer-navigation ul li:last-of-type {
        height: auto;
        display: block;
        width: 100%;
        padding: 0 0 6px 0;
    }
}

@media handheld, only screen and (max-width: 786px) {
    /*h2.pay-off {
        width: 100%;
        display: block;
        text-align: center;
    }*/
    .content.two-column .left, .content.two-column .right {
        width: 100%;
        padding: 0;
    }
    #nav-mobile {
        height: 50px;
    }
    #second-navigation {
        height: 120px;
        background: url('images/second-menu-bg.jpg') center #271d67;
        background-size: cover;
    }
    ul.second-menu>li:first-child:nth-last-child(2), ul.second-menu>li:first-child:nth-last-child(2)~li, ul.second-menu>li:first-child:nth-last-child(3), ul.second-menu>li:first-child:nth-last-child(3)~li, ul.second-menu>li:first-child:nth-last-child(4), ul.second-menu>li:first-child:nth-last-child(4)~li, ul.second-menu>li:first-child:nth-last-child(5), ul.second-menu>li:first-child:nth-last-child(5)~li, ul.second-menu>li:first-child:nth-last-child(6), ul.second-menu>li:first-child:nth-last-child(6)~li {
        width: 50%;
    }
    ul.second-menu li a {
        font-size: 15px;
    }
    .footer ul.contact li {
        width: 50%;
    }
    #menu-button {
        display: block;
        width: 35px;
        position: relative;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        margin: 15px 30px 0 30px;
    }
    #menu-button span {
        display: block;
        position: absolute;
        height: 3px;
        width: 80%;
        background: #f07d00;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }
    #menu-button p {
        margin-left: 46px;
        font-size: 17px;
        color: #f07d00;
    }
    #menu-button span:nth-of-type(1) {
        top: 0;
    }
    #menu-button span:nth-of-type(2) {
        top: 10px;
    }
    #menu-button span:nth-of-type(3) {
        top: 20px;
    }
    .medewerkers ul li {
        width: 33.3333333%;
    }
    .content.nieuws-page .grid-item, .content.drie-kolommen .grid-item {
        width: 50%;
    }
    .loop.referenties .grid .grid-item {
        width: 46%;
    }
    #nav-mobile {
        height: auto;
    }
    ul.nav-menu {
        width: 100%;
    }
    ul.nav-menu li {
        line-height: 60px;
        padding: 0 30px 0 30px;
        display: inline-block;
        display: block;
    }
    ul.nav-menu li:hover {
        background: #fbfbfb;
    }
    ul.nav-menu li a {
        color: #271d67;
        font-size: 16px;
    }
    ul.nav-menu li.current_page_item {
        background: #f4f4f4;
    }
    ul.nav-menu li.current_page_item a {
        font-family: 'titilliumbold';
    }
}

@media handheld, only screen and (max-width: 550px) {
    #login, #header-img .search-form form {
        display: none;
    }
    #login-page #login {
        display: block;
    }
    ul.second-menu li a {
        font-size: 14px;
    }
    .footer ul.contact li {
        width: 100%;
        text-align: center;
    }
    .page-template-default .content article, .page-template .content article, .single article, .content .uitgelicht, .content .sidebar {
        width: 100%;
        float: left;
    }
    .content .sidebar {
        background-color: #f6f3ef;
        padding: 30px;
        background-image: url('images/sidebar-arrow-top.png');
        background-position: center -2px;
        background-repeat: no-repeat;
    }
    .sidebar-bg::before {
        display: none;
    }
    .medewerkers ul li {
        width: 50%;
    }
    .content.twee-kolommen .grid-item {
        width: 100%;
    }
    .page-template-default .content article h1 {
        padding: 15px 0;
    }
    .content.nieuws-page .grid-item, .content.drie-kolommen .grid-item {
        width: 100%;
    }
    .page-template-default .content article, .page-template .content article, .single article {
        padding-left: 0;
    }
    .loop.referenties .grid .grid-item {
        width: 100%;
        margin-right: 0;
    }
    .content .sidebar {
        margin-top: 0;
    }
    .contact .content {
        padding: 0 20px;
    }
    .container .content:first-of-type {
        padding-top: 30px;
    }
    .content article {
        padding-top: 20px;
    }
    .google-maps {
        position: absolute;
        padding-bottom: 0;
        height: 0;
        overflow: hidden;
        margin-top: 0;
        top: 0;
        width: 100%;
        height: 200px;
    }
    .google-maps iframe {
        position: relative;
        width: 100% !important;
        height: 200px !important;
    }
    .content .sidebar {
        z-index: 99999;
    }
    .contact .content .sidebar {
        margin-top: 200px;
    }
    .contact form tr td {
        display: block;
    }
    .contact form tr td textarea {
        max-width: 240px;
        width: 100%;
    }
    .contact form tr {
        padding-bottom: 20px;
    }
}


/*---- MISC ----*/

::selection {
    background: #f07d00;
    color: #fff;
    text-shadow: none;
}

::-webkit-selection {
    background: #f07d00;
    color: #fff;
    text-shadow: none;
}

::-moz-selection {
    background: #f07d00;
    color: #fff;
    text-shadow: none;
}

input::selection {
    background: #271d67;
    color: #fff;
    text-shadow: none;
}

input::-webkit-selection {
    background: #271d67;
    color: #fff;
    text-shadow: none;
}

input::-moz-selection {
    background: #271d67;
    color: #fff;
    text-shadow: none;
}


/*---- PRINT----*/

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a, a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr, img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}



/* Toegevoegd door BrandDogs - Jurn 18-10-2018 */

.default-section{
    padding-top:5vh;
    padding-bottom:5vh;
}

.default-section p:empty{
    display:none;
}

.flex{
    display:flex;
    -webkit-display:flex;
}

.flex-center{
    justify-content: center;
    align-items: center;
    align-content:center;

    -webkit-justify-content: center;
    -webkit-align-items: center;
    -webkit-align-content:center;
}

/* Quote */

.is-quote{
    position: relative;
}

.is-quote .column span{
    height: 100%;
    min-height: 200px;
    font-size: calc(16px + 6 * ( 100vw - 320px ) / 680);
}

.is-quote .column span:before, .is-quote .column span:after{
    position: absolute;
    width:100px;
    height: 100px;
    font-size: 110px;
    font-family: 'helvetica';
}

.is-quote .column span:before{
    content:open-quote;
    left:5vw;
    bottom:2vh;
}

.is-quote .column span:after{
    content:close-quote;
    right:5vw;
    top:2vh;
}

.is-quote p{
    display: none;
}

/* Grid system  */

.columns{

    display:grid;
    grid-template-columns: 1fr;
    max-width: 1080px;
    margin:0 auto;
    grid-gap:5vw;

}


.columns.col-2{ grid-template-columns: 1fr 1fr; } 
.columns.col-3{ grid-template-columns: 1fr 1fr 1fr; } 
.columns.col-4{ grid-template-columns: 1fr 1fr 1fr 1fr; } 
.columns.col-5{ grid-template-columns: 1fr 1fr 1fr 1fr 1fr; } 
.columns.col-6{ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; } 
.columns.is-full{ max-width: 100%; }
.columns.is-orange{
    background: url('images/oranje-achtergrond.jpg') top left repeat;
    border: none;
    color:#ffffff;
    margin-top:5vh;
    margin-bottom:5vh;
}

.columns.is-orange h3,
.columns.is-orange h2
{
    font-size: 26px;
    color:#271d67;
}

.default-section .container > div:last-of-type{ margin-top:5vh; margin-bottom:5vh;  }


@media( max-width: 1224px ){

    .columns,
    .columns.col-2,
    .columns.col-3,
    .columns.col-4,
    .columns.col-5,
    .columns.col-6{

        padding: 5vw 5vh;

    }

}

/* Media queries */
@media(max-width: 550px){

    .columns,
    .columns.col-2,
    .columns.col-3,
    .columns.col-4,
    .columns.col-5,
    .columns.col-6{

        grid-template-columns: 1fr;
        padding: 5vw 5vh;

    }

}