/*
Theme Name: Safari Pizza
Author: Simply Marvellous Music
Version: 1.0
*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
@font-face {
    font-family: "PhosphateProInline";
    src: url('webfonts/PhosphateProInline/font.woff2') format('woff2'), url('webfonts/PhosphateProInline/font.woff') format('woff');
  }

  @font-face {
    font-family: 'Blue Highway';
    font-style: normal;
    font-weight: normal;
    src: local('Blue Highway'), url('webfonts/bluehigh.woff') format('woff');
    }


    @font-face {
    font-family: 'Blue Highway Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Blue Highway Bold'), url('webfonts/bluebold.woff') format('woff');
    }

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.4em;
    color: #666;
    font-family: 'Blue Highway', sans-serif;
    font-weight: normal;
    letter-spacing: 0.1rem
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #246c6f;
    font-weight: normal;
    font-family: 'Blue Highway Bold', sans-serif;
    text-transform: uppercase;
}

h2, h3, h4, h5 {
    font-size: 2rem;
    margin: 0 0 5px 0
}

p + h2 {
    margin: 35px 0 10px 0
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 2em;
}

@media (max-width: 576px) {
    .l-box {
        padding: 1em;
    }
}

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

.is-right {
    text-align: right
}

.is-bottom {
    display: flex; flex-direction: column; justify-content: flex-end;
}

@media (max-width: 576px) {
    .is-right {
        text-align: center
    }
}

/* HEADER */

header {
    position: relative;
}
header nav li a {
    color: #fff;
    text-decoration: none;
}



header nav li {
    display: inline-block;
    padding: 15px 10px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.15rem;
    position: relative;
}



header nav li ul {
   position:absolute;
   top: 35px;
    height: auto;
    padding: 10px 0 0 0;
    width: 200px !important;
    display: none;

}

header nav li.menu-item-has-children:hover ul {
    display: block;
}

header nav li ul li {
    display: inline;
    padding: 5px 0;
    text-align: left;
}

header nav li ul li a {
    display: block;
}

header .fade-in {
    background:#246c6f
}
header .custom-brand img {
    width: 180px;
    transition: all 0.2s ease-in;
}

header .fade-in .custom-brand img {
    width: 80px;
}

@media (max-width: 567px) {
    header .custom-brand img {
        width: 100px
    }

    header .fade-in .custom-brand img {
        width: 60px;
    }

    .pure-menu-horizontal .pure-menu-list {
        display: none !important
    }
}

.splash-container {
    position: relative;
}

.splash-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    background: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.55));
    z-index: 1
}

@media (max-width: 567px) {
    .splash-container::after {
        height: 150px;
    }
    .splash-container::before {
        content: '';
        position: absolute;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        height: 150px;
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.55));
        z-index: 0
    }

    .home  .splash-container::before {
        height: 100%;
    }
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[text] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    color: white;
    padding: 5px 20px;
    border: 2px solid #fff;
    font-family: PhosphateProInline;
    font-size: 2.2rem;
    background: none
}

@media (max-width: 567px) {
    .pure-button {
        font-size: 1.8rem;
    }
}

.pure-button.green {
    color: #246c6f;
    border: 2px solid #246c6f
}


/*
 * -- MENU STYLES --
 */
 @media (max-width: 567px) {
.pure-menu-list li {
    width: 100%;
    display: block;
    font-size: 1.2rem
}
 }

 @media (min-width: 1024px) {
    .pure-menu-fixed  {
        padding-left: 40px;
        padding-right: 40px
    }
}
/*
 * -- SPLASH STYLES --
 */

.splash-container {
    background: #666;
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 100vh;
    margin-bottom: 45px
    /* top: 0;
    left: 0;
    position: fixed !important; */
}

.home .splash-container {
    margin-bottom: 0
}
@media (max-width:1023px) {
    .splash-container  {
        background-position: top center !important;
        background-size: cover !important;
        height: 600px
    }
}
@media (max-width: 567px) {
    .splash-container  {
        background-position: top center !important;
        background-size: cover !important;
        height: 420px
    }
}

.splash {
    width: 85%;
    margin: auto;
    position: absolute;
    top: auto;
    left: 0;
    bottom: 50px;
    right: 0;
    text-align: center;
    text-transform: uppercase;
}

