﻿@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist/Geist-Regular.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}

/* extra bit due to chrome blue outine?*/
input:focus {
    outline: 0 none;
}

*:focus {
    outline: 0 none;
}

/* All David Brooksbank styles */
.sys_hideControl {
    display: none;
}

.sys_showControl {
    display: block; /* inline;  
    margin-bottom: 2em;  */
}

.sys_no_margins { /* only in Site.Master */
    margin: 0px;
}

.sys_fieldset {
    /*border: 1px;
    border-color: #cecece;
    border-style: solid;  */
    visibility: visible;
    border: 0;
    margin: 0;
    padding: 0;
}

.state-highlight {
    /*border: 1px solid #4d4d4d;
    background: #f2f2f2;
    color: #000;*/
}


.state-highlight-eventlist {
    /*border: 1px solid #4d4d4d;
    background: #f2f2f2;
    color: #000;*/
    border: solid 2px #fff;
}

.state-highlight a {
    /*color: #000;*/
}

.state-error a {
    /*color: #2e2e2e;*/
}

.state-disable a {
    /*color: #444444;*/
}

.radio_button_list input[type="radio"] {
    display: block;
}

    .radio_button_list input[type="radio"] + label::before {
        float: left;
        display: inline-block;
        margin-bottom: 10px;
        color: aqua
    }

    .radio_button_list input[type="radio"]:checked + label:before {
        color: chartreuse;
    }


.checkbox_list input[type="checkbox"] {
    width: 10%;
    display: block;
    float: left;
}

.checkbox_list label {
    width: 80%;
    padding-left: 10px;
    display: block;
    float: left;
}

.button_padding input[type="submit"] {
    padding: 5px 5px;
    margin-left: 15px;
    margin-right: 15px;
}

.dmu__label {
    font-family: "Akzidenz Grotesk Pro", Arial, Helvetica, sans-serif;
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 1em;
}

