/*
 Theme Name:   Portico
 Description:  Custom theme
 Author:       Carnoustie Creative
 Author URI:   https://www.carnoustiecreative.co.uk
 Template:     baseline
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  baseline-child

font-family: sofia-pro, sans-serif;
font-weight: 400;
font-style: normal;

font-family: sofia-pro, sans-serif;
font-weight: 700;
font-style: normal;

*/

@view-transition {
    navigation: auto;
}
  
::view-transition-group(root) {
    animation-duration: 1s;
}

@font-face {
    font-family: "Simula";
    src: url("fonts/Simula-Book.eot");
    src: url("fonts/Simula-Book.eot?#iefix") format("embedded-opentype"),
        url("fonts/Simula-Book.woff2") format("woff2"),
        url("fonts/Simula-Book.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ro-dark: #001219;
    --ro-turqoise: #b9ddd3;
    --ro-blue: #2835a3;
    --ro-orange: #eead57;
}

.baseline {
    --baseline-aos-distance: 50px;
    --baseline-aos-distance-negative: -50px;
}

.baseline .container {
    max-width: 1300px;
}

.baseline h1,
.baseline h2,
.baseline h3 {
    font-family: 'Simula', sans-serif;    
}

.baseline h1 {
    color: var(--ro-blue);
    font-size: clamp(3.4rem, 3.5vw, 5.5rem);
}

.baseline h2 {
    font-size: clamp(2.8rem, 2.7vw, 3.8rem);
}

.baseline h3 {
    font-size: clamp(2.1rem, 2vw, 2.7rem);
}

body.baseline {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    font-family: sofia-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.6rem, 1.5vw, 1.8rem);
}

.header-wrap .container,
#footer-bottom-container.container {
    max-width: 96%;
    width: 96%;
}

.footer-credit p {
    text-align: center;
    margin-bottom: 0.5rem;
    
}

.content.container {
    height: 0;
    padding: 0;
    margin: 0;
}

.footer-credit p,
.widget .footer-credit a {
    color: rgba(255, 255, 255, 0.7);
}

footer .menu li a,
nav .menu li a {
    text-transform: uppercase;
    letter-spacing: 0.1vw;
}

footer .menu li a {
    font-size: 1.6rem;
}

footer .container {
    width: 100%;
    max-width: calc(100% - 4rem);
}

.footer-50-right,
.footer-50-left {
    background-color: #333;
    padding: 4vw;
    text-align: center;
    box-sizing: border-box;
}

footer h3 {
    color: #fff;
}

#footer-two-cols-container {
    margin-bottom: 3rem;
}

.footer-contact_social {
    margin-top: 2rem;
}

.footer-contact_social ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer-contact_social li {
    list-style: none;
}

.footer-contact_social li a {    
    margin: 0 1rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000; 
    text-decoration: none !important;   
}

.footer-contact_social li a:hover {    
    background-color: var(--ro-blue);
    color: #fff;
}

.footer-contact_social li i {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact_address p {
    margin-bottom: 0;
}

.footer-contact_phone {
    margin-top: 1rem;
}

.widget .footer-contact_address a {
    text-decoration: none;
}

.widget .footer-contact_address a:hover {
    color: var(--ro-orange);
}

header .logotitle.row {
    padding: 1rem 0;
}

/* */

.cde-image-header .container,
.cde-image-header .img {    
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.cde-image-header .img {
    background-size: cover;
    background-repeat: no-repeat;
}

.cde-image-header .inner {
    background-color: rgba(0,0,0,0.2);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero,
.cde-image-header,
.hero .swiper-container {
    height: 55vh;
    position: relative;
}

.hero .swiper-slide_img:after,
.hero:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(27, 27, 27, 0.67) 0%,  rgba(27, 27, 27, 0.1) 90%, rgba(27, 27, 27, 0) 100%);
    z-index: 1;
}

.hero.cde-slides:after {
    content: none;
}

.content.container {
    height: 0;
    padding: 0;
    margin: 0;
}

.no-header-overlay .content.container,
.single-offer .content.container {
    height: 15rem;
    padding: 4rem;
}

.inner .mobile-nav  a {
    border-bottom: none;
}

.hero.big-hero,
.cde-image-header.big-header,
.hero.hero.big-hero .swiper-container {
    height: 100vh;
}

@media ( max-width: 600px ) {

    .hero.big-hero,
    .hero.hero.big-hero .swiper-container {
        height: 70vh;
    }

}

.baseline .swiper-slide {
    background-size: cover;
    background-position: center;
}

.baseline .header-wrap {
    position: fixed;
    z-index: 9;
    height: 16.5rem;
    width: 100%;    
    background: linear-gradient(180deg, rgba(10, 12, 15, 0.5) 59.9%, rgba(42, 52, 65, 0) 100%);
    transition-duration: 0.5s;
}

@media ( max-width: 600px ) {

    .baseline .header-wrap {
        display: none;
    }

}

.baseline .menu-bar {
    padding: 0;
    display: block;    
}

.baseline #menu-choices.slide-left, 
.baseline #menu-choices.slide-right {
    background-color: var(--bh-cream);
}

