@CHARSET "UTF-8";
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
@import url('https://fonts.googleapis.com/css?family=Montserrat:300');

@font-face {
	font-family: 'Glyphicons Halflings';
	src: url('../fonts/glyphicons-halflings-regular.eot');
	src: url('../fonts/glyphicons-halflings-regular.woff') format("woff");
}

body {
    font-family: 'Montserrat';
    /*background-image: url(images/blur-bg.jpg);*/
    /*background: #e7e5db;*/
    background: url(images/inf_bg2.png);
    background-size: cover;
    background-repeat: no-repeat;
  	background-attachment: fixed;
  	font-size: 14px;
  	color: white;
}


.nav-link {
	color: white
}

.dropdown-menu[data-bs-popper] {
	margin-top: 12px;
}

.dropdown-item {
	font-size: 0.875em
}

/* Navbar user menu - match the sidebar caption size. Covers the React
   NavDropdown and the PHP shell's button+menu; !important because the
   bootstrap CDN sheet also sizes .nav-link/.btn */
.navbar-user-dropdown > .nav-link,
.navbar-user-dropdown .dropdown-toggle,
.navbar-user-dropdown .dropdown-item,
.navbar .dropdown-toggle,
.navbar .dropdown-menu .dropdown-item {
	font-size: 0.875rem !important;
	line-height: 1.5;
}

.ui-widget {
	font-family: 'Montserrat';
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: Montserrat;
    font-size: 1em;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
    font-family: Montserrat;
    font-size: 16px;
}

.modal{
   overflow:auto !important;
}

.modal-backdrop {
	background: rgba(0,0,0,0.5);
}

.modal-content {
	background: rgba(77,78,78,0.9);	
	box-shadow: 0 3px 10px 4px rgba(0, 0, 0, .5);
}

.modal-title {
	color: white;
	width: 100%;
	cursor: move;
}

.modal-footer {
	text-align: right;
}


button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}
.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.btn-close {
	color: #fff
}


.btn {
	font-size: 14px;
}
.btn-primary {
    background: rgba(0,0,0,0.5);
    border-color: #fff;
}

.btn-primary:hover {
	background: rgba(40,40,40,0.5);
	border-color: #fff;
}
.btn-primary:focus, .btn-primary:active, .btn:first-child:active {
	background: rgba(80,80,80,0.5);
	border-color: #fff;
}

.btn-primary:disabled {
	background: #265a88;
	border-color: #fff;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: white;
    background-color: silver;
    border-color: white;
}

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}

.red {
    color: red
}

.orange-bold {
	color: orange !important;
	font-weight: bold !important;
}

label {
	color: #ddd;
}

.form-label {
  margin-bottom: .1rem;
  margin-top: .5rem;
}

.form-control,.form-select {
	background-color: rgba(0,0,0,0.3);
	color: white;
	font-size: 1em;
}

.form-control:disabled,.form-select:disabled {
	background: rgba(100,100,100,0.3);
	color: #d5d5d5;
	/* WebKit paints disabled text with its own colour and dims the box -
	   without these the value renders dark grey on dark grey */
	-webkit-text-fill-color: #d5d5d5;
	opacity: 1;
}

/* Option rows (e.g. the campaign team list) keep their own colours when the
   select is disabled - they do not inherit the select's */
.form-select option {
	background-color: #4d4e4e;
	color: #ffffff;
}

.form-select:disabled option {
	color: #d5d5d5;
	-webkit-text-fill-color: #d5d5d5;
}

.form-control::placeholder {
	color: rgba(200,200,200,0.6);
}

.form-control:focus,.form-select:focus {
	border-color: rgba(217,180,161,1);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(217, 180, 161, .6);
    background-color: rgba(0,0,0,0.4);
    color: white;
}

