/*
Theme Name:   FiveHundred
Description:  FiveHundred Theme
Author:       Tom Myatt
Author URL:   http://devcompguides.wpengine.com
Template:     twentyseventeen
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  fivehundred
*/

/* Write here your own personal stylesheet */

#comments {padding-top: 0em; max-width: 100%;}
#wpdcom {width: 100%; max-width: 100%;}

.single-featured-image-header {
    display: none;
}

div#rpwwt-recent-posts-widget-with-thumbnails-3 img,
div#rpwwt-recent-posts-widget-with-thumbnails-2 img {
    background: #111;
}

.rpwwt-post-categories,
p.strapline {
    font-family: "myriad-pro", sans-serif;
    font-weight: 600;
}

h1.page-title.category {
    font-size: 2.0em;
    border-bottom: 5px solid #276015;
}

.category h2.entry-title {
    font-family: "myriad-pro", sans-serif;
}

.category .strapline {
    background: #ccc;
    padding: 4px;
}

.category .standfirst p {
    font-size: 1rem;
}

.category p.link-more {
    float: right;
    background: #ccc;
    padding: 10px;
}

.category p.link-more:hover {
    background: #111;
}

.category p.link-more:hover a {
    color: #ccc;
}

.category article {
    float: left;
    border-bottom: 1px solid #111;
    padding-bottom: 0px !important;
    margin-bottom: 30px;
}

.category .post-thumbnail {
    max-width: 25%;
    float: left;
    margin-right: 20px;
}


body.page #secondary {
    width: 30%;
    float: right;
}

body.page #primary {
    width: 65%;
    float: left;
}

.wrap {
    max-width: 100%;
}

.navigation-top .wrap {
    max-width: 100% !important;
    background: #ccc;
}

#nav-below {
    float: left;
}

.site-branding {
    padding-bottom: 4px;
}

.site-content {
    padding-top: 20px !important;
}

.searchandfilter>ul {
    margin: 0;
    padding: 0;
}

.searchandfilter>ul>li {
    display: inline-block;
    padding-right: 10px;
}

.searchandfilter label {
    width: 100%;
}

.searchandfilter select.sf-input-select {
    width: 100%;
}

form#search-filter-form-249 {
    margin-top: 30px;
}

form#search-filter-form-249 li.sf-field-search {
    width: 40%;
}

form#search-filter-form-249 li.sf-field-search label {
    width: 100%;
}

form#search-filter-form-249 li.sf-field-post-meta-select_content_type {
    width: 20%;
}

form#search-filter-form-249 li.sf-field-taxonomy-publications {
    width: 25%;
}

form#search-filter-form-249 li.sf-field-submit {
    width: 7%;
}

form#search-filter-form-249 li.sf-field-reset {
    width: 8%;
}

form#search-filter-form-249 li.sf-field-submit input,
form#search-filter-form-249 li.sf-field-reset input {
    background-color: #276015;
    border: 1px dashed #111;
    width: 100%;
}

.chosen-container {
    font-size: 1rem;
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
    padding-top: 10px;
}

h1,
h2,
h3,
h4 {
    font-family: "myriad-pro", sans-serif;
}

.site-title,
.site-title a {
    font-family: "myriad-pro", sans-serif;
    color: #276015;
}

h1.five_header {
    background: #276015;
    padding: 10px;
    color: #fff;
}

h1.five_header span {
    color: #ccc;
}

.home-posts {
    -moz-column-count: 1;
    -moz-column-gap: 20px;
    -moz-column-rule: none;
    -webkit-column-count: 1;
    -webkit-column-gap: 20px;
    -webkit-column-rule: none;
    column-count: 1;
    column-gap: 20px;
    column-rule: none;
}

.home-post {
    float: left;
    min-height: 250px;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: 20px;
    float: left;
    width: 100%;
}

.home-post img {
    float: left;
    max-width:23%;
    width:23%
}

.home-post p {
    margin-top: 10px;
}

.home-post .more-link {
    display: none;
}

.bannergroup.leaderboard {
    float: right;
}

p.fivehundred-breadcrumb {
    background: #ccc;
    padding: 10px;
    font-weight: bold;
}

h1.entry-title {
    font-size: 3rem !important;
}

.standfirst p {
    font-size: 1.5rem;
}

.entry-content ul {
    margin-left: 30px;
}

.rpwwt-post-title {
    font-size: 1.4em;
}