.baseline .mobile-nav #menu-choices li, 
.baseline .mobile-nav #menu-choices-side li {
    background-color: var(--bh-chalk);
    color: #2d351e;
}

.baseline #menu-close .label {
    color: #2d351e;
}

.baseline .mobile-nav #menu-choices li.current-menu-item > a, 
.baseline .mobile-nav #menu-choices li.current_page_item > a, 
.baseline .mobile-nav #menu-choices-side li.current-menu-item > a, 
.baseline .mobile-nav #menu-choices-side li.current_page_item > a {
    background-color: var(--bh-sage);
}

.menu-bar .menu-bar-top,
.menu-bar .menu-bar-bottom {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.menu-bar .menubar-menu .menu {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.menu-bar .menubar-menu .fa-solid {
    font-size: 2.5rem;
    color: #2d351e;
}

.menu-bar .menubar-menu .menu li {
    line-height: 1;
}

.menu-bar-bottom .textwidget {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.baseline .menu-bar-bottom .textwidget .button {
    width: 49%;
    padding: 1.4rem;
}

.baseline .menu-bar-bottom .textwidget .button {
    width: 100%;
}

.baseline .menu-bar-bottom .textwidget .button.voucher-button {
    display: none;
}

.mobile-nav.left {
    position: fixed;
    height: 13rem;
    z-index: 6;
    background-color: #f6f6e9;
    box-shadow: 0 0.2rem 1rem rgba(0,0,0,0.3);
}

.baseline.header-not-at-top .header-wrap,
.baseline .header-wrap:hover,
.baseline.no-header-overlay .header-wrap {
    background: #ffffff;
}

.baseline .header-wrap .first a,
.baseline .header-wrap .first i {
    color: #fff;
    margin-left: 0.5rem;
    font-size: 1.6rem;
}

.baseline.header-not-at-top .header-wrap .first a,
.baseline.header-not-at-top .header-wrap .first i,
.baseline .header-wrap:hover .first a,
.baseline .header-wrap:hover .first i,
.baseline.no-header-overlay .header-wrap .first a,
.baseline.no-header-overlay .header-wrap .first i {
    color: #555
}

.baseline nav .full {
    background: transparent;
    transition-duration: 0.5s;
}

.baseline nav .full li a {
    color: #fff;
    font-size: 1.6rem;
}

.baseline.header-not-at-top .header-wrap nav .full,
.baseline .header-wrap:hover nav .full,
.baseline.no-header-overlay .header-wrap nav .full {
    background: var(--ro-turqoise);
    box-shadow: rgba(0,0,0, 0.1) 0rem 0.5rem 0.5rem;
}

.baseline.header-not-at-top .header-wrap nav .full li a,
.baseline .header-wrap:hover nav .full li a,
.baseline.no-header-overlay .header-wrap nav .full li a {
    color: var(--ro-blue);
}

.baseline .header-wrap:hover nav .full li a:hover {
    color: #fff;
}

.baseline.header-not-at-top .logo a,
.baseline .header-wrap:hover .logo a,
.baseline.no-header-overlay .header-wrap .logo a {
    background-image: url('img/braid-hills-logo-lt-bgnd.png');
}


.cde-slides {
    position: relative;
}

.cde-slides .before {
    display: none;
}

.hero .container,
.hero.big-hero .container {
    height: 100%;
    width: 100%;
    max-width: 100%;
    position: absolute;
    top: 0;;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
}

.cde-slides .inner,
.hero .inner,
.hero.big-hero .inner {
    padding-top: 4rem;
}

.cde-slides .inner h1,
.hero .inner h1,
.hero.big-hero .inner h1 {
    color: #fff;
    text-shadow: 0px 0px 10px #000000;
}

.cde-image-header:not(.big-header) .scroll-msg {
    display: none;
}

.baseline nav .full .current-menu-item > a, 
.baseline nav .full .current_page_item > a {
    background: transparent;
}

@keyframes msgbounce{ 
	from { transform: translate3d(0, 0, 0);} 
	to { transform: translate3d(0, 0.6rem, 0);} 
} 


.scroll-msg {
    position: absolute;
    bottom: 5rem;
    left: auto;
    right: auto;
    width: 100%;
    z-index: 5;
    color: #fff;    
    text-align: center;    
}

.scroll-msg span,
.scroll-msg i {
    display: block;
}

.scroll-msg span {    
    font-family: sans-serif;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-size: 1.3rem;
}

.scroll-msg i {
    margin-top: 0.5rem;
    font-size: 3rem;
    animation: msgbounce 0.5s; 
    animation-direction: alternate; 
    animation-iteration-count: infinite; 
}

header .container {
    max-width: 97%;
    width: 97%;
}

.mobile-nav .container {
    max-width: 97%;
    width: 97%;
}

.baseline  #hamburger {
    padding: 0.8rem 1rem;
    transform: scale(1.1);
    margin-right: 1rem;    
}

.baseline .close-button,
.baseline  #hamburger {
    border-radius: 0.4rem;
}

.baseline  .mobile-nav .custom-logo {
    height: 6rem;
}

.baseline header .first li a, 
.baseline header .second li a {
    display: inline-block;
}

.baseline header .first {
    top: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.baseline header .first .l1 {
    margin-bottom: 0.3rem;
}

.baseline nav .full.menu-justify .menu {
    text-align: center;
}

.baseline .swiper-pagination-bullet {
    background-color: #aaa;
    width: 1.2rem;
    height: 1.2rem;
    opacity: 0.8;    
}

.baseline .swiper-pagination-bullet-active {
    background-color: #fff;
}

.baseline .swiper-container-horizontal > .swiper-pagination-bullets {
    height: 100%;
    bottom: unset;
    left: unset;
    right: 3rem;
    width: 2rem;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;;
}

@media ( max-width: 600px ) {

    .baseline .swiper-container-horizontal > .swiper-pagination-bullets {
        display: none;
    }

}

.baseline .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

header .right .first .textwidget {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.header-wrap header .first a.button,
.header-wrap:hover header .first a.button,
.baseline.header-not-at-top .header-wrap .first a.button,
.baseline.no-header-overlay .header-wrap .first a.button {
    margin-bottom: 0;
    color: #fff;
    margin-left: 1.5rem;
}

.baseline a.button.alt {
    background-color: var(--ro-turqoise);
    color: var(--ro-blue) !important;
}

.baseline a.button.alt-2 {
    background-color: var(--ro-orange);
    color: var(--ro-blue) !important;
}

.baseline a.button.alt:hover {
    background-color: var(--ro-orange);
}

.baseline a.button.alt-2:hover {
    background-color: var(--ro-turqoise);
}

.baseline .button, 
.woocommerce #respond input#submit,
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
button, 
input[type=button], 
input[type=reset], 
input[type=submit] {
    padding: 2rem;
    font-size: 1.7rem;
}

.cde-text-left-image-right .button,
.cde-image-left-text-right .button {
    margin-top: 3rem;
}

.cde-text-left-image-right h3,
.cde-image-left-text-right h3 {
    margin-bottom: 2rem;
}

.cde-text-left-image-right,
.cde-image-left-text-right {
    position: relative;
    z-index: 1;
}

.cde-text-left-image-right.tall .right.img,
.cde-image-left-text-right.tall .left.img {
    min-height: 50rem;
    position: relative;
}

@media ( max-width: 700px ) {

    .cde-text-left-image-right.tall .right.img,
    .cde-image-left-text-right.tall .left.img {
        min-height: 35rem;        
    }
    
}

.cde-text-left-image-right.tall .right.img:after,
.cde-image-left-text-right.tall .left.img:after,
#wedding-quad ul li.has-image:last-child .item-image:after {
    content: "";
    position: absolute;
    display: block;
    height: 80%;
    width: 200%;
    left: 40%;
    top: 27%;
    background-color: var(--bh-cream);
    z-index: -1;
}

.cde-image-left-text-right.tall .left.img:after {
    left: unset;
    right: 40%;
}

@media ( max-width: 900px ) {

    .cde-text-left-image-right.tall .left,
    .cde-image-left-text-right.tall .right {
        margin-top: 8rem;
    }

}

/* Logo with colour changes */

.logo svg .logo-col-1 {
    fill: #fff;
}

.baseline.header-not-at-top .logo svg .logo-col-1,
.baseline.no-header-overlay .logo svg .logo-col-1,
.header-wrap:hover header .logo svg .logo-col-1 {
    fill: var(--ro-blue);
}

.header-wrap .logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 10rem;
}

.header-wrap .logo svg {
    max-height: 10rem;
    display: inline-block;
}

/* Offers */
.single-offer .hero {
    background-size: cover;
    background-position: center;
}

.no-header-overlay.single-offer .content.container {
    margin: 0 auto;
    height: auto;
}

.offer-bottom h1 {
    margin-top: 4rem;
    text-align: center;
    color: var(--bh-copper);
}

li.post-type-offer {
    background-color: #fff;
}

li.post-type-offer .option {
    padding: 2rem 3rem 3rem 3rem;
}

li.post-type-offer .option h2 {
    font-size: 2.8rem;
    color: var(--bh-copper);
}

li.post-type-offer .option p {
    line-height: 1.4;
}

.baseline .swiper-pagination-bullet {
    background-color: #aaa;
    width: 1.2rem;
    height: 1.2rem;
    opacity: 0.8;    
}

.baseline .swiper-pagination-bullet-active {
    background-color: #fff;
}

.baseline .swiper-container-horizontal > .swiper-pagination-bullets {
    height: 100%;
    bottom: unset;
    left: unset;
    right: 3rem;
    width: 2rem;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;;
}

@media ( max-width: 600px ) {

    .baseline .swiper-container-horizontal > .swiper-pagination-bullets {
        display: none;
    }

}

.baseline .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.swiper-slide_img,
.swiper-slide_img .inner {
    height: 100%;
}

.swiper-slide {
    z-index: 1;
}

.swiper-slide_img {
    position: relative;
    z-index: 1;
    background-size: cover;
    background-position: center;    
}

.swiper-slide_img .inner,
.baseline h2.header-xl {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    font-family: 'Simula', sans-serif;    
    color: #fff;
    z-index: 6;
}

.swiper-slide_img .inner,
.baseline h2.header-xl,
.baseline h2.xxl {
    font-size: clamp(4rem, 5vw, 8rem);
}

.swiper-slide_img .button {
    font-family: sofia-pro, sans-serif;
    font-style: normal; 
}

.swiper-slide_img .inner p {    
    max-width: 60%;
    margin: 0 auto;
    text-align: center;
    line-height: 1.1;
    text-shadow: 0.1rem 0.1rem 2rem rgba(0,0,0,0.7);;
}

.cde-text-left-image-right.tall .right.img,
.cde-image-left-text-right.tall .left.img {
    min-height: 65rem;
    position: relative;
}

@media ( max-width: 700px ) {

    .cde-text-left-image-right.tall .right.img,
    .cde-image-left-text-right.tall .left.img {
        min-height: 45rem;        
    }
    
}

.cde-text-left-image-right.tall .right.img:after,
.cde-image-left-text-right.tall .left.img:after,
#wedding-quad ul li.has-image:last-child .item-image:after {
    content: "";
    position: absolute;
    display: block;
    height: 80%;
    width: 200%;
    left: 40%;
    top: 27%;
    background-color: var(--ro-orange);
    z-index: -1;
}

