/*
 Theme Name:   Old Spaghetti Child Theme
 Theme URI:    https://glaciermediadigital.ca
 Description:  Child Theme for Old Spaghetti Factory using Divi
 Author:       Glacier Media Digital
 Author URI:   https://glaciermediadigital.ca
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

/* :root {
  _primary-clr: #4e092b; WINE
	_secondary-clr: #df9f00; MUSTARD
	_terciary-clr: #ffdd92; BUTTER
} */

/*TYPOGRAPHY*/

h1 {
	font-size: 4rem;
	text-transform: uppercase;
}

h2 {
	font-size: 3rem;
	text-transform: normal;
	margin-bottom: 0.2em;
}

h3 {
	font-size: 1.5rem;
	text-transform: uppercase;
	font-weight: 200;
}

.no-wrap {
	white-space: nowrap;
}

/*CUSTOM MENU LINKS*/

#top-menu li {
  padding-right: 21px;
}

.order-menu,
.delivery-menu {
	padding-bottom: 48px;
}


.et-fixed-header .order-menu,
.et-fixed-header .delivery-menu{
  padding-bottom: 20px;
}


.menu-cta a {
	border: 1px solid #ffdd92;
	border-radius: 5px;
	padding: 0.7em 1.2em !important;
}

.menu-cta a:hover {
	border: 1px solid #ffdd92;
	border-radius: 5px;
	color: #4e092b !important;
	background-color: #df9f00;
	padding: 0.7em 1.2em !important;
	opacity: 1 !important;
}

.inline-nav {
  display: inline-block;
  width: 49%;
}
.inline-nav a {
  margin-bottom: 1rem!important;
  padding-right: 18px;
  padding-left: 18px;
}
.inline-nav-left a {
  text-align: right;
}
.inline-nav-right a {
  text-align: left;
}
.inline-nav i {
  color: #DF9F00;
  font-size: 34px;
}
.nav-small a {
  font-size: 14px!important;
  font-weight: 400!important;
}


/*LAYOUT*/

.half-grid {
	margin: 0px !important;
	width: 50vw !important;
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: flex-start;
}

.align-flex-vertical {
	align-items: center;
}

.stretch-height {
	align-items: stretch;
}


/*TESTIMONIAL SLIDER*/
.et_pb_slide_description{
	text-shadow: none !important;
}

.et_pb_slide_content{
	margin-top: 1em;
}

.et_pb_slide_content span{
	font-size: 1.2em;
	font-weight: 700;
}
  

/*FORM*/

.gform_wrapper #field_1_1{
	padding: 0px;
}

.gform_wrapper form.gf_simple_horizontal {
    width: 100% !important;
}


.gform_wrapper input,
.gform_wrapper textarea {
	border-radius: 5px !important;
  background: white !important;
	padding: 10px !important;
	margin: auto !important;
	width: 100% !important;
}

.gform_wrapper #input_1_1{
	width: 75% !important;
	font-size: 1rem !important;
	height: 3em !important;
}


.gform_wrapper #gform_submit_button_1{
	width: 25%;
	font-size: 1rem !important;
	height: 3em !important;
	color: white;
	border: 1px solid white !important;
	background-color: none;
	padding: 10px;
	margin: 0;
} 


.centered-form .gform_wrapper .top_label div.ginput_container {
    margin-top: 8px;
    text-align: center;
}


/*FOOTER*/
#footer-info {
	text-align: center !important;
	float: none;
}




/***** Location Styles *****/


.location-content .entry-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #FFDD92;
  flex-wrap: wrap;
}

.location-content .col-md-6 {
  width: 100%;
} 

.location-content .location-content-wrap {
  width: 100%;
  max-width: 625px;
  margin: 0 auto;
  padding: 64px 18px;
}



.location-content .location-details p {
  max-width: 440px;
  margin-bottom: 24px;
}

.location-content .btn-row {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
}

.location-content .btn {
  font-size: 18px;
  padding: 16px 20px;
  border: 1px solid #4E092B;
  border-radius: 5px;
  margin-bottom: 24px;
  transition: all ease-in-out 0.3s;
  margin-right: 12px;
  text-transform: uppercase;
}

.location-content .btn-primary {
  background: #4E092B;
  color: #fff;
}

.location-content .btn-primary:hover {
  background: #FFDD92;
  color: #4E092B;
}

.location-content .btn-secondary {
  background: #FFDD92;
  color: #4E092B;
}

.location-content .btn-secondary:hover {
  background: #4E092B;
  color: #fff;
}

.location-content ul {
  list-style: none;
  padding-left: 0;
}

.location-content .address {
  margin-bottom: 9px;
}

.location-content .btn-places {
  margin-bottom: 32px;
}




/***** Menu Styles *****/

.osf-menu {
  display: none;
}

