/*
Theme Name: AusProof 
Theme URI: http://www.almostanything.com.au
Description: Responsive starting point
Version: 2017
Author: Almost Anything Web and Graphic Design
Author URI: http://www.almostanything.com.au
*/

/*
 * RELATIVE EMS: target/context=result
 * So if you want a 24px heading, and the parent element is 15px, you need to specify 1.6ems
 * ie 24/15=1.6
 * Got it yet Stu?
 * Similarly with widths. Elements will be a %age or their parent.
 *
 * THIS IS A MOBILE-FIRST STYLESHEET
 * If you're styling for the desktop you are editing the WRONG FILE
 * Go back, do not pass Go, do not collect $200
 */

/* Resets, Globals */

html {
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

    *, *::before, *::after {
        box-sizing: inherit;
    }

div,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,select,button,p,table,blockquote,th,td {
    margin:0;
    padding:0;
    line-height:inherit;
}

    dl,ul,ol,h1,h2,h3,h4,h5,h6,form,fieldset,p,blockquote,table {
        margin:1em 0;
    }

        h1,h2,h3,h4,h5,h6 {
            margin:1em 0 .5em;
            line-height:1.2;
        }

            h1 {
                margin:0 0 .5em;
            }

                .site_title {
                    margin:0;
                }

table {
    border-collapse:collapse;
    border-spacing:0;
}

address,caption,cite,code,dfn,var {
    font-style:normal;
    font-weight:normal;
}
 
caption,th {
    text-align:left;
}

sup {
    vertical-align:text-top;
}

sub {
    vertical-align:text-bottom;
}

input,textarea,select {
    font-family:inherit;
    font-size:inherit;
    font-weight:inherit;
    padding:0 .4em;
}


/* Clearfix */
    
.clearfix::after, header>nav::after {
    content:"";
    display:block;
    clear:both;
}


/* Styles to support our JS scrollbar width calculations */
.scrollbar_measure {
    width: 100px;
    height: 100px;
    overflow: scroll;
    position: absolute;
    top: -9999px;
}


/* Accessibility (skip links, screen reader text) */

.screen-reader-text, .skiplink {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

    .skiplink:focus, .screen-reader-text:focus {
        font-weight:bold;
        background:#eee;
        box-shadow:0 0 10px rgba(0,0,0,0.25);
        top:0;
        left:0;
        float:left;
        width: auto;
        height: auto;
        z-index:9999;
        display:block;
        position:fixed;
        z-index: 100000; /* Above WP toolbar. */
        padding:.5em .75em;
        clip: auto !important;
    }


/* Utilities */

/* General layout */

.u-fullwidth {
    width:100% !important;
}


/* Flexbox */

.u-flex {
    display:-ms-flexbox !important;
    display:-webkit-flex !important;
    display:flex !important;
}

    .u-flex--between {
        -ms-flex-pack: justify !important;
        -webkit-justify-content: space-between !important;
        justify-content: space-between !important;
    }

    .u-flex--around {
        -ms-flex-pack: distribute !important;
        -webkit-justify-content: space-around !important;
        justify-content: space-around !important;
    }

    .u-flex--center {
        -ms-flex-pack: center !important;
        -webkit-justify-content: center !important;
        justify-content: center !important;
    }

    .u-flex--end {
        -ms-flex-pack: end !important;
        -webkit-justify-content: flex-end !important;
        justify-content: flex-end !important;
    }

        @media (max-width:750px) {
            .u-flex--end\@m {
                -ms-flex-pack: end !important;
                -webkit-justify-content: flex-end !important;
                justify-content: flex-end !important;
            }
        }

    .u-flex--column {
        -ms-flex-direction:column !important;
        -webkit-flex-direction:column !important;
        flex-direction:column !important;
    }

        @media (max-width:500px) {
            .u-flex--column\@s {
                -ms-flex-direction:column !important;
                -webkit-flex-direction:column !important;
                flex-direction:column !important;
            }
        }

        @media (max-width:750px) {
            .u-flex--column\@m {
                -ms-flex-direction:column !important;
                -webkit-flex-direction:column !important;
                flex-direction:column !important;
            }
        }

        @media (max-width:1000px) {
            .u-flex--column\@l {
                -ms-flex-direction:column !important;
                -webkit-flex-direction:column !important;
                flex-direction:column !important;
            }
        }


/* Text */

/* Intended for intro sentences and similar */
.u-standout-text {
    font-size:1.2em !important;
}

/* Alignment */

.u-text-left {
    text-align:left !important;
}

.u-text-right {
    text-align:right !important;
}

.u-text-center {
    text-align:center !important;   
}

.u-text-middle {
    vertical-align: middle !important;
}

.u-text-top {
    vertical-align: top !important;
}

.u-text-bottom {
    vertical-align: bottom !important;
}


/* Components */

.c-semantic-list,
.c-semantic-list > li {
    list-style:none;
    margin:0;
    padding:0;
}

/***************************************************************
 *
 * Let's play Tetris!
 * This is basic grid, we're layout out the main semantic blocks
 *
 ***************************************************************/

html, body {
    margin:0;
    padding:0;
    line-height:1.5;
}

    html {
        font-family: "acumin-pro",sans-serif;
		font-weight: 300;
		background:#b2b2b2;
    }

    body {
        color: #000;
        -webkit-text-size-adjust: 100%; /* Disable automatic iOS text resizing */
        font-size: 100%; /* Baseline: this means that 1em = 16px */
    }

body.home  {
	background: url(images/home-page-bg.jpg) top center no-repeat;
	background-size: contain;
}

@media (max-width:700px) {
	
	body.home  {
	background: url(images/home-page-bg.jpg) top center no-repeat;
	background-size: auto 400px ;
	}
	
}

@media (min-width:1800px) {
	
	body.home  {
	background: url(images/home-page-bg.jpg) top center no-repeat;
	background-size: 100% 900px ;
	}
	
}

.contentbox {
    width: 100%;
    margin: auto;
    font-size: 1em; /* 20px for normal paragraph text */
}

.gutter-wrap {
    padding:0 5%;
}

    .gutter-wrap--primary {
        clear:both;
        background:#fff;
    }

    .sidebar {
        margin:0 0 1.5em;
        padding:0 1.25em;
        float:right;
        clear:both;
        width:100%;
    }
    
article {
    padding:1.5em 0;
}

/***************************************************************
 *
 * Header
 *
 ***************************************************************/

.site-info {
    padding-top:1.5em;
    padding-bottom:0.5em;
}

    .site-info--contains-menu {
        padding-bottom:0;
    }

    .site_title {
        text-indent:-9999px;
        width:0;
        height:0;
    }

        .site_title a {
            text-decoration: none;
            color:#000;
        }

    .site-info__logo, .site-info__logo img {
        display:block;
        background:none;
        position:relative;
        border:none;
    }

        .site-info__logo {
            width:100%;
			max-width: 350px;
        }

            @media (min-width:751px) {
                .site-info__logo {
                    margin:0 1.5em 0 0;
                }
            }

            @media (max-width:750px) {
                .site-info__logo, .site-info__logo img, .site_title {
                    margin:0 auto;
                    text-align:center;
                    max-width: 220px;
                }
            }

    .site-info__usereditable, .site-info__usereditable li {
        list-style:none;
        padding:0;
        margin:0;
    }

        .site-info__usereditable {
            clear:both;
        }

        @media (max-width:750px) {

            .site-info__usereditable {
                text-align:center;
            }

        }

        .site-info__usereditable>li {
            display:block;
            margin:.75em 0 0;
            font-size:1.25em;
            line-height:1.25;
        }

        .site-info__usereditable a[href^="tel"] {
            text-decoration:none;
        }

        @media (min-width:751px) {

            .site-info__aside {
                display:-ms-flexbox;
                display:-webkit-flex;
                display:flex;
                -ms-flex-direction:column;
                -webkit-flex-direction:column;
                flex-direction:column;
            }

                .nav--beside-logo {
                    -webkit-order:1;
                    -ms-order:1;
                    order:1;
                }

            .site-info>.contentbox {
                /*display:-ms-flexbox;
                display:-webkit-flex;
                display:flex;
                -ms-flex-align: center;
                -webkit-align-items: center;
                align-items: center;*/
				display:block;
				text-align: center;
				margin: 0 auto;
            }

                .site_title, .site-info__logo {
                    /*-ms-flex:0 1 auto;
                    -webkit-flex:0 1 auto;
                    flex:0 1 auto;*/
					text-align: center;
					margin:0 auto;
                }

                .site-info__aside {
                    -ms-flex:1 1 auto;
                    -webkit-flex:1 1 auto;  
                    flex:1 1 auto;
                }

                .site-info__aside {
                    text-align:right;
                }

                    .site-info__usereditable>li {
                        display:inline-block;
                        vertical-align: top;
                        margin:.25em 0 .25em 1.25em;
                    }

                        .site-info__usereditable>li:first-child {
                            margin-left:0;
                        }

        }

.social-media-container {
	display:block;
	width:100%;
	margin:0 auto;
	text-align: center;
}

.social-media-container ul, .social-media-container ul li {
	list-style:none;
	text-indent: 0;
	margin:0;
	padding:0;
}

.social-media-container img {
	max-width: 30px;
}

.home header, header {
	background:#FFF;
}

header.internal {
	background:#FFF;
}

/***************************************************************
 *
 * Navigation
 *
 ***************************************************************/

/* Basic list reformatting */
nav ul,
nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.slide-panel {
	width:100%;
}

/* Make the site menu a flex container */
.nav__page-menu,
.nav__page-menu ul {
    /*display:-ms-flexbox;
    display:flex;
    -ms-flex-flow:row wrap;
    flex-flow:row wrap;*/
    text-align:center;
}

/* Make this look like a nav bar */
.menu-under-logo-container {
    /*background: #000;*/
    line-height:2;
}

.nav, nav {
	font-family: "acumin-pro-condensed",sans-serif;
}

.nav a {
    display:block;
    color:#000;
    border:none;
    line-height:1.3;
    text-decoration: none;
	text-transform: uppercase;
	font-size: 1.2em;
}

    .sub-menu a,
    .nav--under-logo a {
        color: #213a75;
    }

	header.internal .sub-menu a,
    header.internal .nav--under-logo a {
        color: #213a75;
    }

    .nav--under-logo a {
        padding:.5em .7em;
    }

    .nav--beside-logo a {
        padding:.5em .35em;
    }

    .sub-menu a {
        padding:.35em .7em;
    }

    .nav--under-logo li:not([class*='current']) a:hover,
    .nav--under-logo li:not([class*='current']).sfHover>a,
    .nav .sub-menu li:not([class*='current']) a:hover {
        /*background:#353535;*/
    }

nav .current_page_item>a,
.single-post nav .current_page_parent>a,
nav .current_page_ancestor>a,
nav .current-menu-item>a,
nav .current-menu-parent>a,
nav .current-menu-ancestor>a,
nav .current-page-ancestor>a {
    font-weight: bold;
}

    .nav--under-logo .current_page_item>a,
    .single-post .nav--under-logo .current_page_parent>a,
    .nav--under-logo .current_page_ancestor>a,
    .nav--under-logo .current-menu-item>a,
    .nav--under-logo .current-menu-parent>a,
    .nav--under-logo .current-menu-ancestor>a,
    .nav--under-logo .current-page-ancestor>a {
        /*background: #fff;*/
        /*color: #FFF;*/
    }

.contains_submenu>a {
    position:relative;
}

    .show_nav_children {
        position:absolute;
        top:-.25em;
        bottom:-.25em;
        right:-3%;
        line-height:2.5;
        font-weight:bold;
        cursor:pointer;
    }

/*
 * Section menu
 */

.section-menu {
    padding-top:1em;
    padding-bottom:.5em;
    overflow:hidden;
}

    .gutter-wrap--primary+.section-menu {
        padding-top:0;
    }

    .section-menu .sub-menu {
        display:-ms-flexbox;
        display:-webkit-flex;
        display:flex;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-align: stretch;
        align-items: stretch;
        -ms-flex-wrap:wrap;
        flex-wrap:wrap;
        padding:0;
        margin:0 -.25em;
        font-size:1em;
    }

        .section-menu .sub-menu .sub-menu {
            font-size:.9em;
        }

        .section-menu .sub-menu li {
            margin:0 .25em .5em;
            display:-ms-flexbox;
            display:flex;
            -ms-flex:1 1 auto;
            -webkit-flex:1 1 auto;
            flex:1 1 auto;
        }

            .section-menu .sub-menu .sub-menu li {
                margin:.5em .25em 0;
            }

            .section-menu li .current-menu-item.menu-item-has-children, .section-menu li .current-menu-parent.menu-item-has-children {
                -ms-flex-direction:column;
                -webkit-flex-direction:column;
                flex-direction:column;
                -ms-flex:1 1 auto;
                flex:1 1 auto;
                background:#f4f4f4;
                padding:.75em .7em;
            }

    .section-menu a {
        line-height:1.3;
        text-decoration:none;
        color:#333;
        border: 1px solid #ccc;
        padding: .5em .75em;
        min-width:100%;
        -ms-flex:1;
        flex:1;
    }

        .section-menu .current-menu-item>a {
            border: 1px solid #000;
            color:#000;
        }

            .section-menu .sub-menu .current-menu-item>a, .section-menu .sub-menu .current-menu-parent>a {
                background:#fff;
            }

        .section-menu a:hover {
            border-color:#333;
            color:#333;
            text-decoration:underline;
        }


    /* Hide current page link (hopefully!) */
    .section-menu .menu>li>a {
        display:none;
    }


/* Expanded (desktop) menu styles */
@media (min-width:751px) {

    /* Basic list reformatting */
    .nav__page-menu li {
		position:relative;
		display:inline-block;}
	
    .nav__page-menu ul {
        position: absolute;
        top: -9999px;
        left: 0;
    }

    .nav__page-menu li:hover ul,
    .nav__page-menu li.sfHover ul {
        z-index: 100;
        display: -ms-flexbox;
        display: flex;
    }

        .nav__page-menu>li:hover>ul, .nav__page-menu>li.sfHover>ul { top:100%; }

    .nav__page-menu ul ul { left:auto; right:-250px; }
        .nav__page-menu li li:hover ul, .nav__page-menu li li.sfHover ul { top:0; }

    header .nav__page-menu ul, header .nav__page-menu li li {width: 250px;}

    .nav--under-logo {
        margin-left:-.7em;
    }

    .nav__page-menu li ul {
        display: none;
    }

    .nav .sub-menu, .nav .children {
        background:#222;
    }

        .sub-menu .current_page_item>a,
        .single-post .sub-menu .current_page_parent>a,
        .sub-menu .current_page_ancestor>a,
        .sub-menu .current-menu-item>a,
        .sub-menu .current-menu-parent>a,
        .sub-menu .current-menu-ancestor>a,
        .sub-menu .current-page-ancestor>a {
            background: #eee;
            color:#000;
        }

    .contains_submenu>a {
        padding-right:1.5em;
    }

        .show_nav_children {
            padding:0 .75em 0 .5em;
        }

}


/* Mobile menu styles */
@media (max-width: 750px) {

    /* Provide space for the plus/minus symbol */
    .contains_submenu>a {
        padding-right:2.5em;
    }

        /* Element for showing/hiding sub-menus */
        .show_nav_children {
            position:absolute;
            top:-.25em;
            bottom:-.25em;
            right:-3%;
            line-height:2.5;
            z-index:10;
            padding:0 5% 0 .75em;
            padding:0 calc(3% + .5em) 0 .75em;
        }

    /* Turn off floats, force block display - we want vertical flow! */
    .nav__page-menu,
    .nav__page-menu ul {
        -ms-flex-direction:column;
        -webkit-flex-direction:column;
        flex-direction:column;
    }

        /* Indent sub-menus */
        .sub-menu, .nav .children {
            padding:0 0 0 1em;
            font-size:.9em;
        }

    /* Off screen menu */

    .site-info nav {
        line-height:0;
    }

    /* Reduce vertical padding */
    .nav a, header.internal .nav a {
        padding:.35em 1em;
        color:#fff;
        text-align: center;
    }

        .nav a:hover {
            background:#b2b2b2;
        }

        .nav .current_page_item>a,
        .single-post .nav .current_page_parent>a,
        .nav .current_page_ancestor>a,
        .nav .current-menu-item>a,
        .nav .current-menu-parent>a,
        .nav .current-menu-ancestor>a,
        .nav .current-page-ancestor>a {
            background:transparent;
            color: #FFF;
        }

        /* Make sure background stretches to edge of menu */
        .nav .sub-menu a, .nav .children a {
            margin-left: -9999px;
            padding-left: calc(9999px + .75em);
        }
}



/*
 * Slide panel
 */

/* Mobilefirst default appearance styles */

.slide-panel__trigger-label--under-logo {
    color:#fff;
}

@media (max-width:750px) {
    .slide-panel__panel--main-nav {
        background: #213a75;
        font-size: 1.1em;
    }
	
}


/* Slide Panel FRAMEWORK */

/* Trigger checkbox doesn't need to be visible */
.slide-panel__trigger {
    display: none;
}

.slide-panel__trigger-label {
    /* Hidden by default */
    display: none;

    /* Needed to contain generated content */
    position: absolute;
	top:60px;
	right:30px;

    /* Enhance tap target area */
    border: 1em solid transparent;
    border-width:1em 0;

    /* UI */
    cursor:pointer;
    line-height: 1.2;
    font-weight:bold;
    padding-right: 2.3em;
	text-indent: -9999px;
}

    .slide-panel--from-left .slide-panel__trigger-label {
        padding-right:0;
        padding-left:2.3em;
    }

    /* Base rules for page content overlay and hamburger icon */
    .slide-panel__trigger-label::after,
    .slide-panel__trigger-label::before {
        display:block;
        content:"";
        top:0;
        right: 0;
        bottom: 0;
    }

    /* Overlay for page content */
    .slide-panel__trigger-label::before {
        position:fixed;
        z-index: 20;

        /* Mobile Safari doesn't cover the page without negative values... */
        top:-200px;
        bottom:-200px;
        left:-200px;

        /* UI / UX */
        -moz-transition:opacity 125ms ease-in-out;
        -webkit-transition:opacity 125ms ease-in-out;
        transition:opacity 125ms ease-in-out;
        background: rgba(0,0,0,0.75) url(images/cross.svg) 218px 222px / 1.5em no-repeat;
    }

        /* Accommodate WP admin bar */
        .logged-in .slide-panel__trigger-label::before {
            background-position-y:265px;
        }

        .slide-panel--from-left .slide-panel__trigger-label::before {
            background-position:right 1em top 222px;
        }

            .logged-in .slide-panel--from-left .slide-panel__trigger-label::before {
                background-position-y:265px;
            }

        /* Hide and deactivate overlay if menu is closed */
        .slide-panel__trigger:not(:checked) ~ .slide-panel__trigger-label::before {
            opacity:0;
            pointer-events:none;

            /* Required to hide overlay for IE <= 10 (no support for pointer-events) */

            /* IE9 */
            -ms-transform:matrix(0,0,0,0,0,0);
            
            /* IE10 */
            -ms-transform:translate3d(100%,0,0);
        }

    /* Hamburger icon */
    .slide-panel__trigger-label::after {
        position:absolute;
        width: 1.5em;
        background:linear-gradient(
            to bottom,
            #000 0,
            #000 15%,
            transparent 15%,
            transparent 42%,
            #000 42%,
            #000 57%,
            transparent 57%,
            transparent 85%,
            #000 85%
        );
    }

        .slide-panel__trigger-label--under-logo::after {
            background:linear-gradient(
                to bottom,
                #213a75 0,
                #213a75 15%,
                transparent 15%,
                transparent 42%,
                #213a75 42%,
                #213a75 57%,
                transparent 57%,
                transparent 85%,
                #213a75 85%
            );
        }

		header.internal .slide-panel__trigger-label--under-logo::after {
            background:linear-gradient(
                to bottom,
                #213a75 0,
                #213a75 15%,
                transparent 15%,
                transparent 42%,
                #213a75 42%,
                #213a75 57%,
                transparent 57%,
                transparent 85%,
                #213a75 85%
            );
        }

        .slide-panel--from-left .slide-panel__trigger-label::after {
            right:auto;
            left:0;
        }


.slide-panel__panel {
    /* Positioning */
    top: 0;
    right: 0;
    bottom:0;
    margin:0 auto;
    z-index: 100;

    /* Slide-in animation. Custom cubic bezier used to provide a fast initial slide, slowing down near the end.  */
    -moz-transition:-moz-transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03), transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03);
    -webkit-transition:-webkit-transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03), transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03);
    transition:-webkit-transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03);
    transition:-moz-transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03);
    transition:transform 200ms cubic-bezier(0.15, 0.73, 0.44, 1.03);
}

    /* Variant for using left edge of window */
    .slide-panel--from-left .slide-panel__panel {
        right:auto;
        left:0;
    }

    /* Turn pointer events back on when the nav is active */
    .slide-panel__trigger:checked ~ .slide-panel__panel {
        pointer-events:auto;
    }

    /* Make allowance for WordPress admin bar */

    @media (max-width:600px) {
        .logged-in .slide-panel__panel.slide-panel__panel {
            padding-top:56px;
            padding-top:calc(46px + .5em);
        }
    }

    @media (min-width:601px) {
        .logged-in .slide-panel__panel.slide-panel__panel {
            top: 46px; 
        }
    }

    @media (min-width:782px) {
        .logged-in .slide-panel__panel.slide-panel__panel {
            top:32px;
        }
    }


