/*
 Theme Name:     Fianna Fail
 Description:    Fianna Fail with Genesis Framework
 Author:         Create
 Author URI:     http://create.ie
 Template:       genesis
 Version:        1.0
*/

@import url("../genesis/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */
/* colours
 dark green/grey - #4b524a
 orange - #fa8903
 lightheader cream - #ddd5c8
 brown - #5c483c
*/

/*--- GENERAL ---*/
body {
    color:#4b524a;
    margin: 17px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background: #fff;
}
body > div {
    font-size: 1.6rem;
}
body.slide .content .entry {
  padding: 0px 30px 20px;
}
.site-header {
    background-color: #ddd5c8;
    min-height: 80px;
}
.site-header .wrap {
    padding: 0;
}
.site-inner {
  padding-top: 0px;
}
div#above-footer {
  clear: both;
}
.above-footer.widget-area img {
  width: 100%;
  height: auto;
    margin-bottom:0;
}
.above-footer.widget-area p {
  margin-bottom: 0;
}
.entry-title a {
    color:#4b524a;
}
a, .entry-title a:hover, .vc_row.brown a.link-orange, .vc_row.green a.link-orange {
    color:#fa8903;
    text-decoration: initial;
}
a:hover {
  color: #4b524a;
}
.vc_row.brown a.link-orange:hover, .vc_row.green a.link-orange:hover {
    color:#ddd5c8;
}
.content .entry {
    padding: 20px 30px;
    margin-bottom: 0;
}
a.outline-but {
    display: inline-block;
    border: 2px solid;
    padding: 10px;
    max-width: 200px;
    margin: 10px 0;
    min-width: 120px;
}
.more-from-category a {
    border: 2px solid;
    padding: 10px;
    margin: 10px 0;
    min-width: 120px;
}
p.orange-text {
    color: #fa8903;
}
p.leading {
    font-size: 120%;   
}
/*align vc column with title, VC col on page like video*/
    .wpb_column.vc_column_container {
        padding-left: 0px!important;
        padding-right: 0px!important;
}
/* ## Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #4b524a;
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	line-height: 1.2;
	margin: 0 0 10px;
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}
.help-us h3 {font-size:20px;}
body.archive .content article h1.entry-title, body.blog h1.entry-title {
  font-size: 26px;
}
input, select, textarea {
  background-color: transparent;
  border: 1px solid;
color: #4b524a;
  font-size: 14px;
  padding: 16px;
}
button, input[type="button"], input[type="reset"], input[type="submit"], .button {
  background-color: #4b524a;
border: 1px solid #4b524a;
  color: #fff;
  font-size: 14px;
}
button:hover, input:hover[type="button"], input:hover[type="reset"], input:hover[type="submit"], .button:hover {
  background-color: #fa8903;
  color: #fff;
}
/* lower footer form */
.lower-footer input, .lower-footer select, .lower-footer textarea {
  border: 2px solid;
    color: #ddd5c8;
}
.lower-footer button, .lower-footer input[type="button"], .lower-footer input[type="reset"], .lower-footer input[type="submit"], .lower-footer .button {
    background-color: transparent;
      min-width: 120px;
}
.lower-footer button:hover, .lower-footer input:hover[type="button"], input:hover[type="reset"], .lower-footer input:hover[type="submit"], .lower-footer .button:hover {
  background-color: #fa8903;
  color: #fff;
}
::-webkit-input-placeholder {
    color:    #ddd5c8;
}
:-moz-placeholder {
    color:    #ddd5c8;
}
::-moz-placeholder {
    color:    #ddd5c8;
}
:-ms-input-placeholder {
    color:    #ddd5c8;
}
/*---------------------- LOGO ---------------------*/
.header-image .site-title > a {
  background: url(images/fianna-fail-logo.png) no-repeat left;
  float: left;
  min-height: 60px;
  width: 100%;
}
/* Retina logo */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
  
    .header-image .site-title > a {
    background: url(images/fianna-fail-logo@2x.png) no-repeat left;
    background-size: 265px 70px;
}
}
/*---------------------- NAVIGATION 4b524a ---------------------*/
.nav-secondary {
    background-color: #4b524a;
      padding: 15px 0 25px;
}
.nav-primary .genesis-nav-menu a {
    color: #4b524a;
    padding: 25px 5px;
    font-size: 14px;
  text-transform: uppercase;
}
.genesis-nav-menu a:hover, .genesis-nav-menu .current-menu-item > a, .genesis-nav-menu .sub-menu .current-menu-item > a:hover, .nav-primary .genesis-nav-menu a:hover, .nav-primary .genesis-nav-menu .current-menu-item > a, .nav-primary .genesis-nav-menu .sub-menu .current-menu-item > a:hover {
    color: #fa8903!important;
}
.nav-primary {
  background-color: transparent;
    
}
.site-header .header-widget-area {
    padding: 10px 0;
}
button.sub-menu-toggle, button.menu-toggle {
    border:none;
}
/* secondary */
.nav-secondary #mega-menu-wrap-secondary {
    background-color: transparent;
}
.nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary{
    text-align: right;
}
.nav-primary .genesis-nav-menu .sub-menu a {
    line-height: initial;
    padding: 17px 5px;
}
/*  language switcher  */
.fflang {
  background: #4b524a;
}
.fflang .widget_icl_lang_sel_widget {
  float: right;
}
.fflang #lang_sel_list {
  height: 14px;
}
.fflang #lang_sel_list ul {
  border-top: none;
}
.fflang #lang_sel_list a.lang_sel_sel, .fflang #lang_sel_list a.lang_sel_sel:visited {
  background-color: transparent;
    text-transform: uppercase;
}
.fflang #lang_sel_list a.lang_sel_sel:hover {
  background-color: transparent;
}
.fflang #lang_sel_list ul a.lang_sel_other, .fflang  #lang_sel li ul a:link, .fflang #lang_sel_list ul a.lang_sel_other:visited {
    background-color: transparent;
    text-transform: uppercase;
}
.fflang #lang_sel_list ul a.lang_sel_other:hover {
  background-color: transparent;
}
.nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item > a {
    color: #ddd5c8!important;
    text-transform: uppercase!important;
    font-size: 14px;
}
/* Hover on second nav*/
.nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item.mega-toggle-on > a, .nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item:hover > a {
    background: transparent;
    color: #fa8903;
}

