html { font-family: sans-serif; background: #eee; padding: 1rem;font-size: 14px; }

@media screen and (max-width:480px) {
    .main .side-nav{
        flex: 0 0 10px;
    }

    .main .side-nav ul {
        display: none;
    }

    .loginImg{
        display: none;
    }


    
}

@media screen and (min-width:481px) {
    .main .side-nav{
        flex: 0 0 150px;
    }






    
}

.mobile-menuicon{
    display: flex;
    justify-content: center;
    padding: 3px;
    cursor: pointer;
}

body { max-width: 1080px; margin: 0 auto; background: white;  }
h1 {  color: #377ba8; margin: 1rem 0; }
a { 
    text-decoration: none;
 }
hr { border: none; border-top: 1px solid lightgray; }
 nav {  
     display: flex; align-items: center; padding-left: 0.5rem;padding-top: 1rem; border-bottom: 1px solid lightgray; 
     justify-content: space-between;
    }
nav h1 {  margin: 0; }
nav h1 a { text-decoration: none; padding: 0.25rem 0.5rem; }
nav ul  { display: flex; list-style: none; margin: 0; padding: 0; }
nav ul li a, nav ul li span, header .action { display: block; padding: 0.5rem; }
.content { padding: 0 1rem 1rem; }
.content > header {  display: flex; align-items: flex-end; font-size: 1.2rem; font-weight: bold; margin-top: 1rem; color: #377ba8;}
.content > header h1 { flex: auto; margin: 1rem 0 0.25rem 0; }
.content > header .retLink { font-size: 1rem; margin-left: 5rem; font-weight: normal; }
.flash { margin: 1em 0; padding: 1em; background: #cae6f6; border: 1px solid #377ba8; } 

.post > header { display: flex; align-items: flex-end; font-size: 0.85em; }
.post > header > div:first-of-type { flex: auto; }
.post > header h1 { font-size: 1.5em; margin-bottom: 0; }
.post .about { color: slategray; font-style: italic; }
.post .body { white-space: pre-line; }

.content:last-child { margin-bottom: 0; }

.content form { margin: 1em 0; display: flex; flex-direction: column; }

.content label { font-weight: bold; margin-bottom: 0.5em; }

.content input, .content textarea { margin-bottom: 1em; }

/* .content textarea { min-height: 12em; resize: vertical; } */
input.danger { color: #cc2f2e; }
input[type=submit] { align-self: start; min-width: 10em; }
/* .loginForm { */
    /* width: 200px; */
/* } */
.loginContainer{
    display: flex;
    align-items: center;
    justify-content: center;
}



.loginImg {
    margin-right: 7rem;

}

.loginForm input:not([type='button']):not([type='submit']):not([type='checkbox']) {
    
    border: #377ba8 1px solid;
    border-radius: 5px;
    height: 2rem;
}

.loginForm input[type='button'],input[type='submit'] {
    background-color: #377ba8;
    border: 0;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    padding: 10px;
    min-width: 6rem;
}

.loginForm input[type='button']:disabled {
    padding: 10px;
    background-color: gray;
    min-width: 9rem;

}

.form-row {
    padding-top: 10px ;
    padding-bottom: 10px ;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex:1;
}



.form-row input:not([type='checkbox']),textarea {
    width: 100%;
    border: #377ba8 1px solid;
    border-radius: 5px;
}

.form-row input:not([type='checkbox']) {
    height: 2rem;

}



/* .form-row input[type='checkbox'] {
    margin: 0;
} */

 input[type=file] {
    display: none;

}



.file-upload {
    border: 1px solid #79aec8;
    width: 8rem;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.submit_row {
    display: flex;
    
}

.colorBox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
}

.formContainer{
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    
}

.colorItem , .yrangeItem {
    display: flex;
    width: 200px;
}

.yrangeItem {
    margin-bottom: 10px;
}

.colorItem label , .dispItem label , .yrangeItem label {
    display: flex;
    width: 120px;
}

.dispItem {
    display: flex;
    width: 300px;
    
}

.dispItem input {
    width: 120px;
}



details {
    flex: 1;
    display: flex;
}

.main{
    display: flex;
    flex-direction: row;
}

.main .side-nav {
    padding-top: 10px;
    background-color: #377ba8;

}

.main-content{
    display: flex;
    flex-direction: column;
    min-width: 80%;
    
}

.main .side-nav ul {
    margin: 0;
    padding: 0;

}

.main .side-nav ul li {
    list-style:none;
    height: 25px;
    padding-top: 5px;
    padding-left: 1rem;

}

.main .side-nav ul li a{
    color: white;

}

.tableContain {
    overflow-x: auto;
}

table {

    border-collapse: collapse;
    border-color:#ccc;
    width: 100%;

}

tr:nth-child(2n+1), .row-form-errors {
    background: #ccc;
  }

  td, th {
    font-size: 13px;
    line-height: 16px;
    border-bottom: 1px solid var(--hairline-color);
    vertical-align: top;
    text-align: left;
    padding: 8px;
    min-width: 100px;

  }

  details {
      display: flex;
      flex:1 1;
  }

  details summary {
    font-weight: bold;
    margin-bottom: 0.5em;
    cursor: pointer;
  }

  .gallery img,video {
      max-width: 80%;
      margin-top: 5px;
      margin-left: 5px;
  }

  .list-row {
      margin-top: 1rem;
  }



button, .linkBtn {
    background-color: #377ba8;
    border: 0;
    border-radius: 5px;

    color: white;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    
}

button {
    padding: 10px;
    min-width: 6rem;
}

.linkBtn {
    padding: 5px;
    min-width: 4rem;
}

.main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}


.select2-container--default .select2-selection--single {
    border: 1px solid #377ba8;
  }

.form-row select {
    border: #377ba8 1px solid;
    border-radius: 5px;
    height: 2.3rem;
    
}

.xiangmuhao div {
    margin-right: 5px;
}

.delLinkBtn {

    padding: 10px;
    min-width: 6rem;
    background-color: #377ba8;
    border: 0;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

#loading {
    width: 100%;
    height: 100vh;
    position:fixed;
    top:0px;
    left: 0px;
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: larger;
    font-weight: 300;
    background-color: rgb(31 41 55);
    opacity: 0.8;
}

#changelist-search {
    margin-top: 1rem;
    margin-bottom: 0;
}

.search-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:left;
}

.search-row input:not([type='submit']) {

    border: #377ba8 1px solid;
    border-radius: 5px;
    height: 1.5rem;
    min-width: 30vw;
}

.search-row input[type='submit'] {
    padding: 5px;
    margin-left: 1rem;
}

.paginator {
    margin-top: 1rem;
}

.paginator a {
    background-color: #ccc;
    margin-left: 1rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    display: inline-block;
}

.currentPage{
    background-color: white;
}

.captcha {
    display: flex;flex-direction: row-reverse;;
}

.captcha img {
    height: 2rem;
    margin-left: 10px;
}

#projectCodeCheckRes {
    display: flex;
    margin-top: 5px;
}

#projectCodeCheckRes img {
    height: 1.5rem;
    margin-left: 0.5rem;
}