/***********************************
 * Slide panel aims to be reusable.
 * Two default viewport widths provided to enable slide effect: .slide-panel@m: 750px and .slide-panel@l: 1000px
 ***********************************
 * To trigger at other widths:
 * CSS: copy unique selectors and rules below to custom media query. Drop the .slide-panel--enabled/.slide-panel@m/.slide-panel@l prefix
 * JS: Add the slide-panel--enabled class to slide-panel wrapping div
 ***********************************/

/* Show the trigger label */

.slide-panel--enabled .slide-panel__trigger-label {
    display:block;
}

@media (max-width:1000px) {
    .slide-panel\@l .slide-panel__trigger-label {
        display:block;
    }
}

@media (max-width:750px) {
    .slide-panel\@m .slide-panel__trigger-label {
        display:block;
    }
}

/* Ensure slide panel floats above content */

.slide-panel--enabled .slide-panel {
    position:fixed;
    pointer-events:none;
    will-change:transform;
    padding-top:.5em;
    width:80%;

    /* Scroll on vertical overflow, hide horizontal overflow */
    overflow-y: scroll;
    overflow-x: hidden;

    /* Enable momentum scrolling */
    -webkit-overflow-scrolling: touch;
}

@media (max-width:750px) {
    .slide-panel\@m .slide-panel__panel {
        position: fixed;
        pointer-events:none;
        will-change:transform;
        padding-top:.5em;
        width:80%;

        /* Scroll on vertical overflow, hide horizontal overflow */
        overflow-y: scroll;
        overflow-x: hidden;

        /* Enable momentum scrolling */
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width:1000px) {
    .slide-panel\@l .slide-panel__panel {
        position: fixed;
        pointer-events:none;
        will-change:transform;
        padding-top:.5em;
        width:80%;

        /* Scroll on vertical overflow, hide horizontal overflow */
        overflow-y: scroll;
        overflow-x: hidden;

        /* Enable momentum scrolling */
        -webkit-overflow-scrolling: touch;
    }
}

/* Hide the panel off screen - this is a FLIPped animation (https://aerotwist.com/blog/flip-your-animations/) */

.slide-panel--enabled .slide-panel__trigger:not(:checked) ~ .slide-panel__panel {
    -moz-transform:translate3d(100%,0,0);
    -webkit-transform:translate3d(100%,0,0);
    transform:translate3d(100%,0,0);
}

    /* Left side panel */
    .slide-panel--from-left.slide-panel--enabled .slide-panel__trigger:not(:checked) ~ .slide-panel__panel {
        -moz-transform:translate3d(-100%,0,0);
        -webkit-transform:translate3d(-100%,0,0);
        transform:translate3d(-100%,0,0);
    }

@media (max-width:750px) {
    .slide-panel\@m .slide-panel__trigger:not(:checked) ~ .slide-panel__panel {
        -moz-transform:translate3d(100%,0,0);
        -webkit-transform:translate3d(100%,0,0);
        transform:translate3d(100%,0,0);
    }

        /* Left side panel */
        .slide-panel--from-left.slide-panel\@m .slide-panel__trigger:not(:checked) ~ .slide-panel__panel {
            -moz-transform:translate3d(-100%,0,0);
            -webkit-transform:translate3d(-100%,0,0);
            transform:translate3d(-100%,0,0);
        }

}

@media (max-width:1000px) {
    .slide-panel\@l .slide-panel__trigger:not(:checked) ~ .slide-panel__panel {
        -moz-transform:translate3d(100%,0,0);
        -webkit-transform:translate3d(100%,0,0);
        transform:translate3d(100%,0,0);
    }

        /* Left side panel */
        .slide-panel--from-left.slide-panel\@l .slide-panel__trigger:not(:checked) ~ .slide-panel__panel {
            -moz-transform:translate3d(-100%,0,0);
            -webkit-transform:translate3d(-100%,0,0);
            transform:translate3d(-100%,0,0);
        }
}

    /* IE9 doesn't get anything particular fancy! */

    .ie9 .slide-panel--enabled .slide-panel__trigger:not(:checked) ~ .slide-panel__panel {
        display:none;
    }

    @media (max-width:750px) {
        .ie9 .slide-panel\@m .slide-panel__trigger:not(:checked) ~ .slide-panel__panel {
            display:none;
        }
    }
    
    @media (max-width:1000px) {
        .ie9 .slide-panel\@l .slide-panel__trigger:not(:checked) ~ .slide-panel__panel {
            display:none;
        }
    }


/***************************************************************
 *
 * Main Content - <article>
 *
 ***************************************************************/

article h1 {
    font-size: 2.5em;
	font-family: "acumin-pro-condensed", sans-serif;
	font-weight: 300;
	color:#213a75;
}

article h2, .gform_wrapper h2 {
    font-size: 1.6em;
	font-family: "acumin-pro-condensed", sans-serif;
	font-weight: 300;
}

article h3, .gform_wrapper h3 {
    font-size: 1.4em;
	font-family: "acumin-pro-condensed", sans-serif;
	font-weight: 300!important;

}

article h4, article h5, article h6 {
    font-size: 1.2em;
	font-family: "acumin-pro-condensed", sans-serif;
	font-weight: 300;
}

article a {
    color:#213a75;
}

article a:hover {
    color:#000;
}

.introtext {
	font-size: 130%;
	color:#213a75;
}

.TitleContainer {
	display:block;
	width:100%;
	background:#213a75 url(images/title-tip.jpg) right center no-repeat;
	background-size: contain;
	color:#FFF;
	margin: 0 auto;
	padding:10px 3% 1px;
}

.TitleContainer .contentbox {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	display:none;
}

.TitleContainer .contentbox h1 {
	font-weight: 300;
	font-size: 2em;
	font-family: "acumin-pro-condensed", sans-serif;
	color:#FFF;
}

/* Clear any floated images down near the bottom of posts */
.blog_navigation {
    clear:both;
}

/* the next 3 rules are for the way WP sets its image floats. On skinny screens we'll just centre them all */
.alignleft, .alignright, .aligncenter {
    text-align:center;
    margin:1.5em auto;
    display:block;
}

img {
    max-width:100%;
    height:auto;
}

a img {
    border:none;
}

#colorbox, #colorbox * {
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
}

    #colorbox img {
        max-width:none;
    }
    
