/*
Theme Name:   Editorial
Description:  Editorial Theme
Author:       Tom "Balotelli" Myatt
Author URL:   http://multisite.legal500.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:  editorial
*/

/* Write here your own personal stylesheet */

#css-slider { 
    margin: 50px auto; 
    position: relative; 
    width: 580px; 
    height: 183px; 
    padding: 10px; 
}

#css-slider > div { 
    position: absolute; 
    top: 10px; 
    left: 10px; 
    right: 10px; 
    bottom: 10px; 
}

.tax-publication span.back-to-pub {display:none;}

div.empty-block {width: 100px;
    height: 100px;
    margin-right: 1.5em;
    float: none;}
.wrap.asia-pacific-2019-edition #countryList {max-height: 2000px;}
span.back-to-pub {float:left; margin-bottom: 20px;}
span.section-header {float:left; width: 100%; background: #111; color: #fff; padding: 4px; margin-bottom: 20px;}
div.conrow p:nth-of-type(1) {
    float: left;margin-bottom:5px;
  }

div.conrow p:nth-of-type(2) {
    display: inline-block;padding-left:5px;margin-bottom:5px;
  }

div.client-list p {padding-left:10px; border-left:6px solid #bbb;}

.spotlights_wrap img {margin-bottom: 20px; margin-right: 20px;}
.interview_with_wrap {margin-top: 40px;}

ul.work-highlights {margin-left: 15px;}
li.work-highlight {margin-bottom: 10px;}
.client-testimonials, .key-clients {margin: 40px 0px;}
.client-testimonials h4, .key-clients h4, .wrk-hl h4 {border-bottom:1px dotted #eee; color:#990000}
.client-list {column-count: 2;}
.testimonials-list {font-style:italic;}
a.more {    display: inline-block;

    color: #777;
    font-weight: bold;
    before: 4px solid;
    border-bottom: 2px dotted #eee;
    padding-left:5px;
    padding-right: 10px;
}


a.more::before {
    content: "+ ";
   color:#990000;
   font-weight:bold;
  }
a.more:hover {color:#9E8300;}

.client-list p {margin-bottom:10px;}

.firmwriteup {margin-bottom:30px;padding-bottom:30px; border-bottom:1px solid #111;}



.firmwriteup p a {font-weight:600; color:#000;}
.firmwriteup p a.enabled:hover {color:#1a405a;border-bottom:2px dotted #ddd;}
#tables-group div[class*="rising-stars"] .ranking-name a, #tables-group div[class*="leading-individuals"] .ranking-name a, #tables-group div[class*="next-generation"] .ranking-name a, #tables-group div[class*="hall-of-fame"] .ranking-name a {font-weight:600;}
/*div.ranking-name {padding-left:30px; text-indent:-30px}*/
#tables-group div[class*="hall-of-fame"] .ranking-group-tier {margin-left: 0px;}
div.ranking-name a.enabled {font-weight:600; transition:all 0.3s;}
a.enabled {box-shadow:none !important;}
a.non-profiling {font-weight:normal!important;color:#aaa !important; box-shadow:none !important;}
.firmwriteup a.non-profiling {color:#000!important;}
div.ranking-name a.enabled:hover {color:#888; border-bottom: 1px dotted #9E8300} 
h3.micrositeheader {margin-top:30px;}
.home-leaderboard {background-image: none !important; display:none;}
.directory-page #region-nav {float:left; width: 22.5%;}
.directory-page #aside {float:right; width: 22.5%;}
.directory-page #primary {width: 50%; float:left; margin-left: 2.5%;}
#tables-group h3 {text-transform: uppercase;}
#tables-group h3:first-letter {text-transform: uppercase;}
.extra-links.spotlights img {margin-bottom: 10px;}
.extra-links.spotlights a.profile-link {float:right !important;}
.extra-links.spotlights {float:left; width: 100%; margin-top: 30px; border-bottom: 1px solid #ccc; margin-bottom: 20px;}
.extra-links.spotlights h3, .extra-links.spotlights p {width: 100%;}
a.profile-link {
    float:right; background: #eee; padding: 10px;
    }

    a.profile-link:hover {background: #111; color: #eee;}

    span.interview-firm {
        color: #B37A29;
    }
    
    .promo-content .submission-guidelines {float:left; margin-bottom: 20px; width: 100%;}
    .promo-content .submission-guidelines h3 {float:left; margin-right: 30px; margin-top: 10px;}


.spotlight-preview {float:left; width: 100%; margin-bottom: 20px;}

.edit-link {
    float: right;
    background: red;
    color: #fff;
    height: 24px;
}

#tables-group{
   /* column-count: 2;column-gap: 1em;*/
}


@media all and (max-width: 768px) {
    #tables-group{
     /*   column-count: 1;column-gap: 0;*/
    }
}

ul.bpa-menu li a {
    display:block;
}

.site-branding-text {
    font-family: "myriad-pro", sans-serif
}

.wrap {
    max-width: 100%;
    padding: 0px 20px 0px 20px;
}

.bannergroup.leaderboard {
    float: right;
}


.site-content {
    padding: 1.5em 0 0;
}

.navigation-top {
    z-index: 999;
}

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

firm[skip="TRUE"],
span.legalease-display-reference[data-disabled-flag="TRUE"],
person[skip="TRUE"] {
    color: #666;
    font-weight: 600;
}

firm,
span.legalease-display-reference[data-disabled-flag="FALSE"],
person {
    font-weight: 600;
    color: #1a405a;
}

.navigation-top {
    background: #1a405a;
}

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

.navigation-top ul.sub-menu {
    background: #7b9ab0;
}

.banner-grid {
    display: grid;
    grid-template-columns: 200px 200px 200px;
    grid-gap: 10px;
    color: #444;
    margin-bottom: 20px;
}

.banner {
    background-color: #444;
    color: #fff;
    padding: 20px;
    font-size: 150%;
    height: 80px;
}

.entry-header,
.entry-content {
    margin-top: 20px;
}

h2.nav-header,
h3.gc-widget-title {
    text-transform: uppercase;
    font-family: "myriad-pro", sans-serif;
    color: #111;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.2em;
    padding-bottom: 5px;
    border-bottom: 1px solid #9E8300;
}

h2.nav-header span {
    display: block;
    clear: both;
    font-size: 1.45em;
}

h1.page-title-editorial {
    text-transform: uppercase;
    font-size: 1.2em;
    font-family: "myriad-pro", sans-serif;
    font-weight: 600;
    border-bottom: 8px solid #587487;
    padding: 0px 10px 10px 0;
}

h2.page-title-editorial {
    text-transform: uppercase;
    font-size: 1.2em;
    font-family: "myriad-pro", sans-serif;
    font-weight: 600;
    border-bottom: 8px solid #587487;
    padding: 0px 10px 10px 0;
    color: #111;
}

h3.tier-header {
    text-transform: uppercase;
    font-size: 1.1em;
    font-weight: 700;
    font-family: "myriad-pro", sans-serif;
    font-weight: 600;
    padding: 0px 10px 10px 0;
    color: #111;
    float: left;
}

.tax-countries #primary,
.tax-editorial_categories #primary {
    width: 60% !important;
    margin-left: 3%;
    padding-right: 20px;
    border-right: 6px dotted #eee;
}

.anchor-offset {
    padding-top: 150px;
    margin-top: -150px;
}

#ranking-position-0 {
    display: none;
}

.tax-countries #secondary {
    width: 17.5%;
    position: absolute;
    right: 20px;
    top: 110px;
}

.tax-countries #secondary,
.tax-editorial_categories #secondary {
    width: 17.5%; padding-top: 20px;
}

.tax-region #region-nav,
.tax-publication #region-nav,
.tax-country-single #region-nav,
.home #region-nav {
    background: #eee;
    padding: 10px;
    padding-left: 10px !important;
}

.spotlights_wrap p.link-more {
    display: none;
}

.tax-countries #navigation,
.tax-editorial_categories #navigation {
    width: 17.5%;
    float: left;
    padding: 10px;
    background-color: #eee;
}

#ranking-tables h3,
h2.country-intro,
h2.publication-intro {
    border-bottom: 1px solid #9E8300;
    font-weight: 800;
    font-family: "myriad-pro", sans-serif;
}

.ranking-table-col1 {
    float: right;
    width: 33.3%;
    margin-right: 2%;
    clear:right;
}

.ranking-table-col2 {
    float: left;
    width: 33.3%;
}

.ranking-table-col3 {
    float: left;
    width: 33.3%;
}

ul.bpa-menu {
    list-style-type: none;
    margin-left: 0px !important;
}

ul.expand-collapse {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

ul.bpa-menu li {
    transition: all 0.2s;
    margin-bottom: 5px;
    border-bottom: 1px solid #ddd;
    padding: 10px 10px 10px 5px;
}

ul.bpa-menu li:hover {
    border-bottom: 1px solid #587487;
    background-color: #111;
    color: #fff;
    cursor: pointer;
}

ul.bpa-menu li:hover>a,
ul.bpa-menu li a:hover {
    color: #fff !important;
}

ul.bpa-menu li:hover>ul li a {
    color: #ddd;
}

.ranking-list-search-scroll {
    margin-bottom: 20px;
    max-height: 1000px;
    overflow: auto;
}

#ranking-tables .ranking-list-scroll {
    margin-bottom: 40px;
}

#ranking-tables {
    float: left;
    width: 80.5%;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-right: 6px dotted #eee
}

.country .extra-links .link-more {
    display: none;
}

.search-input {
    margin-bottom: 20px;
}

.sidebar.powerlist {
    float: left;
    width: 100%;
    margin-top: 40px;
}

.sidebar.powerlist img {
    float: left;
    margin-right: 20px;
}

.sidebar.powerlist a.gc-link {
    width: 100%;
}

.sidebar.comp-guides {
    float: left;
    width: 100%;
    margin-top: 40px;
}

.sidebar.comp-guides img {
    float: left;
    margin-right: 20px;
}

.ranking-list-scroll a.ranking-num {
    transition: all 0.6s;
    color: #fff;
    background-color: #000;
    padding: 8px 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: block;
    text-align: center;
    font-weight: bold
}

.ranking-number {
    float: left;
}

.ranking-group-tier {
    margin-left: 60px;
    margin-bottom: 20px;
    border-bottom: 3px dotted #eee;
    padding-bottom: 10px;
}

.next-generation-lawyers .ranking-group-tier,
.leading-individuals .ranking-group-tier,
.rising-stars .ranking-group-tier {
    margin-left: 0px;
}

.next-generation-lawyers,
.leading-individuals {
    float: none;
    display: table;
}

.comp-guide-promo {
    float: left;
    width: 100%;
    margin-bottom: 20px;
}

span.interview-link {
    width: 100%;
}

.promo-box {
    background: #eee;
    padding: 10px;
    float: left;
    width: 100%;
    margin-bottom: 20px;
}

.promo-box ul {
    margin-left: 40px;
}

span.guide-name,
span.gc-name {
    font-weight: 700;
}

span.guide-firm {
    color: #9E8300;
}

span.gc-company {
    color: #813772;
}

.leading-lawyers {
    float: none;
    display: table;
}

.ranking-table-sidebar {
    width: 17.5%;
    margin-bottom: 20px;
}

.adspace {
    width: 200px;
    margin: 0px auto;
    max-width:100%;
}

.adspace img {margin-bottom: 20px;}

body.page-two-column:not(.archive) #primary .entry-header {
    width: 22.5%;
}

aside#secondary {
    float: right;
    width: 22.5%;
    /*border-left: 5px dotted #ccc;*/
    background-color: #f5fcff;
    padding: 10px;
    margin-top:10px;

}

body.page-two-column:not(.archive) #primary .entry-content {
    float: left;
    width: 50%;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

.editorial-category .ranking-table-col1:first-of-type {
    width: 60% !important;
    float:left;
}

.editorial-category .ranking-table-col1 {
    width: 35% !important;
}

.ranking-nav {
    width: 21.75%;
    float: left;
    margin-right: 3%;
    padding: 10px;
    background-color: #eee;
}

#tables-group {
    width: 75%;
   float: left;
}

