.legal500-editable #lladminbar {background: darkred;}
.acf-icon.-small {line-height: 50px !important;}

.firmwriteup{
    position: relative;
}

.firmwriteup .inline{
    display:none;
}


.firmwriteup .inline .buttons{
    clear:both;
    padding-top:10px;
}

.firmwriteup .inline .button, .ranking-group-tier .ranking-name-edit .button, .new-ranking.button, .new-commentary.button,
.firmwriteup .button{
    color: #555;
    border-color: #ccc;
    background: #f7f7f7;
    box-shadow: 0 1px 0 #ccc;
    vertical-align: top;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 26px;
    height: 28px;
    margin: 0;
    padding: 0 10px 1px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
}

.firmwriteup .inline .button.close, .ranking-name-edit .inline .button.close{
    background: #ff6666;
    border-color: #ce4f4f;
    box-shadow: 0 1px 0 #ce4f4f;
}
.firmwriteup .inline .button.save, .ranking-name-edit .inline .button.save{
    background: #40993d;
    border-color: #266124;
    box-shadow: 0 1px 0 #266124;
    color: #fff;
}

.firmwriteup .float-right, .ranking-name-edit .float-right{
    float:right;
}

.firmwriteup .content {

    /*
    test
    */


}
.firmwriteup .content.hover{
    background-color:#ececec;
}

.ranking-group-tier .ranking-name.hover{
    background-color:#ececec;
}

.ranking-group-tier .ranking-name{
    /* display: flex; previous */
    text-indent: 0;
    padding-left: 0;
    display: block;
}

.ranking-group-tier .ranking-name-edit .ranking_edit{
    display: none;
}
.ranking-group-tier .ranking-name-edit:hover .ranking_edit{
    display: inline;
    z-index:99;
    text-indent: 0px;
}
.ranking-table-col1 p {
  margin:0;
}


.firmwriteup .editorial_edit{
    display: none;
}
.firmwriteup:hover .editorial_edit{
    display: inline;
    z-index:99;
    text-indent: 0px;
}

.firmwriteup.new, .ranking-name.new  {
    
  background-color:#53db40;
  border:10px solid #53db40;

    
  
  /*
  display:none !important;
  */
}


.firmwriteup.draft, .ranking-name.draft  {
    
    background-color:#ffffcc;
    border:10px solid #ffffcc;
    
    /*
    display:none !important;
    */
}

.ranking-name.trash  {
    background-color:#eea3a9;
    border:10px solid #eea3a9;
}

.firmwriteup.pending, .ranking-name.pending {
    background-color: #ccffe6;
    border:10px solid #ccffe6;
}

.new-commentary.button, .new-ranking.button {
    margin-bottom:15px;
    position: relative;
    /*z-index: 999; */
    display:none;
}

.new-ranking, .new-commentary, .researcher_notes{
  display:none; /* was important */
}

.legal500-editable .new-ranking, .legal500-editable .new-commentary {
  display:block; /* was important */
}


.button.saving{
    background:url('25.gif') #40993d !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position-x: 10px !important;
    padding-left: 40px !important;
}

.ranking-name-edit .inline{
    padding-bottom: 60px;
    position: relative;
    z-index: 99;
}


.legal500-editable .legal500-item, .legal500-editable [data-inline-editor="true"] {
    border:2px dashed darkred;
    padding:2px;
    margin-bottom: 3px;
    cursor:pointer;
}

.legal500-editable .legal500-item-hover, .legal500-editable [data-inline-editor="true"].hover{
    border-style:solid;
}
.legal500-editable .legal500-item.selected {
    border-style: solid;
    background: #fff2f2;
}

.wp-admin.edit-mode-enabled {
  background: #7d2525;
}
.legal500-editable #wpadminbar {
  background:#7d2525;
}
.legal500-editable #wpadminbar .ab-top-menu>li.hover>.ab-item, .legal500-editable #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus, .legal500-editable #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item, .legal500-editable #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus {
  background:#94302f;
  color:#fff;
}
/* Ribbon Section */

/* Menu Section */
.ribbon {
  padding: 10px 0;
  background: #fbd5d4;
  border-bottom: 1px solid #7d2524;
  text-align: center;
  position: fixed;
  top: 32px;
  right: 0;
  left: 0;
  z-index: 9999;
  display:none;
}

.ribbon .menu-title {
  vertical-align: middle;
  display: inline-block;
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid #f1b2b2;
}

.ribbon .menu-title a,
.ribbon .menu-title i {
  vertical-align: middle;
}

.ribbon .filter-option {
  background: #c73232;
  border-radius: 3px;
  display: inline-block;
  color: #fff;
  padding: 3px 8px;
  cursor: pointer;
}
.ribbon .view-submission {
  background: #555adc;
  margin-right:20px;
}

.ribbon .filter-option a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  vertical-align: middle;
}

.table-view-submission {
  display:none;
}
.legal500-editable .table-view-submission {
  background: #555adc;
  text-transform: capitalize;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 10px;
  font-family: 'Libre Franklin';
  display: inline-block;
}

