/**
 * Styles for Innovation Hub Page Template
 */

/* Global */
body.node-type-community-innovation-hub .container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1060px;
  width: 100%;
}

body.node-type-community-innovation-hub .ih-content a {
  text-decoration: none;
}

body.node-type-community-innovation-hub .ih-content > .container > div {
  margin-bottom: 45px;
  margin-top: 45px;
}

body.node-type-community-innovation-hub .ih-section-title {
  font-size: 32px;
  overflow: hidden;
}

body.node-type-community-innovation-hub .ih-section-title--text {
  display: inline-block;
  position: relative;
}

body.node-type-community-innovation-hub .ih-section-title--text > * {
  margin: 0;
}

body.node-type-community-innovation-hub .ih-section-title--text::after {
  border-top: 1px solid #d7d7d7;
  content: '';
  display: block;
  height: 1px;
  left: 100%;
  margin-left: 15px;
  position: absolute;
  right: -100vw;
  top: 50%;
}

/* Admin Bar */
body.node-type-community-innovation-hub .nav-sub__link {
  color: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
}

body.node-type-community-innovation-hub .colleaga-ih-title img {
  padding-right: 5px;
}

body.node-type-community-innovation-hub .colleaga-ih-title {
  color: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  position: absolute;
  top: calc(50% - 10px);
  right: 25px;
}

/* Hero */
body.node-type-community-innovation-hub .ih-hero {
  padding: 45px 0;
}

body.node-type-community-innovation-hub .ih-hero__flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

body.node-type-community-innovation-hub .ih-hero__logo {
  display: none;
}

body.node-type-community-innovation-hub .ih-hero__heading h2.member-text__title,
body.node-type-community-innovation-hub .ih-hero__heading h3.member-text__subtitle {
  text-align: center;
}

body.node-type-community-innovation-hub .ih-hero__heading h2 + h3 {
  margin-top: 15px;
}

body.node-type-community-innovation-hub .ih-hero__heading h3 {
  font-weight: normal;
}

/* Buttons */
body.node-type-community-innovation-hub .btn {
  position: relative;
  width: auto !important;
}

body.node-type-community-innovation-hub .btn-icon__text {
  padding: 0 15px;
}

body.node-type-community-innovation-hub .btn-join,
body.node-type-community-innovation-hub .btn-member,
body.node-type-community-innovation-hub .btn-requested {
  background-color: #454346;
  border-radius: 5px;
  color: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  height: 40px;
  padding: 0;
  padding-top: 13px;
  padding-right: 42px;
}

body.node-type-community-innovation-hub .btn-member,
body.node-type-community-innovation-hub .btn-member:hover,
body.node-type-community-innovation-hub .btn-requested,
body.node-type-community-innovation-hub .btn-requested:hover {
  background-image: none !important;
}

body.node-type-community-innovation-hub .btn-icon.btn-member .s-leave.btn-icon__text,
body.node-type-community-innovation-hub .btn-icon.btn-member .s-leave.btn-icon__icon,
body.node-type-community-innovation-hub .btn-icon.btn-requested .s-leave.btn-icon__text,
body.node-type-community-innovation-hub .btn-icon.btn-requested .s-leave.btn-icon__icon {
  display: none;
}

body.node-type-community-innovation-hub .btn-icon.btn-member:hover .s-leave.btn-icon__text,
body.node-type-community-innovation-hub .btn-icon.btn-member:hover .s-leave.btn-icon__icon,
body.node-type-community-innovation-hub .btn-icon.btn-requested:hover .s-leave.btn-icon__text,
body.node-type-community-innovation-hub .btn-icon.btn-requested:hover .s-leave.btn-icon__icon {
  display: block;
  padding-left: 0;
}

body.node-type-community-innovation-hub .btn-join .btn-icon__icon,
body.node-type-community-innovation-hub .btn-member .btn-icon__icon,
body.node-type-community-innovation-hub .btn-requested .btn-icon__icon {
  margin: 0;
  width: 42px;
  position: absolute;
  right: 0;
  top: 0;
  padding-top: 10px;
  border-radius: 0px 5px 5px 0px;
  background-color: #454346;
  height: 100%;
}

body.node-type-community-innovation-hub .btn-join .btn-icon__icon img,
body.node-type-community-innovation-hub .btn-icon.btn-member .s-leave.btn-icon__icon img,
body.node-type-community-innovation-hub .btn-icon.btn-requested .s-leave.btn-icon__icon img{
  height: 16px;
}

