body {
	font-family: arial;
	height: 100%;
}
html {
	height: 100%;
}

td {
  padding-top: 4px;
  padding-bottom: 4px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
	margin-bottom: 40px;
}

#tabHeader ul {
	list-style: none;
	padding:0;
	margin:0;
}

#tabHeader li {
	display: inline;
	border: solid;
	border-width: 1px 1px 0 1px;
	margin: 0 0 0 0;
}

#tabHeader li a {
	padding: 0 1em;
}

#tabHeader #selected {
	position: relative;
	top: 1px;
	background: white;
}

#tabContent {
	border: 1px solid;
	clear: both;
}

.tabFormContent {
	z-index: 2;
    display: none;
    overflow: hidden;
}

input[type="radio"] {
	position: absolute;
	top: -9999px;
	left: -9999px;
}

.tabs {
	width: 1000px;
	float: none;
	list-style: none;
	position: relative;
}

li {
	float: left;
	display: block;
}

.tabLabel {
	display: inline-block;
	padding: 14px 21px;
	border-radius: 2px 2px 0 0;
	border: thin black solid;
	font-size: 20px;
	font-weight: normal;
	cursor: pointer;
	position: relative;
	top: 4px;
	background: #D7D6D6;

	border-top-left-radius: 5px;
	border-top-right-radius: 5px;

}
.tabError {
	color: red;
}

.tab-content {
	z-index: 2;
	display: none;
	overflow: hidden;
	width: 1000px;
	height: auto;
	font-size: 17px;
	line-height: 25px;
	position: absolute;
	top: 53px;
	left: 0;
	background: darken(#E7E6E6, 15);
	min-height: 450px;
}

[id^="tab"]:checked + label {
	top: 0;
	padding-top: 17px;
	background: #E7E6E6
}

[id^="tab"]:checked ~ [id^="tab-content"] {
	display: block;
}

/****************************************/
/*			     REVIEW					*/
/****************************************/
.review #formTable{
	width : 100%;
	padding: 0px;
}

.review #formTable th:nth-child(n+1):nth-child(-n+6){
	text-align : left;
}

.review #formTable th:first-child{
	border-top-left-radius : 7px;
}

.review #formTable tr:hover{
	background-color : lightgrey;
}

.review #formTable td.date{
	min-width : 60px;
}

.review #formTable td.builderCode{
	text-transform: underline;
}

.review .formsListContainer{
	max-width : 100%;
}



.reviewPanel {
/*	display: inline-block;
	position: relative;
	margin: 0;
	height: auto;*/
}

.popupReviewPanel{
	position: absolute;
	background-color: white;
	margin-left: auto;
    margin-right: auto;
	/*width: 1010px;*/
	height: 500px;
	overflow: none;
	border: thin solid black;
	box-shadow: 7px 7px 7px #888888;
	border-radius: 7px;
	z-index: 1;
	display: none;
}

.popupReviewPanelBaseContainer{
	position: relative;
	background-color: white;
	margin-left: 40px;
    margin-right: auto;
	/*width: 1010px;*/
	height: 0px;
	overflow: none;
	padding: 5px;
}

.reviewPanelButtons {
	position: absolute;
	width: 100%;
	bottom: 5;
	left: -5px;
	z-index: 2;
}

.review .createNewReselectionButton,
.review .reselectionHistoryButton{
	cursor : pointer;
}

.showPanel {
	display: block;
}

.hidePanel {
	display: none;
}

.formsList {
	width: 100%;
}

.formListRow td, th {
	width: 20%;
}

.formsSearchContainer {
	width: 100%;
	padding-right: 5px;
	font-size: 14;
}

.formListRow {
	cursor: pointer;
	position: relative;
	height: 20px;
}

.formListRow:hover {
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(200,200,200,0.5)), to(rgba(200,200,200,0.5)), color-stop(.5,#dddddd));
}

.sideBar {
	background-color:#ededed;
	min-width: 160px;
	max-width: 160px;
	height: 100%;
	padding: 10px;
	vertical-align: top;
	float:left;
}

.sideBarPanel {
	background-color:#fff;
	width: auto;
	height: auto;
	position: relative;
	font-weight: 500;
	padding-left: 30px;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	cursor: pointer;
	border-right: thin black solid;
	border-left: thin black solid;
	float:left;
}

.sideBarHeading {
	background-color:#fff;
	width: auto;
	height: auto;
	position: relative;
	font-weight: 500;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
	border-right: thin black solid;
	border-left: thin black solid;
	font-size: 20px;
	float:left;
}

.logout {
	padding-top: 30px;
}

