@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i');
.rTableCell label {
    padding: 10px;
}
#category_field_listing li .custom_field {
    border: 1px solid #CCCCCC;	
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    max-width: 100%;
    display: inline-block;
    min-width: 35%;
}
body  {
    background: url(../images/bg.jpg);
    background-size: cover;
    color: #111;
    font-family: 'Source Sans Pro', Open Sans;
}
.elgg-page-header {
    background: none;
}
.elgg-button, .elgg-button-submit {
    background: #89C057;
    border-color: #89C057;
}
.elgg-button:hover, .elgg-button-submit:hover, .elgg-button:focus, .elgg-button-submit:focus {
    background: #2B9FD7;
    border-color:#2B9FD7;
}
a, .elgg-menu-general > li, .elgg-menu-general > li > a, .elgg-menu-user a, .elgg-menu-admin-header a,
.elgg-menu-user a:hover, .elgg-menu-admin-header a:hover {
    color: #2B9FD7;
}
.elgg-layout {
    min-height: 85vh;
}
.elgg-form-login, .elgg-form-account {
    margin-left: 0px;
}
.elgg-menu-user, .elgg-menu-admin-header, .elgg-page-footer, .elgg-menu-footer > li,
.elgg-tabs a {
    color: inherit;
}  
.elgg-page-header {
    border: none;
    border-bottom: 1px solid #999;
}
.elgg-module-inline > .elgg-head {
    background-color : #69B9E1;
}
.elgg-admin-sidebar-menu li.elgg-state-selected > a {
    background-color: #69B9E1;
    color: #fff;
    border: 1px solid #69B9E1;
}
.elgg-admin-sidebar-menu a:hover {
    background : #89C057;
    border-color: #89C057;
}
.elgg-main {
    background-color: rgba(255,255,255, 0.3);
}
.elgg-page-footer {
    background: none;
    border: none;
    border-top: 1px solid #999;   
}

.elgg-table .even_rows, .elgg-table .even_rows td{
    background: #f9f9f9;
}
.elgg-table .odd_rows, .elgg-table .odd_rows td{
    background: #f8f9f0;
}
.sp-custom-table td {
    max-width: 100px;
}
.margin-right-10{
    margin-right: 10px;
}
.responsive-table{
    overflow: scroll;
    height: 70vh;
}
.spui-blue-header{
    background-color: #69B9E1;
    color: white;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 3px;
}
.spui-blue-header .elgg-icon {
    color: white;
}
.spui-accordion .spui-blue-header {
    cursor: pointer;
}
.spui-thumbnail {
    max-height: 100px;
    max-width: 100px;
}
.sp-ui-column {
    float: left;
    width: 45%;
    padding: 0 10px 0px 10px;
}
/* Clear floats after the columns */
.sp-ui-row:after {
    content: "";
    display: table;
    clear: both;
}
.spui-accordion .elgg-body {
    overflow: auto;
}

.spui-right-align {
    float: right;
}
.link_btn {
    background: no-repeat;
    border: none;
    text-decoration: underline;
    font-size: 100%;
    color: #2B9FD7;
}
.link_btn:focus, .link_btn:hover, .link_btn:active {
    color: #ffffff;
}
.table-in-form {
    width: 100%
}

#instant_email_fields_form {
    width: 100%;
}

.form-hint {
    text-align: right;
}

.td-btn-center {
    vertical-align: middle;
    text-align: left;
    padding-top: 8px;
}.streak-table {
    border-spacing: 16px;
    border-collapse: unset;
    margin: 0 auto;
}
.streak-table th{
    font-weight: bold;
}
.streak-table th, .streak-table td {
    vertical-align: text-bottom;
}
.streak-save-btn-holder {
    text-align: right;
    width: 52%;
    margin: 0 auto;
}
.streak-save-btn {
    width: 150px;
}

.dynamic-link-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
}

.dynamic-link-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

.dynamic-link-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	border-radius: 5px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	z-index: 10000;
	max-width: 600px;
	width: 90%;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
}

.dynamic-link-modal-header {
	padding: 20px;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dynamic-link-modal-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
}

.dynamic-link-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #999;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dynamic-link-modal-close:hover {
	color: #333;
}

.dynamic-link-modal-body {
	padding: 20px;
	overflow-y: auto;
	flex: 1;
}

.dynamic-link-detail-row {
	margin-bottom: 16px;
	display: flex;
	flex-wrap: wrap;
}

.dynamic-link-detail-row.dynamic-link-full-width {
	flex-direction: column;
}

.dynamic-link-detail-label {
	font-weight: bold;
	min-width: 120px;
	color: #333;
}

.dynamic-link-detail-value {
	color: #666;
	word-break: break-word;
	flex: 1;
}

.dynamic-link-full-width .dynamic-link-detail-value {
	flex: none;
	width: 100%;
}

.dynamic-link-modal-footer {
	padding: 20px;
	border-top: 1px solid #e0e0e0;
	text-align: right;
}

.dynamic-link-modal-footer .elgg-button {
	margin-left: 10px;
}

.dynamic-link-generated-value {
    word-break: break-all;
    padding: 8px;
    background-color: #f5f5f5;
    border-radius: 3px;
}
.dynamic-link-params-pre {
    white-space: pre-wrap;
    word-break: break-word;
    padding: 8px;
    background-color: #f5f5f5;
    border-radius: 3px;
    max-height: 150px;
    overflow-y: auto;
    margin: 0;
    font-family: monospace;
    font-size: 12px;
}