/* Can be used with spanX classes only! */
@media (min-width: 768px) {
    .equal-height {
        display: -webkit-flex !important;
        display: flex !important;
        flex: 1 1 auto !important;
    }
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    /*border-radius: 4px;*/
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

fieldset.checkboxes label, fieldset.radios label {
    cursor: pointer;
                       }
fieldset.checkboxes.notInline .form-check, fieldset.radios.notInline .form-check {
    display: block;
    margin-bottom: 4px;
}

/* Legacy Bootstrap 2.3 classes in articles */

.row-fluid {
    display: flex;
    flex-wrap: wrap;
}
@media (min-width: 576px) {
    .row-fluid > .span4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
    .row-fluid > .span6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* Members Directory */

.members-directory .filters {
    overflow: hidden;
}
.members-directory .filters input[name="filter_search"] {
    width: 100px !important;
}
.members-directory .filters .form-select {
    display: inline-block;
    width: auto;
}
.members-directory .filters #limit {
    width:70px;
}

.members-directory .members > .row {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #EEE;
    overflow: hidden;
}

.members-directory .fields h3 {
    margin-top: 0;
}

.members-directory .fields > div {
    padding: 0 0 5px 0;
    overflow: hidden;
}

.members-directory .fields > div label {
    font-weight: bold;
    float: left;
    width: 120px;
    text-align: right;
    margin-right: 15px;
}

.members-directory .members .links {
    padding-top: 10px;
}

.members-directory .link_hide {
    display: none;
}

.members-directory .row.expanded .link_hide {
    display: inline !important;
}

.members-directory .row.expanded .link_expand {
    display: none !important;
}

.members-directory .row.expanded .hidden {
    display: block !important;
    visibility: visible !important;
}

/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
    .members-directory .filters input,
    .members-directory .filters select {
        display: block;
        float: left;
        clear: left;
    }

}

/* Trials */

.trials .search-form .row {
    margin-left: -5px;
    margin-right: -5px;
}

.trials .search-form .row > div {
    padding-left: 5px;
    padding-right: 5px;
}

.trials .search-form select,
.trials .search-form input {
    margin-bottom: 10px;
    width: 100%;
}

/* Trial page */

.trial-page .page-header h2 {
    color: #59595b;
}

.trial-page h1 {
    margin-bottom: 20px;
}

.trial-page h3 {
    padding: 0;
    margin: 0 0 15px 0;
    color: #6592d5;
}

.trial-page h3.hr {
    border-bottom: 1px solid #b4b4b4;
}

.trial-page table {
    border-collapse: collapse;
    margin: 0 0 15px 0;
    width: 100%;
}

.trial-page td,
.trial-page th {
    border: 1px solid #c6c6c6;
    padding: 10px;
    /*font-size: 13px;*/
}

.trial-page .grey td {
    background: #eceeed;
}

.trial-page th {
    background: #6592d5;
    color: #fff;
    font-weight: normal;
}

.trial-page td span {
    font-size: 13px;
    color: #fff;
    background: #b2b3b5;
    padding: 4px 15px;
}

.trial-page a.button {
    font-size: 13px;
    color: #fff;
    background: #b2b3b5;
    padding: 4px 15px;
    cursor: pointer;
}

.trial-page a.button.full {
    display: block;
    width: 100%;
    position: relative;
}

.trial-page a.button.full:after {
    content: "";
    position: absolute;
    right: 7px;
    top: 7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 12px;
    border-color: transparent transparent transparent #ffffff;
}
.trial-page a.button.full.opened:after {
    border-width: 12px 6px 0 6px !important;
    border-color: #ffffff transparent transparent transparent !important;
}

#trial-map-canvas {
    margin: 20px 0;
    border: 1px solid #c6c6c6;
}

.trials-table {
    border-collapse: collapse;
    margin: 0 0 15px 0;
    width: 100%;
    position: relative;
    z-index: 999;
    background: #ffffff;
}

.trials-table td,
.trials-table th {
    border: 1px solid #c7c7c7;
    padding: 0;
    color: #fff;
    vertical-align: top;
}

.trials-table th {
    padding: 10px;
}

/*.trials-table .placeholder {
    background: url("../images/trials-table.png") center center no-repeat #d9dadc;
}*/

.trials-table .light-grey {
    background: #bcbdbf;
}

.trials-table .blue {
    padding: 10px;
    background: #6592d5;
}

.trials-table th {
    background: #a7a8aa;
    color: #fff;
    font-weight: normal;
}

