/*
Theme Name:   Legal Devs
Description:  Developments and Press Releases theme
Author:       Tom Myatt
Author URL:   https://www.legal500.com
Template:     twentyseventeen
Version:      1.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  legal-devs
*/
.article-intro-search .breadcrumb {float:left; width: 100%; background: #111; color: #fff; padding-left: 4px;}
aside#secondary.widget-area .sidebar-login h2 {border-bottom: 2px solid #587487 !important; text-transform: none; font-size: 22px; font-family: "myriad-pro", sans-serif; color: #111;  font-weight: 700;  line-height: 1.2em; padding-bottom: 5px;}
h3.sidebar-heading {border-bottom: 2px solid #587487;}
.add-new {float:left; width: 100%;margin-top: 140px; margin-bottom: -35px;}
.front-end-creation .acf-field-5d515619530f4, .front-end-creation .acf-field-5d51563f530f5, .front-end-creation .acf-field-5d568a1a1a9fc {width: 33.3%; margin-top: 40px; float:left;}
.front-end-creation .acf-form-submit {margin-top: 40px;}
.front-end-creation .wp-editor-tabs {display: none;}
.front-end-creation p.description {margin-top: 20px !important; background: lightblue; padding: 8px !important; font-weight: 600; font-size: 0.8em;}
.front-end-creation h1 {text-align: center; font-size: 2.8em !important; font-family: "myriad-pro", sans-serif; border-bottom: 8px solid #587487;}
.front-end-image .acf-image-uploader {margin: 25px 0px 25px 0px;}
.front-end-creation .acf-form-submit .acf-button {border: 2px dotted #fff; background: darkred; padding: 8px; text-align: center; color: #fff; font-size: 1.6em; padding: 20px; width: 100%;}
.front-end-creation .acf-button:hover {opacity: 0.8;}
.front-end-creation .acf-field .acf-label label {font-weight: 600; border-bottom: 2px solid #587487; font-size: 1.4em;}
.front-end-image, .front-end-date, .front-end-lang, .front-end-parent, .front-end-office, .front-end-countries {float:left; width: 33%; clear:none !important; min-height: 175px;}
h2.two-line-trim {min-height: 60px; float:left; width: 100%; min-height: 92px;}
h2.two-line-trim a {margin-top: 0px;}
.two-line-trim { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; /* number of lines to show */ -webkit-box-orient: vertical; }
.three-line-trim { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; /* number of lines to show */ -webkit-box-orient: vertical; float:left; margin-bottom: 40px; }
.top-right {float:left; width: 100%; background: #111; color: orange; text-align: right; padding: 4px;}
.featured-firm a {font-family:"myriad-pro", sans-serif; font-weight: 600; font-size: 0.8em;}
#search-filter-form-30568 .sf-field-post_type label {font-family:"myriad-pro", sans-serif; font-weight: 600; font-size: 1.0em;}
#search-filter-form-30568 .sf-field-post_type {float:left; margin-top: -62px; margin-left: 225px;}
#search-filter-form-30568 .sf-field-post-meta-parent_firm .chosen-single {max-width: 195px;}
#search-filter-form-30568 .sf-field-post-meta-parent_firm {max-width: 195px; margin-right: 20px;}

#search-filter-form-30568 .sf-field-post-meta-published_countries .chosen-single {max-width: 195px;}
#search-filter-form-30568 .sf-field-post-meta-published_countries {max-width: 195px; margin-right: 20px;}

#search-filter-form-30568 .sf-field-post-meta-topic .chosen-single {max-width: 195px;}
#search-filter-form-30568 .sf-field-post-meta-topic {max-width: 195px; margin-right: 20px;}

#search-filter-form-30568 .sf-field-search input {width: 300px;}
#search-filter-results-30568 .pagination {float:left; border: 1px solid #ddd; padding: 10px; width: 100%; margin-top: -20px; margin-bottom: 20px;}
#search-filter-results-30568 .pagination .found {font-size: 1.8em;}
#search-filter-results-30568 .pagination .nav-next {float:left; min-width: 100px; padding: 1px;}
#search-filter-results-30568 .pagination .nav-previous {float:right; min-width: 120px; padding: 1px;}
span.firm-info {float:left; width: 100%; margin-top: 4px; margin-bottom: 10px;}
#search-filter-results-30568 .breadcrumb {
    float: left;
    background: #111;
    opacity: 0.6;
    width: 100%;
    color: #fff;
    padding: 6px;
}
#search-filter-form-30568 ul {margin-left: 0px; margin-top: -36px;}
.artwork {width: 100%; float:left; height: 278px; background: #ddd; text-align:center; line-height: 5;}
span.post-type {
    float: right;
    height: 50px;
    width: 50px;
    margin-bottom: -50px;
    z-index: 9999;
    position: relative;
    background: #ddd;
}


#post-listings-wrapper {display:flex; flex-wrap: wrap; width: 100%; margin-left: 1.5%; margin-bottom: 40px;}
#post-listings-wrapper::after {content: ""; flex: auto;}
.article-intro-search {flex: 1 1 30%; margin-right: 3%; max-width: 416px;}
.article-intro-search .artwork {position:relative; height: 277px;}
.article-intro-search .artwork .breadcrumb {line-height: 1.8; position: absolute; bottom: 0px;}
span.add {background:#0B2230; color: #fff; padding: 10px; text-align:center; margin-top: -100px; border-radius: 15px;}
span.add:hover {background: #3F6D8E;}

.article-intro-search:nth-child(3n+1) .artwork {background-size: contain; background-image: url("https://www.legal500.com/developments/wp-content/uploads/sites/19/2020/10/microphone-scaled.jpg");}
.article-intro-search:nth-child(3n+2) .artwork {background-size: contain; background-image: url("https://www.legal500.com/developments/wp-content/uploads/sites/19/2020/10/lady-justice-sml.jpg");}
.article-intro-search:nth-child(3n+3) .artwork {background-size: contain; background-image: url("https://www.legal500.com/developments/wp-content/uploads/sites/19/2020/10/boscaro.jpg");}

#post-listings-wrapper {display:flex; flex-wrap: wrap; width: 100%; margin-left: 1.5%; margin-bottom: 40px;}
#post-listings-wrapper::after {content: ""; flex: auto;}
.article-intro-search {flex: 1 1 30%; margin-right: 3%;}

span.add {background:#1a405a; color: #fff; padding: 10px; text-align:center; margin-top: -100px;}

span.add-pr {float:left;}
span.add-dev {float:right;}
.developments-home .post-heading, .press-release-home .post-heading {width: 100%;}
.developments-home .post-heading--logo, .press-release-home .post-heading--logo {margin: 0px 0px 10px 10px;}
.single .post-heading {width: 100%;}
.firms-list {max-height: 400px; overflow: auto;}
.pr-about { background-color: #f0f7fb; border-left: solid 4px #3498db; padding: 12px; margin-bottom: 20px;}
.pr-about a {font-weight: 600;}
li#menu-item-11268 {border-right: 3px dotted #111;}
.single-press_releases h2 a, .single-legal_developments h2 a {border-bottom: 1px solid #9E8300;}
.post-type-archive header.page-header h1 {padding: 10px 0px 10px 10px;}
span.country {color: #3399ff;}
.publishing-firms {float:left; margin-top: 20px;}
.post-type-archive header.page-header {margin-bottom: 0px;}
.legal-dev.archive p, .press-release.archive p {font-weight: 400 !important;}
.post-type-archive-press_releases .author a, .post-type-archive-legal_developments .author a {font-weight: 600; border-bottom: 1px solid #9E8300;}
/* Write here your own personal stylesheet */
#region-nav {
    background: #eee;
    padding: 10px; margin-top: 40px;}

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

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

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

.chosen-container-multi input {padding: 14px 0px 14px 0px !important;}

form#search-filter-form-17793 {float:left; width: 100%;}
form#search-filter-form-17793 li.sf-field-search {width: 32%; margin-right: 10px;}
form#search-filter-form-17793 li.sf-field-search input, form#search-filter-form-17793 li.sf-field-search label {width: 100% !important;}

form#search-filter-form-17793 li.sf-field-post-meta-parent_firm {width: 23%; margin-right: 10px;}
form#search-filter-form-17793 li.sf-field-post-meta-parent_firm input, form#search-filter-form-17793 li.sf-field-post-meta-parent_firm label, form#search-filter-form-17793 li.sf-field-post-meta-parent_firm .chosen-container {width: 100% !important;}

form#search-filter-form-17793 li.sf-field-post_date {width: 21%;}
form#search-filter-form-17793 li.sf-field-post_date li {width: 50%;}

.home #primary {width: 100% !important;}
#left-col {float:left; width: 20%; margin-right: 2.5%;background-color: #b7b7b7;}
#middle-col {float:left; width: 35%; margin-right: 2.5%;}
#right-col {float:right; width: 35%;}
.site-main ol, .site-main ul {margin-left: 40px;}
.navigation-top .wrap {max-width: 100%; background: #ccc;}
.site-content .wrap {max-width: 100%;}
.site-header .wrap {max-width: 100%;}
.site-content {padding: 1.5em 0 0;}
.has-sidebar:not(.error404) #primary, #primary {width: 75%; float:left;}
.has-sidebar #secondary, #secondary {width: 22.5%; float:right;}
.panel-content .wrap {padding-top: 1em;}
.archive:not(.page-one-column):not(.has-sidebar) #primary article {width: 100%;}
h1.entry-title-development {font-family: "myriad-pro", sans-serif;
    color: #111;
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1.2em;
    padding-bottom: 5px;
    border-bottom: 1px solid #9E8300;
}

#primary{
    padding: 1em 0 2em;
}
.entry-content,
.entry-header{
    width: 100%!important;
}

.search-filter{
    padding: 0.75em 2em;
}
.searchandfilter ul li,
.searchandfilter>ul>li {
    display: inline-block;
    padding-right: 10px!important;
}


.post-heading{
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}
.post-heading--logo{
    padding-right: 10px;
    max-width: 200px;
    height: auto;
    float:left;
}
.post-heading--logo-list{
    max-width: 90px;
}
.post-heading--title{
    margin: 0;
    padding: 0;
}
.post-heading--company-title{
    font-size: 12px;
    font-weight: bold; margin-bottom: 8px;
}

.navigation.pagination {width: 100%;}

.post-heading--more-in-country .post-heading--logo{
    max-width: 90px;
}
.post-heading--more-in-country .post-heading--title{
    font-weight: bold;
    text-align: center;
}

/*AM styling*/
body {
    transition: 0.5s;
    transition-timing-function: ease;
}

h4.post-heading--title {
    transition: 0.2s all ease;
    font-weight: 600;
    font-size: 1.25em;
}

.post-heading--company-title{
    color: gray;
    /*margin-left: 135px;*/
    margin-top: 10px;
    font-weight: 600;
}

/*left column*/

#left-col {background-color: #dbdbdb;}
#left-col h1, #left-col p {
    padding: 5% 5% 0% 5%;}
#left-col h1 {
    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 {
    border-bottom: solid  #dbdbdb 2px; 
}

h2.nav-header span {
    color:  #1E33AD !important;
}

/*developments column*/

#middle-col {
    margin-left: 2.5%;
    border-right: 2px #dbdbdb solid;
    padding-right: 5%;

}

.post-heading a h4:link {
    color: inherit;
    transition: all 0.5s;
    transition-timing-function: ease; 
}

#middle-col .post-heading a h4:hover {
    color:  #1E33AD;
}

.post-heading--title {margin-bottom: 10px;
}

p.link-more {
    margin-top: 5%;
    float: right;
    margin-right: 15px;
}
a.more-link { display:none;
   /* background-color:  #111;
    color: white;
    padding: 10px;
    border-radius: 3px;
    margin-top: 10%;
    transition: 0.3s;
    transition-timing-function: ease; 
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75em; */
}

/*a.more-link:hover {
    background-color: #dbdbdb;
    color: #1E33AD;
    border-bottom: #1E33AD solid 2px;
}*/

#middle-col .collection-list__item {
    margin-bottom: 10px;
    border-bottom: solid  #dbdbdb 2px;
    padding-bottom: 2%;
    padding-top: 2%;
}

#middle-col .collection-list__item p {
    color:#48464C;
}

#developments h2 {
    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;
}

/*press releases column*/
#press-release .collection-list__item {
    margin-bottom: 10px;
    border-bottom: solid  #dbdbdb 2px;
    padding-bottom: 2%;
    padding-top: 3%;
}

#press-release h2 {
    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;

}

#right-col .post-heading a h4:hover {
    color:  #1a405a;
}

/*aside widget*/
aside#secondary.widget-area #developments h2, aside#secondary.widget-area #press-release h2 {
    border-left: none;
}

aside#secondary.widget-area .collection-list__buttons {
    margin-top: 5px;
    margin-bottom: 15px;
}

aside#secondary.widget-area p.link-more {
    float: none;
}

