:root {
    --cream: rgb(255 144 122);
    --teal: rgb(40 37 96);
}

@font-face {
    font-family: Avenir-next;
    src: url(../fonts/AvenirNextLTPro-Regular.otf);
}
@font-face {
    font-family: Avenir-next-bold;
    src: url(../fonts/AvenirNextLTPro-Bold.otf);
}

/*web layers*/
.mobile-bg  {z-index: 100;}

#desktop #left  {z-index: 150;}

.dream {z-index: 180;}
.contour {z-index: 190;}

#desktop #right,
.splash {z-index: 200;}

.desktop-content {z-index: 300;}

.desktop-nav,
.mobile-nav {z-index: 500;}

#web-overlay {z-index: 800;}
#navtray {z-index: 900;}


/*utilities*/
.mb-0 {margin-bottom: 0px;}
.mb-05 {margin-bottom: 5px;}
.mb-10 {margin-bottom: 10px;}
.mb-15 {margin-bottom: 15px;}
.mb-20 {margin-bottom: 20px;}
.mb-25 {margin-bottom: 25px;}
.mb-30 {margin-bottom: 30px;}
.mb-40 {margin-bottom: 40px;}
.mb-50 {margin-bottom: 50px;}

.mt-05 {margin-top: 5px;}
.mt-10 {margin-top: 10px;}
.mt-15 {margin-top: 15px;}
.mt-20 {margin-top: 20px;}
.mt-25 {margin-top: 25px;}
.mt-30 {margin-top: 30px;}
.mt-40 {margin-top: 40px;}
.mt-50 {margin-top: 50px;}

.mr-10 {margin-right: 10px;}
.mr-15 {margin-right: 15px;}
.mr-20 {margin-right: 20px;}
.mr-25 {margin-right: 25px;}
.mr-30 {margin-right: 30px;}
.mr-40 {margin-right: 40px;}
.mr-50 {margin-right: 50px;}

.pt-10 {padding-top: 10px;}
.pt-15 {padding-top: 15px;}
.pt-20 {padding-top: 20px;}
.pt-25 {padding-top: 25px;}
.pt-30 {padding-top: 30px;}
.pt-40 {padding-top: 40px;}
.pt-50 {padding-top: 50px;}

.pb-10 {padding-bottom: 10px;}
.pb-15 {padding-bottom: 15px;}
.pb-20 {padding-bottom: 20px;}
.pb-25 {padding-bottom: 25px;}
.pb-30 {padding-bottom: 30px;}
.pb-40 {padding-bottom: 40px;}
.pb-50 {padding-bottom: 50px;}

html {
	font-size: 14px;
}
body {
	color: #333;
	padding-bottom: 100px;
}
a {
	text-decoration: none;
	color: #333;
}
a:hover,
a:active,
a:focus,
a:visited {
	text-decoration: none !important;
	outline: none !important;
	color: #333;
}
a:hover {
    color: #007bff;
}

#content {
	position: relative;
}

html body #desktop {
    color: #333;
}

#desktop #left {
    position: fixed;
    width: 50%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
}
#desktop #left .dream {
    animation: dream 30s linear infinite both;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: dream 30s linear infinite both;
}
/*keys*/
@keyframes dream {
    0% {
        transform:  translate(-50%, -50%) scale(1);
    }
    50% {
        transform:  translate(-50%, -50%) scale(1.15);
    }
    100% {
        transform:  translate(-50%, -50%) scale(1);
    }
}
#desktop #right {
    position: fixed;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
}
.desktop-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 70%;
}
.desktop-login-form label {
    font-weight: 600;
}
@media (min-width: 768px) {
    .desktop-content {
        width: 70%;
    }
}
@media (min-width: 992px) {
    .desktop-content {
        width: 50%;
    }
}
@media (min-width: 1200px) {
    .desktop-content {
        width: 400px;
    }
}
.modal-content {
    border: 0;
    border-radius: 0;
}
.desktop-content h1 {
    font-size: 50px;
    font-weight: 700;
}
.desktop-content h5 {
    font-weight: 400;
}
.contour {
    position: absolute;
    height: 105%;
    right: -1px;
    top: -3px;
}
.has-meta {
    position: relative;
    display: block;
}
.forget-password {
    font-size: 14px;
    opacity: .5;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0,-50%);
}
.desktop-footer {
    opacity: .3;
    text-align: center;
}
#desktop .btn-primary.btn-apn,
#desktop .btn-primary.btn-apn:not(.disabled):focus,
#desktop .btn-primary.btn-apn:not(.disabled):active {
    background-color: rgb(40 37 96);
    border: 1px solid rgb(40 37 96);
    color: white;
    box-shadow: 0 0px 5px rgb(40 37 96 / .4);
}
#desktop .btn-primary.btn-apn:not(.disabled):hover {
    box-shadow: 0 0px 5px rgb(40 37 96 / 1);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.login-opt-icon {
    width: 22px;
    height: 22px;
    opacity: .8;
}
.login-opt-btn {
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
    height: 44px;
    width: 44px;
    right: 0;
    border: 2px solid rgb(255 255 255 / .4);
    border-radius: 100px;
}
.login-opt-btn .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 22px;
    width: 22px;
    opacity: .5;
}
#mobile .mobile-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/stock-banner-m.jpg) no-repeat;
    background-size: cover;
}
/*#mobile .splash {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
}*/
#mobile .splash {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 100%;
    background: #ffffffc4;
    width: 90%;
    margin: 0 auto;
    transform: translate(-50%, 50%);
    border-radius: 8px;
    padding: 16px 8px;
}
#mobile .splash .tagline {
}
#mobile .splash h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 0px;
}
.mobile-label {
    font-weight: 600;
}
#mobile input.form-control.gmod {
    border: 0;
    padding: 14px;
}
#mobile .btn-primary.btn-apn,
#mobile .btn-primary.btn-apn:not(.disabled):focus,
#mobile .btn-primary.btn-apn:not(.disabled):active {
    background-color: rgb(40 37 96);
    border: 2px solid rgb(40 37 96);
    color: white;
    box-shadow: 0 0px 5px rgb(40 37 96 / .4);
}
#mobile .btn-primary.btn-apn:not(.disabled):hover {
    box-shadow: 0 0px 5px rgb(40 37 96 / 1);
}

