.space-p-all { padding: 5px !important; }
.space-p-left { padding-left: 5px !important; }
.space-p-right { padding-right: 5px !important; }
.space-p-top { padding-top: 5px !important; }
.space-p-bottom { padding-bottom: 5px !important; }

.space-m-all { margin: 5px !important; }
.space-m-left { margin-left: 5px !important; }
.space-m-right { margin-right: 5px !important; }
.space-m-top { margin-top: 5px !important; }
.space-m-bottom { margin-bottom: 5px !important; }

.space-m-allx2 { margin: 10px !important; }
.space-m-leftx2 { margin-left: 10px !important; }
.space-m-rightx2 { margin-right: 10px !important; }
.space-m-topx2 { margin-top: 10px !important; }
.space-m-bottomx2 { margin-bottom: 10px !important; }

.space-nagative-left { margin-left: -5px !important; }
.space-nagative-right { margin-right: -5px !important; }
.space-nagative-top { margin-top: -5px !important; }
.space-nagative-bottom { margin-bottom: -5px !important; }

.no-space-p-all{ padding: 0px !important; }
.no-space-p-left{ padding-left: 0px !important; }
.no-space-p-right{ padding-right: 0px !important; }
.no-space-p-top{ padding-top: 0px !important; }
.no-space-p-bottom{ padding-bottom: 0px !important; }

.no-space-m-all { margin: 0px !important; }
.no-space-m-left { margin-left: 0px !important; }
.no-space-m-right { margin-right: 0px !important; }
.no-space-m-top { margin-top: 0px !important; }
.no-space-m-bottom { margin-bottom: 0px !important; }

.space-pm-all { padding: 5px !important; margin: 5px !important; }
.space-pm-left { padding-left: 5px !important; margin-left: 5px !important; }
.space-pm-right { padding-right: 5px !important; margin-right: 5px !important; }
.space-pm-top { padding-top: 5px !important; margin-top: 5px !important; }
.space-pm-bottom { padding-bottom: 5px !important; margin-bottom: 5px !important; }

.no-space-pm-all { padding: 0px !important; margin: 0px !important; }
.no-space-pm-left { padding-left: 0px !important; margin-left: 0px !important; }
.no-space-pm-right { padding-right: 0px !important; margin-right: 0px !important; }
.no-space-pm-top { padding-top: 0px !important; margin-top: 0px !important; }
.no-space-pm-bottom { padding-bottom: 0px !important; margin-bottom: 0px !important; }

.bold { font-weight: bold !important; }
.overflow-auto{ overflow: auto; }

.box-liner {
  border: 1px solid #d0d0d0;
  padding: 5px;
  position: relative;
}