.only-edit-mode {
  display: none;
}
.legal500-editable .only-edit-mode {
  display: block;
}
.legal500-editable div#primary.content-area {
  margin-top: 0 !important;
}
/* Template Alterations for Edit Mode */
.legal500-editable #page {
  padding-top: 51px;
}
@media screen and (min-width: 48em) {
  .admin-bar.legal500-editable .site-navigation-fixed.navigation-top {
    top: 82px;
  }
}

/* Show gender on edit mode */
.legal500-editable .legalease-display-reference.gender-female::before {
    font-family: initial;
    font-weight: 400;
    color: #fd00ff;
	  margin-right:-3px;
    content: "♀ ";
}
.legal500-editable .legalease-display-reference.gender-female {
    border-bottom:1.5px solid #fd00ff;
}
.legal500-editable .legalease-display-reference.gender-male::before {
    font-family: initial;
    font-weight: 400;
    color: #3578ee;
	margin-right:-3px;
    content: "♂ ";
}
.legal500-editable .legalease-display-reference.gender-male {
    border-bottom: 1.5px solid #3578ee;
}
.legal500-editable .legalease-display-reference.gender-other::before {
    font-family: initial;
    font-weight: 400;
    color: #219326;
	  margin-left:4px;
	  margin-right:1px;
    content: "○ ";
}
.legal500-editable .legalease-display-reference.gender-other {
    border-bottom: 1.5px solid #219326;
}
.legal500-editable .legalease-display-reference.gender-rather-not-say::before {
    font-family: initial;
    font-weight: 400;
    color: #611c9e;
	  margin-left:4px;
	  margin-right:1px;
    content: "■ ";
}
.legal500-editable .legalease-display-reference.gender-rather-not-say {
    border-bottom: 1.5px solid #611c9e;
}
.legal500-editable .legalease-display-reference.gender-no::before {
    font-family: initial;
    font-weight: 400;
    color: #ff0000;
	  margin-right:2px;
	  margin-left:5px;
    content: "? ";
}
.legal500-editable .legalease-display-reference.gender-no {
    border-bottom: 1.5px solid #ff0000;
}
/*
.legal500-editable .legalease-display-reference.ethnicity-no::after {
  content: "\f0c0";
  margin-left: 4px;
  font-family: 'FontAwesome';
  font-weight:400;
  color: #ff0000;
  -webkit-text-stroke: 0.8px white;
  font-size: 0.8rem;
}
*/
.legal500-editable .legalease-display-reference.ethnicity-ethnic-minority::after {
  font-family: initial;
  font-weight: 400;
  color: #611c9e;
  margin-left:4px;
  margin-right:1px;
  content: "■";
}


