﻿body.dialog-no-scroll {
    /*overflow: hidden;*/
}

.dialog-mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0);
}

    .dialog-mask.dialog-mask-transition {
        -moz-transition: background-color 200ms;
        -webkit-transition: background-color 200ms;
        transition: background-color 200ms;
    }

    .dialog-mask.dialog-mask-active {
        background-color: rgba(0, 0, 0, 0.5);
    }

    .dialog-mask.dialog-mask-loading:after {
        position: absolute;
        display: block;
        content: "";
        background-image: url("./loading.gif");
        top: 50%;
        left: 50%;
        width: 107px;
        height: 16px;
        margin-left: -107px;
        margin-top: -16px;
    }

.dialog-scroll-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    overflow: auto;
}

    .dialog-scroll-container .dialog-container {
        position: absolute;
    }

.dialog-container {
    z-index: 1000;
    position: fixed;
    min-height: 200px;
    min-width: 200px;
    width: 90%;
    max-width: 400px;
    background-color: #e3e3e3;
    background-image: -moz-linear-gradient(top, #f0f0f0 85%, #d7d7d7 100%);
    background-image: -webkit-linear-gradient(top, #f0f0f0 85%, #d7d7d7 100%);
    background-image: linear-gradient(to bottom, #f0f0f0 85%, #d7d7d7 100%);
    color: #363636;
    border: 1px solid #b0b0b0;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

    .dialog-container.dynamic {
        top: 50%;
        left: 50%;
    }

    .dialog-container .dialog-header {
        background-color: #0c3664;
        background-image: -moz-linear-gradient(top, #0c3664 0%, #10243d 100%);
        background-image: -webkit-linear-gradient(top, #0c3664 0%, #10243d 100%);
        background-image: linear-gradient(to bottom, #0c3664 0%, #10243d 100%);
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        position: relative;
        color: #ffffff;
        min-height: 19px;
    }

        .dialog-container .dialog-header .dialog-title {
            font-weight: bold;
        }

        .dialog-container .dialog-header .dialog-close {
            position: absolute;
            top: 4px;
            right: 4px;
            cursor: pointer;
            width: 20px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            border-radius: 4px;
        }

            .dialog-container .dialog-header .dialog-close:hover {
                background-color: #e6e6e6;
                background-image: -moz-linear-gradient(top, #ffffff 0%, #cccccc 100%);
                background-image: -webkit-linear-gradient(top, #ffffff 0%, #cccccc 100%);
                background-image: linear-gradient(to bottom, #ffffff 0%, #cccccc 100%);
                color: #595e89;
            }

            .dialog-container .dialog-header .dialog-close:focus,
            .dialog-container .dialog-header .dialog-close:active {
                background-color: #e6e6e6;
                background-image: -moz-linear-gradient(top, #cccccc 0%, #ffffff 100%);
                background-image: -webkit-linear-gradient(top, #cccccc 0%, #ffffff 100%);
                background-image: linear-gradient(to bottom, #cccccc 0%, #ffffff 100%);
            }

    .dialog-container .dialog-header,
    .dialog-container .dialog-footer {
        padding: 5px;
    }

    .dialog-container .dialog-body {
        padding: 10px;
        margin-bottom: 41px;
    }

        .dialog-container .dialog-body p {
            margin-top: 0;
        }

    .dialog-container .dialog-footer {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        min-height: 41px;
    }

        .dialog-container .dialog-footer .dialog-button {
            float: right;
        }

    .dialog-container .dialog-button {
        text-align: center;
        padding: 5px 10px;
        border-radius: 4px;
        cursor: pointer;
        -moz-transition: all 200ms;
        -webkit-transition: all 200ms;
        transition: all 200ms;
        box-shadow: inset 0 -15px 10px rgba(0, 0, 0, 0.25);
        border: 1px solid #595e89;
        background-color: #4f537a;
        background-image: -moz-linear-gradient(top, #595e89 0%, #45496a 100%);
        background-image: -webkit-linear-gradient(top, #595e89 0%, #45496a 100%);
        background-image: linear-gradient(to bottom, #595e89 0%, #45496a 100%);
        color: #ffffff;
        font-size: 14px;
    }

        .dialog-container .dialog-button:hover {
            box-shadow: none;
        }

        .dialog-container .dialog-button:active,
        .dialog-container .dialog-button:focus {
            background-color: #4f537a;
            background-image: -moz-linear-gradient(top, #45496a 0%, #595e89 100%);
            background-image: -webkit-linear-gradient(top, #45496a 0%, #595e89 100%);
            background-image: linear-gradient(to bottom, #45496a 0%, #595e89 100%);
        }

        .dialog-container .dialog-button.dialog-button + .dialog-button {
            margin-right: 5px;
        }


#calendar {
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
#calendar a{
    text-decoration: none;
    border: 0;
    color: black;
}
.fc-v-event {
    border: 1px solid #ffffff !important;
}
.cat-3A3B8163-725A-4139-82E9-107A8B514D06{/*Sports Event*/ background-color:rgba(198,224,180,1); }
.cat-74EAFEE0-563F-40EE-B07B-1E92FC1F7BBF{/*Clubs and Societies*/ background-color:rgba(255,230,153,1); }
.cat-D01C6C2D-51CC-473E-BC4F-59A7BD48DD7C{/*Other*/ background-color:rgb(123, 203, 243); }
.cat-5E29D042-0660-4718-97D2-607682FE7820{/*School Event*/ background-color:rgba(119, 187, 255, 1); }
.cat-96F398C1-334A-43CD-AFE0-94E4B3656B04{/*Monitoring*/ background-color:rgba(204,153,255,1); }
.cat-1EF39573-416C-495C-A780-A36619E408B5{/*Internal Meeting*/ background-color:rgba(255,153,204,1); }
.cat-AF3F00CF-6A68-4D0C-A54F-D0292AD09584{/*Performance*/ background-color:rgba(248,203,173,1); }
.cat-9EE2A4EF-A06F-484D-BDBB-EC0F79EA8115{/*External Booking*/ background-color:rgb(255, 238, 160); }
.cat-07BC4849-1DF6-4DDB-BF50-F22E3B8E8BE1{/*Exam*/ background-color:rgba(255,159,159,1); }
.cat-FD25275E-1E00-42D5-81E9-FAB287FC1798{/*Off-Site Visit*/ background-color:rgba(132,151,176,1); }
.cat-FC067080-DD91-4007-868C-F27744BFDC43{/*Governors Meeting*/ background-color: rgb(157, 142, 173);}

.key{
    display:inline-block;
    width: 150px;
    height: 15px;
    border-radius: 5px;
    padding: 3px;
}