/*

Theme Name: Avada Child

Description: Child theme for Avada theme

Author: ThemeFusion

Author URI: https://theme-fusion.com

Template: Avada

Version: 1.0.0

Text Domain: avada-child

*/

body, h1, h2, h3, h4, h5, h6 {
    font-display: swap;
}

.home-text {
    text-align:center;
}

.button-large {
    padding: 13px 29px 10px;
    font-size:13px;
}

.home-text .button-large {
    margin:0 10px 10px;
}

.fusion-main-menu > ul > li > a span {
    vertical-align:middle;
}

.fusion-testimonials.classic blockquote q {
    line-height:1.6;
}

h3, h4, h5 {
    text-transform:uppercase;
}

.fusion-testimonials.classic .company-name {
    color:#e5a9b5;
}

.fusion-testimonials.classic .company-name strong {
    font-weight:300;
}

.home .fusion-footer-widget-area {
    border-top:0 none;
}

.footer-logo {
    max-height:70px;
    margin-top: 60px;
}

.fusion-footer {
    font-size:16px;
}

.fusion-footer #social_links-widget-2 {
    padding-top:15px;
}

.fusion-footer p {
    margin:0;
}

.footer-contact strong {
    color:#e5a9b5;
    font-weight:300;
}

.fusion-footer-widget-column {
    margin-bottom: 20px;
}


.social_links {
    padding-top:35px;
}

.engineroom {
    height: 14px;
    vertical-align: middle;
    margin-top: -4px;
}

.copyright {
    padding-top:2px;
}

.fusion-page-title-bar .fusion-breadcrumbs, .fusion-page-title-bar .breadcrumbs {
    font-size:12px;
}

.fusion-page-title-bar .breadcrumbs a {
    color: #333333;
}

.etsy-banner {
	border: 1px solid #ededed;
	display: block;
	max-width: 995px;
	margin: 0 auto;
}

body .gform_wrapper label.gfield_label {
    font-weight:300;
}

body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    outline:0 none;
    font-weight:300;
    font-size:16px;
    padding: 6px 8px 4px;
    line-height:40px;
}

body .gform_wrapper .top_label textarea.textarea {
    outline:0 none;
    font-family: "Josefin Sans";
    font-weight:300;
    font-size:16px;
    padding:8px;
}

body .gform_wrapper .gform_footer input.button, body .gform_wrapper .gform_footer input[type=submit], body .gform_wrapper .gform_page_footer input.button, body .gform_wrapper .gform_page_footer input[type=submit] {
    padding: 13px 29px 10px;
    font-size: 13px;
}

body .gform_wrapper .top_label div.ginput_container {
    margin-top:3px !important;
}

body  .gform_wrapper .gfield.gfield_error select {
    border: 1px solid #790000;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required#field_1_3 label.gfield_label {
    margin-top: 0;
}
    
body .gform_wrapper li.gfield.gfield_error#field_1_3 {
    padding-top: 0;
}

body .gform_wrapper li.gfield option:disabled {
    color: #b9b9b9;
}

body .gform_wrapper {
    margin-top:0;
}

body .gform_wrapper .top_label select {
    font-weight:300;
    font-size:16px;
    padding: 0 8px 0;
    line-height:40px;
}

body .gform_wrapper .top_label select option {
    font-weight:300;
}

body .gform_wrapper .cakes-form .gfield input[type="text"].datepicker {
    width:100%;
}

body .gform_wrapper ul.gform_fields li.gfield.gf_left_half, body .gform_wrapper ul.gform_fields li.gfield.gf_right_half {
    margin-top:4px;
}

body .gform_wrapper .newsletter-form span.gform_description {
    font-weight:300;
    text-align:center;
    width:100%;
    font-size:14px;
    margin-bottom:10px;
    line-height:1.3;
}

body .gform_wrapper .newsletter-form .top_label .gfield_label {
    display:none;
}

body .gform_wrapper .newsletter-form .gform_heading {
    margin-bottom:12px;
}

body footer .newsletter-form_wrapper {
    padding:0 12%;
    margin-bottom:0;
}

body footer .gform_wrapper .newsletter-form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    padding: 2px 8px 0px;
    line-height: 32px;
    height: 32px;
    font-size: 13px;
}

body footer .gform_wrapper .newsletter-form .gform_footer {
    padding-top:0;
    padding-bottom:0;
    text-align:center;
}

body footer .gform_wrapper .newsletter-form ul.gform_fields li.gfield {
    padding-right:0;
    margin-top:12px;
    margin-bottom:12px;
}

body footer .gform_wrapper .gform_footer input.button, body .gform_wrapper .gform_footer input[type=submit] {
    font-size:11px;
    padding: 9px 15px 6px;
}

body footer .gform_wrapper div.validation_error {
    font-size:14px;
    line-height:1.3;
}