.home .splash {
    top: 40%;
    bottom: auto;
}

@media (max-width: 567px) {
    .home .splash {
        top:30%;
    }
    .splash {
        height: auto;
        bottom: 0;
    }
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-family: 'PhosphateProInline';
    font-size: 3rem ;
    font-weight: normal;
    color: white;
    letter-spacing: 0.5rem;
    margin:0;
    line-height: 100%;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.55);

}


@media (max-width: 1023px) {
    .splash-head {
        font-size: 2.8rem ;
        letter-spacing: 0.35rem;
    }
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: white;
    letter-spacing: 0.25em;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.55);
    margin: -10px
}

.home .splash-subhead {
    margin-bottom: 65px
}

@media (max-width:1023px) {
    .splash-subhead {
        letter-spacing: 0.2em;
        font-size: 1.6rem;
        margin: 10px
    }

    .home .splash-subhead {
        margin-bottom: 25px
    }
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top:100%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;
}

.content {
    padding: 1em 1em 3em;
    max-width: 1280px;
    margin: 0 auto;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #1f8dd6;
}
    .content-subhead i {
        margin-right: 7px;
    }

/* This is the class used for the dark-background areas. */
.ribbon {
    background: #2d3e50;
    color: #aaa;
}

/* This is the class used for the footer */
.footer {
    background: #111;
    position: fixed;
    bottom: 0;
    width: 100%;
}



/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {
    body {
        font-size: 20px;
    }

    .home-menu {
        text-align: left;
    }
        .home-menu ul {
            float: right;
        }

    .splash-head {
        font-size: 320%;
    }

    .l-box-lrg {
        border: none;
    }

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 430%;
        margin: 0 0 20px 0
    }
}

footer {
    background: #246c6f;
    color: #fff
}
.footer-nav,
.social-links {
    display: flex;
    justify-content: center;

}

.footer-nav ul,
.social-links
 {
    padding: 0 ;

}

.footer-nav li {
    list-style: none;
    display: inline;
    text-transform: uppercase;
    padding: 0 7px;
    font-size: 1rem;
    letter-spacing: 0.15rem;
}

.footer-nav li a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

footer p {
text-transform: uppercase;
margin: 0 0 5px 0;
line-height: 120%;
font-size: 1.1rem
}

footer  a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 576px) {
    footer {
        text-align: center
    }


}

.social-links li {
    margin: 0 5px;
    list-style: none;
    width: 45px;
    height: 45px;
}

.social-links li img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.social-links li:hover img {
    width: 45px;
    height: 45px;
}

.custom-wrapper {
    width: 100%;
    margin-bottom: 1em;
    -webkit-font-smoothing: antialiased;
    height: 4.8em;
    /* overflow: hidden; */
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    transition: height 0.5s;
}


.custom-wrapper.fade-in {
    height: 2.8em;
}
.custom-wrapper.open {
    height: 100vh;
    background:#246c6f
}

.custom-wrapper.fade-in nav .sub-menu {
  background:#246c6f;
  padding: 10px;
}

.custom-wrapper.open nav li {
    text-align: center;
}

/* .custom-wrapper.open nav ul {
    display: block
} */


.custom-wrapper.open nav li ul {
    position: relative;
    text-align: center;
    width: 100% !important;
   top: 0;
   padding-top: 10px !important;
   display: block;
   padding-bottom: 0;
}

.custom-wrapper.open nav li {
    padding: 10px !important
}

.custom-wrapper.open nav li ul li {
    text-align: center;
}

.custom-wrapper.open nav li ul li:last-child {
    padding-bottom: 0 !important
}

.custom-wrapper.open nav li.menu-item-has-children {
    padding-bottom: 0 !important
}