/* These 2 will make image captions look a bit like polaroids */
.wp-caption {
    background:#eee;
    overflow:hidden;
    max-width:100%;
}

    body.attachment .wp-caption {
        background:none;
        overflow: visible;
    }

    .wp-caption.alignnone {
        margin:1.5em 0;
    }

    .wp-caption>a, .wp-caption img {
        display:block;
    }

        .wp-caption img {
            width:100%;
        }

    .wp-caption-text {
        padding:0;
        margin:.75em 1em;
        line-height:1.3;
    }

        body.attachment .wp-caption-text {
            margin:.75em 0;
            font-weight:bold;
        }

        .gallery .wp-caption-text, .gallery-caption {
            margin:.35em 1em 0 0;
            padding:0;
            font-size:.9em;
        }

.gallery .gallery-item {
    float: left;
    margin:0 0 3%;
}

.gallery-icon a, .gallery img {
    display:block;
}

    .gallery img {
        max-width:95%;
        width:auto;
        height:auto;
    }

@media (max-width: 450px) {

    .gallery dl.gallery-item {
        float: none;
        margin: 0 0 1em;
        width:auto;
        text-align:center;
    }

        .gallery-icon a {
            display:inline-block;
        }

    .gallery .wp-caption-text {
        text-align: center;
        font-size:inherit;
    }

    .gallery br {
        display:none;
    }

    .gallery img {
        max-width:100%;
    }

}