/*.ranking-group-tier.tier3, .ranking-group-tier.tier4, .ranking-group-tier.tier5, .ranking-group-tier.tier6, .ranking-group-tier.tier7, .ranking-group-tier.tier8, .ranking-group-tier.tier9, .ranking-group-tier.tier10, .ranking-group-tier.tier11, .ranking-group-tier.tier12 {width: 40%; margin-left: 20px; min-height: 150px;}
/*.ranking-group-tier.tier3, .ranking-group-tier.tier5, .ranking-group-tier.tier7, .ranking-group-tier.tier9, .ranking-group-tier.tier11 {float:left;}
.ranking-group-tier.tier4, .ranking-group-tier.tier6, .ranking-group-tier.tier8, .ranking-group-tier.tier10, .ranking-group-tier.tier12 {float:left;}*/
.sub-cat {
    list-style-type: none;
}

ul.sub-links {
    margin-top: 10px;
}

#countryList {
    max-height: 1000px;
    overflow: auto;
}

span.down {
    float: right;
}

span.up {
    float: right;
    display: none;
}

.ranking-name {
    padding: 4px;
    transition: all 0.3s;
}
/*.ranking-name > a {padding:5px} */
.ranking-name > a.enabled:hover {
    background-color: #eee;
}

.interview_with,
.powerlist_with {
    clear: both;
    display: flex;
    margin-bottom: 30px;
}

