html, body{
    background-image:url('../img/linenTile.jpg');
    background-repeat:repeat;
    background-color: #2f2f2f;
    height:100%;
}

body{
	overflow-y: scroll;
	-ms-overflow-style: -ms-autohiding-scrollbar;
}

a, input[type='submit'], input[type='image'], label[for], select, button {
    cursor: pointer;
}

.help-inline {
    cursor: pointer;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: #ddd;
}

input:-moz-placeholder, textarea:-moz-placeholder {
    color: #ddd;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.ng-dirty.ng-invalid, inValid, input.manInvalid {
    border-color: #E9322D;
    -webkit-box-shadow: 0 0 6px #F8B9B7;
    -moz-box-shadow: 0 0 6px #f8b9b7;
    box-shadow: 0 0 6px #F8B9B7;
}

input:focus.ng-invalid {
    border-color: #E9322D;
    -webkit-box-shadow: 0 0 9px #F8B9B7;
    -moz-box-shadow: 0 0 9px #f8b9b7;
    box-shadow: 0 0 9px #F8B9B7;
}

#loginForm
{
    top: 30%;
    text-align: center;
    position: relative;
    -webkit-animation: blurFadeInOut 0.5s ease-in backwards;
    -moz-animation: blurFadeInOut 0.5s ease-in backwards;
    -ms-animation: blurFadeInOut 0.5s ease-in backwards;
    animation: blurFadeInOut 0.5s ease-in backwards;
}
.sp-container
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: -webkit-radial-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.7));
    background: -moz-radial-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.7));
    background: -ms-radial-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.7));
    background: radial-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.7));
}

.sp-content
{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
}

#loginForm input
{

    Position:relative;
}

.passwordControl .input-xlarge
{
    width: 180px;
}

#wrapper
{
    position: relative;
    min-height: 100%;
}

#logout-button
{
    float:right;
    padding-right:20px;
}

.main-logo
{
    padding: 6px 0 6px;
    float:right;
    height:35px;
}

.navbar
{
    z-index:9999;
}

.sidebar-nav
{
    padding: 19px 0;
}
.sidebar-nav a
{
    white-space: nowrap;
}

.footer-bar
{
    color: #888;
    position:absolute;
    right: 20px;
    bottom:0;
}

.time-bar
{
    color: #888;
    position:absolute;
    left: 20px;
    bottom:0;
}

#appError
{
    position: absolute;
    top: 40px;
    right: 20px;
    width: 200px;
    z-index: 999;
}

.modal
{
    overflow: hidden;
}

.modal.error-overflow
{
    overflow: visible;
}

.PleaseWait
{
    margin-bottom: 0;
}

.standard-error
{
    position: absolute;
    top: -40px;
    left: 0;
    width: 510px;
}

.modal-small
{
    width: 380px;
    left: 58%;
    margin-top: -125px;
}

#popupLoginWell.well
{
    margin:0;
    text-align: center;
}

#loginDialog.modal
{
    width:380px;
    left: 56%;
    overflow: visible;
    margin:-160px 0 0 -280px;
}

.form-horizontal .passwordControl
{
    margin-left: 100px;
}

#login-error
{
    position: absolute;
    top: -40px;
    left: -20px;
    width: 330px;
    text-align: center;
}

.status-field-name
{
    width: 50%;
}

.unvalidWarning
{
    text-align: center;
    font-weight: 600;
    padding: 10px;
    color: #B94A48;
    font-size: 15px;
}

#logFileTextArea,
.logErrorMessage {
    margin-top: 15px;
}

.logErrorMessage .logTitle {
	margin-bottom: .75rem;
}

#logFileTextArea pre {
    background-color: #fff;
    overflow: auto;
    white-space: pre;
    word-wrap: normal;
}

#logFileTextArea pre:empty {
	display: none;
}

.success-tick
{
    background-image:url('../img/success.png');
    background-repeat:no-repeat;
    padding-left:40px;
    line-height: 190%;
    margin-top: 40px;
    margin-left: 40px;
    margin-bottom: 50px;
}

.inactive
{
    pointer-events: none;
    cursor: default;
}

.dropdown-menu a.inactive
{
    color: #a2a2a2;
}

.darkHr
{
    border-top: 1px solid #CCC;
}

.formHeading
{
    margin-bottom: 10px;
}

.formHr
{
    margin: 10px 0 10px 0;
}

.blankControls
{
    padding-top: 5px;
}

.disabled-true
{
    pointer-events: none;
    cursor: default;
}

.error-box
{
    padding-top: 12px;
    padding-bottom: 12px;
    margin: 0;
}

.errorCollecting
{
    width: 300px;
    text-align: center;
    padding:35px;
    margin: 60px;
}