.interview-image {
    float: right;
    position: relative;
    margin: 0px 0px 20px 20px;
}

.fivehundred-header {
    max-width: 100%;
    margin-top: 0px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    float: left;
    position: relative;
    z-index: 999;
    border: 2px solid #276015;
    background-position: 95% 60%;
    background-repeat: no-repeat;
    background-image: url(/wp-content/uploads/sites/6/2019/02/fivehundred-f.png);
}

.fivehundred-header .strapline {
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

span.front-intro,
.fivehundred-header h2 {
    color: #fff;
}

span.front-intro {
    max-width: 75%;
    float: left;
}

h2.bold,
h2.widget-title,
.ed-letter {
    border-bottom: 5px solid #276015;
}

h2.widget-title {
    font-size: 1em;
}

.rpwwt-post-excerpt {
    display: table-cell;
}

.widget ul li,
.widget ol li {
    border-top: none;
    border-bottom: 1px dotted #276015;
}

.fivehundreddc {
    font-size: 50px;
    line-height: 1.4em;
    font-weight: bold;
    vertical-align: middle;
    color: #f6846a;
    padding-right: 5px;
}

.more-posts {
    background: #f6846a;
    text-align: center;
    padding: 10px;
}

.letter-content {
    max-height: 400px;
    overflow: auto;
}

.ed-letter,
.letter-content {
    margin-bottom: 20px;
}

img.issue-cover {
    float: left;
    margin: 0px 20px 20px 0px;
}

.archive.tax-publications .post-thumbnail {
    max-width: 25%;
    float: left;
    margin-right: 20px;
}

.archive.tax-publications p.strapline {
    background: #ccc;
    padding: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.archive.tax-publications .standfirst p {
    font-size: 1.2rem;
}

.archive.tax-publications article {
    float: left;
    padding-bottom: 10px;
    border-bottom: 1px dotted #f6846a;
    margin-bottom: 20px;
}

.time.entry-date.published a {
    color: #fff;
}

.gallery-caption {
    font-size: 1.2em;
    margin-top: 20px;
    text-align: center;
}

span.strapline {
    font-family: "myriad-pro", sans-serif;
    color: #276015;
    border-bottom:4px dotted #ccc;
}

.intro-text {
    float: right;
    width: 72%;
}

.single #primary {
    width: 70% !important;
}

.single #secondary,
.search-results #secondary {
    width: 25% !important;
}

.search-results .entry-header img {
    float: left;
    margin-right: 40px;
    max-width: 300px;
}

.search-results .entry-header {
    width: 100%;
    float: left;
}

.search-results h3 {
    font-family: "myriad-pro", sans-serif;
}

.search-results .standfirst {
    font-family: "myriad-pro", sans-serif;
    font-weight: 700;
    color: #276015;
    margin-bottom: 10px;
}

.preview-info {
    float: right;
    width: 70%;
}

h3.gc-widget-title {
    text-transform: uppercase;
    font-family: "myriad-pro", sans-serif;
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1.2em;
    padding-bottom: 5px;
    border-bottom: 3px solid #111;
}

.search-results h1 {
    font-family: "myriad-pro", sans-serif;
    font-size: 2.0em;
    border-bottom: 2px solid #276015;
    color: #111;
    padding: 4px;
}

.search-results .site-content {
    padding: 1em 0 0;
}

.search-results .more-link {
    display: none;
}

.search-results .post-thumbnail {
    float: left;
}

/* MOBILE STYLING */

@media all and (max-width: 1199px) {}

/* MOBILE STYLING IPAD UP TO LANDSCAPE */

@media all and (max-width: 1024px) { 

    #primary, .single #primary {width: 100% !important;}
    .intro-text {width: 100% !important; margin-top: 20px;}
    body.page #secondary, aside#secondary.widget-area {float:left; width: 100% !important; margin-top: 20px;}
    .entry-content {padding-right: 0px !important;}
    li.sf-field-post-meta-select_content_type {display:none !important;}
    form#search-filter-form-249 li.sf-field-reset {width: 20%;}
    form#search-filter-form-249 li.sf-field-submit {width: 15%;}
}

@media all and (max-width: 991px) {}

@media all and (max-width: 768px) {

    .home-post img {width: 100% !important; max-width: 100% !important;}
    .intro-text {float:left !important;}
    span.strapline {margin-top: 15px;
        margin-bottom: 15px;
        float: left;
        width: 100%;}

}