.visible-menu {
  display: block;
}

.osf-menu .col-md-6 {
  width: 80%;
  margin: 0 auto;
}

.osf-menu .pre-menu {
  margin-bottom: 72px;
}

.osf-menu .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.osf-menu .menu-nav-btn { 
  margin-right: 0;
  border-radius: 0;
}

.menu-header h3 {
  margin-bottom: 36px;
}

.menu-header .menu-nav-btns {
  margin-bottom: 13px;
}

.menu-header .menu-nav-btn {
  margin-right: -4px;
  border-radius: 0;
}

.menu-header .menu-nav-btn.active {
  background: #4E092B;
  color: #fff;
}

.osf-menu .pre-menu-details-left {
  background: #4E092B;
}


.osf-menu .pre-menu-details-wrap {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  color: #fff;
  padding-top: 66px;
  padding-bottom: 86px;
  padding-left: 18px;
  padding-right: 18px;
}

.osf-menu .pre-menu-details h2 {
  color: #FFDD92;
}

.osf-menu .menu-section {
  margin-bottom: 112px;
}

.osf-menu .menu-section h2 {
  margin-bottom: 36px;  
}

.osf-menu .menu-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 36px;
}

.osf-menu .item-size {
  width: 70%;
}

.osf-menu .item-price {
  width: 30%;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.osf-menu .item-price span {
  margin-left: 12px;
}


.osf-menu .item-title,
.osf-menu .item-price {
  color: #4E092B;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}



.osf-menu span.item-size {
  color: #4E092B;
}

.osf-menu .container {
  width: 100%;
  max-width: 100%;
}

.beverage-menu,
.group-menu {
  margin-top: 72px;
}

.section-note {
  margin-top: -1em;
  margin-bottom: 1em;
}

.section-price {
  font-size: 24px;
  color: #4E092B;
  font-weight: 700;
  margin-top: -1em;
  margin-bottom: 1em;
}

.osf-menu .group-menu-section {
  padding-bottom: 64px;
  border-bottom: 1px solid #4E092B;
  margin-bottom: 90px;
}

.osf-menu .group-menu-container {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
}

.osf-menu .group-menu-packages .menu-item {
  padding-bottom: 36px;
  border-bottom: 1px dashed #4E092B;
  margin-bottom: 36px;
}

.osf-menu .group-menu-packages .group-title {
  margin-top: -11px;
}

.osf-menu .group-disclaimer {
  padding-bottom: 1rem;
}



.hidden-menu {
  display: none; 
  background: #FFDD92;
  width: 100%;
  max-width: 850px;
  border-top: 6px solid #DF9F00;
  padding: 40px 0;
  justify-content: flex-start;
  position: absolute;
  right: 0;
  box-shadow: 0px 3px 6px #00000029;
}

.hidden-menu span {
  font-size: 20px;
  font-weight: 700;
  color: #4E092B;
  width: 100%;
}

.hidden-menu a {
  font-size: 16px;
  padding-bottom: 10px;
  color: #000;
}

.hidden-menu .menu-col {
  padding: 0 40px;
}

.hidden-menu .menu-col-3 {
  padding-right: 100px;
}

.hidden-menu .row {
  padding: 10px 0;
}

.hidden-menu .menu-col-1 .row {
  display: flex;
  flex-wrap: wrap;
}

.hidden-menu .menu-col-2 {
  border-left: 0.5px solid #DF9F00;
  border-right: 0.5px solid #DF9F00;
}

.hidden-menu .menu-col-3 .row {
  border-bottom: 0.5px solid #DF9F00;
  margin-bottom: 10px;
}

.hidden-menu .menu-col-3 .row-last {
  border-bottom: none;
}

.hidden-menu .menu-col-1 a {
  width: 50%;
}

.hidden-menu .menu-col-2 a {
  display: block;
  min-width: 170px;
}

.hidden-locations {
  display: none;
}

.visible-locations {
  display: flex;
}

.hidden-dinein {
  display: none;
}

.visible-dinein {
  display: flex;
}

.hidden-reservations {
  display: none;
}

.visible-reservations {
  display: flex;
}

.hidden-order {
  display: none;
}

.visible-order {
  display: flex;
}

.hidden-delivery {
  display: none;
}

.visible-delivery {
  display: flex;
}

.all-loc {
  position: absolute;
  bottom: 15px;
  left: 40px;
  font-size: 13px;
  text-transform: uppercase;
  color: #4E092B;
}

.food-title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}

.food-section-title {
  display: inline-block;
  margin-bottom: 0!important;
  margin-right: 12px;
}

.its-all-included-icon {
  display: inline-block;
  position: relative;
  color: #fff;
  background: #4E092B;
  font-size: 13px;
  line-height: 13px;
  padding: 8px 10px;
  border-radius: 5px;
}

.link-container {
  width: 1344px;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.nutri-link {
  width: 100%;
}

.nutri-link h5{
  font-size: 1.25rem;
  font-weight: 400;
}

.et_mobile_menu {
  position: fixed;
  height: 100%;
  border-color: #4E092B;
}

.et_mobile_menu .menu-item {
  text-align: center;
  
}

.et_mobile_menu li a {
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 0;
  margin-bottom: 18px;
}

#main-header {
  position: fixed!important;
} 

.nutritional {
  background: #df9f00;
  text-align: center;
  padding: 60px 18px;
}
.nutritional h3 {
  font-size: 1.5rem;
  font-weight: 200;
  text-transform: uppercase;
}
.nutritional h2 {
  font-size: 3rem;
  margin-bottom: 19.6px;
}
.btn-trans {
  text-transform: uppercase;
  border: 2px solid #4E092B;
  background: transparent;
  padding: 0.5em 1em;
  font-size: 18px;
  border-radius: 5px;
  font-weight: 700;
  transition: background ease-in-out 0.3s;
}
.btn-trans:hover {
  background: #ffdd92;
}

/* MODALS */

.hidden-modal {
  display: none;
  opacity: 0;
  transition: opacity ease-in-out 0.3s;
}

.relative {
  position: relative;
  padding-left: 5px;
}

.relative-icon {
  display: inline-block;
}



.item-price .price {
  margin-top: -7px;
}

.visible-modal {
  opacity: 100;
  display: inline-block;
  position: absolute;
}

.its-all-included-modal {
  margin-top: -215px;
  width: 325px;
}

.its-all-included-modal .modal-inner {
  font-size: 13px;
  background: #FFDD92;
  padding: 12px;
  border-radius: 6px;
  line-height: 1.6;
}

.vegetarian-modal,
.vegan-modal,
.gf-modal,
.happyhour-modal {
  margin-top: -36px;
  margin-left: -10px;
}

.location-modal {
  margin-top: -36px;
  margin-left: -5px;
}

.vegetarian-modal span,
.vegan-modal span,
.gf-modal span,
.location-modal span,
.happyhour-modal span {
  font-size: 13px;
  background: #4E092B;
  padding: 4px 8px; 
  color: #fff;
  border-radius: 2px;
}

.arrow-down {
  margin-left: 18px;
  margin-top: -2px;
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #4E092B;
}

.its-all-included-modal .arrow-down {
  margin-top: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #FFDD92;
}

.phone-modal {
  width: 100px;
}

/*MOBILE/////////////*/

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

  .its-all-included-icon {
    touch-action: none;
    pointer-events: none;
  }

  .its-all-included-modal {
    display: none;
  }

  .location-content .btn {
    padding: 12px 18px;
  }
  .menu-header .menu-nav-btns {
    margin-bottom: 11px;
  }

  .location-hero {
    display: none;
  }

  .location-content .location-map .acf-map {
    margin-top: 0;
  }

  .locations-container {
    padding-top: 0!important;
  }
  .province-title {
    padding: 18px 24px 18px 24px;
    background: #FFDD92;
    border-top: 1px solid #4E092B;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all ease-in-out 0.2s;
  }
  .province-title h3 {
    display: inline-block;
    margin: 0!important;
    padding-bottom: 0;
    transition: all ease-in-out 0.2s;
    font-weight: 700;
  }

  .fa-caret-down {
    color: #DF9F00;
    display: inline-block;
    font-size: 36px;
    transition: all ease-in-out 0.2s;
  }

  .title-active {
    background:  #4E092B;
  }
  .title-active h3 {
    color: #FFDD92;
  }
  .title-active .fa-caret-down {
    transform: rotate(180deg);
  }
  .locations-hidden { 
    display: none;
  }
  .locations-shown {
    display: block;
  }
  .location-desktop {
    display: none;
  }
  .location-mobile {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  
  
  .icon-wrap a {
    padding: 8px;
  }
  .location-mobile a {
    color: #fff;
    font-size: 20px;
  }
  .locations-container{ 
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .locations-row {
    margin: 0;
    background: #4E092B;
    border-top: 1px solid #ACACAC;
  }
  .location-mobile {
    padding-left: 24px;
    padding-right: 24px;
  }
  .menu-nav-btn {
    font-size: 1rem!important;
  }
}

@media only screen and (max-width: 980px) {
  
  #main-header {
    position: fixed;
  }
 
 .half-grid {
   width: 100vw !important;
 }
   
 .show-mobile {
   display:block !important;
   padding: 15vh 0 !important;
 }
   
 .hide-mobile {
     display: none;
 }

 .osf-menu .pre-menu-img  {
   display: none;
 }
   
 /*FORM*/
   
 .footer-form .gform_wrapper .top_label div.ginput_container {
     margin-top: 8px;
     text-align: center;
 }	
   
 .gform_wrapper #input_1_1{
   width: 100% !important;
 }
 
 .gform_wrapper #gform_submit_button_1{
   width: 100% !important;
 } 
 
 .menu-cta {
   padding-bottom: 0!important;
 }
 
 .menu-cta a {
   width: auto!important;
   border-bottom: 1px solid #FFDD92!important;
 }
 
 .menu-item-656 {
   display: none;
 }
 .menu-item a {
   color: #fff!important;
 }
 
 .menu-item a:hover {
   color:  #FFDD92!important;
 }

 .menu-content {
   margin-top: 2rem;
 }
   
 .menu-img-section {
   margin-bottom: 2rem;
 }

 .location-content .location-content-wrap {
  padding: 2rem 18px;
}

