/* Memorio AB / Cedergrenska tornet */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 68, 76, 52;
    --primary-light-color: 234, 235, 230;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 246, 246, 246;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 5rem;
    --menu-height: 10rem;
    --menu-height-scrolled: 8rem;
    --section-width: 140rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 980;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--primary-color);
    --menu-color: var(--white-color);
}

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

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

/* Paddings */
.p-2 .section-block,
.p-2:not(.section-wrapper) {
    padding: 2rem;
}

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

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 0;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}

/* Margins */
.mb-2 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

/* Bredder */


/* Ovriga klasser */
.of-hidden {
    overflow: hidden;
}

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

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

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

/* Rubriker */
.text-label {
    position: relative;
    margin-bottom: 1em;
    font-size: 1.8rem;
    font-weight: 600;
    color: rgb(var(--primary-color));
    text-align: center;
}

.text-label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 1px;
    background: rgb(var(--primary-color));
    transform: translate(-50%, -50%);
}

.text-label>span {
    z-index: 1;
    position: relative;
            display: inline-block;
    padding: 0 2rem;
    background: rgb(var(--white-color));
}




.text-label a {
    font-weight: inherit;
    text-decoration: none;
}

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

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 200;
    line-height: 1.2;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--gray-dark-color));
}

/* Ovriga klasser */
.text-block {
    max-width: 70rem;
}

.text-block-center {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

@media only screen and (max-width: 980px) {
    .text-label {
        font-size: 1.8rem;
        font-weight: 600;
    }

    .text-label::after {
        width: 90%;
    }
}

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

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

    .text-label::after {
        width: 100%;
    }

    .text-label>span {
        padding: 0 1rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    margin-top: 2rem;
}

.btn-wrapper.center {
    text-align: center;
}

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 7px;
    font-size: 1.3rem;
    font-weight: 500;
    border-radius: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

.btn-primary-filled:hover,
.ContactSubmit:hover {
    color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
}

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

.btn-black-border:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-color));
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--primary-color));
    text-decoration: none;
    border-radius: 50%;
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--white-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--white-color));
    background-color: transparent;
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: var(--base-size);
}

@media only screen and (max-width: 580px) {
    .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-gray-light {
    background-color: rgb(var(--gray-light-color));
}

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

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

/* Grafiska element
========================================================================== */
/* Object position */
.of-wrapper img.op-50-60 {
    object-position: 50% 60%;
}

.of-wrapper img.op-50-10 {
    object-position: 50% 10%;
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image,
.bg-video {
    position: relative;
    overflow: hidden;
}

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

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

/* Video ratio */
.video-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-ratio video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


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

.cards-wrapper:not(.w-100) {
    margin-left: -1rem;
    margin-right: -1rem;
}

/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-body {
    flex-grow: 1;
}

/* 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);
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

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

/* Card 3-4 */
.card-3-4 .card-item {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-3-4 .image-wrapper {
    width: 16rem;
    height: 100%;
}

.card-3-4 .card-body {
    flex: 1 1 0px;
    padding: 2rem 0 2rem 4rem;
}

.card-3-4 .contact-item i {
    margin-right: 1rem;
}

.card-3-4 .contact-item a {
    text-decoration: none;
}

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

@media only screen and (max-width: 950px) {
    .card-3-4 .card-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        background-color: transparent;
    }
}

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

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

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

.split-image {
    width: 50%;
}

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

@media screen and (max-width: 1300px) {
    .split-content {
        padding: 3rem;
    }
}

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

    .split-content {
        width: 100%;
        max-width: 70rem;
        padding: 0 0 3rem;
        background: transparent;
    }

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

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

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--primary-color));
}

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

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

/* Hover effect */
header .TemplateMenu a:hover,
header .TemplateMenu li.active>a {
    color: rgb(var(--white-color));
}

header:not(.mobile-menu) .TemplateMenu>li>a:hover:before,
header:not(.mobile-menu) .TemplateMenu>li.active a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