.row-spacing
{
    margin-top:0;
    margin-bottom:10px;
}

.inline-text
{
    vertical-align:absbottom;
    display:inline
}

.page-headding
{
    display:inline;
}

.top-buttons
{
    float:right;
}

.login-container
{
    width:380px;
}

.partial-content
{
    margin-bottom:40px;
}

.form-horizontal .subset
{
    margin-left:25px;
}

.sparkCSS
{
    width: 250px;
    float: left;
    padding-right: 20px;
}

.tableContanerBoarder
{
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    border-top-width: 1px;
    border-color: #EEE;
}

.fixedArea
{
    resize: none;
}

.well
{
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.form-horizontal .unit-label
{
    width:80px;
    margin-right:5px;

}

.form-horizontal .long-label
{
    width:170px;
}

.form-horizontal .long-controls
{
    margin-left:180px;
}

.small-dialog
{
    margin: -100px 0 0 -280px;
}

.medium-dialog
{
    margin: -90px 0 0 -280px;
}

.fade-in-message
{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 200px;
}

.azSorting .false .az span
{
    display: inline-block;
    width: 14px;
    height: 14px;
    *margin-right: .3em;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("../img/glyphicons-halflings-linkcolor.png");
    background-repeat: no-repeat;
    background-position: -289px -96px;
    padding-right: 0;
}

.azSorting .true .az span
{
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    *margin-right: .3em;
    vertical-align: text-top;
    background-image: url("../img/glyphicons-halflings-linkcolor.png");
    background-position: -312px -96px;
    background-repeat: no-repeat;
    padding-right: 0;
}

.azSorting a:not(.az)
{
    padding-right: 14px;
}

.sortableRow input
{
    float:right;
}

.sortableRow
{
    border:1px solid #ccc;
    background:#f6f6f6;
    padding: 6px;
    margin-bottom:3px;
    cursor:move;
}

.dragListWell
{
    background-color: #EEE;
    margin-bottom: 5px;
}

.dragListWellSmall
{
    background-color: #EEE;
    margin-bottom: 1px;
    padding: 8px;
}

li .dropdownCaret{
    border-color: #0088CC transparent;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #0088CC;
    content: "";
    display: inline-block;
    height: 0;
    margin-left: 4px;
    margin-top: 8px;
    vertical-align: top;
    width: 0;
    position: relative;
}

li.open .dropdownCaret {
    border-top: 4px solid white;
}

/**
* certificate page
**/
.certificatePage .subHeading{
	display: inline-block;
}

#remoteCertificateAdd{
	float:right;
}

#trustCertificatePopUp ul.main,
.certificatePage ul.main{
	list-style: none;
	margin: 5px 0 0;
}

.certificateWell{
	min-height: 20px;
	min-width: 451px;
	width: 34%;
	max-width: 100%;
	padding: 19px;
	color: #5E5A15;
	margin: 20px auto;
	outline: 1px solid #EDDC85;
	outline-offset: -10px;
	background: #f7e993; /* Old browsers */
	background: -moz-linear-gradient(top,  #f7e993 0%, #f1dc77 27%, #f7e993 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7e993), color-stop(27%,#f1dc77), color-stop(100%,#f7e993));
	background: -webkit-linear-gradient(top,  #f7e993 0%,#f1dc77 27%,#f7e993 100%);
	background: -o-linear-gradient(top,  #f7e993 0%,#f1dc77 27%,#f7e993 100%);
	background: -ms-linear-gradient(top,  #f7e993 0%,#f1dc77 27%,#f7e993 100%);
	background: linear-gradient(to bottom,  #f7e993 0%,#f1dc77 27%,#f7e993 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7e993', endColorstr='#f7e993',GradientType=0 );
	border: 1px solid #EEE;
	border: 1px solid rgba(0, 0, 0, 0.05);
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
	-webkit-box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.15);
	box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.15);
}

.update-actions {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack:end;
	-ms-flex-pack:end;
	justify-content:flex-end;
	gap: .75rem;
}

.certificateWell hr{
	border-top: 1px solid rgba(154, 90, 21, 0.38);
	border-bottom: 1px solid #F6E78E;
	margin: 11px 0;
}

#localCertificate pre { background: #f7e993; }

#trustCertificateContainer{
	position: fixed;
	top:0;
	left:0;
	width:100vw;
	height:100vh;
	z-index: 2000;
}

#trustCertificatePopUp{
	width:500px;
	min-height:300px;
	background: white;
	position: relative;
	top:30%;
	margin:0 auto;
	-webkit-box-shadow: 4px 4px 21px 0 rgba(0, 0, 0, 0.65);
	-moz-box-shadow: 4px 4px 21px 0 rgba(0, 0, 0, 0.65);
	box-shadow: 4px 4px 21px 0 rgba(0, 0, 0, 0.65);
}

#trustBtnTray{
	position: absolute;
	bottom:0;
	width:100%;
	margin:5px;
	text-align: center;
}