.sideBarPanel:hover {
	background-color:#E7E6E6;
	box-shadow: 2px 2px 2px #888888;
}
.sideBarSelected {
	background-color:#171796;
	color: white;
}
.sideBarSelected:hover {
	background-color:#C7C6C6;
	box-shadow: 2px 2px 2px #888888;
}

.sideBar a:link, .sideBar a:visited {
	text-decoration: none;
	color: black;
}

.headerPanel {
	background-color:white;
	height: 50px;
	padding-left: 20px;
	vertical-align: top;
}

.refresh i{
	position : absolute;
	top : 10px;
	right : 30px;
	font-size : 30px;
	transition : color 0.3s;
}

.refresh i:hover{
	cursor: pointer;
	color : #171796;
	-webkit-animation-name: rotate;
	-webkit-animation-duration: 1.5s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
}

.mainPanel {
	width: 100%;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom : 20px;
	position: relative;
	vertical-align: top;
}

.mainPageLayout {
	width: 100%;
	vertical-align: top;
	border: none;
}

.roundedTop {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-top: thin black solid;
}

.roundedTopLeft {
	border-top-left-radius: 7px;
	border-top: thin black solid;
}


.roundedBottom {
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	border-bottom: thin black solid;
}

.loginPanel {
	margin-left: auto;
	margin-right: auto;
	margin-top: auto;
	margin-right: auto;
	width: 400px;
	/* height: 235px; */
	border: thin black solid;
	border-radius:7px
}

.fullWidth {
	width: 100%;
}



.halfWidth {
	width: 50%;
}

.oneThirdWidth {
	width: 33%;
}
.twoThirdsWidth {
	width: 66%;
}
/*.fortyWidth {
	min-width: 500px;
	max-width: 40%;
}*/

.thinBorder {
	border: thin solid black;
}