/**************************\
  Basic Modal Styles
\**************************/

  .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .modal__container {
    background-color: #fff;
    padding: 30px;
    padding-top:0px;
    max-height: 80vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
  }
  
  .modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0px;
  }
  
  .modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;
    color: #00449e;
    box-sizing: border-box;
  }
  
  .modal__close {
    background: transparent;
    border: 0;
    color: #999;
    padding: 0;
    cursor:pointer;
  }
  
 .modal__close:before { content: "\2715"; }
  
  .modal__content {
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: rgba(0,0,0,.8);
  }
  .modal__content h3{
    padding-top: 0px;
  }

  .modal__footer{
    position: sticky;
    bottom: -30px;
    padding: 60px 0;
    background-color: white;
    border-top:1px solid #cccccc;
    z-index: 9;
  }

  .modal__btn {
    font-size: .875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #e6e6e6;
    color: rgba(0,0,0,.8);
    border-radius: .25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    margin-right:8px;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out,-webkit-transform .25s ease-out;
  }
  
  .modal__btn:focus, .modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  
  .modal__btn-primary {
    background-color: #00449e;
    color: #fff;
  }
  
  /* Modal Edits */
  .edit-in-wp, a.acf-button.button.button-primary {
    background: #f5f5f5;
    padding: 10px;
    display: inline-block;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    font-size: 0.8rem;
    font-weight: 600;
  }
  .edit-in-wp {
    margin: 20px 0 0;
  }
  .modal-post_status {
    display:inline-block;
    margin-left:20px;
  }
  .modal-post_status select {
    font-size:0.8rem;
  }

  .firmwriteup a.blank {
    font-size: 1em;
    font-weight: 300;
    font-style: italic;
    color: #555;
  }
  .firmwriteup .researcher_notes a.blank {
    color: #fff;
  }
  .post_status_selector  {
    display: inherit;
 }
 #modal-1-content .warning {
  background: #c50707;
  color: #fff;
  padding: 6px;
  text-align: center;
  margin-top: 10px;
}
 /* Post Selector */
 .post_status_selector #change_post_status {
    height: 24px;
    float: left;
    padding: 0px 10px;
    margin: 4px 0;
    display: inline-block !important;
 }
 .post_status_selector input#select_all_posts {
    margin-right: 2px;
 }
 .post_status_selector .apply_btn {
    border: 0;
    padding: 0 10px;
    background: #565656;
    margin: 0 8px 0 4px;
 }
 .selected_post {
    border: #1a405a 3px solid !important;
    margin-bottom: 3px;
    padding: 3px 5px !important;
    cursor: pointer;
 }
 .deselected_post {
    border: #ccc 3px solid !important;
    margin-bottom: 3px;
    padding: 3px 5px !important;
    cursor: pointer;
 }
 .success_post {
    border: green 3px solid;
    margin-bottom:3px;
    cursor:pointer;
 }
 .post_status_selector .filter {
    display: inline-block;
 }
 .post_status_selector .filter .checkbox-option {
    display: none;
 }
 .post_status_selector .filter .checkbox-option.show {
    display: inline-block
 }
 .post_status_selector .filter .checkbox-option label {
    color:#fff;
    display: inline-block;
 }
 .post_status_selector .filter #lower_stage_checkbox label span {
    text-transform: capitalize;
 }
 #wpadminbar .post_status_selector .apply_btn {
    padding: 0 20px;
    border-radius: 0px 6px 6px 0;
    background: #6b6b6b;
    line-height: 2;
    color: #fff;
    font-weight: 600;
 }
 /* Hide ACF Elements */
 .wp-admin li#wp-admin-bar-legal500-change-post-status, .wp-admin li#wp-admin-bar-legal500-edit-mode, button#insert-media-button {
  display: none;
 }
  /* Context Menu */
  .context-menu {
    display: none;
    z-index: 1000;
    position: absolute;
    border: 1px solid #CCC;
    white-space: nowrap;
    font-family: sans-serif;
    background: #FFF;
    color: #333;
    border-radius: 5px;

  }
  .context-menu ul {
    margin:0;
  }

  .context-menu li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    list-style-type:none;
  }
  .context-menu .submenu-select {
    position:relative;
  }
  .context-menu .submenu-select:hover .submenu {
    display:block;
  }
  .context-menu .submenu-select .submenu {
    display:none;
    position: absolute;
    right: -78px;
    top: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-bottom: 0;
    border-radius: 4px;
    transition:2000ms;
  }
  .context-menu .post-options li:last-child {
    border-bottom: 0;
  }

  .context-menu li:hover {
    background-color: #DEF;
  }
  .context-menu .contact-options {
    display: none;
  }
  .context-menu .firm-options {
    display: none;
  }
  /* Temp WP Editor Text Color until tinyMCE JS resolved */
  .js .tmce-active .wp-editor-area {
    color:#333 !important;
  }

  /* Temporary fix - Hide ACF Fields Modal Editor */
  .acf-field-5d31ae0246c73, .acf-field-5d31ae1046c74, .acf-field-5d31ae2a46c75, .acf-field-5d31ae4646c76, .acf-field-5d7fdd45278ba, .acf-field-5db03e89d94b1, .acf-field-5db03ea0d94b2, .acf-field-5dc828fbaa078 {
    display: none;
  }
  
  
  /**************************\
    Demo Animation Style
  \**************************/
  @keyframes mmfadeIn {
      from { opacity: 0; }
        to { opacity: 1; }
  }
  
  @keyframes mmfadeOut {
      from { opacity: 1; }
        to { opacity: 0; }
  }
  
  @keyframes mmslideIn {
    from { transform: translateY(15%); }
      to { transform: translateY(0); }
  }
  
  @keyframes mmslideOut {
      from { transform: translateY(0); }
      to { transform: translateY(-10%); }
  }
  
  .micromodal-slide {
    display: none;
  }
  
  .micromodal-slide.is-open {
    display: block;
  }
  
  .micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  }
  
  .micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
  }
  
  .micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  }
  
  .micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
  }
  
  .micromodal-slide .modal__container,
  .micromodal-slide .modal__overlay {
    will-change: transform;
  }




/**
 * TABS
 *
 * -------------------------------------------------------------------------------------------------
 */


.tabs UL.horizontal {
	list-style: none outside none;
  margin: 0;
  margin-bottom: 10px;
}

.tabs .horizontal LI {
	background: white;
	border-bottom: 4px solid #E5E5E5;
	margin: 0 10px 0 0;
	display: inline-block;
}

.tabs .horizontal A {
	color: #ccc;
	display: block;
	font-size: 18px;
	font-weight: 300;
	padding: 14px 24px;
	text-decoration: none;
}

.tabs .horizontal LI:hover {
	background: #a0cac0;
	border-bottom: 4px solid #68a697;
}

.tabs .horizontal LI:hover A {
	color: white;
}


.tabs .horizontal .active {
	background: #a0cac0 !important;
	border-bottom: 4px solid #68a697 !important;
}

.tabs .horizontal .active A {
	color: white !important;
}

.legal500-editable .sortable-ghost{
  background-color: #a6b5d0;
}

.ranking-name.legal500-item.new_location{
  background-color: #d9f1d7;
}

.hideinline{
  display:none !important;
}



.form-field ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #bbbbbb;
  opacity: 1; /* Firefox */
}

.form-field :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #bbbbbb;;
}

.form-field ::-ms-input-placeholder { /* Microsoft Edge */
  color: #bbbbbb;;
}

.legal500-editable .select2-dropdown--below {
    top: 1.8rem;
}