.trials-table td > a {
    display: block;
    padding: 10px;
    color: #fff !important;
    text-align: center;
    border-top: 1px solid #c7c7c7;
    white-space: nowrap;
}

.trials-table td > a:first-child {
    border-top-color: transparent;
}

.trials .table-key {
    text-align: right;
    margin-bottom: 20px;
    color: #ffffff;
}
.trials .table-key a {
    float: left;
}
.trials .table-key span {
    display: inline-block;
    padding: 1px 10px;
    color: #fff;
    font-size: 12px;
}

.trials-map .trial-badge {
    float: right;
    background: #1879be;
    width: 80px;
    margin: 0 0 5px 5px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    padding: 0;
    font-size: 11px;
    line-height: 22px;
}
.trials-map .trial-badge::before {
    content: "";
    display: block;
    width: 100%;
    height: 70px;
    background-image: url("../images/trial-badge.png");
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 10px solid #fff;
}

/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
    .trials .table-key {
        text-align: center;
        margin-bottom: 20px;
    }
    .trials .table-key a {
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }

    .trials .table-key span {
        display: block;
        margin-bottom: 2px;
    }
}

/* Trial add form */

input.input-xxlarge.site_name {
    width: 100%;
}

/* Smart Search (Finder) */

/* hide author, category, language */
.com-finder__filter .control-group:nth-child(1),
.com-finder__filter .control-group:nth-child(2),
.com-finder__filter .control-group:nth-child(4) {
    display: none;
}

/* Join us */

.membership-section {
    margin: 20px 0;
    text-align: center;
    color: #1478CD;
}
.membership-section thead th {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: smaller;
}
.membership-section tbody td {
    border: 1px solid #ccc;
    padding: 5px;
}
.membership-section tbody td:first-child {
    text-align: left;
    padding: 10px;
}
.membership-section td.yes p:before {
    content: url("../images/green-tick.png");
}
.membership-section td.no p:before {
    content: url("../images/close-icon.png");
}
.membership-section .separator td {
    border: none;
}

@media (max-width: 1199px) {
    .membership-section thead {
        display: none;
    }

    .membership-section td {
        display: block;
        text-align: left;
        overflow: hidden;
        padding: 10px !important;
        width: 100% !important;
    }

    .membership-section td:not(:first-child) p {
        float: right;
    }

    .membership-section td:not(:first-child) {
        border-top: none !important;
    }
}

/* Docman - Resources */

.docman_list_layout > .docman_category {
    display: none;
}

.koowa .koowa_header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.koowa .koowa_header__item {
    vertical-align: top;
}

.docman_block .sort {
    padding: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #DDDDDD;
    border-bottom: 1px solid #CCCCCC;
}

.docman_block .sort span {
    float: left;
}

.docman_block .sort a {
    float: left;
    margin-left: 20px;
}

.docman_block .sort a.active {
    font-weight: bold;
    text-decoration: underline;
}

.com_docman .docman_download {
}

.com_docman .docman_document {
    overflow: hidden;
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #EEE;
    position: relative;
}

.com_docman .docman_document .docman_document_details {
    font-style: italic;
    border: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0;
}

.com_docman .docman_document .docman_download {
    width: auto !important;
    margin: 0 !important;
    position: absolute;
    right: 0;
    bottom: 0;
}

.com_docman .docman_document .docman_download__button {
    margin: 0 !important;
    font-size: 14px !important;
    background: #1478CD !important;
    border: medium none;
    color: #FFFFFF !important;
    padding: 4px 22px !important;
}

.com_docman .docman_document .docman_download__button:hover {
    background: #FFCF00 !important;
}

.docsSearch {
    margin: 5px 0 0 0;
}

.docsSearch label {
    display: inline;
}

.docsSearch #docSearch {
    margin: 0;
}

.k-visually-hidden {
    display: none;
}

.docman_list_layout .docman_download {
    display: none;
}
.docman_list_layout .docman_sorting.form-search {
    display: none;
}
.docman_list_layout .docman_block > .koowa_header {
    display: none;
}

.select2-container li.select2-search--inline {
    margin: 0;
}
.select2-container--bootstrap .select2-results__option {
    margin: 0;
}

body.page567 .item-text .moduletable._cameron {
    overflow: visible;
    padding: 0;
}
body.page567 .item-text .moduletable._cameron .control-group > label {
    display: block;
    margin-bottom: 5px;
}
#docCat {
    width: 100%;
}

.k-checkbox-dropdown-content .form-group {
    margin-bottom: 20px;
}
.k-checkbox-dropdown-content input.form-control.input-block-level {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}
