@font-face {
    font-family: "Roboto";
    src: url("../fonts/Quicksand/Quicksand-VariableFont_wght.ttf")
}
:root {
    /*----- COLORS -----*/
    --primary-color: #ff1d49;
    --primary-color-hover: #d12346;
    --secondary-color: #c72c41;
    --white: #ffffff;
    --black: black;

    /*----- FONT SIZE -----*/
    /* TODO: remove this block */
    /*--font-size-h1: 4.375rem;
    --font-size-header-description: 30px;
    --font-size-paragraph: 18px;*/
    /*
  h1 {
    font-size: 3.125rem;
    font-weight: bold;
  }
  h2 {
    font-size: 1.563rem;
    font-weight: bold;
  }
  h4 {
    font-size: 1rem;
  }
  p {
    font-size: 1.125rem;
    font-weight: lighter;
  }*/

    /*----- PADDING & MARGIN -----*/
    --section-margin-top: 20vh;
    --product-feature-margin-top: 10vh;
}

html {
    font-size: 16px;
    font-family: "Quicksand", sans-serif;
    color: var(--black);
}

body {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h6,
p {
    color: var(--white);
    font-family: "Quicksand", sans-serif;
}

h1 {
    font-size: 2.125rem;
    font-weight: bold;
}

h2 {
    font-size: 1.925rem;
    font-weight: bold;
}

h3 {
    font-size: 1.125rem;
}
.h3 {
    font-size: 1.125rem;
    font-weight: normal;
}
h4 {
    font-size: 1rem;
}
.h4 {
    font-size: 1rem;
    font-weight: normal;
}
h6 {
    font-size: 1rem;
}

p {
    font-size: 0.75rem;
}

#logo {
    min-width: 69px;
    width: 100px;
    padding-left: 2rem;
}

.uk-navbar-container:not(.uk-navbar-transparent) {
    background: #fdfdfd;
}

/*----- BUTTON -----*/

.button {
    background-color: var(--primary-color);
    border: none;
    color: var(--white);
    border-radius: 25px;
    text-align: center;
    text-transform: none;
    font-family: "Quicksand", sans-serif;
    font-weight: bold;
    letter-spacing: 0px;
    margin-top: 27px;
}

.button:hover,
.button:focus {
    background-color: var(--primary-color-hover);
    border: none;
    color: var(--white);
    border-radius: 25px;
    text-align: center;
    text-transform: none;
    text-decoration: underline;
    font-family: "Quicksand", sans-serif;
    font-weight: bold;
    letter-spacing: 0px;
}

/*----- DEFAULT NAVIGATION -----*/
nav .uk-navbar-nav li a {
    color: black;
}

nav .uk-navbar-nav li a,
#sidenav .uk-nav-default li a {
    text-transform: capitalize;
    font-weight: bold;

    font-family: "Quicksand", sans-serif;
    letter-spacing: 0px;
    padding-right: 60px;
}

nav .uk-navbar-nav li.active a,
#sidenav .uk-nav-default li.active a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 5px;
}

nav .uk-navbar-nav li a:hover,
#sidenav .uk-nav-default li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 5px;
}

nav .uk-navbar-dropdown {
    width: auto;
}

#sidenav .uk-nav-sub {
    padding: 0;
}

#sidenav ul .uk-nav-sub li a {
    font-size: 1.5rem;
}

#sidenav li {
    padding-top: 0.5rem;
}

/*----- HOME HEADER -----*/

#home-header {
    padding-top: 12vh;
    height: 45vh;
    background-size: cover;
}

/*----- HOME HERO SECTION -----*/

.home-hero-section {
    margin-top: -20vh;
    overflow: hidden;
}

.home-hero-section h1 {
    color: var(--black);
}

.home-hero-section p {
    padding-top: 3.125rem;
    color: var(--black);
}

.home-title {
    padding-bottom: 150px;
}

