/*
Theme Name:     Peter Hahn Corporate Theme
Theme URI:    http://themeforest.net/user/artbees
Description:    Child theme for the Jupiter theme
Author:         Brandpfeil GmbH
Theme URI:    http://themeforest.net/user/artbees
Template:       jupiter
Version:        1.0
*/


/* Helper classes */
.visible-xs, .visible-sm {
  display: none;
}

@media (max-width: 1023px) {
  .visible-sm {
    display: block;
  }
}

@media (max-width: 767px) {
  .visible-sm {
    display: none;
  }

  .visible-xs {
    display: block;
  }
}

/* Blog icon */
.mk-header-social .mk-svg-icon[data-name=mk-jupiter-icon-simple-wordpress] {
  display: none
}

.mk-header-social ul li a svg {
  width: 16px;
}

.mk-header-social a.wordpress-hover {
  display: none;
}

/* New Google Plus Icon */
.mk-header-social .mk-svg-icon[data-name=mk-jupiter-icon-simple-googleplus] {
  display: none;
}
.mk-header-social a.googleplus-hover {
  background: url(images/google-plus.svg) 0 0 no-repeat;
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  top: 7px;
}

.mk-header-social a.googleplus-hover:hover {
  background-image: url(images/google-plus-hover.svg?05092016);
}

/* Menu styles */
.main-navigation-ul ul.sub-menu li.menu-item:hover > a.menu-item-link {
  color: #f3f3f3 !important;
}

/* Language switch */
.main-nav-languages {
  display: inline-block;
}

.main-nav-languages ul {
  list-style: none;
}

.main-nav-languages ul li a {
  text-transform: uppercase !important;
  vertical-align: middle;
}

.main-nav-languages ul li a .mk-svg-icon {
  padding: 0 0 3px 3px;
}

.main-nav-languages .submenu {
  display: none;
  background-color: #f3f3f3;
  padding: 8px 0;
  margin-left: 0;
  position: absolute;
  top: 100%;
}

.main-nav-languages .submenu li {
  margin-left: 0;
}

.main-nav-languages .submenu li a {
  font-size: 12px;
  font-weight: 200;
  letter-spacing: 1px;
  line-height: 18px;
  color: #8b7586;
  display: block;
  padding: 10px 30px 10px 20px;
  text-align: left;
  transition: all .2s ease-in-out;
}

.main-nav-languages ul li.dropdownOpen .submenu {
  display: block !important;
}

.main-nav-languages .submenu li a:hover {
  background-color: #8b7586 !important;
  color: #f3f3f3 !important;
}

.main-nav-languages ul li.dropdownOpen .submenu::after {
  background-color: #8b7586;
  height: 2px;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.main-nav-languages-mobile li ul li a {
  text-transform: uppercase !important;
}

/* Menu overrides */
.main-navigation-ul > li.menu-item > a.menu-item-link {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* Contact Form 7 overrides */
div.wpcf7-validation-errors {
  border: none;
  background-color: initial;
  color: #9e0121;
}

div.wpcf7-response-output {
  padding: 0;
  font-size: 13px;
  font-weight: normal;
}

.wpcf7-form input[type=email] {
  background-color: #fff !important;
}

/* download form with email confirmation */
.download-form {
  color: #473c41;
  font-weight: normal;
}

.download-form .wpcf7-submit {
  background-color: #473c41;
  color: #fff;
  padding: 11px 28px;
  margin: 10px 0;
  height: 40px;
  font-size: 18px;
  line-height: 18px;
}

.download-form input[type=email] {
  background-color: #fff !important;
  color: #999;
  width: auto;
  height: 40px;
}

.download-form span.wpcf7-not-valid-tip {
  display: none;
}

div.wpcf7 .download-form img.ajax-loader {
  margin-bottom: 0;
}

.download-form .wpcf7-response-output {
  display: none !important;
}

.wpcf7-form.sent .download-form {
  display: none;
}

/* Download Manager overrise */
.w3eden .panel {
  border: none;
}

.w3eden .panel-body {
  padding: 0;
}

.w3eden .panel-heading {
  display: none;
}

.w3eden .wpdm_icon {
  display: none;
}

.w3eden .ptitle {
  display: none;
}

div.wpcf7-mail-sent-ok {
  border: none;
  background-color: inherit;
  font-size: 14px;
  color: #473c41;
  font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}

div.wpcf7-mail-sent-ok hr {
  border-top-color: transparent;
  margin: 0 !important;
}

.wpcf7-mail-sent-ok .btn-success,
.wpcf7-mail-sent-ok .btn-success:hover,
.wpcf7-mail-sent-ok .btn-success:focus,
.wpcf7-mail-sent-ok .btn-success:active {
  background-color: #473c41;
}

.wpcf7-mail-sent-ok .btn-success .fa-downlaod {
  display: none;
}

.wpcf7-mail-sent-ok .btn-success {
  border-radius: 0;
  color: #fff;
  font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  font-weight: normal;
  font-size: 18px;
  padding: 11px 28px 12px 28px;
  margin: 10px 0;
  height: 40px;
  line-height: 18px;
}

.w3eden .wpcf7-mail-sent-ok .btn-success:hover {
  background-color: #473c41;
}

.download-form input[type=email] {
  width: 100%;
}


/* Footer */
@media (max-width: 1023px) {
  .mk-col-1-5 {
    width: 33%;
  }
}


/* Social Footer */
.ph-social-footer {
  padding: 5em 0;
}

.ph-social-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  text-align: center;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
          justify-content: center;
}

.ph-social-list:before {
  content: " ";
  height: 1px;
  width: 100%;
  position: absolute;
  top: 50%;
  background-color: #ccc;
  left: 0;
  z-index: 0;
}

.ph-social-list > li {
  display: inline-block;
  padding: 0 20px;
  background-color: white;
  z-index: 1;
  margin: 0;
  position: relative;
}

.ph-social-list > li:first-child {
  padding-left: 30px;
}

.ph-social-list > li:last-child {
  padding-right: 30px;
}

.ph-social-list a:hover path {
  fill: #979797;
}

.ph-social-list a:hover {
  color: #979797;
}

.ph-social-list a {
  width: 25px;
  height: 25px;
  display: table-cell;
  line-height: 25px;
  vertical-align: middle;
}

.ph-social-list svg {
  width: 25px;
  height: auto;
  display: block;
  max-height: 100%;
}

.ph-social-list .text-link {
  color: #473c41;
  font-family: 'Caveat', cursive;
  font-size: 20px;
  white-space: nowrap;
}

/* responsive tables on events page */
@media (max-width: 767px) {
  .mk-fancy-table th:empty {
    display: none;
  }

  .mk-fancy-table .is-full-responsive th {
    display: none;
  }

  .mk-fancy-table .is-full-responsive td br {
    display: none;
  }

  .mk-fancy-table .is-full-responsive td:first-child {
    background: #f3f3f3;
  }

  .mk-fancy-table th {
    display: block;
  }

  .mk-fancy-table tr {
    display: block;
  }

  .mk-fancy-table td {
    display: block;
    width: 100%;
    text-align: left;
    -webkit-box-sizing: border-box;box-sizing: border-box;
  }

  .mk-fancy-table td:empty {
    display: none;
  }

  .mk-fancy-table td:before {
    font-weight: bold;
  }
}
