/* Rydbergs Bar & Matsal */

@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 6.5rem;
    --menu-height-scrolled: 6.5rem;

    /* 	Colors */
    --primary-color: 233, 118, 13;
    --secondary-color: 19, 40, 52;
    --white-color: 255, 255, 255;
    --gray-light-color: 244, 244, 244;
    --gray-dark-color: 90, 90, 90;
    --black-color: 0, 0, 0;

    /* 	Typography */
    --base-size: 1.7rem;

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: 255, 255, 255;
}

/* Layout
========================================================================== */
.section-block {
    padding: 10rem 5rem;
}

.section-block-wrapper {
    max-width: 140rem;
}

@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 8rem 3rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-block {
        padding: 5rem 2rem;
    }
}

/* Specifika paddings */
.p-0:not(.section-wrapper),
.p-0 .section-block {
    padding: 0;
}

.pt-2:not(.section-wrapper),
.pt-2 .section-block {
    padding-top: 2rem;
}

.pl-2 {
    padding-left: 2rem;
}

.py-5 .section-block {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Open Sans', sans-serif;
}

/* Rubriker */
.section-title {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 5rem;
    color: rgb(var(--primary-color));
    padding: 0 0 .5em;
}

.small-title {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 2.5rem;
}


/* Brödtext och länkar */
p {
    color: rgb(var(--gray-dark-color));
    line-height: 1.9;
}

a {
    color: inherit;
    font-size: inherit;
    text-decoration: none;
}

/* Övriga klasser */
.text-center {
    text-align: center;
}

.justify-center {
    margin: auto;
}

.text-bold {
    font-weight: 700;
}

.text-block-center {
    margin: auto;
    text-align: center;
    max-width: 90rem;
}

@media only screen and (max-width: 1024px) {
    .section-title {
        font-size: 3.2rem;
    }

    .small-title {
        font-size: 2.2rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-title {
        font-size: 2.4rem;
    }

    .small-title {
        font-size: 1.8rem;
    }
}

/* Knappar och speciella länkar
========================================================================== */
.btn-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn-wrapper.center {
    justify-content: center;
}

.btn,
.ContactSubmit {
    padding: 1.4rem 3.5rem;
    margin: .5rem;
    min-width: 22rem;
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.ContactSubmit {
    border: none;
}

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover,
.ContactSubmit:focus {
    background: rgb(var(--secondary-color));
}

.btn-secondary-filled {
    color: rgb(var(--white-color));
    background: rgb(var(--secondary-color));
}

.btn-secondary-filled:hover {
    background: rgb(var(--primary-color));
}

.btn-primary-border {
    color: rgb(var(--primary-color));
    border: 2px solid rgb(var(--primary-color));
    background: transparent;
}

.btn-primary-border:hover {
    color: rgb(var(--secondary-color));
    background: rgb(var(--primary-color));
}

.btn-secondary-border {
    color: rgb(var(--secondary-color));
    border: 2px solid rgb(var(--secondary-color));
}

.btn-secondary-border:hover {
    color: rgb(var(--primary-color));
    background: rgb(var(--secondary-color));
}

/* Bouncing arrow */
.bouncing-arrow {
    position: absolute;
    left: 50%;
    bottom: 4rem;
    transform: translateX(-50%);
}

.bouncing-arrow i {
    color: rgb(var(--white-color));
    font-size: 3rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    text-decoration: none;
    color: rgb(var(--primary-color));
}

.arrow-link::after {
    content: ' \2023';
    display: inline-block;
    margin-left: .5rem;
    transition: transform .4s ease;
}

p.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}


@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

/* Farger
========================================================================== */
.text-primary {
    color: rgb(var(--primary-color));
}

.text-white {
    color: rgb(var(--white-color));
}

.text-offwhite {
    color: rgba(var(--white-color), .8);
}

.bg-primary {
    background-color: rgb(var(--primary-color));
}

.bg-gray-light {
    background-color: rgba(244, 244, 244, 0.757);
}

.bg-white {
    background: rgb(var(--white-color));
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 8rem;
}

.split-image {
    width: 50%;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}

@media screen and (max-width: 1100px) {
    .split-content {
        width: 100%;
    }

    .split-image {
        width: 100%;
        min-height: 20rem;
    }
}

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
    }

    .split-content {
        padding: 7.5rem 2rem 5rem;
    }
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

/* Bredder */
.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}

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

    /* Bredder */
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
        margin: 1rem;
    }
}

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

    /* Bredder */
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Generellt */
a.card-item {
    transition: .3s ease;
}

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: center;

}

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
}

.card-2-5 .card-header i {
    font-size: 2.5rem;
}

.card-2-5 .card-body {
    padding: 0 2rem;
}