/*
Image sizes depending on the number of columns
Based on Hybrid theme
*/

.gallery-columns-0 .gallery-item {
    width: 100%;
}
.gallery-columns-1 .gallery-item {
    width: 100%;
}
.gallery-columns-2 .gallery-item {
    width: 50%;
}
.gallery-columns-3 .gallery-item {
    width: 33.33%;
}
.gallery-columns-4 .gallery-item {
    width: 25%;
}
.gallery-columns-5 .gallery-item {
    width: 20%;
}
.gallery-columns-6 .gallery-item {
    width: 16.66%;
}
.gallery-columns-7 .gallery-item {
    width: 14.28%;
}

/* Callouts, pullquotes */
blockquote {
    position:relative;
    padding:0 0 0 3em;
    margin:1.5em 0;
}

blockquote::before {
    content: "\00201C";
    font-size: 5em;
    position: absolute;
    left: 0;
    top: -.3em;
    color:#333;
}

/* Definition Lists */

dt {
    display:block;
    margin-top: 0.5em;
    font-weight:bold;
}

    dt:first-child {
        margin-top:0;
    }

dd {
    padding-left:1em;
}

/* Tables */

table, th, td {
    border:none;
    border:1px solid #ddd;
    text-align:left;
    border-collapse:collapse;
}

    table {
        margin:1em 0;
    }

    td, th {
        line-height:1.3;
        padding:.4em .6em;
    }

        th em,
        th i {
            font-weight:normal;
        }

    @media (max-width:500px) {

        article table {
            border:none;
        }

        article tr, article td, article th {
            display:block;
            border:none;
        }

            article tr {
                margin:0 0 1em;
            }
            
    }

