/* Creative Consulting AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 73, 128, 185;

    --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  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 130rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --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
========================================================================== */
.section-block {
    padding: 10rem 5rem;
}

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

.p-4 .section-block,
.p-4:not(.section-wrapper) {
    padding: 4rem;
}

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

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

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

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

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

/* Ovriga klasser */
.align-start {
    align-items: flex-start
}

@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: 'Public Sans', sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(var(--primary-color));
}

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

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

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

/* Listor */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100rem;
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.list-pills li {
    display: flex;
    align-items: center;
    padding: 0.5rem 2rem;
    margin: .5rem;
    font-size: 1.5rem;
    border-radius: 4rem;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

@media only screen and (max-width: 580px) {
    .list-pills li {
        width: 100%;
        padding: 1rem;
        font-size: 1.4rem;
        justify-content: center;
    }
}

/* List-check */
.list-check {
    padding: 0;
    list-style: none;
}

.list-check li::before {
    content: '\f00c';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 500;
    font-size: var(--base-size);
    font-family: 'Font Awesome 5 Pro'; 
}

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

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

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

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

@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: 580px) {
    .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.4rem;
    font-weight: 600;
    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;
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    color: rgb(var(--primary-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;
}

/* Lank med ikon */
.icon-links {
    padding: 5px 10px;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
    line-height: 1;
    border-radius: 2rem;
    text-decoration: none;
    transition: all .3s ease;
}

.icon-links:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-color));
}

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

/* Farger
========================================================================== */
/* Bakgrunder */
.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));
}

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

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

/* Grafiska element
========================================================================== */
/* Border radius */
.br-1 {
    border-radius: 1rem;
}

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

.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 {
    min-height: 40rem;
    background-color: rgb(var(--black-color), .4)
}

/* Bilder */
.parallax-elbil {
    background-image: url('/assets/images/creative-networks-bil-2000px.jpg');
}

.parallax-besiktning {
    background-image: url('/assets/images/besiktning-elstolpe-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;
}

.card-item {
    border-radius: 2rem;
    text-decoration: none;
    overflow: hidden;
}

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

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

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

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

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

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

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

    .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-25 .card-item,
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 580px) { 
    .card-item.p-4,
    .card-item .p-4 {
        padding: 2rem;
    } 
}

/* Card 1-1 */ 
.card-1-1 .card-item {
    border-bottom: 4px solid rgb(var(--primary-color));
}

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

/* Card 2-1 */
.card-2-1 a.card-item:hover {
    background: rgb(var(--primary-light-color));
}

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 5rem;
}

/* Card 2-2 */
.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 2rem;
    border-radius: 50%;
}

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

/* 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: 4rem;
    height: 4rem;
    border-radius: 50%;
}

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

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

.card-2-5 .card-item p {
    transition: .3s ease;
}

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

/* Card 3-1 */
.card-3-1 .card-item {
    border-bottom: 4px solid rgb(var(--primary-color));
}

