a.btn.btn-primary.cancel-submit-btn {
    font-size: 1rem;
}

/* So that the footer does not cover content */
.page-footer {margin-top: 5rem;}

/**** font-sizes ****/
h1 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4, .openacs_mdb div.\32know2ManagementPage h2 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 0.75rem;
}

table td {
    font-size: 1rem;
}

.md-form.form-sm label {
    font-size: 1rem;
}
.md-form label.active {
    transform: translateY(-14px) scale(0.95);
    z-index: 200;
}

label.richtext_label, label.richtext_label.active {
    transform: translateY(-23px) scale(0.95);
}

.md-form input, input:-webkit-autofill::first-line, input:-internal-autofill-previewed {
    font-size: 1rem;
}
/**** font-sizes ****/

/**** buttons ****/
.btn {
    border-radius: 5px;
    text-transform: initial;
}
.dropdown .dropdown-menu .dropdown-item:hover {
    border-radius: 5px;
}

/**** buttons ****/

label.timepicker-label,
label.date-picker-label {
    position: relative;
}
.middle {
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

.nav.navbar .navbar-text.swa-nav-system-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-basis: 50%;
    flex-grow: 5;
}

.nav.navbar .navbar-text.swa-nav-system-name span.warning {
    color: red;
}

span#developer_mode.warning:after {
	color:deeppink;
	content:"(LIVE server proceed with caution)";
}

header#header_regular {
    margin-bottom: 2rem;
}

.swa-nav-bar {
    background-color: #e9ecef !important;
}
/* Begin Footer: to place footer at the bottom */
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

table th {
    font-size: 1rem;
}

table th.list-table.sorting_disabled {
    line-height:normal;
    vertical-align: middle;
}

table.table.mdb-searchableTable a.order_link_active {
    display: block;
    float: left;
    width: 80%;
}

table.table.mdb-searchableTable a.order_link_inactive {
    display: block;
    width: 100%;
}

table.table th.list-table img {
    float: right;
}

main {
    flex: 1;
}
/* End Footer */

table .svg-inline--fa.fa-ellipsis-h {
    font-size: 1.5rem;
}
table.dataTable tbody>tr.selected {
    background-color: inherit;
}

table .no-sort::after { display: none!important; }
table .no-sort::before { display: none!important; }

tbody:focus {
    outline: none;
}

/*** help-text css ***/
p.form-help-text {
    margin-top: .5rem;
}
div.form-check + p.form-help-text {
    margin-top: 1.4rem;
}
.select-wrapper input.select-dropdown {
    margin-bottom: 0.5rem;
}
p.form-help-text {
    padding: 0.5rem;
}

p.show-form-help-text {
    display: inline-block;
}

.select-wrapper.mdb-select.half-width {
    margin-bottom: 0;
}

/*** help-text css ***/

.tooltip-inner {
    text-align: left;
    min-width: 25rem;
}

[data-toggle="tooltip"] {
    cursor: pointer;
}
/* De/Select All checkboxes have a bigger margin to the rest of
the checkboxes  */
.noLabel.md-form.form-sm {
    margin-top: 0;
    margin-bottom: 2rem;
}
.md-form.hierarchies:not(.noLabel) {
    margin-bottom: 0.8rem;
}

.md-form {
    margin-bottom: 2.75rem;
    margin-top: 2.75rem;
    padding: 0.1rem;
}

.md-form.form-sm label.form-check-label{
    z-index: 300;
}

/* form-elements  */
@media (min-width: 576px) {
    .half-width {
        width: 50%;
    }
    #complete_login_containter {
        width: 30rem;
    }
}
@-webkit-keyframes autofill {
    to {
    color: #495057;
    background: transparent; } }

    @keyframes autofill {
    to {
    color: #495057;
    background: transparent; } }

    input:-webkit-autofill {
    -webkit-animation-name: autofill;
    animation-name: autofill;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both; }
/* form-elements */

#hide_user_message {
    padding: .6rem 1.25rem;
}

#user_message_text {
    padding-right: 0.5rem;
}

/* login-form */
#id_custom_login_form input:not(.btn) {
    width: 100%;
}
#id_custom_login_form .form-check {
    padding-left: 0;
}

#id_custom_login_form .text-right.w-100 {
    text-align: center !important;
}

.openacs_mdb #complete_login_container.card {
    margin-left: auto;
    padding: 1rem 3rem 0 3rem !important;
    border-radius: 10px;
}

#login-header {
    font-weight: bold;
    text-align: left !important;
    margin-bottom: 5rem;
}

#id_custom_login_form .radio-margin-bottom {
    margin-top: -1.5rem;
    margin-bottom: 0rem;
}

#id_custom_login_form form div:nth-last-child(2) {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#complete_login_container form div:nth-last-child(3) div {
    text-align: center !important;
}