.background {
    height: 40.188rem;
    width: 56.938rem;
    background-image: url("data:image/svg+xml;base64,DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MTAuNjY2IiBoZWlnaHQ9IjY0My4wNzkiDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZpZXdCb3g9IjAgMCA5MTAuNjY2IDY0My4wNzkiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBpZD0iUGF0aF8zMDMiIGRhdGEtbmFtZT0iUGF0aCAzMDMiDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkPSJNNTkzLjAxNSwxNjYuODMxYy01NS45MDctMS45NDQtMTA5LjE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AgICAgICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm09Im1hdHJpeCgwLjk5OCwgLTAuMDcsIDAuMDcsIDAuOTk4LCAtOTEuMDU4LCAtMy41NykiIGZpbGw9IiNmZmU4ZWMiIC8+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zdmc+");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#home-video {
    height: auto;
    width: 80%;
}

/*----- PRODUCTS SECTION -----*/
#products-section {
    /*margin-top: var(--section-margin-top);*/
    margin-top: -30vh;
}

#products-section h1,
#products-section p {
    color: var(--white);
}

#products-section .button {
    width: 90%;
    margin-bottom: 25px;
}

.product {
    height: calc(290px + 200 * ((100vw - 300px) / (1600 - 300))); /*67vh; */
    width: calc(200px + 80 * ((100vw - 300px) / (1600 - 300))); /*389px;*/
    background-size: cover;
    border-radius: 25px;
}

/*----- HOME GALLERY -----*/

.home-gallery {
    /*margin-top: var(--section-margin-top);*/
    margin-top: 5vh;
    padding-top: 6vh;
    padding-bottom: 12vh;
    background-size: cover;
    background-position: center;
}

.home-gallery-image {
    border-radius: 20px;
    background-size: cover;
}
/*----- PANORAMA GALLERY -----*/
#pannellum-gallery {
    scroll-margin-top: 60vh;
}
/*----- PRODUCT HEADER -----*/
#product-header {
    height: 300px;
    padding-top: 12vh;
    background-image: linear-gradient(
            180deg,
            rgba(164, 55, 58, 0.55),
            rgba(255, 29, 73, 0.55)
    );
    background-size: cover;
    background-position: center;
}

/*#product-header h4 {
  font-size: var(--font-size-header-description);
}*/

/*----- PRODUCT NAVIGATION -----*/
#product-navigation .navigation-background {
    position: absolute;
    height: 20vh;
    width: 100%;
    background-image: url("/media/rex_media_header/header_background.png");
    opacity: 0.8;
    background-position: center;
    background-size: cover;
}

#product-navigation .nav-item {
    background-color: #ff1d49de;
    padding: 10px 50px 10px 50px;
    margin: 0px 10px 10px 0px;
    border-radius: 20px;
}

#product-navigation .nav-item a {
    font-size: 20px;
    color: var(--white);
}

#product-navigation .active {
    background-color: var(--primary-color);
}

#product-navigation .active a {
    text-decoration: underline;
    text-underline-offset: 5px;
}

#product-navigation {
    margin-top: 25px;
}

.product-call-to-action img {
    opacity: 0.6;
    z-index: -10;
}

/*----- PRODUCT FEATURE -----*/

.product-feature {
    margin-top: var(--product-feature-margin-top);
    overflow: hidden;
}

.product-feature img {
    background-position: center;
    background-size: cover;
    height: auto;
    width: auto;
}

.product-feature h4,
.product-feature p {
    color: var(--black);
}

/* DIVIDER */
.product-feature .uk-divider-small,
.eva-business-module .uk-divider-small,
.contact .uk-divider-small {
    margin-top: 10px;
}

.product-feature .uk-divider-small::after,
.eva-business-module .uk-divider-small::after,
.contact .uk-divider-small::after {
    width: 75px;
    border-top: 1px solid var(--primary-color);
}

.product-feature .divider,
.software-gallery .divider {
    margin-top: var(--product-feature-margin-top);
    border-top: 1px solid var(--primary-color);
}

