/* css reset */
@charset "utf-8";
html, body, div, span, iframe,
h1, h2, h3, h4, h5, h6, p, img, a,
ol, ul, li,
form, label,
table, tbody, tfoot, thead, tr, th, td,
article,footer, header, menu, nav, section {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
  text-decoration: none;
  /*vertical-align: baseline;*/
}
html {
    min-height: 100%;
    position: relative;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    overflow:hidden;
}

.wrapper {
    padding: 80px 0;
    margin-bottom: 80px;
   
}

    .wrapper-title {
        margin-bottom: 30px;
        border-bottom: 1px solid #a2aab0;
    }

    .wrapper-title h3{
        font-size: 25px;
        color: #3e3e3b;
    }

    .wrapper-title p {
        font-size: 13px;
        color: #a2aab0;
    }
  
#tab ul{
    overflow:hidden;
}
#tab ul li.tab_list{
    border:1px solid #CCC;
    border-bottom:0;
    padding-top:4px;
    text-align:center;
    border-top-right-radius:5px;
border-top-left-radius:5px;
margin:0;
width:148px;
float:left;
background-color: #ebeced;
cursor:pointer;
}
#tab ul li.tab_list:hover{
    background-color:rgb(183, 218, 218);
    opacity:0.7;
}
#tab ul li.tab_list.on:hover{
    background-color:#FFF;
    pointer-events:none;
}
#tab ul li.on{
    background-color:#FFF;
    cursor:default;
} 

#tab .list_set{
    margin-top:0;
    display:none;
}
#tab .list_set.on{
    margin-top:0;
    display:block;
}
.list table.tab_body{
    margin-top:0;
}

a:hover,
.btn:hover {
    opacity: 0.6;
    cursor: pointer;
}
    
.btn {
    padding: 10px 30px;
    font-size: 15px;
    border: none;
    margin: 5px 0 1px;
    border-radius: 5px;
}

.btn-y {
background-color:rgb(250, 211, 81);
border:1px solid #333;
color:#FFF;
padding:10px 15px;
font-size:15px;
font-weight: 500;

}


    
.btn-submit {
    background-color: #4c586f;
    border: 1px solid #4c586f;
    color: #fff;
}
    
.btn-green {
    background-color: #20c977;
    border: 1px solid #20c977;
    color: #fff;
    padding: 5px 10px;
    font-size: 15px;
}
    
.btn-red {
    border: 1px solid #d84950;
    color: red;
    padding: 5px 10px;
    font-size: 15px;
}
    
.btn-blue {
    background-color: #4a80d6;
    border: 1px solid #4a80d6;
    color: #fff;
    padding: 10px 15px;
    font-size: 15px;
}

.btn-gray {
    background-color: #a2aab0;
    border: 1px solid #a2aab0;
    color: #fff;
    padding: 10px 15px;
    font-size: 15px;
}

#item_btn{
    display:none;
}    
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group .center {
    margin-left:20px;
    
} 

input.border{
    border:0;
}
input,
textarea {
    width: 99%;
    border: 1px solid #ebeced;
    border-radius: 5px;
    font-size: 26px;
}
td label input{
    margin:0;
    width:20px;
}
input.border{
    border:2px solid #000;
}
    
input.hidden{
    display:none;
}
  /*  input {
        height: 25px;
    }*/
    


/* login */
.login-wrapper {
    text-align: center;
    padding: 80px 0 ;
}
    .login-wrapper-title {
        margin-bottom: 30px;
    }

    .login-wrapper-title h3{
        font-size: 25px;
        color: #3e3e3b;
    }

    .login-wrapper-title p {
        font-size: 13px;
        color: #a2aab0;
    }

.login {
    padding: 50px 0; 
    width: 50%;
    margin: 0 auto;
    background-color: #ebeced;
}
    .login-form {
        width: 70%;
        margin: 0 auto;
    }

    .login-form input {
        border: none;
        width: 100%;
        height: 25px;
    }

    .login-form p {
        text-align: left;
    }

