﻿body {
    background-color: #e3e3e3;
}

a, input[type=button] {
    cursor: pointer;
}

    input[type=button]:hover {
        text-decoration: underline;
    }

#SearchContainer {
    display: table;
    width: 100%;
}



#Filters {
    display: table-cell;
    /*width: 225px;*/
    vertical-align: top;
    background-color: #ebebeb;
    padding: 0px;
    max-width: 280px;
}

#FiltersInner {
    /*position: fixed;
    top: 150px;
    bottom: 0;*/
    position: absolute;
    z-index: 9;
    overflow-y: auto;
    padding: 20px 40px 20px 20px;
    width: 300px;
}

#Filters nav, #Filters footer {
    margin-top: 1rem;
    text-align: center;
}

    #Filters nav input[type=button] {
        /*border: 0;
        color: #fff;*/
        display: inline-block;
        margin: 0 5px;
        padding: .3rem .6rem;
    }

        #Filters nav input[type=button]:hover {
            background-color: #ccc;
        }

#Filters .ButtonApply {
    /*background-color: #e7a865;*/
    text-decoration: none;
}

#Filters .ButtonClear {
    /*background-color: #61b5b7;*/
    text-decoration: none;
}


.Filter {
    background-color: #fff;
    padding: .5rem 1rem;
    margin-top: 1rem;
}

    .Filter input {
        /*background-color: #f6f6f6;
        border: 1px solid #ccc;*/
        font-family: inherit;
        margin: .7rem 0;
        padding: .4rem;
        width: 100%;
        box-sizing: border-box;
    }

.FilterSelected {
    padding: .25rem;
}

    .FilterSelected .Close {
        background: url('/Images/close.png');
        float: right;
        height: 16px;
        width: 16px;
    }

#FiltersSeeAll {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    #FiltersSeeAll nav, #FiltersSeeAll footer {
        margin: .5rem 0;
        text-align: center;
    }

        #FiltersSeeAll nav a, #FiltersSeeAll footer a {
            padding: .25rem;
        }

        #FiltersSeeAll nav input {
            min-width: 40%;
            width: 40vw;
        }

#FiltersSeeAllList {
    flex: 1;
    overflow: auto;
}

    #FiltersSeeAllList table {
        /*height: 100%;*/
        margin: 0 auto;
    }

    #FiltersSeeAllList td {
        height: 100%;
    }

    #FiltersSeeAllList label {
        background-color: #f5f5f5;
        border-radius: 5px;
        /*height: calc(100% - 1.5rem);*/
        margin: .25rem;
        padding: .5rem;
        display: flex;
        align-items: center;
    }

        #FiltersSeeAllList label:hover {
            background-color: #efefef;
            cursor: pointer;
        }

        #FiltersSeeAllList label input {
            margin-right: .5rem;
        }

#FiltersPager a.selected {
    font-weight: bold;
    text-decoration: underline;
}

.SeeAllSelections {
    float: right;
}

#results {
    display: table-cell;
    padding: 20px 20px 20px 350px;
    background-color: #f9f9f9;
}

#FullTextSearchTextBox {
    font-size: 1.4em;
    padding: 10px;
    width: 500px;
}

#SearchOperators {
    font-size: 1.4em;
    padding: 10px;
}

#FullTextSearchHref {
    padding: 12px 20px;
    font-size: 1.2em;
    display:inline-block;
    border: 0px;
    background-color: #96ca50 !important; /*Green*/
    color: #fff !important;
    -webkit-transition: ease-in .3s;
    transition: ease-in .3s;
    text-decoration: none;
    margin-left: 4px;
}

    #FullTextSearchHref:hover {
        background: #0386dc !important; /*Blue*/
        text-decoration: none;
        color: #fff !important;
    }



#cartlist {
    padding: 0;
}

    #cartlist li {
        list-style-type: none;
        margin-bottom: 4px;
    }


.SearchAllPostingsTable {
    display: table;
    width: 100%;
}

.SearchAllPostingsTableCellLeft {
    display: table-cell;
    width: 220px;
    vertical-align: top;
    background-color: #ebebeb;
    padding: 20px;
}