.custom-toggle {
    width: 34px;
    height: 44px;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

.custom-toggle .bar {
    background-color: #fff;
    display: block;
    width: 30px;
    height:3px;
    border-radius: 100px;
    position: absolute;
    top: 19px;
    right: 12px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle .bar:last-child {
    top: 26px;
}
.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.custom-toggle.x .bar:last-child {
    display: none
}

@media (max-width: 47.999em) {
    .custom-toggle {
        display: block;
    }
}

/* TABS */
.page-template-menu-php input { display: none; }
.page-template-menu-php  input + label { display: block;  }
.page-template-menu-php  input + label:hover {cursor: pointer;}
.page-template-menu-php  input ~ .tab { display: none }
#tab1:checked ~ .tab.content1,
#tab2:checked ~ .tab.content2,
#tab3:checked ~ .tab.content3,
#tab4:checked ~ .tab.content4,
#tab5:checked ~ .tab.content5 { display: inline-block; }
.page-template-menu-php  input + label {
    padding: 4px 12px;
  }
  /* input:checked + label {
    background: #FFF;
    border-bottom: 1px solid transparent;
  }
  input ~ .tab {
    border-top: 1px solid #999;
    padding: 12px;
  } */

  .tab {
    width: 100%
  }
  @media (min-width: 576px) {
    #tab1 + label {margin-left: 28%}

}
@media (max-width: 576px) {
    input + label {
        padding: 4px;
      }
      #tab1 + label {margin-left: 5%}

}
@media (min-width: 1024px) {
    .menu-box .pure-u-md-1-2 {
        width: 48%
    }
}
.menu-box p {
    display: block;
    line-height: 110%;
    margin: 10px 0;
    overflow: auto;
}

.menu-box p  {
    padding-right: 80px
}
.menu-box p strong {
    float: right;
    font-weight: normal;
    margin-right: -80px
}


.gform_fields input {
    border: 1px solid #666 !important;
    color: #666 !important
}

/* Events */
#ect-events-list-content .ect-list-post-right .ect-list-description {
    box-shadow: none !important;
    padding: 25px !important
}

.ect-list-post-left .ect-list-date {
    position: relative !important;
}

@media (min-width: 789px) {
    .ect-list-post-left .ect-list-date {
        width: 40% !important
    }
}

.tribe-events-event-image img {
    max-width: 100% !important;
    height: auto !important
}

.tribe_events-template-default h1,
.tribe_events-template-default h2,
.tribe_events-template-default h3,
.tribe_events-template-default h4,
.tribe_events-template-default p,
.tribe_events-template-default li,
.page-id-232 h1,
.page-id-232 h2,
.page-id-232 h3,
.page-id-232 h4,
.page-id-232 p,
.page-id-232 li,
.page-id-232 span,
.page-id-232 div
 {
    font-family: 'Blue Highway' !important;
}

.page-id-232 span,
.page-id-232 div {
    font-size: 20px !important
}

.tribe_events-template-default h1,
.tribe-common-anchor-alt {
    color: #246c6f !important
}

.tribe-common-anchor-alt {
    border-bottom: 2px solid #246c6f !important
}

.tribe-events-schedule  h2 {
    font-size: 24px !important
}

.tribe_events-template-default p {
    font-size: 20px !important
}

.tribe_events-template-default .splash-container {
    height: 450px !important;
}

.tribe-events.tribe-common {
    display: none !important
}

@media (max-width:1023px) {
    .tribe_events-template-default .splash-container  {
        background-position: top center !important;
        background-size: cover !important;
        height: 600px
    }
}
@media (max-width: 567px) {
    .tribe_events-template-default .splash-container {
        background-position: top center !important;
        background-size: cover !important;
        height: 420px
    }
}

.tribe_events-template-default .splash-container:after {
    display: none
}

.page-id-232 .splash-container,
.page-id-233 .splash-container  {
    background: #246c6f !important;
    height: 80px
}

.page-id-232 .splash-container:after,
.page-id-233 .splash-container:after {
    display: none
}

.tribe-tickets__commerce-checkout-footer div,
.tribe-tickets__commerce-checkout-cart-footer span {
    color: #fff !important
}

.tribe-common-c-btn {
    background: #246c6f !important;
    color: #fff !important
}

.tribe-tickets__commerce-checkout-paypal-advanced-payments-container {
    display: none !important
}

.tribe-tickets__commerce-checkout-cart {
    width: 600px
}

.tribe-tickets__commerce-checkout-cart-footer-total {
    padding-right: 15px !important
}

@media (max-width: 567px) {
    .tribe-tickets__commerce-checkout-cart {
        width: 100%
    }
}

.ti-widget {
	padding-top: 80px
}