*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { font-size: 16px; }

body {
	background: #fff;
	color: #000;
	font-family: 'Poppins', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
	margin: 0;
	padding: 0;
}

.vp-section a { color: inherit; }

p { margin-bottom: 1.5rem; }
.vp-section.p-tnc p { margin-bottom: 0.75rem; }
.vp-section.p-tnc h6 { margin-top: 1.5rem; }

h1, h2, h3, h4, h5, h6 { line-height: 1.2; }

h1 { 
    font-size: 3rem; 
    font-weight: 500; 
    line-height: 1;
    margin-bottom: 1.5rem;
}

h2 { font-size: 3rem; font-weight: 500; }

h3 { font-size: 2rem; font-weight: 500; }

h4 { font-size: 1.5rem; font-weight: 500; }

h5 { font-size: 1.5rem; font-weight: 300; }

h6 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }

.container-fluid {
    margin-right: auto;
    margin-left: auto;
    max-width: 1500px;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
}

#header { 
    background: #fff;
    position: sticky;
    padding: 1.5rem 0; 
    top: 0; 
    width: 100%;
    z-index: 1;
}

#home-top { 
    overflow: hidden;
    padding: 28vh 0;
    position: relative;
    text-align: center;
}

@media (min-width: 420px) and (max-width: 767px) and (max-height: 830px) {
    #home-top { height: auto; width: 100vw; }
}

#header-nav-2col {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto auto;
}

#header-logo { height: 2rem; margin-left: 2rem; z-index: 2; }

nav { font-weight: 300; text-align: right; }

nav #nav-items {
    background: #fff;
    color: #222;
    font-size: 2rem;
    height: 100vh;
    left: 0;
    padding-top: 20vh;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100vw;
    z-index: 1;

    opacity: 0;
    visibility: hidden;
}

nav.open #nav-items { opacity: 1; visibility: visible; }

.nav-item, .nav-social { cursor: pointer; display: inline-block; margin: 0 0.75rem; padding: 0.25rem 0; }

.nav-item a { color: inherit; text-decoration: none; }

.nav-item.active { border-bottom: 1px solid #222; cursor: default; }

.nav-social { margin: 0; padding: 0; position: relative; top: 0.7rem; }

.nav-social svg { 
    fill: #222; 
    height: 2.2rem; 
    padding: 0;
    width: 2.2rem; 
}

nav .nav-mobile-sep { height: 20vh; }

#nav-mobile-btn { margin-right: 2rem; position: relative; top: 5px; z-index: 2; }
#nav-mobile-btn svg { height: 2rem; width: 2rem; }
nav.open #nav-mobile-btn { color: #222; margin-right: 2rem; }
#nav-icon-close { display: none; }
#nav-icon-menu { display: inline-block; }
nav.open #nav-icon-menu { display: none; }
nav.open #nav-icon-close { fill: #222; display: inline-block; }

#vp-home-video { 
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

#home-5col {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
    padding: 3rem 0 4rem 0;
    text-align: center;
}

.vp-icon-home {
    display: block;
    margin: 1rem auto;
    height: 4rem;
    width: 4rem;
}

.vp-icon-home-e2e { display: none; }

#jobs-top-image {
    height: 100%;
    position: relative;
    transform: translateX(-33%);
}

#jobs-top-text { 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

@media (min-width: 768px) {
    #header { padding: 2.5rem 0; }
    #header-logo { height: 3.25rem; }
    #home-5col { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    #header-nav-2col { margin-right: 1.5rem; }
    #jobs-top-image { height: auto; transform: none; width: 100%; }
    nav { text-align: right; }
    nav #nav-items {
        background: none;
        font-size: 1rem;
        padding-top: 0;
        position: static;
        height: auto;
        text-align: right;
        width: auto;

        opacity: 1;
        visibility: visible;
    }
    .nav-item, .nav-social { margin: 0 0.5rem; }
    .nav-social { margin: 0; }
    #nav-mobile-btn, nav .nav-mobile-sep, nav br { display: none; }
    #home-5col { grid-template-columns: repeat(5, 1fr); }
    .vp-icon-home-e2e { display: block; }
}

@media (min-width: 1280px) {
    #header-logo { height: 3.5rem; }
    .nav-item, .nav-social { margin: 0 0.75rem; }
    .nav-social { margin: 0 0.25rem; }
    h1 { font-size: 4rem; }
}

#home-pressing-plant {
    background-image: url('/assets/home-order-to-delivery-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    font-size: 1rem;
    padding: 4rem 1rem;
    text-align: center;
}

