/*
Theme Name: Capricorn Enterprise 2015
Theme URI: http://www.almostanything.com.au
Description:Capricorn Enterprise redesign 2015
Version: 2012.2
Author: The Almost Anything Web and Graphic Design Crew
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.
 *ca
 * 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 */

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

.text-cap {
    background: #69337e;
    color: #fff;
}

.text-cap-inverse {
    background: #fff;
    color: #69337e;
}

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;
                        font-family: "lft-etica-compressed";
            font-weight: bold;
        }

            h1 {
                margin:0 0 .5em;
            }

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;
}

/***************************************************************
 *
 * 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;
    background: #fff;
}

    html {
        font-family: "myriad-pro", Tahoma, Arial, sans-serif;
    }

    body {
        color: #000;
        font-size: 100%; /* Baseline: this means that 1em = 16px */
    }
.category-filtering ul li{
	position:relative;
}
.category-filtering ul ul{
	padding-left:20px;
}
.contentbox {
    width: 100%;
    margin: auto;
    font-size: 1em; /* 20px for normal paragraph text */
    font-weight: 400;
    color: #444;
}

.main_wrap, footer {
    padding:0 1em 2.3em;
}

    .main_wrap {
        clear:both;
        background:#fff;
    }
    
article {
    padding:1em 0;
}

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

.site_info {
    width: auto;
    float: left;
    padding:.8em 0 0 1.5em;
}

.site_info > .header-logo-a {
    line-height: 0;
    /*display: block;*/
}

.header-logo {
    width: auto;
    height: 6.5em;    
}

.menu-main-menu-container {
    float: right;
}

body > header {
    background: #69337e;
    color: #fff;
    font-size: 1.1em;
}

    form#searchform {
        margin: 0;
    }
    #searchform > div {
        padding: .35em 1em;
    }
    #searchform > div, #site_menu {
        float: right;
    }
    #searchform #searchsubmit {
        display: none;
        width: 0px;
        overflow: hidden;
        padding: 0;
        border: none;
    }
    #searchform #s {
        background: transparent;
        color: #fff;
        border: none;
        border-bottom: 1px solid #fff;
        line-height: 1.2;
    }
    input#s::-webkit-input-placeholder {  
       color: #fff !important;  
    }
    
    #s::input-placeholder {  
       color: #fff !important;  
    }
    #s:-moz-placeholder {  
       color: #fff !important;  
    }
    #s::-moz-placeholder {  
       color: #fff !important;  
    }
    #s:-ms-input-placeholder {  
       color: #fff !important;  
    }
    /* Uncomment when you've added logo code
    .site_title {
        text-indent:-9999px;
        width:0;
        height:0;
        margin:0;
    }
    */

    .site_logo, .site_logo:hover, .site_logo img {
        display:block;
        background:none;
        position:relative;
        border:none;
    }

        .site_logo {
            max-width:100%;
        }
#sidr-menu-btn {
    position: absolute;
    right: 1.2em;
    top: 2.9em;
}
@media (max-width: 360px) {
    
    .header-logo {
        margin: auto;   
        
        height: 4.5em;
    }
    
    #sidr-menu-btn {
        top: 2.1em;
    }
}
/***************************************************************
 *
 * Navigation
 *
 ***************************************************************/

#main_menu > li {
    position: relative;
}
.nav-cursor {
    background: #fafafa;
    text-align: center;
    line-height: 0;
    width: 100%;
    display: none;
}

.sfHover .nav-cursor {
    display: block;
    z-index: 999;
}
.nav-cursor > span {
	display:inline-block;
	border: 15px solid #69337e;
	border-top-width: 20px;
	border-left-color: transparent;
	border-right-width: 0px;
	border-bottom-width: 0px;
}
.nav-cursor::after {
	content: "";
	display:inline-block;
	border: 15px solid #69337e;
	border-top-width: 20px;
	border-right-color: transparent;
	border-left-width: 0px;
	border-bottom-width: 0px;
}
        
/* Basic list reformatting */
ul.nav, ul.sub-menu, nav ul, nav li {margin:0;padding:0;list-style:none;}
    .nav ul, ul.nav li { float:left; }

/* Customise from here... */
header>nav {
    line-height:2;
    padding:4% 3%;
}

.nav a {
    background: transparent;
    text-decoration: none;
    border:none;
    display:block;
    padding:.35em 1em;
}

    nav a {
        display:inline-block;
        padding:.15em .5em;
    }

#site-nav {
    background: #b498be;
    font-size: .8em;
    text-align: right;
    max-height: 40px;
}
#site-nav li {
    text-align: center;
}
#site_menu { 
}