.product-feature-large-right img {
    background-position: center;
    background-size: cover;
    overflow: hidden;
    /*margin-left: -15vh;*/
}

.product-feature-large-left img {
    background-position: center;
    background-size: cover;
    overflow: hidden;
    margin-left: 12vh;
}

.product-call-to-action {
    margin-top: 5vh;
    margin-bottom: 5vh;
    height: 30vh;
    background-size: cover;
    background-position: center;
}

.product-call-to-action .uk-text-center {
    padding-top: 10vh;
}

/*----- EVA BUSINESS MODULE -----*/
.eva-business-module * {
    color: var(--black);
}

.eva-business-module .nav-item a {
    /*font-size: 1rem;*/
    color: var(--white);
}

.eva-business-module .nav-item {
    background-color: var(--primary-color);
    padding: 10px 50px 10px 50px;
    margin: 0px 10px 10px 0px;
    border-radius: 20px;
}

.eva-business-module .uk-subnav-pill > .uk-active > a {
    background-color: transparent;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.eva-business-module .uk-subnav-pill > * > a:focus,
.uk-subnav-pill > * > a:hover {
    background-color: transparent;
    text-decoration: underline;
}

/*----- GALLERY -----*/
.gallery {
    margin-top: var(--section-margin-top);
    margin-bottom: 5vh;
}

.gallery img {
    border-radius: 20px;
}

.software-gallery .uk-container {
    height: 100vh;
    background-image: url("/media/background-overlay.svg");
    background-position: center;
    background-repeat: no-repeat;
}

.software-gallery .slideshow .uk-slideshow {
    padding-top: 10vh;
}

.software-gallery .uk-light {
    width: 500px;
}


.slideshow-navigation {
    padding-top: 1rem;
}

.slideshow-navigation .uk-dotnav .uk-active * {
    background-color: var(--primary-color);
    width: 15px;
    height: 15px;
}

.slideshow-navigation .uk-dotnav * {
    width: 15px;
    height: 15px;
}

.home-hero-section .software-gallery .uk-container {
    height: 60vh;
    background-image: url("/media/background-overlay.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.home-hero-section .software-gallery .slideshow .uk-slideshow {
    padding-top: 8vh;
}
/*----- PARTNER -----*/
#partner .divider {
    margin-top: 0px;
}


/*----- EVENTS MODULE -----*/

.events-section .uk-slidenav {
    color: var(--primary-color);
}


.events-section .button {
    background-color: var(--primary-color);
    border: none;
    color: var(--white);
    border-radius: 25px;
    text-align: center;
    text-transform: none;
    font-family: "Quicksand", sans-serif;
    font-weight: bold;
    letter-spacing: 0px;
    margin-top: 27px;
}

.events-section .button:hover,
.events-section .button:focus {
    background-color: var(--primary-color-hover);
    border: none;
    color: var(--white);
    border-radius: 25px;
    text-align: center;
    text-transform: none;
    text-decoration: underline;
    font-family: "Quicksand", sans-serif;
    font-weight: bold;
    letter-spacing: 0px;
}

.slider-body {
    padding-left: 200px;
}

/*
#events-section {
  padding-top: 10vh;
  background-color: black;
}*/

/*----- CONTACT -----*/
.google-maps {
    /*height: 300px;
    width: 600px;*/
    max-width: 100%;
    height: auto;
}

.contact h4,
.contact p {
    color: var(--black);
}

/*----- MODAL -----*/
.modal h2 {
    color: var(--black);
}

.modal .uk-close {
    color: var(--primary-color);
}

.modal .uk-close svg {
    width: 40px;
    height: 40px;
}

/*----- FOOTER -----*/

.default-footer {
    padding-top: 10vh;
    height: 30vh;

    background-color: var(--secondary-color);
}

.default-footer h4 {
    /* font-size: var(--font-size-h1);*/
    font-weight: bold;
}

.default-footer p {
    /*font-size: 32px;*/
    font-weight: bold;
}

.copyright-footer {
    padding-top: 5vh;
    height: 10vh;

    background-color: var(--secondary-color);
}

img[data-src][src*="data:image"] {
    background-image: url("/media/image-placeholder.svg");
    background-position: center;
    background-repeat: no-repeat;
}

/*----- CONTACT FORM -----*/

.modal-form .uk-modal-dialog .uk-container {
    padding-top: 20vh;
}

.modal-form .contact-form {
    background-color: var(--white);
}

.modal-form #firstname, .modal-form #website {
    display: none;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -100;
}