.form-select {
	background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.form-check-input:focus {
	border-color: #d9b4a1;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(217,180,161,.25);
}

div.form-switch.warning input:checked {
	background-color: #ffc107;
	border-color:	#ffc107;
}

div.form-switch.danger input:checked {
	background-color: #dc3545;
	border-color:	#dc3545;
}

div.form-switch.success input:checked {
	background-color: #198754;
	border-color:	#198754;
}
.form-check-input:checked.warning  {
	background-color: #ffc107;
	border-color:	#ffc107;
	box-shadow: 0 0 0 0.25rem rgba(255,193, 7, .25 );
}

.form-check-input:checked.danger  {
	background-color: #dc3545;
	border-color:	#dc3545;
	box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, .25 );
}

.form-check-input:checked.success  {
	background-color: #198754;
	border-color:	#198754;
	box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, .25 );
}


input, button, select, textarea {
    font-family: Montserrat;
    font-size: inherit;
    line-height: inherit;
}


p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    /*padding: 15px 10px;*/
    background: rgba(0,0,0,.3);
    border: none;
    border-radius: 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    background: rgb(0,0,0,0.1);
	border: 1px solid white;
	color: white;
}

.navbar-btn:hover {
	color: white;
	background: rgba(0, 0, 0,0.5);
	transition: all 0.3s;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ALERTS */
.alert-success {
	color: white;
	background: rgba(25, 135, 84, 0.6);
	border-color: #198754;
}

.alert-danger {
    color: white;
    background: rgba(126,30,30,0.6);
    border-color: rgba(153,30,30,1);
}

.alert-warning {
	color: black;
    background: #ffcd39;
    border-color: #ffc720;
}

.alert-warning label {
	color: black;
}

/** TABS **/
li.nav-item button.nav-link.active {
	background: rgba(0,0,0,0.3);
	border: none;
	color: white;
	font-size: 12px;
}
li.nav-item button.nav-link {
	background: rgba(0,0,0,0.1);
	border: none;
	color: white;
	font-size: 12px;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;
}


#sidebar .custom-menu {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 0;
    margin-right: -50px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: rgba(0,0,0,.3);
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: rgba(0,0,0,0);
}

#sidebar ul {
    /*padding: 20px 0;*/
    /*border-bottom: 1px solid #47748b;*/
    background: #d9b4a1;
	/*color: black;*/
}

#sidebar ul li ul {
	background: rgba(0,0,0,0.3);
}


#sidebar ul li ul li ul li.active a {
	/* background: rgba(200,0,0,.3); */
	background: rgba(214,81,81,0.3);
}

/* New Sidebar classes */

#sidebar ul button {
	color: white;
	/*display: block;*/
	width: 100%;
	text-align: left;
	padding: 0.25rem 0.5rem;
	height: 2.5rem;
}


/* Submenu items */
#sidebar ul li ul li {
	height: 2.5rem;
}

#sidebar ul li ul li:hover {
	background: rgba(214,81,81,0.3);
	transition: all 0.3s;
}

/* Collapse/Expand chevrons */

.btn-toggle::before {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: 0.5em 50%;
    display: inline-block;
}

.btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}


a[data-toggle="collapse"] {
    position: relative;
}

#sidebar ul ul a {
    background: rgba(0,0,0,.1);
    display: block;
    height: 2.5rem;
    padding-top: 0.7rem;
    padding-left: 1.5rem;
}

#sidebar ul ul a.active {
    background: rgba(214,81,81,0.3);
}



ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: rgba(0,0,0,.5);
    color: #fff;
}