/* icons */
.nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary li a:before {
    color:#fa8903!important;
    font-family: 'lis'!important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px!important;
    line-height: 40px!important;
    -webkit-font-smoothing: antialiased;
}
.nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary li.mega-gaeilge a:before {
    content: "\e866"!important;
}
.nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary li.mega-donate a:before {
    content: "\f153"!important;
    font-family: 'fa', sans-serif!important;
}
.nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary li.mega-member > a:before {
    content: "\e875"!important;
}
.nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary li.mega-volunteer a:before {
    content: "\e838"!important;
}
.nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary li.mega-search > a:before {
    content: "\e83d"!important;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}
/*secondary dropdown */
nav #mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-flyout ul.mega-sub-menu {
    width: 200px;
}
nav #mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a {
    padding: 10px 5px;
    border-bottom: solid 1px #ddd;
    line-height: normal;
}
nav #mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a:hover, #mega-menu-secondary #menu-menu-under-search a:hover {
    color: #fa8903;
}
/* search dropdown */
#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-megamenu.mega-search > ul.mega-sub-menu {
    max-width: 250px;
    right: 0;
    left: inherit;
}
/*
#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-megamenu.mega-search > ul.mega-sub-menu input[type="search"] {
}
*/
#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-megamenu.mega-search > ul.mega-sub-menu input[type="submit"] {
    font-size: 14px;
    padding: 16px;
}

.nav-primary aside.widget-area {
	width: auto;
	display: inline-block;
}
#menu-item-social .simple-social-icons ul li {
	margin: 2px 6px 4px !important;
}
#menu-item-social .simple-social-icons ul li a, .simple-social-icons ul li a:hover {
    background-color: transparent!important;
    padding: 0px 2px;
    font-size: 18px;
}
#menu-item-social .simple-social-icons ul li a:hover {
    color:#fa8903!important;
}
li#menu-item-social .simple-social-icons ul {
    border-left: 1px solid #4b524a;
    margin-left: 7px;
    margin-top: 20px;
}
/* featured image */
.gch-header-image-inner {
    width: 100%;
}
.gch-header-image-inner img, .featured-img img {
    width: 100%;
    height: auto;
    max-height: 650px;
}
/* pagination */
.archive-pagination li a {
    background-color: #4B524A;
}
.archive-pagination li a:hover, .archive-pagination .active a {
    background-color: #FA8903;
}

