/*
 Theme Name:   GrandConference Child
 Description:  Mein Child Theme
 Author:       Webtimiser
 Author URI:   http://www.webtimiser.de
 Template:     grandconference
 Version:      1.0
 Text Domain:  grandconference-child
*/

/*
  Quick and incomplete Grid System by CHR - giftGRÜN
*/

.row{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.row .col-6{
  display: block;
  
  box-sizing: content-box;
  min-width: 285px;
  flex: 1;
}

.row .col-6:last-of-type{
  margin-left: 8px;
  
}
/*
  END Grid System
*/
#menu_wrapper {
  opacity: 0;
  display: none;
}

/* START - Header Buttons */
.header-buttons-right {
  margin-right: 0;
  margin-top: 17px;
  float: right;
}

.header-buttons-right .button {
  padding: .3em 1em;
}

.header-buttons-right ul {
  list-style: none;
}

.header-buttons-right ul:after {
  content: '';
  clear: both;
}

.header-buttons-right ul li {
  float: left;
}

.header-buttons-right ul li:not(:first-of-type) {
  margin-left: 10px;
}

.button.button-red {
  background-color: rgb(197, 36, 43);
  border-color: rgb(197, 36, 43);
  color: #FFFFFF;
}

.button.button-red:hover,
.button.button-red:focus {
  background-color: rgb(118, 184, 43) !important;
  border-color: rgb(118, 184, 43) !important;
  color: #FFFFFF;
}

.button.button-outline {
  background: none;
  background-color: transparent;
  border-color: #000000;
  color: #000000;
}

.button.button-outline:hover,
.button.button-outline:focus {
  background: none;
  background-color: rgb(118, 184, 43);
  border-color: rgb(118, 184, 43);
  color: #FFFFFF;
}

.btn-right {
  float: right;
  cursor: pointer;
  font-size: 14px;
}

.btn-activated {
  background: none !important;
  background-color: rgb(118, 184, 43) !important;
  border-color: rgb(118, 184, 43) !important;
  color: #FFFFFF !important;
}

.btn-right:first-of-type {
  margin-left: 15px;
}

.session_event_id {
  float: left;
  display: inline-block;
}

.button-wrapper {
  margin-top: 1em;
  float: left;
  width: 100%;
}

.seminar-item {
  width: 100%;
  padding: 0.5em 1em;
  background-color: rgba(191, 191, 191, 0.15);
  color: #5f5f5f;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  display: block;
  margin-bottom: 1em;
  font-weight: 600;
  position: relative;
  box-sizing: border-box;
}

.seminar-item .fa {
  padding: 10px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(197, 36, 43);
  cursor: pointer;
  font-size: 20px;
}

.seminar-item-title {
  color: #005093;
  font-size: 18px;
  display: block;
  width: 90%;
  margin-bottom: 6px;
  line-height: normal;
}


.seminar-item--required .seminar-item-title{
  display: inline-block;
  width: 70%;
  margin-bottom: 0;
}
.seminar-item--required__btn{
  display: block;
  cursor: pointer;
  text-align: right;
  color: rgb(118, 184, 43);

}
.prices_and_info__container{
  height: 0;
  max-height: 0;
  
  visibility: hidden;
  transition: max-height .3s ease-out;
}
.prices_and_info__container.open{
  height: auto;
  visibility: visible;
  max-height: 1000vh;
}
.seminar-item-start-date,
.seminar-item-end-date {
  font-size: 14px;
}

.seminar-wrapper {
  margin-top: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,.075);
  float: left;
  width: 100%;
}

.session_content_wrapper .session_excerpt {
  display: inline-block;
  width: calc(65% - 41px);
  float: left;
  border-right: 1px solid rgba(0,0,0,.075);
  padding: 0 20px;
}

.inner-col-left,
.inner-col-right  {
  box-sizing: border-box;
  width: 50%;
  float: left;
}

.inner-col-right  {
  width: 50%;
  float: left;
}

.inner-col-right:after  {
  content: '';
  clear: both !important;
}