.fusion-footer-widget-area .widget-title {
    margin:0 0 12px;
}

.enquiry-form h3 {
    margin-bottom: 0.5em;
}

body.blog main#main, body.single-post main#main {
    background-image: url(https://www.thelittlesugarbox.com/wp-content/uploads/2019/01/pink_rice.png);
    background-position: center center;
    background-repeat: repeat;
    padding-top: 40px;
}

body.single-post main#main > .fusion-row {
    max-width: 800px;
}


body.blog .fusion-post-wrapper,  body.single-post section#content  {
    background-color: white !important;
}

body.single-post section#content  { 
    padding: 30px;
}

body.single-post .classes-post-box {
    background:#f9f9f9;
    padding:24px;
    margin-top: 40px;
    margin-bottom: 0px;
}

body.single-post .classes-post-box h2 {
    margin-top: 0px;
}

.fusion-blog-layout-grid-wrapper {
    padding:0 12%;
}

.fusion-blog-archive .fusion-blog-layout-grid .post .fusion-post-content-wrapper {
    padding:30px 15px 20px 15px;
}

.post-type-archive-classes #wrapper #main .fusion-post-content>h2.fusion-post-title {
  text-align: center;
  font-size:24px;
}

.class-testimonial {
    border:1px solid #e5e5e5;
    padding:25px 25px 20px 25px;
    margin-bottom:15px;
}

.class-testimonial .class-testimonial-text {
    margin-bottom:8px;
}

.class-testimonial .class-testimonial-author {
    font-weight:400;
}

.class-section {
    border-bottom:1px solid #e5e5e5;
    padding:25px 0 20px;
}

.class-section h4 {
    margin-top:0;
}

.class-section.class-intro {
    padding-top:0;
    padding-bottom:0;
    overflow: hidden;
}

.class-section.class-intro p {
    margin-top:0;
}

.single .fusion-sharing-box {
    margin-top:35px;
}

.class-gallery {
    list-style:none;
    padding:0;
    overflow:hidden;
    margin: 15px -15px 15px 0;
}

.class-gallery li {
    float:left;
    width:25%;
    margin:0 0 15px 0;
    padding-right:15px;
}

.class-gallery li img {
    width:100%;
}

.on-the-day {
    padding-left:26px;
    margin-bottom:10px;
}

.class-price {
    font-size:28px;
    text-align:right;
    margin-top:40px;
}

.single-classes #main > .fusion-row {
    max-width: 100%;
}

.single-classes #main {
    padding-bottom:0;
}

.pullquote {
    padding:24px;
    border-left:solid 6px #fcdee6;
}

.alison {
    background:#f9f9f9;
    padding:24px;
}

body .gform_wrapper div.validation_error {
    border:0;
    padding:0;
    font-weight:300;
    margin-bottom:10px;
}

body .gform_wrapper .validation_message {
    font-weight:300;
}

body .gform_wrapper li.gfield.gfield_error {
    background-color:transparent;
    border:0 none;
}

body .gform_wrapper .field_description_below .gfield_description {
    padding-top: 4px;
}

body .gform_wrapper .field_description_below .gfield_description a {
    color:#e5a9b5;
}

.booking-form {
    margin-left:-30px;
    margin-right:-30px;
}

.fusion-slider-loading {
    border-top-color:rgba(255,188,201,0.4);
    border-right-color:rgba(255,188,201,0.4);
    border-bottom-color:rgba(255,188,201,0.9);
    border-left-color:rgba(255,188,201,0.4);
}

.contact-icons .fusion-content-boxes.content-boxes-icon-on-top .content-box-column {
    margin-bottom:5px;
}

.class-buttons {
    text-align:center;
}

.class-section .class-buttons {
    text-align:left;
}

.fusion-main-menu .fusion-dropdown-menu .sub-menu li a, .fusion-main-menu .sub-menu li a {
    padding-top:10px;
    padding-bottom:8px;
}

.fusion-main-menu .fusion-dropdown-menu:hover {
    overflow: visible;
}

.contact-icons a {
    color:#747474;
}

.contact-icons a:hover {
    color:#333;
}

#wrapper #main .fusion-post-content > h2.fusion-post-title {
    font-size:29px;
    min-height:54px;
}

.fusion-page-title-bar .fusion-page-title-row h1 {
    text-transform:capitalize;
}

body .fusion-modal .modal-title, .fusion-modal h3 {
    font-family: "Great Vibes";
    text-transform: capitalize;
    font-size: 30px;
}

.post-content .fusion-modal-text-link h3, .post-content .fusion-hover-image a {
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    margin:0;
    background:rgba(229,169,181,0.8);
    color:#FFF;
    font-weight:500;
    text-align:center;
    transition:all 0.2s ease-in-out !important;
    padding-top:50%;
    opacity:0;
    letter-spacing:2px;
    font-size: 30px;
    font-family: "Great Vibes";
    text-transform: capitalize;
}

