#agenda {
    margin-left: 10px;
    margin-right: 10px;
}

div.cal-view {
    margin-bottom: 20px;
}

div.cal-view span.glyphicon {
    padding-top: 3px;
}

div.datepicker-widget {
    width: 100%;
    max-width: 450px;
    padding-left: 15px;
    padding-right: 15px;
}

div.schedule-block .appointment {
    margin-left: 10px;
    margin-right: 10px;
    max-width: 400px;
}

div.appointment {
    border: solid 1px black;
    display: block;
    border-radius: 4px;
    margin-bottom: 10px;
}
div.appointment .fa {
    color : #274db6;
    display: inline-block;
    z-index : 1039;
}
div.appointment-title	.glyphicon {

    padding: 8px 5px 0 0;
}

div.appointment div.appointment-title {
    padding: 5px;
    font-weight: bold;
    border-bottom: solid 1px black;
    cursor: pointer;
    color: white;
}

div.appointment-default div.appointment-title {
    background: #b2b2b2;
}

div.appointment-cancelled div.appointment-title,
div.day-col-apm.appointment-cancelled div.day-col-apm-title,
div.month-block-apm.appointment-cancelled {
    background: lightgrey !important;
}

li.appointment-cancelled div.appointment-title {
    background: #eee !important;
    color: #ccc !important;

    z-index: 2321321;
}
li.appointment-cancelled div.appointment-content, li.appointment-cancelled div.appointment-description {
    background: #eee !important;
    color: #ccc !important;
    z-index: 2321321;
    border : 0 !important;
}

div.appointment-highlight {
    box-shadow: 0px 0px 10px 5px rgba(255, 100, 100, 0.6);

}
div.appointment div.appointment-content {
    padding: 5px;
}

div.appointment div.appointment-content .glyphicon {
    padding-right: 5px;
}

div.appointment div.appointment-description {
    border-top: solid 1px black;
    padding: 5px;
}

div.day-col {
    width: 14%;
    border-left: 1px solid #b2b2b2;
    float: left;
    position: relative;
    overflow: hidden;
}
div.day-col:nth-child(7n+0) {

    border-right: 1px solid #b2b2b2;

}
div.day-col:nth-child(28), div.day-col:nth-child(29), div.day-col:nth-child(30), div.day-col:nth-child(31), div.day-col:nth-child(32), div.day-col:nth-child(33), div.day-col:nth-child(34), div.day-col:nth-child(35) {

    border-bottom: 1px solid #b2b2b2;

}

div.day-col.today {
    background-color: #f2f5ff;
}

div.day-block {
    width: 520px;
}
div.day-block div.day-area {
    width: 520px;
    height: 1000px;
    overflow-x: scroll;
}
div.day-block div.day-col {
    width: 425px;
    height: 2880px;
    position:relative;
}
div.day-block div.day-col-title {
    width: 520px;
    height: 30px;
    border: 1px solid black;
}

div.day-block div.timeblocks {
    width: 78px;
}
div.day-block div.timeblock {
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    text-align: right;
    padding-right: 5px;
    height: 120px;
    background: rgba(181,198, 241,1	);
    color: #162959;
}
/*div.day-block div.timeblock:first-child {*/
/*border-top: 1px solid black;*/
/*}*/
div.day-block div.timeblock-quarter {
    border-bottom: 1px solid lightgrey;
    height: 30px;
}
div.day-block div.timeblock-quarter-last {
    border-bottom: 1px solid black;
    height: 30px;
}
/*div.day-block div.timeblock-quarter:first-child {*/
/*border-top: 1px solid black;*/
/*}*/
div.day-block .day-col-apm {
    position: absolute;
    margin-top: 0;
    margin-bottom: 0;
    background: white;
    overflow: hidden;
}
div.day-block div.current-time-marker {
    position: absolute;
    width: 425px;
    left: 0px;
    height: 3px;
    background: red;
}


div.week-block div.day-col {
    min-height: 500px;
}

div.month-block div.day-col {
    height: 200px;
    overflow: hidden;
}
div.month-block-apm {
    font-size: smaller;
    border: solid 1px black;
    display: block;
    border-radius: 4px;
    margin: 5px;
    margin-bottom: 10px;
    color: white;
    cursor: pointer;
}

div.month-block-apm div.month-block-apm-title {
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
}
div.month-block-apm div.month-block-apm-contents {
    padding-left: 5px;
    padding-right: 5px;
    font-size: smaller;
}


div.day-col-title {
    padding: 5px;
    font-weight: bold;
    background: rgba(181,198, 241,1	);
    color: #162959;

}

div.day-not-in-month .day-col-title {
    font-weight: normal;
    color: rgba(178,178,178,0.8);
    background: #d8e5f8;
    border-bottom: 0px solid black;
}
div.day-not-in-month  {
    background: rgba(178,178,178,0.2);
    z-index : 101;
}
.day-date {
    font-weight: normal;
}

div.day-col-more-appointments {
    /*border: solid 1px grey;*/
    display: block;
    /*border-radius: 4px;*/
    position: absolute;
    bottom: 0px;
    /*padding: 5px;*/
    /*margin: 5px;*/
    width: 100%;
    text-align: center;
    font-style: italic;
    background: white;
    border: none;
    margin-top: 1px;
}

div.day-col-apm {
    border: solid 1px black;
    display: block;
    border-radius: 4px;
    margin: 5px;
    margin-bottom: 10px;
    cursor: pointer;
}

div.day-col-apm div.day-col-apm-title {
    padding: 5px;
    font-weight: bold;
    border-bottom: solid 1px black;
    color: white;
}

div.day-col-apm div.day-col-apm-contents {
    padding: 5px;
}

div.day-col-apm div.day-col-apm-description {
    border-top: solid 1px black;
    padding: 5px;
}
div.appointment-widget-container {
    width : 100%;
    height : auto;
    clear:both;
    /*display : row;*/
}
div.appointment-widget-date {
    width : 95px;
    float : left;
    height: 80px;
    margin-right : 18px;
    padding-right : 18px;
    text-align: right;
    border-right : 1px dotted rgba(178,178,178,.8);
}
div.appointment-widget-title {
    display : block;
    width:60%;
    float : left;
    height :30px;
    clear : right;
    font-size: 22px;
    padding: 1px 0;
    margin: 2px 0;
    margin-top: 0;
    white-space: nowrap;

}
div.appointment-widget-location {
    width : 60%;
    float : left;
    clear : right;
    height :30px;
    padding: 2px 0;
    margin:  0;
    white-space: nowrap;
}

.edit-appointment-modal .form-group a {
    color: #274db6;
}
.edit-appointment-modal .form-group a:hover {
    text-decoration: underline;
}

.external-calendar-settings-dialog .modal-dialog {
    min-width: 750px;
}