.header, .header-homepage {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	position: relative;
	color: #FFFFFF;
	z-index: 0;
	padding-top: 10px;
	padding-bottom: 10px;
}

div#page {
	background-color: #222222;
	word-wrap: break-word;
}

.about-wrap {
	display: block;
	grid-template-columns: 33% 33% 33%;
	position: relative;
	margin: 25px 40px 0 20px;
	max-width: 100%;
	font-size: 15px;
}

input[type="button"], button {
	font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    border-radius: 10px;
    box-shadow: none;
    -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9));
    background: -moz-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
    background: -webkit-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
    background: -o-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
    background: -ms-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
    background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9',GradientType=0);
    background-color: #f9f9f9;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    display: inline-block;
    cursor: pointer;
    color: #666666;
    font-family: Arial;
    font-size: 15px;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #ffffff;
}

input[type="button"]:hover, button:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9));
	background:-moz-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
	background:-webkit-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
	background:-o-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
	background:-ms-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
	background:linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9',GradientType=0);
	background-color:#e9e9e9;
}
input[type="button"]:active, button:active {
	position:relative;
	top:1px;
}

        

#wpcontent{
	background-color: ghostwhite;
}

#column1 {
	grid-column: 1;
    display: block;
	grid-row-gap: 1rem;
	overflow-y: auto;
	/* height: -webkit-fill-available;
	height: -moz-max-content; */
	height: 400px;
	margin-bottom: 30px;
}

#column2 {
	grid-column: 2;
	display: block;
	grid-row-gap: 1rem;
	overflow-y: auto;
	height: -webkit-fill-available;
	height: -moz-max-content;
	background-color: darksalmon;
}

#column3 {
    grid-column: 3;
    position: fixed;
    top: 120px;
    left: 45%;
    background-color: darksalmon;
    padding: 10px;
	z-index: 99999;
}

.client {
	display: block;
	/* grid-template-columns: 2fr 1fr 1fr; */
	border-top: 1px solid #dfdfdf;
	cursor: pointer;
	padding: 20px 0;
}

.certificate {
	display: block;
	border-top: 1px solid #dfdfdf;
	grid-template-columns: 1fr 1fr;
	cursor: pointer;
}

div#newCertificate {
    padding: 10px;
    border: 2px solid black;
    text-transform: uppercase;
    font-weight: bold;
}

.hover {
	background-color: lightblue;
}

.active {
	border-style: groove;
	background-color: silver;
}

.certificateContainer {
	position: fixed;
	top: 2pc;
	height: 100%;
	width: 100%;
}
.certificateContainer.hidden {
	display: none;
}
.certificateContainer.visible {
    display: block;
    grid-template-columns: 1fr 1fr;
    overflow: auto;
}

#certificateImg{
	position:relative;
	display: block;
	grid-column: 1;
	grid-template-rows: 1fr 10fr;
	grid-template-columns: 1fr; 
}

/* .certificateEdit {
	grid-row: 1;
	grid-column: 2;
	background-color: whitesmoke;
} */

.certificateEdit {
    grid-row: 1;
    grid-column: 2;
    background-color: whitesmoke;
    position: absolute;
    top: 15%;
    height: auto !important;
    z-index: 9999999;
    width: 400px;
    left: 35%;
    border: 1px solid black;
    padding: 10px;
}

#certificateImg img {
	height: 100%;
	width: 80%;
	grid-row: 2;
	max-width: 80% !important;
}

.about-wrap .about-text {
	margin: 0;
	min-height: 60px;
	color: #555d66;
}
.users{
	display: block;
	grid-row-gap: 1rem;
	grid-template-columns: 1fr 2fr;
}
.user{
	border-top: 1px solid #dfdfdf;
	grid-column: 1/3;
}
#addUser{
	grid-column: 1;
	grid-row:1;
}
#licensesRemaining{
	grid-column: 2;
	grid-row:1;
}
.about-text h5 {
	color: darkgreen;
	font-size: 2rem;
}

#wpfooter {
	display: none;
}

.modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transform: scale(1.1);
	transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
	z-index:9999;
}
.modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	padding: 1rem 1.5rem;
	width: 24rem;
	border-radius: 0.5rem;
}
.modal-close-btn {
	float: right;
	width: 1.5rem;
	line-height: 1.5rem;
	text-align: center;
	cursor: pointer;
	border-radius: 0.25rem;
	background-color: lightgray;
}
.modal-close-btn:hover {
	background-color: darkgray;
}
.show-modal {
	opacity: 1;
	visibility: visible;
	transform: scale(1.0);
	transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}
.main-content{
	grid-row:2;
	grid-column:1;
}
.certificate-fields{
	max-height: 250px;
	width: 379px;
	overflow:auto;
}
.user-back-hidden{
	display:none;
}
.user-back-visible{
	display:block;
}
.userLabel{
	cursor:pointer;
}
.userLabel.userStatus-0{
	text-decoration: line-through;
}
.editField{
	width:-webkit-fill-available;
	width: -moz-max-content;
}
input.user-field-input{
	width:-webkit-fill-available;
	width: -moz-max-content;
}
.field-button{
	float:left;
}
.form-field{
	width:-webkit-fill-available;
	width: -moz-max-content; 
}
input.error{
	outline: thin dashed red;
}
.movableField.active{
  position: absolute;
  z-index: 9;
  background-color: #f1f1f1;
  border: 1px solid #d3d3d3;
  text-align: center;
  width: auto !important;
  height: auto !important;
  cursor: grabbing;
}

.movableField.inactive{
  position: absolute;
  z-index: 9;
  background-color: #f1f1f1;
  border: 1px dashed red;
  text-align: center;
  width: auto !important;
  height: auto !important;
  cursor: grabbing;
}
#interactiveCertificate{
	display:none;
    grid-row-start: 3;
    grid-column-start: 1;
    grid-column-end: 4;
}

#subjectsList{
	width:-webkit-fill-available;
	width: -moz-max-content;
}

#fieldEdit {
	background-color: lightgrey;
	border-left: 1px black solid;
	padding: 10px;
	border-right: 1px black solid;
	border-bottom: 1px black solid;
	margin-top: 11px;
}

.ui-draggable-draggable {
	opacity: 0.5;	
}