.interview_with_wrap img {
    width: auto;
    max-height:100px;
    max-width:100px; margin-bottom:10px;
float:none;}

.powerlist_with p {
    margin-left: 10px;
}

a.moremore {
    margin-top: 20px;
}

a.moremore:hover {
    border-bottom: 3px dotted #ccc;
    color: #9E8300;
}

.pr-de {float:left; width: 100%; margin-bottom: 10px; border-bottom: 1px dotted #9E8300; padding-bottom: 10px;}
.pr-de h3 a {font-size: 0.8em; line-height: normal;}

/* MOBILE STYLING */


@media all and (max-width: 1412px) {
    .interview_with {display:block;}
    span.interview-link {display:block;}
main {margin-top: 10px !important;}
}

@media all and (max-width: 1199px) {h2.nav-header span {font-size:1.1em;}}

/* MOBILE STYLING IPAD UP TO LANDSCAPE */

@media all and (max-width: 1024px) {
    .sidebar.comp-guides img {margin-right: 50px; margin-bottom: 20px;}
    .ranking-nav {width: 100% !important; margin-bottom: 20px;}
    .site-branding {height: 120px;}
    .tax-countries #navigation, .tax-editorial_categories #navigation {width: 100% !important; margin: 20px 0px 20px 0px !important;}
}

@media all and (max-width: 991px) {h2.nav-header span {font-size:0.9em;} 

.editorial-category .ranking-table-col1, .editorial-category .ranking-table-col1:first-of-type {width:98%!important;}
#non-front-search  {width:50%;}

#tables-group {width:65%;}
.ranking-nav {width:31.75%;}

.tax-countries #navigation, .tax-editorial_categories #navigation {width:25.3%;}


.tax-countries #primary, .tax-editorial_categories #primary {width:52.2%!important;}
.site-branding {height:120px;}
.other-leaderboard {left:25%; top:70px;}

.interview_with img {max-width:100%;}
.tax-countries #primary, .tax-editorial_categories #primary {width:95%!important; border-right:0px;}

}

@media all and (max-width: 768px) {body.page-two-column:not(.archive) #primary .entry-header {width:100%;margin-bottom:10px;}
body.page-two-column:not(.archive) #primary .entry-content {width:70%;}
.other-leaderboard {left:20%;}


#left-col-pub-dir {width: 100% !important;}

.tax-countries #navigation, .tax-editorial_categories #navigation {width:32%;}

.tax-countries #primary, .tax-editorial_categories #primary {width:95%!important; border-right:0px;}

.tax-countries #secondary, .tax-editorial_categories #secondary {position: relative;
    float: none;
    width: 100%;
    clear: both;
    margin: 20px auto;top:0px; right:0px;}

    .tax-editorial_categories #secondary img {width:auto !important;}

    #ranking-tables {width:100%;border-right:0px;}
}

