/* Atomens Öga AB */

/* Typsnitt – Arimo och Newsreader */
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400;0,600;0,700;1,400;1,700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,700;1,6..72,400;1,6..72,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,400;0,700;1,300;1,700&display=swap');

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

    /* 	Colors */
    --primary-color: 202, 42, 26;
    --secondary-color:255,250,229;
    --accent-green-color: 0,151,58;

    --black-color: 17, 17, 17;
    --gray-color: 128, 128, 128;
    --gray-dark-color: 60, 60, 60;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 5rem;
    --mobile-menu-bg:  255, 255, 255;
    --menu-color: rgb(var(--black-color));
}

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

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

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


/* Speciella bredder */
.mw-1000 .section-block-wrapper {
    max-width: 100rem;
}

.mw-1500 .section-block-wrapper {
    max-width: 150rem;
}

.text-block.mw-900 {
    max-width: 90rem;
}

.mw-800{
    max-width: 80rem;
}

/* Speciella margins */
.mt-1 {
    margin-top: 1rem;
}



/* Speciella paddings */
.pt-0 .section-block {
    padding-top: 0;
}

.pt-3 .section-block {
    padding-top: 3rem;
}
.pt-4 .section-block {
    padding-top: 4rem;
}

.pb-0 .section-block {
    padding-bottom: 0;
}

.pb-3 .section-block {
    padding-bottom: 3rem;
}

.pb-5 {
    padding-bottom: 5rem;
}

.pb-10 {
    padding-bottom: 10rem;
}

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


@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: 'Arimo', sans-serif;
    font-weight: 400;
}

/* Rubriker */
.section-title {
    font-family: "Comic Sans MS", "Comic Sans", "Comic Neue", cursive;
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 400;
    padding-bottom: 2rem;
    color: rgb(var(--black-color));
}

.small-title {
    font-family: "Comic Sans MS", "Comic Sans", "Comic Neue", cursive;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgb(var(--black-color));
}

.text-title {
    padding-bottom: .5em;
    font-size: var(--base-size);
    font-weight: 700;
    line-height: 1.4;
    color: rgb(var(--black-color));
}

.text-label {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    padding-bottom: 2rem;
}

/* Brodtext och lankar */
p {
    font-weight: 400;
    color: rgb(var(--gray-dark-color));
}

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: var(--primary-color);
}

a:hover {
    text-decoration: none;
}

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

.text-block {
   max-width: 70rem;
}

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

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

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

.text-newsreader {
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    font-size: 1.8rem;
}
.stroke{
   text-decoration: line-through;
}

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

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

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

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

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

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

.btn {
    display: inline-block;
    min-width: 18rem;
    padding: 1.4rem 2.2rem;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    text-decoration: none;
    border-radius: 3rem;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.btn-small {
    min-width: unset;
    padding: 1rem 2rem;
}

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

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

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    color: rgb(var(--gray-dark-color));
}

.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 {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-light-color));
}

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


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

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

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

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

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

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

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

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

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

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

.cards-wrapper.space-between {
    justify-content: space-between;
}

.cards-wrapper.align-center {
    align-items: center;
}

.card-item {
    text-decoration: none;
}

.card-item .small-title{
    margin-bottom: 2rem;
}

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

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

@media only screen and (max-width: 1600px) {
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 3) - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 1050px) {
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-25 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}


/* Cards 7 */
.cards-7 .card-item {
    position: relative;
    padding: 3rem;
}

.cards-7 .image-wrapper {
    width: 100%;
    height: 25rem;
}

.cards-7 .image-wrapper.of-wrapper img {
    object-fit: contain;
    border-radius: 2px;
    width: unset;
    max-width: none;
}

.cards-7 .text-wrapper {
    padding: 3rem 0;
}

@media screen and (max-width: 580px) {
    .cards-7 .card-item {
        padding: 0;
    }

    .cards-7 .text-wrapper {
        padding: 2rem 2rem 0;
    }

    .cards-7 .btn-wrapper {
        padding: 0 2rem 2rem;
    }
}

/* Cards 14 */
.cards-14 {
    max-width: 50rem;
}

.cards-14 .card-item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 2rem;
    transition: all .3s ease;
}

.cards-14 a.card-item:hover {
    text-decoration: none;
    background-color: rgba(var(--black-color), 0.1);
    transition: all .3s ease;
}

.cards-14 i {
    width: 5rem;
    font-size: 3rem;
}

.cards-14 p {
    padding-bottom: 0;
    font-size: 1.4rem;
}

.cards-14 .contact-info {
    font-size: 1.6rem;
    font-weight: 400;
}

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

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

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

.split-image {
    width: 50%;
}

.split-wrapper .align-center {
    align-self: center;
}

.split-wrapper .mt--10 {
    margin-top:-10rem;
}

.pl-0 {
    padding-left:0;
}

/* Speciella bredder */
.split-wrapper .w-60 {
    width: 60%;
}

.split-wrapper .w-40 {
    width: 40%;
}

@media screen and (max-width: 1000px) {
    .split-content,
    .split-wrapper .w-60,
    .split-wrapper .w-40  {
        width: 100%;
    }

    .split-image {
        width: 100%;
    }

    .split-wrapper .mt--10 {
        margin-top: 0;
    }
}

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

    .split-content {
        padding: 0 0 3rem 0;
    }
}

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

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

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