/* dashboard.html */
/* header */
header {
    width: 100%;
    height: 60px;
    background-color: #00aaaa;
    position: fixed;
    top:0;
    
    z-index: 10;
}

.header-logo h1{
    float:left;
    padding-right: 15px;
    font-size: 30px;
    text-shadow: -1px -1px 1px #FFF, 1px 1px #333;
       letter-spacing: 5px;
}

.header-logo a {
    color: #737d8f;
    line-height: 60px;
    display:inline-block;
    background-color: #CCC;
    padding:0 10px;
    border-radius:6px;
    }
h2.top{
    margin-top:110px;
}
    .menu-icon {
        display: none;
    }

    .menu-right {
        float:right;
        line-height: 60px;
    }

    .menu-right a {
        color: #4c586f;
        display: inline-block;
        line-height:58px;
        padding:0px 10px;
        border-radius:6px;
        background-color: rgb(243, 226, 226);
        border:1px solid #999;
        font-weight:bold;
        box-sizing:border-box;
    }

    .menu-right a:hover {
        background-color: #e686c9;
        color:#FFF;

    }

/* boxs */
.boxs {
        display: flex;
    }

    .box {
        display: inline-block;
        width: 20%;
        height: 200px;
        border:1px solid #ebeced;
        margin: 0 5px;
        text-align: center;
        color: #3e3e3b;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
        }
        .box:first-child{
            background-color:pink;
        }
        .box:nth-child(2){
            background-color:rgb(0, 255, 157);
        }
        .box:nth-child(3){
            background-color:yellow;
        }
        .box:last-child{
            background-color:aqua;
        }
    .box:hover {
        color: #4c586f;
        opacity:0.7;
    }
    .icon{
        font-size: 80px;
        height: 130px;
        line-height: 130px;
    }
    .box p {
        font-size: 20px;
        font-weight: bold;
    }
    table{
        margin-left:40px;
      }
/* footer */
footer {
    height: 40px;
    background-color: #4c586f;
    text-align: center;
 
    width: 100%;
    color:white;
    position:sticky;
    bottom:0;
}

    footer p {
        line-height: 80px;
        color: #fff;
        font-size: 12px;
    }
address{
    margin-top:10px;
    font-size:18px;
}
/* create_news */
.edit-form {
    width: 80%;
    margin: 0 auto;
}
    
    .edit-form input,
    .edit-form textarea{
        width: 90%;
        border: 1px solid #a2aab0;
    }
    
    .edit-form button{
        float:right;
    }
    
    .edit-form textarea {
        height: 100px;
    }

/* news.php */
.list table{
    border-collapse: collapse;
    margin: 20px 0;
    width: 100%;
}
table caption{
    caption-side:bottom; 
}
    .list th,
    .list td {
        border:1px solid #a2aab0;
        padding: 10px 10px 5px;
    }
.list th.light{
    height:20px;
    padding:0;
}
    .list th.small{
        width:20%;
    } 
    .list td.wide{
        padding:0;
       /*width:70%;*/
    }
    .list td input[type='radio']{
        padding:3px 3px 0 3px;
    } 
    /*
.list td input{
    margin:0;
padding:0;
width:100%;
height:100%;
font-size: 26px;
border:0;
}
*/




    .list th {
        background-color: #ebeced;
    }

.serch {
    text-align: right;
    width: 100%;
}
.serch input {
    width: 30%;
    padding: 4px;
}

.serch button {
    padding: 5px 10px;
}

.paging {
    margin: 0 0 10px;
    padding: 10px 10px 5px;
    text-align: right;
}

.paging li {
    display: inline;
    margin: 0 1px;
}

.paging a,
.paging span {
    color: #4c586f;
    padding: 5px 8px;
}

.paging span {
    background-color: #4c586f;
    border-radius: 5px;
    color: #fff;
}