.dmu__radio, .dmu__checkbox, .dmu__events {
    /* this is the container for the radio button list */
    /* Will be matched to style created by Dean Weston */
    list-style: none;
    margin: 0 !important;
    padding: 0;
    overflow: auto;
}

    .dmu__radio tr td, .dmu__checkbox tr td, .dmu__radio ul li, .dmu__checkbox ul li {
        /* this is the individual cell which has an input and a label */
        /*position: relative;
    display: block;
    float: left;
    width: 100%;
    height: 100%; */
        margin: 0;
        padding: 0;
    }

    .dmu__radio label, .dmu__checkbox label {
        /* the label when not selected */
        display: block;
        position: relative;
        font-weight: 300;
        font-size: 100%;
        padding: 4px 35px;
        margin: 10px auto;
        z-index: 9;
        cursor: pointer;
        -webkit-transition: all 0.25s linear;
    }

        .dmu__radio label::before, .dmu__checkbox label::before {
            /* the circle placed in front of the label when not selected */
            box-sizing: border-box;
            display: block;
            position: absolute;
            content: '';
            width: 30px;
            height: 30px;
            border: 5px solid #000000; /* was grey  #ccc;  */
            border-radius: 100%;
            top: 0em;
            left: 0em;
            z-index: 5;
            transition: border .25s linear;
            -webkit-transition: border .25s linear;
        }

    .dmu__radio tr td:hover label, .dmu__checkbox tr td:hover label {
        /* change the label colour on hover over */
        color: #000;
    }

        .dmu__radio tr td:hover label::before, .dmu__checkbox tr td:hover label::before {
            /* change the colour of the circle on hover over */
            border: 5px solid #000;
        }

    .dmu__radio li:hover label, .dmu__checkbox li:hover label {
        /* change the label colour on hover over */
        color: #000;
    }

        .dmu__radio li:hover label::before, .dmu__checkbox li:hover label::before {
            /* change the colour of the circle on hover over */
            border: 5px solid #000;
        }

    .dmu__radio li, .dmu__checkbox li {
        display: inline-block;
    }

    .dmu__radio input, .dmu__checkbox input, .dmu__events input {
        /* hide the normal input object as it's being replaced */
        position: absolute;
        visibility: hidden;
    }

        .dmu__radio input:checked + label, .dmu__checkbox input:checked + label {
            /* set the label colour when the item is selected */
            color: #000;
        }

            .dmu__radio input:checked + label::before, .dmu__checkbox input:checked + label::before {
                /* change the circle when the item is selected */
                border: 5px solid #00823e;
            }

            .dmu__radio input:checked + label::after, .dmu__checkbox input:checked + label::after {
                /* change the circle when the item is selected */
                box-sizing: border-box;
                display: block;
                position: absolute;
                content: '';
                border-radius: 100%;
                height: 14px;
                width: 14px;
                top: 8px; /* changed from 3px to line up */
                left: 8px; /* changed from 3px to line up */
                margin: auto;
                transition: background 0.25s linear;
                -webkit-transition: background 0.25s linear;
                background-color: #00823e;
            }


    .dmu__events tr, .dmu__radio ul {
        /* this is the row which contains multiple events */
        padding-left: 0;
        display: flex;
        flex-wrap: wrap;
        list-style-type: none;
        margin: 0 !important;
        width: 100%;
    }

        .dmu__events tr td, dmu__radio ul li {
            /* the individual cell which contain one event */
            border-radius: 10px;
            margin: 0 1em 0 0;
            transition: all .15s ease-in-out;
        }

    .dmu__events li {
        display: inline-block;
        padding: 10px;
    }

    /* CURRENTLY DISABLED: MASS CAMPUS TOUR WORKAROUND */
    .dmu__events label {
        /* taken from Dean Weston form.css creates a shadow border around the month and day. */
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(0,0,0,1), 0 1px 2px rgba(0,0,0,1);
        box-sizing: border-box;
        color: transparent; /* #dadbdd;  */
        display: flex;
        font-family: Geist,sans-serif;
        flex-direction: column;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        width: 150px;
        /*height: 165px;*/
        text-align: center;
        text-decoration: none;
        /*text-transform: uppercase;*/
        transition: all .2s ease-in-out;
        z-index: 100;
        border: 5px solid #fff;
        cursor: pointer;
        font-weight: 200;
        font-size: 0; /* to hide the label text */
    }
        /*    .dmu__events label {
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(0,0,0,1), 0 1px 2px rgba(0,0,0,1);
        box-sizing: border-box;
        color: transparent;
        display: flex;
        font-family: 'arial',sans-serif;
        flex-direction: column;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        width: 140px;
        height: 190px;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
        transition: all .2s ease-in-out;
        z-index: 100;
        border: 5px solid #fff;
        cursor: pointer;
        font-weight: 200;
        font-size: 0;
    }*/

        .dmu__events label:hover {
            /* highlight with a black border */
            border: 5px solid #000;
        }

    .dmu__events .dmu__eventIcon {
        padding: 0px 5px 0px 5px;
        height: 24px;
    }

    .dmu__events .dmu__eventKeyContainer {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        padding-bottom: 10px;
    }

    /* Extra bit for event key under events list (if icons appear) - used separately to being part of dmu_events class so is not a child of it*/
    .dmu__events .dmu__eventKey {
        background: #8a378b; /*#9d0932;*/
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(0,0,0,1), 0 1px 2px rgba(0,0,0,1);
        box-sizing: border-box;
        float: left;
        height: 36px;
        width: 40px;
        min-width: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .dmu__events .dmu__eventKeyText {
        padding: 0px 0px 0px 10px;
    }


    .dmu__events .dmu__day_part {
        /* displays the day attribute  */
        content: attr(day);
        background: transparent;
        color: #8a378b; /*#9d0932;*/
        font-size: 36px;
        line-height: 1;
        font-family: Geist,arial,sans-serif;
        padding: 8px 0 12px;
        z-index: 100;
        height: 100px;
    }

    .dmu__events .dmu__day_part_date {
        /* displays the day attribute  */
        content: attr(day);
        background: transparent;
        color: black;
        font-size: 36px;
        line-height: 1;
        font-family: Geist,arial,sans-serif;
        padding: 5px 0 5px;
        z-index: 100;
        height: 85px;
    }

    .dmu__events .dmu__day_part_time {
        /* displays the day attribute  */
        content: attr(day);
        background: transparent;
        color: #8a378b; /*#9d0932;*/
        font-size: 36px;
        line-height: 1;
        font-family: Geist,arial,sans-serif;
        padding: 1px 0 8px;
        z-index: 100;
    }

    .dmu__events .dmu__time_extra {
        font-size: .8rem;
        margin-top: 3px;
    }

    .dmu__events .dmu__month_part {
        /* displays the month text */
        background: #8a378b; /*#9d0932;*/
        /*border-bottom: solid 2px #9d0932;*/
        color: #fff;
        font-size: .8rem;
        /*font-weight: bold;*/
        letter-spacing: .5px;
        padding: 3px 0 3px 0;
        z-index: 100;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 25px;
    }

    .dmu__events .dmu__name_part {
        /* displays the name text */
        background: #8a378b; /*#9d0932;*/
        /*border-bottom: solid 2px #9d0932;*/
        color: #fff; /*#ff5;*/
        font-size: 0.8rem;
        letter-spacing: .5px;
        padding: 6px 3px;
        z-index: 100;
        cursor: pointer;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dmu__events .dmu__extra_part {
        color: #fff;
        font-style: italic;
    }

    .dmu__events .dmu__location_part {
        /* displays the month text */
        background: white; /*#00c8ff;*/
        /*border-bottom: solid 2px #9d0932;*/
        color: black; /*#000055;*/
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .8rem;
        /*font-weight: bold;*/
        letter-spacing: .5px;
        padding: 5px 0px 2px 0;
        z-index: 100;
        cursor: pointer;
        height: 24px;
    }

    /* CURRENTLY DISABLED: MASS CAMPUS TOUR WORKAROUND */
    .dmu__events .dmu__event_full {
        font-size: x-large;
        color: Red;
        border-style: solid;
        border-color: black;
        background-color: rgba(255,255,255,0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: rotate(-30deg);
        height: 3.2em;
        line-height: 1.2em;
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    /*.dmu__events .dmu__event_full {
        font-size: x-large;
        color: Red;
        border-style: solid;
        border-color: black;
        background-color: rgba(255,255,255,0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: rotate(-30deg);
        height: 3.2em;
        line-height: 1.2em;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 1000;
    }*/

    .dmu__events input:checked + label {
        border: 5px solid #00823e;
    }

.dmu__postcode .dmu__input {
    width: auto;
    margin-right: 0.5em;
    display: inline-block;
}

.dmu__button__find {
    background-color: #444;
    color: #fff;
    display: inline-block;
    padding: 14px 10px;
    border-radius: 3px;
    text-align: center;
    font-weight: 200;
    font-size: 100%;
    border: none;
    cursor: pointer;
    /*margin-top: 0.5em;*/
}


/* different attempt to display the date - not used */
.dmu__date {
    float: left;
    height: 5em;
    width: 5em;
    /*background: url(date.png) no-repeat;*/
    margin-right: 0.75em;
    padding-top: 0px;
    line-height: normal;
    border: 0.25em solid #0DFF92;
    border-radius: 1em;
    box-sizing: border-box;
    background-color: #333;
}

    .dmu__date .dmu__month {
        display: block;
        text-align: center;
        color: #FFF;
        font-size: 0.85em;
        padding: 0.85em 0;
        text-transform: uppercase;
    }

    .dmu__date .dmu__day {
        display: block;
        text-align: center;
        color: #222;
        font-size: 1.5em;
        font-weight: bold;
    }

.dmu__left {
    float: left;
}

.dmu__right {
    float: right;
}

/* special case to have an overlay which is displayed during slow loading on certain drop down controls.
    added 21/06/2018   */
.state-loadingcontainer {
    /*position: relative;*/
}

.state-loading {
    display: none;
    /*visibility: hidden;*/
    position: absolute;
    z-index: 999;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: white;
    /*vertical-align:bottom;*/
    /*margin-top: 20%;*/
    padding-top: 100%;
    filter: alpha(opacity=75);
    opacity: 0.75;
    /*font-size:large;
  color:blue;
  font-style:italic;
  font-weight:400;*/
    /*background-image: url(../images/ajax-loader.gif);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;  */
    text-align: center;
}

/* this is to modify the automatic display of the telephone numbers for Edge and iOS */
.state-telephone a[href^=tel] {
    font-weight: bold;
    text-decoration: none;
}

#PageTwoSubmit, #cancel1, #clear1, #cancel, #clear, #search, #select, #UpdateSubmit, #PanelOneSubmit, #PanelTwoSubmit {
    color: #fff;
    display: inline-block;
    padding: 14px 10px;
    border-radius: 3px;
    text-decoration: none;
    background-color: #00823e;
    text-align: center;
    font-weight: 200;
    font-size: 100%;
    border: 2px solid #03612F;
    cursor: pointer;
}

#cancel1, #clear1, #cancel, #clear, #search, #select, #UpdateSubmit, #PanelOneSubmit, #PanelTwoSubmit {
    min-width: 25%;
}

#PageTwoSubmit {
    min-width: 100%;
}

    #PageTwoSubmit:hover, #PageTwoSubmit:focus, #cancel1:hover, #cancel1:focus, #clear1:hover, #clear1:focus {
        background-color: #03612F;
    }