.fusion-modal-text-link:hover h3, .fusion-hover-image:hover a, .fusion-hover-image:hover p {
    opacity:1;
}

/*
.fusion-hover-image p {
    margin: 0;
}
*/
.fusion-modal-text-link p {
    display:none;
}

.modal .fusion-image-carousel {
    margin-bottom:0;
}

.modal .fusion-carousel .fusion-carousel-wrapper {
    padding:0;
}

.fusion-modal .modal-title, .fusion-modal h3 {
    color:#f2b2bf;
    font-weight:400;
    letter-spacing:1px;
    font-size:24px;
}

.modal-body {
    padding:20px 20px 15px;
}

.modal-header {
    padding: 15px 20px 10px;
}

.fusion-modal .modal-header .close {
    margin-top: 1px;
}

.slider-outer {
    position:relative;
}

.slider-outer h2, .home-image h2 {
    color:#FFF !important;
    text-align:center;
    width:100%;
    background:rgba(229,169,181,0.7);
    text-transform: capitalize;
    margin: 0;
    padding: 4px 0;
    pointer-events:none;
    font-size:28px !important;
}

.home-image h2 {
    text-indent:-9999px;
}

body .fusion-faq-shortcode .fusion-accordian .panel-title a .fa-fusion-box {
    background:url(/wp-content/uploads/2017/12/heart.svg) center center no-repeat transparent;
    width: 24px;
    height: 23px;
    opacity:0.5;
}

body .fusion-faq-shortcode .fusion-accordian .panel-title .active .fa-fusion-box, body .fusion-faq-shortcode .fusion-accordian .panel-title a:hover .fa-fusion-box {
    background-color:transparent !important;
    opacity:1;
}

body .fusion-faq-shortcode .fusion-accordian .panel-title a .fa-fusion-box:before {
    display:none;
}

.fusion-secondary-header {
    border-bottom:0 none;
}

.badges {
    position:absolute;
    height:auto;
    top:15px;
    right: 50%;
    z-index:9999;
    margin-right: -562px;
}

.badge {
	width:120px;
    height:auto;
    margin-left: 10px;
}

.class-price .book-now-btn, .class__price .book-now-btn {
	background: #e5a9b5;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-block;
    padding: 12px 29px 9px;
    color: #FFF;
    font-weight: 300;
    letter-spacing: 1px;
    margin-left: 15px;
}

.class__description p {
    font-size: 15px;
}

.class__short-desc a {
    font-weight: bold;
}

body .available-dates {
	color: #e5a9b5;
    font-size: 18px;
    margin-top: 20px;
    float: left;
    clear: both;
    margin-bottom: 20px;
}

.available-dates__left {
	margin-right: 10px;
	font-weight: 500;
	padding-top:20px;
}

.available-dates__right > div {
	padding-top:20px;
}

.fusion-one-page-text-link {
	float: right;
}

.available-dates__right {
	display: flex;
	flex: auto;
	justify-content: space-between;
}

.next-av-date img {
	max-width: 80px;
}

.available-dates {
	font-size: 22px;
}

.image-holder {
	display:inline-block;
	position:relative;
}

.friend-banner {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
	width:48%;
	max-width:292px;
}

.promotion__text {
	text-align: center;
    border: 1px solid #eccfd5;
    margin-bottom: 20px;
	padding: 0px 100px 15px 100px;
	position:relative;
}

.promotion__text h3 {
	color: #f2b2bf;
    font-weight: 400;
    margin-bottom: 10px;
}

.promotion__text p {
	margin: 10px 0;
}

.promotion__text .badge-1 {
	position: absolute;
    left: -50px;
    bottom: -40px;
    transform: rotate(-10deg);
    width: 149px;
}

.promotion__text .badge-2 {
	position: absolute;
    right: -50px;
    top: -40px;
    transform: rotate(10deg);
    width: 149px;
}

.badges-mobile {
	display:none;
	text-align:center;
	padding:5px 0 25px 0;
}

.badges-mobile img {
	width:120px;
	display:inline-block;
	margin:0 10px;
}

.class__img {
	position:relative;
	background-size:cover;
	background-position:center center;
}

.class__img .class-link {
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:1;
}

.heart-list {
    list-style:none;
    padding-left: 1em;
}

.heart-list li {
    margin-bottom: 20px;
}

.heart-list li:before {
    content: '';
    display: inline-block;
    height: 1em;
    width: 1em;
    vertical-align: middle;
    background-image: url(https://www.thelittlesugarbox.com/wp-content/uploads/2017/12/heart.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right:0.5em;   
    padding-top: .25em;
}

#gform_confirmation_message_10 {
    background: #f2b2bf;
    padding: 20px 30px;
    color: #FFF;
    text-align: center;
    font-weight: 500;
}

