tbody, tr, td {
    border: 0;
}

input, select, textarea {
    color: #2f2f2f;
}

.modal-dialog {
    width: 100%;
    height: auto;
    padding: 0;
    margin: auto;
}

.modal-content {
    width: 100%;
    height: auto;
    border-radius: 0;
    padding: 50px;
}

.close-card {
    cursor: pointer;
}

.valid-tooltip,
.invalid-tooltip {
    //position: relative;
}

.breadcrumb {
    background-color: inherit;
}

.table-borderless td, .table-borderless th, .table-borderless tr, .table-borderless > tbody {
    border: none !important;
}

.table-text-center th, .table-text-center td {
    text-align: center;
}

.table-vcenter > tbody > tr > td {
    vertical-align: middle;
}

.nav-tabs {
    margin: auto 0 !important;
}

.nav-tabs .nav-item {
    list-style-type: none;
}

.nav-item a.nav-link:hover,
.nav-item a.nav-link.active {
    color: #fff !important;
    background-color: #00557D !important;
}

.nav-valign-middle li {
    vertical-align: middle;
}

.nav-valign-bottom li {
    vertical-align: bottom;
}

.alertbar {
    background-color: #ffffff;
    color: #ff0000;
    display: block;
    line-height: 45px;
    height: auto;
    position: relative;
    text-align: center;
    text-decoration: none;
    top: 0px;
    width: 100%;
    z-index: 100;
}

.match-listing th, .match-listing td {
    text-align: left;
}

.match-listing button {
    margin: 20px 0 0;
}

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

a.btn, a.btn:visited {
    color: white !important;
}

/* gravity forms repeater field (BETA) */
.gfield_repeater_buttons .add_repeater_item_text,
.gfield_repeater_buttons .remove_repeater_item_text {
    color: #336666 !important;
    padding: 0px 10px 0px 10px;
}

/* gravity forms popup dialog */
.gf_popup_form_container .modal-dialog {
    max-width: 100% !important;
}
.gf_popup_form_container .modal-dialog .close {
    background-color: #fff !important;
    color: #b40b1c !important;
}
.gf_popup_form_container .modal-dialog .modal-title {
    position: absolute !important;
}

/* gravity forms for surveys */
#content ul li.gfield {
    padding-top: 30px !important;
}
#content .gform_wrapper .ginput_container {
    padding-right: 16px !important;
}
#content .gform_wrapper .gf_right_half {
    padding-left: 20px !important;
    padding-right: 16px !important;
}
#content .gsurvey-likert-choice-label {
    padding-right: 20px !important;
}

#content div.thumbnail,
#content div.thumbnail img {
    border: none !important;
}

.info-notice {
    border: 1px solid #336666;
    padding: 20px;
    margin-top: 20px;
}

.info-notice ol,
.info-notice p,
.info-notice ul {
    margin-bottom: 0;
}

.alert-dismissible .close {
    color: black !important;
}

/* base form styles */
.form-application {
    line-height: 1.4;
}
.form-group {
    background: #fff;
    position: relative;
    margin-bottom: 2em;
    //padding: 0 10px 20px;
}
.form-group ul {
    list-style: none;
    margin: 0 0 2em;
    padding: 0;
}
.form-group li {
    margin-bottom: 0.5em;
}
.form-group h3 {
    margin-bottom: 1em;
}
.form-fields li {
    display: block;
}
.form-fields input[type="text"],
.form-fields input[type="tel"],
.form-fields input[type="url"],
.form-fields input[type="email"],
.form-fields input[type="tel"],
.form-fields input[type="number"],
.form-fields select {
    box-sizing: border-box;
    padding: 0.6em 0.8em;
    color: #999;
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9em;
    text-decoration: none;
    line-height: normal;
    max-height: 3em;
}
.form-fields input[type="text"]:focus,
.form-fields input[type="tel"]:focus,
.form-fields input[type="url"]:focus,
.form-fields input[type="email"]:focus,
.form-fields input[type="tel"]:focus,
.form-fields input[type="number"]:focus,
.form-fields textarea:focus,
.form-fields select:focus {
    color: #333;
    border: 1px solid #C17CCF;
    outline: none;
    background: #f2f2f2;
}
.form-fields textarea {
    display: block;
    box-sizing: border-box;
    font: 0.9em Lato, Helvetica, sans-serif;
    height: 6em;
    overflow: auto;
    padding: 0.6em 0.8em;
    color: #999;
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    line-height: normal;
}
.submit-btn {
    border-radius: 0px 2px 2px 0px;
    box-sizing: content-box;
    background: #8B798C;
    font-weight: 300;
    text-transform: uppercase;
    color: white;
    padding: 0.35em 0.75em;
    border: none;
    font-size: 1.1em;
    text-decoration: none;
    cursor: pointer;
}
.submit-btn:hover, .submit-btn:focus {
    background: #C17CCF;
}

