﻿* {
    margin: 0px 0px;
    padding: 0px 0px;
    font-family: "Arial";
}

[dataType = "must"]::after {
    content: "*";
}

body {
    width: 100%;
    /*max-width: 1024px;*/
    margin: 0px auto;
    background-image: url('../image_custportal/loginpagebackground_web.png');
    background-size: cover;
}

button:active, img:active {
    box-shadow: 2px 2px 5px #fc894d;
}
button#btnRegUpload:active, button#btnRegUpload img:active {
    box-shadow: none !important;
}


/* #region tips */
.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /*background: rgba(0, 0, 0, 0.5);*/
    background: #808080;
    color: #ffffff;
    width: 70%;
    max-width: 450px;
    min-width: 370px;
    height: 130px;
    padding: 20px;
    text-align: center;
}

    .popup p {
        color: #ffffff !important;
        padding: 2px 0px;
    }

    .popup button {
        margin-top: 10px;
        height: 30px !important;
    }
/* #endregion */


@media screen and (max-width:800px) {
    #menuDiv {
        width: calc(100% - 20px);
        max-width: 1024px;
        margin: 0px auto;
        padding: 10px;
        height: 300px;
    }



    #table {
        display: none;
    }

    #table1 {
        display: block;
        width: calc(100% - 20px);
        min-width: 300px;
        height: 200px;
    }

        #table1 tbody {
            width: 100%;
        }

        #table1 tr td {
            padding: 5px;
            width: 60%;
        }

    #menuDiv #table1 > tbody tr:nth-child(2n) {
        background: #f5f5f5;
    }

    #menuDiv #table1 > tbody tr:nth-child(2n+1) {
        background: #fbf8ec;
    }

    #menuDiv #table1 > tbody tr td:first-child {
        background: #F5E5AB;
        text-align: center;
        width: 43%;
        min-width: 155px;
    }

    #menuDiv #table1 > tbody tr td a {
        color: #000000;
        text-decoration: none;
    }


    #btnAdd1 {
        min-width: 30px !important;
        width: 30px !important;
        height: 30px;
        color: white;
        background: black;
    }
}

/*@media screen and  (min-width:1400px) {
    .addrdiv span, .addrdiv select {
        line-height: 50px !important;
    }
}*/

@media screen and (max-width:1400px) {
    .addrdiv span, .addrdiv select {
        /*height: 100px !important;
        line-height: 100px !important;*/
        height: 60px !important;
        line-height: 60px !important;
    }
}

@media screen and (max-width:430px) {

    body {
        width: 100%;
        /*max-width: 1024px;*/
        margin: 0px auto;
        background-image: url('../image_custportal/loginpagebackground_mobile.png');
        background-size: cover;
        font-size: 8px;
    }

    /* #region Login */
    #loginDiv {
        width: 390px !important;
        /* max-width: 390px !important;*/
        height: auto !important;
        background: none !important;
        padding: 5px;
        border: 2px solid #808080;
        /*overflow: hidden;*/
    }

    #logoDiv, #serviceDiv {
        width: 90% !important;
        padding: 10px !important;
        margin: 0px auto !important;
        height: auto !important;
        float: none !important;
        text-align: center;
        line-height: initial !important;
    }


    #submitDiv {
        width: 95% !important;
    }

    dl {
        width: 95% !important;
    }

        dl input, dl select {
            width: 95% !important;
        }

    #serviceDiv, #loginForm, #registerDiv {
        border: none !important;
        background: white !important;
        margin: 0px auto !important;
        width: 90% !important;
        padding: 10px !important;
    }

    #leftReg, #rightReg {
        float: none !important;
        width: 100% !important;
    }

    #registerDiv table {
        padding: 5px;
        width: 350px;
    }

        #registerDiv table td {
            padding: 5px;
            width: 90%;
        }

            #registerDiv table td label {
                display: initial !important;
            }

    input, select, textarea {
        min-width: 100px !important;
    }

    /* #endregion */
    /* #region Menu */
    .divPC {
        display: none;
    }

    .divMobile {
        /*float:right;*/

        display: initial !important;
        width: 120px;
        position: absolute;
        bottom: 34px;
        right: 0;
        font-size: 8px;
        /*transform: translateX(-50%);*/
    }

    .menu li {
        position: relative;
        text-align: right;
    }

        .menu li a {
            padding: 5px 10px;
            display: inline-block !important;
        }

            .menu li a img {
                width: 50px;
                height: 50px;
            }


    .submenu {
        clear: both;
        display: none;
        background: #f4f4f4;
        height: auto;
        /* position: absolute;
            left: 100%;
            top: 0;
            background-color: #fff;
            padding: 5px 0;
            box-shadow: 0 6px 12px rgba(0,0,0,0.175);*/
    }

    .menu li:hover .submenu {
        display: block;
    }

    .submenu li {
        border: 2px solid #8FCE9C;
        border-top: none;
        text-align: left;
    }

        .submenu li a:hover {
            background-color: #ddd;
        }

    .textGroup {
        /*float: left;*/
        width: 100%;
        display: grid;
        /*grid-template-columns: 2fr 3fr 5fr;*/
        grid-template-columns: 1fr 2fr !important;
        align-items: center;
        /*justify-items: center;*/
        margin: 10px 0px;
    }

        .textGroup span {
            height: 20px !important;
            line-height: 20px !important;
        }


    .textEmpty {
        display: block !important;
    }

    button {
        width: 99px !important;
        height: 33px !important;
    }

        button img {
            width: 99px !important;
            height: 33px !important;
        }

    .textGroup input, .textGroup select, .textGroup textarea {
        width: 100%;
        height: 20px !important;
        max-width: 210px !important;
        padding: 5px;
    }

    .textGroup select {
        height: 30px !important;
        max-width: 210px !important;
    }

    .textGroup > .textGroup {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 3fr !important;
        align-items: center;
        margin: 10px 0px;
    }

        .textGroup > .textGroup :nth-child(2) {
            margin-left: 0px;
            max-width: 110px !important;
        }

    i {
        width: 99px !important;
    }


    .addrdiv span, .addrdiv select {
        /*height: 125px !important;*/
        height: 60px !important;
    }

    #pcSel {
        display:none;
    }

    .trackValue {
        width: 370px !important;
    }
        .trackValue img {
            width: 40px !important;
            position: absolute;
            right: 40px !important;
            top: 10px;
        }
    /* #endregion */
}


body#MenuBody {
    background-image: none !important;
    background: #f4f4f4 !important;
}
