html {
	overflow-y: scroll;
	position: relative;
	min-height: 100%;
}

body {
	padding-top: 0px;
	margin-bottom: 30px;
	padding-right: 0 !important;
}

.navbar-toggle {
	float: left;
	margin-right: 0;
	margin-left: 8px;
}

a:hover {
	text-decoration: none;
}

table a:not(.btn),
.table a:not(.btn) {
	text-decoration: none;
}

a.action {
	margin-right: 10px;
	font-weight: bold;
}

.row.feedback p {
	padding: 15px;
}

label small {
	font-weight: normal;
}

.modal-backdrop {
	z-index: -1;
}

table.table {
	width: 100% !important;
}

h2 {
	font-size: 50px;
}

/* Sticky footer styles -------------------------------------------------- */

html {
	position: relative;
	min-height: 100%;
}

body {
	margin-bottom: 41px;
}

.table-condensed>tbody>tr>td.audio {
	padding: 2px 5px;
}

.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	min-height: 40px;
	background-color: #f5f5f5;
}

.footer p {
	margin-top: 10px;
}

.footer a {
	color: #000;
	font-weight: bold;
}

/* Overrides -------------------------------------------------- */

.modal-backdrop {
	z-index: 3;
}

body {
	padding-right: 0 !important;
}

.overflow-ellipsis {
	display: block;
	text-overflow: ellipsis;
	overflow: hidden;
	height: 1.2em;
	white-space: nowrap;
}

.info-icon {
	margin-right: -3px;
	color: gray;
}

.form-group.required .control-label:after {
	content: "*";
	color: #c77;
	font-size: 12px;
	padding-left: 5px;
}

.control-label.required:after {
	content: "*";
	color: #c77;
	font-size: inherit !important;
	padding-left: 5px;
}

.required-char {
	color: #c77;
	font-size: 12px;
}

.ui-tooltip {
	background: #FAFAD0;
	z-index: 999999;
}

.hr {
	clear: both;
}

div.ui-tooltip {
	word-wrap: break-word !important;
}

textarea {
	resize: none
}

.no-border {
	border: 1px white solid;
}

span.nowrap {
	white-space: nowrap;
}

select.readonly {
	background: #eee !important
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
}

.ui-tooltip hr {
	margin-top: 5px !important;
	margin-bottom: 5px !important;
	border-top: 1px solid #575757;
}

.d-none {
	display: none;
}

.hidden {
	display: none !important;
}

span.btn {
	cursor: default;
}

.help-swal .swal-close-button {
	/*
	THIS IS NOT USED
	BUT IF IT WILL BE USED IT NEEDS TO BE REPAIRED BECAUSE CLOSE BUTTON IS TOO
	CLOSE TO CONTENT, IT DOESN'T LOOK NICE
	*/
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	color: #797979;
	font-size: 35px;
}

.help-swal .swal-close-button:hover {
	color: #ff0000;
}

.pull-right {
	margin-right: .5em;
}

.panel-keywords label.title {
	margin-top: 5px;
}

.panel-keywords label.keyword-title {
	margin-left: -15px;
}

.keyword {
	cursor: pointer;
	padding: .25em 1em;
	border-radius: 2px;
}

.keyword:hover {
	background-color: #fcf8e3 !important;
}

.my-jquery-tooltip-styling {
	max-width: 700px;
}

input[type='checkbox'] {
	vertical-align: -1px;
}

.no-wrap {
	white-space: nowrap;
}

.sweet-overlay {
	z-index: 9990 !important;
}

/* Fix sweetalert */

.sweet-alert fieldset input {
	/* Do not display fieldset input */
	display: none;
}

/*Select2 ReadOnly Start*/

select[readonly].select2-hidden-accessible + .select2-container {
	pointer-events: none;
	touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
	background: #eee;
	box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
	display: none;
}

hr.hr-small {
	margin-top: 15px;
	margin-bottom: 15px;
}

.jdmt-logo {
	margin-top: .35em;
}

.font-weight-bold {
	font-weight: bold;
}

.font-format-size {
	font-style: normal !important;
}

.overview-content {
	font-size: 18px;
}

div.font-size-13px {
	font-size: 13px;
}

.badge-label {
	vertical-align: 1px;
}

.not-reached-time {
	font-size: 10px;
	border: none;
	text-align: center;
}

.btn-group-vertical {
	margin-bottom: 30px !important;
}

.buttons-vertical-left {
	padding-right: 5px !important;
}

.buttons-vertical-right {
	padding-left: 5px !important;
}

div.scrolling {
	max-height: 100px;
	overflow-y: auto;
}

div.maintenance {
	width: 35%;
	margin: 0 auto;
}

div.maintenance h3 {
	margin-top: 0;
}

@media only screen and (max-width: 1024px) {

	div.maintenance {
		width: 60%;
	}
}

@media only screen and (max-width: 800px) {

	div.maintenance {
		width: 90%;
	}
}

.infotext {
	margin-top: 10px;
	margin-left: 2em;
	background: white;
	padding: 0.5em;
	border-radius: 3px;
}

.infotext span {
	font-weight: bold;
	text-align: left;
	font-size: 12px;
	margin: 1em;
}

.table-borderless td,
.table-borderless th {
	border: 0;
}

div.has-error textarea.autoresize {
	border: 1px #a94442 solid;
}

.maintenance-timer-div {
	margin-top: 10px;
	margin-left: 2em;
	background: white;
	padding: 0.5em;
	border-radius: 3px;
}

.maintenance-timer-div b {
	text-align: left;
	font-size: 12px;
	margin: 1em;
}

#maintenance-timer {
	margin: 0;
}

.h-300 {
	height: 300px;
}

.sweet-alert {
	z-index: 9998 !important;
}

.extended-info {
	font-weight: bold;
}

.custom-search-button,
.btn-custom-search {
	cursor: pointer;
}

.default-cursor {
	cursor: default !important;
}

.not-logged-out-properly-close-btn {
	position: absolute;
  	top: -140px;
  	right: 0;
  	cursor: pointer;
}

.not-logged-out-properly-close-btn:hover {
	color: #575757d4;
}

h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

label {
    font-weight: bold;
    margin-top: 5px;
}

#table-adverts_paginate,
#table-persons_paginate,
#table-magazines_paginate,
#table-users_paginate,
#table-user-groups_paginate,
#table-configs_paginate {
	margin-top: 1em;
}