/*---------------- Homepage slide ---------------*/
.rev_slider_wrapper.fullwidthbanner-container {
    border-left: solid 17px #fff;
    border-right: solid 17px #fff;
}
/* General Portfolio */
.gw-gopf-isotope {
  margin-left: 1px;
}
/*---------------- Homepage ISSUES GRID ---------------*/
#gw_go_portfolio_homepage_issues .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
    top: 65%;
    display: block;
    opacity: 1!important;
}
/* show content box for DOOR style*/
#gw_go_portfolio_homepage_issues .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
    display: block!important;
}
/*background on content box*/
#gw_go_portfolio_homepage_issues .gw-gopf-style-door .gw-gopf-post-content-wrap:before {
    background-color: transparent!important;
}
/* border around image on hover */
#gw_go_portfolio_homepage_issues .gw-gopf-style-door .gw-gopf-post:hover, #gw_go_portfolio_homepage_issues .gw-gopf-touch.gw-gopf-style-door .gw-gopf-post:hover {
    box-shadow: none!important;/*0 0 0 5px #fa8903*/
}
/* grid content content */
#gw_go_portfolio_homepage_issues .gw-gopf-style-door .gw-gopf-post-content h2 {
    border-bottom: solid 2px #fff;
    padding-bottom: 10px;
}
main #gw_go_portfolio_homepage_issues .gw-gopf-style-door .gw-gopf-post-content h2 a {
    color: #fff!important;
    font-size: 32px !important;
    line-height: inherit !important;
    text-shadow: 1px 1px 3px #000;
}
#gw_go_portfolio_homepage_issues .gw-gopf-style-door .gw-gopf-post-content h2 a:hover {
    color: #fa8903!important;
}
main #gw_go_portfolio_homepage_issues .gw-gopf-style-door .gw-gopf-post-excerpt {
    color: #fff;
    font-size: 14px;
    line-height: 20px!important;
    text-shadow: 1px 1px 3px #000;
}
/* Spacing fixes */
#gw_go_portfolio_homepage_issues .gw-gopf-pagination-wrapper {
  padding-top: 0!important;
}
/*  hover effect  */
#gw_go_portfolio_homepage_issues .gw-gopf-post-overlay, .gw-gopf-post-overlay-bg {
    background: rgba(0, 0, 0, 0.2)!important;
}
/* after adjust template */ 
.gw-gopf-post-header a:hover .gw-gopf-post-media-wrap {
    opacity: 0.8;
}
/*---------------- ALL ISSUES GRID ---------------*/
#gw_go_portfolio_all_issues .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
    top: 65%;
    display: block;
    opacity: 1!important;
}
/* show content box for DOOR style*/
#gw_go_portfolio_all_issues .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
    display: block!important;
}
/*background on content box*/
#gw_go_portfolio_all_issues .gw-gopf-style-door .gw-gopf-post-content-wrap:before {
    background-color: transparent!important;
}
/* border around image on hover */
#gw_go_portfolio_all_issues .gw-gopf-style-door .gw-gopf-post:hover, #gw_go_portfolio_all_issues .gw-gopf-touch.gw-gopf-style-door .gw-gopf-post:hover {
    box-shadow: none!important;/*0 0 0 5px #fa8903*/
}
/* grid content content */
#gw_go_portfolio_all_issues .gw-gopf-style-door .gw-gopf-post-content h2 {
    border-bottom: solid 2px #fff;
    padding-bottom: 10px;
}
main #gw_go_portfolio_all_issues .gw-gopf-style-door .gw-gopf-post-content h2 a {
    color: #fff!important;
    font-size: 32px !important;
    line-height: inherit !important;
    text-shadow: 1px 1px 3px #000;
}
#gw_go_portfolio_all_issues .gw-gopf-style-door .gw-gopf-post-content h2 a:hover {
    color: #fa8903!important;
}
main #gw_go_portfolio_all_issues .gw-gopf-style-door .gw-gopf-post-excerpt {
    color: #fff;
    font-size: 14px;
    line-height: 20px!important;
    text-shadow: 1px 1px 3px #000;
}
/* Spacing fixes */
#gw_go_portfolio_all_issues .gw-gopf-pagination-wrapper {
  padding-top: 0!important;
}
/*  hover effect  */
#gw_go_portfolio_all_issues .gw-gopf-post-overlay, .gw-gopf-post-overlay-bg {
    background: rgba(0, 0, 0, 0.2)!important;
}

/*----------------  ISSUES SLIDER ---------------*/
#gw_go_portfolio_issues_slider .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
    top: 65%;
    display: block;
    opacity: 1!important;
}
/* show content box for DOOR style*/
#gw_go_portfolio_issues_slider .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
    display: block!important;
}
/*background on content box*/
#gw_go_portfolio_issues_slider .gw-gopf-style-door .gw-gopf-post-content-wrap:before {
    background-color: transparent!important;
}
/* border around image on hover */
#gw_go_portfolio_issues_slider .gw-gopf-style-door .gw-gopf-post:hover, #gw_go_portfolio_issues_slider .gw-gopf-touch.gw-gopf-style-door .gw-gopf-post:hover {
    box-shadow: none!important;/*0 0 0 5px #fa8903*/
}
/* grid content content */
#gw_go_portfolio_issues_slider .gw-gopf-style-door .gw-gopf-post-content h2 {
    border-bottom: solid 2px #fff;
    padding-bottom: 10px;
}
main #gw_go_portfolio_issues_slider .gw-gopf-style-door .gw-gopf-post-content h2 a {
    color: #fff!important;
    font-size: 32px !important;
    line-height: inherit !important;
    text-shadow: 1px 1px 3px #000;
}
#gw_go_portfolio_issues_slider .gw-gopf-style-door .gw-gopf-post-content h2 a:hover {
    color: #fa8903!important;
}
main #gw_go_portfolio_issues_slider .gw-gopf-style-door .gw-gopf-post-excerpt {
    color: #fff;
    font-size: 14px;
    line-height: 20px!important;
    text-shadow: 1px 1px 3px #000;
}
/*----------------  ISSUES FOR SIDEBAR ---------------*/
#gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
    top: 65%;
    display: block;
    opacity: 1!important;
}
/* show content box for DOOR style*/
#gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
    display: block!important;
}
/*background on content box*/
#gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door .gw-gopf-post-content-wrap:before {
    background-color: transparent!important;
}
/* border around image on hover */
#gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door .gw-gopf-post:hover, #gw_go_portfolio_issues_for_sidebar .gw-gopf-touch.gw-gopf-style-door .gw-gopf-post:hover {
    box-shadow: none!important;/*0 0 0 5px #fa8903*/
}
/* grid content content */
#gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door .gw-gopf-post-content h2 {
    border-bottom: solid 2px #fff;
    padding-bottom: 10px;
}
.sidebar #gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door .gw-gopf-post-content h2 a {
    color: #fff!important;
    font-size: 32px !important;
    line-height: inherit !important;
    text-shadow: 1px 1px 3px #000;
}
#gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door .gw-gopf-post-content h2 a:hover {
    color: #fa8903!important;
}
.sidebar #gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door .gw-gopf-post-excerpt {
    color: #fff;
    font-size: 14px;
    line-height: 20px!important;
    text-shadow: 1px 1px 3px #000;
}