.box-liner-all { border: 1px solid #d0d0d0; }
.box-liner-bottom { border-bottom: 1px solid #646464; }
.box-liner-top { border-top: 1px solid #646464; }
.box-liner-left { border-left: 1px solid #646464; }
.box-liner-right { border-right: 1px solid #646464; }

.box-middle-vertical {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}

.box-middle-horizontal {
  position: absolute;
  right: 50%;
  transform: translate(-50%, 0);
}

.bg-gray1{ background-color: #646464; }
.bg-gray2 { background-color: #cccccc; }
.bg-gray3 { background-color: #e7e7e7; }
.bg-gray4 { background-color: #e6e6e6; }

.bg-gray-clouds{ background-color: #ecf0f1; }
.bg-gray-silver{ background-color: #bdc3c7; }
.bg-gray-concrete{ background-color: #95a5a6; }
.bg-gray-asbestos{ background-color: #7f8c8d; }

.bg-color-1{ background-color: #1E3D3B; }
.bg-color-2{ background-color: #99ccff; }
.bg-color-3{ background-color: #DDE4BA; }
.bg-color-4{ background-color: #E0C7B9; }
.bg-color-5{ background-color: #f2f20d; }
.bg-color-6{ background-color: #f2f2ff; }
.bg-color-7{ background-color: #dadaff; }
.bg-color-8{ background-color: #F2BDCB; }
.bg-color-9{ background-color: #f9edff; }
.bg-color-10{ background-color: #edd3fb; }
.bg-color-11{ background-color: #f5e4fb; }
.bg-color-12{ background-color: #F9DB49; }
.bg-color-13{ background-color: #FCEF87; }
.bg-color-14{ background-color: #B4D2D9; }
.bg-color-15{ background-color: #68C95D; }
.bg-color-16{ background-color: #BFAEA1; }
.bg-color-17{ background-color: #FFE5D1; }
.bg-color-18{ background-color: #62BD57; }
.bg-color-19{ background-color: #54A34B; }
.bg-color-20{ background-color: #F1FFF3; }
.bg-color-21{ background-color: #C9E8E3; }
.bg-color-22{ background-color: #E8F4FF; }
.bg-color-23{ background-color: #DFDEE8; }
.bg-color-24{ background-color: #bc3b2f; }


.bg-color-yellow {background-color: #ffff00;}
.bg-color-blue {background-color: #0000ff;}
.bg-color-white {background-color: #ffffff;}

.color-white {color: #fff;}
.color-blue {color: #0000ff;}

.space-tab{
  padding-left: 5em;
}

.vs-show { visibility: visible; }
.vs-hide { visibility: hidden; }
.display-hide { display: none; }
.display-inline { display: inline; }
.display-inline-block { display: inline-block; }

.postion-top-right{
  position: absolute;
  top: 0; right: 0;
  padding: 5px;
}
.postion-top-left{
  position: absolute;
  top: 0; left: 0;
  padding: 5px;
}
.postion-bottom-right{
  position: absolute;
  bottom:0; right: 0;
  padding: 5px;
}
.postion-center{
  position: absolute;
  top:50%; left: 50%;
}

.postion-center-middle{
  position: absolute;
  top:50%; left: 50%;
  transform: translate(-50%,-50%);
}

.postion-center-horizontal{
  position: absolute;
  top:50%; left: 0;
  transform: translate(0,-50%);
}

.position-absolue{
  position: absolute;
}
.position-relative{
  position: relative;
}

.index-top {
  z-index: 99999999;
}

.option-box {
  position: absolute;
  border: solid 1px #fc0;
  padding: 5px;
  background-color: #ccc;
}

.table-default th, .table-default td { text-align: center; padding: 0px 5px; }
.table-default th { background-color: #ccc; }

.table-no-border th, .table-no-border td {
  border: 1px solid transparent !important;
}

.table-pdf1 th, .table-pdf1 td {
  padding: 0px 5px;
  border: 1px solid #000;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}
.table-pdf1 th {
  background-color: #D9D9D9;
  text-align: center;
}
.table-pdf1 {
  width: 100%;
}

.tbl-td-clone {
  font-weight: bold;
  padding-left: 5px;
  padding-right: 5px;
}

.box-item{
  display:inline-block;
  padding: 3px;
  border: 1px solid #ccc;
}
.width-full {
  width: 100% !important;
}
.width-auto {
  width: auto;
}

.font-size-3em{
  font-size: 3em;
}

.font-stroke-black{
  text-shadow: 0px 0px 2px black;
}

.box-focus {
  border: 2px solid transparent;
  /*  border-radius: 10px;*/
}
.box-focus:hover {
  box-shadow: 0px 4px 16px #cccccc;
  border: 2px solid #aaa;
  /*border-radius: 0px;*/
  /*z-index: 0;*/
}

main {
  background: white;
  margin: 20px 0;
  padding: 10px;
}

main .divBox {
  background: white;
  color: black;
  padding: 15px;
  max-width: 50%;
  margin: 5px;
}

.inline-block-center {
  text-align: center;
}
.inline-block-center .divBox {
  display: inline-block;
  text-align: left;
}

.flex-center {
  display: flex;
  justify-content: center;
}

.hover-filter img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.hover-filter img:hover {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

fieldset {
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 15px;
}

legend {
  width: auto;
  border-bottom: none;
  font-size: 16px;
  margin: 0px;
  padding-right: 3px;
}

.img-upload-preview {
  max-height: 150px;
  max-width: 150px;
}

.img-box-upload-preview img {
  height: 100px;
  width: 100px;
  padding: 3px;
  border: 1px solid #ccc;
}
.img-box-upload-preview img:hover {
  border: 1px solid #aaa;
}

.textarea-default {
  width: 100%;
  height: 80px;
}

.text-required{
  color: red;
  font-weight: bold;
}