a.article, a.article:hover {
    background: rgba(0,0,0,.3) !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    INLINE EDIT BUTTONS
----------------------------------------------------- */

button.inline {
	border: 1px solid white;
	border-radius: 3px;
	color: white;
	background-color: rgba(0,0,0,0.2);
    height: 30px;
    margin: 5px;
    width: 30px;
}

button.inline:hover {
	background-color: rgba(0,0,0,0.4);
}

span.editable  {
	border-bottom: 1px dashed white;
    color: white;
    cursor: pointer;
}

table.editable td:last-of-type {
	border-bottom: 1px solid white;
}

.inline.glyphicon-remove {
	background-color: rgba(200,0,0,0.3);
}

.inline.glyphicon-remove:hover {
	background-color: rgba(200,0,0,0.6);
}

div.roundbox {
	border: 1px solid white;
    border-radius: 5px;
    color: white;
    padding: 5px;
    margin: 10px;
    cursor: move;
}

div.modal div.roundbox {
	cursor: default;
}

div.modal div.roundbox[sel] {
	background: rgba(0,50,100,0.5);
}




tr[sel=true] {
	background: rgba(255,255,255,0.5);
}
tr[sel=true]:hover {
	background: rgba(255,200,200,0.5);
}

div.roundbox_nopad {
	border: 1px solid white;
    border-radius: 5px;
    color: white;
    padding: 5px;  
    min-height: 30px  
}

div.boxconnect {
	border-bottom: 1px solid white;
	color: white;
	font-size: 10px;
	height: 50%;
}

.listremove {
	height: 15px; 
	width: 15px; 
	background-color: rgba(0,0,0,0); 
	border: none; 
	float: right; 
	margin-right: 5px;
	color: white;
}

.listremove:hover {
	color: red;
	transition: color 0.5s;
	-webkit-transition: color 0.5s;
}

.listadd {
	height: 15px; 
	width: 15px; 
	background-color: rgba(0,0,0,0); 
	border: none; 
	float: right; 
	margin-right: 5px;
	color: white;
}

.listadd:hover {
	color: green;
	transition: color 0.5s;
	-webkit-transition: color 0.5s;
}


@keyframes blinkred { 
   50% { border-color: #ff0000; } 
}

@keyframes blinkgreen {
	50% { border-color: #00ffa0; }
}

.err {
	animation-name: blinkred;
	animation-duration: 0.5s;
}

.success {
	animation-name: blinkgreen;
	animation-duration: 0.5s;
}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- 
Adding padding 20px to fit inertia layout
*/
#content {
	width: 100%;
    padding: 20px; 
    min-height: 100vh;
    transition: all 0.3s;
}




/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }

}


/* ---------------------------------------------------
    CUSTOM UI
----------------------------------------------------- */

h2,p {
	color: #fff;
}

