/* Axalon Tech AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 246, 130, 42;

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

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

    /* 	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
========================================================================== */
.section-block {
    padding: 10rem 5rem;
}

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

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

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

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

.pt-2 {
    padding-top: 2rem;
}

/* Margins */
.mt-3 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 2rem;
}

/* Bredder */
.mw-900 .section-block-wrapper,
.mw-900:not(.section-wrapper) {
    max-width: 90rem;
}

.mw-1100 .section-block-wrapper,
.mw-1100:not(.section-wrapper) {
    max-width: 110rem;
}

@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: 'Open 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 {
	font-family: 'Barlow', sans-serif;
    padding-bottom: .3em;
    font-size: 3.6rem;
    font-weight: 500;
    line-height: 1.2;
}

.small-title {
	font-family: 'Barlow', sans-serif;
    padding-bottom: .3em;
    font-size: 2.3rem;
    font-weight: 450;
    line-height: 1.5;
    color: rgb(var(--primary-color));
}

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

a {
    text-decoration: none;
    color: rgb(var(--gray-dark-color));
    font-weight: 300;
}

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

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

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

.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: 580px) {
    .section-title {
        font-size: 2.8rem;
    }

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

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

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

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

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

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

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

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

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

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

.btn-white-outline:hover {
    color: rgb(var(--black-color));
    border: 2px solid rgb(var(--black-color));
    background-color: transparent;
}

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

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

/* Lank med ikon */
.icon-links {
    padding: 5px 10px;
    font-size: 1.4rem;
    color: rgb(var(--white-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(--primary-color));
}

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

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

.bg-primary {
    background: linear-gradient(45deg, rgb(var(--primary-color)) 0%, rgb(var(--primary-color)) 50.35%, rgba(212, 92, 0, 0.82) 100%);
}

.bg-primary-light {
    background: linear-gradient(45deg, rgba(212, 100, 13, 0.73) 0%, rgba(245, 129, 41, 0.8) 50.35%, rgba(212, 93, 0, 0.82) 100%);
}

.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
========================================================================== */
/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

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

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

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

/* Bakgrundsvideo */
.bg-video {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0.0) 100%);
}