/*  ISSUES PAGES  */
.prevnext {
    clear: both;
    width: 100%;
    margin-bottom: 20px;
}
.prevnext:after {
    clear: both;
    content: " ";
    display: table;
}
.prevnext div {
    display: inline-block;
    width: 33.33%;
    float: left;
    font-size: 20px;
}
.issues-grid {
    text-align: center;
}
.next {
    float: right;
    text-align: right;
}
.prev a{
    background: url(images/arrow-left.png) no-repeat left 17px;
    padding: 18px 20px 18px 35px;
    display: block;
}
.next a{
    background: url(images/arrow-right.png) no-repeat right 17px;
    padding: 18px 35px 18px 20px;
    display: block;
}
.issues-grid a{
    background: url(images/grid_icon.png) no-repeat center 13px;
    padding: 48px 35px 18px;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
}
/* accordion */
.vc_row .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header a {
    padding: 1em 1em 1em 3em;
}
.vc_row .wpb_accordion .wpb_accordion_wrapper .ui-state-default .ui-icon, .vc_row .wpb_accordion .wpb_accordion_wrapper .ui-state-active .ui-icon {
    background-image:url(images/accordion-arrows.png);
    right: initial!important;
    left: 0.5em;
    width: 33px;
    height: 35px;
    top: 0.7em;
}
.vc_row .wpb_accordion .wpb_accordion_wrapper .ui-state-active .ui-icon {
    background-position:0 -33px;
}
.wpb_content_element .wpb_accordion_wrapper .wpb_accordion_section .wpb_accordion_header, .wpb_content_element.wpb_tabs .wpb_tour_tabs_wrapper .wpb_tab {
  background-color: #F0EDE7;
}
/* Policy Documents  */
.wpfilebase-file-default .filetitle {
    height: auto;
    width: 210px;
}
.wpfilebase-file-default .filetitle a {
    font-size: 16px;
    line-height: normal;
}
 /*   HOMEPAGE NEWS   */
.homepage-news p {
    line-height: 20px;
}
a.more-link {
  clear: left;
  display: block;
}
.featuredpost .widgettitle {
    color:#fa8903;
    margin-bottom: 25px;
}
.featured-content .entry {
    padding: 0;
    margin-bottom: 20px;
}
.homepage-news section article.entry:last-child {
  /* background: aliceblue; */
  border-bottom: none;
}
.entry-header .entry-meta {
    margin-bottom: 10px;
    font-size: 85%;
    font-style: italic;
}
.entry-footer .entry-meta {
  border-top: none;
  padding-top: 12px;
  border-bottom: 2px solid #f5f5f5;
  padding-bottom: 16px;
}
/* VC ROWS */
.vc_row.brown-row {
    background: #5c483c;
    border-left: solid 17px #fff;
    border-right: solid 17px #fff;
    color: #ddd5c8;
    padding: 30px 0;
    margin-bottom: 0;
}
.vc_row.brown-row h1, .vc_row.brown-row h2, .vc_row.brown-row h3, .vc_row.brown-row h4, .vc_row.brown-row h5, .vc_row.brown-row h6 {
    color: #ddd5c8;
    margin-top: 35px;
}
.vc_row.brown-row a {
    color: #ddd5c8;
}
.vc_row.brown-row a:hover {
    color: #fa8903;
}
/* full width row same padding as body   */
main.content .vc_col-xs-12, main.content .vc_col-sm-12, main.content .vc_col-md-12, main.content .vc_col-lg-12 {
    padding-left: 24px;
    padding-right: 24px;
}
.vc-gitem-zone-height-mode-auto:before {
    padding-top: 50%;
}

/*  VC Posts list  */
.vc-posts-list .vc_row {
    margin-bottom: 5px;
    margin-left: 0;
    margin-right: 0;
}
.vc-posts-list .vc_row p {
  margin-bottom: 10px;
}
.vc-posts-list-item {
  margin: 15px 0;
}

/* margin between rows */
body .wpb_row, body .wpb_content_element, body ul.wpb_thumbnails-fluid > li, body .last_toggle_el_margin, body .wpb_button {
  margin-bottom: 17px;
}
/* fix separator title */
.vc_row .vc_separator.vc_sep_double {
    height: 1em;
}
/* Polls */
/* space around poll */
.home .tp-poll-container {
  margin-top: -25px;
  padding-bottom: 25px;
}
#tp-plaintext-fiannafail-preset.tp-poll-container .question, #tp-plaintext-fiannafail-preset .tp-question {
    text-align: center;
}
#tp-plaintext-fiannafail-preset.tp-poll-container .tp-buttons {
    text-align: center;
}
#tp-plaintext-fiannafail-preset .tp-choices {
    padding-left: 1px;
}
#tp-plaintext-fiannafail-preset .tp-primary-btn {
    min-width: 150px;
}
#tp-plaintext-fiannafail-preset .tp-btn-disabled {
    display: none!important;
}
/*---------------------- SIDEBAR ---------------------*/
.sidebar .widget {
    margin-bottom: 0px; 
}

.widget-title {
    color: #fa8903;
}
aside.sidebar h3 {
    font-size: 30px;
    font-weight: 300;
}
aside.sidebar .widget.featuredpost {
    border-top: 2px solid #f5f5f5;
    padding-top: 20px;
    margin-top: 20px;
}
.green h2:after, .sidebar h2:after, .green h3:after, .sidebar h3:after, .vc_row.brown-row a:after, .footer-widgets h1:after, .footer-widgets h2:after, .footer-widgets h3:after, .footer-widgets h4:after, .footer-widgets h5:after, .footer-widgets h6:after {
  content: '_';
  display: block;
  clear: both;
  color: #fa8903;
    margin-top:-10px;
}
.sidebar #gw_go_portfolio_issues_for_sidebar h2:after {
    content: none;
}
.sidebar-primary .fourk-icon.square {
  padding: 5px!important;
}
aside.sidebar.sidebar-primary {
  padding: 20px;
}