.SearchAllPostingsTableCellRight {
    display: table-cell;
    padding: 20px;
    background-color: #e3e3e3;
}

.GreenCheckBox[type=checkbox] {
    display: none;
}

    .GreenCheckBox[type=checkbox] ~ label {
        height: 22px;
        width: 22px;
        display: inline-block;
        padding: 0 0 0 0px;
        background-image: url(/Images/Icon-Add.png);
        cursor: pointer;
    }

    .GreenCheckBox[type=checkbox]:checked ~ label {
        background-image: url(/Images/Icon-remove.png);
        background-repeat: no-repeat;
    }

    .GreenCheckBox[type=checkbox]:disabled ~ label {
        display: none;
    }

.popupselect + label {
    display: none !important;
}

.StudyRow:hover {
    background-color: #f2f2f2;
}

.StudyRow {
    margin-bottom: 20px;
    background-color: #fff;
    -webkit-transition: ease-in .1s;
    transition: ease-in .1s;
}

.StudyRowTitle {
    margin-bottom: 20px;
    padding: 20px;
}

    .StudyRowTitle a {
        color: #0386dc;
    }

.StudyRowDescription {
    margin-bottom: 20px;
    padding: 20px;
}

.StudyRowSponsor {
    margin-bottom: 20px;
    padding: 20px;
    text-align: center;
}

.StudyRowCreated {
    padding: 20px;
    text-align: center;
}

.StudyRowAdd {
    text-align: left;
    white-space: nowrap;
    margin-bottom: 20px;
    padding: 20px;
}

.SearchAllPostingsInstruct {
    padding: 6px;
    font-size: 1em;
    margin-top: 10px;
}

.SearchAllPostingsInstructInside {
    padding-right: 100px;
    padding-left: 20px;
}

.SearchAllPostingsInstructRight {
    vertical-align: middle;
    text-align: right;
    padding: 10px;
}

    .SearchAllPostingsInstructRight .CSDRCTAButton {
        width: 300px;
        margin-right: 10px;
        border-radius: 6px;
        font-weight: bold;
    }

.AdvancedSearch {
    display: none;
}

.CSDRLogo {
    width: 50% !important;
}

.popupselect {
    display: block !important;
    padding: 0 !important;
    left: initial !important;
    top: initial !important;
    position: relative !important;
    max-height: initial !important;
    margin-left: -222px; /* width of box is 22px, margin-left minus difference from width to prevent table moving */
    width: auto;
    text-align: center;
}

.popupboarders {
    border: none !important;
    cursor: pointer;
    list-style-type: none;
}

.saveinprocess, .backtoinprocess {
    display: inline-block;
}

.ListHelper {
    position: relative;
}

    .ListHelper::after {
        content: '';
        background: url('/Images/Icon-ClipBoard.png') #fff no-repeat 50% 50%;
        border-radius: 3px;
        display: block;
        height: 50px;
        width: 40px;
        position: absolute;
        left: 110%;
        margin-left: 5px;
        bottom: 0%;
        margin-bottom: -15px;
        opacity: 0;
        -webkit-transition: opacity 0.5s linear;
        -moz-transition: opacity 0.5s linear;
        -ms-transition: opacity 0.5s linear;
        -o-transition: opacity 0.5s linear;
        transition: opacity 0.5s linear;
        visibility: hidden;
    }

    .ListHelper:hover::after {
        visibility: visible;
        opacity: 1;
    }

ul.ui-menu span {
    display: none;
}

ul.ui-menu a {
    font-size: .75em;
    padding: 1em 0 !important;
}

ul.ui-menu a {
    cursor: pointer;
}

.BPContent {
    padding: 0 0 0 0 !important;
}

#AddToSubmissions li {
    list-style-type: none !important;
}



@media (max-width: 1300px) {
    #SearchContainer, #FiltersInner {
        margin-top: 50px;
    }
}



@media (max-width: 767px) {

    #SearchContainer, #FiltersInner {
        margin-top: 50px;
    }
}