header .container {
    padding: 0 5rem;
    margin: 0 auto;
}

/* Top header */
.top-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: var(--section-width);
    height: 4rem;
    margin: 0 auto;
    background-color: rgb(var(--secondary-color));
    border-bottom: 1px solid rgb(var(--gray-light-color));
    overflow: hidden;
    transition: .3s ease;
}

.top-header p {
    padding: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(var(--primary-color));
    text-align: center;
    line-height: 1;
}

/* Logo */
.header-logo a {
    font-family: 'Newsreader', serif;
    font-size: 3rem;
    text-decoration: none;
    color: rgb(var(--primary-color));
    text-align: center;
    line-height: 1;
}

/* nav */
.mainmenu {
    margin: 0 2rem 0 auto;
}

.TemplateMenu a {
    font-weight: 600;
    font-size: 1.4rem;
    color: rgb(var(--gray-dark-color));
}

.TemplateMenu a:hover,
header.scrolled .TemplateMenu a:hover {
    color: rgb(var(--primary-light-color));
}

/* Mobilmeny */
.mobile-menu {
    height: auto;
}

header.mobile-menu .header-logo {
    flex-grow: 1;
}

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

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

/* ==========================================================================
Startsida
========================================================================== */
/* Top Section
========================================================================== */
.top-section .section-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 5rem - var(--menu-height));
    background-color: rgb(var(--black-color), .15);
}

.top-section .section-block-wrapper {
    width: 100%;
    text-align: center;
}

.top-section h1 {
    font-size: 8rem;
    font-weight: 400;
}

@media only screen and (max-width: 1500px) {
    .top-section h1 {
        font-size: 6rem;
        max-width: 100rem;
        margin: 0 auto;
    }
}

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

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

    .top-section h1 {
        font-size: 3rem;
    }
}

/* Sektion Senaste tavlor
========================================================================== */
.section-slider {
    overflow: hidden;
}

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

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

.show-all{
    align-items: center;
    justify-content: center;
    background-image: url('/assets/images/tavlor/tavla-35-365px.jpg');
    background-size: cover;
}

/* 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
========================================================================== */

/* ==========================================================================
Undersida Om oss
========================================================================== */
/* Subnavigering
========================================================================== */
.section-sub-header {
    background-color: rgb(var(--secondary-color));
    overflow: auto;
    white-space: nowrap;
    position: sticky;
    z-index: 2;
    top: var(--menu-height-scrolled);
} 

.sub-header ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sub-header a {
    display: inline-block;
    padding: 1.5rem;
    color: rgb(var(--black-color));
    text-decoration: none;
    font-weight: 400;
    font-size: 1.4rem;
    transition: all .3s ease;
}

.sub-header a.active {
    font-weight: 700;
    color: rgb(var(--primary-color));
}

.sub-header a:hover {
  color: rgb(var(--white-color));
  background-color: rgb(var(--primary-color));
  transition: all .3s ease;
}

@media only screen and (max-width: 1000px) {
    .section-sub-header {
        top: var(--mobile-menu-height);
    } 
}

/* ==========================================================================
Undersida Kontakt
========================================================================== */

.section-contact .section-block-wrapper {
    background-color: rgb(var(--secondary-color));
    padding: 7rem;
    align-items: center;
}

.section-contact .ContactSubmit {
    height: 5rem;
    background-color: rgb(var(--primary-color));
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--primary-color));
}

.section-contact .ContactForm p {
    line-height: 1.5rem;
}



#tavling .field-2 {
    display: none;
}
#tavling .textmessage{
    display: none;
}

#kontaktform .radio-btn{
    display: none;
}

.radio-btn {
    font-size: var(--base-size);
}

input[type="radio"] {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid rgb(var(--primary-color));
    border-radius: 50%;
}

input[type="radio"]:checked {
    background-color: rgb(var(--primary-color));
}

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

    .section-contact .col-0 {
        margin-bottom: 3rem;
    }
}

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

    .section-contact .section-block-wrapper{
        padding: 5rem 2rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--secondary-color), .3);
}

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

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 7.5rem 0 5rem;
    border-bottom: 1px solid rgb(var(--black-color), .2);
}

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

.footer-menu:first-child {
    width: 40%;
}

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

.footer-top p,
.footer-top a,
.footer-top li {
    color: rgb(var(--black-color), .7);
    font-weight: 400;
    font-size: 1.4rem;
}

.footer a:hover {
    color: rgb(var(--black-color));
}

.footer p.text-label {
    font-weight: 600;
    color: rgb(var(--black-color));
}

.socials {
    display: flex;
    margin-top: 3rem;
}

.footer .circle-icon {
    width: 3rem;
    height: 3rem;
    font-size: 0;
    border: 1px solid rgb(var(--black-color), .2);
    background-color: rgb(var(--white-color));
    color: rgb(var(--black-color));
}

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

.footer em::before {
    font-size: 1.4rem;
}

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

.footer-bottom p {
    font-size: 1.3rem;
    color: rgb(var(--black-color), .7);
}

/* WebbEss Stamp  */
.webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
    font-weight: 300;
}

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


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

    .footer-container {
        padding: 0 3rem;
    }

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

    .footer-menu:first-child {
        width: 100%;
    }

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

@media only screen and (max-width: 750px) {
    /* Footer top */
    .footer-menu,
    .footer-menu:first-child {
        width: 100%;
    }
    
    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

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