.sidebar .vc_row.wpb_row.vc_row-fluid.white {
  padding: 20px;
}
/* Sidebar for archives */
aside section.widget_archive select, aside section.widget_categories select {
    height: 50px;
    background-color: #ddd5c8;
    border-radius: 0px!important;
    margin:10px 0 17px 0;
}
aside section.widget_archive .widget-title, aside section.widget_categories .widget-title {
    margin:20px 0 5px 0;
}
/*  VC  row colours    */
.vc_row.green {
  background: #4b524a;
    color:#ddd5c8;
    padding: 40px;
}
.vc_row.green a:hover{
    color:#ddd5c8;
}
.vc_row.green h1, .vc_row.green h2, .vc_row.green h3, .vc_row.green h4, .vc_row.green h5, .vc_row.green h6 {
    color:#ddd5c8;
}
.vc_row.green input, .vc_row.green select, .vc_row.green textarea {
    color:#ddd5c8;
}
.vc_row.green input.wpcf7-form-control.wpcf7-submit {
    border: 1px solid #ddd5c8;
}
.green .fourk-icon.hovered {
  box-shadow: inset 0 0 0 2px #fa8903!important;
}
.vc_row.brown {
  background: #5c483c;
    color:#ddd5c8;
    padding: 40px 20px;
    margin-left: -17px;
    margin-right: -17px;
}
/*fix wider col issue in sidebar*/
.sidebar .vc_row.brown {
    margin-left: 0;
    margin-right: 0;
}
/*  brown row inside brown row - widget in VC*/
.vc_row.brown .vc_row.brown{
    padding: 0px;
}
.vc_row.brown a{
    color: #ddd5c8;
}
.vc_row.brown a:hover{
    color:#fa8903;
}
.vc_row.brown h1, .vc_row.brown h2, .vc_row.brown h3, .vc_row.brown h4, .vc_row.brown h5, .vc_row.brown h6 {
    color:#ddd5c8;
}
/*  VC COLUMN Colors  */
.vc_column_container.green {
    background: #4b524a;
    color:#ddd5c8;
    padding: 40px;
}
.vc_column_container.green a:hover {
    color: #ddd5c8;
}
.vc_column_container.brown {
    background: #5c483c;
    color:#ddd5c8;
    padding: 40px;
}
.vc_column_container.green h1, .vc_column_container.green h2, .vc_column_container.green h3, .vc_column_container.green h4, .vc_column_container.green h5, .vc_column_container.green h6, .vc_column_container.brown h1, .vc_column_container.brown h2, .vc_column_container.brown h3, .vc_column_container.brown h4, .vc_column_container.brown h5, .vc_column_container.brown h6 {
    color:#ddd5c8;
}
.vc_column_container.brown a{
    color: #ddd5c8;
}
.vc_column_container.brown a:hover{
    color:#fa8903;
}
/*
.wpb_column.vc_column_container .vc_col-sm-12.wpb_column.vc_column_container {
  padding-left: 0;
  padding-right: 0;
}
*/

/* fix video width */
.wpb_video_wrapper {
  margin-left: -9px;
  margin-right: -9px;
}
.tshowcase .wpb_video_wrapper {
  margin-left: 0px;
  margin-right: -9px;
}
/* Social sharing icons */
a.ssba_twitter_share img, a.ssba_facebook_share img, a.ssba_email_share img {
    width: 106px!important;
    height: auto;
    border: 2px solid #DDD5C8;
    margin: 5px 15px;
}
/* genesis simple share */
.share-outlined .count, .share-outlined .share {
  border-radius: 0px;
}
/* TEAM PAGES / LIST */
.single-tshowcase .wpb_column.right .social .fourk-icon-container {
    border: 2px solid #ddd5c8;
    padding-top: 5px;
    padding-bottom: 5px;
}
section.tshowcase_widget {
  padding-top: 15px;
}
/* align social title and icons*/
.vc_row.wpb_row.vc_inner.vc_row-fluid.social {
  background: #4b524a;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 20px;
}
.green.socialname {
  margin-bottom: 0;
  padding: 25px;
  text-align: center;
}
.single-tshowcase .content .entry {
  padding: 20px 30px 0;
}
.tshowcase-box {
  padding: 0px 2px;
}
.tshowcase-box-photo img:hover {
  opacity: 0.8;
}
form#tshowcasesearch input {
  width: 50%;
  float: left;
}
form#tshowcasesearch input[type=submit] {
    border: 1px solid #4b524a;
}
ul#ts-filter-nav li.ts-current-li, ul#ts-enhance-filter-nav li.ts-current-li {
  background: #4B524A!important;
}
ul#ts-filter-nav li:hover, ul#ts-enhance-filter-nav li:hover {
  background: #4B524A!important;
}
ul#ts-filter-nav li ul li, ul#ts-enhance-filter-nav li ul li {
  background: #4B524A!important;
}
ul#ts-filter-nav li ul li:hover, ul#ts-enhance-filter-nav li ul li:hover {
  background: #5c483c!important;
}
ul#ts-filter-nav li#ts-all {
  display: none;
}

/* Help achieve goals */
.help-us.widget-area {
    clear: both;
    margin-bottom: 17px;
}

