.diary-filter {
    margin: 10px 0 15px 0;
    display: flex;
    flex-direction: column-reverse;
    grid-gap: 20px;
}
.diary-filter h1 {
    margin-right: 10px;
    padding: 0;
    font-size: 20px;
    font-weight: 800;
    margin-bottom:0 !important;
}
.diary-filter.draft h1 {
    padding: 0;
}
.diary-filter h1 span {
    padding-top: 2px;
    font-size: 14px;
    font-weight: normal;
} 
.diary-filter form {
    float: left;
    margin-top: 8px;
    width: 100%;
}
    .diary-filter form select {
        width: 100%;
    }
.months3, .months2{ background-image: none;}
.months2, .months3{ border: none;}
.diary-list .month{ margin-bottom: 30px;}
.diary-list .month:last-child{ margin-bottom: 0px;}
.month div.head {
    font-size: 1.05em;
    background-color: #666666;
    color:#fff; 
    padding:20px 0; 
    font-size:14px;
}
.w-full {
    width: 100% !important;
}
.TimeSlotDiaryDay .btn.btn-cancel,
.TimeSlotDiaryDay .btn.btn-save {
    border-radius: 50%;
    box-shadow: none;
    line-height: 1;
}

.TimeSlotDiaryDay .btn.btn-save {
    color: #005285;
    background: #1bc663 !important;
    float: none;
    font-size: 18px;
    padding: 0 2px 1px 3px;
    height: 25px;
    width: 25px;
}

.TimeSlotDiaryDay .btn.btn-cancel {
    padding: 1px 3px 0px 3px !important;
    height: 15px;
    width: 15px;
}

.diary-table-form {
    padding: 0 !important;
}
    .diary-table-form p {
        text-align: left;
        font-size: 14px;
        font-weight: bold;
        padding: 10px 0 0;
    }

.month div.subhead {
    background-image: none;
}

#final-diary .section_full table td {height: 38px;padding:5px; }
#final-diary .section_full table td:first-child { border-left:none; }
#final-diary .section_full table td{ text-align: left;}
#final-diary .section_full table tr:last-child td { border-bottom: none; }
#final-diary .section_full div.tabs_head{ margin-bottom: 0px;}
#final-diary tr.table-darken{font-style: normal ! important;color: #fff;font-weight: bold; background: #000 !important;}
#final-diary tr.table-darken td em{font-style: normal ! important;}
#final-diary .section_full tr:nth-child(odd) { background-color: #f5f5f5;}
#final-diary .timedatelabel{ width: 13%;}
#final-diary .timeslotlabel{ width: 30%;}



/*.months2 { background:url(../interface/brder_px.gif) 485px top repeat-y;}
.months3 { background:url(../interface/3col_back.gif) 323px top repeat-y; }
.months2 div.month { float:left; width:50%; }
.months3 div.month { float:left; width:324px; }*/

