html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    -webkit-backface-visibility: hidden; 

}

html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

/* General Styles */

#Container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 300px;
    height: 600px;
    display: none;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid grey;
    cursor: pointer !important;
    background-color: white;
}

#Container > a > * {
    position: absolute;
}

.preload {
    display: none;
}

.mask {
    overflow: hidden;
}

/* Custom Styles */
#bgtint,
#bgCont,
#bg2,
#copy1,
#copy2,
#copy3,
#logo,
#CTAOff,
#CTAOn{
    top: -1px;
    left: -1px;
    background-repeat: no-repeat;
    background-size: contain;
    width: 300px;
    height: 600px;
}

.bgOverlay{
    opacity: 0.2;
}

#bgCont{
    clip: rect(248px 159px 267px 141px);
    background-color: white;
}

#bg1, #bg1Overlay{
    image-rendering: -moz-crisp-edges;         /* Firefox */
    image-rendering:   -o-crisp-edges;         /* Opera */
    image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;  /* IE (non-standard property) */
    position: absolute;
    transform-origin: top left;
    transform: scale(1);
    top: -330px;
    left: -57px;
}

#bg2{
    position: absolute;
    opacity: 0;
}

#borderGreen,
#borderBlue{
    opacity: 0.64;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;  
}

#borderBlue {
    bottom: 0;
    left: 0;

    border-top: 8px solid #00a6e9;
    border-right: 8px solid #00a6e9;
}
#borderGreen {
    top: 0;
    right: 0;
    border-bottom: 8px solid #00b1ac;
    border-left: 8px solid #00b1ac;
}

#borderBlue{
    width: 158px;
    height: 351px;
}

#borderGreen{
    width: 158px;
    height: 266px;
}

/*Copy*/
#copy1 {background-image: url('copy1.png');}
#copy2 {background-image: url('copy2.png');}
#copy3 {background-image: url('copy3.png');}

/*Logos */
#logo{background-image: url('logo.png');}

#CTAOff {background-image: url('CTAOff.png');}
#CTAOn {
    background-image: url('CTAOn.png');
    opacity: 0;}


/*Legal Popup*/

#legalTrigger,
#legalTab {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    width: 140px;
    height: 16px;
    bottom: 0px;
    left: 0px;
    z-index: 99;
    display: none;
}

#legalTab{
    background-color: #00294b;
    color: #fff;
    font-family: Verdana, sans-serif;
    font-size: 11px;
    letter-spacing: .3px;
    line-height: 18px;
    text-align: center;
}

#legalPopup {
    position: absolute;
    cursor: pointer;
    width: 300px;
    height: 55px;
    bottom: -55px;
    background-color: #00294b;
    padding: 10px;
}

#legalText {
    font-family: Verdana, sans-serif;
    font-size: 9px;
    letter-spacing: .3px;
    overflow-x: hidden;
    height: 100%;
    color: #fff;
}