#cancel:hover, #clear:hover, #search:hover, #select:hover, #UpdateSubmit:hover, #PanelOneSubmit:hover, #PanelTwoSubmit:hover {
    background-color: #03612F;
}

#cancel:focus, #clear:focus, #search:focus, #select:focus, #UpdateSubmit:focus, #PanelOneSubmit:focus, #PanelTwoSubmit:focus {
    background-color: #03612F;
}

@media screen and (min-width: 40em) {
    #PageTwoSubmit {
        min-width: 50%;
    }

    #cancel1, #clear1, #cancel, #clear, #search, #select, #UpdateSubmit, #PanelOneSubmit, #PanelTwoSubmit {
        min-width: 32%;
    }

    .dmu__margin {
        margin-left: 12.5%
    }
}

.dmu__fieldset {
    width: 70%;
    border: 1px solid #ccc;
    margin-left: 15%;
}

/* this is taken from the old styles.css */
.mainHeader__logo {
    background: transparent url(../2014/images/bg/dmu-logo.svg) left center no-repeat;
    /*background: transparent url(../images/bg/dmu-logo.svg) left center no-repeat;*/
    display: block;
    width: 168px;
    height: 70px;
    /*float: left;*/
    margin: 20px 8px;
    /*text-indent: -9999em;*/
}

.no-svg .mainHeader__logo {
    background: transparent url(../2014/images/bg/dmu-logo.png) left center no-repeat;
    /*background: transparent url(../images/bg/dmu-logo.png) left center no-repeat;*/
}

/*************************************************************************/
/* This is pinched from the jquery css                                   */
/*************************************************************************/

/* need to edit the jquery to remove unwanted theme parts */

.ui-datepicker-trigger {
    vertical-align: top;
}

.ui-tooltip {
    position: absolute;
    z-index: 9999;
    border-width: 1px;
    border-color: darkgray;
    background: #eeeeee;
    font-size: smaller;
    max-width: 150px;
    box-shadow: none;
    padding: 6px;
}

body .ui-tooltip {
    border-width: 1px;
}