.month div.head {  }
.month.last div.head { background:#666 }
.month div.subhead {
    border-bottom: 1px solid #707070;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
}

.month.last div.subhead { background:#f5f5f5; }
.month div.infoAlert {padding-left: 34px; background:url(../images/alert.svg) 7px 7px no-repeat; float:right; margin:-10px; color:#000; font-size:0.8em; }

.diarytabheader {
    font-size: 12pt;
    font-weight: bold;
}
.subhead div.infoAlert {
padding-left: 34px;
background: url(../interface/sub_alert.gif) 7px 7px no-repeat;
float: right;
margin: -10px;
color: #808080;
font-size: 0.8em;
}
.whiteDiary {
    background: #fff;
}
.TimeSlotDiaryTable.whiteDiary tr, .TimeSlotDiaryTable.whiteDiary tr:nth-child(odd) {
    background: #ffffff !important;
}

#cacheOptions {
    float: left;
    margin: 10px 0 0 0px;
}

/* April 2017 Style Revisions 
(all un .theme_v2 to lock them down and for easy reverting. 
It ties in with mark up changes so they will need to be reverted too.) 
------------------------------------------------------------------ */
    
    /* Table Rows & Cells */
.theme_v2 .TimeSlotDiaryTable tr:nth-child(4n+1) td {
    background: #f5f5f5;
}
    .theme_v2 .TimeSlotDiaryTable tr td {
        padding:10px 25px;
        min-height:50px
    }
    .theme_v2 .TimeSlotDiaryTable tr {
        height: 70px;
    }

    /* Profile Link */
    .theme_v2 .profileLink_draft  {
        display: inline-block;
        background-color: #a3160b;
        color:#fff;
        -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.5);
        margin:0 0 5px 15px;
        padding:5px 10px;
        float:right;
        clear: right;
        text-decoration: none;
        transition: background-color 0.2s ease-in-out;
        min-width:82px;
        text-align: center;
    }
    .theme_v2 .profileLink_draft:hover {
        background:#c32d21;
    }

    /* Meeting Link, Override Title */
    .theme_v2 .meetingSmall,
    .theme_v2 .override-title,
    .theme_v2 .company-name {
        display: block;
    }

    /* Comany details */
    .theme_v2 .company-details {
        margin-top: 5px;
    }
    .theme_v2 .company-details:first-of-type {
        border:none;
        padding-top: 0px;
        margin-top: 0px;
    }
    .theme_v2 .company-details:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }

    /* Comapny Name */
    .theme_v2 .company-name {
        padding-top:4px;
    }

    /* Time and Duration */
    .theme_v2 .time-and-duration {
        border-right: 1px solid #707070;
        text-align: left;
        vertical-align: top;
        width:180px;
    }

    /* Requested By */
    .theme_v2 .requestedby,
    .theme_v2 .venue {
        border-bottom: 1px solid #EDEDED;
        padding-bottom: 6px;
        margin-bottom: 5px;
    }
    .theme_v2 .requestedby .label,
    .theme_v2 .venue .label,
    .theme_v2 .company-details .label {
        display:block;
        font-weight:700;
        margin-top:10px;
    }
    .theme_v2 .other-details .override-title {
        margin-top: 10px;
    }
    
    /* Other Details */
    .theme_v2 .other-details {
        text-align: left;        
        vertical-align: top;
        padding:0!important;
    }
    .theme_v2 .other-details > * {
        padding: 0 30px 10px; 
    }


/* August 2017 Deligates List
------------------------------------------------------------------ */

    .delegates {
        /*margin-top:5px;*/
    }

    /* Profile Link */
    .delegate-trigger  {
        display: inline-block;
        background-color: #a3160b;
        color:#fff;
        -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.5);
        margin:0 0 5px 15px;
        padding:5px 10px;
        float:right;
        clear: right;
        text-decoration: none;
        transition: background-color 0.2s ease-in-out;
        min-width:82px;
        text-align: center;
        cursor: pointer;
        border-radius: 3px;
    }
    .delegate-trigger:hover {
        background:#c32d21;
        color:#fff;
        text-decoration: none;
    }

    .delegates-mask {
        position: fixed;
        top:0;
        left:0;
        right:0;
        bottom:0;
        background-color: rgba(0,0,0,0.5);
    }

    .delegates-mask.hide {
        display:none;
    }

    .delegates-popup { 
        border:solid 1px #000;
        width:280px;
        min-height: 50px;
        background:#fff;
        position: absolute;
        top:50%;
        left:50%;
        transform:translate3d(-50%, -50%, 0);
    }

    .delegates-popup h2 {
        margin-bottom: 0;
        background-color: #ccc;
    }

    .delegates-popup .btn_x {
        position: absolute;
        top:5px;
        right:5px;
    }

    .delegates-popup__content {
        overflow: hidden;
        max-height: 256px;
        margin:14px 0;
        overflow: auto;
    }

    .delegates-popup__content p {
        text-align:center;
        margin:0;
        padding:0;
    }

    .delegates-list {
        margin:0;

    }

    @media screen and (min-width:519px) {
        .delegates-popup__content {
            
        }
    }


@media (min-width: 992px) {
    .month div.subhead {
        padding: 0 25px;
    }

    .month div.head {
        border-radius: 6px 6px 0 0;
    }

    .diary-filter {
        flex-direction: row;
        justify-content:space-between;
        grid-gap: 20px;
    }
    .diary-filter h1 {
        font-size: 30px;
    }
}