@media all and (max-width: 575px) {  
#navigation .promo-box {display:none;}
.editorial-category .ranking-list-search-scroll {margin-top: 20px;}

.interview_with img {max-height: none; max-width: 100px; float:left; margin-right: 20px;}
.homepage-spotlight img {float:right;}
    #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;}
#region-nav {float:left !important; width: 100% !important;}
ul {margin-left: 20px;}
.directory-page #primary {width: 100%; margin-top: 20px;}
h1.page-title-editorial {text-align: center;}
.tax-country-single .harmonia-select {margin-top: 20px;}
#navigation .promo-box h2, .tax-publication .promo-box h2  {display:none;}
.country .promo-box p, #navigation .promo-box p, .tax-publication .promo-box p {float:left; width: 45%;}
.country .promo-box button, #navigation .promo-box button, .tax-publication .promo-box button {float:right; width: 50%;}
span.back-to-pub { width: 100%; float:none;}
.sidebar.comp-guides {margin-top: 20px;}
.tax-publication .harmonia-select {float: none;}
.home #region-nav {float:left; width: 100%; margin-bottom: 20px;}
.site-branding {height:120px;padding:10px 0px 0px 0px;}
    select {width: 100%; float:left;}
    .site-branding a.custom-logo-link img {margin-left:10px;width:50px;}
    body.page-two-column:not(.archive) #primary .entry-header {
        width: 100%;
    }
    .custom-logo-link img {padding-top:0px!important}
    body.page-two-column:not(.archive) #primary .entry-content {
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
    }

    aside#secondary {
        width: 100%;
    }

    .tax-countries #secondary {
        position: relative;
        float: left;
        right: 0px;
        top: 0px;
    }

    .entry-header,
    .entry-content {
        margin-top: 0px;
    }

    .adspace {
        display: none;
    }

    .home #primary {
        padding: 10px;
    }

    .ranking-nav,
    .tax-countries #navigation,
    .tax-editorial_categories #navigation,
    .tax-countries #primary,
    .tax-editorial_categories #primary,
    .tax-countries #secondary,
    .tax-editorial_categories #secondary {
        width: 100% !important;
        margin-left: 0px !important;
        margin-bottom: 20px;
        margin-top:0px!important;
    }

    #tables-group,
    .editorial-category .ranking-table-col1:first-of-type,
    .editorial-category .ranking-table-col1 {
        width: 100% !important;
        margin-right: 0px !important;
    }

    #ranking-tables {
        width: 100%;
        border-right: none;
    }

    .tax-countries #primary,
    .tax-editorial_categories #primary {
        border-right: none;
        padding-left:0px;
    }

    .entry-header .search-input,
    .ranking-nav .search-input {
        display: none;
    }

}