/* CTA Buttons */

.button, button {
    color: #fff;
    background: #213a75 url(images/button-bg-white.png) right center no-repeat;
	background-size: contain;
    border:1px solid #213a75;
    cursor:pointer;
    border-radius:8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;  
    padding: .2em 60px .3em .6em;
	font-family: "acumin-pro-condensed", sans-serif;
	font-size: 1.2em;
    text-decoration: none;
	text-transform: uppercase;
}

    .button:hover, button:hover {
        color:#213a75;
        background: #FFF url(images/button-bg-white-alt.png) right center no-repeat;
		background-size: contain;
		border:1px solid #213a75;
    }

.button.back {
    color: #fff;
    background: #213a75 url(images/back-button-bg-white.png) left center no-repeat;
	background-size: contain;
    border:1px solid #213a75;
    cursor:pointer;
    border-radius:8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;  
    padding: .2em .6em .3em 60px;
	font-family: "acumin-pro-condensed", sans-serif;
	font-size: 1.2em;
    text-decoration: none;
	text-transform: uppercase;
}

    .button.back:hover {
        color:#213a75;
        background: #FFF url(images/back-button-bg-white-alt.png) left center no-repeat;
		background-size: contain;
		border:1px solid #213a75;
    }


.blue {
	border:1px solid #FFF;
}


    .button--inline {
        display:inline-block;
        padding:.05em .5em .1em;
        line-height:1.3;
        margin:0 .2em;
    }

/* Gravity Forms Style fixes */ 

.gform_wrapper form {
    margin-top: 0;
}

:root .gform_wrapper textarea,
:root .gform_wrapper input[type=text],
:root .gform_wrapper input[type=url],
:root .gform_wrapper input[type=email],
:root .gform_wrapper input[type=tel],
:root .gform_wrapper input[type=number],
:root .gform_wrapper input[type=password],
:root .gform_wrapper .ginput_complex label,
:root .gform_wrapper .gfield_time_hour label,
:root .gform_wrapper .gfield_time_minute label,
:root .gform_wrapper .gfield_date_month label,
:root .gform_wrapper .gfield_date_day label,
:root .gform_wrapper .gfield_date_year label,
:root .gform_wrapper .instruction {
    font-size: 1em;
}

    :root .gform_wrapper textarea,
    :root .gform_wrapper input[type=text],
    :root .gform_wrapper input[type=url],
    :root .gform_wrapper input[type=email],
    :root .gform_wrapper input[type=tel],
    :root .gform_wrapper input[type=number],
    :root .gform_wrapper input[type=password] {
        padding:.15em .2em;
        font-size: .8em;
        max-width: 100%;
    }

:root .gform_wrapper .gfield_checkbox li input[type=checkbox],
:root .gform_wrapper .gfield_radio li input[type=radio],
:root .gform_wrapper .gfield_checkbox li label,
:root .gform_wrapper .gfield_radio li label {
    display:inline-block;
    vertical-align:top;
    float:none;
    white-space: normal;
}

    :root .gform_wrapper.gform_wrapper .gfield_checkbox li input[type=checkbox],
    :root .gform_wrapper.gform_wrapper .gfield_radio li input[type=radio] {
        margin-top: .25em;
    }

    :root .gform_wrapper .gfield_checkbox li label {
        margin:0 0 0 .25em;
    }

    :root .gform_wrapper .gfield_radio li label {
        margin:0 0 0 .5em;
    }
    
    :root .gform_wrapper .gfield_checkbox li label,
    :root .gform_wrapper .gfield_radio li label {
        margin-right:1em;
        line-height:1.25;
    }

/* Cut back on vertical spacing! */

:root .gform_wrapper .top_label .gfield_label,
:root .gform_wrapper .field_sublabel_above .gfield_date_day label,
:root .gform_wrapper .field_sublabel_above .gfield_date_month label,
:root .gform_wrapper .field_sublabel_above .gfield_date_year label,
:root .gform_wrapper .field_sublabel_above .gfield_time_ampm label,
:root .gform_wrapper .field_sublabel_above .gfield_time_hour label,
:root .gform_wrapper .field_sublabel_above .gfield_time_minute label,
:root .gform_wrapper .field_sublabel_above .ginput_complex label,
:root .gform_wrapper .field_sublabel_above .instruction {
    margin:.6em 0 .15em;
    font-weight:bold;
    line-height:1.3;
    display:block;
}

:root .gform_wrapper .ginput_complex label {
    font-size:.85em;
}

:root .gform_wrapper label.gfield_label+div.ginput_container {
    margin-top:0;
}

:root .gform_wrapper .gfield_checkbox li, :root .gform_wrapper .gfield_radio li {
    margin:0 .25em;
    overflow:initial;
    white-space: nowrap;
}

:root .gform_wrapper .gform_footer {
    padding:0;
}


/***************************************************************
 *
 * Custom Menu
 *
 ***************************************************************/


ul#menu-products, ul#menu-products li, ul#menu-products-low-voltage, ul#menu-products-low-voltage li, ul#menu-products-open-cut, ul#menu-products-open-cut li, ul#menu-products-flameproof, ul#menu-products-flameproof li {
	list-style: none;
	text-indent: none;
	padding:none;
	margin:none;
}

ul#menu-products, ul#menu-products-low-voltage, ul#menu-products-open-cut, ul#menu-products-flameproof {
	display:flex;
	flex-flow: row wrap;
	width:100%;
}

ul#menu-products li, ul#menu-products-low-voltage li, ul#menu-products-open-cut li, ul#menu-products-flameproof li {
	width:23%;
	text-align: center;
	margin: 10px 1% 10px;
}

ul#menu-products li a, ul#menu-products-low-voltage li a, ul#menu-products-open-cut li a, ul#menu-products-flameproof li a {
	text-decoration: none;
	color:#213a75;
}