#main_menu .sub-menu {
    background: #fafafa;
}
#site_menu > li > a::after {
      content: "|";
      float: right;
      display: block;
      /* margin-right: -1em; */
      position: absolute;
      right: -4px;
      top: .35em;
}
#site_menu > li:last-of-type > a::after {
    /*display: none;*/
}
#site-nav .nav > li > a {
    color: #fff;
    text-decoration: none;
}
#main_menu > li > a {
    /*max-width: 194px;*/
    text-align: center;
    padding: 2.5em 0;
    width: 120px;
    margin: 0 50px;
}
@media (max-width: 1300px) {
    #main_menu > li > a {
        margin: 0 30px;
    }
}
#main_menu .sub-menu {
        /*margin-left: -20px;*/
    border: 1px solid #aaa;
}
#main_menu > li > .sub-menu {
        border-top: none;
}
#main_menu .sub-menu a {
    padding: .5em 1em;
    line-height: 1.2;
}
header .sub-menu a:hover {
    color: #fff;
    background: #4e2261;
}
#main_menu .sub-menu li:first-of-type > a {
    margin-top: .5em;
}
#main_menu .sub-menu li:last-of-type > a {
    margin-bottom: .5em;
}
#main_menu {
    text-align: right;
}

#main_menu > li {
    text-align: center;
    /*display: inline-block;*/
    /*float: none;*/
}

nav a:hover, nav a:active, .nav a:focus, nav .sfHover>a {
    /*background:#aaa;*/
}

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/*, .single-aacommerce_product nav .menu-item-151>a */ {
    /*background:#666;*/
    color:#fff;
    font-weight:bold;
}

.contains_submenu>a {
    position:relative;
}

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

/* Displays a sub nav immediately after the main (if exists). Here for ease of use on mobile. Hide for desktop and add dropdowns if required */
.mobile_sub_menu {
    padding:1em 3%;
    overflow:hidden;
    background: #eee;
}

    .mobile_sub_menu h2 {
        margin:0 0 .5em;
    }

/* This is for the mobile nav icon */
.menu-icon {
    display: none;
}

header .sub-menu .menu-item-has-children > a::after {
    font-weight: bold;
    content: "\00A0\00A0\203A";    
    color: #4e2261;
}
header .sub-menu .menu-item-has-children > a:hover::after {
    color: #fff;
}
.menu-main-menu-container a {
    background: #69337e;
    color: #fff;
}

header .sub-menu a {
    background: #fafafa;
    color: #69337e
}

.site_info {
    position: relative;
}
#sidr-menu-btn {
    border-radius: 5px;
    border: 2px solid #fff;
    color: #fff;
    display: none;
    float: right;
    text-transform: uppercase;
    line-height:1em;
    padding: .3em .5em;
    text-decoration: none;
    z-index: 900;
}
@media (min-width: 380px) {
    #sidr-menu-btn {
        top: 2.9em;
    }
}
.header-logo {
    z-index: 899;
}

/* Sidr */
#sidr-menu-btn:hover,
#sidr-menu-btn:visited {
    text-decoration: none;
    color: #fff;
}

.sidr ul li, .sidr ul li a, .sidr ul li span {
    width: 100%;
}

.sidr .show_nav_children {
    text-align: right;
    line-height: 3.6em;
    right: 0;
}

.sidr .sub-menu .sub-menu > li > a {
    padding-left: 40px;
}

.sidr .current-menu-item > a {
    font-weight: bold;
}
@-webkit-keyframes color_change {
  from { background-color: rgba(0,0,0,.3); }
  to { background-color: rgba(105,51,126,1);; }
}
@-moz-keyframes color_change {
  from { background-color: rgba(0,0,0,.3); }
  to { background-color: rgba(105,51,126,1);; }
}
/* @-ms-keyframes color_change {
  from { background-color: rgba(0,0,0,.3); }
  to { background-color: rgba(105,51,126,1);; }
} */
@-o-keyframes color_change {
  from { background-color: rgba(0,0,0,.3); }
  to { background-color: rgba(105,51,126,1);; }
}
@keyframes color_change {
  from { background-color: rgba(0,0,0,.3); }
  to { background-color: rgba(105,51,126,1);; }
}

@media (max-width: 1390px)  {
    body.has-cover-image #site-nav {
        background: rgba(105,51,126,1);
    }
    body.has-cover-image > header:hover #site-nav {
        background: #b498be;
    }
    body.has-cover-image > header {
        position: relative;
    }
    
    body.has-cover-image #main_menu > li > a {
        background: transparent;
        font-weight: normal;
          text-shadow: 0 0 4px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.9);
    }
    body.has-cover-image > header {
        background-color: rgba(0,0,0,.3);
        position: absolute;
        width: 100%;
    }
    body.has-cover-image > header:hover #main_menu > li > a {
        text-shadow: none;
    }
    
    body.has-cover-image > header:hover {
        background: rgba(105,51,126,1);;
        -webkit-animation: color_change 1s;
        -moz-animation: color_change 1s;
        -ms-animation: color_change 1s;
        -o-animation: color_change 1s;
        animation: color_change 1s;
    }
    
    body.has-cover-image > header #main_menu .sub-menu {
         display: none !important;
    }
    
    body.has-cover-image > header:hover #main_menu .sub-menu {
        display: block !important;
    }
    
    body.has-cover-image .cover-image {
        /*margin-top: -11em;*/
    }
    
}

