/*
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 wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/* Promobox */

.main_color .av_promobox {
	background: transparent;
}

.av_promobox .avia-promocontent {
	margin-right: 0;
}

.av_promobox .avia-button-wrap {
	float: none;
}

#top .av_promobox .avia-button {
	float: none;
	margin: 0;
	position: relative;
	right: auto;
}

/* Grid Element */

.av-layout-grid-container {
	float: none;
	margin: 0 auto;
	max-width: 1310px;
	padding: 0 50px;
}

/* Section Element */
.avia-section {
	float: none;
	margin: 0 auto 25px;
	max-width: 1210px;
	padding: 0 24px;
}

.avia-section > .container {
	padding: 0;
}

/* Events plugin */

.main_color #tribe-events-content .tribe-events-calendar td {
    background: #fff;
    border-color: #000;
}

.tribe-events-meta-group-details dt:nth-of-type(3) {
    display: none;
}

#top #wrap_all .tribe-events-calendar tr > td:nth-child(1),
#top #wrap_all .tribe-events-calendar tr > td:nth-child(7) {
	background-color: rgba(168, 16, 16, 0.06);
}

.tribe-events-meta-group-details .tribe-events-event-url a {
    display: block;
    margin-top: 12px;
    position: relative;
    width: auto;
}

.tribe-events-meta-group-details .tribe-events-event-url a:before {
    background: #fff;
    bottom: 0;
    color: #ff0000;
    content: 'SIGN-UP NOW';
    font-size: 16px;
    font-weight: 700;
    left: 0;
    position: absolute;
    top: 0;
    right: 0;
}

/* Single Sign-Up Sheet */

.single-dlssus_sheet #primary {
    margin: 0 auto 122px;
    max-width: 1210px;
}

/* Load More section */

.load-more-wrapper {
    padding: 48px 0 0;
    text-align: center;
    width: 100%;
}

.cfb-load-more,
.cfb-load-more:active,
.cfb-load-more:focus {
    background: none;
    border: 2px solid #222;
    cursor: pointer;
    font-weight: 700;
    outline: 0;
    padding: 8px 20px;
    transition: .3s all;
}

.cfb-load-more:hover {
    background: #222;
    color: #fff;
}

/* Flip Boxes */
.flip .inner-with-image {
    height: 100%;
}

.flip .inner-with-image img {
    border: 0;
    height: auto;
    max-height: 100%;
    min-height: 100%;
    min-width: 100%;
    width: auto;
}

.flip .image-title,
.flip .image-label,
.flip .flip_link {
    display: none;
}

.flip .face.back .inner {
    display: table;
    padding: 5px !important;
}

.flip .face.back .inner .image-desc {
    display: table-cell;
    vertical-align: middle;
}

.flip .face.back .inner .image-desc p {
    font-size: 12px;
}

/* Entry Footer */
.post-entry .entry-content-wrapper .entry-footer .pagination_split_post:before {
    content: 'Pages: ';
    display: inline-block;
    float: left;
    margin-right: 12px;
    padding: 4px 0;
}

.post-entry .entry-content-wrapper .entry-footer .pagination_split_post > span,
.post-entry .entry-content-wrapper .entry-footer .pagination_split_post > a {
    background: #dd3333;
    color: #fff;
    border: 1px solid #dd3333;
    -webkit-border-radius: 100%;
    -ms-border-radius: 100%;
    border-radius: 100%;
    height: 30px;
    width: 30px;
    display: inline-block;
    float: left;
    margin-right: 6px;
    text-align: center;
    vertical-align: middle;
    padding: 4px 0;
}

.post-entry .entry-content-wrapper .entry-footer .pagination_split_post > a {
    background: #fff;
    border-color: #000;
    color: #000;
}

.post-entry .entry-content-wrapper .entry-footer .pagination_split_post a:hover  {
    background: #dd3333;
    border-color: #dd3333;
    color: #fff;
    text-decoration: none;
}

@media only screen and (min-width: 990px) {
    #top .cfb-flip {
    	min-height: 100%;
    }
    
    #top .cfb-front {
        height: auto !important;
    	min-height: 100%;
    	width: 100% !important;
    }

    .cfb-back {
      backface-visibility: hidden;
      height: auto !important;
      transform-style: preserve-3d;
      position: relative;
      z-index: 0;
      transform: rotateY(-180deg);
      width: 100% !important;
    }

    #top .cfb-back {
      backface-visibility: hidden;
      transform-style: preserve-3d;
      position: absolute;
      z-index: 0;
      transform: rotateY(-180deg);
    }
    
    #top .cfb_wrapper .cfb-data {
    	display: block;
    	width: 100%;
    }
    
    #top .cfb_wrapper.with-image .cfb-flip .cfb-image img {
        height: auto;
    }
}