#trustBtnTray input{
	margin: 10px;
}
#trustCertificatePopUp h3{
	text-align: center;

}
#trustCertificatePopUp p{
	margin: 10px 0;
}

.trustMessageContainer{
	padding: 15px 30px;
}
#trustCertificatePopUp .well{
	margin-bottom: 38px;
}

#trustCertificatePopUp .waning-icon{
	float: right;
	margin: 0 0 0 15px;
	display: inline-block;
	width: 47px;
	height: 40px;
	background-repeat: no-repeat;
	background-image: url('/common/css/images/warning.png');
}

#updatingBlock {
	position: fixed;
	top: 0;
	left: 0;
	background: #2f2f2fe6;
	color: #bbbbbb;
	width: 100vW;
	height: 100vH;
}

#updatesList {
	list-style-type: none;
	margin: 0;
}

.update-title {
	font-size: 16px;
}

.update-title,
.update-date {
	color: #777;
}
.updatingText{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.updatingText H1 {
	font-size: 62px;
}

.loading {
	width: 65px;
	transform: translate(-50%, -50%);
	position: absolute;
	left: 50%;
}

.loading-dot {
	float: left;
	width: 8px;
	height: 8px;
	margin: 0 4px;
	background: white;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	opacity: 0;
	-webkit-box-shadow: 0 0 2px black;
	-moz-box-shadow: 0 0 2px black;
	-ms-box-shadow: 0 0 2px black;
	-o-box-shadow: 0 0 2px black;
	box-shadow: 0 0 2px black;

	-webkit-animation: loadingFade 1s infinite;
	-moz-animation: loadingFade 1s infinite;
	animation: loadingFade 1s infinite;
}

.loading-dot:nth-child(1) {
	-webkit-animation-delay: 0s;
	-moz-animation-delay: 0s;
	animation-delay: 0s;
}

.loading-dot:nth-child(2) {
	-webkit-animation-delay: 0.1s;
	-moz-animation-delay: 0.1s;
	animation-delay: 0.1s;
}

.loading-dot:nth-child(3) {
	-webkit-animation-delay: 0.2s;
	-moz-animation-delay: 0.2s;
	animation-delay: 0.2s;
}

.loading-dot:nth-child(4) {
	-webkit-animation-delay: 0.3s;
	-moz-animation-delay: 0.3s;
	animation-delay: 0.3s;
}

@-webkit-keyframes loadingFade {
	0% { opacity: 0; }
	50% { opacity: 0.8; }
	100% { opacity: 0; }
}

@-moz-keyframes loadingFade {
	0% { opacity: 0; }
	50% { opacity: 0.8; }
	100% { opacity: 0; }
}

@keyframes loadingFade {
	0% { opacity: 0; }
	50% { opacity: 0.8; }
	100% { opacity: 0; }
}

#updatesList li {
	background-color: #fff;
	margin-top: 5px;
	padding: 10px;
	border: 1px solid #ddd;
	font-size: 0.85em;
}

#remote_certificate_drop.hover,
#certificate_drop.hover,
#key_drop.hover,
#chain_drop.hover{
	outline: 5px dashed #ccc;
	outline-offset: 1px;
}

.dropArea textarea{
	width: 98%;
	height: 50px;
	margin-bottom: 5px;
}

#viewCertificateDialog .dropArea textarea {
    font-family: monospace;
}

.dropArea textarea#remote_certificateCertificateText {
    height: 150px;
}

.dropArea textarea#certificateCertificateText,
.dropArea textarea#keyCertificateText,
.dropArea textarea#chainCertificateText {
    height: 75px;
}

#upload-container hr{
	margin: 10px;
}
#upload-container p{
	margin: 0 0 5px;
}