ul#menu-products li a:hover, ul#menu-products-low-voltage li a:hover, ul#menu-products-open-cut li a:hover, ul#menu-products-flameproof li a:hover {
	color:#b2b2b2;
	text-decoration: none;
}

@media (max-width:999px){
	ul#menu-products li, ul#menu-products-low-voltage li, ul#menu-products-open-cut li, ul#menu-products-flameproof li {
	width:31%;
	text-align: center;
	margin: 10px 1% 10px;
}
}

@media (max-width:600px){
	ul#menu-products li, ul#menu-products-low-voltage li, ul#menu-products-open-cut li, ul#menu-products-flameproof li  {
	width:48%;
	text-align: center;
	margin: 10px 1% 10px;
}
}

h2.ProductsPageHeading {
	border-bottom: 1px solid #213a75;
	padding-bottom: 10px;
}


/***************************************************************
 *
 * Contact Page Template
 *
 ***************************************************************/

#contactdetails {
	width:100%;
	display:flex;
	flex-flow: wrap row;
}

.ContactColumn {
width:46%;
margin:0 1% 0;
}

.ContactColumn h2 {
	color:#213a75;
}

@media (max-width:749px) {
	.ContactColumn {
width:100%;
margin:0 1% 0;
}
}

/***************************************************************
 *
 * Products Page Template
 *
 ***************************************************************/

.IntroContent {
	display:flex;
	flex-flow: row wrap;
	width: 75%;
}

.TextContent {
	width:60%;	
	order:1;
}

.TextContent p:first-child, .TextContentOnly p:first-child {
	font-size: 130%;
	color:#213a75;
}
	

.ImageContent {
	width:40%;
	order:2;
}

.ImageContent img { 
	width:100%;
}

.ProductInformation {
	width:75%;
	font-size: 95%;
}

.OtherProducts {
	display:block;
	border-top:1px solid #000;
	margin-top:40px;
	margin-bottom: 20px;
}

.OtherProducts h2 {
	font-family: "acumin-pro-condensed", sans-serif;
	font-weight: 300;
	font-size: 2em;
	color:#213a75;
}

ul.SpecsFlexbox, ul.SpecsFlexbox li.SectionItem {
	list-style:none;
	text-indent: 0;
	margin:0;
	padding:0;
}

li.SectionItem li {
	list-style: square;
}

ul.SpecsFlexbox {
	display: flex;
	flex-flow: row wrap;
}

ul.SpecsFlexbox li.SectionItem {
	width:48%;
	margin:0 1% 0;
}

@media (max-width:999px) {
	
	.ProductInformation, .IntroContent {
	width:100%;
	}
	
	.TextContent {
	width:50%;	
	}
	

	.ImageContent {
	width:50%;
	}
	
}

@media (max-width:760px) {
	
	ul.SpecsFlexbox li.SectionItem {
	width:100%;
	margin:0 1% 0;
	}
	
	
	.TextContent {
	width:100%;	
	order:2;
	}
	

	.ImageContent {
	width:100%;
	order:1;
	}
}

