/** Global Elements **/
body {
  font-size: 16px;
  color: #141414;
}

.field {
  overflow: auto;
}

a{
  color: rgb(7,43,97);
}

a.print__link {
  /* Looks like a primary button */
  color: #fff;
  background-color: #337ab7;
  border: 1px solid #2e6da4;
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
}

.bg-secondary {
  background-color: #eeeeee;
}

h5 {
  font-weight: bold;
}

/** Navigation **/
#navbar {
  z-index: 12;
  background: transparent linear-gradient(93deg, #0D5C91 0%, #5FC15A 100%) 0% 0% no-repeat padding-box;
}

header .navbar-header {
  width: 100%;
}

.navbar-header img {
  width: 100%;
  max-width: 133px;
  height: auto;
}

.navbar-header > .region {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.navbar-header ul.sf-menu a, .navbar-header ul.sf-menu span.nolink {
  color: white;
  font-weight: bold;
}

.navbar-header .menuparent ul {
  background: transparent linear-gradient(93deg, #088570 0%, #258357 100%) 0% 0% no-repeat padding-box;
  border-radius: 10px;
}

.sf-accordion-toggle a {
  background: rgba(255, 255, 255, .85);
  border-radius: 10px;
  border: 1px solid rgba(7, 43, 97, .15);
  color: rgb(7,43,97);
  display: inline-block;
  font-weight: bold;
  padding: 1em 3em 1em 1em;
  position: relative;
}

.sf-accordion-toggle a::after {
  content: "≡";
  font-size: 2em;
  position: absolute;
  right: 0.5em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.sf-accordion {
  background: white;
}

ul.sf-menu.sf-accordion a, ul.sf-menu.sf-accordion span.nolink {
  color: rgb(7,43,97);
}

.sf-menu.sf-accordion li {
  border-bottom: 1px solid #ccc;
}

.sf-menu .sf-has-clone-parent {
  margin-left: 40px;;
}

ul.sf-menu .sf-with-ul, ul.sf-menu span.nolink.sf-with-ul {
  padding-right: 2em;
}

ul.sf-menu .sf-with-ul .sf-sub-indicator, ul.sf-menu span.nolink.sf-with-ul .sf-sub-indicator {
  width: 16px;
  top: 46%;
  overflow: visible;
}

section.block-superfish {
  width: auto;
}

#block-usermenu {
  background: rgba(0,0,0,.15);
  border-radius: 10px;
}

.tabs--primary {
  margin-bottom: 20px;
}

/** Sidebar Popovers - Favorites and Contacts search **/
.region-header {
  position: fixed;
  transform: rotate(-90deg) !important;
  top: 50%;
  left: -88px;
  z-index: 9;
}

.region-header > section, .region-header > div {
  float: left;
}

.popover-content {
  display: none;
}

.popover .popover-content {
  display: block;
}

.main-container {
  padding-left: 53px;
}

/** Right Sidebar **/
.col-sm-3 {
  background-color: #094C76;
  color: white;
  border-radius: 5px;
  box-shadow: 1px 1px 3px grey;
  margin-top: 170px;
  padding: 15px;
}

.col-sm-3 .well {
  background-color: #094C76;
  border: none;
}

.col-sm-3 .block-title {
  font-size: 2rem;
  padding: 15px;
  margin-bottom: 5px;
  border-radius: 3px;
  color: #094C76;
  background-color: white;
}

.col-sm-3 .well h2 {
  font-size: 18px;
}

.col-sm-3 .well a {
  color: white;
}

.field--type-reporting-cloud-field-type.field--item {
  margin-bottom: 10px;
}

/** Pages **/
.field-group-accordion-wrapper {
  margin-bottom: 15px;
}

.ui-accordion-header {
  border: none;
  border-radius: 5px;
  background-color: #094C76;
  color: white;
}
.ui-accordion-header.ui-state-default a {
  color: white;
  font-size: 18px;
  line-height: 26px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
}
.ui-accordion-header.ui-state-default .ui-icon {
  background-image: url("https://pmd-isa.d8.lndo.site/core/assets/vendor/jquery.ui/themes/base/images/ui-icons_ffffff_256x240.png");
}
.ui-accordion .ui-accordion-content {
  padding: 20px 7px 7px;
}

.field--label {
  color: #0D5C91;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 50% 50%;
  margin-bottom: 20px;
  padding: 0 5px;
}
.grid-2-col .field--label-inline {
  border-bottom: 1px solid #cccccc;
  margin-top: 10px;
  padding-bottom: 10px;
}
.grid-2-col > .field--label-inline:nth-child(odd), .grid-2-col > div .field--label-inline {
  margin-right: 10%;
}

.columns-2-col {
  margin-bottom: 20px;
  column-count: 2;
  padding: 0 5px;
}

.columns-2-col > div {
  display: inline-block;
  width: 100%;
}

.field-group-format-wrapper h4 {
  font-size: 14px;
  font-weight: bold;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: black;
  margin-bottom: 20px;
}
.field-group-format-wrapper .bg-secondary {
  padding: 10px;
}

.field--name-field-reporting-cloud .field-item {
  margin-bottom: 10px;
}

/** Project Dashboard **/
.project-dashboard-accordion {
  background-color: #eeeeee;
  color: black;
}

.project-dashboard-accordion h4 {
  font-size: 36px;
  line-height: 44px;
  font-family: Helvetica, Neue, sans-serif;
  font-weight: normal;
}

.project-dashboard-accordion .field--label {
  color: black;
  font-weight: normal;
}

.project-dashboard-accordion table tr td:not(:first-child), .project-dashboard-accordion table tr th:not(:first-child) {
  text-align: right;
}

.project-well {
  padding: 5px 10px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.project-well.white {
  background-color: white;
}

.project-well.blue {
  background-color: #094c76;
  color: white;
  padding: 15px 15px 5px;
}
.project-well.blue .field--label {
  color: white;
  margin-bottom: 10px;
}
.project-well.blue .field--name-field-proj-budget-total .field--item{
  font-weight: bold;
  font-size: 42px;
  line-height: 51px;
  font-family: Helvetica, Neue, sans-serif;
}

.project-dashboard-accordion .two-col > .field {
  display: flex;
  justify-content: space-between;
  padding: 15px 5px;
}

.project-dashboard-accordion .two-col > .field:not(:last-child) {
  border-bottom: 1px solid #d4d4d4;
}

.project-dashboard-accordion .table tbody th {
  font-weight: normal;
}

.node-type-project .page-header {
  margin-bottom: 0;
  padding: 0;
  border: none;
}

.project-number {
  font-size: 18px;
  font-weight: bold;
}

.status-no-go:before, .status-go:before {
  content: '';
  display: inline-block;
  padding: 5px;
  margin: 5px 3px 1px 0;
  border-radius: 100%;
}
.status-go:before {
  background: green;
}
.status-no-go:before {
  background: red;
}

.funding-accordion .panel-heading {
  background-color: #094C76;
  color: #ffffff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 26px;
}

.funding-accordion > div {
  margin-bottom: 20px;
}
.funding-accordion > .field--label-inline {
  margin-left: 10px;
}

.funding-accordion table tr td:nth-child(2), .funding-accordion table tr th:nth-child(2) {
  text-align: right;
}


.field--name-field-proj-other-contrib {
  border: 1px solid #ddd;
  padding: 15px 15px 0;
  max-width: 1000px;
}

.checkoff-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 15px;
}

@media only screen and (min-width: 800px) {
  .checkoff-row .checkoff-expenses {
    width: 65%;
  }
  .checkoff-row .non-checkoff-expenses {
    width: 30%;
  }
  .checkoff-row .panel {
    margin-bottom: 0;
  }
}

/** Views **/

.view-filters .form-inline, .view-filters .form-group {
  display: grid;
}

.view-filters #edit-actions {
  display: flex;
}

#views-exposed-form-projects-page-1 .form-inline .select-wrapper {
  max-width: 185px;
}