#mobile .btn-light.btn-apn,
#mobile .btn-light.btn-apn:not(.disabled):focus,
#mobile .btn-light.btn-apn:not(.disabled):active {
    background-color: #eee;
    border-color: #eee;
    box-shadow: 0 0px 5px #00000010;
    color: #555;
}
#mobile .btn-light.btn-apn:not(.disabled):hover {
    background-color: #eee;
    border-color: #eee;
    box-shadow: 0 0px 5px #00000020;
}

#mobile .btn-light.btn-apn.contrast,
#mobile .btn-light.btn-apn.contrast:not(.disabled):focus,
#mobile .btn-light.btn-apn.contrast:not(.disabled):active {
    background-color: #ffffff;
    color: #ffffffee;
    border: 1px solid #ffffff33;
}
#mobile .btn-light.btn-apn.contrast:not(.disabled):hover {
    background-color: #ffffff;
    color: #ffffffee;
    border: 2px solid #ffffff33;
}
#mobile input.form-control.gmod {
    background: rgb(255 255 255);
}
#mobile .gmod::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: rgb(255 255 255 / .7);
  opacity: .7; /* Firefox */
}
#mobile .gmod:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: rgb(255 255 255 / .7);
}
#mobile .gmod::-ms-input-placeholder { /* Microsoft Edge */
  color: rgb(255 255 255 / .7);
}

#desktop-menu .desktop-nav {
    position: relative;
}
#desktop-menu .nav-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 140px;
    cursor: pointer;
}
#desktop-menu .nav-logo img {
    width: 100%;
}
#desktop-menu .nav-menu {
    position: absolute;
    top: 35px;
    right: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
#desktop-menu .nav-menu img {
    width: 100%;
}

/*variations*/
.btn.btn-apn {
	padding: 10px;
	border-radius: 10px;
	border: 0;
}
input.form-control.gmod {
    padding: 11px;
    border-radius: 10px;
    height: 38px;
}

/*spinners*/
.add-spinner {
    position: relative;
}
.add-spinner .spinner-content {
    opacity: 0;
}
.add-spinner .spinner-contain {
    width: 19px;
    height: 19px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    left: 50%;
}
.add-spinner .spinner-border {
    width: 100%;
    height: 100%;
    display: block;
    opacity: .3;
}
.add-spinner.white-spinner .spinner-border {
    opacity: .8;
}
.add-spinner.revert .spinner-content {
    opacity: 1;
}
.add-spinner.revert .spinner-contain {
    display: none;
}


.popclick {transition: all 0.1s ease-in-out;}
.popclick:active {transform: scale(1.05) !important;}

#web-overlay {
	position: fixed;
	background: rgb(0 0 0 / .6);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: none;
}
#web-overlay.active {
	display: block;
}
.anchor-modal .modal-header {
    background: #292b38;
    color: white;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding: 0;
    border-bottom: 0;
}
.anchor-modal .modal-header img {
    width: 100%;
}
.anchor-modal .modal-header .close {
    color: white;
    text-shadow: none;
}
.anchor-modal .modal-header h5 {
    font-size: 18px;
}
.pin-box {
    float: left;
    width: calc(25% - 8px);
    margin-right: 10px;
    text-align: center;
}
.pin-box:last-child {
    margin-right: 0px;
}

#desktop-menu .desktop-nav {
    position: relative;
}
#desktop-menu .nav-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 260px;
    cursor: pointer;
}
#desktop-menu .nav-logo img {
    width: 100%;
}
#desktop-menu .nav-menu {
    position: absolute;
    top: 35px;
    right: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
#desktop-menu .nav-menu img {
    width: 100%;
}

#mobile-menu .mobile-nav {
    position: relative;
}
#mobile-menu .nav-logo {
    position: absolute;
    top: 16px;
    left: 15px;
    width: 200px;
    cursor: pointer;
}
#mobile-menu .nav-logo img {
    width: 100%;
}
#mobile-menu .nav-menu {
    position: absolute;
    top: 19px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
#mobile-menu .nav-menu img {
    width: 100%;
}

#navtray a.navlink {
    display: block;
    padding: 14px 30px 14px 54px;
    color: #303030;
    position: relative;
    font-weight: 600;
}
#navtray a.navlink.nav-close {
    background: rgb(0 0 0 / .03);
}
#navtray a.navlink .icon {
    position: absolute;
    left: 28px;
    top: 50%;
    width: 16px;
    opacity: .3;
    transform: translate(0, -50%);
}
#navtray {
    position: fixed;
    background: rgb(255 255 255 / 1);
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    transition: all 0.1s ease-in-out;
    transform: translate(500px,0);
}
#navtray.active {
    transform: translate(0,0);
}
#navtray .tray {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transform: translate(400px,0);
    transition: all 0.1s ease-in-out;
}
#navtray .tray.active {
    transform: translate(0,0);
}