.inner-col-right a {
  margin-top: 20px;
  float: right;
}

.session-right-info {
  display: inline-block;
  width: calc(35% - 40px);
  float: left;
  margin: 15px 20px;
}

.info-row {
  width: 100%;
  float: left;
  display: block;
  margin-bottom: 20px;
}

.info-col-left {
  width: 30px;
  height: auto;
  float: left;
}

.info-col-right {
  width: calc(100% - 30px);
  float: left;
}

.session_content_wrapper.expandable.active {
  background-color: rgba(0,0,0,.075);
}

.session_content {
  position: relative;
}

.event-id {
  position: absolute;
  top: 0;
  right: 0;
}

.session-info-bottom {
  width: 100%;
  display: block;
  float: left;
}

.session_content_wrapper .session_title_list {
  display: block !important;
  width: 100%;
  margin: 40px 0 20px 0 !important;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,.15);
}

.scheduleday_wrapper li .session_location {
  border: 0;
  border: none;
  padding: 0;
  margin: 0;
  width: 50%;
  float: left;
}

.price-wrapper {
  margin-bottom: 5px;
  float: left;
  width: 100%;
  display: block;
}

.price-item {
  display: inline-block;
  float: left;
  width: 70%;
  word-break: break-word;
  text-align: left;
  line-height: 20px;
}

.price {
  display: inline-block;
  float: right;
  width: 30%;
  text-align: right;
  line-height: 20px;
}

.seminar-anmelden, .btn-seminar-anmelden {
  display: inline-block;
  padding: 13px 30px 12px 30px !important;
  margin-top: 16px;
  border: 0;
  border: none;
  border-radius: 8px !important;
  background-color: rgb(197, 36, 43);
  border-color: rgb(197, 36, 43);
  color: #FFFFFF;
  font-size: 15px;
}

.btn-seminar-anmelden:hover,
.btn-seminar-anmelden:focus,
.seminar-anmelden:hover,
.seminar-anmelden:focus {
  background-color: rgb(118, 184, 43) !important;
  border-color: rgb(118, 184, 43) !important;
  color: #FFFFFF;
}

.seminar-item-start-date,
.seminar-item-end-date {
  display: block;
  width: 100%;
}

.session_content_wrapper .session_location_content {
  font-weight: bold;
}

#mobile_nav_icon {
  top: 2px !important;
}

/* single speaker */
.single-speaker .session_content_wrapper {
  position: relative;
}

.single-speaker .event-id {
  top: 25px;
  right: 15px;
}

.single-speaker .session_content_wrapper .session_excerpt {
  width: 100%;
  padding: 0;
  float: none;
  min-height: auto;
  border: 0;
}

.info-row .fa {
  color: #76B82B;
}

/* Speaker Grid */
#page_content_wrapper.has-speakergrid  {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative;
}

#speakers_grid {
  background: #005093;
}

#speakers_grid a.zaen-dozent {
  display: block;
  height: 350px;
  min-height: 350px;
  width: 20%;
  float: left;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transform-origin: center;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: ease-in-out all 0.3s, ease-in-out box-shadow 0.4s, ease-in-out z-index 0.4s;
  z-index: 1;
  position: relative;
  background: #005093;
  border-radius: 0;
}

#speakers_grid a.zaen-dozent:hover {
  z-index: 2;
  border-radius: 5px;
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 6px 52px rgba(0, 0, 0, 0.6);
  background: #032e52;
  transition: ease-in-out all 0.3s, ease-in-out box-shadow 0.4s, ease-in-out z-index 0ms;
}

#speakers_grid a.zaen-dozent .zaen-dozent__content {
  position: relative;
  height: 100%;
  width: 100%;
}

#speakers_grid a.zaen-dozent .zaen-dozent__overlay {
  position: absolute;
  background-image: linear-gradient(transparent, rgba(0,0,0,0.9));
  width: 102%;
  height: 250px;
  bottom: 0;
  left: -1%;
  right: -1%;
  z-index: 1;
}