.edit-form .imgform {
    border: none;
    
}
input#img{
    
    display:none;
}
#result.red{
    position:fixed;
    top:200px;
    
    z-index:10;
    letter-spacing:10px;
    color:red;
    font-size: 28px;
    width:280px;
  }
  select,option{
    font-size: 24px;
      }
      #edit_car option,#edit_car select{
        font-size: 22px;
      }
      /*edit_car*/
      #edit_car input{
          width:50%;
      }
      #imgset{
        display:flex;
        align-items:flex-end;
        flex-wrap:wrap;
      }  
.img-group{
    width:50%;
    box-sizing:border-box;
    margin-bottom: 10px;
    border:1px solid green;
    border-radius:6px;
    height:380px;
}
.img-group>img{
    height:320px;
    object-fit:scale-down;
    display:block;
    margin-left:auto;
    margin-right:auto;
}
.form-group label{
    margin-left: 20px;

}
.img-group p{
    margin: 10px 0 0 15px;
}
#edit_car [type='file']{
    display:none;
  }

 
@media print{
.btn{
    display:none;
}
}
@media(max-width:400px){
  /*index.html*/
  .login {
    padding: 50px 0; 
    width: 50%;
    margin: 0 auto;
    background-color: #ebeced;
}
    .login-form {
        width: 70%;
        margin: 0 auto;
    }







  #login .login{
      width:100%;
  }
  header{
      height:40px;
  }
  .header-logo h1{
      font-size: 20px;
letter-spacing:2px;

  }
.header-logo a{
    line-height:40px;
}
.menu-right{
    line-height:40px;
}
.menu-right a{
    line-height:38px;
}
.wrapper{
padding:40px 0;
margin-bottom:10px;
}
.container{
    padding:0 7px;
}
.wrapper-title{
    margin-bottom: 5px;
}
.wrapper-title h3{
    font-size: 18px;
}
.btn-y{
    padding:5px 10px;
    font-weight: 400;
}
.btn{
    margin:2px 0 1px 10px;
}
.icon{
    font-size: 40px;
    height: 70px;
    line-height: 70px;
}
.box{
    height:120px;
    border-radius:6px;
}
.box p{
    font-size: 14px;
}
label{
    font-size: 16px;
    margin-left:20px;
}
#com{
    font-size: 15px;

}
.btn-blue{
padding:5px 10px;
}
table{
    margin-left: 15px;
    margin-right: 15px;
}
.list table{
    margin:5px 2px;
}
.list th,.list td{
    padding:1px 1px 1px;
}
tr:nth-child(even){
    background-color:lightgoldenrodyellow;
}
th{
    font-size: 11px;
}
td{
    font-size: 11px;
}
select,option{
    font-size: 16px;
}
button+p{
    font-size: 14px;
}
th.gray,td.gray{
    width:190px;
}
td.gray>img{
    width:190px;
    object-fit:scale-down;
}
th.mime,td.mime{
    display:none;
    width:0px;
}
th.center,td.center{
    width:200px;
}
td.center>img{
    width:200px;
    object-fit:scale-down;
}
td.photo{
    width:150px;
}
td.photo .main{
width:150px;
object-fit:scale-down;
}
td.photo .sub{
width:45px;
object-fit:scale-down;
}
#edit_car p{
    font-size: 13px;
}
#edit_car select,#edet_car option{
    font-size: 14px;
}
input,textarea{
    font-size: 14px;
}
footer{
    height:40px;
  
}

/*edit_cars*/

#edit_car .edit-form{
    width:95%;
}
#edit_car .form-group{
    margin-bottom: 5px;
}
#edit_car .form-group label{
    margin-left: 5px;
    width:100px;
}
#edit_car .btn-green,#edit_car .btn-y{
    padding:3px 2px;
    font-size: 14px;
    
}
#edit_car .btn.btn-green,
#edit_car .btn.btn-y{
    margin: 0;
    width: 120px;
}
#edit_car .img-group{
    overflow:hidden;
    height:220px;
}
#edit_car .img-group>img{
    height:180px;
    object-fit:scale-down;
}
}