/***** GENERAL STARTS *****/
.dangerText {
    font-weight: bold;
    color: #ff5e5e;
}
.hideMe {
    display: none;
}
.disabled_link {
    color: #212529;
    pointer-events: none;
    cursor: default;
    text-decoration: line-through;
}
.disabled_link_help_text {
    font-size: 10px;
    color: #F00;
}
.icv-remove-pointer-events {
    pointer-events: none;
}
.icv-click-not-allowed {
    cursor: not-allowed;
}

.icv-public-container label, div[id^='confirmDealDetailsModal'] .modal-dialog label,
.deal_actions .voteEventModal label {
    font-weight: bold;
    font-size: 18px;
}
.icv-single-deal-view fieldset .bootstrapLabel,
.icv-single-deal-view fieldset .icvDealOverviewInput label {
    font-size: inherit;
}
.icv-public-container {
    padding: 0px 30px;
}
.icv-edit-event input[type='number'], .icv-create-event input[type='number'],
.icv-single-deal-view fieldset input[type='number'], .icv-confirm-allocation fieldset input[type='number'] {
    width: 100px;
}
.icv-edit-event input[type='date'], .icv-create-event input[type='date'] {
    width: 200px;
}
@media screen and (max-width: 800px) {
    .icv-public-container {
        padding: 0px 2px;
    }
}
span.error, *.requiredNote, *.warning {
    color: #F00;
    font-weight: bold;
}
i.fa-question-circle {
    cursor: pointer;
}
/* .btn-xs was in bootstrap 3 but removed in bootstrap 4 */
.btn-group-xs > .btn, .btn-xs {
  padding: .25rem .25rem;
  font-size: small;
  margin-bottom: 2px;
  line-height: .5;
  border-radius: .2rem;
}
.icv-alert {
    width: 70%;
    margin: 20px auto;
    text-align: center;
}
.form-field-help-text {
    margin-top: 5px;
    font-size: 14px;
}
/***** GENERAL ENDS *****/

/***** EVENT LIST STARTS *****/
table.voteGrid {
    width: 100%;
    table-layout: fixed;
}
table.voteGrid td, table.voteGrid th {
    border: 1px solid rgb(151, 151, 151) !important;
    padding: 10px;
    text-align: center;
    overflow: hidden;
}
table.voteGrid td {
    overflow-wrap: break-word;
}
table.voteGrid thead tr:first-child, tr.subHeading {
    background-color: rgb(236, 236, 236) !important;
    font-size: 16px;
    font-weight: bold;
}
table.voteGrid > tbody > tr:nth-child(odd) {
    background-color: rgb(230, 255, 232);
}
table.voteGrid > tbody > tr:nth-child(even) {
    background-color: rgb(225, 250, 255);
}
.icvCancelButton {
    min-width: auto !important;
}
.voteGrid button {
    min-width: 120px;
}
@media screen and (max-width: 780px) {
    table.voteGrid th, table.voteGrid td {
        padding: 10px 2px !important;
    }
}

table#pendingVoteTable thead tr:first-child, tr.subHeading {
    background-color: #ABABAB !important;
}
table#pendingVoteTable > tbody > tr:nth-child(odd) {
    background-color: #ADDBAD;
}
table#pendingVoteTable > tbody > tr:nth-child(even) {
    background-color: #C5D0E6;
}
/***** EVENT LIST ENDS *****/