@media only screen and (min-width: 641px) {
    .gform_wrapper .top_label li.gfield.gf_left_half, .gform_wrapper .top_label li.gfield.gf_right_half {
        margin-bottom: 2px;
    }
}

@media only screen and (min-width:767px) and (max-width:800px) {	
	body .class__description .available-dates {
		font-size:16px;
	}
	
	.class__description .available-dates__left, .available-dates__right > div {
		padding-top:0;
	}
	
	.class__description .next-av-date img {
    	max-width:74px;
	}
}

@media only screen and (min-width:712px) and (max-width: 992px) {
    .fusion-blog-archive .fusion-blog-layout-grid .post .fusion-post-content-wrapper {
        padding: 20px 15px 15px 15px;
        min-height: 122px;
    }
}

@media only screen and (min-width: 800px) {
	.fusion-social-links-header {
		margin: 0px 0 0 -36%;
		position: absolute;
		top: 70px;
		left: 50%;
		z-index: 100;
	}
}

@media only screen and (min-width:800px) and (max-width:1260px) {
    .class-section .class-buttons .button-large {
        margin:0 0 10px;
        display:block;
    }
	
	body .available-dates {
		display:block;
	}
	
	.available-dates__left, .available-dates__right > div {
		padding-top:0;
	}
}

@media only screen and (min-width: 1400px) {
	.fusion-social-links-header {
		margin: 0px 0 0 -26%;
	}
}

@media only screen and (max-width: 1200px) {
    .fusion-blog-layout-grid-wrapper {
        padding:0 8%;
    }
    
    .post-type-archive-classes #wrapper #main .fusion-post-content>h2.fusion-post-title {
        font-size:21px;
    }
    
    .fusion-main-menu > ul > li > a {
        padding-left: 22px;
        padding-right: 22px;
    }
    
    .badges {
        margin-right: -480px;
    }

    .next-av-date img {
    	max-width:74px;
	}
}

@media only screen and (max-width: 992px) {
    .fusion-main-menu > ul > li > a {
        padding-left: 17px;
        padding-right: 17px;
        font-size: 14px;
        letter-spacing: 1.2px;
    }
    
    .post-type-archive-classes #wrapper #main .fusion-post-content>h2.fusion-post-title {
        font-size: 22px;
    }
    
    .footer-contact {
        padding-top:15px;
    }
    
    .social_links {
        padding-top:25px;
    }
    
    .slider-outer h2, .home-image h2 {
        padding: 10px 0 6px;
        font-size: 24px !important;
    }
    
    .badges {
        margin-right: -374px;
    }
	
	.badge {
		width:80px;
	}
}

@media only screen and (max-width:800px) {
    .fusion-body .main-panel .fusion-layout-column {
        width: 33.33% !important;
    }
    
    .social_links, .footer-contact {
        padding-top:0;
    }
    
    .fusion-columns .fusion-column:not(.fusion-column-last) {
        margin: 0 0 40px;
    }
    
    .fusion-columns .fusion-column.fusion-column-last {
        margin:0;
    }
    
    .fusion-body .fusion-footer-widget-area-center .fusion-columns .fusion-column:first-child {
        margin: 0 0 30px;
    }
    
    .fusion-footer-widget-area {
        padding-bottom:50px;
    }
    
    .fusion-blog-layout-grid-wrapper {
        padding:0 6%;
    }
    
    .slider-outer h2, .home-image h2 {
        font-size: 18px !important;
    }
    
    .fusion-modal-text-link h3, .fusion-hover-image a {
        font-size: 46px;
    }
    
    .fusion-contact-info {
        padding:0;
    }
    
    .badges {
        right:70px;
        top:62px;
        margin-right:0;
    }
	
	.promotion__text {
        padding:50px 15px 25px 15px;
        margin-top:50px;
	}
	
	.promotion__text .badge-1 {
		position: absolute;
		left: 50%;
		top: -50px;
		transform: none;
		width: 119px;
		margin-left: -129px;
    }
    
    .promotion__text .badge-2 {
        position: absolute;
		right: 50%;
		top: -50px;
		transform: none;
		width: 119px;
		margin-right: -129px;
    }
	
	.badges-mobile {
		display:block;
	}
}

@media only screen and (max-width:712px) {

    .post-type-archive-classes #wrapper #main .fusion-post-content>h2.fusion-post-title {
        font-size: 29px;
    }
    
}


