body {
  font-family: "Lato", sans-serif;
  background:#dcdcdc;
}

:root {
    --main-color: #2184be;
    --submain-color: #9dc8e2;
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  z-index : 10;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #444;
}

#main {
  transition: margin-left .5s;
  padding: 0px 12px 12px 12px;
}


.tab_btn {
  display : inline-block;
  width:100%
  box-sizing:border-box;
}

    .tab_btn div {
        width : 120px;
        float: left;
        border: none;
        outline: none;
        padding: 14px 16px;
        margin: 2px;
        font-size: 17px;
        border-radius: 5px;
        transition: background-color .2s;
        //display: inline-block;
        text-align: center;
    }

    .tab_btn div.new {
        color: #b9aaaa;
        background-color: #eeeeee;
    }

    .tab_btn div.old {
        color: #fff;
        background-color: var(--submain-color);
    }


    .tab_btn div.active {
        color: #fff;
        background-color: var(--main-color);
    }




/* overlay */
.w3-overlay{
  position:fixed;display:none;
  width:100%;
  height:100%;
  top:0;left:0;
  right:0;
  bottom:0;
  background-color:rgba(0,0,0,0.6);
  z-index:2
}
.w3-animate-opacity{
  animation:opac 0.8s
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}


/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}



/* Style inputs, select elements and textareas */
input[type=text], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

/* Style the submit button */
input[type=submit] {
  background-color: #2184be;	//#4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

/* Style the container */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-top : 6px;
}

/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
  margin-bottom: 6px;
}

/* Floating column for labels: 50% width */
.col-50 {
    float: left;
    width: 50%;
    margin-top: 6px;
    margin-bottom: 6px;
}


/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
  margin-bottom: 6px;
}

/* Floating column for labels: 25% width */
.col-25-fix {
  float: left;
  width: 30%;
  margin-top: 6px;
  margin-bottom: 6px;
}

/* Floating column for inputs: 75% width */
.col-75-fix {
  float: left;
  width: 70%;
  margin-top: 6px;
  margin-bottom: 6px;
}


/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
}

th, td {
  text-align: left;
  padding: 16px;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}


.signature-pad {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-size: 10px;
  width: 100%;
  height: 450px;
  //max-width: 92%;
  //max-height: 460px;
  box-sizing: border-box;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
  padding: 12px;
  

}

.signature-pad::before,
.signature-pad::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 40%;
  height: 10px;
  bottom: 10px;
  background: transparent;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
  left: 20px;
  -webkit-transform: skew(-3deg) rotate(-3deg);
          transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
  right: 20px;
  -webkit-transform: skew(3deg) rotate(3deg);
          transform: skew(3deg) rotate(3deg);
}

.signature-pad--body {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: 1px solid #f4f4f4;
}

.signature-pad--body canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
  color: #C3C3C3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
}

.signature-pad--actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 8px;
}
.w3-row-padding>.w3-third{padding:0 8px}
.w3-row-padding, .w3-row-padding>.w3-third{float:left;width:100%}
.w3-row-padding:after,.w3-row-padding:before{content:" ";display:table;clear:both}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.noUse{
	display : none;
}


/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 680px) {

  .col-25, .col-50, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }

  .tab_btn div.active, .tab_btn div.new, .tab_btn div.old{
    width: 48%;
    padding: 14px 0px;
    box-sizing: border-box;
    overflow-x : hidden;
  }


}

@media screen and (max-width: 300px) {
  .tab_btn div.active, .tab_btn div.new, .tab_btn div.old{
    width: 96%;
    padding: 14px 0px;
    box-sizing: border-box;
    overflow-x : hidden;
  }	
}

@media screen and (max-height: 550px) {
  .signature-pad {
    height: 350px;
  }
}

@media (min-width:601px){

  .w3-row-padding>.w3-third{width:22%}
}