@media all and (min-width: 1001px) {
  #block-kareliacbc-theme-page-title {
    width: 100%;
    white-space: normal;
  }
}

.page-node-type-project .main-content .section {
    padding:0;
}



@media all and (min-width: 1151px) {
    .page-node-type-project #main-wrapper {
        width: 100%;
    }
}

@media all and (min-width: 1150px) {
  .node__content.narrow {
    width: 66%;
    float: left;
  }
  .project-images {
    width: 30%;
    float: right;
  }
}

.view-id-project_news_and_events .node--view-mode-teaser {
    border: 0;
    margin: 0 4% 4% 0;
}



/* Fixing Jquery UI */

.ui-widget-content {
  border: none;
  background-color: transparent;

}

.tab-header {
  background: #98BA40;
  width: 100%;
}
.tab-content {
  padding-top: 60px;
}
  @media all and (max-width: 499px) {
.ui-tabs .ui-tabs-nav li {
  clear: both;
}
}

.node--type-project .ui-widget-header {
    border: none;
    background: transparent;
    color: #FFF;
    font-weight: normal;
        padding: 0 !important;
  }

  @media all and (min-width: 1150px) {
    .node--type-project .ui-widget-header, .project-header-wrap {
      display: block;
    width:1150px;
    margin:0 auto !important;
  }
  .tab-content {
    width:1150px;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  }
  .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
      border:  none;
      background: transparent;
      font-weight: normal;
      color: #FFF;
      text-align: center;
  }

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: none;
    background: transparent; /* green = #98BA40 */
    font-weight: normal;
    color: #FFF;
    padding-bottom: 5px;
}

.ui-state-hover {

}



.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
  font-weight: normal;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #FFF;
  text-shadow: none;
  padding: 14px 0 5px 0 !important;
  margin: 0 12px;
  font-size: 18px;
  font-family: "Helvetica";
  border-bottom: 6px solid transparent;
  text-transform: uppercase;

}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited, .ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited  {
    color: #FFF;
    text-decoration: none;
        border-bottom: 6px solid #FFF !important;
}

#page .ui-widget {
  font-family: inherit;
}

.ui-corner-all {
  border-radius: 0px;
}

.ui-tabs  {
  padding:0px;
  border: 0 !important;
}


.page-node-type-project h2, .page-node-type-project .field__label, .page-node-type-project .node--view-mode-popup-teaser  {
  margin-bottom: 2px;
font-size: 1.429em;
line-height: 1.4;
font-weight: 700;
}

.page-node-type-project .main-content {
    margin-left: 0;
}

.view-project-for-single-news-item .views-field-title {
  margin: 1.0em 0 0.5em;
font-weight: inherit;
font-size: 1.378em;
color: #000;
}

.node--view-mode-popup-teaser h2 a {
    color: #181818;
}


.node--unpublished.node--view-mode-only-menu {
  padding: 0;
}

.node--view-mode-only-menu .ui-tabs-anchor:hover {
  border-bottom: 6px solid #FFF !important;
}