.card-2-5 .card-item .small-title {
    transition: .3s ease;
    font-size: 2.1rem;
}

.card-2-5 .card-item:hover .small-title {
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 480px) {
    .card-2-5 .card-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-2-5 .card-header {
        width: 4.5rem;
        height: 4.5rem;
    }

    .card-2-5 .card-header i {
        font-size: 2.3rem;
    }

    .card-2-5 .card-body {
        padding: 1rem 0 0 0;
    }
}


/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40rem;
    border: 1px solid rgb(var(--black-color));
}

.card-3-5 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-3-5 .section-title {
    font-size: 4rem;
}

.card-3-5 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .6);
    transition: .3s ease-in-out;
}

.card-3-5 .card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), .8);
}

.card-3-5 .card-body {
    z-index: 1;
    position: relative;
    text-align: center;
    padding: 5rem;
    color: rgb(var(--white-color));
}

.card-3-5 .card-body.border {
    margin: 5rem;
    border: 1px solid rgb(var(--white-color));
}

@media only screen and (max-width: 1000px) {
    .card-wrapper.cards-3-5 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 580px) {
    .card-3-5 .card-body {
        padding: 2rem;
    }

    .card-3-5 .card-body.border {
        margin: 2rem;
    }
}


/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
}

.bg-image-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Parallax
========================================================================== */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block {
    min-height: 40rem;
    background-color: rgb(var(--black-color), .4)
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* Bakgrundsvideo och bilder
========================================================================== */
/* Bakgrundsvideo */
.bg-video {
    position: relative;
}

.bg-video-wrapper {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bakgrundsbilder */
.bg-wall-dark {
    background-color: rgb(var(--secondary-color));
    background-image: url(/assets/images/darkwall.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-wall-light {
    background-image: url(/assets/images/wall2.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Header / Navigation
========================================================================== */

/* Top Header */
.top-header {
    height: var(--menu-height);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem 5rem;
    border-bottom: 3px solid rgb(var(--primary-color));
    display: none;
}

.top-header .container {
    max-width: 140rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-header .col {
    width: 33%;
    text-align: center;
}

.top-header p {
    padding: 0;
    font-size: 1.4rem;
    line-height: 1.4;
}

.text-logo {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.1;
}

.top-header .text-logo {
    line-height: 1;
    font-size: 2.5rem;
}

.text-logo span {
    display: block;
    text-transform: none;
    letter-spacing: 0;
    font-size: .8em;
}

/* Header */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

header .container {
    display: flex;
    align-items: center;
    max-width: var(--section-width);
    margin: 0 auto;
}

/* Logo */
.header-logo {
    flex: 1 1 0px;
}

/* Nav */
.TemplateMenu a {
    font-weight: 600;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
}

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 0px;
    padding: 0;
    margin: 0 0 0 4rem;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

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

    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

/* Popup-notis
========================================================================== */
.EditMode .popup-wrapper {
    display: none;
}

.popup-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

/* Knappar */
.popup-button {
    position: relative;
    width: 5rem;
    height: 5rem;
    background: rgb(var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

.popup-wrapper .popup-button .icon-open,
.popup-wrapper.opened .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(1);
}

.popup-wrapper.opened .popup-button .icon-open,
.popup-wrapper .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(0);
}

/* Innehåll */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    max-width: 45rem;
    max-height: calc(100vh - 12rem);
    padding: 4rem;
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 2rem;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    overflow: auto;
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.icon-close-popup {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
}

@media only screen and (max-width: 450px) {
    .popup-window {
        padding: 2rem 3rem 2rem 2rem;
    }

    .icon-close-popup {
        top: 1rem;
    }
}

/* Modal som öppnas automatiskt
========================================================================== */
body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color), .7);
}

body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 75rem;
    max-height: 75vh;
    padding: 4rem;
    border-radius: 0;
    overflow: auto;
    background: rgb(var(--secondary-color));
    transform: translate(-50%, -50%);
}

.section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
}

@media only screen and (max-width: 450px) {
    body:not(.EditMode) .section-auto-modal .section-block {
        padding: 3rem 2rem;
    }
}


/* ==========================================================================
Startsida
========================================================================== */

/* Topsection
========================================================================== */
.top-section {
    position: relative;
}

.top-section .section-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(85vh);
    background-color: rgba(var(--black-color), .5);
}

.hero-title {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 6rem;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    padding: 0;
    text-shadow: 1px 2px 10px rgb(var(--black-color), .8);
    color: rgb(var(--white-color));
}

.hero-title span {
    display: block;
    font-size: .8em;
}

.isMobile .top-section .bg-video-wrapper {
    display: none;
}

.isMobile .top-section {
    background-image: url(/assets/images/rydbergs-cover.jpg);
    background-size: cover;
}

@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media screen and (max-width: 580px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* Om oss
========================================================================== */


.opening-hours {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opening-hours img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.opening-hours .list {
    z-index: 2;
    border-radius: 4px;
    padding: 4rem;
    max-width: 380rem;
    margin: 0 auto;
    background-color: rgba(var(--secondary-color), 0.73);
    border: 3px solid rgb(var(--primary-color));
}

.opening-hours ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.opening-hours li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: rgb(var(--white-color));
}

.opening-hours .time {
    padding: 0 0 0 5rem;
}

@media screen and (max-width: 580px) {
    .opening-hours .list {
        margin: 2rem;
        padding: 2rem;
    }

}

/* Sektion Galleri
==========================================================================  */
.gallery-slider .slick-list {
    width: 100%;
}

.gallery-slider .slick-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    background-color: rgba(var(--white-color), .2);
    border-radius: 3rem;
    margin: 0;
    padding: 0 3px;
}

.gallery-slider .slick-dots li {
    width: 1.2rem;
    height: 1.5rem;
}

.gallery-slider .slick-dots li::before {
    font-size: 6px;
}

.gallery-slider .slick-dots li::before {
    color: rgb(var(--white-color));
}

.gallery-slider .slick-arrow {
    position: absolute;
    z-index: 2;
    height: 4rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(var(--white-color));
    opacity: 0;
}

.gallery-slider:hover .slick-arrow {
    opacity: 1;
}

.gallery-slider .slick-arrow::after {
    font-weight: 300;
}

.gallery-slider .slick-prev {
    left: 0;
    border-radius: 0 2rem 2rem 0;
}

.gallery-slider .slick-next {
    right: 0;
    border-radius: 2rem 0 0 2rem;
}

/* CTA-sektion
========================================================================== */
.section-cta {
    background-image: url('/assets/images/galleri/rydbergs-bildspel-13.jpg');
}

.section-cta .text-block {
    max-width: 70rem;
    padding: 5rem 4rem;
    border-radius: 1rem;
}

@media only screen and (max-width: 580px) {
    .section-cta .text-block {
        padding: 3rem 2rem;
    }
}

/* Sektion Kontakt & Karta
========================================================================== */
.Contact {
    background-color: rgb(var(--white-color));
    padding: 2rem;
}

.ContactSubmit {
    margin: 0;
}

/* Karta */
.section-map {
    font-size: 0;
}

@media only screen and (max-width: 980px) {
    .section-contact .col-block:not(:last-child) {
        padding-bottom: 5rem;
    }
}

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 40rem;
    background-color: rgb(var(--black-color), .5);
}