#speakers_grid a.zaen-dozent .zaen-dozent__name {
  position: absolute;
  bottom: 30px;
  left: 20px;
  width: calc(100% - 40px);
  display: inline-block;
  font-size: 28px;
  line-height: 1em;
  z-index: 2;
}

#speakers_grid a.zaen-dozent:hover .zaen-dozent__name {
  color: #fff;
}

#speakers_grid a.zaen-dozent .zaen-dozent__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  max-height: none;
  max-width: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  transition: ease-in-out opacity 0.2s;
}

#speakers_grid a.zaen-dozent:hover .zaen-dozent__img {
  opacity: 1;
}

#speakers_grid a.zaen-dozent .zaen-dozent__img[src=""],
#speakers_grid a.zaen-dozent .zaen-dozent__img[src="(unknown)"] {
  display: none;
}

#speakers_grid a.zaen-dozent,
#speakers_grid a.zaen-dozent * {
  border: none !important;
  outline: none !important;
}

#footer.has-speakergrid {
  margin-top: 0 !important;
}
/* Speaker Grid END */


.btn-submit-order__hint{
  display: block;
  visibility: hidden;
  color: grey;
  font-size: .8rem;
  margin-bottom: 8px;
}
.btn-submit-order:disabled{
  background: grey;
}

.btn-submit-order__hint.show{
  visibility: visible;
}


@media screen and (max-width: 1200px) {
  .seminar-item {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  div.wpcf7 {
    margin-top: -60px;
  }

  .session_content_wrapper .session_excerpt {
    min-height: 300px;
  }
}

@media screen and (max-width: 991px) {
  .session_content_wrapper .session_excerpt {
    width: 100%;
  }

  .session-right-info {
    width: 100%;
    margin: 15px 0;
  }

  .scheduleday_wrapper li .session_location {
    width: 100% !important;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  .header-buttons-right {
    margin-top: -5px;
  }

  .header-buttons-right .button {
    font-size: 13px;
  }

  #mobile_nav_icon {
    top: -4px !important;
    right: -12px !important;
  }

  body.js_nav .mobile_menu_wrapper {
    right: 50px !important
  }

  .btn-right {
    padding: 6px 20px 6px 20px !important;
  }

  .inner-col-left,
  .inner-col-right {
    width: 100%;
  }

  .inner-col-right {
    text-align: center;
  }

  .inner-col-right .seminar-anmelden {
    float: none;
  }
}
.session_filters__select__title{
  display: inline-block; 
  font-weight: bold; 
  margin-right: 8px;
}

.session_filters__select__wrapper{
  position: relative;
  display: inline-block; 
  max-width: 320px;
  min-width: 120px;
}
.session_filters__select{
  width: 100%;
}
.session_filters__select__icon{
  pointer-events: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}
@media screen and (max-width: 500px) {
  .header-buttons-right .button {
    font-size: 11px;
  }

  .logo_wrapper img {
    width: 60px !important;
  }

  .btn-right {
    font-size: 13px !important;
  }

  .event-id {
    position: static;
  }

  .inner-col-left,
  .inner-col-right  {
    width: 100%;
  }

  .seminar-item {
    font-size: 14px;
  }

  .seminar-item-title {
    font-size: 1em;
  }

  .seminar-item-start-date,
  .seminar-item-start-date {
    font-size: 0.75em;
  }
}

/* Implement all used fonts locally */

/* Poppins */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins/Poppins-Regular.ttf');
  font-weight: normal;
}

/* Work Sans */
@font-face {
  font-family: 'Work Sans';
  src: url('fonts/WorkSans/WorkSans-Regular.ttf');
  font-weight: normal;
}

/* Open Sans */
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans/OpenSans/OpenSans-Regular.ttf');
  font-weight: normal;
}

/* Fonts einstellen global */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Poppins', sans-serif !important;
}

body a {
	font-family: 'Open Sans', sans-serif !important;
}

body p,
body strong,
body italic {
	font-family: 'Work Sans', sans-serif !important;
}