@media all and (max-width: 575px) {
    .home-post img {width:100%; max-width:100%;margin-bottom:10px;}
    #non-front-search {width:70%;top:0px;}
    #non-front-search input {font-size:1rem;height:20px;}
    .custom-logo-link img {padding-top:0px!important}
.social-links {top:60px;}

.site-branding {padding:10px 0px 0px 0px;}

form#search-filter-form-249 {
        margin-top: 0px !important;padding-top:100px;padding-bottom:20px;
    }

    .custom-logo-link img {background:transparent!important;}

    .site-branding .wrap {padding-right:0px;}

    #non-front-search {right:45px!important;}

    li.sf-field-search,
    li.sf-field-submit,
    body.page #primary,
    .intro-text,
    body.page #secondary,
    .single #primary,
    .single #secondary,
    .search-results #secondary {
        width: 100% !important;
    }

    li.sf-field-taxonomy-publications,
    li.sf-field-post-meta-select_content_type,
    li.sf-field-reset {
        display: none !important;
    }

    .fivehundred-header {
        margin-left: 0px !important;
        margin-top: 10px !important;
    }
}

/*AM styling*/
/*homepage*/
.navigation-top .wrap {
    background-color: #276015;
}

.navigation-top a {
    color: white;
}

.main-navigation li li a {
    color: black;
}

aside#secondary.widget-area {
    padding: 20px;
    background-color: #e1e8ec;
}

h3 {
    transition: all 0.2s linear;
}

/*a h3:hover {
    color: #276015;
}*/

.intro-text h3 {
    margin-bottom: 0px;
}

.widget a img {
    box-shadow: none;
    -webkit-box-shadow: none;
    margin-right:2em;
}

.rpwwt-widget ul li img {
    width: 100px;
    height: 100px;
}

.rpwwt-post-title {
    font-size: 1.2em;
    line-height: 0.75em;
}

.gallery-caption {
    margin-top:10px;
}

.gallery-item a {
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75em;
}

div.home-posts > div:nth-of-type(even) {
    background: #e1e8ec;
    margin-bottom: 5px;
    margin-top:5px;
}

.home-post {
    padding:20px;
    margin-bottom: 0px;
    min-height: auto;
}

.home-post img {
    width:15%;
    max-width: 15%;
}

body.page #primary {
    padding-left: 1%;
}

.intro-text {
    float: right;
    width: 65%;
    margin-right: 15%;
}

.fivehundred-header {
    z-index: 1;
    border: none;
    background-position: 95% 90%; 
    padding: 20px;
}

.fivehundred-header .strapline {
    color: white;
    padding-bottom: 2px;
    border-bottom: 3px solid #ccc;
}

span.strapline {
    border-bottom: 4px solid  #276015;
    padding-right: 3px;
    padding-bottom: 1px;
}

.fivehundred-header h2 {
    transition: 0.4s all ease;
}

/*.fivehundred-header h2:hover {
    transform: translateX(10px);
}*/

/*articles*/
main#main.site-main {
    padding-left: 5%;
    padding-right: 5%;
}

p.fivehundred-breadcrumb {
    margin-left: -5%;
}

h1.entry-title {
    text-transform: uppercase;
    font-size: 2em !important;
    font-weight: 700;
}

.standfirst p {
    font-size: 1.25rem;
}

.entry-content {
    padding-right: 15%;
}
.entry-content img {
    float: left;
    margin-right: 2em;
}

.entry-content h2 {
    border-bottom: 4px solid  #276015;
}

.entry-content li {
    padding-bottom: 0.5em;
}

/*categories*/
.category .strapline {
    background-color: #276015;
    color: white;
    padding-left:10px;
}

.category h2.entry-title {
    border-bottom: none;
    margin-bottom: -0.5em;
}

.category p.link-more {
    transition: 0.2s all ease;
    background-color: #403b3c;
    color: white !important;
    border-radius: 2px;
}

.category p.link-more:hover {
    color: white;
    background-color: #f6846a;
}

.category p.link-more a.more-link {
    color: white !important;
}

/*AMC – CHANGING GREEN TO LIGHT CORAL*/
.navigation-top .wrap, form#search-filter-form-249 li.sf-field-submit input, form#search-filter-form-249 li.sf-field-reset input {
    background-color: #f6846a;
    border: none;
    color: black;
}

.navigation-top a {
    color: black;
}