.loginButton {
	position: relative;
	float: right;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

.panelHeader {
	font-weight: 600;
	background-color:#171796;
	color: white;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
	padding: 5px;
	cursor: pointer;
	text-align: left;
}

.reviewTable thead tr th:first-child {
	/*width: 50px;*/
}

.reviewTable thead tr th:nth-child(2) {
	/*width: 100px;*/
}

.reviewTable thead tr th:last-child {
	/*width: 20px;*/
}

.text-center {
	text-align: center;
}

.reviewTable thead tr th:nth-child(7),
.reviewTable thead tr th:nth-child(8),
.reviewTable thead tr th:nth-child(9),
.reviewTable thead tr th:nth-child(10),
.reviewTable thead tr th:nth-child(11),
.reviewTable thead tr th:nth-child(12),
.reviewTable thead tr th:nth-child(6) {
	/*width: 50px;*/
}
/*.panelContainer {
	display: block;
	position: relative;
	min-height: 200px;
}*/

.panelContainer{
	min-width : 500px;
	width : 100%;
	min-height : 200px;
	/*max-height : 250px;*/
	overflow-y : scroll;
	margin-bottom : 30px;
	position : relative;
}

.panelContent {
	padding: 5px;
}

.userContainer {
	overflow: hidden;
	width: 1000;
	height: auto;
	border: thin black solid;
	border-radius: 7px;
	margin: auto;
}

.popupUserContainer {
	position: relative;
	background-color: white;
	width: 1000px;
	height: 0px;
	margin-left: 40px;
    margin-right: auto;
	overflow: none;
	padding: 5px;
}

.popupUserPanel {
	position: relative;
	background-color: white;
	width: 400px;
	height: auto;
	overflow: none;
	border: thin solid black;
	box-shadow: 7px 7px 7px #888888;
	border-radius: 7px;
	z-index: 1;
}

.userPanelButtons {
	/*position: relative;
	width: 100%;
	left: -5px;
	height: auto;
	z-index: 2;
	display: inline-block;*/

}

.panelGlyphButton {
	width: 50px;
	height: 35px;
	padding-top: 0;
	font-size: 130%;
	vertical-align: middle;
	background: transparent;
	border: thin solid grey;
	border-radius: 4px;
	background-repeat: no-repeat;
	background-position: center center;
	display: inline-block;
}


.glyphMail {
	background-image: url(images/glyphs/glyphicons-11-envelope.png);
}
.glyphTick {
	background-image: url(images/glyphs/glyphicons-207-ok-2.png);
}
.glyphCross {
	background-image: url(images/glyphs/glyphicons-208-remove-2.png);
}
.glyphBin {
	background-image: url(images/glyphs/glyphicons-17-bin.png);
	background-size: 40% 75%;
}
.glyphInvoice {
	background-image: url(images/glyphs/glyphicons-539-invoice.png);
	background-size: 40% 75%;
}
.glyphSave {
	background-image: url(images/glyphs/glyphicons-447-floppy-save.png);
}
.glyphCancel {
	background-image: url(images/glyphs/glyphicons-436-undo.png);
}
.glyphExport {
	background-image: url(images/glyphs/glyphicons-360-file-export.png);
}
.glyphNewUser {
	background-image: url(images/glyphs/glyphicons-7-user-add.png);
}
.glyphUser {
	background-image: url(images/glyphs/glyphicons-4-user.png);
}
.glyphEdit {
	background-image: url(images/glyphs/glyphicons-151-edit.png);
}
.glyphPlus {
	background-image: url(images/glyphs/glyphicons-433-plus.png);
}
.glyphCheck {
	background-image: url(images/glyphs/glyphicons-153-check.png);
}
.glyphQuestion {
	background-image: url(images/glyphs/glyphicons-195-circle-question-mark.png);
}
.glyphLocked {
	background-image: url(images/glyphs/glyphicons-204-lock.png);
}

.tableGlyphCell {
	background-repeat: no-repeat;
	background-position: 3px center;
	background-size: 18px 18px;
	padding-left: 24px;
	vertical-align: bottom;
}


.centreText {
	text-align: center;
}
.formsSearch {
	float: right;
	border: none;
	padding-left: 5px;
}

.formSearchBox {
	border-top-right-radius: 7px;
	border-top-left-radius: 7px;
	border: inset;
	border-left: inset;
	padding-left: 5px;
	padding-right: 20px;
	background: url(images/search.png) no-repeat scroll;
	background-position: right center;
	background-size: 18px 18px;
	width: 300px;
	height:28px;
	font-size:10px;
}

.formInlineEditBox {
	border: none;
	background: transparent;
}
.formInlineEditBox:focus {
	border: thin dashed;
	transition:border 0.2s linear;
}
.formInlineButton {
	width: 20px;
	height: 100%;
	background-color: transparent;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center center;
	background-size: 14px 17px;
	border: none;
	display: inline-block;
	position: relative;
}

.listRow {
	cursor: pointer;
	position: relative;
}

/*.flexBoxPanel {
	margin: 5px;
	flex-grow: 1;
}*/

/*.panelFlexContainer {
	display: flex;
	padding: 20px;
	flex-flow: row wrap;
	align-content: stretch;
	justify-content: flex-start;
	-webkit-justify-content: flex-start;
}*/

.panelFlexContainer{
	display : -webkit-flex;
	display : -moz-flex;
	display : flex;
	/*-webkit-flex-direction : column;
	-moz-flex-direction : column;
	flex-direction : column;*/
	-webkit-justify-content : space-between;
	-moz-justify-content : space-between;
	justify-content : space-between;
	-webkit-flex-wrap : wrap;
	-moz-flex-wrap : wrap;
	flex-wrap : wrap;
	padding : 20px;
	width : 95%;
}

.vanities.panelFlexContainer{
	max-width : 800px;
	margin : 0 auto;
	padding : 0;
	position : relative;
}

.dt-buttons, .vanitiesFormTable_filter{
	margin-bottom : 5px !important;
}

#vanitiesFormTable th {
    text-align: left;
}

.vanities .userPanelButtons{
	top : 67px;
	right : 10px;
}

.vanities .glyphPlus{
	background-color : #fff;
}

.vanities .panelGlyphButton{
	width : 40px;
	height : 30px;
}

.formDropdownStatus {
	height: 35px;
	width: 80px;
	border: thin solid grey;
	border-radius: 4px;
	overflow: hidden;
}
.formStatusDeleted {
	background: red;
	color: white;
}
.formDropdownRed {
	border: thin dashed red;
}
.panelHeaderHint {
	float: right;
	background-size: 22px 22px;
	width: 20px;
	height: 20px;
	background-color: white;
	overflow: hidden;
	border-radius:10px;
	background-image: url(images/glyphs/glyphicons-195-circle-question-mark.png);
}

.formIcon {
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: right 2px center;
	background-size: 14px 18px;
}

/*.panelScrollable {
	max-height: 250px;
	overflow-y: scroll;
}*/

.panelFormCount {
	position: absolute;
	display: block;
	bottom: 0;
	padding-left: 10px;
	padding-right: 10px;
	border-right: thin solid black;
	border-top: thin solid black;
	border-top-right-radius: 7px;
}

.clear-overlay {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	top: 0;
	left: 0;
}

.dialog-frame {
	position: absolute;
	background:white;
	border: thin solid black;
	width: 300px;
	margin-top: 200px;
	margin-left: calc(50% - 150px);
	margin-right: calc(50% + 150px);
	border-radius: 7px;
	overflow: hidden;
}

