/* KM Trading Cayman Ldt. */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 161, 55, 55;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 243, 241, 237;
    --white-color: 255, 255, 255;

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

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

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

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

/* Layout
========================================================================== */
body {
    background-color: rgb(var(--gray-light-color));
}

.section-block {
    padding: 10rem 5rem;
}

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

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

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

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

/* 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: "DM Sans", sans-serif;
}

/* Rubriker */
.section-title {
    padding-bottom: .3em;
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: "DM Serif Display", serif;
}

.small-title {
    padding-bottom: .3em;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: "DM Serif Display", serif;
}

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

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

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

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

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

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

    /* Rubriker */
    .section-title {
        font-size: 3.8rem;
    }

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

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

    /* Rubriker */
    .text-label {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

/* 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.5rem;
    font-weight: 500;
    border-radius: 2rem;
    text-align: center;
    text-decoration: none;
    letter-spacing: .04em;
    font-family: "DM Serif Display", serif;
    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;
}

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

.arrow-link::after {
    content: ' \f105';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

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

/* 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(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

.circle-icon:hover {
    background-color: rgb(var(--gray-dark-color));
}

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

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

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

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

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

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

/* Citat-tecken pa p-tagg */
.icon-citat::before {
    content: '\f10d';
    position: absolute;
    font-weight: 900;
    font-size: 6rem;
    color: rgb(var(--primary-color), .1);
    font-family: 'Font Awesome 5 Pro';
    margin: -4rem 0 0 -1rem;
    z-index: 0;
}

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

    .icon-citat::before,
    .icon-citat::after {
        font-size: 4rem;
    }
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    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;
}

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

.parallax .section-block {
    display: flex;
    align-items: center;
    min-height: 50rem;
    background-color: rgb(var(--black-color), .65)
}

.parallax-boats {
    background-image: url('/assets/images/luxury-yachts-2000px.jpg');
}

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

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

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

a.card-item {
    text-decoration: none;
    transition: .3s ease;
}

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

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

@media only screen and (max-width: 1050px) {
    .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;
    }

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

/* 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: 3rem;
}

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

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

.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-6 */
.card-3-6 .card-item {
    position: relative;
    padding: 30rem 0rem 0rem;
}

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

.card-3-6 .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-6 .card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), .3);
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
}

.card-3-6 .small-title,
.card-3-6 p {
    color: 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: 5rem;
}

.split-image {
    width: 50%;
    border-radius: 2px;
}

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

.split-wrapper .align-end {
    align-self: flex-end;
}

/* Ruta bakom text */
.split-wrapper.box {
    margin-bottom: 3rem;
}

.split-wrapper.box .split-content {
    position: relative;
    margin-top: 3rem;
}

.split-wrapper.box .text-block {
    z-index: 1;
    position: relative;
}

.split-wrapper.box .split-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 80%);
    height: calc(100% + 3rem);
}

.split-wrapper.box-white .split-content::after {
    background: rgb(var(--white-color));
}

.split-wrapper.box-gray-light .split-content::after {
    background: rgb(var(--gray-light-color));
}

.split-wrapper.box.reverse .split-content::after {
    left: -80%;
}

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

@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;
    }

    /* Ruta bakom text */
    .split-wrapper.box .split-content {
        padding: 3rem 0;
        margin: 0;
    }

    .split-wrapper.box .split-content::after,
    .split-wrapper.box.reverse .split-content::after {
        left: -2.5rem;
        width: calc(100% + 5rem);
        height: calc(100% + 5rem);
    }
}

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

    .split-wrapper.box .split-content::after,
    .split-wrapper.box.reverse .split-content::after {
        left: -2rem;
        width: calc(100% + 4rem);
        height: calc(100% + 4rem);
    }
}

/* Header / Navigation
========================================================================== */
header:not(.scrolled) {
    background-color: transparent;
}

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

.header-logo a {
    font-size: 3rem;
    color: rgb(var(--primary-color));
    text-decoration: none;
    font-family: "DM Serif Display", serif;
}

header:not(.scrolled, .active-menu) .header-logo a {
    color: rgb(var(--white-color));
}

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

header:not(.scrolled, .mobile-menu) .TemplateMenu>li>a {
    color: rgb(var(--white-color));
}

/* Hover effect */
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: 60px;
    width: 50%;
    left: calc(25% + 2rem);
    background-color: rgb(var(--primary-color));
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

/* Mobilmeny */
.mobile-menu:not(.scrolled, .active-menu) {
    --menu-color: var(--white-color);
}

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

    /* Header logo */
    .header-logo a {
        font-size: 1.6rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .5);
    background: radial-gradient(circle, rgb(var(--black-color), .4) 0%, rgb(var(--black-color), .6) 35%, rgb(var(--black-color), .7) 100%);
}

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

.top-section .section-title {
    font-size: 12rem;
    text-shadow: 0px 0px 15px rgb(var(--black-color), .5);
}

.top-section p {
    display: inline-block;
    padding: 3rem 5rem 0 5rem;
    margin-top: 1.5rem;
    border-top: 2px solid rgb(var(--primary-color));
    font-size: 2rem;
    text-shadow: 0px 0px 15px rgb(var(--black-color), .6);
}

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

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

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

.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;
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 50vh;
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
    text-align: center;
    background-color: rgb(var(--black-color), .5);
}

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

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

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

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

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background: rgb(var(--white-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 .text-label {
    padding: 0 0 1rem;
    font-size: 1.9rem;
    font-weight: 500;
    color: rgb(var(--black-color));
    line-height: 1;
    font-family: "DM Serif Display", serif;
}

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

.footer-top p,
.footer-top a {
    text-decoration: none;
}

.footer-top a:hover {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* 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(--black-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(--gray-dark-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;
}

@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;
    }
}