.animated {
	webkit-animation-duration: .5s;
	animation-duration: .5s;
	webkit-animation-name: zoomIn;
	animation-name: zoomIn;
	webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.ind {
	margin-top: 6px; 
	height: 8px; 
	width: 8px; 
	border-radius: 4px;
	background-color: gray;
	display: inline-block;
}

.tab-ind {
	display: inline-block;
	height: 8px; 
	width: 8px; 
	border-radius: 4px;
	background-color: gray;
	position: relative;
	top: 4px;
	margin-right: 4px;
}

.ind-red {
	background-color: rgb(255,100,100); 
}
.ind-green {
	background-color: green;
}
.ind-blue {
	background-color: rgb(100,100,255);
}
.ind-orange {
	background-color: orange;
}
.ind-lime {
	background-color: #d4f442;
}
.ind-lime {
	background-color: #41e2f4;
}

/* Table cell accent (e.g. who picked a campaign influencer) */
.table-condensed tr td.txt-orange {
	color: orange;
}

.src-web {
	color: #ff5050;
}

.src-manual {
	color: #fff;
}

.pages a{
	display: inline-block;
	width: 2em;
	background: rgba(0,0,0,0.2);
	text-align: center;
}

.pages a.active {
	background: rgba(0,0,0,0.3);
	font-weight: bold;
	color: orange;
}

/* Campaign dialog - wider than bootstrap's xl so the process tabs stay on
   one row (xl = 1140px; the tab strip needs ~1300) */
.modal-campaign {
	max-width: 1400px;
	width: 96%;
}

/* Tab of the state where work is due */
.nav-tabs .nav-link .tab-current {
	color: orange;
	font-weight: 600;
}

/* Transition criteria hints (display only - the engine still decides):
   orange while the field blocks the transition, green once satisfied */
.crit-pending, .crit-wrap.crit-pending .form-check-input {
	border: 1px solid orange !important;
	box-shadow: 0 0 4px rgba(255,165,0,0.45);
}

.crit-met, .crit-wrap.crit-met .form-check-input {
	border: 1px solid #1dd1a1 !important;
	box-shadow: 0 0 4px rgba(29,209,161,0.45);
}

.crit-wrap {
	display: inline-block;
	padding: 2px 6px;
	border-radius: 4px;
}

.crit-wrap.crit-pending {
	border: 1px dashed orange;
	box-shadow: none;
}

.crit-wrap.crit-met {
	border: 1px dashed #1dd1a1;
	box-shadow: none;
}

/* Extra-wide, taller modal (campaign dialog and friends) */
.modal-wide {
	max-width: 92vw;
	width: 92vw;
}

.modal-wide .modal-body {
	min-height: 78vh;
}

/* React Flow status graph (dark theme) */
.rf-state-node.rf-process-node {
	border-color: #48dbfb;
	border-style: dashed;
}

.rf-def-panel pre {
	background: rgba(0,0,0,0.4);
	color: #d4f442;
	padding: 10px;
	border-radius: 4px;
	max-height: 58vh;
	overflow: auto;
	font-size: 12px;
	white-space: pre-wrap;
	word-break: break-word;
}

/* React Flow status graph (dark theme) */
.rf-state-node {
	background: rgba(0,0,0,0.35);
	border: 1px solid #9a9a9a;
	border-radius: 4px;
	color: #fff;
	font-family: Montserrat;
	font-size: 13px;
	width: 180px;
	padding: 12px 8px;
	text-align: center;
	cursor: pointer;
}

.rf-state-node:hover {
	background: rgba(255,255,255,0.12);
}

.rf-state-node.rf-live {
	border: 2px solid #1dd1a1;
}

.rf-state-node.rf-superseded {
	opacity: 0.45;
}

.rf-handle {
	opacity: 0;
	pointer-events: none;
}

.rf-status-graph .react-flow__controls {
	box-shadow: none;
}

.rf-status-graph .react-flow__controls button {
	background: rgba(0,0,0,0.5);
	border-bottom: 1px solid rgba(255,255,255,0.15);
	color: #fff;
}

.rf-status-graph .react-flow__controls button:hover {
	background: rgba(40,40,40,0.7);
}

.rf-status-graph .react-flow__controls button svg {
	fill: #fff;
}

.rf-status-graph .react-flow__attribution {
	background: transparent;
}

.rf-status-graph .react-flow__attribution a {
	color: #777;
}

/* Compact dark accordion (historical state data viewer) */
.accordion-thin .accordion-item {
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255,255,255,0.15);
}

.accordion-thin .accordion-button {
	background: transparent;
	color: white;
	font-size: 14px;
	padding: 4px 8px;
	box-shadow: none;
}

.accordion-thin .accordion-button:not(.collapsed) {
	background: rgba(255,255,255,0.1);
	color: white;
}

.accordion-thin .accordion-button::after {
	filter: invert(1) grayscale(1);
}

.accordion-thin .accordion-body {
	background: transparent;
	color: white;
	padding: 6px 10px;
}

.table-condensed {
	font-size: 14px;
}

.table-condensed  tr:hover td {
	background: rgba(255,255,255,0.1);
	font-weight: 200;
}

.table-condensed tr th {
	background: rgba(255,255,255,0.2);
	color: white;
	font-weight: 250;
	border-top: 1px solid white;
	padding: 2px;
}

.table-condensed tr td {
	cursor: pointer;
	word-wrap:break-word;
	background-color: transparent;
	padding: 2px;
	color: white;
	font-weight: normal;
}

.pages {
	color: white;
	font-size: 14px;
}


.ui-datepicker {
	background: rgba(0,0,0,0.6);
}

/* Table Row when used for selection */
.tr_sel {
	/*background: rgba(50,200,240,0.4);*/
	/*background: #f5cfc0;*/
	background: rgba(245,207,192,0.4);
}