.location-content .btn-row,
.osf-menu .pre-menu {
  margin-bottom: 1.5rem;
}

.osf-menu .menu-section {
  margin-bottom: 2rem;
}


 /*REVERSE STACK IN ROWS*/
 .reverse-stack {
     display: flex;
     flex-direction: column-reverse;
 }

 #page-container, .et_fixed_nav.et_show_nav #page-container, .et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container, .et_non_fixed_nav.et_transparent_nav.et_show_nav #page-container, .et_non_fixed_nav.et_transparent_nav.et_show_nav.et_secondary_nav_enabled #page-container {
   padding-top: 80px!important;
 }
 .acf-map {
   margin-top: 0!important;
   margin-bottom: 0!important;
 }
 #footer-1, #footer-2, #footer-3, #footer-4, #footer-5 {
   width: 100%!important;
   margin-right: 0!important;
 }
 }/*END OF MOBILE/////////////*/





@media only screen and ( min-width: 721px ) {
  .fa-caret-down {
    display: none!important;
  }
  .locations-container h3 {
    margin-bottom: 1rem;
    font-weight: 700;
  }
  
  .locations-wrap {
    display: flex;
    margin-left: -2rem;
    margin-right: -2rem;
    margin-bottom: 3rem;
  }
  
  .locations-row {
    display: flex;
    margin-bottom: 36px;
    flex-wrap: wrap;
  }
  .location-mobile {
    display: none;
  }
  
  .province-wrap {
    width: 33%;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .bc-wrap,
  .ab-wrap {
    border-right: 1px solid #DF9F00;
  }
  
  .location-item {
    width: 100%;
  }
  
  .location-item h4 {
    font-size: 20px;
    font-weight: 400;
    padding-bottom: 0;
  }
  
  .location-item .menu-icon {
    padding-left: 6px;
    padding-right: 6px;
  }
  

}


@media only screen and ( min-width: 981px ) {
  .mobile-only {
    display: none!important;
  }
  .location-content .location-hero {
    height: calc(50vh - 70px);
    width: 100%;
    object-fit: cover;
  }

  .location-content .location-map {
    height: calc(50vh - 70px);
  }

  .location-content .location-map .acf-map {
    height: 100%;
    width: 100%;
    margin-top: -9px;
  }

  .location-content .col-md-6 {
    width: 50%;
  }
  .location-content .entry-content {
    margin-bottom: 128px;
  }


  .osf-menu .food-menu-container {
    width: 100%;
    max-width: 100%;
  }

  .osf-menu .row {
    justify-content: center;
  }

  .osf-menu .col-md-6 {
    width: 40%;
    margin: 0;
  }

  .osf-menu .menu-section {
    margin-bottom: 112px;
  }

  .osf-menu .menu-item {
    margin-right: 128px;
  }

  .osf-menu .menu-img-section {
    width: 100vw;
    height: 540px;
    margin-bottom: 92px;
  }
  
  .osf-menu .menu-img-section img {
    width: 100vw;
    height: 540px;
    object-fit: cover;
  }

  .container {
    max-width: 100%!important;
  }

  .osf-menu .group-menu-section .menu-item {
    margin-right: 30vw;
  }

  .osf-menu .pre-menu-details-right .pre-menu-img {
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    max-width: 80%;
  }
}

@media only screen and ( max-width: 1199px ) {
  .icon-wrap {
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: -4px;
  }

  .et_mobile_menu .order-menu a,
  .et_mobile_menu .delivery-menu a {
    border-bottom: 1px solid #FFDD92;
  }


  .et_mobile_menu .order-menu,
  .et_mobile_menu .delivery-menu{
    padding-bottom: 1rem;
  }
}

@media only screen and ( min-width: 1200px ) {
  .location-info-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .location-info-wrap a{
    width: 60%;
  }
}
	
 .location-info-wrap .icon-wrap {
   white-space: nowrap !important;
}
/* Menu fix */
@media only screen and (min-width: 1200px) {
	#top-menu li {
		padding-bottom:12px;
	}
}