/*----- UIKIT Notification settings -----*/
.uk-notification {
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
}

.uk-notification-message {
    padding-right: 2em !important;
    width: auto !important;
    max-width: 70% !important;
    text-align: left;
    display: inline-flex;
}

.uk-notification-top-center,
.uk-notification-top-left,
.uk-notification-top-right {
    margin: 0 !important;
    left: unset !important;
    text-align: center;
}

.uk-notification-top-center > .uk-notification-message {
    margin: 10px auto 0;
}

/*----- 404 ERROR -----*/
.error-404 h1 {
    color: var(--black);
}

/*----- RESPONSIVE SIZE -----*/

@media screen and (min-width: 320px) {
    html {
        font-size: calc(16px + 6 * ((100vw - 320px) / 680));
    }

    .button,
    .button:focus,
    .button:hover {
        width: calc(160px + 154 * ((100vw - 320px) / 680));
    }

    #logo {
        min-width: 20vh;
        padding-left: 2rem;
    }
}

@media screen and (min-width: 1000px) {
    html {
        font-size: 22px;
    }

    .button,
    .button:focus,
    .button:hover {
        width: 304px;
    }

    nav .uk-navbar-nav li a {
        font-size: 1.125rem;
    }

    #logo {
        width: 20vh;
        padding-left: 2rem;
    }

    #home-video {
        width: 100%;
    }
}

/*----- MEDIA QUERIES -----*/

@media screen and (max-width: 1919px) {
    .background {
        height: 30rem;
        background-size: contain;
    }

}

@media screen and (max-width: 1610px) {
    .product {
        height: calc(290px + 200 * ((100vw - 300px) / (1600 - 850)));
    }
}

@media screen and (max-width: 1300px) {
    .product {
        height: calc(290px + 200 * ((100vw - 300px) / (1600 - 1000)));
    }

    .home-hero-section .software-gallery .uk-container {
        background-image: none;
    }

    .software-gallery .uk-container {
        background-image: none;
    }

    .home-hero-section .software-gallery .uk-light {
        width: 450px;
    }



}

@media screen and (max-width: 992px) {
    .background {
        height: 17rem;
        width: 17rem;
        background-size: contain;
    }

    .product {
        height: calc(290px + 200 * ((100vw - 300px) / (1600 - 1100)));
    }


    #home-video {
        width: 100%;
    }

    .home-gallery-image {
        width: 80%;
    }

    .product-feature img {
        height: auto;
        width: 70%;
    }

    .product-feature {
        margin-left: 0px !important;
    }

    .product-call-to-action {
        height: 40vh;
    }

    .gallery img {
        height: auto;
        width: 80%;
    }

    .home-hero-section .software-gallery .uk-light {
        width: 400px;
    }
    .slider-body {
        padding-left: 20%;
    }

}

@media screen and (max-width: 900px) {
    .product {
        height: calc(290px + 200 * ((100vw - 300px) / (1600 - 1200)));
        width: calc(200px + 80 * ((100vw - 300px) / (1600 - 600)))
    }

    .home-hero-section .software-gallery .uk-light {
        width: 350px;
    }

}

@media screen and (max-width: 768px) {
    .background {
        width: 15rem;
        height: 15rem;
        background-size: contain;
    }

    #home-video {
        width: 100%;
    }

    .home-gallery-image {
        width: 70%;
    }

    .product-feature img {
        height: auto;
        width: 60%;
    }

    .product-feature {
        margin-left: 0px !important;
    }

    .gallery img {
        height: auto;
        width: 60%;
    }
}