.sortcol {
	cursor: pointer;
}

select.dark option {
	background: rgba(0,0,0,0.5);
	color: white;
}

legend {
	font-size: 12px;
	color: white;
	margin-top: 10px;
	margin-bottom: 5px;
}

#campaign_influencers tr td:nth-child(1) > div:nth-child(1) > div:not(:first-of-type) {
	font-size: 12px;
}

#campaign_influencers tr td:nth-child(2) > div:nth-child(1) > div:nth-child(1) {
	border-bottom: 1px dotted white;
}

.stat_thumb {
	height: 150px; 
	display: inline-block;
	margin: 5px 5px 5px 5px;
	cursor: pointer;
}

.material-switch > input[type="checkbox"] {
    display: none;   
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative; 
    width: 40px;  
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

.badge-danger {
	background-color: red;
}

.badge-info {
	background-color: rgb(0,185,255);
}

.ui-slider-handle, .ui-slider-handle:hover, .ui-slider-handle:active, .ui-slider-handle:focus {
	background: rgb(255,154,154);
}

.dropdown-menu {
	background-color: rgba(0,0,0,0.5);
}

ul.dropdown-menu li a{
	color: white;
}

.container {
	width: 100% !important;
	padding-left: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

.container-fluid {
	padding-left: 0px;
}

@media (min-width: 1200px) {
.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1140px;
}
}
@media (min-width: 992px) {
.container, .container-lg, .container-md, .container-sm {
    max-width: 960px;
}
}
@media (min-width: 768px) {
.container, .container-md, .container-sm {
    max-width: 720px;
}
}
@media (min-width: 576px) {
.container, .container-sm {
    max-width: 540px;
}
}







span.placeholder {
	color: rgba(0,0,0,0);
}

/* Not Used */
.overlay {
    background: rgba(0,0,0);

    filter: blur(5px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='svgMask'><feGaussianBlur stdDeviation='5' /></filter></svg>#svgMask");
}


.card {
  margin-bottom: 20px;
  background: rgba(0,0,0,0.3);
  /*background: url(images/blur-bg-blurred.jpg);*/
  /*background-size: 2017px 1135px;*/
  background-size: cover;
  /*background-position: 1200px 0px;*/
  border: none;
  border-radius: 4px;
  -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, .25);
          box-shadow: 0 5px 5px rgba(0, 0, 0, .25);
  
}
.card-body {
  padding: 15px;
}
.card-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.card-heading > .dropdown .dropdown-toggle {
  color: inherit;
}
.card-title {
  
  color: inherit;
  border-bottom: 1px solid rgba(0,0,0,.12);
  height: 44px;
  font-size: 16px;
  padding: 14px 22px;
  color: white;
}
.card-title > a,
.card-title > small,
.card-title > .small,
.card-title > small > a,
.card-title > .small > a {
  color: inherit;
}
.card-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel {
	margin-bottom: 20px;
    background: rgba(0,0,0,0.3);
    /* background: url(images/blur-bg-blurred.jpg); */
    /* background-size: 2017px 1135px; */
    background-size: cover;
    /* background-position: 1200px 0px; */
    border: none;
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, .25);
    box-shadow: 0 5px 5px rgba(0, 0, 0, .25);
}

.panel-title {
    color: inherit;
    border-bottom: 1px solid rgba(0,0,0,.12);
    height: 44px;
    font-size: 16px;
    padding: 14px 22px;
    color: white;
}

.panel-body {
    padding: 15px;
}

.note-toolbar {
	background: silver;
}

.note-editable p {
	color: black;
}

/* ============================================================ */
/* PROCESS STATE INDICATOR DIVS									*/
/* ============================================================ */
.process_state_ind {
	border: 1px solid white;
	border-radius: 3px;
	padding: 2px;
	text-align: center;
	margin-top: 5px
}

/* The whole badge is the click target (claim / finish / who owns it).
   Marked per instance - the same box is also used as a plain ID display. */
.process_state_click {
	cursor: pointer;
}

