/* MP Profile */
.mip-mp-profile-former {
  padding: 12px;
  background-color: rgba(255, 181, 0, 0.25);
  margin-bottom: 10px; }

.ce-mip-mp-profile-container {
  background-color: #fff;
  display: -ms-flexbox;
  flex-direction: row;
  margin-bottom: 15px; }
  .ce-mip-mp-profile-container dd {
    margin-bottom: 0; }

.ce-mip-mp-profile-container .ce-mip-mp-picture-container {
  padding-right: 0;
  max-width: 157px;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content; }
  @media (max-width: 768px) {
    .ce-mip-mp-profile-container .ce-mip-mp-picture-container {
      max-width: 115px; } }

.ce-mip-mp-profile-container .ce-mip-overview {
  min-width: 160px;
  max-width: 450px; }

.ce-mip-mp-profile-container .ce-mip-overview h2 {
  margin-top: 13px; }

.ce-mip-mp-profile-container .ce-mip-overview .mip-mp-profile-caucus {
  width: 80%;
  max-width: 200px;
  border-bottom: 0.3rem solid lightgray;
  margin-bottom: 0.5rem; }

.ce-mip-mp-profile-container.mip-mp-profile-container-mer {
  padding: 0 10px 10px 10px; }

.ce-mip-mp-profile-container.mip-mp-profile-container-mer h2, .ce-mip-mp-profile-container.mip-mp-profile-container-floorplan h2 {
  margin-top: 15px; }

.ce-mip-mp-profile-container.mip-mp-profile-container-floorplan {
  padding: 0 10px 14px 10px; }

.ce-mip-mp-profile-container.mip-mp-profile-container-floorplan .mip-mp-profile-minifloorplan {
  padding-top: 14px;
  text-align: left;
  vertical-align: middle; }

/*End MP Profile */
/* PROFILE - ROLES - WORK - CONTACT */
p.ce-mip-role-name {
  margin-bottom: 0.1rem; }

ul.ce-mip-roles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 20px; }

ul.ce-mip-roles-list li {
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
  margin-top: -1px; }

ul.ce-mip-roles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 20px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none; }

.nav-tabs {
  border-bottom: 1px solid #ccc; }

.ce-mip-mp-profile-panel .show-arrow::after {
  font-family: 'hoc-icons';
  content: "\e925";
  color: #427a26;
  font-size: 2em;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.5s;
  margin-right: 10px; }

#committee-intervention h5 a {
  width: 10%;
  min-width: 60px;
  vertical-align: top; }

#committee-intervention h5 span {
  width: 89%; }

.ce-mip-mp-profile-panel a[aria-expanded=true] .show-arrow::after {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg); }

.ce-mip-mp-profile-panel .panel-title#chamber-intervention-heading::before {
  content: "\e955"; }

.ce-mip-mp-profile-panel .panel-title#committee-intervention-heading::before {
  content: "\e957"; }

.ce-mip-mp-profile-panel .panel-title#bills-heading::before {
  content: "\e912"; }

.ce-mip-mp-profile-panel .panel-title#motions-heading::before {
  content: "\e906"; }

.ce-mip-mp-profile-panel .panel-title#votes-heading::before {
  content: "\e93a"; }

.ce-mip-mp-profile-panel-body {
  border: 1px solid #ccc;
  padding: 15px; }

.ce-mip-mp-profile-panel .panel {
  margin-bottom: 15px; }
  .ce-mip-mp-profile-panel .panel > a:hover {
    text-decoration: none; }