.ProductInformation h2 {
	color:#FFF;
	display:block;
	font-family: "acumin-pro-condensed", sans-serif;
	font-weight: 300;
	font-size: 2em;
	padding:10px 15px 25px;
	margin: 0;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#213a75+84,ffffff+100&1+52,0+100 */
	background: -moz-linear-gradient(top, rgba(33,58,117,1) 52%, rgba(33,58,117,0.33) 84%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(33,58,117,1) 52%,rgba(33,58,117,0.33) 84%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(33,58,117,1) 52%,rgba(33,58,117,0.33) 84%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#213a75', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
}

.ProductInformation h3 {
	font-family: "acumin-pro-condensed", sans-serif;
	font-weight: 300;
	color:#213a75;
	font-size: 1.8em;
}

.ProductInformation table {
	border:none;
}

.ProductInformation tr:nth-child(even) {
	background: #bcc4d6;
}

.slideshow_container .slideshow_pagination ul li {
	background:url(images/light-bullet.png) no-repeat!important;
}

.slideshow_container .slideshow_button {
	background-image:url(images/light-arrows.png)!important;
	background-repeat: no-repeat!important;
}

.manual-Img {
	max-width:200px;
	padding:5px;
	box-shadow: 0 0 10px #CCC;
	margin:20px 10px 20px;
	display: block;
}

/***************************************************************
 *
 * Sidebar
 *
 ***************************************************************/

.sidebar {
    background:#eee;
}

.sidebar li ul { /* a nested list, so this should actually be displayed as a list */
    padding-left: 7.142857142857%; /* 20/280=0.07142857142857 */
}

.sidebar li ul li {
    list-style: disc;
}


/***************************************************************
 *
 * News and/or blog
 *
 ***************************************************************/

.blog .feature-img {display:none;}

.BlogContent p:first-of-type {
	font-size: 130%;
	color:#213a75;
}

.single .postdate {
	margin-bottom: 12px;
}

.single .TitleContainer h1 {
	margin-bottom: 0;
}

.post-archive {
	display:flex;
	flex-flow: row wrap;
}

.post-archive .post-box {
	position:relative;
	width:48%;
	margin:10px 1% 10px;
	box-shadow: 0 0 20px #CCC;
}

@media (max-width:650px) {
	.post-archive .post-box {
		width:100%;
	}
}

.news-stories {
	display:flex;
	flex-flow: wrap row;
	justify-content: center;
	width:100%;
	padding: 10px 0% 10px;
}

.news-container .contentbox h2 {
	display:block;
	width:100%;
	padding:0;
	padding-left:1%;
	font-family: "acumin-pro-condensed", sans-serif;
	font-weight: 300;
	font-size: 2em;
	margin:10px 0 0;
	text-align: center;
	color:#213a75;
}

.news-container .contentbox .archive-link {
	display:block;
	width:100%;
	padding:1%;
	margin-bottom: 20px;
	text-align: right;
}

.news-container .post-box {
    position:relative;
    /*border:1px solid #ddd;
    box-shadow: 0.3em 0.3em 0.5em rgba(0,0,0,0.05);*/
	width:23%;
	margin:10px 1% 10px;
}

@media (max-width:999px) {
	.news-container .post-box {
		width:48%;
	}
}

@media (max-width:600px) {
	.news-container .post-box {
		width:100%;
	}
}


    @media (max-width:750px), (min-width:1001px) and (max-width:1200px) {
        .post-box {
            -ms-flex-direction:column;
            -webkit-flex-direction:column;
            flex-direction:column;
        }
    }

    .post-box__imagery {
        -ms-flex:0 0 auto;
        flex:0 0 auto;
    }

        @media (min-width:751px) and (max-width:1000px), (min-width:1200px) {
            .post-box__imagery {
                /*display:-ms-flexbox;
                display:flex;
                -ms-flex-align:end;
                align-items: flex-end;*/

                /* Safari fix to prevent image overflow */
                max-width:100%;
            }

                /* Safari fix to prevent image overflow */
                @media (min-width:1700px) {
                    .post-box__imagery {
                        /*max-width:700px;*/
						width:100%;
                    }
                }
        }

        /* Image first, poster style */
        @media (max-width:750px), (min-width:1001px) and (max-width:1200px) {
            /*.post-box__imagery {
                -ms-flex-order:-1;
                order:-1;
            }*/
        }

        .post-box__img {
            display:block;
            width:100%;
        }

            @media (min-width:751px) and (max-width:1000px), (min-width:1200px) {
                .post-box__img {
                    /* IE fix to prevent image overflow */
                    max-width:100%;
                }

                    /* IE fix to prevent image overflow */
                    @media (min-width:1700px) {
                        .post-box__img {
                            max-width:100%;
                        }
                    }
            }

    /* Gutters */
    .post-box__text, .post-box__cta {
        padding:0 1.5em 1em 1em;
    }

        .post-box__text {
            padding:0 10% 0;
            -ms-flex:1 1 auto;
            flex:1 1 auto;
			color:#000;
			text-align: center;
        }

    .post-box__link--image {
        text-decoration:none;
    }

    .post-box__link--button,
    .post-box__link--button:hover,
    .post-box__img-button,
    .post-box__img-button:hover {
        color:#000;
        background:#fff;
        border-radius:0;
        padding:.3em .7em;
        display:block;
        float:right;
    }

        /* Button overlayed on image - needs absolute positioning */
        .post-box__img-button {
            position:absolute;
            bottom:0;
            right:0;
        }

        a:hover .post-box__img-button, .post-box__link--button {
            background:#eee;
        }

        .post-box__link--button:hover {
            background:#ccc;
        }

        /* Hide button overlaying image above 750px. Hide separate CTA button below 750px */

        @media (min-width:751px) and (max-width:1000px), (min-width:1200px) {
            .post-box__cta {
                display:none;
            }
        }
        
        @media (max-width:750px), (min-width:1001px) and (max-width:1200px) {
            .post-box__img-button {
                display:none;
            }
        }

.post-box__text .button {
	background: transparent url(images/button-bg-white.png) right center no-repeat;
	background-size: contain;
	border:1px solid #FFF;
}

.post-box__text .button:hover {
	background: transparent url(images/button-bg-white-alt.png) right center no-repeat;
	background-size: contain;
	border:1px solid #FFF;
	color:#FFF;
	text-decoration: none;
}

.post-box__title a {
	color:#213a75;
	font-weight: 600;
	text-decoration: none;
}

.post-box__title a:hover {
	color:#213a75;
	font-weight: 600;
	text-decoration: underline;
}

    .post-box__date, .postdate, .postmetadata {
        font-size:0.8em;
        font-style:italic;
        margin:0;
    }


.pagination {
    margin:1em 0;
}

/***************************************************************
 *
 * Homepage
 *
 ***************************************************************/

.cta {
    width:31%;
    margin: 0 0 1em;
    background: #ccc;
    float: left;
}

    .cta2 {
        margin:0 3.5% 0;
    }

    .cta a {
        display:block;
        padding: .75em 1em;
    }

    .cta p {
        display:inline;
    }

@media (max-width:800px) {

    .cta {
        width: 100%;
        margin: 0 auto 1em auto;
        float: none;
    }

}

/***************************************************************
 *
 * Contact Page
 *
 ***************************************************************/

.contact--widgetcontent,
.contact--widgetcontent>li {
    list-style:none;
    margin:0;
    padding:0;
}

/***************************************************************
 *
 * Footer
 *
 ***************************************************************/


.FooterMapContainer {
	width:100%;
	display: block;
	background: #213a75 url(images/map.png) center center no-repeat;
	background-size: contain;
	color:#FFF;
	text-align: center;
	margin:0 auto;
	padding:20% 10% 10px;
}

.FooterMapContainer ul, .FooterMapContainer ul li {
	list-style: none;
	text-indent: 0;
	margin:0;
	padding:0;
}


.FooterMapContainer h2 {
	font-weight: 300;
	font-size: 2em;
	font-family: "acumin-pro-condensed", sans-serif;
	text-shadow: 0 0 3px #213a75, 0 0 10px #213a75;
}

footer {
    background:#FFF;
    color:#000;
    font-size:.8em;
    clear: both;
}

    footer .contentbox {
        padding:1em 0;
    }

    footer a {
        color:#fff;
    }

footer .widgetarea {
    width:100%;
    padding: 20px 3% 20px;
	display:block;
	margin:0 auto;
	text-align: center;
}

.widgetarea--primary img {
	width:100%;
	max-width: 250px;
}

.widgetarea--secondary, .widgetarea--tertiary {
	display:none!important;
}

footer .widgetarea>ul, footer .widgetarea>ul>li {
    list-style:none;
    margin:0;
    padding:0;
}

section.credits {
    clear:both;
    color:#000;
    padding:1.5em 0 100px;
    text-align:center;
	font-size: 12px;
}

section.credits a {
	color:#000;
	text-decoration: none;
}

section.credits a:hover {
	color:#000;
	text-decoration: underline;
}

/* Rich Contact Widget */

.widget_rc_widget ul, .widget_rc_widget li {
    list-style:none;
    margin:0;
    padding:0;
}

    .widget_rc_widget>ul>li {
        margin:0 0 .5em;
    }

    .widget_rc_widget .email {
        font-size:.8em;
    }

    .widget_rc_widget .tel::before {
        content: "Phone: ";
        font-weight:bold;
    }

@media (max-width:800px) {

    footer .widgetarea {
        width:100%;
        padding:0;
        margin:1em 0;
    }

    footer>nav, footer .vcard, section.credits {
        width: auto;
        float: none;
    }

}

/** Panels **/


.panels .contentbox {
	max-width: 100%;
	margin: 0 auto;
}


.primary-column {
    max-width: 100%;
    margin: 0px auto 0;
    padding: 0;
}

.pane--text-align-left {
    display: flex;
    justify-content: flex-start;
}

.pane--text-align-right {
    display: flex;
    justify-content: flex-end;
}

.pane--text-align-center {
    display: flex;
    justify-content: center;
}

.pane__heading {
    margin-top: 0;
}

.gutter-wrap--pane.panels__pane {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.panels__pane--1 {
	margin-top:10%;
	margin-bottom: -20px;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+76 */
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 76%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 76%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 76%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.panels__pane--1 img {
	display:block;
}

.panels__pane--2 {
	text-align: center;
	background: #FFF;
	padding-bottom: 20px;
} 

.panels__pane--2 h2 {
	font-family: "acumin-pro-condensed", sans-serif;
	display:block;
	text-align: center;
	margin: 0 auto 20px;
	font-weight: 300;
	max-width: 400px;
	font-size: 1.6em;
} 

.panels__pane--2 h2 span {
	font-weight: 600;
}

.panels__pane--3 {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,213a75+80 */
background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(33,58,117,1) 80%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(33,58,117,1) 80%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(33,58,117,1) 80%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#213a75',GradientType=0 ); /* IE6-9 */
}

ul.Flexbox2Col, ul.Flexbox2Col li, ul.Flexbox2ColDirectors, ul.Flexbox2ColDirectors li {
	list-style: none;
	padding:0;
	text-indent: 0;
	margin:0;
}

ul.Flexbox2Col {
	width:100%;
	margin:20px auto 20px;
	text-align: center;
	display:flex;
	flex-flow: wrap row;
}

ul.Flexbox2Col li:nth-child(1) {
	width:60%;
}

ul.Flexbox2Col li:nth-child(2) {
	width:40%;
}

ul.Flexbox2Col li:nth-child(2) h2 {
	font-size: 1.8em;
	font-family: "acumin-pro-condensed", sans-serif;
	font-weight: 300;
}

ul.Flexbox2Col li:nth-child(2) h2 span {
	font-size: 150%;
	display:block;
	font-weight: 600;
}

ul.Flexbox2ColDirectors {
	width:100%;
	text-align: center;
	display:flex;
	flex-flow: wrap row;
}

ul.Flexbox2ColDirectors li {
	width:48%;
	margin:10px 1% 0;
}

ul.Flexbox2ColDirectors li img {
	margin:0 auto;
	display:block;
	width:100%;
	max-width:250px;
	box-shadow: 0 0 20px #CCC;
} 

ul.Flexbox2ColDirectors li .ContentInner {
	max-width: 80%;
	display:block;
	margin:0 auto;
}

@media (max-width:650px) {
	ul.Flexbox2ColDirectors li {
	width:100%;
	margin:10px 1% 0;
}
}

@media (max-width:1130px) {
	ul.Flexbox2Col li:nth-child(1) {
	width:50%;
}

ul.Flexbox2Col li:nth-child(2) {
	width:50%;
}
}

@media (max-width:700px) {
	ul.Flexbox2Col li:nth-child(1) {
	width:100%;
}

ul.Flexbox2Col li:nth-child(2) {
	width:100%;
}
}


@media (min-width:1050px ) {
    .primary-column__image--mobile {
        display: none;
    }
}

@media (max-width: 1050px) {

    .gutter-wrap--pane.panels__pane {
       /*background: none;
       padding: 0;*/
    }

    .gutter-wrap--pane.panels__pane .contentbox {
        flex-flow: row wrap;
    }

    .primary-column {
        max-width: 100%;
        width:100%;
        margin: 0 auto;
        padding-top: 0.5em;
    }
}

/* Blog Nav */

#post-nav {
    display: flex;
    margin: 2em 0;
}

.post-box.blog-nav {
    width: 48%;
    margin: 0 .5em;
}

@media (max-width: 650px) {

    .post-box.blog-nav {
        width: 100%;
        margin: .5em 0;
    }

    #post-nav {
        display: flex;
        flex-flow: row wrap;
        margin: 0;
    }

}

/* Advertising */

.AdvertisingBanner {
    position:relative;
    z-index:3;
    display:block;
    text-align:center;
    color:#FFF;
    background: #000;
    padding:1px;
}

.AdvertisingBanner a {
    color:#FFF;
    text-decoration:underline
}

.AdvertisingBanner a:hover {
    color:#FFF;
    text-decoration:underline;
    font-weight:bold;
}

#DesktopAdvert {
    display:none;
}

