html {
	background: #fff;
}

html,
body {
	height: auto;
}

body {
	margin-left: 5px;
	margin-right: 5px;
	font-size: 12px;
}

.page-container {
    width: 100%;
    height: 100%;
}

.page-container .main-content {
    position: relative;
    padding: 0 15px;
    vertical-align: top;
    word-break: break-word;
    width: 100%;
    -webkit-transition: opacity 100ms ease-in-out;
    -moz-transition: opacity 100ms ease-in-out;
    -o-transition: opacity 100ms ease-in-out;
    transition: opacity 100ms ease-in-out
}

.form-group {
    position: relative;
    margin-bottom: 15px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    line-height: 37px;
    padding: 0 15px;
    font-weight: 700;
    color: #717272;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.content.confirmation-view {
    height: 430px;
}


.fl {
	float: left;
}

.fr {
	float: right;
}

.ui.form .form-group input[type="text"] {
	padding-left: 80px;
}

.ui.comments {
	max-width: 100%;
}

.ui.comments .comment > .avatar ~ .content {
	margin-left: 2.5em;
}

.ui.comments .comment .author {
	float: left;
}

.ui.comments .comment {
	margin-bottom: 20px;
}

.ui.comments .comment .metadata {
	float: right;
}

.ui.comments .comment .text {
	color: #777;
	clear: both;
}

.ui.comments {
	clear: both;
	margin-top: 100px;
}


h1.page-title {
	margin-bottom: -10px;
	font: bold 22px arial, sans-serif !important;
	color: #0079c1;
	padding-bottom: 10px;
}
.pagination {
	float: right;
}
.pagination ul {
	list-style: none;
}
.pagination li {
	float: left;
	width: 30px;
	height: 30px;
	line-height: 26px;
	text-align: center;
	padding: 0;
	margin: 0;
	font-size: 12px;
}
.pagination li.active {
	border: 1px solid #999;
	border-radius: 50px;
}
.pagination li a {
	display: block;
	height: 100%;
	width: 100%;
	color: #999;
}
.pagination .prev {
	border-right: 1px solid #ddd;
	margin-right: 15px;
	padding-right: 10px;
	font-size: 16px;
}
.pagination .next {
	border-left: 1px solid #ddd;
	margin-left: 15px;
	padding-left: 10px;
	font-size: 16px;
}

/* NEW STYLES */
.ui.grid {
	margin: 0 -1rem;
}
header.header-wrap {
	border-top: 2px solid #0079C1;
}
header.header-wrap .header-top {
	height: 72px;
	padding: 15px;
}
header.header-wrap .header-top .logo img {
	margin-top: 5px;
}
header .nav-top ul {
	list-style: none;
}
header .nav-top li {
	float: left;
}
header .nav-top li a {
	display: block;
	height: 42px;
	line-height: 38px;
	padding: 0 20px;
	border-left: 1px solid #ddd;
	color: #999;
}
header .nav-top li:last-child a {
	padding-right: 0;
}
header .nav-top li a i {
	margin-right: 10px;
}

nav.navbar {
	height: 55px;
	background: #0079C1;
}
nav.navbar .navbar-inner {
    background: -moz-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 90%, rgba(0,0,0,0.1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.1)), color-stop(10%,rgba(0,0,0,0)), color-stop(90%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.1)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,0) 90%,rgba(0,0,0,0.1) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,0) 90%,rgba(0,0,0,0.1) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,0) 90%,rgba(0,0,0,0.1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,0) 90%,rgba(0,0,0,0.1) 100%);
}

.navbar-nav li {
	display: inline-block;
}
.navbar-nav li a {
	line-height: 55px;
	padding: 0 15px;
	color: #fff;
	text-transform: uppercase;
}
.search-bar .search {
	float: left;
	border: 1px solid #b5b8c8;
	width: 200px;
	height: 20px;
	padding: 10px;
	outline: none;
    background: #f0f3f3; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YwZjNmMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #f0f3f3 0%, #ffffff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f3f3), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f0f3f3 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f0f3f3 0%,#ffffff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f0f3f3 0%,#ffffff 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f0f3f3 0%,#ffffff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f3f3', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */
}
.search-bar .search:focus {
	border-color: #777;
}
.search-bar label {
	float: left;
	margin-right: 10px;
	line-height: 22px;
}

