/* Component that displays attendant's meetings within an event diary layout */

.TimeSlotDiaryTable-lunchBreakRow {
    background: url('../interface/stripe.png') repeat 0 0;
}

.RowHighlight {
    background: #ebbdb4 !important;
}

.form-request-meeting .TimeSlotDiaryTable-lunchBreakRow {
    background: url('../interface/stripe-new.png') repeat 0 0;
    background-attachment: fixed; /* fix for safari table background issue - tradeoff is that the background image won't scroll with the page */
	background-size: 18px 18px;
	font-weight: 600;
}

.TimeSlotDiaryTable {
    border-collapse: collapse;
    font-size: 0.85em;
    color: #2a2a2a;
    width: 100%;
}

.TimeSlotDiaryTable .meeting {
    display: block;
}

.TimeSlotDiaryTable .meeting + .meeting {
    margin-top: 5px;
}

.form-request-meeting .TimeSlotDiaryTable {
    border: none;
}

.TimeSlotDiaryTable td {
    text-align: left;
    padding: 15px;
}

.form-request-meeting .TimeSlotDiaryTable td {
    border: none;
    padding: 9px 12px;
    font-size: 14px;
    text-align: left;
}

.TimeSlotDiaryTable td.TimeSlotDiaryTable-startTime {
    width: 17%;
}

form-request-meeting .TimeSlotDiaryTable td.TimeSlotDiaryTable-startTime {
    width: 60px;
}

.TimeSlotDiaryTable td.number {
    width: 10%;
}

.TimeSlotDiaryTable td.TimeSlotDiaryTable-detail {
    padding-right: 0;
    text-align: left;
    position: relative;
}
.TimeSlotDiaryTable-detail-name {
    float: left;
    width: 64%;
    text-align: left;
}

.TimeSlotDiaryTable-actions {

    margin-top:6px;
}
.TimeSlotDiaryTable-actions .btn {
    float:left;
    margin-right:8px;
    padding:3px 6px;
    font-size:11px;
}

.TimeSlotDiaryTable-actions .btn-edit {
    float: none;
    margin-bottom: 5px;
}


.TimeSlotDiaryTable-customTime input[type="checkbox"] {
    margin-top: 12px;
    margin-right: 12px !important;
}

.TimeSlotDiaryTable-customTimeInput {
    width: 88%;
    font-size: 1em;
}

.TimeSlotDiaryTable tr:nth-child(4n+1) {
    background-color: #f5f5f5;
}

.TimeSlotDiaryTable-closingRow {
    color: #fff;
    font-weight: bold;
    background: #707070 !important;
}

.form-request-meeting .TimeSlotDiaryTable-closingRow {
    background: #707070 !important;
}

.TimeSlotDiary-options label {
    font-size: 13px;
}

.TimeSlotDiaryTable-selector {
    width: 50px;
}

.TimeSlotDiaryTable-startTime-suggested {
    color: #00a100;
}


/* Diary key */

.DiaryKey {
    position: relative;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #a6a6a6;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #f5f5f5;
}
.DiaryKey .btn-close {
    right: 8px;
    top: 8px;
}
.DiaryKey-title {
    font-weight: bold;
    color: #666666;
    border-bottom: 1px solid #dadada;
    margin-bottom: 8px;
    padding-bottom:8px;
}
.DiaryKey .DiaryKey-line {
    margin-bottom: 8px;
    float: left;
    width: 100%;
}
.DiaryKey .DiaryKey-line p {
    padding: 4px 0 0 0;
}
.DiaryKey .requestsCount {
    float: left;
    margin-right: 15px;
    position: relative;
    margin: 5px;
}
.DiaryKey-Icon {
    float: left;
    width: 17%;
}
.DiaryKey-Info {
    float: left;
    width: 82%;
}

.modal-lock {
    height: 100%;
    overflow: hidden;
}

.modal {
    background: rgba(0, 0, 0, .8);
    display: none;
    height: 100%;
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.modal-dialogue {
    left: 50%;
    max-width: 500px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 90%;
}

.modal-inner {
    background: #fff;
    padding: 20px;
}

.modal .TimeSlotDiaryDay-head {
    position: relative;
}

.modal-close {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-close-alt {
    cursor: pointer;
}

.modal select,
.modal textarea {
    border: 1px solid #CFCFCF;
    max-width: 300px;
    padding: 10px;
    width: calc(100% - 20px);
}

.modal textarea {
    height: 100px;
}

.modal .btn {
    float: none;
}

.modal .form-result {
    display: none;
}

.no-show-other-reason {
    display: none;
}

.hide {
    display: none;
}

@media (min-width:480px) {
        .DiaryKey-Icon {
    width: 10%;
    }
    .DiaryKey-Info {
        width: 85%;
    }
}
@media (min-width:768px) {
    .DiaryKey-Icon {
    width: 7%;
    }
    .DiaryKey-Info {
        width: 90%;
    }
}