.ce-mip-mp-profile-panel .panel-heading {
  border: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center; }
  .ce-mip-mp-profile-panel .panel-heading:hover {
    background-color: #f2f2f2; }
    .ce-mip-mp-profile-panel .panel-heading:hover .panel-title::before {
      background-color: #2d531a; }
    .ce-mip-mp-profile-panel .panel-heading:hover.show-arrow::after {
      color: #2d531a; }

.ce-mip-mp-profile-panel .panel-heading h4, .ce-mip-mp-profile-panel .panel-heading p {
  margin: 0; }

.ce-mip-mp-profile-panel .panel-heading p {
  font-size: 12px; }

.ce-mip-mp-profile-panel .panel-title {
  display: flex;
  align-items: center; }

.ce-mip-mp-profile-panel .panel-title::before {
  content: "";
  width: 69px;
  height: 69px;
  background-color: #427a26;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  font-family: 'hoc-icons';
  color: #fff;
  font-size: 3em;
  text-align: center;
  flex-shrink: 0;
  padding-top: 8px; }

.ce-mip-tile {
  display: block;
  background-color: #fff;
  color: #333;
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.1); }

.list-group-item.active {
  z-index: 2;
  color: #333;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-top-width: 6px;
  border-top-color: #427a26; }

.ce-mip-mp-profile-tabs {
  flex-direction: row;
  width: 100%;
  border-bottom: 1px solid #ccc; }

.ce-mip-mp-profile-tabs .list-group-item, .list-group-item.active {
  border: 1px solid #ccc;
  margin-bottom: -1px; }

.ce-mip-mp-profile-tabs .list-group-item.active {
  border-top: 6px solid #427a26;
  background-color: #fff;
  border-bottom: 1px solid #fff; }

.ce-mip-mp-profile-tabs .list-group-item {
  background-color: #f9f9f9; }
  @media (max-width: 768px) {
    .ce-mip-mp-profile-tabs .list-group-item {
      padding: 0.65rem 0.47rem; }
      .ce-mip-mp-profile-tabs .list-group-item h2 {
        font-size: 14px;
        letter-spacing: unset; } }
  .ce-mip-mp-profile-tabs .list-group-item:hover {
    background-color: #f2f2f2;
    text-decoration: none; }

.ce-mip-contact-constituency-office-container {
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-between;*/ }

.ce-mip-contact-constituency-office {
  padding-right: 5rem; }

/* PROFILE - ROLES - WORK - CONTACT */
/* MP ROLES */
#work .row {
  align-items: center; }
  #work .row .btn-primary:first-child {
    margin-right: 10px; }

ul.ce-mip-roles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 20px; }

ul.ce-mip-roles-list a {
  font-size: 19px;
  font-weight: bold;
  display: inline-block;
  padding: 3px 0;
  width: 100%; }
  ul.ce-mip-roles-list a:hover {
    background-color: #f2f2f2;
    text-decoration: none; }
  ul.ce-mip-roles-list a span {
    margin-left: 10px;
    color: #333;
    font-weight: 400;
    font-size: 0.9rem; }

ul.ce-mip-roles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 20px; }

/* For href in this list, reduce font back to normal ! */
ul.ce-mip-roles-list a.mip-roles-list-link-basic {
  font-size: unset;
  font-weight: unset; }

/* PROFILE - ROLES - WORK - CONTACT */
/* Mini Floor Plan */
.miniFloorPlan-grid {
  display: grid;
  justify-content: flex-start;
  grid-template-columns: repeat(32, auto);
  grid-gap: 1px;
  padding: 0; }

.miniFloorPlan-grid > div {
  background-color: #8c8c8c;
  padding: 0;
  width: 6px;
  height: 6px; }

.miniFloorPlan-grid > div.active {
  z-index: 2;
  box-shadow: 0 0 1px 2px #fff; }

.miniFloorPlan-speaker-grid {
  display: grid;
  justify-content: flex-start;
  grid-template-columns: auto auto;
  grid-gap: 0;
  padding: 1px 0; }

.miniFloorPlan-speaker-grid > div {
  padding: 0;
  height: 20px; }

.speaker {
  float: left;
  background-image: url("/members/images/minifloorplan-speakerrow-graphics.png");
  width: 51px; }

.sergeant-chair {
  float: right;
  background-image: url("/members/images/minifloorplan-speakerrow-rightside-graphics.png");
  width: 10px;
  margin-left: 163px; }

.speaker-chair {
  background-color: #8c8c8c;
  margin: 7px 42px 0 3px;
  padding: 0;
  font-size: 4px;
  min-height: 6px;
  min-width: 6px; }

.speaker-chair.active {
  z-index: 2;
  box-shadow: 0 0 1px 2px #fff; }

/* END Mini Floor Plan END */