h1.five_header {
    background: none;
    color: black;
    font-family: "Bookmania", Palatino, Georgia, Garamond, serif;
    font-weight: bold;
    padding: 0;
}

h1.five_header span {
    color: #808080;
}

h2.bold, h2.widget-title, h2, .entry-content h2 {
    border-bottom: 5px solid #f6846a;
}

span.strapline {
    border-bottom: 4px solid #f6846a;
    color: black;
}

.fivehundred-header h2:hover {
    color: #f6846a;
}

a h3:hover {
    color: #808080;
}

.entry-title a {
    box-shadow: none;
}

.entry-title a:hover {
    box-shadow: none;
    color:  #808080;
}

.ed-letter {
    border-bottom: none;
}

.archive.tax-publications article a.more-link {
    background: #f6846a;
    color: black;
    padding: 5px 10px;
    border-radius: 3px;
    float:right;
    font-weight: 600;
    transition: 0.2s all ease;
}

.archive.tax-publications article a.more-link:hover {
    box-shadow: 5px 5px 15px #cacbd4;
    color:  white;
}

.gallery-item a {
    transition: 0.2s all ease;
}

.gallery-item a:hover {
    color: #808080;
}

.navigation-top .current-menu-item>a, .navigation-top .current_page_item>a {
    color: black;
    font-weight: 700;
}

/*harry styles*/

h1.page-title.category {font-family:"Bookmania", "Palatino", Georgia, Garamond, serif; border-bottom: 5px solid #f6846a; text-transform: none;}

.category .strapline {background-color: #f6846a}

h1.entry-title {font-family: "Bookmania", "Palatino", Georgia, Garamond, serif; font-weight: bold; text-transform: none; font-size: 2.3em !important;}

.standfirst p {font-family:"Bookmania", "Palatino", Georgia, Garamond, serif; font-weight: bold; font-size: 1.35em !important; line-height: 1.35;}


.five-hundred-intro p:first-of-type {font-family: "Bookmania", "Palatino", Georgia, Garamond, serif; color:#f6846a; font-size: 3em;}

.site-header {background-color:black;}

.searchandfilter h4 {color: white;}


h2.bold, h2, .entry-content h2  {font-family:"Bookmania", "Palatino", Georgia, Garamond, serif; text-transform: none; font-weight: bold; font-size: 1.35em !important; line-height: 1.1; border-bottom: none !important;}

h2.entry-title {font-family: "Bookmania", "Palatino", Georgia, Garamond, serif;}

::selection { background: #f6846a; }

a.more-link {}

h3.entry-content {font-family:"Bookmania", "Palatino", Georgia, Garamond, serif !important;}


.interview-image {float:right;}

/*PULLQUOTE STYLES*/
.fivehundred-pullquote {
    background: #f6846a;
    width: auto;
    padding: 15px;
    border-radius: 15px;
    color: white;
    font-family: Bookmania;
    text-align: center;
    max-width:75%;
    text-align:left;
    margin:auto;
    margin-top: 3em;
    margin-bottom: 3em;
    font-size: 1.25em;
}

.fivehundred-pullquote::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 20px 0 0;
    border-color: #f6846a transparent transparent transparent;
    position: absolute;
    transform: skewX(-20deg);
    transform-origin: bottom left;
    margin-top: 45px;
}

@media all and (max-width: 767px) {
    .fivehundred-pullquote::after {
        margin-top: 40px;
    }
}


/*frontpage header*/
.five-hundred-intro {
    background: black;
    color: white;
    padding: 20px;
    overflow: hidden;
}

.five-hundred-intro p:first-of-type {
    font-size: 1.25em;
}

.five-hundred-intro img {
    max-width:30%;
    margin-right:2em;
    float:left;
}

@media all and (max-width: 575px) {
    .five-hundred-intro img {
        max-width:100%;
        float:none !important;
        margin:auto;
        margin-bottom:1em;
    }
}


.entry-header > .entry-title {
    width:70%;
    float:left;
}

.entry-header .interview-image {
    float: left;
}

.entry-header .standfirst {
    clear:both;
    padding-right:15%;
}

.fivehundred-categories .entry-header .entry-title {
    width:auto;
    float:none;
}

p.strapline {
    clear:both;
}

.fivehundred-boxout {
    background: #f6846a; 
    width: 100%; 
    font-family:"Bookmania", "Palatino", Georgia, Garamond, serif !important; 
    padding:1em;
}