@media screen and (max-width: 639px) {
    .product {
        width: calc(200px + 80 * ((100vw - 300px) / (1600 - 1400)));
    }
}

@media screen and (max-width: 576px) {
    .background {
        width: 20rem;
        height: 20rem;
        background-size: contain;
    }

    .product {
        height: calc(290px + 200 * ((100vw - 300px) / (1600 - 1300)));
        width: calc(200px + 80 * ((100vw - 300px) / (1600 - 1450)));
    }

    #home-video {
        width: 100%;
    }

    .home-gallery-image {
        width: 80%;
    }

    .gallery img {
        height: auto;
        width: 60%;
    }

    #product-navigation .nav-item {
        padding: 5px 20px 8px 20px;
    }

    .eva-business-module .nav-item {
        padding: 5px 20px 8px 20px;
    }
}

@media screen and (max-width: 377px) {
    .product {
        height: calc(290px + 200 * ((100vw - 300px) / (1600 - 1400)));
    }

    .home-hero-section {
        margin-top: -30vh;
    }

    .home-hero-section .software-gallery .uk-light {
        width: 250px;
    }

    .default-footer {
        height: 40vh;
    }

}

/*----- Small devices (landscape phones, 576px and up) -----*/
/*
@media (min-width: 576px) {
}
*/
/*----- Medium devices (tablets, 768px and up) -----*/
/*
@media (min-width: 768px) {
}
*/
/*----- Large devices (desktops, 992px and up) -----*/
/*
@media (min-width: 992px) {
}
*/
/*----- Extra large devices (large desktops, 1200px and up) -----*/
/*
@media (min-width: 1200px) {
}

@media (max-width: 299.98px) {
  .product {
    height: 55vh;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 2.125rem;
  }
  h2 {
    font-size: 1.63rem;
  }
  h3 {
    font-size: 1.4rem;
  }
  h4 {
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
  }
  .button {
    font-size: 1rem;
  }
  .button:hover {
    font-size: 1rem;
  }
  /*----- PRODUCT NAVIGATION -----
  #product-navigation .uk-container .uk-navbar-center .uk-navbar-nav li a {
    font-size: 1rem;
    padding: 5px;
  }
  /*----- HOME PAGE -----
  .product {
    height: 40vh;
    width: 90%;
  }
  #home-video {
    width: 100%;
  }
  .background {
    height: 20.094rem;
    width: 28.469rem;
    background-position: center;
    background-size: cover;
  }

  .default-footer h4 {
    font-size: 2.125rem;
  }
  .default-footer p {
    font-size: 1rem;
  }
}
@media (min-width: 640px) {
  /*----- HOME PAGE -----
  #home-video {
    width: 100%;
  }
}
*/
/*----- Small devices (landscape phones, less than 768px) -----*/
/*
@media (max-width: 767.98px) {
  h1 {
    font-size: 2.125rem;
  }
  h2 {
    font-size: 1.63rem;
  }
  h3 {
    font-size: 1.4rem;
  }
  h4 {
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
  }
  /*----- HOME PAGE -----
  .product {
    height: auto;
    width: 180px;
  }

  .default-footer h4 {
    font-size: 2.125rem;
  }
  .default-footer p {
    font-size: 1rem;
  }
  
  /*----- PRODUCT FEATURE -----
  .product-feature img {
    height: auto;
    width: 200px;
  }
}
*/
/*----- Medium devices (tablets, less than 992px) -----*/
/*
@media (max-width: 991.98px) {
  /*----- HOME PAGE -----
  .product {
    height: 40vh;
    width: 60%;
  }
  /*----- PRODUCT FEATURE -----
  .product-feature img {
    height: auto;
    width: 350px;
  }
}
*/

/*----- Large devices (desktops, less than 1200px) -----*/
/*
@media (max-width: 1199.98px) {
}

/*----- TEMP -----
.spacer {
  margin-top: 10vh;
  height: 200vh;
}
*/
