﻿/*-----------------自訂置中視窗---------------------------*/
.window_full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000085;
    z-index: 9999;
}

.window_center {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.window_full_load {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000085;
    z-index: 9999;
}

.window_center_load {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.default_main>div:not(:last-child) {
    margin-bottom: 10px;
}

.default_footer>div {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
}

.defalut_Input_Area {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
}


._windowshadow {
    box-shadow: inset 0px 0px 50px 0px #FFFFFF, 5px 5px 20px 3px #B0B0B0;
    -webkit-box-shadow: inset 0px 0px 50px 0px #FFFFFF, 5px 5px 20px 3px #B0B0B0;
    -moz-box-shadow: inset 0px 0px 50px 0px #FFFFFF, 5px 5px 20px 3px #B0B0B0;
    -o-box-shadow: inset 0px 0px 50px 0px #FFFFFF, 5px 5px 20px 3px #B0B0B0;
}

/*-----------------確認視窗---------------------------*/
.MyConfirmWindow {
    min-width: 300px;
}

.MyConfirmWindow>div:first-child {
    text-align: center;
    margin: 10px 0;
}

.MyConfirmWindow>div:last-child {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.MyConfirmWindow>div:last-child>div {
    cursor: pointer;
    margin-left: 20px;
}

.MyConfirmWindow>div:last-child>div:last-child {
    color: #006bff;
}

.MyWindowText {
    background-color: white;
    border-radius: 10px;
    padding: 30px 30px 0 30px;
    position: relative;
}

.MyConfirmWindowColor {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    color: #333;
}

.MyConfirmWindowColor>div:last-child>div:last-child {
    color: #d14d3e;
}

.overlay a {
    text-decoration: none;
}

/*-----------------自訂置中視窗---------------------------*/
.close {
    position: absolute;
    width: 32px;
    height: 32px;
    right: 10px;
    top: 10px;
    cursor: pointer;
    opacity: .5;
}

.close:hover {
    opacity: 1;
}

.close:before,
.close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 26px;
    width: 2px;
    background-color: #000;
}

.close:before {
    transform: rotate(45deg);
}

.close:after {
    transform: rotate(-45deg);
}

/*-----------------標題訊息視窗-------------------------*/
#Title_Message {
    width: 100%;
    color: #FFFFFF;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    animation-name: oxxo;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    z-index: 2000;
}

.Title_Top {
    top: -40px;
}

.Title_Bottom {
    bottom: -80px;
}

.stripes {
    -webkit-background-size: 30px 30px;
    -moz-background-size: 30px 30px;
    background-size: 30px 30px;
}

.Success {
    background-color: #1dad86;
}

.Failure {
    background-color: #f23939;
}

.deg45 {
    background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, #989898), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, #989898), color-stop(.75, #989898), color-stop(.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(-45deg, #989898 25%, transparent 25%, transparent 50%, #989898 50%, #989898 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, #989898 25%, transparent 25%, transparent 50%, #989898 50%, #989898 75%, transparent 75%, transparent);
    background-image: -ms-linear-gradient(-45deg, #989898 25%, transparent 25%, transparent 50%, #989898 50%, #989898 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(-45deg, #989898 25%, transparent 25%, transparent 50%, #989898 50%, #989898 75%, transparent 75%, transparent);
    background-image: linear-gradient(-45deg, #989898 25%, transparent 25%, transparent 50%, #989898 50%, #989898 75%, transparent 75%, transparent);
}

@keyframes oxxo {
    from {
        background-position-x: 0px;
    }

    to {
        background-position-x: -100px;
    }
}

/*-----------Load-------------*/
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #cef;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #cef transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



#TableViewPositionDef {
    flex-wrap: wrap;
}

#TableViewPositionDef>div {
    flex-wrap: wrap;
}

@media screen and (min-width: 100px) and (max-width: 1440px) {
    #DivForTableView {
        height: auto;
    }

    .OrderDetailDiv {
        min-width: auto;
    }
}