/***** CREATE, EDIT EVENT STARTS *****/
.icv-create-event input[type=text], .icv-edit-event input[type=text],
.icv-confirm-allocation input[type=text] {
    width: 366px;
}
.icv-create-event select, .icv-create-event option,
.icv-edit-event select, .icv-edit-event option,
.icv-confirm-allocation fieldset select,
.icv-confirm-allocation fieldset option,
select.icvOriginalSender, option.icvOriginalSender {
    width: 366px;
    padding: 5px;
}
.icv-single-deal-view fieldset select, .icv-single-deal-view fieldset option,
select.icvVerifyInput {
    padding: 5px;
}
.icv-create-event input[type=text]:read-only:not([disabled]),
.icv-edit-event input[type=text]:read-only:not([disabled]) {
    cursor: default;
    background-color: rgb(249, 249, 249) !important;
    color: darkgray !important;
    border-color: rgba(118, 118, 118, 0.3) !important;
}
.icv-create-event input[type=checkbox], .icv-results-container input[type=checkbox],
.icv-edit-event input[type=checkbox], .icv-results-container input[type=checkbox],
fieldset#icvDealAllocationFieldset input[type=checkbox],
fieldset#icvDealOverviewFieldset input[type=checkbox],
div[id^='confirmDealDetailsModal'] .modal-dialog input[type=checkbox] {
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.icv-create-event label, .icv-edit-event label,
#icv-allocationDiv label, #icv-secondaryAllocationDiv label,
.icv-confirm-allocation label {
    margin-right: 10px;
    width: 180px;
    margin-bottom: 0px;
}
.icv-create-event label.wideLabel, .icv-edit-event label.wideLabel {
    width: 255px;
    margin-bottom: 0px;
    margin-top: 3px;
}
.icv-single-deal-view fieldset label {
    font-weight: bold;
    margin-bottom: 0px;
}
.icv-single-deal-view fieldset div.row {
    margin-bottom: 4px;
}
div.checkWrapper {
    display: flex;
    align-items: center;
}
div.checkWrapper i {
    margin-left: 5px;
}
div.subVoteUI {
    display: none;
    border: 1px solid rgb(141, 141, 141);
    padding: 10px;
    margin-top: 10px;
    max-width: 700px;
    border-radius: 10px;
}
div#pitchdeckLinkDiv {
    display: none;
}
.icvDealOnlyField {
    display: none;
}
div#totalAllocationDollars, div#totalAllocationPercent,
div#totalSecondaryAllocationDollars, div#totalSecondaryAllocationPercent {
    width: 150px;
    text-align: center;
    line-height: 2em;
}
@media only screen and (max-width: 660px) {
    .icv-create-event label:not(.icvFlexLabel):not(.wideLabel):not(.icv_allocationLabel):not(.icv_secondaryAllocationLabel),
    .icv-edit-event label:not(.icvFlexLabel):not(.wideLabel):not(.icv_allocationLabel):not(.icv_secondaryAllocationLabel)
    .icv-single-deal-view fieldset label {
        width: 550px;
    }
}
/***** CREATE, EDIT EVENT ENDS *****/

/***** SUBMIT, EDIT VOTE STARTS *****/
div.icv-submit-vote-container p, div.icv-results-container p {
    max-width: 800px;
    overflow-wrap: break-word;
}
div.icv-submit-vote-container ul {
    margin: 0;
    padding: 0px 0 10px 20px;
}
div.icv-areas-of-focus {
    padding-bottom: 15px;
}
div.icv-areas-of-focus input[type=checkbox] {
    margin-right: 5px;
}
div.icv-areas-of-focus label {
    font-weight: normal;
    font-size: 16px;
}
.voteOption {
    font-size: 20px;
    margin: 0px 10px 15px 0px;
    padding: 10px 10px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #000;
    box-shadow: 4px 5px #aaaaaa;
    width: 150px;
}
.voteOptOut:hover { background-color: #e7f2fd; }
.voteOptOut.activeVoteOption, .voteOne.activeVoteOption:hover { background-color: #a7cdf0; }

.voteOne:hover { background-color: #fde7e7; }
.voteOne.activeVoteOption, .voteOne.activeVoteOption:hover { background-color: #f0a7a7; }

.voteTwo:hover { background-color: #ffffd9; }
.voteTwo.activeVoteOption, .voteTwo.activeVoteOption:hover { background-color: #fbfd5d; }

.voteThree:hover { background-color: #e7fdf8; }
.voteThree.activeVoteOption, .voteThree.activeVoteOption:hover { background-color: #8ef5db; }

.voteFour:hover { background-color: #e0ffe0; }
.voteFour.activeVoteOption, .voteFour.activeVoteOption:hover { background-color: #8df18d; }
/***** SUBMIT, EDIT VOTE ENDS *****/

/***** MODAL MESSAGE STARTS *****/
.modalInputDesc {
    margin-bottom: 5px;
}
.modalErrorMessage {
    display: none;
    color: #F00;
    font-size: 12px;
    margin-bottom: 5px;
}
.modal-header button.close {
    min-width: auto !important;
}
.modal-body, .deal_actions .voteEventModal .modal-body {
    text-align: center;
}
.modal-body input[type=text], .modal-body textarea {
    width: 80%;
}
#deniedRadio {
    margin-left: 20px;
}
.modalFormGroup {
    margin-bottom: 15px;
}
.modalRadioGroup label, label.icv_allocationLabel, label.icv_secondaryAllocationLabel {
    font-weight: normal;
    font-size: 16px;
}
.fund-approve-section {
    width: 80%;
    margin: 0 auto;
    text-align: left;
}
.fund-approve-section ul {
    font-size: 14px;
    padding: 0 0 0 10px;
    margin: 0;
}
.override-auto-approval-section {
    margin-top: 5px;
}
.override-auto-approval-section label {
    font-weight: normal;
    display: inline;
    font-size: 16px;
}
.override-auto-approval-section .override-note {
    font-size: 14px;
}
.ic-comm-reference {
    display: block;
    clear: both;
    font-size: 16px;
    margin-top: 5px;
}

.deal_actions a  {
    font-size: 14px;
}
.deal_actions .modal-body {
    text-align: left;
}
.deal_actions input[type=text], .modal-body textarea {
    width: 100%;
}
.deal_actions label {
    font-weight: normal;
}
.fsso-warning {
    display: none;
}
.fsso-warning .form-check {
    margin-top: 5px;
}
.fsso-warning .form-check-label {
    font-size: 16px;
}
/***** MODAL MESSAGE ENDS *****/

/***** Autocomplete CSS BEGINS *****/
.ui-autocomplete {
    /* Show 5 results at a time. */
    max-height: 155px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
/***** Autocomplete CSS ENDS *****/

/**** IC Calendar CSS BEGINS ****/
#calendar_widget {
    float: left;
    width: 100%;
}
#calendar_widget .date_row {
    float: left;
    font-size: 20px;
    padding: 10px 0;
    width: 100%;
}
#calendar_widget .event_item {
    float: left;
    padding: 10px 0;
    width: 100%;
}
#calendar_widget .event_item:not(:last-child) {
    border-bottom: 1px solid #dedbdb;
}
#calendar_widget .event_item .left {
    float: left;
    width: 20%;
    font-size: 14px;
    text-align: center;
    padding-right: 20px;
    border-right: 5px solid #28a745;
}
#calendar_widget .event_item.cancelled .left {
    border-right: 5px solid #c54e17;
}
#calendar_widget .event_item .right {
    float: left;
    width: 80%;
    padding-left: 20px;
}
#calendar_widget .event_item .subject {
    font-weight: bold;
}
#calendar_widget .event_item.cancelled .subject {
    font-weight: normal;
    text-decoration: line-through;
}
#calendar_widget .event_item .location {
    font-size: 14px;
}
#calendar_widget .event_item .location a{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/**** IC Calendar CSS ENDS ****/

