/* HOME PAGE */

#main {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    position: relative;
    
}

table {
    margin: 0px 40px;
    /* padding: 10px; */
    border: none;
    /* border-radius: 10px; */
    background: none;
    /* border-spacing: 0px; */
    /* font-size: 12px; */
    white-space: nowrap;
}

tbody {
    border: none;
    /* display: block; */
    /* padding: 3px; */
    text-align: left;
}

td {
    padding: 0px 10px 0px 0px;
    /* font-family: MontserratM;
    font-size: 12px;
    white-space: nowrap; */
    /* border: 1px solid black; */
}

#canvasBox {
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#gliderBox {
    position: relative;
    height: 100%;
    width: 100%;
    /* margin: 0 20px; */
    /* top: 50%;
    left: 50%;
    transform: translate(-400px, -300px); */
}

canvas {
  cursor: grab;
}

canvas:active {
  cursor: grabbing;
}

#canvasMenu {
    display: grid;
    position: absolute;
    top: 5%;
    right: 5%;
    z-index: 1;

}

#rotate {
    cursor: pointer;
    border-radius: 27px;
    padding: 7px;
}

#addLogo {
    cursor: pointer;
    border-radius: 27px;
    padding: 7px 5px;
    margin-top: 5px;
}

#rotate:hover, #addLogo:hover, .preset:hover {
    background-color: rgba(136, 136, 136, 0.712);
}

/* #canvasLoader {
    position: relative;
    top: 325px;
    width: 10px;
    height: 1px;
    background-color: rgb(60, 60, 60);
    margin: auto;
    transition: 6000ms;
    transition-timing-function: ease-out;
} */

#canvasLoader {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
    margin: 15px auto;
    position: absolute;
    color: #FFF;
    top: 50%;
    left: 50%;
    transform: translate(-1500%, -1500%);
    box-sizing: border-box;
    animation: shadowRolling 2s linear infinite;
}
  
@keyframes shadowRolling {
    0% {
      box-shadow: 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }
    12% {
      box-shadow: 100px 0 rgb(59, 59, 59), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }
    25% {
      box-shadow: 110px 0 rgb(59, 59, 59), 100px 0 rgb(59, 59, 59), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }
    36% {
      box-shadow: 120px 0 rgb(59, 59, 59), 110px 0 rgb(59, 59, 59), 100px 0 rgb(59, 59, 59), 0px 0 rgba(255, 255, 255, 0);
    }
    50% {
      box-shadow: 130px 0 rgb(59, 59, 59), 120px 0 rgb(59, 59, 59), 110px 0 rgb(59, 59, 59), 100px 0 rgb(59, 59, 59);
    }
    62% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 130px 0 rgb(59, 59, 59), 120px 0 rgb(59, 59, 59), 110px 0 rgb(59, 59, 59);
    }
    75% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 rgb(59, 59, 59), 120px 0 rgb(59, 59, 59);
    }
    87% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 rgb(59, 59, 59);
    }
    100% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0);
    }
}


#frontName, #sideName, #stripeName, #rearName, #bottomName, #notification {
    padding-left: 5px;
    font-size: 10px;
    font-family: MontserratL;
}

#notification {
    transform: translate(0, -150%);
}

button {
    border: none;
    outline: none;
}

.colorButton {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -khtml-border-radius: 15px;
    padding: 10px;
    outline: none;
    border: 4px solid rgb(245, 245, 245);
    /* border: none; */
    margin: 5px 0px 5px 0px;
    cursor: pointer;
    /* box-shadow: 0px 0px 4px 0px rgb(179, 179, 179); */
    /* transition: 200ms ease-in-out; */
}

.color001, .colorWhite {
    box-shadow: 0px 0px 1px black inset;
}

.preset {
    border-radius: 15px;
    padding: 10px;
    background: none;
}

.colorButton:hover, .colorButton.selected {
    outline: 1px solid rgb(187, 187, 187);
    /* border: 1px solid rgb(214, 214, 214); */
    /* box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.5) inset; */
    /* box-shadow: inset 0px 1px 2px 0px rgb(179, 179, 179); */
}