.hide-more{display:none;}

.hide-item{display:none;}

.hide-more.hide-more-show{display:block;}

/* HOF badge */
a.hof {
    position: relative;
    margin-right: 30px;
}
a.hof:after {
    position: absolute;
    top: -1px;
    font-size: 6px;
    content: "";
    margin-left: 4px;
    background: transparent url(hall_of_fame.gif) center left no-repeat;
    color: white;
    width: 25px;
    height: 16px;
}

div[class*="hall-of-fame"] a.hof:after {display:none;}
div[class*="hall-of-fame"] a.hof {margin-right: 0px;}

/*D+I AM*/
.diversity_banner:before {
    content: 'D&I';
    background-color: #2C1344;
    padding: 5px 10px;
    color: white;
    margin-right: 1em;
    font-size:1.25em;
    font-weight: 500;
    box-shadow: 5px 5px 15px #cacbd4;
    display: inline-block;
    border-left: solid 3px #00ccff;
}

.diversity_banner {
    color:  #2C1344;
    font-weight: 600;
}

.diversity_banner a {
    border-bottom: 4px solid  #cacbd4;
    padding-bottom: 3px;
    width:70%;
    display: inline-block;
}


/*Firms in the Spotlight AM*/
.extra-links.spotlights img {
    clear:both;
    float:left;
}

