/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/**Css added by wpdevs **/
.tribe-common.tribe-events.tribe-events-view.tribe-events-view--organizer,
.tribe-common.tribe-events.tribe-events-view.tribe-events-view--venue {
  padding: 20px;
}


/*** Organizer Header **/
body.tribe_organizer-template-default.single.single-tribe_organizer .tribe-events-header__title {
  display: none;
}
.tribe-common .tribe-events-pro-organizer__meta {
  padding: 30px !important;
  border: 1px solid var(--tec-color-border-default) !important;
  margin: 30px 0px 60px !important;
}

.tribe-common .tribe-events-pro-organizer__meta-content {
  width: calc(var(--tec-grid-width-1-of-8)*5) !important;
  display: flex;
  vertical-align: middle;
  align-items: center;
}

.tribe-common .tribe-events-pro-organizer__meta-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tribe-common .tribe-events-pro-organizer__meta-details img {
  max-width: 300px;
  max-height: 300px;
  border-radius: 50% !important;
  border: 1px solid #ccc;
  height: 100%;
  width: 100%;
}

/*** Venue Header ***/
body.tribe_venue-template-default.single.single-tribe_venue .tribe-events-header__title {
  display: none;
}

.tribe-common .tribe-events-pro-venue__meta-row.tribe-common-g-row.tribe-common-g-row--gutters {
  display: flex;
}

.tribe-common .tribe-events-pro-venue__meta-content {
  width: calc(var(--tec-grid-width-1-of-8)*5) !important;
  display: flex;
  vertical-align: middle;
  align-items: center;
  padding-left: 40px !important;
}

.tribe-common .tribe-events-pro-venue__meta-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: var(--tec-grid-gutter-small-half);
  padding-right: var(--tec-grid-gutter-half);
  width: calc(var(--tec-grid-width-1-of-8)*3);
}

.tribe-common .tribe-events-pro-venue__meta-featured-image-wrapper img.tribe-events-pro-venue__meta-featured-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 350px;
  max-height: 350px;
}

.tribe-common .tribe-events-pro-venue__meta .tec-events-c-view-box-border {
  padding: 30px !important;
  border: 1px solid var(--tec-color-border-default) !important;
  margin: 30px 0px 60px !important;
}

.tribe-common .tribe-events-pro-venue__meta-address.tribe-common-b1.tribe-common-b2--min-medium {
  align-items: center;
  text-align: center;
}

.tribe-common .tribe-events-pro-venue__meta-map {
  width: 100% !important;
  padding: 0 !important;
  margin: 30px 0 !important;
}

.tribe-events-pro-organizer__meta-title-mobileonly {
  display: none;
}

/* single events */

.av-single-event-meta-bar-inner {
    flex-direction: column;
}
.tribe-common.event-tickets.tribe-tickets__tickets-wrapper {
    order: 1;
}
.tribe-events-single-section.tribe-events-event-meta.primary.tribe-clearfix {
    order: 2;
}
.tribe-events-single-section.tribe-events-event-meta.secondary.tribe-clearfix {
    order: 3;
    display: flex;
    flex-direction: column-reverse;
}
h2.tribe-events-related-events-title {
    order: 4;
}
ul.tribe-related-events.tribe-clearfix {
    order: 5;
}
.tribe-events-event-image img {
width: 100%;
}
.tribe-common.event-tickets.tribe-tickets__tickets-wrapper {
    border: 1px solid #eee;
    max-width: 580px;
    margin: 30px 0;
}