@media (max-width: 1300px) {
    #main_menu > li > a {
        margin: 0 30px;
    }
}

@media (min-width:910px) {

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

    .nav li:hover ul, .nav li.sfHover ul { z-index:100; display:block; }
        .nav>li:hover>ul, .nav>li.sfHover>ul { top:100%; }

    .nav ul ul { left:auto; right:-100%; }
        .nav li li:hover ul, .nav li li.sfHover ul { top:0; }

    header .nav ul, header .nav li li {width: 100%;}

    .nav li ul {
        display: none;
    }

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

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

        #site_menu ul.sub-menu > li {
              width: 200%;
            left: -50%; 
        }
}

/* Squish menu down into a button */
@media (max-width: 910px) {

    .mobile_sub_menu {
        border-top: 1px solid #aaa; /* Hacky - bottom border gets cut off menu :( */
    }

    /* Height is defined so we can confidently set negative margin on the main nav (.nav). See comment further down this @media query. */
    .menu-icon {
        display: block;
        position:relative;
        height:3em;
        padding:0 .75em;
        line-height: 3;
        text-align: center;
        text-decoration:none;
        font-weight:bold;
        color: #000;
        background: #ecebeb;
        border: 1px solid #333;
        border-radius:3px;
    }

        .menu-icon:after{
            content: " \2193"; /* down arrow */
        }

            .menu-icon.active:after {
                content:"";
            }

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

        .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;
        }

    .nav ul, .nav li { float:none; }

        .sub-menu, .nav .children {
            padding:0 0 0 1.5em;
        }

    /*
        We're using CSS to show the menu (using IDs, #hash hrefs and the :target pseudo-class).
        To avoid a context-jarring page jump upon clicking #menu-icon, we pull .nav up
        underneath #menu-icon (plus a little extra to simulate to margin on #menu-icon)
    */
    
    .nav { display:none; margin:-3.5em 0 0; padding:4em 0 0; }
    
    .site_info {
        padding: .8em 1.2em .4em;
        width: 100%;
    }
    
    #sidr-menu-btn {
        display: block;
    }

        .nav:target {
            display:block !important;
        }

        .nav.closed {
            display:none !important;
        }

}

@media (max-width: 392) {
    .header-logo {
        height: 4.5em;
    }
}
/***************************************************************
 *
 * Main Content - <article>
 *
 ***************************************************************/

.cover-image {
    height: 400px;
    width: 100%;
    background: #ccc;
    background-size: cover;
    background-position: center;
    border-top: 1px solid #B498BE;
}

article h1, article h2, article h3, article h4, article h5 {
    color: #4e2261;
}

article h1 {
    font-size: 2.8em;
}

article h2 {
    font-size: 1.8em;
}

article h3 {
    font-size: 1.5em;
}

article h4, article h5, article h6 {
    font-size: 1em;
}

article a {
    /* standard colours are okay, unless they're not */
}

article strong, article b {
    font-weight: bold;
    color: #4e2261;
}
article a:hover {
    color:#000;
}

article h1 a,
article h2 a,
article a h1,
article a h2 {
    text-decoration: none;
    color: #4e2261;
}

article ul {
    list-style-type: none;
    padding-left: .8em;
}
article ul li:before {
    content: "\00BB";
    color: #4e2261;
    margin-right: .4em;
    font-size: 1.2em;
    font-weight: normal;
}

/* 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 */
article .alignleft, article .alignright, article .aligncenter {
    text-align:center;
    margin:1.5em auto;
    display:block;
}

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

table img {
    max-width: none;
}
.sidebar a {
    color: #4e2261;
    text-decoration: none;
}
article a {
    color: #4e2261;    
    font-weight: normal;
}

.sidebar a:hover,
.sidebar a:visited {
     color: #4e2261;
     text-decoration: none;
}
article a:hover,
article a:visited {
     color: #4e2261;
}

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 {
            margin:.25em 1em 0 0;
            font-size:.9em;
        }

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

.gallery 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 a {
            display:inline-block;
        }

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

    .gallery br {
        display:none;
    }

}

