/**
 * mnhn-wp-login plugin
 * style.css
 */

/*
    A preprocessor with inheritence would be nice here ;)
    --> See forum Wordpress project!
*/
.hide {
    display: none;
}

.r2l {
    text-align: right;
}

.text-center {
    text-align: center;
}

.hint {
    font-size: .9em;
    font-style: italic;
}

ul.spaced > li {
    margin-top:.5em;
}

.spaced {
    margin:1em 0;
}

.spaced2 {
    margin-bottom:2em;
}

.spaced3 {
    margin-bottom:3em;
}

.mnhn-wp-error {
    color:white;
    padding: .5em;
    margin: 1em 0;
    background-color: #d9534f;
    border: 1px solid #d9534f;
    border-radius: 2px;
}

.mnhn-wp-success {
    color:white;
    padding: .5em;
    margin: 1em 0;
    background-color: #6bbf46;
    border: 1px solid #6bbf46;
    border-radius: 2px;
}

.mnhn-wp-notice {
    color:white;
    padding: .5em;
    margin: 1em 0;
    background-color: #f0ad4e;
    border: 1px solid #f0ad4e;
    border-radius: 2px;
}

.mnhn-wp-info {
    color:white;
    padding: .5em;
    margin: 1em 0;
    background-color: #529bda;
    border: 1px solid #529bda;
    border-radius: 2px;
}

.mnhn-wp-error.negative {
    color: #d9534f;
    background-color: #FFF;
}

.mnhn-wp-error.negative > span.dashicons {
    background-color: rgba(217,83,79, 0.1);
}

.mnhn-wp-success.negative {
    color: #6bbf46;
    background-color: #FFF;
}

.mnhn-wp-success.negative > span.dashicons {
    background-color: rgba(107,191,70, 0.1);
}

.mnhn-wp-notice.negative {
    color: #f0ad4e;
    background-color: #FFF;
}

.mnhn-wp-notice.negative > span.dashicons {
    background-color: rgba(240,173,78, 0.1);
}

.mnhn-wp-info.negative {
    color: #529bda;
    background-color: #FFF;
}

.mnhn-wp-info.negative > span.dashicons {
    background-color: rgba(82,155,218, 0.1);
}

.mnhn-wp-notification {
    margin: .5em 0;
    position:relative;
}

.mnhn-wp-notification > div.notification-text {
    font-size: 1.1em;
    line-height: 20px !important;
    margin-left: 36px;
    min-height: 24px;
}

.mnhn-wp-notification > span.dashicons {
    position:absolute;
    margin-right: .1em;
    padding: .1em .15em;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.mnhn-wp-notification > strong.lang:first-child {
    position:absolute;
    max-width: 22px;
    overflow: hidden;
    margin-right: .1em;
    padding: .2em .3em;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    font-size: 14px;
}

.mnhn-wp-error a, .mnhn-wp-success a, .mnhn-wp-notice a, .mnhn-wp-info a {
    cursor: pointer;
    font-weight: bold;
    color: #efefef;
    text-decoration: underline;
}

.mnhn-wp-error a:hover, .mnhn-wp-success a:hover, .mnhn-wp-notice a:hover, .mnhn-wp-info a:hover {
    color:white;
}

.mnhn-wp-notification.negative a {
    color: #b7b7b7;
}

.mnhn-wp-notification.negative a:hover {
    color: #c7c7c7;
}

.mnhn-wp-green {
    background-color: rgb(8, 207, 8);
}

.mnhn-wp-orange {
    background-color: orange;
}

.mnhn-wp-red {
    background-color: red;
}

div.mnhn-add-participant-action {
    margin-top: 20px;
    text-align: right;
}

.bright-red {
    font-style: normal;
    color: red;
}

.warning-text {
    color: #f0ad4e;
}

em.bold-red, .bold-red {
    font-weight: bold;
    color: red;
}

.mnhn-login-intro {
    margin: 10px 0 20px 0;
}

.mnhn-mandatory-fields {
    font-weight: bolder;
}

.mnhn-wp-paginator {
    margin: 10px 0;
    text-align: center;
}

.mnhn-wp-debug {
    margin: 5px;
    padding: 3px;
    border: 1px dashed black;
}

.activity-list .activity-row .activity-title {
    min-width: 50%;
}

.activity-list .activity-row td {
    border-top: 1px solid #cccccc;
}

.activity-list .activity-row td:first-of-type {
    border-left: 1px solid #ccc;
}

.activity-list .activity-row td:last-of-type {
    border-right: 1px solid #ccc;
}

.activity-list .addon-data td {
    border-right: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
}

.activity-list .activity-row .list-actions a {
    text-decoration: none;
}

.mnhn-actions a {
    text-decoration: none;
}

.mnhn-smallprint {
    font-size: 9pt;
}

.mnhn-activity-box {
    border: 1px solid black;
    border-radius: 5px;
    padding: 3px;
    margin: 3px;
    width: 45%;
    float: left;
}

/*
 * Needs to be able to override section#main h1
 */
.mnhn-activity-box .activity-title h1 {
    font-size: 16px !important;
    font-weight: bold;
}

section#main h1.wpl-participants-legend {
    font-size: 18px;
    text-decoration: underline;
}

