/*
Theme Name:   The In-House Lawyer
Description:  IHL
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:  the-in-house-lawyer
*/

/* Write here your own personal stylesheet */
.gc-issue-nav select {width: 100%;}
.home h1 {font-family: "myriad-pro", sans-serif; border-bottom: 1px solid #cd1719;}
.single-post #primary {max-width: 70% !important; float:left;}
.single-post #secondary {max-width: 25%; float:right;}
.tax-ihl_issue header.page-header {width: 100% !important;}
.tax-ihl_issue article, .category article {float:left !important; width: 100% !important;}
#search-filter-form-4882 {
    margin: 55px 0px -30px 0px;
}

.wrap {
    max-width: 100% !important;
}

.twentyseventeen-front-page .site-content {
    padding: 20px;
}

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

span.more-img {
    float: left;
    margin-right: 12px;
}

.issue-more {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 20px;
    min-height: 200px;
}

img.lawyer-photo {
    float: left;
    margin: 0px 20px 20px 0px;
    max-width: 150px;
}

.home-briefing {
    float: left;
    width: 100%;
    border-bottom: 1px dotted #ccc;
}

.home-briefing a {
    width: 65%;
    float: right;
    margin-top: 24px;
}

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

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

img.home-logo {
    float: left;
    margin: 0px 20px 20px 0px;
    max-width: 100px;
}

.cont-firm,
.cont-lawyers,
.cont-lawyer,
a.l500-link {
    width: 100%;
    float: left;
}

.cont-lawyer {
    border-bottom: 2px solid #111;
    margin-bottom: 20px;
}

a.l500-link {
    font-weight: bold;
}

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

.navigation-top .wrap a {
    color: #fff;
}

.bannergroup.leaderboard {
    float: right;
}

h1.entry-title {
    color: #cd1719;
    font-family: "myriad-pro", sans-serif;
    font-weight: bold;
}

li.sf-field-search {
    width: 32%;
}

li.sf-field-search label {
    width: 100%;
}

.chosen-container-multi .chosen-choices {
    padding: 7px 5px;
}

.searchandfilter select.sf-input-select {
    max-width: 400px;
}

body.page h3,
h1.site-title a {
    color: #cd1719;
    font-family: "myriad-pro", sans-serif;
    font-weight: bold;
}

#col2-ihl img {
    float: left;
    margin-right: 12px;
}

.entry-content h2 {
    color: #cd1719;
    font-family: "myriad-pro", sans-serif;
    font-weight: bold;
}

.entry-content h3 {
    color: #cd1719;
    font-family: "myriad-pro", sans-serif;
    font-weight: bold;
}

.entry-content h4 {
    color: #cd1719;
    font-family: "myriad-pro", sans-serif;
    font-weight: bold;
}

.entry-content h5 {
    color: #cd1719;
    font-family: "myriad-pro", sans-serif;
    font-weight: bold;
    text-transform: none;
    font-size: 1.4em;
}

.entry-content p {
    font-family: 'arial';
    font-size: 1em;
}

.entry-content a {
    font-weight: bold;
    text-decoration: none;
    color: #cd1719;
}

.entry-content ul {
    list-style: none;
    margin-left: 2.5em;
}

.entry-content ul li::before {
    content: "■";
    color: #cd1719;
    display: inline-block;
    width: 1em;
    margin-left: -2.5em;
    margin-right: 1.5em;
}

.entry-content ol {
    list-style: none;
    counter-reset: li;
    margin-left: 1em;
    
}

.entry-content ol li {
    counter-increment: li;
    margin-left:1em;
}

.entry-content ol li::before {
    content: counter(li);
    font-weight: bold;
    font-family: "myriad-pro", sans-serif;
    color: #cd1719;
    display: inline-block;
    width: 1em;
    margin-left: -2.5em;
    margin-right: 1.5em;
    text-align: right;
    direction: rt1;
}

h3.ihl-widget {
    border-bottom: 3px solid #cd1719;
    font-family: "myriad-pro", sans-serif;
    font-weight: bold;
}