#order_time {
    width: 8rem;
}

.codeTip {
    color: #777777;
}

.m-content {
    margin-top: 1rem;
}

.m-content .section .title{
    font-weight: 800;
}

.m-content .section .section-detail {
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    padding-bottom: 1rem;
    
}
.m-content .section .section-detail label, details summary {
    font-weight: 500;
    color: dimgrey;
    margin-right: 1rem;
}

.m-content .section .section-detail .section-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 5px;

}

.msg .section-row label {
    width: 5rem;
    text-align: center;
}

.refresh-icon {
    margin-left: 2px;
    padding-top: 5px;
    
    color: #377ba8;
    cursor: pointer;
    
}

.msg {
    padding-top: 0.5rem;
    background-color: #eee;

}

#solvedBtn {
    background-color: #ba2121;
}

.popUp{
    background-color:#FFFFFF;
    border:1px solid #999999;
    cursor:default;
    display:none;
    top:40%;
    left: 40%;
    margin-top: 15px;
    position:fixed;
    text-align:left;
    width:20%;
    z-index:50;
    padding: 25px 25px 20px;
  }

  .cover{
    width: 100%;
    height: 100vh;
    position:fixed;
    top:0px;
    left: 0px;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: larger;
    font-weight: 300;
    background-color: rgb(31 41 55);
    opacity: 0.8;

  }

  
  .popUpClose{
    display: block;
    position: absolute;
    right:3px;
    top:3px;
    cursor: pointer;
  }

  #scroll-to-bottom {
    position: fixed;
    bottom: 40vh;
    right: 20px;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .recentItems {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
  }

  .recentItems div {
    margin-left: 1rem;
  }

  .required {
    color: red;
  }
  
  .verifyPhone{
    width: -webkit-fill-available;min-height: 27rem;
  }

  .disabled{
    pointer-events: none;
    background-color: #ccc;
  }

  .tooltip {
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color:green;
}

.nav {
        position          :absolute;
        top               :-8px;
        left              :30px;
        overflow          :hidden;
        width             :13px;
        height            :13px;
        background        :#f9f9f9;
        border-left       :1px solid #DACE7C;
        border-top        :1px solid #DACE7C;
        -webkit-transform :rotate(45deg);
        -moz-transform    :rotate(45deg);
        -o-transform      :rotate(45deg);
        transform         :rotate(45deg);
        }

.help-content{
    margin: 1rem;
    font-weight: bolder;
}

.tooltip button{
    background-color:#ccc;
    color: green;
}

