@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;600;900&display=swap');
@import url('../fonts/arial/stylesheet.css');

body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

#sidebar-wrapper {
    position: relative;
}

.navbar {
    padding-top: .8rem;
    padding-bottom: .8rem;
    background-color: #25397c !important;
    min-height: 65px;
}

.sidebar-heading {
    display: flex;
    justify-content: center;
    background-color: #efefef !important;
    border-bottom: 2px solid #ccc;
}

.sidebar-heading .logo {
    width: 100%;
    max-width: 161px;
    max-height: 54px;
    margin: 5px;
}

.checkLoad,
.checkLoad:hover{
    background-color: #c1c1c1;
    color:#a3a3a3;
    border:none;
    pointer-events: none;
    border-radius: 3px;
}

.checkLoad::after{
    content: "";
    position: absolute;
    width: 20%;
    height: 5px;
    background-color: #243500;
    top:0;
    left:-100%;
    animation: loading 1.5s ease-in-out infinite ;
}

#navbarSupportedContent {
    padding: .8px 0;
}

.bg-deep-blue {
    width: 100%;
    background-color: #eeeeee !important;
    color: #616161;
    border-radius: 3px;
    font-size: 13px;
    box-shadow: 0 1px 1px rgba(51, 51, 51, 0.31);
}

.drag {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 2;
}

.all {
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
}

.preview-content {
    min-height: calc(100vh - 66px);
    background-image: url("../img/bg.jpg");
    background-position: top center;
    background-repeat: no-repeat;
}

.night::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.racewayUse .racewaydiv {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    height: 30%;
    background: #cbcbcb;
    width: 100%;
    z-index: -1;
    border-bottom: 0.04em solid rgb(160, 160, 160);
    box-sizing: border-box;
    box-shadow: 2px 2px 2px #747474;
}

#previewSize {
    position: absolute;
    left: -28px;
    text-shadow: none !important;
    -webkit-text-stroke: 0px !important;
    transform: translateY(-50%) translateZ(0);
    visibility: hidden;
    color: #fff !important;
    font-family: "Roboto", sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px;
    top: 50%;
    background: #ed1d24;
    border-radius: 5px;
    padding: 3px;
    text-align: center;
}

#previewWidth {
    position: absolute;
    left: 50%;
    text-shadow: none !important;
    -webkit-text-stroke: 0px !important;
    transform: translateX(-50%) translateZ(0);
    visibility: hidden;
    color: #ffffff !important;
    font-family: "Roboto",
        sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px;
    top: -29px;
    background: #ed1d24;
    border-radius: 5px;
    padding: 3px;
    text-align: center;
}

.drag span {
    visibility: hidden;
    position: absolute;
    border: 1px dashed #046387;
    padding: 0px 17px 0px 7px;
    white-space: nowrap;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.drag span:nth-of-type(1) {
    text-shadow: transparent -1px -1px 0px, transparent 1px -1px 0px, transparent -1px 1px 0px, transparent 1px 1px 0px;
    z-index: 5;
}

.drag span:nth-of-type(2) {
    z-index: 4;
}

.drag span:nth-of-type(3) {
    z-index: 3;
}

.drag span:nth-of-type(3) #previewSize,
.drag span:nth-of-type(2) #previewSize {
    display: none !important;
}

.drag span:last-child #previewWidth {
    display: none !important;
}

#font{
    font-family: "Arial",sans-serif;
}

.drag {
    position: absolute;
    top: 260px;
    right: 50%;
    transform: translate(50%, -50%) translateZ(0);
    font-size: 36px;
    color: #dadada;
}

.draggable {
    opacity: .5;
}

.colors-content {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.colors-content a {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 0 20%;
    margin:1px;
    position: relative;
    max-width: 32px;
    height: 32px;
    border-radius: 2px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.no-color {
    width: 33px !important;
    height: 32px !important;
    margin: -1px 0 0 0;
    box-shadow: inset 0px 0px 1px #222;
}

.no-color::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    transform: rotate(45deg) translateZ(0);
    background-color: red;
}

.ft20{
    position: absolute;
    top: 363px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    margin-left: 3px;
}

.back-input {
    overflow: hidden;
}

.back-input input[type="file"] {
    display: none;
    opacity: 0;
}

.faceLightColorContent{
    display: none;
}

.face-selected,
.trim-selected,
.side-selected,
.raceway-selected,
.halo-selected{
    position: relative;
    border: 2px solid rgb(19, 19, 19) !important;
}

#fontInput,
#sizeInput{
    background-image: url("./../img/arrow-down.svg");
    background-repeat: no-repeat;
    background-position: right 5px top 50%;
}

.face-selected::before,
.trim-selected::before,
.raceway-selected::before,
.halo-selected::before,
.side-selected::before{
    font-family: FontAwesome;
    content: "\f058";
    position: absolute;
    left: 50%;
    color: #96d600;
    background: #222;
    border-radius: 50%;
    font-size: 20px;
    width: 20px;
    height: 20px;
    z-index: 99;
    top: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    line-height: 20px;
    text-align: center;
}

.night-input {
    overflow: hidden;
    margin-right: 15px;
}

.night-input input[type="checkbox"] {
    display: none;
    opacity: 0;
}

.fixed-buy {
    position: absolute;
    bottom: 0px;
    left: 0px;
    font-family: "Roboto", sans-serif;
    width: 100%;
    background-color: #25397c;
    display: flex;
    height: 50px;
    z-index: 2;
}

.fixed-buy .fixed-price {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fixed-buy .fixed-price #price {
    display: flex;
    height: 60px;
    justify-content: left;
    padding-left: 15px;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    align-items: center;
    transition: 1s all;
}

#checkout{
    position: relative;
    overflow: hidden;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#checkoutBadge{
    background: #2d2d2d;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 300;
    font-size: 20px;
    align-items: center;
    display: flex;
    -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
}

.fixed-buy .buy-button {
    padding: 0 20px;
    background: #72aa00;
    display: none;
    line-height: 50px;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    pointer-events: none;
}

/* Popup */

.popup-container {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99;
}

.btn-block{
    display:block;
    width: 100%;
}

#error,
#success,
#success-buttons{
    display:none;
}

#success-buttons a{
    width: 100%;
}
.popup-close{
    width: 40px;
    height: 40px;
    background: rgb(228, 0, 0);
    display: block;
    position: absolute;
    right: 35px;
    top: 38px;
    color: #fff;
    border-radius: 50%;
    font-size: 25px;
    text-align: center;
    line-height: 40px;
}

.popup-content {
    position: absolute;
    width: 100%;
    max-width: 500px;
    overflow-y: auto;
    padding: 40px;
    top: 0;
    right: -110%;
    background: rgb(255, 255, 255);
    height: 100vh;
    box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05),
        0 15px 40px rgba(166, 173, 201, 0.2);
    box-sizing: border-box;
}

.popup-content #sign-image {
    position: relative;
    min-width: 100%;
    max-width: 100%;
    /* height: 200px; */
    margin: 0px auto;
    background: #000;
    display: block;
}

#payment-form input{
    line-height: 40px;
}

.checkoutPreview span {
    color: rgb(0, 84, 158);
    margin-left: auto;
}

.popup-content h2 {
    font-family: "Roboto", sans-serif;
    color: rgb(0, 84, 158);
    font-weight: 900;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}