.mnhn-activity-box .activity-title .action-remove {
    float: right;
    text-decoration: none;
    font-weight: bold;
    color: red;
}

.mnhn-activity-box .activity-details {
    font-size: 14px;
}

.mnhn-activity-box .activity-details .label {
    font-weight: bold;
}

.mnhn-activity-list th {
    background-color: #eee;
}

.mnhn-activity-list .activity-row td {
    padding: 10px;
}

.mnhn-activity-list .activity-row .activity-title .activity-detail {
    font-size: small;
}

/* Most of this is probably going to be overriden by section#main h3 */
.mnhn-activity-list .activity-row .activity-title h3 {
    font-size: larger;
    line-height: 1em;
    margin: 0.1em 0 1em 0 !important;
}

.mnhn-activity-list .activity-row .activity-status {
    max-width: 20%;
}

.mnhn-multi-registration .multi-box-wrapper:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;

}

.mnhn-multi-registration .participant-row {
    margin-top: 5px;
}

.mnhn-multi-registration .participant-row:first-of-type {
    margin-top: 10px;
}

.participant-row textarea {
    display: block;
}

.mnhn-reg-pending {
    font-style: italic;
    background-color: aliceblue;
}

.mnhn-upperpad {
    margin-top: 10px;
}

.mnhn-account-migrate {
    margin-top: 10px;
}

p.mnhn-account-intro {
    font-size: 11pt;
}

p.mnhn-account-intro.login-failed {
    color: red;
}

.mnhn-account-details {
    margin-top: 10px;
}

.disambiguation-items {
    display:table;
    border-collapse: collapse;
    margin-bottom: 1em;
}

.mnhn-disambiguation-item {
    display:table-row;
    border-bottom: 1px solid #CCCCCC;
}

.mnhn-disambiguation-item .disambiguation-options {
    display: table-cell;
    padding: .5em 0;
}

.mnhn-disambiguation-item .disambiguation-details {
    display: table-cell;
    padding: .5em 0 .5em .5em;
}

.mnhn-disambiguation-item .disambiguation-details .item-details {
    font-style: italic;
}

.disambiguation-newmain .newmain-form {
    display: none;
}

.activity-row .activity-row-actions a {
    text-decoration: none;
}

th.participant-list-header {
    background-color: rgb(242, 242, 242);
    font-weight: normal;
    text-transform: none;
}

.participant-phone-numbers,
.participant-payment-info {
    font-size: 85%;
}

.participant-list-note {
    font-size: 80%;
    font-style: italic;
}

table.wp-list-table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #efefef;
    border-radius:2px;
}

table.wp-list-table th, table.wp-list-table td {
    border: 1px solid #e9e9e9;
}