aside#secondary.widget-area h2 {
    border-bottom: solid  #dbdbdb 2px !important;
    font-weight:600;
    font-size: 1.25em;
}

.post-heading--more-in-country .post-heading--title {
    margin-left: 0%;
    font-weight: 600;
    font-size: 1.25em;
    text-align:left;
}

.post-heading--more-in-country {
    border-bottom: 1px solid #dbdbdb;
    padding-bottom: 15px;
    padding-top: 10px;
}

aside#secondary.widget-area p.link-more {
    display: none;
}

aside#secondary.widget-area h4 {
    font-size: 1.25em;
}

/*development articles*/
h2 {
    border-bottom: 1px solid #dbdbdb;
}
.post-heading {
    padding-bottom:15px;
}
.post-heading--title {
    font-weight: 500;
    font-size: 1.5em;
}

main#main.site-main p:nth-of-type(2) /*makes first paragraph of article bold*/ {
    font-weight: 600;
}

main#main.site-main table {
    max-width: 90%;
    margin: auto;
    margin-bottom: 10px;
}

main#main.site-main tr {
    border-bottom: solid black 1px;
}

main#main.site-main td {
    min-width: 7em;
}

p.post-heading--title {
    font-size: 1em;
}

p.breadcrumb {
    color: #111; font-weight: 500; font-size: 0.9em;
}