.cde-image-left-text-right.tall .left.img:after {
    background-color: var(--ro-turqoise);
}

.cde-image-left-text-right.tall .left.img:after {
    left: unset;
    right: 40%;
}

@media ( max-width: 900px ) {

    .cde-text-left-image-right.tall .left,
    .cde-image-left-text-right.tall .right {
        margin-top: 8rem;
    }

}

.flex-elm.narrow .inner {
    max-width: 80rem;
    margin: 0 auto;
}

.baseline .flex-elm.first {
    margin-top: 0;
}

.baseline.no-header-overlay .flex-elm.first {
    margin-top: 27rem;
}

.baseline nav .full .sub-menu li a {
    font-size: 1.4rem;
}

.baseline .tall h4 {
    color: var(--ro-orange);
    font-weight: bold;
}

.link-boxes .cde-grid-item.col-none {
    display: block;
    background-color: var(--ro-blue);
}

.link-boxes .item-label {
    font-family: 'Simula', sans-serif;        
    font-size: clamp(2.8rem, 2.7vw, 3.8rem);
    color: #fff;
    text-align: center;
    padding: 4rem 4rem 2rem 4rem;
}

.link-boxes .item-image img {
    height: 37vw;
    width: 100%;
    object-fit: cover;
}

.link-boxes .col-none .item-content {
    padding: 1rem 4rem 4rem 4rem;
    text-align: center;    
}