/*
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, blockquote:after {
    content: "“";
    font-size: 5em;
    position: absolute;
    left: 0;
    top: -.3em;
    color:#333;
}

blockquote:after {
    line-height:0;
    right:0;
    left:auto;
    top:auto;
    bottom:-.1em;
    color:#ddd;
    content:"”";
}

/* 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;
    }

    @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 {
    color: #fff;
    background: #4e2261;
    border:none;
    cursor:pointer;
    font-weight:bold;
    border-radius:3px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;  
    padding: .5em .75em;
    text-decoration: none;
}

    .button:hover {
        color:#fff;
        background: #4e2261;
        box-shadow:inset 0 0 15px rgba(0,0,0,0.8);
    }

    .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;
}

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

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

article .gform_wrapper .gform_footer {
    padding:0;
}

label {
    color: #4e2261;
}

article .gform_wrapper h3 {
    font-weight: 100;
}

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

.sidebar {
    /*background:#eee;*/
}

.sidebar .recent-news h2 {
    margin-top: .5em;
    margin-bottom: 0;
}
.sidebar header > h2 {
    font-size:1.8em;
}
.sidebar, .sidebar ul, .sidebar li {
    padding: 0;
    margin: 0;
    list-style: none;
    clear: both;
}

.sidebar li ul { /* a nested list, so this should actually be displayed as a list */
    padding-left: 7.142857142857%; /* 20/280=0.07142857142857 */
}
.widget.widget_recent_entries li,
.widget.widget_recent_entries ul {
    padding: 0px;
}
.widget.widget_recent_entries a {
    padding: .5em 0;
    display: inline-block;
}
.sidebar li ul li {
    list-style: none;
}

#sidebar-menu ul,
#sidebar-menu li {
    padding: 0;
}

#sidebar-menu a {
    padding: .3em;
    padding: .5em;
    display: block;
    border-bottom: 1px solid #eee;
    margin: 0 -1em;
}

#sidebar-menu .sub-menu a {
    padding-left: 2.5em;
}
#sidebar-menu .sub-menu .sub-menu a {
    padding-left: 3em;
}
#sidebar-menu .current-menu-item > a,
#sidebar-menu .current-menu-ancestor > a {
    font-weight: bold;
}
#sidebar-menu > ul > .current-menu-ancestor > a {
    font-weight: normal;
    padding-left: 2em;
    background: #4e2261;
    color: #fff;
}

.sidebar li.recent-news {
    border: 1px solid #e7e7e7;
    padding: .2em 0em 1em 0em;
    margin: 1em -1em;
}
/***************************************************************
 *
 * News and/or blog
 *
 ***************************************************************/
.postdate, .postmetadata {
    font-size:0.8em;
    font-style:italic;
    margin:0;
}

/* Pagination */

.navigation {
    margin:.75em 0;
    overflow:hidden;
    line-height:1;
}

    .navigation .wp-paginate li {
        display:inline-block;
    }

    .navigation .wp-paginate span, .navigation .wp-paginate a {
        margin:.25em .3em .25em 0;
        padding:.35em .5em .2em;
    }
        
        .navigation .wp-paginate .title {
            margin:0 .3em 0 0;
            padding-left:0;
            font-weight:bold;
        }

        .navigation .wp-paginate span.current {
            background:#4e2261;
            border-color:#4e2261;
            display:inline-block;
            float:none;
        }

        #content .navigation .wp-paginate a {
            float:none;
            display:inline-block;
            background:#fff;
            border-color:#fff;
            color:#4e2261;
        }

            #content .navigation .wp-paginate a:hover {
                background:#E8D7EF;
                border-color:#E8D7EF;
                text-decoration:none;
                color:#4e2261;
            }

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

.home .main_wrap {
    background-repeat: repeat-x;
    min-height: 153px;
    padding-bottom: 0px;
}

.home article.front-page-text .contentbox {
    color: #fff;
    text-align: center;
    font-size: .9em;
    padding: .5em 0 3.2em;
}
/* override contentbox to get full width bg */
.home .main_wrap > .contentbox {
    width: 100%;
    max-width: none;
    font-size: 1em;
}
.home .main_wrap {
    padding: 0;
}
.home article.front-page-text {
    background: url(images/footer-gradient.png) #4e2261;    
    background-size: contain;
}
.front-page-news article,
.recent-news article {
    padding: 1em;
}
.recent-news > header {
    padding: 0 1em;
}
.front-page-news, .recent-news {
    margin-bottom: 1em;
    border-top: 1px solid #aaa;
    background-color: #f7f7f7;
}
.front-page-news > .contentbox {
    padding-top: 1em;
    width: 95%;
    padding-bottom: .1em;
}
.slick-dots {
    position: static !important;
    margin: 0em 0 1em;
}
.slick-slider {
    margin: 0 !important;
}
.front-page-news article img {
    width: 100%;
}
.home .front-page-news-article h4 {
    font-size: 1em;
    margin: .3em 0;
    text-transform: uppercase;
    color: #333;
}
.home .front-page-news-article p {
    font-size: .9em;
    color: #333;
    margin: .2em 0;
}

