﻿* {
    box-sizing: border-box;
}

@media (min-width:768px) {
    .modal-dialog {
        width: 400px;
        margin: 30px auto;
    }

    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: left;
    }

    .col-sm-8 {
        width: 66.66666667%;
    }
}

.form-horizontal .form-group {
    margin-right: 15px;
    margin-left: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
    transform: translate(0);
    transition: transform .3s ease-out, -webkit-transform .3s ease-out, -moz-transform .3s ease-out, -o-transform .3s ease-out;
}

.modal-content {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid;
    border-color: rgba(0,0,0,.2);
    border-radius: 0;
    outline: 0;
    box-sizing: border-box;
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    position: relative;
    padding: 15px;
}

.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    float: left;
}

.row {
    margin-right: -15px;
    margin-left: -15px;
}

.member-body {
    display: flex;
    flex-direction: column;
    font-family: Roboto,Helvetica Neue,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

/* Search filter single-row (used by Members.aspx) */
.filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.filter-label {
    width: 90px;
    white-space: nowrap;
    text-align: right;
    padding-right: 8px;
    font-weight: normal;
}

.filter-input {
    flex: 1 1 360px;
    min-width: 220px;
}

.filter-input .autoFilter,
.autoFilter:not([type='checkbox']) {
    background: Beige url(../assets/img/filter.gif) no-repeat top left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #555555;
    padding: 6px 8px;
    height: 34px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Simple button styles used only by the search row */
.btn {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
}

.btn-primary {
    background: #2a7ae2;
    color: #fff;
    border-color: #1f66c1;
}

.btn-secondary {
    background: #e9e9e9;
}

/* Modal MailTo */
.mailto {
    .container {
        border-style: solid;
        border-width: 1px;
        position: fixed;
        display: flex;
        flex-flow: column;
        top: 10px;
        left: 10px;
        width: 600px;
        padding: 20px;
        background-color: #fff;
        background-clip: padding-box;
        border-color: inherit;
        border-radius: 0;
        outline: 0;
        box-sizing: border-box;
        box-shadow: 0.33em 0.25em 0.6em 0.4em grey;
        color: black;
    }

    .title {
        padding-bottom: 15px;
    }

    .name {
        font-size: 20px;
        font-weight: 700;
    }

    .group {
        position: relative;
    }

    .label {
        float: left;
        width: 120px;
        color: black;
        font-size: 12px;
    }

    .input {
        float: left;
        width: 400px;
        padding-bottom: 15px;
    }

    .message {
        float: left;
        width: 400px;
    }

    .result {
    }

    .footer {
        flex-flow: row;
        padding-top: 15px;
    }

    .button {
        padding: 10px;
        background-color: greenyellow;
        border-radius: 5px;
        border: none;
        width: 200px;
    }

    .send {
        float: left;
    }

    .close {
        float: right;
    }

    .error {
        position: absolute;
        top: 16px;
        font-size: small;
        color: red;
    }
}
/* End MailTo */