/* Mobile and Tablet Media Query */
@media only screen and (max-width: 768px) {
  .tribe-common.event-tickets.tribe-tickets__tickets-wrapper {
    order: unset;
  }
  /* Styles for mobile devices (phones) */
  .tribe-common .tribe-events-pro-venue__meta-content {
    width: auto !important;
    padding-left: var(--tec-grid-gutter-small-half) !important;
  }

  .tribe-common .tribe-events-pro-venue__meta-details {
    width: auto;
    display: flex;
    text-align: left !important;
    align-items: flex-start !important;
    vertical-align: top;
    margin-top: 30px;
  }

  .tribe-common .tribe-events-pro-venue__meta-address.tribe-common-b1.tribe-common-b2--min-medium {
    align-items: flex-start !important;
    text-align: left;
  }

  .tribe-common .tribe-events-pro-venue__meta-row.tribe-common-g-row.tribe-common-g-row--gutters {
    margin: 0 auto;
  }

  .tribe-common .tribe-events-pro-venue__meta-row.tribe-common-g-row.tribe-common-g-row--gutters {
    display: flex;
  }

  .tribe-common .tribe-events-pro-venue__meta-row.tribe-common-g-row.tribe-common-g-row--gutters {
    margin: 10px auto 0;
    flex-direction: column-reverse;
  }

  .tribe-events-pro .tribe-events-pro-organizer__meta-title {
    display: none;
  }

  .tribe-events-pro .tribe-events-pro-organizer__meta-title.tribe-events-pro-organizer__meta-title-mobileonly {
    display: block !important;
  }

  .tribe-events-pro-organizer__meta-content.tribe-common-g-col {
    width: 100% !important;
    margin: 20px 0 !important;
    padding: 10px 30px 0 !important;
    display: block;
    word-wrap: break-word;
  }

  .tribe-common .tribe-events-pro-organizer__meta-details img {
    max-width: 250px;
    max-height: 250px;
  }

  .tribe-common .tribe-events-pro-venue__meta-featured-image-wrapper img.tribe-events-pro-venue__meta-featured-image {
    max-height: 250px;
    max-width: 250px;
  }

  .tribe-events-single-section.tribe-events-event-meta.secondary.tribe-clearfix {
    flex-direction: column;
  }
  h2.tribe-events-related-events-title{
    display: block !important;
  }
  ul.tribe-related-events.tribe-clearfix{
    display: flex !important;
    flex-direction: column !important;
  }
}

/*Tablet vertical mode*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {

  /* Styles for tablets */
  .tribe-common.tribe-events.tribe-events-view.tribe-events-view--organizer,
  .tribe-common.tribe-events.tribe-events-view.tribe-events-view--venue {
    padding: 20px;
  }

  .tribe-common .tribe-events-pro-organizer__meta-details img {
    max-width: 250px;
    max-height: 250px;
  }

  .tribe-common .tribe-events-pro-organizer__meta-details {
    width: calc(var(--tec-grid-width-1-of-8)*3) !important;
  }

  .tribe-common .tribe-events-header .tribe-events-pro-organizer__meta-row {
    flex-direction: row-reverse;
  }

  .tribe-common .tribe-events-pro-venue__meta-details {
    margin-top: 0px;
  }

  .tribe-common .tribe-events-pro-venue__meta-featured-image-wrapper img.tribe-events-pro-venue__meta-featured-image {
    max-height: 250px;
    max-width: 250px;
  }
  .tribe-events-pro-organizer__meta-content.tribe-common-g-col {
    display: block;
    word-wrap: break-word;
  }

}

/*for tablet related events */
@media only screen and (min-width: 610px) and (max-width: 1150px) {
  ul.tribe-related-events.tribe-clearfix{
    display: flex !important;
    flex-direction: row !important;
  }
}

/* fix tablet tickets */
@media only screen and (min-width: 769px) and (max-width: 950px) {
  form#tribe-tickets__tickets-form {
    padding: 0;
    margin-top: 30px !important;
  }
  form#tribe-tickets__tickets-form .tribe-tickets__tickets-item {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
  }
}
/** end css by wpdevs **/

/*** Added on christophermuyl request */
@media only screen and (max-width: 920px){
  /** Put your all css here **/
 
}
.tribe-common ol, .tribe-common ul, .entry-content-wrapper ul {
    list-style: none !important;
}