.dialog-content {
	position: relative;
	display: block;
	width: calc(100% - 10px);
	margin: 5px;
}
.dialog-content input {
	width: calc(100% - 10px);
}

.dialog-button {
	margin: 5px;
}

@-webkit-keyframes rotate {
	from {
		-webkit-transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(360deg);
	}
}

.rotate {
	-webkit-animation-name: rotate;
	-webkit-animation-duration: 1.5s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
}

.dataTables_filter {
	margin-right: 7px;
}

.dataTables_filter input {
	border-top-right-radius: 7px;
	border-top-left-radius: 7px;
	border: inset;
	border-left: inset;
	padding-left: 5px;
	padding-right: 20px;
	background: url(images/search.png) no-repeat scroll;
	background-position: right center;
	background-size: 18px 18px;
	width: 300px;
	outline: none;
}

.dataTable {
	border: solid 1px black;
	border-top-right-radius: 8px;
	border-top-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}

.dataTable tr:last-child td:first-child {
	border-bottom-left-radius: 8px;
}

.dataTable tr:last-child td:last-child {
	border-bottom-right-radius: 8px;
}

#formTable {
	margin-top: 30px;
}

.formsListContainer {
	margin: 30px auto 0 auto;
}

.manage-data .panelContainer{
	height : 28px;
	min-height : 0;
	overflow : hidden;
	transition : all 1s;
	width : 100%;
}

.manage-data .panelContainer .panelContent,
.manage-data .panelContainer .userPanelButtons{
	display : none;
}

.manage-data .panelContainer.active{
	min-height : 300px;
	overflow-y : scroll;
	height : auto;
}

.manage-data .panelContainer.active .panelContent{
	display : block;
}

.manage-data .panelContainer.active  .userPanelButtons{
	display : block;
}

.review #formTable_filter{
	margin-bottom : 15px;
}

.review table.dataTable thead .sorting,
.review table.dataTable thead .sorting_asc,
.review table.dataTable thead .sorting_desc{
    background-position: left center;
}

.vanities table.dataTable thead th, table.dataTable thead td{
	/*padding : 10px !important;*/
}

.vanities table.dataTable thead .sorting,
.vanities table.dataTable thead .sorting_asc,
.vanities table.dataTable thead .sorting_desc{

	background-position : left center;
}


@media (min-width:200px) and (max-width: 970px) {
	.formsListContainer {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		overflow: hidden;
		min-height: 100px;
		border-radius: 7px;
		position: relative;
		display: inline-block;
		transition: width 1s;
	}

	.mainPanel {
		font-size: 0.5em;
	}

	.approveCell, .builderAck {
		/*padding: 5px;*/
		min-width: 90px;
	}

	.review #formTable td, .review #formTable th, .review #formTable tr {
		padding: 4px;
	}

	.review #formTable .status {
		width: 20px;
	}

	.review #formTable .reviewNumber {
		width: 38px;
	}

	.review #formTable .approveCell {
		width: 150px;
	}

	.review #formTable .reselectReview {
		width: 55px;
	}

	.approved {
		margin-left: 20%;
	}

	.rejected {
		margin-right: 20%;
	}
}

@media (min-width:971px) and (max-width: 1473px) {
	.formsListContainer {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		overflow: hidden;
		min-height: 100px;
		border-radius: 7px;
		position: relative;
		display: inline-block;
		transition: width 1s;
	}

	.mainPanel {
		font-size: 0.7em;
	}

	.approveCell, .builderAck {
		/*padding: 5px;*/
		min-width: 70px;
	}
/*
	.review #formTable td, .review #formTable th, .review #formTable tr {
		padding: 4px;
	}

	.review #formTable .status {
		width: 20px;
	}

	.review #formTable .reviewNumber {
		width: 38px;
	}

	.review #formTable .approveCell {
		width: 150px;
	}

	.review #formTable .reselectReview {
		width: 55px;
	}

	.approved {
		margin-left: 20%;
	}

	.rejected {
		margin-right: 20%;
	}*/

}
@media (min-width:1474px) and (max-width: 1700px) {
	.formsListContainer {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		overflow: hidden;
		min-height: 100px;
		border-radius: 7px;
		position: relative;
		display: inline-block;
		transition: width 1s;
	}

	.approved {
		margin-left: 10%;
	}

	.rejected {
		margin-right: 10%;
	}
}
@media (min-width:1701px) and (max-width: 2000px) {
	.formsListContainer {
		width: 100%;
/*		margin-left: 20px;
		margin-right: 20px;*/
		overflow: hidden;
		min-height: 100px;
		position: relative;
		display: inline-block;
		transition: width 1s;
	}

	.approved {
		margin-left: 10%;
	}

	.rejected {
		margin-right: 10%;
	}
}