#complete_login_container .form-check {
    margin-bottom: 2rem;
    text-align: center;
}

#complete_login_container #id_recover_password {
    text-align: center;
    margin-bottom: 2.75rem;
}
#id_login_extra_links {
    text-align: center;
    margin-bottom: 2.75rem;
}

#register_form #xoe_toggle_hierarchies a {
    display: block;
}
/* End login-form */

.km_hidden {
	display:none;
}

span img[src$="back.png"], span img[src$="ok.png"], span img[src$="cancel.png"] {
    display: none;
}

/* xowiki content */
.lernmanagement_content #content {
    width: 100%;
}

.xowiki-content #wikicmds {
    margin-bottom: 2rem;
}

.xowiki-content .event-applications span.help_text {
    font-size: 1rem;
}

.xowiki-content .event-applications span.help_text p {
    margin-bottom: 1rem;
}

.xowiki-content .event-applications a.btn.btn.btn-primary {
    display: none;
}

/* End xowiki content */

/* xoevents */
#xoevents_admin_applications {
    margin-top: 2.75rem;
}
#xoevents-master .event-applications .btn.btn-primary {
    min-width: 10rem;
}

#xoevents-master .event-applications td {
    width: 15rem;
}

/* End xoevents */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

/* Yui menu */
.yuimenuitem img {
    display: none;
}

.yuimenu ul li {
    padding: 0.5rem;
}

ul li a.yuimenuitemlabel:focus {
    outline: none;
}
/* Yui menu */

/* administrationsite */
#content .\32know2ManagementPage ul {
    padding-inline-start: 10px;
}

.befragung_content .nav.nav-tabs .nav-link {
    font-weight: 400;
}

.form-check-input[type="checkbox"] + label:before, .form-check-input[type="checkbox"].filled-in + label:after {
    transition: none !important;
}

.display-mode.datepicker-height .date-picker-label {
    display: none;
}

div#main_body form .display-mode.datepicker-height .date-value {
    border: 0;
    width: 100%;
}

.profile-pic .circle_user_potrait {
    object-fit: cover;
    border-radius: 50%;
    height: 20rem;
    width: 20rem;
}

.hide_submit_btns #new_user_form  .md-form.form-sm:last-child {
    display: none;
}

/* ol.breadcrumb li a:after {
    content: ">";
    margin: 0 0.3rem;
}*/

.openacs_mdb div.breadcrumb {
    background-color: inherit;
    padding: 0;
    /* margin-top: 2rem; not needed because of header#header_regular*/
    display: block;
}

.btn.btn-primary.back-btn {
    display: none;
}

/* edit-company popup */
#master_admin_content .yui-panel-container.shadow#new_entity_window_c {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
}

body.openacs_mdb input[type='radio'] {
    -webkit-appearance:none;
    width: 0.8rem;
    height: 0.8rem;
    border-radius:50%;
    outline:none;
  }

input[type='radio']:before {
    content: '';
    display: block;
    width: 62%;
    height: 62%;
    margin: 19% auto;
    border-radius: 60%;
}

.color-widget.form-control {
    margin-top: 40px;
    padding: 0;
    width: 3rem;
}

form div.form-display-mode .col div.form-check,
form div.form-display-mode .form-check-input[type="radio"]:checked + label.form-check-label {
    padding-left: 0;
}

form div.form-display-mode label.form-check-label:before,
form div.form-display-mode label.form-check-label:after {
    display: none;
}

form div.form-display-mode .form-check-input[disabled]~.form-check-label {
    color: revert;
    padding-left: 0;
}

.nav-bar-hidden {
    visibility: hidden;
    display: block !important;
}

input#content_empty, input#content_auto, .choiceInteraction input[type="radio"] {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

#user_message.note.note-success {
    background-color: #e2e3e5B3;
    border-color: #58595a;
}

/********* auto_test **********/
#auto_test .form-item-wrapper {
    border: none !important;
}
#auto_test .form-item-wrapper:has(strong) {
    padding: 0 !important;
}
#auto_test .form-item-wrapper:has(input.base) {
    margin: 1rem 0;
}
#auto_test .form-item-wrapper input.base {
    display: inline-block;
    width: 10rem;
}
#auto_test .form-item-wrapper a.btn {
    margin-top: 12px;
    padding: 0.3rem 1rem;
}
#auto_test .md-form.form-sm > strong,
#auto_test .md-form.form-sm > label {
    font-size: 0.95rem;
    font-weight: 300;
}
#auto_test .md-form.form-sm > label {
    transform: none;
    top: -1rem;
}
#auto_test #xoe_total p {
    margin: 1rem 0!important;
}
#auto_test #xoe_total svg {
    pointer-events:none;
}
/********* auto_test **********/