.home-order-to-delivery-left {
    margin-bottom: 2rem;
    text-align: left;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.home-order-to-delivery-right {
    margin-bottom: 2rem;
    text-align: right;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.vp-order-to-delivery {
    margin: 2rem 0 3rem 0;
    position: relative;
    width: 83vw;
}

#home-marketing-assets { margin: 0 3rem; text-align: center; }

.home-video-phone { margin-top: 3rem; width: 100%; }

#home-testimonials {
    background-image: url('/assets/home-testimonials-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 2rem;
}

@media (min-width: 768px) { 
    #home-pressing-plant { font-size: 1.25rem; padding: 5rem 3rem; }
    .home-order-to-delivery-left { width: 75%; }
    .home-order-to-delivery-right { margin-left: 20%; width: 80%; }
    .vp-order-to-delivery { margin: 5rem 0; top: -0.7rem; width: 40vw; }
    #home-marketing-assets { margin: 0 2rem; } 
}

@media (min-width: 1024px) { 
    .home-order-to-delivery-left { width: 70%; }
    .home-order-to-delivery-right { margin-left: 30%; width: 70%; }
    #home-marketing-assets { margin: 0 5rem; }
}

@media (min-width: 1280px) { 
    .home-order-to-delivery-left { width: 50%; }
    .home-order-to-delivery-right { margin-left: 50%; width: 50%; }
    #home-marketing-assets { margin: 0 10rem; }
    .home-video-phone { height: 45vh; width: auto; }
    #home-testimonials { padding: 5rem 10rem; } 
}

@media (min-width: 1360px) { 
    #home-marketing-assets { margin: 0 20rem; } 
}

@media (min-width: 1700px) { 
    .vp-order-to-delivery { margin: 5rem 0; width: 35vw; }
    #home-marketing-assets { margin: 0 25rem; } 
    #home-testimonials { padding: 5rem 20rem; } 
}

@media (min-width: 1800px) { 
    .vp-order-to-delivery { margin: 5rem 0; width: 30vw; }
    #home-marketing-assets { margin: 0 30rem; } 
}

.home-col-white {
    background: #fff;
    color: #222;
    font-size: 0.9rem;
    padding: 0 1.25rem 2.5rem 1.25rem;
}

.vp-section {
    font-weight: 300;
    line-height: 1.7;
    padding: 4rem 0;
}

.vp-section-dark { background: #333; color: #fff; }

.vp-section h2 { margin-bottom: 2rem; }

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

.vp-2col {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.vp-3col {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.vp-4col {
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr;
}

.vp-6col {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
    font-size: 0.9rem;
}

.img-fluid-fill {
    height: auto;
    width: 100%;
}

@media (min-width: 576px) {
    .vp-3col { gap: 1rem; grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
    .vp-2col { grid-template-columns: repeat(2, 1fr); }
    .vp-3col { gap: 1rem; grid-template-columns: repeat(3, 1fr); }
    .vp-4col { gap: 2rem; grid-template-columns: repeat(2, 1fr); }
    .vp-6col { grid-template-columns: repeat(3, 1fr); }
    .home-col-white { padding: 1.5rem; }
}

@media (min-width: 1024px) {
    .vp-2col { gap: 4rem; margin-left: 10rem; margin-right: 10rem; }
    .vp-3col { gap: 3rem; grid-template-columns: repeat(3, 1fr); }
    .vp-4col { gap: 3rem; grid-template-columns: repeat(4, 1fr); }
    .vp-6col { grid-template-columns: repeat(7, 1fr); }
    #home-pressing-plant { font-size: 1.5rem; padding: 8rem 8rem; }
    .home-col-white { padding: 2.5rem; }
}

#vp-form-contact input[type="text"], .vp-form-input[type="text"],
#vp-form-contact input[type="email"], .vp-form-input[type="email"],
#vp-form-contact textarea, .vp-form-textarea,
.vp-form-select {
    background: #fbfbfb;
    border: 1px solid #bababa;
    font-family: 'Poppins', Arial, sans-serif;
    padding: 0.25rem 0.5rem;
}

#vp-form-contact input[type="text"],
#vp-form-contact input[type="email"],
#vp-form-contact textarea {
    font-size: 1rem;
    padding: 1rem;
    width: 96%;
}

.vp-form-required { color: #d85945; font-weight: 700; }
.vp-form-error { color: #d85945; font-size: 0.8rem; }

.vp-btn {
    background: #253551;
    border: none;
    border-radius: none;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    outline: none;
    padding: 1rem 1.75rem;
    text-decoration: none;
}

.vp-btn.disabled, .vp-btn:disabled { opacity: 0.5; }

dialog .vp-btn, .vp-btn.vp-btn-sm { font-size: 1rem; margin-top: 1rem; padding: 0.5rem 1rem; }

.vp-mb-sm { margin-bottom: 0.5rem; }

.vp-mb-md { margin-bottom: 1rem; }

.vp-form-radio,
.vp-form-checkbox {
	border: 1px solid #999;
	height: 16px;
	position: relative;
	top: 2px;
	width: 16px;
}

.vp-form-input:disabled,
.vp-form-textarea:disabled,
.vp-form-select:disabled,
.vp-form-radio:disabled,
.vp-form-checkbox:disabled { opacity: 0.4; }


/* Native Dialog styles */

dialog {
    padding: 0;
    border: 0;
    font-size: 0.9rem;
    margin: 0 auto;
    max-width: 750px;
    padding: 1.75rem;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}
  
dialog::backdrop { background-color: rgba(0, 0, 0, 0.4); }


/* Partial Bootstrap */

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.gutters-xs {
    margin-left: -3px;
	margin-right: -3px;
}

.gutters-xs > .col,
.gutters-xs > [class*="col-"] {
	padding-left: 3px;
	padding-right: 3px;
}

.gutters-sm {
    margin-left: -7px;
	margin-right: -7px;
}
  
.gutters-sm > .col,
.gutters-sm > [class*="col-"] {
	padding-left: 7px;
	padding-right: 7px;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}

.col-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

.col-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

@media (min-width: 1024px) {
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
}

.align-items-center { align-items: center !important; }

.position-relative { position: relative !important; }

.mb-1, .my-1 { margin-bottom: 0.25rem !important; }

.mb-2, .my-2 { margin-bottom: 0.5rem !important; }

.mb-3, .my-3 { margin-bottom: 1rem !important; }

.mr-1, .mx-1 { margin-right: 0.25rem !important; }

.mr-2, .mx-2 { margin-right: 0.5rem !important; }

.text-left { text-align: left !important; }
  
.text-right { text-align: right !important; }
  
.text-center { text-align: center !important; }


/* The Configurator (was stand-alone before) */

.rps_tooltip { display: inline-block; }

.rps_tooltip .tooltiptext {
    background-color: #ffebbc;
    border-radius: 3px;
    color: #222;
    cursor: default;
    font-size: 0.7rem;
    line-height: 1.3;
    padding: 7px;
    visibility: hidden;
    position: absolute;
    z-index: 2;

    left: -3px;
    top: 1.75rem;
    width: 90vw;
}

.rps_tooltip:hover .tooltiptext, 
.rps-form-element input.has-tip-default:focus ~ .rps_tooltip .tooltiptext,
.rps-form-element textarea:focus ~ .rps_tooltip .tooltiptext { visibility: visible; }

.rps-tt-verbose { display: none; }

#modal-rps-tip .modal-content { background-color: #ffebbc; font-size: 0.85rem; }

#modal-rps-tip .btn { background: none; border-color: #111; }

.rps_form .section { font-size: 0.9rem; margin-bottom: 2rem; }

.rps_form .text-sm { font-size: 0.8rem; font-weight: 400; }

.rps_form .btn-link { border: 0; background: none; font-family: 'Poppins', Arial, sans-serif; font-size: 0.7rem; padding: 0; text-decoration: underline; }

.rps_form .mandatory { 
    color: #d85945; 
    font-weight: bold; 
    vertical-align: bottom;
}

.rps_toggle, .rps_toggle:hover { color: inherit; font-weight: 500; }

#configurator_table {
    background: #f5f5f5;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 10px;
    padding: 1.25rem;
    position: static;
    top: 145px;
}

#prod-rps-loading {
    background-color: rgba(255,255,255,0.75);
    background-image: url('/assets/progress-50px.gif');
	background-position: 50%;
	background-repeat: no-repeat;
    background-size: 2.5rem;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

#prod-rps-loading.loading { display: block; }

#configurator_table strong { font-weight: 500; }

@media (max-width: 767px) {
    .rps_form .section:not(.capabilities) { font-size: 0.9rem; line-height: 1.1; }
    .col.rps-form-element { position: static !important; } /* This is for mobile tooltip positioning */
    .rps-form-element input[type="text"], .rps-form-element input[type="date"], .rps-form-element textarea, .rps-form-element select { width: 86%; }
}

@media (min-width: 1024px) {
    .rps_tooltip { position: relative; }
    .rps_tooltip .tooltiptext {
        left: auto;
        margin-left: -17px;
        top: 50%;
        transform: translateY(-50%);
        width: 270px;
    }
    #configurator_table { position: sticky; }
}

.rps-error { font-size: 0.8rem; padding: 0.3rem 0.5rem; }

.vp-icon-info { fill: #ffc107; height: 0.9rem; position: relative; top: 3px; width: 0.9rem; }


.vp-btn-rnd {
    background: #444;
    border: 2px solid #fff;
    border-radius: 0.4rem;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.5rem 1.5rem;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.15s ease-in-out, transform 0.15s ease-in-out;
    user-select: none;
    vertical-align: middle;
}

.vp-btn-rnd:hover { color: #fff; background: #555; }

.vp-btn-rnd:active { transform: translateY(1px); }

.vp-btn-rnd-cta { 
    border-radius: 3rem; 
    padding: 0.8rem 4rem 0.8rem 1.5rem;
    position: relative;
}

.vp-btn-rnd-cta::after {
    content: url("/assets/icons/icon-chev.svg");
    display: inline-block;
    height: 39px;
    position: absolute;
    right: 5px;
    top: 5px;
    transition: transform 0.15s ease-in-out;
    width: 39px;
}

.vp-btn-rnd-cta:hover::after { transform: scale(104%); }

.alert { 
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