/*---- FORMS ----*/
/* contact form7 */
input.wpcf7-form-control.wpcf7-submit {
  clear: both;
  display: block;
}
span.wpcf7-list-item {
  min-width: 230px;
  max-width: 400px;
  display: inline-block;
}
/* Arforms */
/* staff forms*/
.staff-forms .vc_toggle {
    background-color: #F4F3F0;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 8px 0;
}
/*  mailchimp  */
#mc_embed_signup .mc-field-group {
  margin: 5px 0;
}
#mc_embed_signup select {
  height: 38px;
}
#mc_embed_signup input[type="checkbox"] {
  margin-right: 6px;
}
#mc_embed_signup .input-group ul > li {
  list-style-type: none;
}
#mc_embed_signup label {
    margin-top: 10px;
    display: inline-block;
}
/*---------------------- FOOTER ---------------------*/
footer.site-footer {
    background: #493a30;
    color: #ddd5c8;
    margin-top: 17px;
    padding-bottom: 20px;
}
.site-footer p {
    line-height: 20px;
    margin-bottom: 10px;
}
.lower-footer:after {
        content: "";
        display: table;
        clear: both;
}
    footer .lower-footer {
        margin-bottom: 0px;
        text-align: left;
}
.lower-footer h1, .lower-footer h2, .lower-footer h3, .lower-footer h4, .lower-footer h5, .lower-footer h6 {
    color: #ddd5c8;
}
.lower-footer img {
    margin:0;
}
.lower-footer h4 {
    font-size: 30px;
}
.lower-footer a:hover {
    color: #ddd5c8;
}
.lower-footer a.outline-but {
    font-size: 90%;
}
.footer-widgets {
    background: transparent;
    padding-top: 7px;
    clear: left;
}
.footer-widgets .wpb_row {
    margin-bottom: 0;
}
.footer-widgets h1, .footer-widgets h2, .footer-widgets h3, .footer-widgets h4, .footer-widgets h5, .footer-widgets h6 {
    color: #ddd5c8;
    text-transform: uppercase;
}
.footer-widgets-1,
.footer-widgets-2,
.footer-widgets-3 {
    background: #4b524a;
    color: #ddd5c8;
    padding:65px;
    text-align: center;
	}
.footer-widgets a {
    color: #ddd5c8;
}
.footer-widgets a:hover {
    color: #fa8903;
}
.creds {
  float: left;
  font-size: 70%;
    text-align: left;
}
.vc_row .wpb_video_widget .wpb_wrapper .wpb_video_wrapper {
    padding-top: 1%;
}
/*  SOCIAL */
/*  twitter */
.really_simple_twitter_widget li {
    margin: 16px 0;
}
ul.really_simple_twitter_widget {
  font-size: 90%;
  line-height: initial;
}
span.twitter-timestamp {
  font-size: 80%;
  font-style: italic;
  display: block;
  clear: left;
  margin-top: 5px;
}
/* vc gallery grid */
.wpb_image_grid .wpb_image_grid_ul img {
  padding: 2px;
}
/* single ffact page*/
.ffeatured-img {
  padding: 20px 0 10px 30px;
}
.ffeatured-img img{
  max-width: 100%;
    height: auto;
}
table#cookies td {
  padding: 5px;
  border: 1px solid #ddd;
}
label.screen-reader-text {
  position: absolute !important;
  left: -999em;
}
/* events */
/*fix share icons*/
.evcal_evdata_row .evcal_evdata_cell .share-medium a.share {
    padding: 0 0 0 28px;
}

/*---------------------- MEDIA QUERIES ---------------------*/
@media only screen and (max-width: 479px) {
    .entry-content #tp-plaintext-fiannafail-preset .tp-choices li, .entry-content #tp-plaintext-fiannafail-preset .results li {
  width: 100%;
}
    aside.sidebar.sidebar-primary {
  padding: 20px 0;
}
    /*sidebar issues*/
    #gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
  top: 38%;
}
    .sidebar #gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door .gw-gopf-post-content h2 a {
  font-size: 18px !important;
    }
    .sidebar #gw_go_portfolio_issues_for_sidebar .gw-gopf-style-door .gw-gopf-post-excerpt {
        font-size: 12px;
        line-height: 16px!important;  
    }
    
/* homepage issues */
    #gw_go_portfolio_homepage_issues .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
        top: 50%;
    }
    main #gw_go_portfolio_homepage_issues .gw-gopf-style-door .gw-gopf-post-content h2 a {
        font-size: 18px !important;
    }
    main #gw_go_portfolio_homepage_issues .gw-gopf-style-door .gw-gopf-post-excerpt {
        font-size: 12px;
        line-height: 16px!important; 
    }
    
    .prevnext div {
  width: 100%;
  font-size: initial;
}
    .more-from-category a {
  font-size: 70%;
}
    .vc_row.green {
  padding: 20px;
}
    aside.sidebar h3{
        font-size:24px;
    }
  .footer-widgets-1, .footer-widgets-2, .footer-widgets-3 {
  padding: 20px;
}
/* move margin outwards in sidebar brown row */
    .sidebar .vc_row.brown {
  margin-left: -15px;
  margin-right: -15px;
}
    
nav #mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-flyout ul.mega-sub-menu {
    width: 150px;
}
}/* end queries */