/* CTAS */
body.node-type-community-innovation-hub .ih-ctas {
  display: flex;
  flex-direction: column;
  margin-left: -15px;
  margin-right: -15px;
}

body.node-type-community-innovation-hub .ih-ctas__item {
  flex: 0 0 33.333%;
  padding: 0 15px;
  text-align: center;
  width: 33.333%;
}

body.node-type-community-innovation-hub .ih-ctas__item--box {
  color: #454346;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

body.node-type-community-innovation-hub .ih-ctas__item--box--has-border {
  border: 1px solid #d7d7d7;
  justify-content: start;
}

body.node-type-community-innovation-hub a.ih-ctas__item--box {
  transition: box-shadow ease-in-out .25s;
}

body.node-type-community-innovation-hub a.ih-ctas__item--box:hover {
  box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
}

body.node-type-community-innovation-hub div.ih-ctas__item--box {
  padding: 30px;
}

body.node-type-community-innovation-hub div.ih-ctas__item--box--has-border,
body.node-type-community-innovation-hub a.ih-ctas__item--box--has-border {
  padding: 0 15px 30px;
}

body.node-type-community-innovation-hub .ih-ctas__item--box > div + div {
  margin-top: 15px;
}

body.node-type-community-innovation-hub .ih-ctas__item--icon {
  margin: 0 -15px;
  text-align: center;
}

body.node-type-community-innovation-hub .ih-ctas__item--icon + .ih-ctas__item--title {
  margin-top: 30px;
}

body.node-type-community-innovation-hub .ih-ctas__item--title {
  font-size: 24px;
}

body.node-type-community-innovation-hub .ih-ctas__item--description {
  font-size: 18px;
}

body.node-type-community-innovation-hub .ih-callout--has-background,
body.node-type-community-innovation-hub .ih-contact--has-background {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-bottom: 30px;
  padding-top: 30px;
}

body.node-type-community-innovation-hub .ih-callout--has-background .ih-section-title--text::after,
body.node-type-community-innovation-hub .ih-contact--has-background .ih-section-title--text::after{
  border-top-color: #ffffff;
  border-top-style: dashed;
  border-top-width: 2px;
}

body.node-type-community-innovation-hub .ih-callout__title {
  margin-bottom: 30px;
}

body.node-type-community-innovation-hub .ih-callout__content {
  display: flex;
  flex-direction: row;
}

body.node-type-community-innovation-hub .ih-callout__content--text {
  font-size: 28px;
}

body.node-type-community-innovation-hub .ih-callout__content--icon {
  display: none;
}

/* Contact Us */
body.node-type-community-innovation-hub .ih-contact--has-background {
  color: #ffffff;
}

body.node-type-community-innovation-hub .ih-contact__content {
  display: flex;
  flex-direction: row;
}

body.node-type-community-innovation-hub .ih-contact__content--icon {
  display: none;
}

body.node-type-community-innovation-hub .ih-contact__content form .form-item-name {
  float: left;
  padding-right: 7.5px;
  width: 50%;
}

body.node-type-community-innovation-hub .ih-contact__content form .form-item-mail {
  float: right;
  padding-left: 7.5px;
  width: 50%;
}

body.node-type-community-innovation-hub .ih-contact__content form button {
  cursor: pointer;
  padding: 10px 15px;
}

/* Small screen only styles */
@media (max-width: 767px) {
  body.node-type-community-innovation-hub .colleaga-ih-title {
    right: 0;
    top: -10px;
    position: relative;
    text-align: center;
  }

  body.node-type-community-innovation-hub .ih-hero__flex {
    align-items: center;
  }

  body.node-type-community-innovation-hub .ih-hero__operations {
    margin-top: 30px;
  }

  body.node-type-community-innovation-hub .ih-ctas {
    align-items: center;
  }

  body.node-type-community-innovation-hub .ih-ctas__item {
    max-width: 350px;
    width: 100%;
  }

  body.node-type-community-innovation-hub .ih-ctas__item + .ih-ctas__item {
    margin-top: 30px;
  }
}

/* Medium+ screen styles */
@media (min-width: 768px) {
  body.node-type-community-innovation-hub .ih-hero__flex {
    flex-direction: row;
  }

  body.node-type-community-innovation-hub .ih-hero__operations {
    align-self: center;
    text-align: right;
    width: 25%;
  }

  body.node-type-community-innovation-hub .ih-hero__heading {
    padding-right: 30px;
    width: 75%;
  }

  body.node-type-community-innovation-hub .ih-hero__heading h2.member-text__title,
  body.node-type-community-innovation-hub .ih-hero__heading h3.member-text__subtitle {
    text-align: left;
  }

  body.node-type-community-innovation-hub .ih-ctas {
    flex-direction: row;
  }

  body.node-type-community-innovation-hub .ih-callout__content--text {
    width: 67%;
  }

  body.node-type-community-innovation-hub .ih-callout__content--icon {
    display: block;
    padding-left: 50px;
    width: 33%;
  }

  body.node-type-community-innovation-hub .ih-contact__content--icon {
    background-image: url('../images/contact-icon.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50%;
    display: block;
    width: 33%;
  }

  body.node-type-community-innovation-hub .ih-contact__content form {
    width: 67%;
  }
}

/* Large+ screen styles */
@media (min-width: 992px) {

  body.node-type-community-innovation-hub .ih-hero__logo {
    display: block;
    text-align: right;
  }

  body.node-type-community-innovation-hub .ih-hero__heading h2 + h3 {
    margin-top: 30px;
  }

  body.node-type-community-innovation-hub .ih-hero__logo,
  body.node-type-community-innovation-hub .ih-hero__operations {
    align-self: center;
    width: 20%;
  }

  body.node-type-community-innovation-hub .ih-hero__heading {
    padding-left: 30px;
    width: 60%;
  }

  body.node-type-community-innovation-hub .ih-hero__operations {
    text-align: left;
  }

  body.node-type-community-innovation-hub .ih-hero__heading h2.member-text__title,
  body.node-type-community-innovation-hub .ih-hero__heading h3.member-text__subtitle {
    text-align: center;
  }

  body.node-type-community-innovation-hub .ih-callout__content--icon {
    padding-left: 100px;
  }
}

/* Anonymous user header starts */
.top-header li {
  display: inline-block;
}

.top-header li a {
  text-transform: uppercase;
  min-width: auto;
  color: #585858;
  font-weight: 600;
  font-size: 15px;
  padding: 0 .6rem;
  transition: 0.3s all;
}

.top-header li a:hover {
  color: #8dc63f;
}

.top-header {
  margin-bottom: 0;
}

.top-header li a.btn-mix.login-btn {
  background: #8dc63f;
  margin-right: 3px;
}

.top-header li a.btn-mix.register-btn {
  background: #606060;
}

.top-header li a.btn-mix {
  padding: 5px 15px 7px 15px;
  text-transform: capitalize;
  color: #fff;
  min-width: 82px;
}

.not-logged-in .header-wrap .l-site-info img {
  max-width: 157px;
  margin-top: 2px;
}

@media (max-width:979px) {
  .header-wrap .block-colleaga-config-cc-header-user {
    float: left;
    width: 100%;
  }

  .top-header li {
    display: block;
    margin: 5px 0px;
  }

  .top-header {
    margin-bottom: 0;
    display: none;
  }

  .custom-toggel {
    position: absolute;
    right: 22px;
    top: 11px;
  }

  .custom-toggel span {
    height: 2px;
    width: 18px;
    background: #333;
    display: block;
    margin: 4px 0px;
    cursor: pointer;
  }
}

@media (min-width:980px) {
  .top-header {
    display: block !important;
  }
}

@media (min-width:768px) and (max-width:979px)  {
  .header-wrap .l-site-info {
    width: 100%;
  }
}


@media (max-width:767px) {
  .header-wrap {
    text-align: left;
    margin-left: 21px;
  }
}

@media (max-width: 979px){
  .header-wrap .header-inner-region {
    float: left;
    width: 100%;
    text-align: center;
  }
}

#register-msg-modal p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 18px;
}


#register-msg-modal h2 {
  margin-bottom: 0;
  font-size: 25px;
}

#register-msg-modal {
  padding: 15px;
}

.colleaga-zurb-user-register-form-wrapper .alert-box.success{
  display: none;
}

#register-msg-modal {
  z-index: 99999;
  top: 33% !important;
  transform: translate(0,-50%);
  -webkit-transform: translate(0,-50%);
}

.page-user-register .reveal-modal-bg.reg-page-bg {
  z-index: 9999;
}
/*Anonymous user header ends */
