﻿/** promise tracker **/
.main-tracker {
    position: absolute;
    top: 40px;
    left: 6px;
    z-index: 102;
}

	.main-tracker .triangle {
		position: absolute;
		left: 14px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 6px 6px 6px;
		border-color: transparent transparent rgba(0, 0, 0, .75) transparent;
	}

	.main-tracker .body {
		position: absolute;
		top: 6px;
		padding: 10px;
		background-color: rgba(0, 0, 0, .75);
		border-radius: 4px;
		white-space: nowrap;
		color: #fff;
	}
/** end promise tracker **/

.fa-check-square.fa-spin:before {
	content: '\f110';
}

a {
	cursor: pointer;
}

.table th, .table td {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.nav > li > a {
	padding: 7px 15px;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
	background-color: #00aeef;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
	color: inherit !important;
	background: #efefef none;
}

.tooltip {
	white-space: nowrap;
}

.no-bottom-margin {
	margin-bottom: 0 !important;
}

.add-bottom-margin {
	margin-bottom: 20px;
}

.add-top-margin {
	margin-top: 20px;
}

select, textarea, input, pre, button {
	border-radius: 0 !important;
}

textarea {
    margin-bottom: 10px;
    border: none;
    overflow: auto;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    resize: none; /*remove the resize handle on the bottom right*/
}

pre {
	white-space: pre-wrap;
}

.table tr:hover {
	cursor: pointer;
}

.button-bar {
	margin-bottom: 50px;
	border-bottom: 1px solid #555;
}

	.button-bar li {
		padding: 10px 0;
		border-top: 1px solid #555;
		border-bottom: 1px solid #333;
		cursor: pointer;
		color: #888;
		transition: all .2s linear;
	}
        .button-bar li:hover {
            background-color: #999;
            color: #ccc;
            transition: all .2s linear;
        }
        .button-bar li.selected {
            color: #fff;
            transition: all 0s linear; /* make the selected color appear immediately */
        }

.result-pane {
	margin-bottom: 0;
	overflow-y: auto;
    width: 100%;
}

/* make this textarea look like a pre*/
textarea.result-pane {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
    margin-bottom: 0;
    resize: none; /*remove the resize handle on the bottom right*/
}

.rg-bottom span, .rg-left span, .rg-right span, .rg-top span {
    border-color: #777;
}
.rg-bottom, .rg-left, .rg-right, .rg-top {
    width: 10px;
    height: 10px;
    line-height: 10px;    
}
.rg-left span, .rg-right span {
    margin: -10px 0 0 3px;
    height: 20px;
    width: 4px
}
.rg-bottom span, .rg-top span {
    border-width: 1px 0;
    margin: 3px 0 0 -10px;
    width: 20px;
    height: 4px;
}
.rg-top {
    width: 100%;
    margin-top: -10px;
}
.rg-right {
    height: 100%;
    margin-right: -10px;
}
.rg-bottom {
    width: 100%;
    margin-bottom: -10px;
}
.rg-left {
    height: 100%;
    margin-left: -10px;
}

.full-view-port {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.left-toolbar {
    height: 100%;
    width: 50px;
    background-color: #444;
    text-align: center;
    z-index: 1;
}

.main-container {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

.top-menu {
    background-color: #00AEEF;
    width: 100%;
    display: flex;
    padding: 9px 10px 8px 10px;
}

.top-menu .inner-panel {
    display: flex;
    width: 100%;
}

.top-menu .inner-panel .text-box-grow {
    flex-grow: 1;
    position: relative;
    margin-right: 10px;
}

.main-view {
    display: flex;
    flex-grow: 1;
    height: 100%;
}
.main-view.up {
    flex-direction: column-reverse;
}
.main-view.right {
    flex-direction: row;
}
.main-view.down {
    flex-direction: column;
}
.main-view.left {
    flex-direction: row-reverse;
}

.call-list {
    display: flex;
    margin: 10px 0px 0px 0px;
    padding: 0px 10px 10px 10px;
    overflow-y: auto;
}
.call-list table {
    background-color: #fff;
    width: 100%;
}
.call-list>.table>thead>tr>th {
    position: sticky;
    top: 0;
    background-color: #eaeaea;
    border-width: 0px;
}

.call-display {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: #dadada;
}

    .call-display > .rg-right,
    .call-display > .rg-bottom,
    .call-list > .rg-right,
    .call-list > .rg-bottom {
        margin: 0px;
        display: none;
    }

    .main-view.left > .call-display > .rg-right,
    .main-view.up > .call-display > .rg-bottom,
    .main-view.right > .call-list > .rg-right,
    .main-view.down > .call-list > .rg-bottom {
        display: block;
    }


.main-view.left > .call-list,
.main-view.right > .call-list {
    flex: 1 1 calc((100vw - 50px) / 2);
    width: calc((100vw - 50px) / 2);
    min-width: 450px;
}
.main-view.left > .call-display,
.main-view.right > .call-display {
    flex: 1 1 calc((100vw - 50px) / 2);
    width: calc((100vw - 50px) / 2);
    min-width: 510px;
}

.main-view.up > .call-list,
.main-view.down > .call-list {
    flex: 1 1 50vh;
    min-height: 100px;
    max-height: calc(100vh - 265px);
}

.main-view.up > .call-display,
.main-view.down > .call-display {
    flex: 1 1 50vh;
    min-height: 265px;
    max-height: calc(100vh - 100px);
}

.url-input {
	margin-right: 70px;
}

.url-button {
	width: 60px;
	float: right;
}

.database-name {
	color: #888;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	-o-transform: rotate(90deg);
	white-space: nowrap;
	display: block;
	bottom: 0;
	width: 20px;
	height: 20px;
	font-family: 'Trebuchet MS', 'Helvetica', sans-serif;
	font-size: 32px;
	margin: 0 auto;
	text-transform: uppercase;
	line-height: 20px;
}

.error-log-modal .modal-dialog {
	width: 95%;
}

.error-log-modal .container {
	width: 98%;
	margin-top: 20px;
}

.error-search-results {
	overflow: auto;
    min-height: 300px;
}
.error-search-results th {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 200;
	background-color: #666666;
	color: white;
	border-left: 1px solid #555;
}

.error-search-results input{
    width: 100%;
	background-color: #ffffff;
	border: 0;
}

.error-search-results tr button{
	width: 100%;
}

tr.error-filter-row {
	border-bottom: 2px solid #dddddd;
}

.error-filter-row td{
	background-color: #ffffff;
	border-right: 1px dotted #ddd;
}

.error-filter-row select {
	padding: 2px 6px;
	box-sizing: border-box;
	height: 100%;
	width: 100%;
	margin: 0;
	border: 0;
}

.exception-details {
	height: 650px;
	overflow-y:auto;
	margin: 20px;
}