#gliderName {
    border-radius: 15px;
    font-family: UPGlobal-Regular;
    font-size:  24px;
    padding: 20px 25px 20px 0px;
    /* text-align: center; */
    cursor: default;
}

/* #gliderName:hover #arrowBack {
    background-color: rgba(136, 136, 136, 0.712);
} */

#backButton {
    transform: translate(-50%, -200%);
}

/* #backButton {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 15px;
    font-family: MontserratM;
    font-size: 14px;
    padding: 5px 25px 5px 15px;
    text-align: center;
    cursor: pointer;
    z-index: 1;
}

#backButton:hover {
    background-color: rgba(136, 136, 136, 0.712);
}

#arrowBack {
    display: inline-block;
    position: relative;
    text-align: left;
    margin: 0px 10px 8px 10px;
    background-color: rgb(59, 59, 59);
}

  #arrowBack:before,
  #arrowBack:after {
    content: '';
    position: absolute;
    background-color: inherit;
  }
  
  #arrowBack,
  #arrowBack:before,
  #arrowBack:after {
    width: 6px;
    height: 6px;
    border-top-right-radius: 60%;
  }
  
  #arrowBack.left {
    transform: rotate(-90deg) skewX(-30deg) scale(1,.866);
  }
  
  #arrowBack.right {
    transform: rotate(-30deg) skewX(-30deg) scale(1,.866) translate(-7px, 0px);
  }
  
  #arrowBack:before {
    transform: rotate(-135deg) skewX(-45deg) scale(1.414,.707) translate(0,-50%);
  }
  
  #arrowBack:after {
    transform: rotate(135deg) skewY(-45deg) scale(.707,1.414) translate(50%);
  } */

.headline {
    font-family: MontserratM;
    font-size:  14px;
    padding: 20px 0px;
}

.gliderImage {
    position: absolute;
    height: 510px;
    width: 680px;
}

.White{
    background-color: rgb(255, 255, 255);
    box-shadow: inset 0px 0px 3px 0px rgb(179, 179, 179);
    padding: 11px;
    border: 3px solid rgb(245, 245, 245);
}

#logoButton {
    width: 100px;
    margin: auto;
}

#bottomMenu{
    font-size: 12px;
    text-align: center;
}

.navigationButton {
    min-width: 165px;
    width: fit-content;
    margin: 5px 15px;

    /* box-shadow: inset 0px 0px 3px 0px rgb(179, 179, 179);
    padding: 8px; */
}

img {
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
}

#popUp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: none;
    text-align: center;
}

#info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
}

form {
    display: grid;
    font-size: 10px;
    margin: 0px 0px 10px 0px;
}

form input {
    font-size: 12px;
}

form td{
    font-size: 11px;
    padding: 4px;
    text-align: center;
    /* border: 1px solid black; */
    font-family: MontserratL;
}

span {
    text-align: center;
}

h1 {
    font-size: 11px;
    color: rgb(165, 164, 164);  
    text-align: left;
    margin: 0;
}

#orderFront, #orderSide, #orderStripe, #orderRear, #orderBottom{
    display: inline-block;
    width: 25px;
    height: 25px;
    transform: translate(0px, 8px);
    border-radius: 15px;
}

#orderFront.White, #orderSide.White, #orderStripe.White, #orderRear.White, #orderBottom.White{
    padding: 1px;
    border: none;
}

#orderSize {
    width: 70px;
    text-align: center;
}
#orderLogo {
    width: 200px;
}

.half {
    width: 70px;
}

.fulltext {
    min-width: 440px;
    max-width: 440px;
    min-height: 40px;
    max-height: 150px;
    padding: 5px;
    margin: 0px 0px 0px 16px; 
    font-size: 12px;
}

@media (min-height: 600px) and (orientation: landscape) {
    #main {
        overflow: hidden;
    }
}

@media (orientation: portrait) {
    #canvasBox {
        position: relative;
        height: 100vw;
    }
}