.home .front-page-news header a {
    color: #333;
    text-decoration: none;
}
/*
.home .front-page-news-article {
    display: block;
    float: left;
    width: 15.83%;
    margin-left: 1%;
}
.home .front-page-news-article.n1 {
    margin-left: 0px;
}
.home .news-image {
    width: 100%;
    height: auto;
    border: 1px solid #333;
}
*/

/* content blocks */
.front-page-content-blocks > article {
    float: left;
    margin: 0;
    width: 100%;
    
    background-color: #f7f7f7;
    padding: 1em 1.2em;
    border-top: 4px solid #69337E;
    margin-bottom: 2em;
}
.front-page-content-blocks.columns-3 > article {
    width: 32.66%;
    margin-left: 1%;
}
.front-page-content-blocks > article.n1 {
    margin-left: 0px;
}
.front-page-content-blocks.columns-2 > article {
    width: 48.5%;
    margin-left: 1%;
}
.front-page-content-blocks > article.last {
    margin-left:0;
    float: right;
}
.front-page-content-blocks > article img.alignleft {
    margin: 0 1em .3em 0;
}
.front-page-content-blocks.columns-3 > article img {
    width: 100%;
}
@media (max-width: 1000px) {
    /* 3 column 
    .home .front-page-news-article {
        width: 32.33%;
        margin-left: 1.5%;
        clear: none; 
    }
    
    .front-page-news-article.n1,
    .front-page-news-article.n4 {
        margin-left: 0px;
        clear: left;
    }
    */
    .home .front-page-content-blocks {
        width: 95%;
    }
    .front-page-content-blocks.columns-3 > article {
        width: 49%;
    }
    
    .front-page-content-blocks > article.n2 {
        margin-left: 2%;
    }
    
    .front-page-content-blocks.columns-3 > article.last {
        margin-left:0;
        clear: both;
        width: 100%;
    }
    
    .front-page-content-blocks > article.n1 img,
    .front-page-content-blocks > article.n2 img {
        width: 100%;        
    }
}

@media (max-width: 600px) {
    
    body .front-page-content-blocks > article {
        float: none;
        margin-left: 0 !important;
        width: 100% !important;
    }
    body .front-page-content-blocks > article img {
        width: 100%;
    }

    .home .front-page-news {
        border: 1px solid #EFEFEF;
        width: 95%;
      margin: 1em auto;
      border: none;
    }
    /* 2 column 
    .home .front-page-news-article {
        width: 49%;
        margin-left: 2%; 
        clear: none;
    }
    
    .front-page-news-article.n1,
    .front-page-news-article.n3,
    .front-page-news-article.n5 {
        margin-left: 0px;
        clear: left;
    }*/
}

.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
 *
 ***************************************************************/

#google_map { /* The outer div */
    margin: 1.5em 0;
}

#google_map #map_canvas { /* the inner container that defines the actual map size */
    width: 95%;
    height: 300px;
    margin: auto;
}

/***************************************************************
 *
 * Footer
 *
 ***************************************************************/
footer > .contentbox {
    text-align: center;
}
.social-icons {
    margin: auto;
    margin-top: -35px;
    list-style: none;
    text-align: center;
    padding:0;
}

.social-icons li {
    padding: 0px;
    margin: 0px;
    display: inline-block;
}

.social-icons a {
    background-image: url(images/social-icons.png);
    display: block;
    width: 62px;
    height: 62px;
    margin-left: 10px;
    border-radius: 50%;
    border: 3px solid #fff;
    background-position-y: -3px;
    background-size: 259px 62px;
}
.social-icons a.social-twitter {
    background-position-x: -68px;
}
.social-icons a.social-gplus  {
    background-position-x: -133px;
}
.social-icons a.social-fb {
    background-position-x: -3px;
    margin-left: 0;
}
.social-icons a.social-yt {
    background-position-x: -199px;
}

img.footer-logo {
       height: 10em;
}

footer {
    border-top: 3px solid #fff;
    background: #69337e;
    color: #fff;
    font-size:.8em; /* footer has been set to 12.8px */
    clear: both;
    padding: 0px;
}

    footer .contentbox {
        padding:1em 0;
    }

footer .widgetarea {
    width:33.333%;
    padding: 0 3% 1em;
    float: left;
}

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

section.credits {
    clear: both;
    color: #69337E;
    padding: 1px 0;
    text-align: center;
    background: #fafafa;
    font-weight: 100;
}

section.credits a,
section.credits a:visited,
section.credits a:hover {
    color: #69337E;
    text-decoration: none;
    font-weight: 400;
}

section.credits a:hover {
    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;
    }
/*Additional for member directory page*/