@media only screen and (max-width:640px) {
    .home-text .button-large, .class-buttons .button-large {
        margin:0 0 10px;
        display:block;
    }
    
    .fusion-body .main-panel .fusion-layout-column {
        width: 50% !important;
    }
    
    .fusion-body .main-panel .fusion-layout-column.home-image {
        display:none;
    }
    
    .copyright {
        padding:0;
    }
    
    .fusion-blog-layout-grid-wrapper {
        padding:0 2%;
    }
    
    .single-classes #content {
        margin-bottom:0;
    }
    
    .contact-icons .fusion-content-boxes.content-boxes-icon-on-top .content-box-column {
        margin-bottom:30px;
    }
    
    img.content-image {
        margin: 15px 0;
        float: none;
        width: 100%;
    }
    
    .badges {
        right: 10px;
    	top: 10px;
    }
	
	.badge {
		width:60px;
		margin-left:5px;
	}
}

@media only screen and (max-width:480px) {
    .fusion-logo {
        max-width: 190px;
    }
    
    .fusion-mobile-menu-icons {
        margin-top: 5%;
    }
    
    .slider-outer h2, .home-image h2 {
        line-height:1.2 !important;
        padding: 8px 5px 4px;
    }
    
    .slider-outer h2, .home-image h2 {
        padding: 8px 10px 4px;
    }
    
    .fusion-column-last.slider-outer h2 {
        line-height: 42px !important;
    }
}

@media only screen and (max-width:380px) {
    .slider-outer h2, .home-image h2 {
        padding: 8px 12px 4px;
    }
    
    .fusion-column-last.slider-outer h2 {
        line-height:63px !important;
    }
}

 .class__wrapper {
      border: 2px solid #ededed;
      margin-bottom: 40px;
    }

    .class__wrapper img {
        width: 100%;
    }

    .class__description {
      margin-top: 25px;
      padding: 0 14px 14px;
    }

    .class__title {
      color: #f2b2bf;
      margin-top: 0.8em;
   }

   .class__price {
    font-size: 28px;
    margin-top: 45px;
    margin-bottom: 20px;
    text-align: right;
   }

   .class__skill-level {
        margin-top: 12px;
        font-size: 12px;
        color: #ce8694;
        background: #e5a9b55e;
        padding: 4px 20px;
        width: 225px;
        text-transform: uppercase;
        text-align: center;
        border-radius: 20px;  
        display: block; 
    }

   
    @media (min-width: 768px) {
        .class__wrapper {
            display: flex;
         }

        .class__img {
            flex-basis: 50%;
        }

        .class__description {
            margin-top: 0;
            padding: 0 20px;
            flex-basis: 50%;
        }

      }

      .class__short-desc {
            text-align: justify;
        }

        .class__title {
        	text-align: center;
        }
 
    @media (min-width: 1280px) {
          .class__description {
            flex-basis: 75%;
             padding: 0 25px;
        }
        .class__img {
            flex-basis: 25%;
        }
    }
    @media (max-width: 1280px) {
    	.class__price {		    
		    margin-top: 42px;
		}

    }

    .promotion {
      margin-bottom: 20px;
    }

    .promotion img {
      width: 140px;
    }

  .promotion__images {
    text-align: center;
  }

  @media (max-width: 767px) {
  .promotion__images img {
    margin-bottom: 10px;
    width: 100px;
  }
  
  .promotion__text {
    text-align: center;
  }
  
  .class__img {
  	height:600px;
  }
}

@media (min-width: 576px) {
	.promotion__images {
		display: flex;
		justify-content: space-around;
	}
}

.class-buttons {
	margin-bottom: 35px;
}

.button-class-pink {
	background: #f2b2bf !important;
}

.button-class-pink:hover {
	background: #eea0b0 !important;
}


@media (min-width: 767px) {
	.available-dates {
		display: flex;
	}
}

@media (max-width: 991px) {
  .class-section__testimonials-display {
  	display: none;
  }
  .social-sharing__display {
  	display: none;
  }

  .class__description2 {
  	text-align: justify;
  }
  .post {
  	margin-bottom: 25px;
  }
  .fc-day-header span {
    font-size: 18px;
   }
 }

 .calendar__buttons {
 	margin: 15px 0;
 }

@media (max-width: 575px) {
.calendar__buttons {
	text-align: center;
}
 .calendar-button_1 {
  	float: none !important;
  	margin-bottom: 15px;
	width: 80%
  }
  .calendar-button_2 {
	width: 80%;
  }
}

@media (min-width: 992px) {
  .class-section__testimonials-mobile {
	display: none;
  }
  .social-sharing__mobile {
	display: none;
  }
}
 @media (min-width: 576px) {
.calendar__buttons {
	display: flex;
	justify-content: space-around;
	
  }
}
.modal-content {
	color: #e5a9b5;
	font-size: 22px
}

.modal-content h2 {
	font-size: 40px;
	color: #e5a9b5;
}

#calendar {
	margin-top: 10px;
}

.fc-event-container {
	text-align: center;
}

.fc-event-container .fc-content {
	padding-top: 5px;
}

.fc-event.disabled {
    cursor: default;
    font-size: .75em !important;
   /*background-color: #e5a9b5 !important;
    border: 1px solid #e5a9b5 !important;*/
}