.extra-links.spotlights p {
    clear:both;
    float:left;
    width: 100% !important;
}

.extra-links.spotlights h3 {
    width: 100% !important;
}

.extra-links.spotlights a.profile-link {
    clear: both;
    margin-top:-2%;
    margin-right:5%;
    background: #1a405a;
    color: white;
    padding:5px 10px;
    border-radius: 2px;
    transition: 0.2s all ease-in-out;
    border: none;
    text-decoration: none;
    box-shadow: none;
    float:left;
}

.extra-links.spotlights a.profile-link:hover {
    background: #587487;
}

/*Middle East GC sidebar AM*/
.sidebar-block {
    padding:20px 30px;
    background: #e1e8ec;
}

.sidebar-block image {
    padding: 1em;
}

.sidebar-block a h4 {
    transition: 0.2s all ease;
}

.sidebar-block a h4:hover {
    color: #1a405a;
}

/*AM DE NEWSLETTER STYLING FEB 2021*/
.de-newsletter {
    width: 80%;
    display: block;
    margin: auto;
}

.de-newsletter h3 {
    border-bottom: #efaa3f 5px solid;
    text-transform:uppercase;
}

.de-newsletter p {
    clear:both;
}

p#de-interview-name {
    color: #162138;
    clear:none;
    font-weight:bold;
    }




img#de-newsletter-header {
    float:none;
    margin:0;
}

.editors-message {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.editor-info {
    display: flex;
    flex-direction: column;
    width: 20%;
}

.editor-info img {
    margin-bottom:1em;
}

.ed-letter-content {
    display: flex;
    flex-direction: column;
    width: 70%;
}

h3#editors-title {
    width:100%;
    margin-bottom:2em;
}

.de-newsletter-bio {
    display: flex;
    flex-wrap: wrap;
    color: white;
    background: #172237;
    margin-bottom: 2em;
    justify-content: space-evenly;
    align-items: center;
}

.de-newsletter-bio .bio-image {
    width: 30%;
}

.de-newsletter-bio .bio-text {
    width: 65%;
    padding:  1em;
}

.de-newsletter-bio .bio-text p:last-of-type {
    margin-bottom: 0;
}

@media all and (max-width: 1024px) { 
    .de-newsletter {
width:100%;
    }
}

@media all and (max-width: 1280px) {
    .de-newsletter-bio {
        padding:2em 3em;
    }
    .de-newsletter-bio .bio-text {
        width:100%;
        padding:0;
    }
    .de-newsletter-bio .bio-image {
        margin-bottom: 2em;
        width: 45%;
    }
    .de-newsletter-bio .bio-image img {
        display: block;
        margin: auto;
    }
}

@media all and (max-width: 900px) {
    .editor-info {
        flex-direction:row;
        width:100%;
        order: 2;
        flex-wrap:wrap;
        align-items: center;
    }
    .editor-info img {
        margin-right:1em;
    }
    .ed-letter-content {
        width:100%;
    }
}

@media all and (max-width: 650px) {
    .de-newsletter-bio .bio-image {
        width:80%;
    }

}
@media all and (min-width: 1600px) {
.de-newsletter {
    width: 60%;
float:left;
margin-left:5%;
}
}