.collection-list, .collection-list div, .collection-list__item {
    padding: 0 !important;
}

/*legal dev archive*/

.legal-dev.archive {
    margin-bottom:2%;
}

.legal-dev.archive p {
padding-left: 0 !important;
padding-right:0 !important;
}

.legal-dev.archive p.link-more {
 margin-top:2%;} 

 header.page-header {
    width: 100% !important;
    color: white;
    padding:0;margin-bottom:2%;
 }

 .press-release.archive {margin-bottom: 40px; border-bottom: 2px dotted #cccccc6e;}
 .press-release.archive h2 {border-bottom: none;}

 .legal-dev.archive {margin-bottom: 40px; border-bottom: 2px dotted #cccccc6e;}
 .legal-dev.archive h2 {border-bottom: none;}

 #pr-dev-header {background: #cccccc6e; padding: 10px; margin-bottom: 40px; float:left; width: 100%;}
 #pr-dev-header h2 {border-bottom: none;}

#firm-about {float:left;}
.post-heading {float:left; display: inline-block;}
.post-heading h1 {float:left; width: 100%;  text-transform: uppercase;
    font-size: 1.4em;
    font-family: "myriad-pro", sans-serif;
    font-weight: 600;
    padding: 0px 10px 10px 0;
    color: #111;}
 header.page-header h1 {
    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;
}

/*press-release archive*/

.press-release.archive {
    margin-bottom:5%;
}

.press-release.archive p {
    padding-left: 0 !important;
    padding-right:0 !important;
}

h2.entry-title {
    text-transform: none;
    font-family: inherit;
    font-weight:600;
    font-size:1.2em;
}

@media all and (max-width: 768px) {
    .developments-filter {display:none;}
    #primary {width: 100% !important;}
    #primary, #left-col, #middle-col, #right-col, #secondary {width: 100% !important; margin-bottom: 20px; margin-left: 0px;}
    div.site-branding img {padding-top: 0px;}
    .navigation-top {margin-top: 50px; margin-bottom: -20px;}
    #non-front-search {top: 0px;}
    .social-links {top: 60px;}
    }

/*filter styling*/

.developments-filter__field, .developments-filter__field.developments-filter__search {
    flex:1;
    padding:5px;
    min-width: 190px;
}

input[type="text"], select[type="text"] {
    border: 2px solid #bbbbbb8f;
    min-height:50px;
    max-height:50px;
}

input[type="text"]:focus {
    border: 2px solid #bbbbbb8f;
        border-bottom: 3px #1a405a solid;
        border-radius: 0px;
    }

select[name^=fauthor]:focus, select[name^=country]:focus, select[name^=category]:focus {
    border: 2px solid #bbbbbb8f;
    border-bottom: 3px #1a405a solid;
    border-radius: 0px;
}

.interviews_filter__reset, div.button.interviews_filter__filter {
font-weight: bold;
color: #1a405a;
flex-basis: 100%;
width: 0;
justify-content: flex-end;
}

.developments-filter div:last-of-type {
    display: flex;
    flex-basis: 100%;
    width:0;
justify-content: flex-end;
}

button.interviews_filter__filter {
    width:15%;
    padding: 5px 10px;
    transition: 0.2s all ease-in-out;
}

button.interviews_filter__filter:hover {
    background:#1a405a;
}

.developments-filter {
    background: #cccccc6e;
    padding: 1%;
    margin-bottom: 2%;
}

h4.post-heading--title:hover {
    color: #1a405a;
}