.category-div {}
#ce-member__alpha-result,
.cat-description{display:none;}
.category-filtering li:before{
	display: none;
}
.category-div {
    background: #E6E6E6;
    padding: 20px 20px;
    border-radius: 12px;
        width: 48%;
    float: left;
}
.category-div h2{
	margin: 0;
    font-weight: normal;
    background: #E6E6E6 url(images/dropdown.png) no-repeat right 7px;
    font-family: "myriad-pro", Tahoma, Arial, sans-serif;
    font-size: 22px;
    
    color: #4e2261;
}
article .category-filtering{padding:0;border-top:1px solid #444;display:none;
    }
    .category-filtering > li { border-bottom:1px solid #444;position: relative;}
.category-filtering > li > .trigger-cat{
    display:block;
    cursor:pointer;
       padding: 5px 0;
    color: #4e2261;
}
.category-filtering > li > .trigger-cat.active-cat{
    background:#69337E;
    color:#fff;
}
.toggle-taxcat{
    position: absolute;
    top: 9px;
    right: 0;
    width: 19px;
    height: 19px;
    background: url(images/plus.png) no-repeat top center;
    cursor:pointer;
}
.toggle-taxcat.active-tax{
    background: url(images/minus.png) no-repeat top center;
}
.category-filtering > li ul li .trigger-cat{
    display:block;
       padding: 5px 0;
    padding-left: .8em;
    cursor:pointer;
    color: #4e2261;
}
.category-filtering > li ul li .trigger-cat.active-cat{
    background:#69337E;
    color:#fff;
}
.category-filtering ul {
    margin:0;
    padding: 0;
}
.category-filtering ul {
    padding-left:0;    
    display:none;
}
.searchbyalpha{
       background: #E6E6E6;
    padding: 19px 20px;
    border-radius: 12px;
    width: 48%;
    float: right;
    position:relative;
}
.searchbyalpha input{
   width: 100%;
    border: 0;
    background: none;
    outline: none !important;
    font-weight: normal;
    font-family: "myriad-pro", Tahoma, Arial, sans-serif;
    font-size: 22px;
    line-height: 22px;
    color: #4e2261;
}
.magni{
    background: url(images/magnifying.png) no-repeat center;
    top: 14px;
    right: 14px;
    position: absolute;
    width: 40px;
    height: 40px;
}
.searchbyalpha ::-webkit-input-placeholder { /* Edge */
   
    color: #4e2261;
    font-weight: normal;
    font-family: "myriad-pro", Tahoma, Arial, sans-serif;
}

.searchbyalpha :-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #4e2261;
    font-weight: normal;
    font-family: "myriad-pro", Tahoma, Arial, sans-serif;
}

.searchbyalpha ::placeholder {
   color: #4e2261;
    font-weight: normal;
    font-family: "myriad-pro", Tahoma, Arial, sans-serif;
}
.reset-it {
    background: #69337e;
    border: 1px solid #69337e;
    padding: 0 1em;
    line-height: 2.5em;
    color: #fff;
    border-radius: .5em;
    font-size: 1.1em;
    text-decoration: none;
    color: #fff;
    padding: 8px 23px;
    display: inline-block;
    line-height: 25px;
    margin-top: 9px;
    cursor:pointer;
}
.togglemore-cont{
    background: #B498BE;
    border: 1px solid #B498BE;
    padding: 0 1em;
    line-height: 2.5em;
    color: #fff;
    border-radius: .5em;
    font-size: 1.1em;
    text-decoration: none;
    color: #fff;
    padding: 8px 23px;
    display: inline-block;
    line-height: 25px;
    margin-top: 9px;
    cursor:pointer;
    float:right;
}
.toggleless-cont{
    background: #69337e;
    border: 1px solid #69337e;
    padding: 0 1em;
    line-height: 2.5em;
    color: #fff;
    border-radius: .5em;
    font-size: 1.1em;
    text-decoration: none;
    color: #fff;
    padding: 8px 23px;
    display: inline-block;
    line-height: 25px;
    margin-top: 9px;
    cursor:pointer;
    float:right;
    display:none;
}

@media (max-width:800px) {

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

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

}

/* Events */