.card-3-1 .highlighted {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-3-1 .image-wrapper {
    min-height: 25rem;
}

.card-3-1.w-50 .image-wrapper {
    height: 30rem;
}

.card-3-1 .image-wrapper img {
    position: absolute;
    transform: translate(-50%, -50%);
}

/* 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%;
    outline: 1px solid rgb(var(--white-color));
    outline-offset: -11px;
    box-shadow: 0 0 20px rgb(var(--black-color), .1);
    border-radius: 1rem;
}

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

@media screen and (max-width: 1300px) {
    .split-content {
        padding-top: 3rem;
        padding-bottom: 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 {
    position: relative;
    background: transparent;
}

header:not(.scrolled) {
    background: transparent;
}

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

.header-logo img {
    padding: 0;
}

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

.TemplateMenu li.active>a,
.TemplateMenu a:hover {
    color: rgb(var(--white-color));
}
.TemplateMenu ul a{
    color: rgb(var(--black-color));
}
.TemplateMenu ul a:hover{
    color: rgb(var(--primary-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: 1024px) {
.TemplateMenu a {
    font-weight: 600;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
}

.TemplateMenu li.active>a,
.TemplateMenu a:hover {
    color: rgb(var(--primary-color));
}
}
@media only screen and (max-width: 580px) {
    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
    overflow: visible;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(50% + 50.00px) calc(100% - 50px), 50% 100%, calc(50% - 50.00px) calc(100% - 50px), 0 calc(100% - 50px));
}

.top-section .section-block {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
    background-color: rgb(var(--black-color), .3);
}

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

.top-section .section-title {
    font-size: 4.5rem;
    font-weight: 600;
}

.top-section .btn-primary-filled:hover {
    color: rgb(var(--white-color));
}

@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: 2.7rem;
    }
}

/* Nyheter
========================================================================== */
.section-scroll {
    overflow: hidden;
}

.news-wrapper .card-item .image-wrapper {
    height: 22rem;
}

.news-wrapper .card-item .small-title {
    font-size: 2rem;
}

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

@media only screen and (max-width: 1600px) {
    .news-wrapper .card-item .image-wrapper {
        height: 20rem;
    }
}

@media only screen and (max-width: 750px) {
    .scroll-wrapper.cards-wrapper .card-item {
        margin: 0;
    }
}

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

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

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

.hero .section-title {
    font-size: 4.5rem;
    font-weight: 600;
}

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

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

/* ==========================================================================
Undersida: Consulting
========================================================================== */
.section-cta .section-block-wrapper {
    max-width: 90rem;
}

/* ==========================================================================
Undersida: Vilka vi ar
========================================================================== */
/* Timeline */
.timeline-wrapper {
    position: relative;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: rgb(var(--gray-light-color));
}

.timeline-item {
    position: relative;
    width: 40%;
}

.timeline-text {
    background-color: rgb(var(--white-color));
    border-radius: 1rem;
    padding: 2rem;
}

.timeline-item.item-left {
    margin: 0 0 0 auto;
}

.timeline-item:before {
    content: '';
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 122%;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgb(var(--primary-color));
    border: 4px solid rgb(var(--white-color));
    transform: translateY(-50%);
}

.item-left.timeline-item:before {
    left: -27.6%;
}

@media only screen and (max-width: 980px) {
    .timeline-wrapper::before {
        left: 1rem;
    }

    .timeline-item {
        width: 100%;
        padding: 5rem 7rem;
    }

    .timeline-item:before,
    .item-left.timeline-item:before {
        left: -.5rem;
    }
}

@media only screen and (max-width: 680px) {
    .timeline-item {
        padding: 2rem 0 2rem 4rem;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    padding: 2rem;
    background: rgb(var(--gray-light-color));
    border-radius: 2rem;
}

.section-contact .col-0 {
    border-radius: 1rem;
    background: rgb(var(--white-color));
}

.section-contact .col-0 img {
    display: block;
    margin: 0 auto;
}

.section-contact .col-1 {
    align-self: center;
    max-width: 50rem;
    margin: 0 auto;
}

.ContactForm p {
    font-size: 1.4rem;
    font-weight: 600;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border: none;
}

@media only screen and (max-width: 980px) {
    .section-contact .ContactForm {
        margin-top: 2rem;
    }
}

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

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

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

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

.footer-menu.memberships {
    width: 10rem;
}

.footer .text-label {
    padding: 0 0 1rem;
    line-height: 1;
}

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

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

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

.footer-menu.logos ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-menu.logos .w-33 li {
    width: calc(100% / 3 - 6px);
    margin: 0 3px 3px 0;
}

.footer-menu.logos .w-50 li {
    width: calc(100% / 2 - 6px);
    margin: 0 3px 3px 0;
}

.footer-menu.logos .w-100 li {
    width: 100%;
    margin: 0 0 3px;
}

/* Social Menu */
.footer-middle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid rgb(var(--primary-color));
}

.footer-middle ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

/* 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.4rem;
    line-height: 1.6;
}

/* 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,
    .footer-menu-large {
        width: 50%;
    }

    .footer-menu.logos .footer-submenu {
        max-width: 30rem;
    }
}

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

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

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