/*
Theme Name: Legado
Version: 1.0
Description: WordPress theme for Legado
Author: INSPIRE
Author URI: http://www.inspiredm.co.uk
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: legado

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*** General ***/
* { padding: 0px; margin: 0px; }
p { margin: 10px 0px }
body { font-family: 'bb-modern-regular-pro', serif; font-size: 20px; color:#370E01; margin:0; font-weight:400; overflow-x: hidden }
.inwrap { width: 100%; margin: 0 auto; }
.contentwrap { width: 100%; display:flex; background: #FAEFE1 }
.content { width: 90%; margin: 130px auto 0; }
.contenthome { width: 100%; margin: 0 auto; }
.clear { clear: both; display: block; }
a, a:link, a:active, div a { text-decoration:none; }
a img {border:none }
@font-face { font-family: 'bb-modern-regular-pro'; src: url('fonts/bb-modern-regular-pro.woff2') format('woff2'), url('fonts/bb-modern-regular-pro.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'centennial'; src: url('fonts/centennial-script-pro.woff2') format('woff2'), url('fonts/centennial-script-pro.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }

/*** Header ***/
.header { margin: 0 auto; width:100%; position:absolute; z-index: 1000; height: 90px; }
.header .logo { position: absolute; z-index: 1000; background: url("images/legado-logo-cream.svg") no-repeat center; width:100px; background-size: 100px; height: 55px; left: calc(50% - 50px); top: 15px}
.header .logo:hover { background: url("images/legado-logo-hover-cream.svg") no-repeat center; width:100px; background-size: 100px }
.header .logo img, .header .logobrown img { display:block; margin: 0 auto; text-align:center; width:100%; height:auto}
.header .logobrown { position: absolute; z-index: 1000; background: url("images/legado-logo.svg") no-repeat center; width:100px; background-size: 100px; height: 55px; left: calc(50% - 50px); top: 15px}
.header .logobrown:hover { background: url("images/legado-logo-hover.svg") no-repeat center; width:100px; background-size: 100px }
.header .headerbuttons { position: absolute; right: 25px; top: 35px; display: flex; align-items: center}
.header .headerbuttons button.book { border: none; color: #FAEFE1; text-decoration: none; font-family: 'bb-modern-regular-pro',sans-serif; border-radius: 0; text-align: center; cursor: pointer; margin-right: 3em }
.header .headerbuttons button.book { background: none; text-transform: uppercase; color: #FAEFE1; letter-spacing: 2px; font-size: 0.9em; }
.header .headerbuttons button.book:hover { }
.header .headerbuttons a.instagram { background: url("images/instagram.svg") no-repeat center; height: 24px; width: 24px; background-size: contain; z-index: 10000 }
.header .headerbuttons a.instagram-brown { background: url("images/instagram-brown.svg") no-repeat center; height: 24px; width: 24px; background-size: contain; z-index: 10000 }
.mobile-active .header .headerbuttons button.book { }
.mobile-active .header .headerbuttons a.instagram { background: url("images/instagram-brown.svg") no-repeat center; background-size: contain }
.mobile-active .header .logo { background: url("images/legado-logo.svg") no-repeat center; background-size: 100px; z-index: 10000 }
.mobile-active .header .logo:hover { background: url("images/legado-logo-hover.svg") no-repeat center; background-size: 100px; z-index: 10000 }
.header .careers { background: url("images/menu-rectangle.svg") no-repeat center; background-size: 200px; z-index: 10000; color: #FAEFE1; position: absolute; top: 15px; left: 2em; font-family: 'bb-modern-regular-pro'; font-size: 15px; letter-spacing: 13%; width: 200px; height: 55px; border: none; display: flex; justify-content: center; align-items: center }
.header .careers-brown { background: url("images/menu-rectangle-brown.svg") no-repeat center; background-size: 200px; z-index: 10000; color: #370E01; position: absolute; top: 15px; left: 2em; font-family: 'bb-modern-regular-pro'; font-size: 15px; letter-spacing: 13%; width: 200px; height: 55px; border: none; display: flex; justify-content: center; align-items: center }
.header .careers:hover { background: url("images/menu-rectangle-hover.svg") no-repeat center; background-size: 200px; color: #370E01; }
.header .careers-brown:hover { background: url("images/menu-rectangle-brown-hover.svg") no-repeat center; background-size: 200px; color: #FAEFE1; }


.stick { position: fixed ; top: 0; width:100%; z-index: 10000; background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0, 0, 0, 0.02) 90%, rgba(255,255,255,0) 100%); background-size: 100% 90px; }

@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; }}

/*** Mobile Menu ***/
#mobile-only { display: none }
#mobile-menu .sub-menu { display: none; }
#mobile-menu .sub-menu.active { display: block; }
.mobile-active .location li a { color: #370E01 }
.mobile-active .menu-toggle-label span { background-color: #FAEFE1 !important }
.menu-toggle { display: none; }
.menu-toggle-label { position: fixed; top:25px; left: 25px; height: 55px; cursor: pointer; z-index: 100000; min-height: 55px; display: flex; flex-direction: column; width: 60px}
.menu-toggle-label span.top { display: block; width: 60px; height: 4px; background: url("images/menu-top.svg") no-repeat center; margin-bottom: 10px; transition: transform 0.3s, opacity 0.3s; background-size: cover }
.menu-toggle-label span.middle { display: block; width: 60px; height: 4px; background: url("images/menu-middle.svg") no-repeat center; margin-bottom: 10px; transition: transform 0.3s, opacity 0.3s; background-size: cover}
.menu-toggle-label span.bottom { display: block; width: 60px; height: 3px; background: url("images/menu-bottom.svg") no-repeat center; margin-bottom: 10px; transition: transform 0.3s, opacity 0.3s; background-size: cover}
.menu-toggle-label span.visually-hidden { height: 0 !important; margin: 0 !important }
.menu-toggle-label span:last-child { margin-bottom: 0; }
.menu-toggle:checked + .menu-toggle-label span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-toggle:checked + .menu-toggle-label span:nth-child(2) { opacity: 0; }
.menu-toggle:checked + .menu-toggle-label span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile { position: fixed; top: 0; left: 0; width: 100%; height: 100%; ; z-index: 1000; overflow-y: auto; transition: transform 0.3s ease; transform: translateX(-100%); background: #FAEFE1; }
.mobile-main { display: flex; justify-content: center; align-items: center; font-size: 3em; font-family: 'bb-modern-regular-pro', serif; font-weight: normal; width:100%; text-transform: uppercase}
.mobile.active { transform: translateX(0%); display: flex;  }
.menu-mobile-container { width: 100% }
.mobile ul { list-style: none; padding: 0; margin: 0; text-align: center; line-height: 1.5 }
.mobile .mobile-main ul li a { position: relative; color: #370E01; }
.mobile .mobile-main ul li a::before, .mobile .mobile-main ul li a::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 40px; display: none; pointer-events: none; }
.mobile .mobile-main ul li a:hover::before { left: 0; display: block; }
.mobile .mobile-main ul li a:hover::after { right: -1em; display: block; background: url("images/arrow-right.svg") no-repeat right center; background-size: 35px; }
.mobile-active span.top { background: url("images/menu-top-brown.svg") no-repeat center; rotate: 45deg; margin: 10px 0 }
.mobile-active span.middle { display: none }
.mobile-active span.bottom { background: url("images/menu-bottom-brown.svg") no-repeat center; rotate: -45deg; margin: -12px 0 0 }
.mobile ul.sub-menu { font-size: 0.5em; text-transform: none; margin: 0.5em 0 1em }
.mobile ul.sub-menu li a:hover::before, .mobile ul.sub-menu li a:hover::after { display: none !important }
.mobile li.menu-item-has-children a:hover::before, .mobile li.menu-item-has-children a:hover::after { content: none !important; width: auto; height: auto; background: none; }
.menu-item-has-children > a { position: relative; display: block; text-align: center; }
.menu-item-has-children > a .submenu-indicator { position: absolute; right: -1em; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease, opacity 0.3s ease; font-size: 1em; display: flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; }
.toggle-icon {  stroke: currentColor; display: block; }
.toggle-icon .vertical { transition: opacity 0.2s ease; }
.toggle-icon .vertical.hidden { opacity: 0; }

.mobile-footer { position: fixed; bottom: 1em; left: 0; width: 100%; font-family: 'centennial', serif; font-weight: normal; color: #370E01}
.mobile-footer ul#mobile-footer-menu { display: flex; justify-content: center; }
.mobile-footer ul#mobile-footer-menu li a { padding: 1em 0; margin: 0 1em; font-size: 1.75em; color: #370E01 }

/*** Booking Modal ***/
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); }
.modal-content { background-color: #faf4ea; margin: 1em auto 0; border: 1px solid #888; max-width: 600px; position: relative }
.modal-content iframe { border: none; height: 625px; max-height: 80%; }
.close { color: #370E01; float: right; font-size: 28px; font-weight: bold; cursor: pointer; position: absolute; right: 20px; z-index: 100 }

/*** Navigation ***/
.navigation { text-transform: uppercase; font-family: 'bb-modern-regular-pro',sans-serif; position: absolute; left: 25px; top: 25px; z-index: 100 }
.navigation ul { list-style:none; display:flex; }
.navigation li a { display: inline-block; text-decoration: none; color: #FAEFE1; margin-right: 3em; font-size: 0.8em; letter-spacing: 1px}

/*** Content ***/
.page { float:left; width:100%; }
.page .postHead { background: none; }
.postContent { padding: 0; max-width: 1300px; margin: 0 auto }
.contenthome .postContent { padding: 0; }
.postContent a { text-decoration:underline; color: #FAEFE1 }
.postContent .half { width:48%; float:left}
h2, h3, h4, h5, h6 { font-family: 'bb-modern-regular-pro', serif; font-weight: normal }
.postContent h1 { font-size: 3em; margin:0.5em 0; font-family: 'centennial', serif; font-weight: normal }
.postContent h2 { font-size: 3em; margin:.5em 0; letter-spacing: 0.01em; }
.postContent h3 { font-size: 1.5em; margin: 0.5em 0; letter-spacing: 0.01em }
.postContent h4 { font-size: 1em; margin: 0.5em 0; }
.postContent h5 { font-size: 1em; margin: 0.5em 0; }
.postContent h6 { font-size: 1em; margin: 0.5em 0; }
.postContent p { font-size: 1em; margin: 1.25em 0 ; line-height:126%; }
.postContent ul { margin: 1em; line-height: 126% }
.postContent ul li { margin: 1% 0; }
.postContent ol li { padding:5px 0; }
.postContent ol { margin: 1em; line-height: 126% }
.postContent blockquote { font-weight:normal; margin: 2em 0; padding: 0.5em 0.5em 1em ; border-left: 10px solid rgba(238,124,52,1); background: rgba(238,124,52,0.2) }
.postContent blockquote p { margin: 1%; font-size: 1.25em; line-height: 140%; font-weight: 300; }
.postContent blockquote cite { margin: 1%; font-size: 1em; font-weight: 600; font-style: normal }
.postContent hr { margin: 5% 0 }
.postContent img { max-width: 100%; height:auto }
.postContent blockquote.half { float:left; width: 48%; margin: 0 2% 0 0 }
.postContent a.post-edit-link { display: none; text-align: center; margin: 1em 0 }

/*** Specials ***/
.postContent .wp-caption { background: #f8f7eb; border: solid 1px #EBE9D7; text-align: center; padding-bottom: 4px; }
.postContent .wp-caption img { border: solid 5px #f8f7eb; }
.postContent .alignleft { float: left; margin: 0px 15px 5px 0px; display: block; max-width: 50% }
.postContent .alignright { float: right; margin: 0px 0px 5px 15px; display: inline; }
.postContent .aligncenter { width: 100%}
.postContent .wp-caption p { margin: 0px; }
.alignfull { margin: 0 calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.postContent .alignwide { max-width: 1300px; margin-left: auto; margin-right: auto }
.postContent h1.boxed-white { background: url("images/boxed-white.svg") no-repeat left; background-size: contain; padding: 0 10px 15px 20px; position: relative }
.postContent h1.boxed-brown { background: url("images/boxed-brown.svg") no-repeat left; background-size: contain; padding: 0 10px 15px 20px; position: relative }
.foodmenutab ul.kt-tabs-title-list { max-width: 800px; margin: 0 auto }
.foodmenutab ul.kt-tabs-title-list li { background: url("images/menu-rectangle.svg") no-repeat center; background-size: 230px; color: #FAEFE1; letter-spacing: 13%; width: 200px; height: 55px; flex: 0 0 33.33%; max-width: 33.33%; display: flex; justify-content: center; }

/*** Pages with different coloured backgrounds ***/
body.page-template-tpl_olivebackground, body.page-template-tpl_olivebackground .contentwrap { background: #776407; color: #FAEFE1 }
body.page-template-tpl_sandbackground, body.page-template-tpl_sandbackground .contentwrap { background: #DFC0A1; }
body.page-template-tpl_deepbrownbackground, body.page-template-tpl_deepbrownbackground .contentwrap { background: #370E01; color: #FAEFE1 }
body.page-template-tpl_sandbackground .navigation li a, body.page-template-tpl_sandbackground .postContent a { color: #370E01 }

/*** Buttons ***/
.wp-block-button__link, .wp-block-kadence-advancedbtn { font-family: 'bb-modern-regular-pro',sans-serif; text-transform: uppercase; font-weight: 500; line-height: 1.5 }
span.kt-btn-inner-text { padding: 2px 0 0}
.entry-content .kt-blocks-post-readmore { font-family: 'bb-modern-regular-pro',sans-serif; text-transform: uppercase; font-weight: 500 !important; }
.dotstop ul.splide__pagination { bottom: 735px !important }
.kt-blocks-modal-link { font-family: 'bb-modern-regular-pro',sans-serif !important; font-weight: 500 !important }

/*** Category ***/
.catpost { width: 85%; display: flex; justify-content: flex-start; margin: 0 auto }
.catpost .postContent { width: 30% }

/*** Footer ***/
.footer { height:auto; font-size:0.9em; clear:both; line-height:140%; width: 100%; margin: 0 auto; font-family: 'bb-modern-regular-pro',sans-serif; display: flex; justify-content: space-between; flex-wrap: wrap; background: url("/wp-content/uploads/footer-5.jpg") no-repeat center center; background-size: cover; color: #370E01}
.footer .footer-content { width: 90%; background: #FAEFE1; margin: 35vh auto 0; padding: 3.5em 2em 2em; position: relative }
.footer .footer-content h3 { font-size: 1.5em; margin: 0.5em 0; letter-spacing: 2px }
.footer a { color: #370E01 }
.footer .sidebarItem { float: left; clear: both; }
.footer .sidebarItem p { line-height: 1.5; letter-spacing: 10%; }
.footer .sidebarItem p.removebottommargin { margin: 10px 0 0 }
.footer .footer-content .logo { position: absolute; left: calc(50% - 70px); bottom:2em; text-align: center; background: url("images/legado-logo.svg") no-repeat center; background-size: 140px auto; width: 140px; height: 85px; z-index: 1000 }
.footer .footer-content .logo:hover { background: url("images/legado-logo-hover.svg") no-repeat center; background-size: 140px auto; cursor: pointer }
.menu-footer-container { margin: 0 0 0 0; text-transform: uppercase; position: absolute; bottom: 2em; right: 2em}
.menu-footer-container ul { display: flex; padding: 0; margin: 0; list-style: none; flex-wrap: wrap; justify-content: flex-end }
.menu-footer-container ul li { list-style: none; white-space: nowrap; letter-spacing: 10%; margin: 0 0 0 1.5em }
.menu-footer-container ul li a { color: #370E01; text-decoration: none }

.page-template-tpl_pagehometemp .menu-footer-container { left: 50%; transform: translateX(-50%); width: 50% }
.page-template-tpl_pagehometemp .menu-footer-container ul { justify-content: center }
.page-template-tpl_pagehometemp .footer .footer-content .logo { position: absolute; right: 2em; left: unset}

/*** Temporary Footer Style - Remove when live ***/
.page-template-tpl_olivebackground .menu-footer-container, .page-template-tpl_sandbackground .menu-footer-container, .page-template-tpl_deepbrownbackground .menu-footer-container { left: 50%; transform: translateX(-50%); width: 50% }
.page-template-tpl_olivebackground .menu-footer-container ul, .page-template-tpl_sandbackground .menu-footer-container ul, .page-template-tpl_deepbrownbackground .menu-footer-container ul { justify-content: center }
.page-template-tpl_olivebackground .footer .footer-content .logo, .page-template-tpl_sandbackground .footer .footer-content .logo, .page-template-tpl_deepbrownbackground .footer .footer-content .logo { position: absolute; right: 2em; left: unset}


/*** Popup ***/
.pum-theme-70 .pum-content + .pum-close, .pum-theme-default-theme .pum-content + .pum-close { background: url("images/close-cream.svg") no-repeat; color: rgba(255,255,255,0) !important; background-size: 30px; }
.pum-theme-70 .pum-content + .pum-close, .pum-theme-default-theme .pum-content + .pum-close:hover { background: url("images/close-cream.svg") no-repeat; background-size: 30px; }

/*** Skip Links ***/
.skip-link { position: absolute; top: -100px; left: 0; padding: 8px; background: #fff; z-index: 100; }
.skip-link:focus { top: 0; }
.screen-reader-text {  clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/*** Cookie Notice ***/
#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme { background: #FAEFE1 !important; z-index: 10000 }
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button { background: #FAEFE1 !important }
button.mgbutton.moove-gdpr-infobar-settings-btn:hover { background: #370E01 !important}
#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme { border-top: 1px solid #370E01 !important }

/* -- Media Queries -- */

@media only screen and (min-width : 601px) and (max-width : 900px) {
.contentwrap { flex-direction: column }
.content { width: 100%;  }
}

@media only screen and (max-width : 600px) {
.header .logo, .header .logobrown { left: 15px; width: 80px; background-size: 80px; height: 45px}
.header .logo:hover, .header .logobrown:hover { width: 80px; background-size: 80px; height: 45px}
.header .careers, .header .careers-brown { width: 160px; background-size: 160px; height: 45px; right: 1.25em; left: unset }
.mobile-active .header .logo { width: 80px; background-size: 80px }
.mobile-active .header .logo:hover { width: 80px; background-size: 80px }
.mobile-active .header .headerbuttons button.book { display: none }
.header .headerbuttons .instagram { display: none }
.menu-toggle-label { right: 0; left: auto; top: 30px }
.menu-toggle-label span.top { width: 40px; height: 3px; margin-bottom: 8px }
.menu-toggle-label span.middle { width: 40px; height: 3px; margin-bottom: 8px }
.menu-toggle-label span.bottom { width: 40px; height: 2px; margin-bottom: 0 }
.mobile-main { font-size: 1.5em; }
.header { height: 85px; }
.header .headerbuttons button.book { margin-right: 4.5em; font-size: 0.6em }
.header .headerbuttons a.instagram-brown { display: none }
.contentwrap { flex-direction: column}
.content { width: 100%; margin: 80px auto 0 }
.contenthome .postContent { max-width: 100% }
.foodmenutab ul.kt-tabs-title-list li { background: url("images/menu-rectangle.svg") no-repeat center; background-size: 150px; width: 150px; height: 55px; flex: 0 0 50%; max-width: 50%; }
.footer { font-size: 0.75em }
.footer { background: url("/wp-content/uploads/footer-5-mobile.jpg") no-repeat center top; background-size: cover}
.footer .footer-content { width: 80%; padding: 1em 1em 8.5em; margin: 25vh auto 0 }
.footer .footer-content .logo { left: calc(100% - 70px - 1em ); bottom: 0; width: 70px; background-size: 70px; }
.footer .footer-content .logo:hover { background-size: 70px; }
.footer .logo img { margin: 0 20px }
.page-template-tpl_pagehometemp .menu-footer-container { left: 0; transform: none;}
.menu-footer-container { left: 0; bottom: 1em; transform: none }
.menu-footer-container ul { flex-direction: column }
.menu-footer-container ul li { margin-left: 1em }
.mobile-footer { bottom: 3em }
.mobile-footer ul#mobile-footer-menu { flex-direction: column }
.submenu-indicator svg { width: 15px; height: 15px }
.postContent { max-width: 90% }
.postContent h1 { font-size: 1.5em }
.postContent h2 { font-size: 1em }
.postContent p { font-size: 0.75em }
.mobile ul li a:hover::before { width: 40px; height: 25px; }
.mobile ul li a:hover::after { width: 40px; height: 25px; background-size: 25px }
#mobile-only { display: flex; position: absolute; bottom: 15px; justify-content: center; flex-direction: column; width: 100%; align-items: center;  }
#mobile-only a.mobile-reserve { width: 100%; font-family: 'centennial', cursive; color: #370E01; text-align: center; font-size: 1.5em; margin: 0 0 1em }
.navigation { right: 0px; left: unset;}
.navigation li a { font-size: 0.6em }
.pum-theme-70 .pum-container, .pum-theme-default-theme .pum-container { width: 90% !important; height: 550px !important; }
.pum-theme-70 .pum-content h3, .pum-theme-default-theme .pum-content h3 { font-size: 1em }
}