.waves-input-wrapper {
    padding: 0;
}

/* flex it */

/*
.form-application {
    display: flex;
    flex-wrap: wrap;
    -margin-right: -2em;
}
.form-group {
    flex: 1 0 100%;
    -margin-right: 2em;
}
.form-submit {
    flex: 0 0 100%;
}
.form-fields div[class*=cke_editor],
.form-fields input[type="text"],
.form-fields input[type="tel"],
.form-fields input[type="url"],
.form-fields input[type="email"],
.form-fields input[type="tel"],
.form-fields input[type="number"],
.form-fields select {
    width: 95%;
}
.form-fields label {
    width: 95%;
}
.form-tabular {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 0 0 !important;
}
.form-tabular li {
    display: flex;
    flex-flow: row wrap;
    flex: 1 0 15em;
}
.form-tabular-block {
    width: 100%;
}
.form-tabular-boolean {
    justify-content: left;
}
.form-tabular-boolean li {
    flex: 0 0 8em;
}
@media (max-width: 420px) {
    body {
        width: 100%;
        margin: 0;
        padding: 0 0 2em;
    }

    header, .form-submit {
        padding: 2% 5%;
    }

    .form-fields li {
        flex-basis: 100%;
    }
    .form-fields li > * {
        width: 100% !important;
    }
}
*/

/* tinymce */
.mce-btn .mce-txt {
    color: #595959 !important;
}

article.page {
    padding: 0;
}

.entry-header {
    padding: 15px;
    margin: 0;
}

.entry-content {
    padding: 15px;
}

.row {
    padding: 0;
    margin: 0;
}

.error {
    color: red;
}

.error ~ .select2-container {
    border-color: rgb(185, 74, 72) !important;
}

.page-fc-application .no-list-style-type li {
    list-style-type: none !important;
    margin: 0 !important;
}

.list-group-item {
    border: 0;
}

@media print {

    .pmpro_a-print {display: none; position: absolute; left: -9999px; }

    a[href]:after {
        content: none !important;
    }

    #menu-mainmenu, #search-2, #sidebar, .navigation, .sidebar, .footer, .pmpro_actionlinks {
        display: none;
    }

    #pmpro_invoice_table th, #pmpro_invoice_table td {
        padding: 20px;
    }

    #content {
        width: 8in !important;
    }

    .profile-fields td {
        border: 0 !important;
    }
}

@media only screen and (max-width: 768px) {
    .wrap, .entry {
        padding-left: 0;
        padding-right: 0;
    }
    .entry-header {
        padding: 0.5rem;
        margin: 0.2rem;
    }
    .entry-content {
        padding: 0.5rem;
        margin: 0;
    }
    .modal-content, .container {
        padding: 0;
        margin: 0;
    }
    article.page {
        padding: 0;
    }
    table {
        margin-bottom: 1rem;
    }

    /* Force table to not be like tables anymore */
    .responsive-stacked-table table,
    .responsive-stacked-table thead,
    .responsive-stacked-table tbody,
    .responsive-stacked-table th,
    .responsive-stacked-table td,
    .responsive-stacked-table tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .responsive-stacked-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .responsive-stacked-table tr { border: 1px solid #ccc; }

    .responsive-stacked-table td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 25%;
        white-space: normal;
        text-align:left;
    }

    .responsive-stacked-table.with-mobile-labels td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }

    /*
    Label the data
    */
    .responsive-stacked-table.with-mobile-labels td:before { content: attr(data-title); }

    /*
    Remove extra padding
     */
    .card-body [class|=col] {
        padding: 0;
    }

    /*
    Increase Icon sizes
     */
    .fa {
        font-size: 25px;
        padding: 0 0.5rem;
    }

}

.ui-widget-header, .ui-state-default {
    background: #336666;
    border: 1px solid #336666;
    color: #FFFFFF;
    font-weight: bold;
}

.ui-button {
    background: #337c7c !important;
}

.ui-updated {
    background-color: #076d07;
    color: white;
}

.gf_entry_wrap .entry-view-field-name {
    font-weight: bolder;
}

.gf_entry_wrap .entry-view-section-break {
    font-size: 1.2rem;
}