﻿
/*==Reset CSS==*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  /*font-family: Roboto,Arial,Tahoma;*/
  font-family: Vollkorn;
  /*font-family: Droid Sans;*/
  /*font-family: Lobster;*/
  font-size: 17px;
}

body {
  margin: 0 auto;
  text-align: center;
  background-color: green;
  /*overflow-x:hidden;
  overflow-y:auto;*/
}

#allWrapper {
  width: 100%;
  height: 100vh;
}

#leftWrapper {
  display: none;
}

#rightWrapper {
  display: none;
}

#adminWrapper {
  float: left;
  position: relative;
  margin: 0 auto;
  text-align: left;
  background-color: chocolate;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, orangered 0%, #ffd800 45%, orangered 90%, #ffd800 100%);
}

#adminLeftContents {
  display: none;
}

#adminRightContents {
  float: right;
  width: 100%;
  color: black;
  height: 100%;
  margin-top: 5px;
  margin-left: 5px;
  /*overflow:hidden !important;*/
}

@media only screen and (min-width: 667px) {
  #adminLeftContents {
    display: block;
    float: left;
    width: 215px;
    height: 100%;
    color: white;
    background: linear-gradient(90deg, rgba(9,9,121,1) 0%, #0545B2 45%, #4800ff 70%, rgba(0,212,255,1) 100%);
    margin-top: 5px;
  }

  #adminRightContents {
    width: calc(100% - 220px);
  }
}

@media only screen and (min-width: 900px) {
  #leftWrapper {
    display: block;
    float: left;
    width: calc(calc(100% - 900px) / 2);
    height: 100vh;
    background: gray;
  }

  #rightWrapper {
    display: block;
    float: right;
    width: calc(calc(100% - 900px) / 2);
    height: 100vh;
    background: gray;
  }

  #adminWrapper {
    width: 900px;
  }
}







#adminHeader {
  clear: both;
  width: 100%;
  height: 100px;
  background-color: gray;
  background-size: cover;
  overflow: hidden;
  z-index: 8;
}



.logo > a, .logo img {
  height: 100%
}

.top-bar {
  background-color: antiquewhite; /*#31b877;*/
  height: 60px;
  justify-content: space-between;
  padding: 5px 10px;
  /*position: fixed;*/
  text-align: right;
  width: 100%;
  z-index: 10
}

  .top-bar, .top-bar > div {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
  }

    .top-bar > div {
      align-items: center
    }

.project-title {
  color: #2c2c2c;
  font-size: 1em;
  font-weight: 700
}

#adminContents {
  width: 100%;
  height: calc(100vh - 65px);
}

#adminFooter {
  clear: both;
  width: 100%;
  padding-top: 3px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: green;
  color: yellow;
}

#adminDangNhap {
  display: block;
}

.adminSubTopLeftContents {
  color: black;
  padding-top: 3px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-weight: bold;
  background: linear-gradient(90deg, burlywood 0%, antiquewhite 50%, burlywood 100%);
}

.adminSubBodyLeftContents {
  text-align: center;
  background: linear-gradient(90deg, rgba(9,9,121,1) 0%, #0545B2 45%, #4800ff 70%, rgba(0,212,255,1) 100%);
}

.SubTopLeft {
  color: black;
  padding-top: 3px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-weight: bold;
  background: linear-gradient(90deg, burlywood 0%, antiquewhite 50%, burlywood 100%);
}

.SubBodyLeft {
  color: black;
  text-align: center;
  background: linear-gradient(90deg, rgba(9,9,121,1) 0%, #0545B2 45%, #4800ff 70%, rgba(0,212,255,1) 100%);
}

.SubTopMid {
  position: sticky;
  top: 0;
  padding-top: 3px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-weight: bold;
  background: linear-gradient(90deg, burlywood 0%, antiquewhite 50%, burlywood 100%);
}

.showContents {
  text-align: center;
  /*line-height: 30px;*/
  width: 100%;
  height: calc(100% - 33px);
  background: linear-gradient(90deg, burlywood 0%, white 50%, burlywood 100%);
  padding: 5px;
  overflow: auto;
}

.adminLnkUSER {
  z-index: 2;
}

.tblUsers {
  width: 100%;
  border-collapse: collapse;
}

.tblUsers, td, th {
  border: 1px solid black;
}

  .tblUsers td a {
    display: inline-block;
    width: 100%;
    line-height: 30px;
  }

  .tblUsers tr:hover {
    background-color: aliceblue;
  }

  .tblUsers .cotCongCu a {
    display: inline-block;
    width: 24px;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

.cotCongCu a.iconAdd {
  background-image: url('../Images/Bitmaps/Add.BMP');
}

.cotCongCu a.iconDelete {
  background-image: url('../Images/Bitmaps/DELETE.BMP');
}

.cotCongCu a.iconEdit {
  background-image: url('../Images/Bitmaps/Edit.BMP');
}

.cotCongCu a.iconReset {
  background-image: url('../Images/Bitmaps/Reset.BMP');
}

.cotCongCu a.iconRestore {
  background-image: url('../Images/Bitmaps/Restore.BMP');
}