@media (min-width:700px) {
    
	#DesktopAdvert {
        display:block;
        padding: .5em 0 .7em;
    }
	
	#DesktopAdvert p {
        margin:0 auto;
        margin-bottom:-5px;
    }
	
	#MobileAdvert {
        display:none;
    }
	
} 

#MobileAdButton {
    display:block;
    cursor:pointer;
}
	
#MobileAdContent {
    position:fixed;
    top:0;
    bottom:-10px;
    left:0;
    right:0;
    z-index:9999;
    background:rgba(0,0,0,0.8);
    overflow-y: auto;
}

#MobileAdContent .inner {
    width:90%;
    margin:40px auto 40px;
    text-align:center;
    color:#FFF;
}


#MobileAdContent a {
    color:#FFF;
    text-decoration:underline
}

#MobileAdContent a:hover {
    color:#FFF;
    text-decoration:underline;
    font-weight:bold;
}

#MobileAdContent {
    display:none;
}	

#maCloseButton {
    display:block;
    margin:20px auto 20px;
    font-size:1.3em;
    font-weight:200; 
    color:#FFF;
    line-height:2;
    padding-bottom:5px;
}

#maCloseButton span {
    vertical-align:middle;
}

#maCloseButton span.close {
    font-size:1.8em;
    vertical-align:middle;
}

#maCloseButton:hover {
    cursor:pointer;
    font-weight: 500;
}

/* Mobile Widget Area's */

@media (max-width: 750px) {

    .SocialMediaMobile, #SocialMediaMobile {
        display: block;
    }

}

@media (min-width: 751px) {

    .SocialMediaMobile, #SocialMediaMobile {
        display: none;
    }

}

/* Mobile Title */

@media (max-width: 750px) {

    #beside-logo:before {
        content: "menu";
        text-align: center;
        text-transform: uppercase;
        font-size: 2em;
        font-weight: 300;
        padding: .5em 0;
        border-bottom: 1px solid #fff;
        color: #fff;
        margin: 0 5% .5em;
        line-height: 1;
    }
    
    #under-logo:before {
        content: "menu";
        text-align: center;
        text-transform: uppercase;
        font-size: 2em;
        font-weight: 300;
        padding: .5em 0;
        /*border-bottom: 2px solid #fff;*/
        color: #fff;
        margin: 0 5% .5em;
        line-height: 1;
    }
}

/* Search Field Mobile Menu */

.SearchBar input#s {
	background: transparent url(images/search.svg) right center no-repeat;
	background-size: 30px 30px;
	color: #ffffff;
	border:none;
	border-bottom: 2px solid #ffffff;
	font-weight: 100;
	font-size: 1em;
	padding: 0.25em 0 0.25em 0.25em;
	line-height: 1;
	text-transform: uppercase;
}

.SearchBar .textwidget {
    text-align: center;
}

.SearchBar .textwidget form {
    margin-top: 0;
}

/* Search Field Header */

.site-info__usereditable input#s {
	background: transparent url(images/search-black.svg) right center no-repeat;
	background-size: 30px 30px;
	color: #000;
	border:none;
	border-bottom: 2px solid #000;
	font-weight: 400;
	font-size: 1em;
	padding: 0.25em 0 0.25em 0.25em;
	line-height: 1;
	text-transform: uppercase;
}

@media (max-width: 750px) {

    .site-info__usereditable input#s {
        display: none;
    }
}

/* Feature Image */

.feature-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 13% 0 13%;
}

@media (max-width: 750px) {

    .feature-img {
        padding: 20% 0 20%;
    }
    
}

.single-format-standard .feature-img {display:none;}

/*404 */

.error404 article {
	text-align: center;
}

/*** Search Stuff ***/

form {
	display: block;
	margin: 0 auto;
	text-align: center;
}

form input#s {
border: none;
border-bottom: 2px solid #213a75;
background: transparent;
background-color: transparent;
color: #213a75;
-webkit-appearance: none;
outline: none;
padding: 5px 40px 5px 2px;
width: 100%;
max-width: 200px;
font-size: 15px;
background: url(images/mag-glass.png) right center no-repeat;
background-size: 20px 20px;
border-radius: 0;
}

header ::-webkit-input-placeholder {
   color:#213a75;
}

header :-moz-placeholder { /* Firefox 18- */
   color:#213a75;
}

header ::-moz-placeholder {  /* Firefox 19+ */
  color:#213a75;
}

header :-ms-input-placeholder {  
   color:#213a75;
}

.search-results__result {
	border-bottom:  1px solid #ddd;
	padding: 0 3% 2.1em;
}

.search-result__title a {
	text-decoration: none;
}

.search-result__title a:hover {
	text-decoration: underline;
}

.search-results__result .button{
	font-size: 16px;
	text-transform: capitalize;
}

.nav-links {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.page-numbers {
	font-size: 18px;
	padding:2px 5px 5px;
}

a.page-numbers {
	color:#FFF;
	background:#213a75;
	border-radius: 8px;
	text-decoration: none;
	padding:2px 12px 5px;
}

a.page-numbers:hover {
	background: #818285;
	color:#FFF;
	text-decoration: none;
}