@-webkit-keyframes blurFadeInOut{
    0%{
        opacity: 0;
        text-shadow: 0 0 40px #fff;
        -webkit-transform: scale(0.3);
    }
    100%{
        opacity: 1;
        text-shadow: 0 0 1px #fff;
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes blurFadeInOut{
    0%{
        opacity: 0;
        text-shadow: 0 0 40px #fff;
        -moz-transform: scale(0.3);
    }
    100%{
        opacity: 1;
        text-shadow: 0 0 1px #fff;
        -moz-transform: scale(1);
    }
}

@keyframes blurFadeInOut{
    0%{
        opacity: 0;
        text-shadow: 0 0 40px #fff;
        transform: scale(0.3);
    }
    100%{
        opacity: 1;
        text-shadow: 0 0 1px #fff;
        transform: scale(1);
    }
}

input.inValid {
    border-color: #E9322D;
    -webkit-box-shadow: 0 0 6px #F8B9B7;
    -moz-box-shadow: 0 0 6px #f8b9b7;
    box-shadow: 0 0 6px #F8B9B7;
}

input:focus.inValid {
    border-color: #E9322D;
    -webkit-box-shadow: 0 0 9px #F8B9B7;
    -moz-box-shadow: 0 0 9px #f8b9b7;
    box-shadow: 0 0 9px #F8B9B7;
}

.licence-list li, .list-container {
    margin-left:10px;
    margin-bottom:10px;
}

/* Stop bootstrap checkbox labels from being overly wide, it makes it too easy to check them when users click on white space.*/
label.checkbox { 
  display: inline-block; 
}

.truncate350 {
    display: block;
    width: 350px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Disable bootstrap button outline sticking after clicking */
.btn:focus {
  outline: none;
}

/* Override bootstrap to prevent weird 'glitch-like' overlap line */
.btn:hover, btn-primary:hover {
    background-image: none;
}
.popover {
    z-index: 1050;
}

.page-heading {
    display:inline;
}

.page-content {
    margin-top: 30px;
}

.application-disabled {
    color: #B0B0B0;
}

.borderless > tbody > tr > td {
    border: none;
}

.left-col {
    width: 21%;
}

.right-col {
    width: 79%;
}

.right-content {
    margin-left: 30px;
}

#popular-requests-heading {
    margin-top: 35px;
}

.web-hook-left-text {
    margin-right: 30px;
}

#web-hook-response-body {
    width: 92%;
    margin-left: 3%;
    margin-right: 5%;
    height: 150px;
    resize: none;
    overflow: auto;
    white-space: pre;
    word-wrap: normal;
    box-shadow: none;
    outline: none;
}

#web-hook-table.table tbody tr:hover td,
#web-hook-table.table tbody tr:hover th {
    background-color: inherit;
}

#web-hook-modal {
    top: 30%;
}

.application_logo_container{
	max-width:80px;
	max-height:80px;
	display: inline-block;
}

.application_logo{
	max-width:100%;
	max-height:100%;
}

.key_string{
	font-family: monospace;
}

.control-label.right{
    text-align: left;
    width: 100%;
}

.has_inherited i{
	cursor: pointer;
}

.sub_row td{
	max-height: 0;
	padding:0;
	overflow: hidden;
	opacity:0;
	line-height: 0;
	border-top: none;
	-webkit-transition: 0.4s;
	-moz-transition: 0.4s;
	transition:  0.4s;
}
.sub_row td i{
	height:0;
	vertical-align: inherit;
	line-height: 0;
}

.sub_row.expand td i {
	height: 14px;
	line-height: 14px;
	vertical-align: text-top;
}

.sub_row.expand td{
	opacity:1;
	padding:8px;
	line-height: 18px;
	max-height: 200px;
	height:16px;
	border-top: 1px solid #DDD;
	-webkit-transition: 0.4s;
	-moz-transition: 0.4s;
	transition:  0.4s;
}


.table td.sub_row_title{
	padding-left: 50px;
}
.edit-combo{
	float:right;
	width: 80px;
}

.td_container {
	position: relative;
}
.td_content {
	position: absolute;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.td_spacer {
	height: 0;
	overflow: hidden;
}

td.listEmpty {
	text-align: center;
	line-height: 50px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	font-size: 15px;
	background: -webkit-radial-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.11) 35%, transparent);
	background: -moz-radial-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.11) 35%, transparent);
	background: -ms-radial-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.11) 35%, transparent);
	background: radial-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.11) 35%, transparent);
}


.newVersionHeading{
	margin-bottom: 5px;
}

.api-details { margin-top: 5px; }
#permissions .permission-checkbox { margin-top: -1px; }
.web-hook-event-enabled { color: black; }
.web-hook-event-disabled { color: #B0B0B0; }

pre.logtext .date{
	color: #16c113;
}


.updateChecking i{
	display:inline-block;
	-webkit-transform-origin: 50% 50%;
	transform-origin:50% 50%;
	-ms-transform-origin:50% 50%; /* IE 9 */
	-webkit-animation: iw-spin 1s infinite linear;
	-moz-animation: iw-spin 1s infinite linear;
	-o-animation: iw-spin 1s infinite linear;
	animation: iw-spin 1s linear infinite;
}

@-webkit-keyframes iw-spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(359deg); }
}

@-moz-keyframes iw-spin {
	0% { -moz-transform: rotate(0deg); }
	100% { -moz-transform: rotate(359deg); }
}

@keyframes iw-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(359deg); }
}