#em-wrapper ul > li:before {
    display: none;
}
ul#currentEvents, ul#currentEvents li {
    list-style:none;
    margin:0;
    padding:0;
}

    ul#currentEvents {
	margin:1em 0;
    }

    ul#currentEvents li {
	margin:0 0 1em;
	border-bottom:1px solid #ddd;
	padding:0 0 1em 135px;
    }

    ul#currentEvents li:last-child {
	border-bottom:none;
	padding-bottom:0;
    }

    ul#currentEvents a#eventImageLink {
	width:120px;
	float:left;
	margin:5px 0 0 -135px;
    }

    ul#currentEvents img {
	width:120px;
	border:none;
	padding:0;
    }

    ul#currentEvents h3, ul#currentEvents h4 {
	margin:0;
	border:none;
    }

	ul#currentEvents h3 {
	    font-size:1em;
	}

	    ul#currentEvents h3 a {
		border:none;
	    }

	ul#currentEvents h4 {
	    font-size:.9em;
	}

    ul#currentEvents a {
	display:block;
	border:none;
    }

    ul#currentEvents p {
	line-height:1.4em;
	font-size:.85em;
	color:#333;
	margin:.5em 0 0;
    }

    p#eventActions {
	background:#fbf8f0;
	border:1px solid #f0edde;
	padding:.6em 1em;
	overflow:hidden;
    }

	p#eventActions a {
	    border:none;
	    display:block;
	    float:left;
	    margin:0 1.25em 0 0;
	    padding:4px 0 3px 0;
	    line-height:1.2em;
	    font-weight:bold;
	}

	    p#eventActions a#eventsRSS {
		background:transparent url(images/feedIcon.png) 0 4px no-repeat;
		padding:4px 0 3px 28px;
	    }
        
/**********************
* Member Directory    *
***********************/
#ce-member-sector {
    background: #f7f7f7;
    padding: 1em;
    text-align: center;
    margin: auto;
    max-width: 400px;
    /* border-top: 3px solid #69337E; */
    border: 1px solid #e7e7e7;
    border-top: 3px solid #69337E;
}

#ce-member-select-label {
    display: inline-block;
}

#ce-member-sector form {
    display: inline;
    margin:0;
}
#ce-member-select-group {
    display: inline-block;
    margin-left: 1em;
    line-height: 2.5;
    background: #efefef;
    border: none;
    padding: .5em;
}
.ce-member-single td:first-child {
    width: 300px;
}


.capent-members-list {
    display: flex;
    display: -ms-flex;
    display: -webkit-flex;
    
    flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    
    justify-content: space-between;
    -ms-justify-content: space-between;
    -webkit-justify-content: space-between;
}

.ce-member__alpha {
    width: 100%;   
}

.ce-member__alpha h2 {
    border-bottom: 1px solid rgba(78,34,97,.7);
    /* text-align: center; */
    font-size: 2.4em;
}

.ce-member-single {
    width: 100%;
    margin-bottom: 1.5em;
    display: flex;
    display: -ms-flex;
    display: -webkit-flex;
}

.ce-member__inner {
    width: 100%;
    /*background: #fff;*/
    background: #E6E6E6;
    padding: 1em 1.5em 2em;
    position: relative;
    cursor: pointer;  
    /*box-shadow: 0px 4px 22px 1px rgba(0,0,0,.2), 0px 1px 4px 0px rgba(0,0,0,.1);*/
    
}

.ce-member-single--has-description .ce-member__inner {
  
}

@media (min-width: 750px) {
    .ce-member-single {
        width: 48.5%;
    }
}

@media (min-width: 1500px) {
    .ce-member-single {
        width: 32.5%;
    }
}

.ce-member-single--has-description .ce-member__inner::after {
    display: none;
    content: " ";
    width: 1.7em;
    height: 1.7em;
    position: absolute;
    bottom: 1em;
    right: .65em;
    margin-right: .35em;
    
    border-radius: 50%;
    background-image: url(images/ic_keyboard_arrow_down_black_48px.svg);
    background-size: cover;
    vertical-align: text-bottom;
    background-position: center 1px;
    
}

.ce-member-single--open .ce-member__inner::after {
    display: none;
}

.ce-member-single:not(.ce-member-single--open) .ce-member__inner:hover {
    transform: scale(1.025);
    transition: transform .35s ease-out;
}

.ce-member-single--open {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 8000;
    background-color: rgba(20, 9, 25, 0.75);
    cursor: pointer;
    
    justify-content: center;
    -ms-justify-content: center;
    -webkit-justify-content: center;
    
    align-items: center;
    -ms-align-items: center;
    -webkit-align-items: center;
    
    transition: background-color .15s ease-in;
}

.ce-member-single--open .ce-member__inner {
    width: 95%;
    max-width: 30em;
}

.ce-member__name {
    display: block;
    margin: 0 0 .5em;
}

.ce-member-contact {
    overflow-x: hidden;
    display: block;   
}

.ce-member-contact a,
.ce-member-contact a:visited {
    color: #69337E;
    text-decoration: none;
}
.ce-member-contact a:hover {
    color: #4D265D;
    text-decoration: underline;
}
.ce-member__tel::before {
    display: inline-block;
    content: " ";
    width: 1em;
    height: 1em;
    margin-right: .35em;
    
    background-image: url(images/ic_phone_black_48px.svg);
    background-size: cover;
    
    vertical-align: text-bottom;
}