@media (max-width: 491px) {
	.fc-event-container .fc-content{
		padding-top: 0;
	}
	.fc-event-container .fc-content  .fc-title {
		font-size: 10.5px;
	}
	
	body .available-dates {
		font-size:16px;
	}
}



@media (max-width: 414px) {
	.gform_wrapper input#gf_coupon_button.button {
		margin-left: 0 !important;
		margin-top: 10px;

	}
}

@media (max-width: 767px) {
	.available-dates__left, .available-dates__right > div {
		padding-top:0;
    }
    
    .class__price {
        margin-bottom:0;
    }
	
	.next-av-date img {
    	max-width:74px;
	}
}

@media (max-width: 404px) {
	.available-dates__right span {
        display: block;
        margin-bottom: 15px;
    }

    .class__price {
        font-size:22px;
        margin-top: 35px;
    }

    .class-price .book-now-btn, .class__price .book-now-btn {
        margin-top:-4px;
        padding: 10px 12px 7px;
        margin-left:8px;
    }

    .next-av-date img {
        max-width: 60px;
        margin-top:0;
    }
}

@media (max-width: 991px) {
.post-type-archive-classes .available-dates__right {
   align-items: center;
  }
.post-type-archive-classes .available-dates {
	display: block;
}

}

a.next-av-date, a.fc-day-grid-event {
    cursor: pointer;
}

.fc-toolbar.fc-header-toolbar {
    display: flex;
    justify-content: center;
}

.fc-left {
    order: 1;
}

.fc-center {
    order: 2;
}

.fc-right {
    order: 3;
}

.fc-toolbar button {
    background: none;
    border: 0;
    box-shadow: none;
    color: #f2b2bf;
    cursor: pointer;
}

.fc-scroller {
    height: auto !important; 
}

#exampleModal {
    overflow-y: auto !important;
}

/** Video Archive **/

.s-container {
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .s-container {
        max-width: 840px;
    }
}

@media (min-width: 768px) {
    .s-container {
        max-width: 720px;
    }
}

@media (min-width: 576px) {
    .s-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .s-container {
        max-width: 720px;
    }
}

.s-video {
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
}

.s-video--small {
    margin-left: -15px;
    margin-right: -15px;
}

.s-video__item {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 40px;
    width: 50%;
}

.s-video__item .wp-video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.s-video__item .wp-video.active {
    z-index: 1;
}

.s-video--small .s-video__item {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
    width: 33.3333%;
}