/***** FIELDSET CSS BEGINS *****/
.icv-public-container fieldset {
    border: 1px solid #000;
    padding: 0 15px 15px 15px;
}
.icv-public-container legend {
    width: auto;
    font-size: 14px;
    margin-left: 15px;
}
.icv-public-container .icv-overview-table {
    width: 100%;
}
.icv-public-container .icv-overview-column {
    width: 50%;
}
fieldset#icvDealOverviewFieldset input[type="text"],
fieldset#icvDealOverviewFieldset select,
fieldset#icvDealOverviewFieldset option {
    width: 85%;
    max-width: 300px;
}
fieldset#icvDealAllocationFieldset input[type="text"],
fieldset#icvDealAllocationFieldset select,
fieldset#icvDealAllocationFieldset option {
    width: 85%;
    max-width: 300px;
}
fieldset#icvDealTeamFieldset input[type="text"],
fieldset#icvDealTeamFieldset select,
fieldset#icvDealTeamFieldset option {
    width: 85%;
    max-width: 300px;
}
/***** FIELDSET CSS ENDS *****/

/***** VERIFICATION MODAL CSS BEGINS *****/
select.icvVerifyInput,
.icvVerifyInput option,
input[type='text'].icvVerifyInput,
textarea.icvVerifyInput {
    width: 85%;
}
div[id^='confirmDealDetailsModal'] .modal-dialog {
    max-width: 800px;
}
/***** VERIFICATION MODAL CSS ENDS *****/

/***** DEAL EDIT CSS BEGINS *****/
.icvDealViewInput, #icvDealViewTempPostSize,
[id ^= "cancelDealView"][id $= "Input"] {
    display: none;
}
a.icvEditDealLink {
    cursor: pointer;
}
.icvEditDealCancelLink {
    padding-right: 10px;
}
/***** DEAL EDIT CSS ENDS *****/

/***** Deal Progress Bar CSS Begins *****/
#icv-progress {
    position: relative;
    margin-bottom: 30px;
    width: 50%;
    min-width: 400px;
}
#icv-progress-bar-filled {
    position: absolute;
    background: #0ac985;
    height: 5px;
    width: 0%;
    top: 45%;
    left: 0;
}
#icv-progress-bar-empty {
    position: absolute;
    background: lightgray;
    height: 1px;
    width: 0%;
    top: 49%;
    left: 0;
}
#icv-progress-num {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
}
#icv-progress-num::before {
    content: "";
    background-color: lightgray;
    position: absolute;
    top: 50%;
    left: 0;
    height: 5px;
    width: 100%;
    z-index: -1;
}
#icv-progress-num .icv-step {
    border: 3px solid lightgray;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    background-color: #fff;
    position: relative;
    z-index: 1;
}
#icv-progress-num .icv-step.current {
    border-color: #0ac985;
    border-width: 6px;
}
#icv-progress-num .icv-step.complete {
    border-color: #0ac985;
    background-color: #0ac985;
}
#icv-progress-num .icv-stepText {
    width: 300%;
    left: -100%;
    top: 30px;
    text-align: center;
    font-family: sans-serif;
    font-size: 14px;
    position: relative;
    z-index: 1;
}
/***** Deal Progress Bar CSS Ends *****/