table.wp-list-table th {
    font-size:1.1em;
    padding:.3em;
}

table.wp-list-table th:nth-of-type(3) {
    min-width: 90px;
}

table.wp-list-table td {
    padding:.2em;
}

table.wp-list-table td > p {
    margin:0;
}

table.wp-list-table tr:nth-of-type(2n+3) {
    background-color: #fbfbfb;
}

.science-club table.wp-list-table tr.participant-self {
    background-color: #dce;
}

.panda-club table.wp-list-table tr.participant-self {
    background-color: #fce1c6;
}

.mnhn table.wp-list-table tr.participant-self {
    background-color: #eee2cc;
}

table.wp-list-table tr.participant-self {
    background-color: #ececec;
}

table.wp-list-table tr.participant-self > td:first-child {
    font-weight: bold;
}

table.wp-list-table tr.participant-self em {
    font-weight: bold;
}

.register-activity-intro {
    border: 1px solid black;
    padding: 5px;
}

.mnhn-activity-header {
    text-align: center;
    border: 1px solid black;
    margin-bottom: 10px;
}

.mnhn-activity-header span {
    margin-right: 10px;
}

.mnhn-activity-detail .print-button {
    margin-top: 10px;
}

.mnhn-activity-detail .participant-list-report-form {
    font-size: 80%;
    border: 1px solid black;
    padding: 8px;
    margin: 10px 0 10px 0;
}

.mnhn-activity-detail .registration-comment {
    font-size: 80%;
}

ul.participant-list-selector {
    margin: 10px;
    list-style-type: none;
}

ul.participant-list-selector li {
    display: inline;
    padding: 0 3px 0 5px;
    border-right: 1px solid #CCCCCC;
}

ul.participant-list-selector li:last-of-type {
    border: 0;
}

ul.participant-list-selector li.active {
    border-bottom: none;
    background-color: rgb(207, 207, 207);
}

.participant-member-info {
    display: inline;
    font-size: 80%;
}

.participant-list-summary {
    font-size: 80%;
    text-decoration: underline;
}

.participant-member-info.outofrange {
    color: red;
}

input.outofrange {
    border: 1px solid red;
}

#mnhn-wp-login-reg-house {
    width: 5em;
}

#mnhn-wp-login-reg-complement {
    width: 3em;
}

label.two-column:first-of-type {
    float:left;
    margin-right:5px;
}

.submit-notification {
    font-size: 90%;
    color: red;
    margin-left: 20px;
}

.input-container {
    padding: 10px 0 10px 0;
}

.form-set {
    padding-top: 10px;
}

.form-set .help-text {
    display: block;
    font-size: 90%;
    color: gray;
}

.form-section {
    margin-top: 10px;
}

.single-column {
    float: none;
    clear: both;
}

.single-column textarea,
.single-column input[type="text"],
.single-column input[type="email"] {
    width: 100%;
}

.single-column h5 {
    margin: 30px 0 10px 0;
}

.double-column {
    width: 47%;
    display: inline-block;
    padding-right: 10px;
    vertical-align: top;
    margin-bottom: 20px;
}

.double-column input[type="text"],
.double-column input[type="number"],
.double-column input[type="password"] {
    width: 220px;
}

.form-row {
    padding: .5em 0;
    border-bottom: 1px solid #efefef;
}

.form-row > label {
    display:inline-block;
    width: 160px;
}

.form-row > input {
    width: 220px;
}

.form-row + .form-submit {
    margin-top: 2em;
}

.participant-form input.invalid,
.nonuser-register-form input.invalid,
.participant-form select.invalid,
.nonuser-register-form select.invalid {
    border: 1px solid red;
}

.participant-form #pw_sub_period {
    width: 95%;
    margin: 0 auto;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    padding: .5em 0;
}

.participant-form #pw_sub_period > p:last-child {
    margin-bottom: 0;
}

.nonuser-register-form input.valid {
    border: 1px solid rgb(0, 255, 10);
}

.nonuser-register-form .age-validity-info {
    font-size: 80%;
}