#views-exposed-form-projects-page-1 .form-inline .form-control {
  width: 100%;
}

#views-exposed-form-projects-page-1 #edit-field-proj-number-value {
  width: 250px;
}

#views-exposed-form-contacts-page-4 .form--inline > .form-item {
  display: inline-block;
}

#edit-views-fields-on-off-form--wrapper legend{
  font-size: 14px;
  font-weight: bold;
}

.view .feed-icons {
  clear: both;
  margin: 35px 0 20px;
}

.view-header {
  margin-bottom: 15px;
}

/* Tables */
.table-hover > tbody > tr:hover, .table-hover > tbody > tr:hover a {
  background-color: #000080 !important;
  color: white;
}

.table-hover > tbody > tr:hover .spv-inside-popup {
  color: #333333;
  padding: 5px;
}

.view-content td {
  padding: 0 6px;
}

.view-id-projects tfoot tr td:first-child::before {
  content: 'Total';
  display: block;
}
.view-id-projects tfoot {
  font-weight: bold;
}
/* Search Contacts */
.view-search-contacts .btn.btn-default, .view-search-foundation-contacts .btn.btn-default {
  background-color: #094C76;
  color: #ffffff;
}

.view-search-contacts thead, .view-search-foundation-contacts thead {
  background-color: #767676;
}