blockquote p {
    font-family: "myriad-pro", sans-serif;
    font-size: 1.25em !important;
    color: #cd1719;
    font-weight: bold;
    font-style: normal;
}


.boxoutstyle {
    float: left;
    background-color: #cd1719;
    border: none;
    padding: 15px;
    margin-left: 5px;

}

.boxoutstyle p {
    color: #fff;
}

.boxoutstyle strong {
    color: #fff;
    font-family: "myriad-pro", sans-serif;
}

.boxoutstyle h4,
.boxoutstyle h2,
.boxoutstyle h3,
.boxoutstyle a {
    color: #fff;
}


.boxoutstyle h5 {
    color: #fff;
    letter-spacing: 0em;
}

.boxoutstyle h6 {
    font-family: "myriad-pro", sans-serif;
    color: #fff;
}

img {
    margin-bottom: 20px;
    min-height: auto;
}

body.archive aside#secondary.widget-area div.ihl-issue-nav {
    color: #cd1719;
}

#col1-ihl {
    width: 39.5%;
    float: left;
    margin-right: 1%;
}

#col2-ihl {
    width: 31.5%;
    float: left;
    margin-right: 1%;
}

#col3-ihl {
    width: 27%;
    float: left;
}

#col1-ihl ul {
    list-style-type: none;
    margin-left: 0px;
}

#col1-ihl ul li img {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

#col1-ihl ul li {
    min-height: 220px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

#col1-ihl ul li:hover {
    background-color: #efefef;
}

#col1-ihl ul li:hover>h3 {
    border-bottom: 2px solid #efefef;
}

#col1-ihl ul li h3 {
    background-image: repeating-linear-gradient(45deg, #f9f9f9, #f9f9f9 10px, #fff 10px, #fff 20px);
    padding-left: 5px;
    border-bottom: 2px solid #fff;
}

#col1-ihl ul li h3:hover {
    color: #000;
    border-bottom: 2px solid #000;
}

#col1-ihl ul li span.feature_intro {
    height: 160px;
}

#col2-ihl ul {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    margin-left: 0px;
    list-style-type: none;
}

#col3-ihl {
    background-image: repeating-linear-gradient(45deg, #f9f9f9, #f9f9f9 10px, #fff 10px, #fff 20px);
    padding: 5px 10px;
    margin-top: -5px;
}

.page-id-553078 h1 {
    font-family: "myriad-pro", sans-serif;
    font-weight: bold;
    color: #aaa;
}

.main-navigation ul ul {
    background: #ccc;
}
.category .entry-header img,
.tax-ihl_issue .entry-header img,
.search-results .entry-header img {
    float: left;
    margin-right: 40px;
    max-width: 150px;
}
.category .entry-header,
.tax-ihl_issue .entry-header,
.search-results .entry-header {
    width: 100%;
    float: left;
}
.tategory h3,
.tax-ihl_issue h3,
.search-results h3 {
    font-family: "myriad-pro", sans-serif;
}
.category #primary,
.tax-ihl_issue #primary,
.search-results #primary {
    width: 70% !important; float:left !important;
}

.category #secondary, .tax-ihl_issue #secondary,
.search-results #secondary {
    width: 25% !important;
    float:right !important;
}

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

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

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

p.site-title a {
    color: #cd1719;
    font-family: "myriad-pro", sans-serif;
    font-weight: bold;
}

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

.category .site-content, .tax-ihl_issue .site-content,
.search-results .site-content {
    padding: 1em 0 0;
}

/* MOBILE STYLING */

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

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

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

    #non-front-search .search-form .search-submit {right: 0px;}   

.site-links ul {list-style-type: none;}
.single-post #primary, .single-post #secondary, .category #primary, .tax-ihl_issue #primary, .search-results #primary, .preview-info, .category #secondary, .tax-ihl_issue #secondary, .search-results #secondary {float:left !important; width: 100% !important; max-width: 100% !important;}
figure {margin-right: 100px !important;}
div {max-width: 100%; overflow: auto;}
    
}

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

    #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:70px;}

#search-filter-form-4882 {float:left; width: 100%; margin-bottom: 10px; margin-left: 10px;}