.s-video__list {
    padding: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.s-video__content {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    position: relative;
    border: 2px solid #f2b2bf;
}

.s-video--small .s-video__content {
    align-content: flex-end;
    padding: 10px;
    height: 230px;
}

/*
.s-video__content::before {
    content: '';
    background-color: rgba(51,51,51, .4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
*/

.s-video--small .s-video__content::before {
    background-color: rgba(51,51,51, .2);
}

.s-video--small .s-video__content::after {
    content: '';
    background-image: linear-gradient( 0deg, rgb(17,17,17) 0%, rgba(17,17,17,0) 100%);
    opacity: .2;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
}

.s-video__title,
.s-video__links {
    width: 100%;
    z-index: 5;
}

.s-video__title,
.s-video__title a,
.s-video__btn {
    color: #fff;
}

.s-video__title a:hover,
.s-video__btn:hover {
    color: #fff;
}

.s-video__info {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.s-video__info--active {
    display: flex;
}

.s-video__info::before {
    content: '';
    background-image: linear-gradient( 0deg, rgba(17,17,17,0) 0%, rgb(17,17,17) 100%);
    opacity: .2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
}

.s-video__title {
    font-size: 42px;
    letter-spacing: 0 !important;
    margin-top: 0;
    margin-bottom: 160px;
    text-shadow: #656565 0px 0px 10px;
}

.s-video__title.s-video__title--small {
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 1px !important;
    text-transform: uppercase;
    margin-bottom: 0;
    width: auto;
}

.s-video--small .s-video__title {
    font-size: 28px;
    margin-bottom: 0;
}

.s-video__play {
    border: 16px solid transparent;
    border-left: 26px solid #fff;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.s-video__btn {
    background-color: rgba(189, 187, 98, 0.5);
    font-size: 14px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    padding: 12px 24px;
    position: relative;
}

.s-video__btn:hover {
    background-color: rgba(189, 187, 98, 1);
}

.s-video__btn.s-video__btn--small {
    background-color: rgba(17, 17, 17, .4);
    font-size: 11px;
    line-height: 1;
    padding: 12px 22px 8px 22px;
}

.s-video__btn--play {
    padding: 12px 24px 12px 42px;
    margin-right: 15px;
}

.s-video__btn--play::before {
    content: '';
    border: 7px solid transparent;
    border-left: 12px solid #fff;
    position: absolute;
    top: 12px;
    left: 20px;
}

@media screen and (min-width: 1200px) {
    .s-video__item .wp-video-shortcode video,
    .s-video__item video.wp-video-shortcode,
    .s-video__item .mejs-container.mejs-video {
        height: 100% !important;
    }
}

@media screen and (max-width: 1199px) {
    .s-video__item .wp-video {
        position:static;
    }

    .s-video__content {
        height: inherit;
    }

    .s-video__content.active {
        padding: 0;
    }
}

@media screen and (max-width: 991px) {
    .s-video--small .s-video__item {
        width: 50%;
    }

    .s-video__title {
        font-size: 32px;
        margin-bottom: 100px;
    }

    .s-video__btn {
        font-size: 12px;
    }

    .s-video__btn--play::before {
        border-width: 6px;
        border-left-width: 10px;
        top: 10px;
    }
}

@media screen and (max-width: 767px) {
    .s-video--small .s-video__item,
    .s-video__item {
        width: 100%;
    }
}

@media screen and (max-width: 580px) {
    .s-video__title {
        font-size: 24px;
        margin-bottom: 100px;
    }

    .s-video__list {
        padding: 5px;
    }

    .s-video__btn {        
        padding: 8px 24px;
        background-color: rgba(189, 187, 98, 0.4);
    }

    .s-menu .s-menu__item {
        display: block;
        width: 100%;
        margin-right: 0;
    }


    .s-menu .s-menu__item a {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .s-video__btn--play {
        padding: 8px 24px 8px 42px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .s-video__btn--play::before {
        top: 7px;
    }

    .post-type-archive .mejs-controls {
        display: none !important;
        visibility: hidden !important;
        
    }
}

/** Single Videos **/

.s-single {
    border-bottom: 1px solid #ededed;
    padding-bottom: 25px;
    margin-bottom: 10px;
}

.s-single .wp-video {
    margin-bottom: 20px;
}

.s-single__title {
    font-size: 32px;
    color: #f2b2bf;
    letter-spacing: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
}

.s-single__text {
    margin-bottom: 15px;
}

.s-single__text p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.1px;
    margin: 0;
}

.s-single__label {
    font-size: 14px;
    color: #f2b2bf;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.s-single__list {
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
}

.s-single__list li {
    line-height: 30px;
}

.s-single__list svg {
    margin-right: 3px;
    position: relative;
    top: 1px;
}

.s-single__list a,
.s-single__back {
    font-size: 16px;
    color: #747474;
    letter-spacing: 0;
}

.s-single__list a {
    text-decoration: underline;
}

.s-single__back svg {
    fill: #747474;
    margin-right: 7px;
}

/** Menu Pages **/

.s-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding-left: 0;
    margin-bottom: 45px;
    width: 100%;
}

.s-menu__item {
    margin-right: 10px;
}

.s-menu__item:last-child {
    margin-right: 0;
}

.s-menu__link {
    border: 1px solid #dedede;
    font-size: 12px;
    color: #959595;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 22px;
}

.s-menu__link--active {
    border-color: #f2b2bf;
    background-color: #f2b2bf;
    color: #fff;
}

.s-menu__link--active:hover {
    color: #fff;
}

/** Heading **/

.s-heading {
    text-align: center;
    margin-bottom: 40px;
}

.s-heading__title {
    font-size: 38px;
    color: #f2b2bf;
    letter-spacing: 0 !important;
    margin-bottom: 0;
}

.s-heading__seperator {
    display: inline-block;
    background-color: #f2b2bf;
    width: 80px;
    height: 2px;
}

/** Forms **/

.s-form {
    background-color: rgb(249, 245, 246);
    padding: 30px;
}

.s-form__row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 25px;
}

.s-form__status,
.s-form__notice {
    margin-top: 18px;
    margin-bottom: 18px;
    line-height: 1.8;
    padding: 10px 5px;
    text-align: center;
}

.s-form__status {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #eee;
    border-bottom: 3px solid #ddd;
}

.s-form__notice {
    color: #870011;
}

.s-form__info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.s-form__info a {
    display: inline-block;
    background-color: #bdbb62;
    border: 1px solid #bdbb62;
    font-size: 11px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    text-transform: uppercase;
    padding: 10px 14px;
    margin-top: 4px;
}

.s-form__info a:hover {
    color: #fff;
}

.s-form__title {
    font-size: 38px;
    color: #f2b2bf;
    letter-spacing: 0 !important;
    margin: 0;
}

.s-form__item {
    padding-left: 10px;
    padding-right: 10px;
    width: 50%;
}

.s-form__item--full {
    width: 100%;
}

.s-form__submit {
    text-align: center;
}

.s-form p {
    font-size: 14px;
    letter-spacing: 0;
    margin-top: 5px;
    margin-bottom: 0;
}

.s-form label {
    display: inline-block;
    font-size: 16px;
    letter-spacing: 0;
    margin-bottom: 3px;
}

.s-form label.hidden {
    opacity: 0;
}

.s-form label span {
    color: #870011;
    margin-left: 5px;
}

.s-form input[type="text"],
.s-form input[type="email"],
.s-form input[type="password"] {
    height: 45px;
}

.s-form input[type="submit"] {
    background-color: #bdbb62;
    border: 1px solid #bdbb62;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 22px;
}

@media screen and (max-width: 767px) {
    .s-form {
        padding: 15px;
    }

    .s-form__item {
        width: 100%;
    }
}

/** Video Info **/

.s-video-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.s-video-info__img,
.s-video-info__content {
    width: 50%;
}

.s-video-info__img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 215px;
}