.hero .section-block-wrapper {
    width: 100%;
}

.hero .section-title {
    font-size: 6rem;
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 580px) {
    .hero .section-block {
        min-height: 30rem;
    }

    .hero .section-title {
        font-size: 4rem;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.map-wrapper {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

/* ==========================================================================
Undersida: Boka nbord
========================================================================== */
.booking-box {
    margin-top: -5rem;
}

.booking-widget {
    max-width: 60rem;
    margin: auto;
}

.bokning-wrapper {
    margin: auto;
    max-width: 60rem;
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}


/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--gray-light-color));
}

.footer-container {
    max-width: 150rem;
    padding: 0 5rem;
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 4rem;
    border-bottom: 1px solid rgb(var(--gray-dark-color));
}

.footer-menu {
    width: 20%;
    margin: 1.5rem 0;
}

.footer-menu-large {
    width: 30%;
}

.footer .text-logo {
    font-size: 5rem;
    text-align: left;
    color: rgb(var(--black-color));
}

.footer .small-title {
    font-size: 2rem;
    letter-spacing: normal;
    color: rgb(var(--primary-color));
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer p,
.footer a {
    color: rgb(var(--gray-dark-color));
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .btn {
    color: rgb(var(--white-color));
    line-height: 1.8;
}


/* Footer bottom */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 22rem 1fr;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom p,
.footer-bottom a {
    padding: .5rem .2rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    margin: 0 0 0 auto;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
}

@media only screen and (max-width: 1024px) {
    .footer-container {
        padding: 0 3rem;
    }

    /* Footer top */
    .footer-menu {
        width: 48%;
    }

    .footer-menu-large {
        width: 100%;
    }

    .footer-menu-large p {
        max-width: 55rem;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
    }

    .footer .back-to-top {
        order: 1;
        grid-column: 1/1 span-all;
        text-align: center;
    }

    .footer a,
    .footer p {
        order: 2;
    }
}

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

    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
    }

    .footer-bottom * {
        text-align: center;
    }

    .footer .webbess-stamp {
        margin: 0 auto;
    }
}

@media only screen and (max-width: 580px) {
    .footer-container {
        padding: 0 2rem;
    }
}