.site-branding {padding:10px 0px 0px 0px;}
    .site-branding .wrap {padding-right:0px;}
    li.sf-field-search,
    li.sf-field-submit,
    li.sf-field-submit input,
    #col1-ihl,
    #col2-ihl,
    #col3-ihl {
        width: 100% !important;
    }

    li.sf-field-reset,
    li.sf-field-post-meta-firm_display,
    li.sf-field-category,
    li.sf-field-taxonomy-ihl_issue {
        display: none !important;
    }
}

/*AM styling*/
ul.issue-list .issue img {
    max-height: 400px;
}

ul.issue-list .issue {
    width:30%;
    float: left;
    margin: 1%;
}

ul.issue-list .issue h3.gc-widget-title {
    border: none;
    margin-left:1em;
}

ul.issue-list .issue h3.gc-widget-title a, .preview-info a h3 {
    transition: 0.2s color ease-in-out;
}

ul.issue-list .issue h3.gc-widget-title a:hover, .preview-info a h3:hover {
    color:#cd1719;
}

.preview-info {
    width:80%;
    float:left;
}

p.link-more {
    float:right;
}

p.link-more a.more-link {
    background-color:#cd1719;
    color: white;
    font-weight: 500;
    padding: 7px 12px;
    margin-top: -2%;
    transition: all 0.2s linear;
}

p.link-more a.more-link:hover {
background-color: #e1e8ec;
color: #cd1719;
box-shadow: 5px 5px 15px #cacbd4;
}

.standfirst span {
    border-bottom:4px solid #cd1719;
    padding-right: 1px;
    padding-bottom: 1px;
}

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

/*AM MOB STYLING*/
@media all and (max-width: 768px) {
    ul.issue-list .issue {
        width:90%;
    }
    }

    @media all and (max-width: 1429px) {
        .preview-info {
            width:75%;
        }
        article.preview-post header.entry-header img {
            max-width: 15%;
        }
    }

.preview-info h3 span {
    color: #cd1719 !important;
}

/*AM disputes yearbook*/
#disputes-content {
    float:none !important;
    width:auto !important;
    margin-left:5em;
}

.disputes-link {
    width:35%;
    float:left;
    margin-right:5em;
}

.disputes-link-text {
    width:75%;
    float:left;
    clear:both;
    border-top: 1px solid #cd1719;
    padding-top:2em;
    margin-top:2em;
}

.disputes-link h2 > a {

    box-shadow: none !important;
    border-bottom:none !important;
    text-decoration: none !important;

}

#disputes-pic-grid {
    clear:both;
    width:75%;
}

.disputes-grid > div {
    float:left;
    max-width:45%;
    margin-right:2em;
    margin-bottom:2em;
}


@media (max-width: 800px) {
.disputes-link, .disputes-link-text {
    width: 90%;
    min-height: auto;
    padding: 0;
    margin: 1em;
}
#disputes-content {
    margin-left:auto;
}
}

@media (max-width: 1459px) {
    #div-gpt-ad-1695820935421-0 {display:none;}
  }

.fwp-ad-temp {
    margin-top: 2em;
}

@media (min-width: 1000px) { 
/*new header logo*/

.logo-inline-stack {
    display:flex;
align-items:flex-start;
padding:20px;
}
a.custom-logo-link {
    position:relative;
}
.custom-logo-link img {
    width:150px;
    max-width:150px;
    max-height:unset;
    margin-bottom:0;
}
.second-logo {
    margin:unset;

}
.second-logo .custom-logo-link img {
    height:35px;
    width:35px;
}
#search-filter-form-4882 {
    margin-top:-50px;
}
}

@media (max-width: 1000px) {
.second-logo {
    display:none;
}
.custom-logo-link img {
    width:150px;
}
#search-filter-form-4882 {
    margin-top:-5px;
    width:100%;
}
}
@media (max-width: 575px) {
    .custom-logo-link img {
        width:250px !important;
}
#search-filter-form-4882 {
display:none;
}
#non-front-search {
    float:none;
    top:unset;
    right:unset;
    width:100%;
    margin-top:69px;
    margin-bottom:20px;
}
}