header:not(.mobile-menu) .TemplateMenu>li>a:before {
    visibility: hidden;
    position: absolute;
    content: "";
    height: 3px;
    top: 70px;
    width: 50%;
    left: calc(25% + 2rem);
    background-color: rgb(var(--white-color));
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

header.scrolled:not(.mobile-menu) .TemplateMenu>li>a:before {
    top: 60px;
}

/* Dropdown + hover/active for dropdown */
.TemplateMenu ul {
    background: rgb(var(--primary-color));
}

header:not(.mobile-menu) .TemplateMenu>li>ul>li a::before,
header:not(.mobile-menu) .TemplateMenu>li>ul>li.active a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 9px;
    height: 5px;
    border-radius: 0 3px 3px 0;
    background: rgba(var(--primary-color), 0);
    transform: translateY(-50%);
    transition: .3s ease;
}

/* Mobilmeny */
.mobile-menu .Padding {
    padding-bottom: 12rem;
}

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

/* Top-section
========================================================================== */
.top-section {
    min-height: 80vh;
    background-color: rgb(var(--black-color), .2);
}

/* Kontakt
========================================================================== */
.section-contact .col-2 {
    align-self: flex-end;
}

.section-contact .ContactForm p,
.section-contact .col-2 .ContactFormEmail {
    display: none;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="number"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm input[type="date"]:not(.illegal),
.ContactForm input[type="datetime-local"]:not(.illegal),
.ContactForm select:not(.illegal),
.ContactForm textarea:not(.illegal),
.ContactForm .file-dropzone:not(.illegal) {
    border-color: transparent;
    background-color: rgb(var(--gray-light-color));
}

.ContactForm .ContactSubmit {
    display: inline-block;
    width: auto;
}

@media only screen and (max-width: 980px) {
    .section-contact .col-1 {
        margin-bottom: 3rem;
    }

    .ContactForm .datetime-field label.contact-field-label {
        display: block;
        margin-bottom: 5px;
        font-size: 1.3rem;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 60vh;
    text-align: center;
    background-color: rgb(var(--black-color), .2);
}

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

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

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

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

/* ==========================================================================
Undersida: Om Tornet
========================================================================== */
.section-about .section-block-wrapper {
    align-items: flex-start;
}

.section-about .col-1 {
    position: sticky;
    top: calc(var(--menu-height-scrolled) + 2rem);
    width: 35rem;
}

.section-about .col-2 {
    width: calc(100% - 35rem);
}

@media only screen and (max-width: 980px) {
    .section-about .col-0 {
        order: 1;
    }

    .section-about .col-1 {
        order: 3;
        position: static;
        width: 100%;
        margin-top: 3rem;
    }

    .section-about .col-2 {
        order: 2;
        width: 100%;
    }
}

/* ==========================================================================
Undersida: Vara erbjudanden > Undersida
========================================================================== */
/* Slider */
.scroll-wrapper.cards-wrapper {
    margin-bottom: 5rem;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
    margin: 0 1rem;
    transition: all .3s ease;
}

.scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
    opacity: .5;
    transform: scale(.9);
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}

/* Bokningsforfragan
========================================================================== */
.section-book .section-block-wrapper {
    max-width: 100rem;
}

.section-book .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-book .ContactForm>div {
    width: 49%;
}

.section-book .ContactForm div.textarea-field,
.section-book .ContactForm div.submit-button-container {
    width: 100%;
}

.section-book .ContactForm p {
    display: none;
}

@media only screen and (max-width: 680px) {
    .section-book .ContactForm>div {
        width: 100%;
    }
}

/* ==========================================================================
Undersida: Julbord
========================================================================== */
.julbord-video-wrapper{
    max-width: 100rem;
    margin: auto;
     background-color: rgb(var(--primary-color));
     padding: 1rem;
     border-radius: 1rem;
}
/* ==========================================================================
Undersida: Gallei
========================================================================== */
.section-gallery .card-item{
max-height: 17rem;
}
/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */
.map-wrapper iframe {
    width: 100%;
    height: 40rem;
    border: none;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background-color: rgb(var(--primary-color));
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 5rem;
}

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

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

.footer .small-title {
    padding: 0 0 1rem;
    font-size: 2rem;
    font-weight: 600;
    color: rgb(var(--white-color));
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer-top li {
    margin: 1rem 0;
}

.footer-top li,
.footer-top p:not(.small-title),
.footer-top a {
    font-size: 1.6rem;
    color: rgb(var(--white-color));
    text-decoration: none;
}

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

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--white-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgb(var(--white-color));
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    opacity: .6;
    filter: invert();
}

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

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

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

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

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

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

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

    /* Footer top */
    .footer-top {
        padding: 5rem 0;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}