.bg-video-wrapper video {
    position: fixed;
    z-index: -2;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

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

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

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

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

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

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

@media only screen and (max-width: 780px) {
    /* Paddings */
    .card-item.p-3,
    .card-item .p-3 {
        padding: 1rem;
    }
}

/* Card 1-1 */
.card-1-1 .card-item {
    align-content: center;
}

@media only screen and (max-width: 380px) {
    .card-1-1 .card-body a {
        display: block;
    }
}

/* Card 1-2 */
.card-1-2 {
    justify-self: center;
}

.card-1-2 .card-item {
    border-radius: 1rem;
    padding: 5rem;
    max-width: 90rem;
}

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

/* Card 2-1 */
.card-2-1 .card-item {
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.card-2-1 .card-header {
    font-size: 1.8rem;
}

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

.card-2-1 .card-item:hover p.text-white {
    color: rgb(var(--black-color))
}

.card-2-1 .card-header i {
    background-color: rgb(var(--black-color));
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    line-height: 2.2;
}

.card-2-1 .card-body {
    padding: 0.5rem;
    margin-left: 0.7rem;
}

.card-2-1 .card-body p {
    padding: 0;
    font-size: 1.7rem
}

/* 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%;
        padding: 2rem;
        margin: 0;
        text-align: center;
    }

    .split-image {
        width: 100%;
        padding: 0 2rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    position: fixed;
    box-shadow: 0 0.3rem 0.7rem rgba(var(--black-color), .1);
}

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

.header-logo a {
    width: 18rem;
}

/* Nav */
.TemplateMenu a {
    font-weight: 500;
    font-size: 1.8rem;
    color: rgb(var(--primary-color));
    font-family: 'Barlow', sans-serif;
    padding: 0 2.5rem;
}

header:not(.mobile-menu) .TemplateMenu li a:hover,
header:not(.mobile-menu) .TemplateMenu li a.active {
	background-color: rgb(var(--primary-color));
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 580px) {
    /* Header logo */
    .header-logo a {
        width: 15rem;    
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    position: relative;
    margin-top: calc(0.5 * var(--menu-height));
}

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

.top-section .section-block-wrapper {
    max-width: 80rem;
    margin: 0;
}

.top-section h1 {
    padding-bottom: 2rem;
    font-size: 6.9rem;
    font-weight: 510;
    line-height: 1.15em;
	color: rgb(var(--primary-color));
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.top-section p {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
	color: rgb(var(--white-color));
}

.top-section .logo {
    width: 27rem;
}

@media only screen and (max-width: 1100px) {
    .top-section h1 {
        font-size: 5rem;
    }
    .top-section p {
        font-size: 1.9rem;
    }
}

@media only screen and (max-width: 750px) {
    .top-section h1 {
        font-size: 4rem;
    }
    .top-section p {
        font-size: 1.7rem;
    }
    .top-section .logo {
        width: 18rem;
    }
}

/* Om oss - Sharepoint
========================================================================== */
.section-about {
    background-color: rgb(var(--white-color));
}

@media only screen and (max-width: 640px) {
    .section-about .video-ratio {
        margin-top: 3rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-about p {
        text-align: center;
    }
    .section-about .cards-wrapper .card-item {
        padding: 0.5rem;
    }
}

/* Kontakt
========================================================================== */
.section-contact .section-block {
    padding: 0;
    width: 100%;
}

/* Kolumn 1 */
.section-contact .col-0 {
    background: linear-gradient(45deg, #d3640d 0%, #f58129 50.35%, rgba(212, 93, 0, 0.82) 100%);
    max-width: 50%;
    padding: 10rem;
    overflow: hidden;
}

.section-contact .col-0 .col-wrapper  {
    max-width: 70rem;
    align-content: center;
    justify-content: center;
}

/* Kolumn 2 */
.section-contact .col-1 {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.section-contact .col-1 .bg-white {
    border-radius: 1rem;
    padding: 4rem 8rem;
    margin: 2rem;
}

.ContactForm {
    position: relative;
}

.ContactForm div {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 49%;
}

.ContactForm div.ContactFormMessage {
    position: absolute;
    top: 0;
    right: 0;
}

.ContactForm p {
    color: rgb(var(--white-color));
    line-height: 1.8;
    font-weight: 400;
    font-size: 1.4rem;
}

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

.ContactForm div.ContactFormMessage textarea {
    min-height: 22.2rem;
}
  
.ContactForm input[type="text"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--white-color));
}

.ContactFormMessage {
    position: relative;
    min-height: 100%;
}
.ContactForm input[type="email"]{
    border-radius: 0.5rem;
    border: none;
}
@media only screen and (max-width: 1300px) {
    .section-contact .section-block-wrapper {
        justify-content: center;
    }

    .ContactForm div {
        width: 100%;
        margin-top: 1rem;
    }

    .col-0 .ContactForm div.ContactFormMessage {
        position: static;
    }

    .section-contact .col-0 {
        max-width: 70rem;
        margin: 2rem;
        border-radius: 2rem;
        padding: 2rem;
    }

    .section-contact .col-1 .bg-white {
        margin: 2rem;
        padding: 3rem;
    }
}

/* ==========================================================================
Undersidor
========================================================================== *
/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 40rem;
    text-align: center;
    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 {
        min-height: 30rem;
    }

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

/* Om oss 
========================================================================== */
.logos {
    display: flex;
    justify-content: center;
}

.logos img {
  max-width: 17rem;  
  padding: 2rem;
}

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

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

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

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

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

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

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

.footer-submenu img {
    width: 21rem;
}

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

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

/* Social Menu */
.social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgb(var(--primary-color));
}

.social-menu 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;
    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: 0.5rem;
    filter: invert(1);
}

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

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

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