.ce-member__web {
    
}

.ce-member__web::before {
    display: inline-block;
    content: " ";
    width: 1em;
    height: 1em;
    margin-right: .35em;
    
    background-image: url(images/ic_link_black_48px.svg);
    background-size: cover;
    
    vertical-align: text-bottom;
}

.ce-member__address::before {
    display: inline-block;
    content: " ";
    width: 1em;
    height: 1em;
    margin-right: .35em;
    
    background-image: url(images/ic_place_black_48px.svg);
    background-size: cover;
    
    vertical-align: text-bottom;
    position: absolute;
    left: 0;
    top: .3em;
}

.ce-member__address {
    display: block;
    padding-left: 1.2em;
    position: relative;
}

.ce-member__description {
    display: none;
    margin: 1em -1.5em -2em;
    padding: 1em 1.5em 1.35em;
    /*background: #4E2261;*/
    /*color: #fff;*/
        clear: both;
}

.ce-member-single--has-description.ce-member-single--open .ce-member__description {
    display: block;
}

@media (max-width: 650px) {
	.category-div,
	.searchbyalpha{
		width:100%;
		margin-bottom: 20px;
	}
    #ce-member-sector,
    #ce-member-sector form > * {
        display: block;
        width: 100%;
    }
    #ce-member-select-group {
        margin: 1em 0 0 0;
    }
    .ce-member-single td {
        display: block;
        border-left: none;
        border-top: none;
        width: auto !important;
    }
}

/**********************
* Rsponsive Tables    *
***********************/
table th { font-weight: bold; }
table td, table th { padding: 9px 10px; text-align: left; }

/* Mobile */
@media only screen and (max-width: 767px) {
	
	.table-wrapper table { margin-bottom: 0; margin: 0}
	
	.pinned { position: absolute; left: 0; top: 0; background: #fff; width: 35%; overflow: hidden; overflow-x: scroll;  }
	.pinned table { border-right: none; border-left: none; width: 100%; }
	.pinned table th, .pinned table td { white-space: nowrap; }
	.pinned td:last-child { border-bottom: 0; }
	
	div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; }
	div.table-wrapper div.scrollable { margin-left: 35%; }
	div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; }	
	
	table.responsive td, table.responsive th { position: relative; white-space: nowrap; overflow: hidden; }
	table.responsive th:first-child, table.responsive td:first-child, table.responsive td:first-child, table.responsive.pinned td { display: none; }
	
}

article table {
    width: 100%;
}
article table th {
    background: #69337E;
    color: #fff;
}

article td,
article th {
    vertical-align: middle !important;
}
article table thead td,
article table.responsive tr td:first-child {
    background: #b498be;
    color: #fff;
    color: #4e2261
}

/****************
* Pages         *
*****************/
@media (max-width: 650px) {
    #page387 article table td {
        display: block;
    }
    #page387 article table td:first-child {
        text-align: center;
    }
}

.cemem__nav {
    background: #69337e;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: .5em .5em;
    border-radius: .5em;
}

.cemem__nav li {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 42px;
    text-align: center;
    padding: .5em;
}

@media (min-width: 900px) {
    .cemem__nav li {
        min-width: 32px;
    }
}

.cemem__nav a {
    text-decoration: none;
    font-size: 1.5em;
    color: #fff;
    /* border-radius: .5em; */
    line-height: 1;
    padding: 0;
    display: inline-block;
}

article .cemem__nav a:visited {
    color: #fff;
}

ul.cemem__nav li::before {
    content: "";
    display: none;
}

.cemem__totop {
    position: fixed;
    bottom: 1em;
    left: 1em;
    z-index: 1010;
    background: #69337e;
    border: 1px solid #69337e;
    padding: 0 1em;
    line-height: 2.5em;
    color: #fff;
    border-radius: .5em;
}

article .cemem__totop a {
    font-size: 1.1em;
    text-decoration: none;
    color: #fff;
}


.row{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-bottom: thin solid #ccc;
    padding-top: .5em;
    padding-bottom: 1em;
}
.member-name{
    margin: 0;
    margin-bottom: .1em;
    margin-top: .1em;
}

.pic-col{
    width: 183px;
    height: auto;
    display: inline-block;
    margin-top: 1em;
}

.pic-col img{
    border: 1px solid #551a64;
}

.background-col{
    display: inline-block !important;
    width: 75%;
    margin-left: 1.5em;
    padding-top: .5em;
}

#content div:last-of-type{
    border: none !important;
}

@media(max-width: 1300px){
    .background-col{
        width: 70%;
    }
}

@media(max-width: 1100px){
    .background-col{
        width: 65%;
    }
}
@media(max-width: 750px){
    .row{
        justify-content: center;
    }

    .background-col{
        width: 100%;
    }
}