.search-bar a.search-button {
	display: none;
}
.search-bar .button {
	margin: 11px 15px 0 0;
}
.ui.button, .ui.button:hover {
	padding: 4px 20px;
	display: inline-block;
	border-radius: 3px;
	font-size: 12px;
	font-weight: bold;
	-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
	/* transition: all 0.2s ease-in-out; */
	color: #fff;
	box-shadow: 0 1px 1px rgba(0,0,0,0.5);
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#73c3eb+0,037bc2+100 */
	background: #73c3eb; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzczYzNlYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMzdiYzIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #73c3eb 0%, #037bc2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#73c3eb), color-stop(100%,#037bc2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #73c3eb 0%,#037bc2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #73c3eb 0%,#037bc2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #73c3eb 0%,#037bc2 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #73c3eb 0%,#037bc2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#73c3eb', endColorstr='#037bc2',GradientType=0 ); /* IE6-8 */
}
.button i {
	margin-right: 10px;
	color: #0079c1;
	-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
/* 	transition: all 0.2s ease-in-out; */
}
.button.blue {
	background: #0079c1;
	color: #fff;
	border: 2px solid #0079c1;
}
.button.blue:hover {
	background: #0079c1;
	color: #fff;
}
.button.blue:hover i {
	color: #fff;
}
.button.blue.outline {
	background: none;
	color: #0079c1;
}
table {
	width: 100%;
	font-size: 12px;
	border: 1px solid #ccc;
}
table thead {
	font-weight: bold;
	line-height: 25px;
	border-bottom: 1px solid #dcdcdc;
    background: #f9f9f9; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNGU0ZTQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #f9f9f9 0%, #e4e4e4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e4e4e4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f9f9f9 0%,#e4e4e4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f9f9f9 0%,#e4e4e4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f9f9f9 0%,#e4e4e4 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f9f9f9 0%,#e4e4e4 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#e4e4e4',GradientType=0 ); /* IE6-8 */
}
table thead td {
	position: relative;
	padding: 0 10px;
}
table thead td::after {
	content:"";
	position: absolute;
	width: 1px;
	height: 25px;
	background: #ddd;
	bottom: 0;
	left: 0;
}
table thead td:first-child::after {
	background: none;
}
table tr {
	border-bottom: 1px solid #ddd;
}
table tbody td {
	padding: 0 10px;
}
table.confirmations {
	text-align: center;
}
table.confirmations td.status {
	line-height: 18px;
	position: relative;
}
table.confirmations td.status span {
	display: block;
	font-weight: 600;
}
table.confirmations tr.flagged {
	background: #fafafa;
}
.status-colour {
	position: absolute;
	z-index: 1;
	top: 10px;
	right: 0;
	width: 3px;
	height: 30px;
}
.status-colour.cancelled,
.status-colour.inactive {
	background: #ddd;
}
.status-colour.pending,
.status-colour.pending-approval,
.status-colour.rejected,
.status-colour.awaiting-new-document {
	background: #ffba00;
}
.status-colour.active-modified,
.status-colour.modified,
.status-colour.active,
.status-colour.confirmed {
	background: #66b223;
}
.status-colour.draft {
	background: #ffcf29;
}

.modal-backdrop{
    height: 100%;
    width: 100%;
}

.modal-content {
	border-radius: 0;
}
.modal-footer {
	border: 0;
	background: #eee;
}

.instruction-row{
    margin-bottom: 5px;
}

.full-width{
    width:100%;
    padding: 0;
}

.dimmer{
    position: relative;
}

.locale-flag{
    right: 15px;
    position: absolute;
}

.reload-wrapper{
    right: 15px;
    position: absolute;
}

.modal-dialog{
    width: 60%;
    min-height: 800px;
}

@media only screen and (min-width: 992px) {
    .ui.modal {
        width: 100%;
    }
    .ui.modal .content {
        height: 422px;
    }
}
.ui.scrolling.modal {
    margin: 0 !important;
}
.ui.modal > .content {
    padding: 0;
}
.scrolling.dimmable.dimmed > .dimmer {
    overflow: inherit;
}