.participant-form label,
.nonuser-register-form label {
    font-weight: 600;
}

.participant-form label > .label-text {
    display:inline-block;
    margin: .3em 0;
}

.participant-form label.required > span.label-text:after {
    content:"*";
    padding-left: .2em;
    font-weight: bold;
    color:red;
}

em.mnhn-wpl-warning {
    font-weight: bold;
    color: red;
}

@media screen {
    .print-only {
        display: none !important;
    }
}

@media print {
    h1, #masthead {
        display: none !important;
    }

    .mnhn-activity-detail-brief table,
    .mnhn-activity-detail table {
        font-size: 90%;
        page-break-inside: avoid;
    }

    .mnhn-activity-detail table td {
        padding: 4px;
    }

    .content-area {
        margin: 0;
        padding: 0;
    }

    .no-print {
        display: none !important;
    }
}

#overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    top: 0;
    left: 0;
    opacity: 0.6;
    background-color: #000;
    filter: alpha(opacity=60);
}

#modal {
    z-index: 1000;
    position: absolute;
    background:rgba(0,0,0,0.2);
    border-radius:14px;
    padding:8px;
    max-width: 500px;
}

#modal-content {
    border-radius:8px;
    background:#fff;
    padding:20px;
}

#modal-close {
    position:absolute;
    background:url(../img/close.png) 0 0 no-repeat;
    width:24px;
    height:27px;
    display:block;
    text-indent:-9999px;
    top:-7px;
    right:-7px;
}

.mnhn-modal-footer {
    float : right;
    margin-right: -20px;
}

.mnhn-modal-footer-button {
    width : auto;
    min-width: 100px;
    margin-top : 28px;
    margin-left: 5px;
    vertical-align: middle;
}

.mnhn-form-wrapper {
    border: 1px solid #ccc;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
}

.mnhn-form label {
    font-weight: bold;
}

input.mnhn-signup-form {
    width: 80%;
}

.section-label {
    font-weight: bold;
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
    min-width: 20%;
}

span.section-description {
    display: block;
    font-size: 80%;
}

.section-content {
    min-width: 75%;
    display: inline-block;
}

input.emancipation-modal-field {
    width : 100%;
}

.registration-login-box {
    padding: 5px;
    border: 1px solid black;
    border-radius: 3px;
}

.registration-login-box-signin {
    display: table-cell;
    padding-right: 10px;
    border-right: 1px solid black;
}

.registration-login-box-signup {
    display: table-cell;
    padding-left: 10px;
    min-width: 40%;
}

.mnhn-registration-wrapper {
    width: 100%;
}

.user-registration-section {
    display: inline-block;
    max-width: 48%;
    margin: 20px 12px 0 0;
    padding: 0 10px;
    border-right: 1px solid #ccc;
}

.non-user-registration-section {
    vertical-align: top;
    display: inline-block;
    max-width: 48%;
    margin-top: 20px;
}


button.button-green {
    background-color: #24890d;
    border: 0;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    padding: 10px 30px 11px;
    text-transform: uppercase;
    vertical-align: bottom;
    display: inline-block;
    cursor: pointer;
}

button.button-green:hover {
    background-color: #41a62a;
    color: #fff;
    text-decoration: none;
}

/* Themes could override this by being more specific if they wanted to */
.widget.mnhn-wp-login_widget .mnhn-widget-menu ul.menu {
    list-style-type: none;
}

/* Special Mobile Overwrite rules START */
body.smartphone .double-column {
    width: 100%;
    display: block;
}
/* Special Mobile Overwrite rules END */

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

/**
 *  Datepicker color scheme
 */
/*
 .datepicker-top-left, .datepicker-top-right {
     border-top-color: #397 !important;
 }

 .datepicker-top-left::before, .datepicker-top-right::before {
     border-bottom-color: #397 !important;
 }

 .datepicker-panel > ul > li.picked, .datepicker-panel > ul > li.picked:hover {
    color: #397 !important;
}*/