.process_state_ind.process_state_click:hover {
	background-color: rgba(255,255,255,0.12);
}

.process_state_ind_red.process_state_click:hover {
	background-color: rgba(255,80,80,0.15);
}

.process_state_ind_green.process_state_click:hover {
	background-color: rgba(0,128,0,0.15);
}

/* Refresh button next to the state banner - same box metrics so the two
   line up exactly (14px * 1.5 line-height + 2px padding + 1px border) */
.process_state_refresh {
	margin-top: 5px;
	padding: 2px 10px;
	font-size: 14px;
	line-height: 1.5;
	border-radius: 3px;
}

.process_state_ind_red {
	border: 1px solid #ff5050; 
	border-radius: 3px; 
	padding: 2px; 
	text-align: center; 
	margin-top: 5px;
	color: #ff5050
}

.process_state_ind_green {
	border: 1px solid green; 
	border-radius: 3px; 
	padding: 2px; 
	text-align: center; 
	margin-top: 5px;
	color: green
}


/* ============================================================ */
/* LOADING OVERLAY 												*/
/* ============================================================ */

.lds-ring {
  /*display: inline-block;*/
  display: block;
  position: relative;
  width: 64px;
  height: 64px;
  margin: auto;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 51px;
  height: 51px;
  margin: 6px;
  border: 6px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ============================================================ */
/* END -- LOADING OVERLAY 										*/
/* ============================================================ */

/* ============================================================ */
/* VIS.JS timeline												*/
/* ============================================================ */

.vis-text {
	color: #fff !important;
}

.vis-item {
  border-color: #fff !important;
  background: rgba(0,0,0,0.5) !important;
  font-size: 12px !important;
  color: #fff !important;
  padding: 3px 3px 3px 3px !important;
}

.vis-item.vis-selected {
  border-color: white !important;
  background: rgba(255,255,255,0.4) !important;
}

/* ============================================================ */
/* VIS.JS timeline												*/
/* ============================================================ */


/* Search result marking ------------------------------------------------- */
/* Green = already part of the campaign (matches the green ind- dots and the
   person-check icon). Blue-grey = merely looked at during this search. */
.table-condensed tr.row-in-campaign td {
	background-color: rgba(46, 204, 113, 0.22);
}

.table-condensed tr.row-in-campaign:hover td {
	background-color: rgba(46, 204, 113, 0.35);
}

.table-condensed tr.row-visited td {
	background-color: rgba(120, 160, 200, 0.22);
}

.table-condensed tr.row-visited:hover td {
	background-color: rgba(120, 160, 200, 0.35);
}

/* Captioned group of form controls (components/src/section.jsx).
   Bootstrap's reboot removes the fieldset border and makes legend a
   full-width block - both undone here for the dark theme. */
.form-section {
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 6px;
	padding: 6px 12px 2px 12px;
	margin: 0 0 12px 0;
	min-width: 0;
}

.form-section > .form-section-legend {
	float: none;
	width: auto;
	padding: 0 6px;
	margin-bottom: 0;
	font-size: 0.8rem;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.65);
}

/* Quieter variant: caption only, no frame */
.form-section.form-section-plain {
	border: none;
	border-top: 1px solid rgba(255,255,255,0.18);
	border-radius: 0;
	padding: 0;
}

.form-section.form-section-plain > .form-section-legend {
	padding: 0;
	margin-top: 6px;
}

/* Debug role: blocks the current state hides, revealed by the eye button in
   the process dialog header. Outlined and tagged with the block id. */
.pd-debug-reveal {
	outline: 1px dashed #ff9f43;
	outline-offset: 3px;
	position: relative;
	margin-top: 14px;
}

.pd-debug-reveal::before {
	content: "скрит блок: " attr(data-debug-id);
	position: absolute;
	top: -13px;
	left: 6px;
	font-size: 0.7rem;
	line-height: 1;
	color: #ff9f43;
	background: #4d4e4e;
	padding: 1px 5px;
	border-radius: 3px;
}