#top .cfb-flip {
	min-height: 100%;
}

#top .cfb-front {
	min-height: 100%;
	width: 100% !important;
}

#top .cfb_wrapper .cfb-data {
	display: block;
	width: 100%;
}

/* Footer */

#footer .textwidget h3 {
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0.85em;
    text-transform: uppercase;
}

#footer .social_bookmarks {
    float: right;
    height: 34px;
    margin: -10px 0 0 30px;
    position: relative;
}

#footer .social_bookmarks li {
    border-radius: 300px;
    border: none;
    margin-right: 6px;
    overflow: hidden;
    top: 0px;
    position: relative;
    display: inline-block;
    clear: none;
    width: 34px;
}

#top #wrap_all #footer .av-social-link-facebook a {
    color: rgb(255, 255, 255);
    background-color: rgb(55, 88, 155);
}

#top #wrap_all #footer .av-social-link-instagram a {
    color: rgb(255, 255, 255);
    background-color: rgb(166, 118, 88);
}

#footer .social_bookmarks li a {
    font-size: 18px;
    line-height: 34px;
    min-height: 34px;
    width: 34px;
}

@media only screen and (min-width: 1201px) and (max-width: 1250px) {
    .av-main-nav li a {
        padding: 0 10px !important;
    }
}

@media only screen and (min-width: 991px) and (orientation: landscape) {
    .ifb-flip-box-section-with-image {
        height: 370px;
    }
}

@media only screen and (min-width: 991px) and (max-width: 1200px) {
    .av-main-nav .menu-item:not(.menu-item-search-dropdown) {
        display: none;
    }
    
    .responsive.html_mobile_menu_tablet #top #wrap_all .menu-item-search-dropdown > a {
        font-size: 24px;
    }
    
    .av-main-nav .av-burger-menu-main {
        display: block;
    }
}

@media only screen and (min-width: 991px) {
    .col-md-3:nth-child(4n+1) {
        clear: left;
    }
    
    .col-md-3:nth-child(4n+4) {
        clear: right;
    }
}

@media only screen and (max-width: 1024px) {
    #top .col-md-3 {
        display: inline-block;
        float: left;
        width: 33.3%;
    }
    
    .col-md-3:nth-child(3n+1) {
        clear: left;
    }
    
    .col-md-3:nth-child(3n+3) {
        clear: right;
    }
}

@media only screen and (max-width: 990px) {
    .ifb-flip-box-section-with-image {
        height: auto;
    }
    
    #top .cfb_wrapper.with-image .cfb-flip,
    #top .cfb_wrapper .cfb-data {
        height: auto !important;
        width: 100% !important;
    }
    
    #top .cfb_wrapper.with-image .cfb-flip .cfb-image img {
        height: auto;
    }
}

@media only screen and (min-width: 768px) and (max-width: 989px) {
    #top .col-md-3 {
        display: inline-block;
        float: left;
        width: 50%;
    }
    
    .col-md-3:nth-child(2n+1) {
        clear: left;
    }
    
    .col-md-3:nth-child(2n+2) {
        clear: right;
    }
}

@media only screen and (max-width: 767px) {
    .flip .y {
        position: relative;
    }
    
    .flip .face.front {
        position: relative !important;
    }
    
    .flip .face.back {
        position: absolute !important;
        top: 0;
    }
    
    .ifb-flip-box-section-with-image {
        height: auto;
    }
    
    #top .col-md-3 {
        display: inline-block;
        float: left;
        width: 50%;
    }
    
    .col-md-3:nth-child(2n+1) {
        clear: left;
    }
    
    .col-md-3:nth-child(2n+2) {
        clear: right;
    }
}

@media only screen and (max-width: 630px) {
    .ifb-flip-box-section-with-image {
        height: 100%;
    }
    
    .flip .face.back .inner .image-desc p {
        font-size: 14px;
        padding: 12px;
    }
    
    #top .col-md-3 {
        clear: both;
        display: inline-block;
        float: left;
        width: 100%;
    }
}

@media only screen and (min-width: 350px) and (max-width: 629px) {
    .flip .face.front {
        position: relative !important;
    }
    
    .flip .face.back {
        position: absolute !important;
        top: 0;
    }
}

@media only screen and (max-width: 349px) {
    .flip .face.front {
        position: absolute !important;
    }
    
    .flip .face.back {
        position: relative !important;
        top: -100%;
    }
    
    .flip .inner-with-image img {
        min-height: unset;
    }
    
    .flip .face.back {
        top: 0;
    }
}