@media only screen and (max-width: 599px) {
    .nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary {
        text-align: left;
    }
.nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item {
    display: block;
    width: 50%;
    float: left;
}
    .nav-secondary #mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item a{
        font-size: 10px;
    }
}/* end queries */
@media only screen and (min-width: 600px) {
/* search --------------------------------------------- */

    #mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-megamenu.mega-search > ul.mega-sub-menu input[type="search"] {
    width:60%;
}
#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-megamenu.mega-search > ul.mega-sub-menu input[type="submit"] {
    width:40%;
    clip: auto;/*this and below fix for mega-menu*/
    height: initial;
    border: 1px solid #4b524a;
    margin: 0;
}
    
}/* end queries */

@media only screen and (max-width: 767px) {
/*fix margin glitch if mobile*/
    nav.nav-secondary {
        margin-bottom: 0!important;
}
   
/* Navigation toggles - Mobile 
--------------------------------------------- */
    .menu-toggle,
	.sub-menu-toggle {
		display: block;
		font-size: 30px;
		font-weight: 700;
        line-height: 30px;
		margin: 0 auto;
		overflow: hidden;
		padding: 5px 20px;
		text-align: center;
		visibility: visible;
	}
 
	button.menu-toggle,
	button.sub-menu-toggle {
		background-color: transparent;
		color: #4B524A;
	}
    button.menu-toggle {
        font-size: 26px;
        font-weight: 300;
    }
 
	.sub-menu-toggle {
		padding: 18px;
		position: absolute;
		right: 0;
		top: 0;
	}
 
	.menu-toggle:before {
		content: "\2261";
        font-size: 45px;
	}
 
	.menu-toggle.activated:before {
		content: "\2191";
	}
 
	.sub-menu-toggle:before {
		content: "+";
	}
 
	.sub-menu-toggle.activated:before {
		content: "-";
	}
 
	nav.nav-primary {
		display: none;
		position: relative;
	}
 
	.genesis-nav-menu .menu-item {
/*		background-color: #f5f5f5;*/
		display: block;
		position: relative;
		text-align: left;
	}
 
	.genesis-nav-menu .menu-item:hover {
		position: relative;
	}
 
	.genesis-nav-menu .sub-menu {
		clear: both;
		display: none;
		opacity: 1;
		position: static;
		width: 100%;
	}
 
	.genesis-nav-menu .sub-menu a {
		border-left: 0;
		position: relative;
		width: auto;
	}
 
	.genesis-nav-menu .sub-menu .sub-menu {
		margin: 0;
	}
 
	.genesis-nav-menu .sub-menu .sub-menu a {
		background-color: #f5f5f5;
		padding-left: 30px;
	}
 
	.genesis-nav-menu .sub-menu .sub-menu .sub-menu a {
		background-color: #fff;
		padding-left: 40px;
	}
 
	.nav-primary a:hover,
	.nav-primary .current-menu-item > a {
		color: #333;
	}
    /* social links */
    .site-header .widget-area {
/*        float: left;*/
    }
    li#menu-item-social .simple-social-icons ul {
        border-left: none;
    }
    #menu-item-social .simple-social-icons ul li a, .simple-social-icons ul li a:hover {
        padding: 0px 5px;
        margin: 0 5px;
        font-size: 30px;
}
        .vc_row.brown-row h1, .vc_row.brown-row h2, .vc_row.brown-row h3, .vc_row.brown-row h4, .vc_row.brown-row h5, .vc_row.brown-row h6 {
  text-align: center;
  margin-bottom: 20px;
}
}/* end queries */

@media only screen and (min-width: 768px) {
/* STICKY Navigation --------------------------------------------- */
.site-header.sticky {
	position: fixed;
    display: none;
    top: 0;
    z-index: 200;
    width:100%;
    margin: 0;
    -ms-transform:translateX(-24px);
    -webkit-transform: translateX(-24px);
    transform: translateX(-24px);
    border-left: 24px solid #fff;
    border-right: 10px solid #fff;
}
   .wpb_column.right .wpb_wrapper {
  overflow-x: hidden;
}
/* fix spacing under single profile image - NOTE was removed as update caused scrollbar on img
    .single-tshowcase .right .wpb_single_image img {
    margin-bottom: -7px;
}*/
    /* Navigation toggles - Ensure Menu Displays when Scaled Up
--------------------------------------------- */
	nav.nav-primary {
		display: block !important;
	}
    /* hide navigation toggle over tablet size */
.sub-menu-toggle,
.menu-toggle {
	display: none;
	visibility: hidden;
}
    /* adjust social */
li#menu-item-social {
/*    float: right;*/
}

}/* end queries */

@media only screen and (max-width: 800px) {
    .site-inner {
        padding-left: 0;
        padding-right: 0;
}
    .content .entry {
        padding: 20px 0;
}
    .single-tshowcase .content .entry {
        padding: 20px 0 0;
}
    aside.sidebar.sidebar-primary {
        padding: 20px 20px 0;
}
    aside.sidebar section.widget {
        margin-bottom: 30px;
}
}/* end queries */