.view-search-contacts thead th a, .view-search-foundation-contacts thead th a {
  color: #ffffff;
}

.view-search-contacts thead th.is-active, .view-search-foundation-contacts thead th.is-active  {
  background-color: #434343;
}

.view-search-contacts td.is-active, .view-search-foundation-contacts td.is-active {
  background-color: #D8D8D8;
  color: #000000;
  font-weight: 600;
}

.view-search-contacts td.is-active a, .view-search-foundation-contacts td.is-active a  {
  color: #000000;
  font-weight: 600;
}

.search-contacts-secondary {
  margin-top: 0;
  background-color: #ffffff;
  border: none;
  box-shadow: none;;
}

.search-contacts-secondary-filter {
  margin-right: 25px;
  padding-right: 25px;
  padding-top: 25px;
  background-color: #094C76;
}

.search-contacts-secondary-filter input {
  background-color: #00334D;
  color: #ffffff;
  border-color: #1C5677;
}

.search-contacts-secondary-filter select {
  background-color: #00334D;
  color: #ffffff;
  border-color: #1C5677;
}

.search-contacts-secondary-filter .form-group, .search-contacts-secondary-filter .form-composite {
  display: block;
  margin-bottom: 25px;
}

.search-contacts-secondary-filter .form-group .control-label {
  display: block;
}

.search-contacts-secondary-filter .form-group .form-control {
  display: block;
}

.search-contacts-secondary-filter .bef-exposed-form .form-item {
  float: none;
}

.search-contacts-secondary-filter fieldset legend {
  border: none;
  margin-bottom: 0;
}

.search-contacts-secondary-filter fieldset span.fieldset-legend {
  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;;
}

.search-contacts-secondary-filter .total-acres-col {
  height: 60px;
}

.search-contacts-secondary-filter .total-acres-slider {
  margin-bottom: 25px;
}

.search-contacts-secondary-filter .to {
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-contacts-secondary-filter #edit-field-contact-total-acres-secondary-min,
.search-contacts-secondary-filter #edit-field-contact-total-acres-secondary-max {
  width: 100%;
}

.isa-contact-note-form .submit {
  box-shadow: none;
}

/* Membership Transactions */
.membership-transactions {
  margin-top: 0;
  background-color: #ffffff;
  border: none;
  box-shadow: none;;
  color: #000000;
}

.membership-transactions label.control-label {
  width: 80px;
  margin-top: 7px;
}

/* Event Attenddee Upload */
.event-attendee-upload {
  margin-top: 20px;
}


@media only screen and (min-width: 800px) {
  #edit-views-fields-on-off-form--wrapper {
    width: 100%;
    border-bottom: 1px solid #cccccc;
    margin-bottom: 20px;
  }

  #edit-views-fields-on-off-form--wrapper legend{
    margin-bottom: 0;
    border: none;
  }

  .view-filters .form-inline {
    display: flex;
    flex-wrap: wrap;

  }

  .view-filters .form-group {
    margin-right: 20px;
    margin-top: 10px;
  }

  .view-filters .form-submit {
    height: 35px;
    margin-top: auto;
  }

  /* Calendar Date Picker */
  .view-calendars .form-group.form-item-field-event-calendar-date-value-value {
    display: block;
    position: absolute;
    top: 190px;
  }

  .view-calendars #edit-field-event-calendar-date-value-value {
    width: 209px;
  }

}

.node-type-contract .project {
    font-family: "Times New Roman", serif;
    max-width: 980px;
    margin: 0 auto;
}

.node-type-contract .project,
.node-type-contract .project h3,
.node-type-contract .project h6 {
    font-size: 16px;
    line-height: 1.5em;
}

.node-type-contract .project h3 {
    font-style: italic;
    text-decoration: underline;
}

.node-type-contract .project li h3 {
    font-style: normal;
    text-decoration: none;
}

.node-type-contract .project h6 {
    margin-left: 20px;
}

.node-type-contract .field--name-field-type-of-agreement {
    text-align: center;
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
    margin-bottom: 30px;
}
