﻿.pimg1-old .layer-1 {
    height: 100vh;
    width: 100vw;
    z-index: 1;
    position: absolute;
    background: -moz-linear-gradient(top, rgba(0,0,0,0.49) 0%, rgba(41,137,0,0.49) 20%, rgba(234,0,0,0.49) 50%, rgba(0,3,237,0.49) 82%, rgba(255,255,255,0.49) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.49) 0%,rgba(41,137,0,0.49) 20%,rgba(234,0,0,0.49) 50%,rgba(0,3,237,0.49) 82%,rgba(255,255,255,0.49) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.49) 0%,rgba(41,137,0,0.49) 20%,rgba(234,0,0,0.49) 50%,rgba(0,3,237,0.49) 82%,rgba(255,255,255,0.49) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d000000', endColorstr='#7dffffff',GradientType=0 );
}
.pimg1 .layer-1 {
    height: 100vh;
    margin-top: 0;
    align-items: center;
    justify-content: center;
    background-image: url(../Content/images/parallax-bottom.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.pimg1 .layer-2 {
    height: auto;
    margin-top: 0;
    align-items: center;
    justify-content: center;
    background-image: url('../Content/images/banner-passive-component.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.pimg2 .layer-1 {
    height: auto;
    margin-top: 0;
    align-items: center;
    justify-content: center;
    background-image: url(../Content/images/MainBG-Fade1.gif);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.parent {
    position:relative;
    overflow:hidden; /* personal tipp */ 
}

.parallax {
    top:0;
}

.top-parallax {
    margin-top: 59px;
}

*.parallax-wrapper {
    position: relative;
    z-index: 1;
}


.parallax-container {
    height: 110vh;
    /* width: calc(100vw + 0px); */
    margin-right: calc(-50vw + 50% - 8px);
    position: relative;
    box-shadow: 0 16px 48px #000000;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    border: solid 2px #000000;
    border: solid 2px rgba(0,0,0,0.1);
}