/* IPAD 
---------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 1024px){
    .site-header .widget-area {
        width: 100%;
        clear: left;
        text-align: left;
        padding: 5px 0;
}
    li#menu-item-social {
/*  float: right;*/
/*  margin-top: -104px;*/
}
/* narrow nav */
    .nav-primary .genesis-nav-menu a {
        padding: 10px 5px;
    }
    #menu-item-social .simple-social-icons ul li a {
    font-size: 26px;
}
/*---------------- Homepage ISSUES GRID ---------------*/
    #gw_go_portfolio_homepage_issues .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap, #gw_go_portfolio_all_issues .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
        top: 50%;
}
/*---------------- ALL ISSUES GRID ---------------*/
    #gw_go_portfolio_all_issues .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
        top: 50%;
}
    #gw_go_portfolio_issues_slider .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
    top: 50%;
}
} /*  End media queries  */
@media only screen and (min-width: 768px) and (max-width: 960px){
        li#menu-item-social {
        float: right;
        margin-top: -117px;
}
    li#menu-item-social .simple-social-icons ul {
        border-left: none;
}
    .vc_row.brown-row a {
        font-size: 0.6em;
}

}/*  End media queries  */
@media only screen and (max-width: 960px) {
    .footer-widgets .wrap {
        max-width: 100%;
        padding-left: 0%;
        padding-right: 0%;
    }
    .footer-widgets .footer-widgets-1, .footer-widgets .footer-widgets-2{
        margin-bottom: 17px;
    }

} /*  End media queries  */

@media only screen and (min-width: 961px) {
   /*---------------------- FOOTER ---------------------*/

    /* nav */
    .title-area {
        width: 30%;
}
.site-header .widget-area {
        width: 100%;
}
    li#menu-item-social {
        float: right;
}
    /*if moving post title by css */
    .site-inner {
        position: relative;
}
/*    main article header.entry-header:first-child {*/
    .title-up{
        position: absolute;
        top: -191px;
}
    .title-up .entry-title, .sub-up p{
        color: #fff;
        text-shadow: 1px 1px 3px #000;
}
    main article .ffexcerpt {
        max-width: 440px;
        }
    main article .ffexcerpt.sub-up {
        position: absolute;
        top: -108px;
        max-height: 80px;
        overflow-y: hidden;
}
    .ffexcerpt.sub-up p{
        background: rgba(0, 0, 0, 0.2);
        padding: 0px 5px;
}

    .entry-title {
        font-size: 36px;
        border-bottom: solid 4px #fff;
        padding-bottom: 10px;
}
    
/*    end if moving site title by css*/
    .homepage-news section {
        width: 48%;
        float: left;
        margin-right: 2%;
}
    .above-footer section {
        width: 49.5%;
        float: left;
        margin-right: 0.5%;
}
    .homepage-news section.featuredpost:last-child {
        margin-top: 57px;
    }
    .above-footer section:last-child {
        margin-right: 0;
        margin-left: 0.5%;
}
    .footer-widgets .wrap {
        max-width: 100%;
}
    .footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3 {
        float:left;
		width: 32.6666%;
	}
    .footer-widgets-1{
        margin-right: 1%;
	}
    .footer-widgets-3 {
        margin-right: 0;
        margin-left: 1%;
	}
    
    
    footer .lower-footer section {
        float:left;
		width: 23%;
        margin-right: 2%;
        
    }
    /*------------------- SIDEBAR --------------------*/
    .content{
        width: 49%;
    }
    .sidebar-primary {
        width: 49%;
        position: relative;
        margin-bottom: 30px;
    }
    .sidebar section.widget {
        padding: 0;
    }
    aside.sidebar.sidebar-up {
/*
        position: absolute;
        z-index: 2;
*/
        margin-top: -130px;
/*        padding: 0;*/
    }
/*    right column in visual composer 
    .right.vc_column_container {
        margin-top: -146px;
} */
    .indent-up {
        margin-top: -146px;
    }
    .sidebar section.widget_visual_composer_addon {
        overflow-x: hidden;
}
    a.ssba_twitter_share img, a.ssba_facebook_share img, a.ssba_email_share img {
    width: 85px!important;
}
}/* End media queries */
@media only screen and (min-width: 961px) and (max-width: 1279px) {
    .footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3 {
		min-height:  535px;
	}
    
}/* End media queries */

@media only screen and (min-width: 1025px) and (max-width: 1200px) {
    .site-header .widget-area {
    width: 70%;
}
    .nav-primary .genesis-nav-menu a {
    padding: 25px 2px;
    font-size: 12px;
}
    #menu-item-social .simple-social-icons ul li {
    margin: 2px 3px 4px !important;
}
    #menu-item-social .simple-social-icons ul li a, .simple-social-icons ul li a:hover {
    padding: 0px 2px;
    font-size: 16px;
}
    #gw_go_portfolio_homepage_issues .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap, #gw_go_portfolio_all_issues .gw-gopf-style-door-no-effect .gw-gopf-post-content-wrap {
    top: 50%;
}
}/* End media queries */

@media only screen and (min-width: 1201px) {
    .title-area {
        width: 25%;
}
    .site-header .widget-area {
        width: 75%;
}
#tp-plaintext-fiannafail-preset .tp-choices {
    margin-left: 170px;
}
    /* Social sharing icons */
a.ssba_twitter_share img, a.ssba_facebook_share img, a.ssba_email_share img {
    width: 106px!important;
}
}/* End media queries */

@media only screen and (min-width: 1201px) and (max-width: 1279px) {
    footer .lower-footer, .creds {
    padding: 0px 3px;
}
}/* End media queries */
@media only screen and (min-width: 1280px) and (max-width: 1300px) {

    .footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3 {
		min-height:  480px;
        
	}
    
    }/* End media queries */
@media only screen and (min-width: 1280px) {

        main article .ffexcerpt {
        max-width: 585px;
        }
    
    }/* End media queries */
@media only screen and (min-width: 1470px) and (max-width: 1540px) {

    .footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3 {
		min-height:  452px;
        
	}
    
    }/* End media queries */