.link-boxes .col-none .item-content a:not(.button),
.link-boxes .col-none .item-content p {
    color: #fff;
}


.link-boxes .item-content .button {
    background-color: var(--ro-turqoise);
    color: var(--ro-blue);
}

.ribbon-gal.is-fullwidth .container {
    width: 100%;
    max-width: 100%;
}

.ribbon-gal .image-grid-wrap .cols-four {
    grid-gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.ribbon-gal .image-grid-wrap li {
    margin-bottom: 0rem;
}

@media (max-width: 1000px) {
 
    .ribbon-gal .image-grid-wrap .cols-four {
        grid-template-columns: 1fr 1fr;
    }

}
p + p .button.alt {
    margin-top: 0;
}

/* Testimonials - grid/flickty */

.testi .flickity-viewport {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
}

.testi .container {
    width: 100%;
    max-width: 100%;    
}

.testi .cde-grid-item {        
    width: 100%;        
    box-sizing: border-box;    
}

.testi .cde-grid-item-inner {    
    margin: 0 10%;
    border-radius: 1.2rem;        
    background-color: #000;                
    padding: 8rem;
    color: #fff;
    text-align: center;        
    display: grid;
    grid-template-areas: "testi-top"
                         "testi-bottom";
    grid-column-gap: 4rem;
}

.testi .flickity-button {
    display: none;
}

.testi .flickity-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testi .cde-grid-item-inner .item-label {
    grid-area: testi-bottom;
    font-size: 1.9rem;
    opacity: 0.8;
}

.testi .cde-grid-item-inner .item-content {
    font-size: clamp(1.7rem, 3vw, 2rem);    
}

.testi .xl .cde-grid-item-inner .item-content {
    font-size: clamp(2.3rem, 2vw, 3rem);
}

@media ( max-width: 720px ) {

    .testi .cde-grid-item-inner {
        margin: 0 2rem;
        padding: 3rem;
    }

    .testi .cde-grid-item-inner .item-label {
        font-size: 1.5rem;
    }

}

/* End of testimonials */

/* Collapsible */

.cde-toggle-label {
    padding: 2.5rem;
    padding-right: 8rem;
    border: 0.1rem solid #ccc;
    border-radius: 0.5rem;
    background-color: var(--ro-orange);
    color: var(--ro-blue);
}

.cde-toggle-label:hover {
    border-color: var(--exa-turquoise);
}

.baseline input.cde-toggle:checked + .cde-toggle-label:before {
    content: "\f078";    
    transform: ;
    top: 50%;    
    transform: translate(-50%, -50%)  rotate(180deg);
    right: 0.5rem;
}

.baseline .cde-toggle-label:before {
    content: "\f078";
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: "Font Awesome 6 Pro";
    color: var(--exa-leaf);
    position: absolute;
    right: 3rem;
    transition-duration: 0.3s;
    background-color: transparent;
    font-size: 3rem;
    line-height: 1.4;
    width: 3rem;
    height: 3rem;
    position: absolute;
    top: 50%;    
    transform: translate(-50%, -50%);
    right: 0.5rem;
}

@media ( max-width: 600px ) {

    .baseline .cde-toggle-label {
        font-size: 1.7rem;
        line-height: 1.4;
        padding: 2rem;
        padding-right: 8rem;
    }    

}

.baseline .flex-elm .cde-panel {
    margin-top: -1rem;;
    padding: 3rem;
    background-color: var(--exa-light-leaf);    
    box-sizing: border-box;
    border-radius: 0.5rem;
    border: 0.1rem solid #ccc;
}

.cde-collapsible .before {
    margin-bottom: 3.5rem;
}

/* End of collapsible */

.attachment-thumbnail-link {
    display: inline-block;
}

.inner .attachment-thumbnail-link a,
.inner .attachment-thumbnail-link a:hover {
    border-bottom: none;
    text-decoration: none;
}

.baseline ul.inline-list li:after {
    display: none;
}

.baseline ul.inline-list li {
    margin: 0 1rem;
}