.s-video-info__content {
    background-color: #fff;
    padding: 25px 25px 20px;
    position: relative;
}

.s-video-info__title {
    font-family: "Great Vibes", "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 30px;
    color: #f2b2bf;
    letter-spacing: 2.1px;
    text-transform: capitalize;
    margin-top: 0;
}

.s-video-info__label,
.s-video-info__price {
    font-weight: 300;
    font-size: 13px;
    color: #959595;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.s-video-info__price {
    position: absolute;
    bottom: 20px;
    left: 25px;
}

.s-video-info__price span {
    font-weight: 400;
    font-size: 24px;
    color: #f2b2bf;
    letter-spacing: 1px;
    margin-left: 5px;
}

/** Login Page **/

.gform_wrapper.gf_login_form {
    background-color: rgb(249, 245, 246);
    padding: 35px;
    margin: 0 auto;
    max-width: 450px;
}

.gform_wrapper.gf_login_form ul.gform_fields li.gfield {
    padding-right: 0;
}

.gform_wrapper.gf_login_form .top_label label.gfield_label,
.gform_wrapper.gf_login_form ul.gfield_checkbox li label {
    display: inline-block;
    font-size: 16px;
    letter-spacing: 0;
    margin-bottom: 3px;
}

.gform_wrapper.gf_login_form ul.gfield_checkbox li label {
    font-weight: 300;
    margin-bottom: 0;
    position: relative;
    top: 3px;
}

.gform_wrapper.gf_login_form .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    height: 45px;
}

.gform_wrapper.gf_login_form .gform_footer input[type="submit"] {
    background-color: #bdbb62;
    border: 1px solid #bdbb62;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 22px;
    width: 100%;
}

.gf_login_links {
    text-align: center;
    margin-top: 20px;
}

.gf_login_links a {
    font-size: 16px;
    color: #959595;
}



/* SLIDE UP BOX */
#note {
    position: fixed;
    z-index: 99999;
    bottom: -310px;
    right: 30px;
    height:250px;
    width:300px;
    padding:0 20px;
    background: #FFF;
    text-align: center;
    overflow: hidden; 
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.5);
    -moz-box-shadow:    0 0 5px rgba(0,0,0,.5);
    box-shadow:         0 0 5px rgba(0,0,0,.5);
}

#note h3 {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0px;
    font-style: normal;
    color: #333333;
    text-align:center;
    margin:14px 0 6px;
}

#note .gform_wrapper .newsletter-form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    padding: 2px 8px 0px;
    line-height: 32px;
    height: 32px;
    font-size: 13px;
}

#note .gform_wrapper .newsletter-form .gform_footer {
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
}

#note .gform_wrapper .newsletter-form ul.gform_fields li.gfield {
    padding-right: 0;
    margin-top: 12px;
    margin-bottom: 12px;
}

body #note .gform_wrapper div.validation_error, #note .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
    display:none;
}

body #note .gform_wrapper li.gfield.gfield_error {
    padding-top:0;
    padding-bottom:0;
}

.cssanimations.csstransforms #note {
    -webkit-transform: translateY(0px);
    -webkit-animation: slideDown 10s 4s 1 ease forwards;
    -moz-transform:    translateY(0px);
    -moz-animation:    slideDown 10s 4s 1 ease forwards;
}

#close {
    position: absolute;
    right: 10px;
    top: 9px;
    height: 16px;
    width: 16px;
    cursor: pointer;
    display: block;
    line-height: 1;
}

@-webkit-keyframes slideDown {
    0% { -webkit-transform: translateY(370px); }
    10%, 100% { -webkit-transform: translateY(-310px); }
}
@-moz-keyframes slideDown {
    0% { -moz-transform: translateY(370px); }
    10%, 100% { -moz-transform: translateY(-310px); }
}

.to-top-right #toTop {
    right: 50px;
}

@media screen and (max-width: 640px) {
    #note {
        right: 0;
        left:0;
        width:100%;
    }
}