﻿div#applicant-ethics-form {
    /*   border: 1px solid darkgray;
    padding: 0 5px 5px 5px;*/
}

#applicant-ethics-form .panel-heading {
    padding-top: 0px;
    padding-bottom: 0px;
}

#applicant-ethics-form .file-upload-group button,
#applicant-ethics-form .file-upload-group button.btn-primary:hover,
#applicant-ethics-form .file-upload-group button.btn-primary:active,
#applicant-ethics-form .file-upload-group button.btn-primary:focus {
    background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
    background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
    background-repeat: repeat-x;
    color: #000;
    border: 1px solid #ddd;
}

    #applicant-ethics-form .file-upload-group button.btn-primary:hover,
    #applicant-ethics-form .file-upload-group button.btn-primary:active,
    #applicant-ethics-form .file-upload-group button.btn-primary:focus {
        background-color: #e8e8e8;
    }

#WhereMapContainer {
    float: left;
    width: 100%;
    height: 400px;
    margin-bottom: 50px;
}

#WhereMapCanvas {
    border: 2px solid #666666;
    width: 100%;
    left: 50%;
    height: 400px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    transform: translateX(-50%);
}

.TabIntro {
    border-left: 2px solid;
    padding-left: 5px;
    color: #2C3539;
}

.btn {
    margin: 3px;
}

.warning-div {
    width: 100%;
    height: 0;
    max-height: 0;
    transition: all ease-out .75s;
    opacity: 0!important;
}

.warning-span {
    background-color: firebrick;
    color: antiquewhite;
    height: inherit;
    opacity: inherit;
}

.use-my-details {
    margin-top: 10px;
    margin-bottom: 10px;
}

#ConsentCheckBox {
    float: left;
    display: inline-block;
}

.consentDescription {
    float: left;
    margin-left: 5px;
    display: inline-block;
    max-width: 80%;
}
.table > tbody > tr > td {
    vertical-align: middle;
}

.comment {
    border: 1px solid #eee;
    background-color: #fafafa;
    border-radius: 4px;
    padding: 15px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.admin-notes {
    padding: 10px;
}

.admin-notes-hidden {
    display: none;
}

.comment input#submitComment,
.comment label {
    top: 50%;
    transform: translateY(50%);
}

.comment textarea {
    margin-left: 5px;
}

#ReviewTable_wrapper {
    max-width: 100%;
    overflow-x: auto;
    max-height: 100%
}

.ReviewTableForm,
.ReviewTableForm .row,
.ReviewTableForm .col-sm-12{
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
    margin-left: 0;
    margin-top: 15px;
    margin-bottom: 15px;
}

.PI-Details + button {
    float: left;
}

.submit-buttons-section {
    margin-top: 10px;
}

.feedback-box {
    max-width: 100%;
}

.reviewOrg-div, .notifications-table {
    position: relative;
    border: lightgray 1px solid;
    margin: 10px;
    padding: 8px;
    border-radius: 3px;
}

.dummy-textarea {
    width: auto;
    display: inline-block;
    border: 1px inset #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.3em;
    background-color: transparent;
    font: small courier, monospace black;
    cursor: default;
}

.details-highlighted {
    border: 1.5px rgba(222, 198, 25, 0.86) solid
}

.details-highlighted:hover {
    border: 1.5px rgba(222, 198, 25, 0.86) solid;
    outline: none;
}

.details-highlighted:focus {
    border: 1.5px rgba(222, 198, 25, 0.86) solid;
    outline: none;
}

div.dataTables_filter {
    text-align: left !important;
}

.dummy-filled-bubble {
    display: inline-block;
    background: darkgray;
    border: inset 2px darkgray;
    cursor: not-allowed;
    border-radius: 100%;
    height: 14px;
    width: 14px;
    margin: 0;
}

.dummy-empty-bubble {
    display: inline-block;
    background: white;
    border: inset 2px darkgray;
    cursor: not-allowed;
    border-radius: 100%;
    height: 14px;
    width: 14px;
    margin: 0;
}

.glyphicon::before {
    margin-right: 5px;
}

input[type=checkbox].css-checkbox {
    position:absolute; z-index:-1000; left:-1000px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;
}

input[type=checkbox].css-checkbox ~ label.css-label {
    padding-left: 22px;
    padding-top: 0;
    height:17px; 
    display:inline-block;
    line-height: 14px;
    background-repeat:no-repeat;
    background-position: 0 0;
    font-size:14px;
    font-weight: normal;
    cursor:pointer;

}

input[type=checkbox].css-checkbox:checked ~ label.css-label {
    background-position: 0 -17px;
}

label.css-label {
    background-image:url("Images/csscheckbox.png");
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#IsPIPrimaryContact:checked ~ div#PrimaryContactSection {
    display: none;
}

#IsPIResearchSupervisor:checked ~div#ResearchSupervisorSection {
    display: none;
}

#EthicsInterviewingResidentsNo:checked ~ div#YesOptionalBlockEthics {
    height: 0;
    width: 0;
    max-width: 0;
    max-height: 0;
}

#EthicsInterviewingResidentsYes:checked ~ div#YesOptionalBlockEthics {
    height: auto;
    width: auto;
    max-width: 10000px;
    max-width: 10000px;
}

#EthicsInterviewingResidentsNo:checked ~ div#YesOptionalBlockEthics * {
    display: none;
    opacity: 0;
}

#EthicsInterviewingResidentsYes:checked ~ div#YesOptionalBlockEthics * {
    opacity: 1;
}

@keyframes spinner {
    to {transform: rotate(360deg);}
}
 
.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    float: right;
    top: 50%;
    left: 100%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: spinner .6s linear infinite;
}