html
{
    background: linear-gradient(130deg, #FEFFFF, #FEFFFF, #FEFFFF, #86AAE1);
    background-position:  center center;
    background-attachment: fixed;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #FFFFFF;
    min-width: 320px;
}

@media (max-width: 450px) 
{
    body 
    {
	    font-size: small;
    }
}

@media (min-width: 451px) and (max-width: 900px) 
{
    body 
    {
	    font-size: medium;
    }
}

@media (min-width: 901px) 
{
    body 
    {
	    font-size: large;
    }
}

.MasterHeader
{
    margin: 0 auto 1em auto;
    width: 98%;
    max-width: 900px;
}

.MasterMain
{
    margin: 0 auto 0 auto;
    width: 98%;
    max-width: 900px;
}

.MasterFooter
{
    margin: 0 auto 0 auto;
    width: 98%;
    max-width: 900px;
}

.ScientiaHeader
{
    text-align: center;
}

.ScientiaHeader img {
    width: 10em;
}

.HeaderTitle
{
    font-size: 1.4em;
    font-weight: bold;
    padding-left: 3em;
    color: #737373;
}

.pageMenu
{
    text-align: center;
}

.pageMenu a
{
    font-size: 0.7em;
    color: #578AD6;
    padding: 0 0.6em 0 0.6em;
    text-decoration: none;
}

.pageMenu a:hover
{
    background-color: inherit;
    text-decoration: underline;
}

.Section
{
    width: 100%;
    display:inline-block;
    position: relative;
    padding-bottom: 1.3em;
}

.SectionHeader
{
    position: relative;
    text-align: left;
    font-size: 0.7em;
    background-color: #578AD6;
    color: #FFFFFF;
    width: 100%;
    margin: 0 0 1em 0;
    padding-bottom: 0.2em;
}

.SectionNumber
{
    position: relative;
    display: inline-block;
    padding: 0.14em 0 0 0.5em;
    vertical-align: top;
}

.SectionLabel
{
    position: relative;
    display: inline-block;
    padding: 0.14em 0.5em 0 0.5em;
    width: 90%
}

.SectionInstructions {
    display: inline-block;
    max-width: 22%;
    margin-bottom: 1em;
}

.SectionImage
{
    background-repeat: no-repeat;
    float: left;
    width: 3.8em;
    height: 3.8em;
    background-size:contain;
    margin-bottom: 0.3em;
}

#OptionsSection .ContentPanel
{
    width: 86%;
}

@media (max-width: 500px) 
{
    #OptionsSection .SectionImage 
    {
        display: none;
    }
    
    .SectionImage {
        width: 3em;
        height: 3em;
     }
     
    #OptionsSection .ContentPanel
    {
        width: 100%;
        padding-right: 0em;
    }
}

.InstructionLabel {
    font-style: italic;
    font-size: 0.65em;
    float: left;
    width: 7em;
    padding-left: 0.5em;
}

.SectionRoomImage
{
    background-image: url(../Images/room.gif);
}

.SectionDateImage
{
    background-image: url(../Images/date.gif);
}

.SectionTimeImage
{
    background-image: url(../Images/time.gif);
}

.SectionOptionImage
{
    background-image: url(../Images/choose.gif);
}

.SectionConfirmImage
{
    background-image: url(../Images/confirm.gif);
}

.SectionMyBookCancelled
{
    background-image: url(../Images/booked_cancelled.gif);
    height: 2em;
    width: 2em;
    background-size:contain;
}

.SectionMyBookConfirmed
{
    background-image: url(../Images/booked_confirmed.gif);
    height: 2em;
    width: 2em;
    background-size:contain;
}

.SectionMyBookProvisional
{
    background-image: url(../Images/booked_provisional.gif);
    height: 2em;
    width: 2em;
    background-size:contain;
}

.SectionMyBookUnconfirmed
{
    background-image: url(../Images/booked_unconfirmed.gif);
    height: 2em;
    width: 2em;
    background-size:contain;
}

.ContentPanel
{
    display: inline-block;
    float: right;
    width: 74%;
    padding-right: 0.5em;
}

.InstructionPanel
{
    position: absolute;
    font-size: 0.6em;
    left: 0.5em;
    top: 15em;
    max-width: 25%;   
}

.InstructionPanel a
{
    display: inline-block;
    font-family: Arial;
    text-decoration: none;
    background-color: #EEEEEE;
    color: #333333;
    padding: 2px;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #CCCCCC;
}

.ControlsPanel
{
    display: block; 
}

.RoomSelectionPanel {
    margin-top: 1.5em;
    float: right;
    height: auto;
    width: 132%;
}

@media (max-width: 700px)
{   
    .FilterCtrlsLeft
    {
        float: right;
        width: 96%;
    }
    .FilterCtrlsRight
    {
        width: 96%;
    }
    .FilterCtrlsRight table 
    {
        float: right;
        width: 100%;
    }
    .FilterCtrlsRight .RoomTable
    {
        width: 70%;
    }

    .FilterCtrlsRight .Weeks
    {
        width: 70%;
    }

    #monthDayListFilterCtrls .FieldLabel {
        display: none;
    }

    .DateControlPanel .FilterCtrlsLeft {
        padding-top: 0;   
    }
}

@media (min-width: 701px)
{
    .FilterCtrlsLeft
    {
        float: left;
        width: 48%;
    }
    
    .FilterCtrlsRight
    {
        width: 48%;
    }
    
    .FilterCtrlsRight table 
    {
        margin: 0 auto 0 auto;
        float: right;
    }

    #monthDayListFilterCtrls span {
        padding-top: 4em;
    }

    .CalendarPanel table
    {
        width: 95%;
    }

    .FilterCtrlsLeft .RoomTable
    {
        padding-top: 0.9em;
    }
    
    #DateControlPanel .FilterCtrlsLeft
    {
        padding-top: 2.5em;
    }
}

.FilterCtrlsLeft
{
    text-align: right;
}

#monthDayListFilterCtrls .FilterCtrlsLeft
{
    text-align: center;
}

.FilterCtrlsRight
{
    float: right;
    text-align: right;
    min-height: 4em;
}

.Calendar
{
    font-size: 0.70em;
    width: 80%;
}

.CalendarDayHeader
{
    background-color: #f0f8ff;
    border-bottom: solid thin #578AD6;
}

.CalendarTitle
{
    text-align: center;
    font-size: 0.9em;
    margin-bottom: 0.3em;
}

.CalendarSelectedDay
{
    background-color: white !important;
    color: inherit;
    border: dashed thin #578AD6;
}

.CalendarSelectedDayInOtherMonth
{
    background-color: #f0f8ff !important;
    color: inherit;
    border: dashed thin #578AD6;
}

.CalendarOtherMonthDay
{
    color: lightgrey;
}

.CalendarTodayDay
{
    color: inherit;
    font-weight: bolder;
}

.CalendarWeekendDay
{
    color: inherit;
}

.Banner
{
    border: solid #578AD6 thin;
    background: #FFFFFF;
    color: inherit;
    padding: 1em 1em 1em 1em;
    margin: 3em auto 2em auto;
    text-align: center;
    max-width: 90%;
    width: 30em;
}

.BannerTitle
{
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 0.9em;
}

.Banner a
{
    display: block;
    margin-top: 1.5em;
    font-size: 0.7em;
}

.Banner .Text
{
    font-size: 0.72em;
}

.Banner .Grid
{
    font-size: 0.9em;
}

.ErrorText
{
    text-align: left;
    color: #D62828;
    background-color: inherit;
    font-size: 0.7em;
}

#OptionNavPanel a
{
    font-size: 0.5em;
    display: inline-block;
    font-family: Arial;
    text-decoration: none;
    background-color: #EEEEEE;
    color: #333333;
    padding: 2px 6px 2px 6px;
    margin-top: 1em;
    margin-bottom: 0.5em;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #CCCCCC;
    width: auto;
}

#MoreStarts {
    margin-left: 1.5em;
}

.Grid
{
    font-size: 0.6em;
    text-align: left;
    width: 100%;
}

.Grid a
{
    font-size: 1em;
}

.GridHeader
{
    background-color: rgba(124, 160, 213, 0.33);
    color: #022E6F;
    text-align: center;
    width: 100%;
    height: 18px;
}

.GridHeader a
{ 
    color: #022E6F;
}

.GridItem
{
    text-align: left;
    background-color: #F8F8FF;
    color: inherit;
    text-indent: 2px;
    border-bottom: 1px solid lightgrey;
}

.Grid input {
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}

.GridAlternateItem
{
    text-align: left;
    background-color: #FFFFFF;
    color: inherit;
    text-indent: 2px;
    border-bottom: 1px solid lightgrey;
}

.Grid td
{
    border-color: #737373;
}

.ReferenceImage
{
    width: 30px;
}

.Confirmed
{
    color: Green;
    background-color: inherit;
}

.Unconfirmed
{
    color: #578AD6;
    background-color: inherit;
}

.Cancelled
{
    color: #D62828;
    background-color: inherit;
}

.FormField
{
    width: 100%;
}

.BookingField
{
    width: 100%;
}

#BookingContentPanel table 
{
    max-width: 25em;
    margin: auto 0 auto 0;
}

#monthDayListFilterCtrls
{
    display: inline-block;
    text-align: center;
}

#monthDayListFilterCtrls .FieldLabel
{
    padding-left: 0.4em;
    font-size: 0.7em;
}

#RoomControlsPanel
{
    min-height: 7.5em;
}

#TimeControlsPanel
{
    height: 40px;
}

.buttons
{
    width: 100%;
    height: 30px;
}

.backButton
{
    float: left;
}

.nextButton
{
    float: right;
}

.CancelButton
{
    font-size: xx-small;
}

div.clearer
{
    clear: left;
    line-height: 0;
    height: 0;
}

img
{
    border-style: none;
}

.OptionNavSection
{
    padding-right: 14px;
}

.OptionNavSection a
{
    padding-right: 3px;
}

.OptionSelectionPanel
{
    text-align: left;
}

#OptionsContentPanel
{
    height: auto;
    text-align: center;
}

.OptionOtherTimesColumn input[type=image]
{
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 1px;
    width: 1.2em;
    height: 1.2em;
}

.OptionTimetableColumn img
{
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 1px;
    width: 1.4em;
    height: 1.4em;
}

#RegistrationFormFields
{
    text-align: right;
    margin-top: 20px;
}

#ShowCancelledOption
{
    float: left;
    font-size: 0.6em;
    margin-bottom: 1em;
}

#ShowCancelledOption label 
{
    position: relative;
    top: -.2em;
}

#ShowTeamOption
{
    float: left;
    font-size: 0.6em;
    margin-bottom: 1em;
}

#ShowTeamOption label 
{
    position: relative;
    top: -4px;
}

#LoginFields
{
    margin: 20px 0 20px 10px;
}

.LabelControlPair
{
    margin-top: 3px;
}

.FieldLabel
{
    font-size: 0.7em;
}

.LabelControlPair .FormField
{
    width: 14em;
    margin-right: 30px;
}

#TimeSection select
{
    width: 50%;
    margin-bottom: 1px;
}

.hidden
{
    display: none;
}

.VersionInfo
{
    position: relative;
    top: 1em;
    font-size: 0.55em;
    font-style: italic;
    color: #737373;
}

.MyBookingsSubText
{
    height: auto;
    text-align: center;
    font-size: 0.7em;
}

.RedText
{
    color: #D62828;
}

#full-screen-background-image
{
    z-index: -999;
    min-height: 100%;
    min-width: 100%;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
}

.TimeFilter
{
    font-size: 0.7em;
}

.DateFilter
{
    font-size: 0.7em;
    width: 100%;
    min-height: 13.2em;
}
    
.RoomFilter
{
    font-size: 0.7em;
}

.FormField 
{
    font-size: 0.7em;
    padding-right: 0;
}

table {
    width: 100%;
}

#monthDayListFilterCtrls .FieldLabel
{
    padding-bottom: 2em;
}

textarea.FormField {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    height: 4em;
}

.ValidationSummary 
{
    z-index: 1;
    position: fixed;
    top: 83%;
    left: 2%;
    background-color: #f5f5f5;
    background-color: rgba(245,245,245,0.55);
}

.ValidationSummary .ErrorText {
    border: solid 0.2em silver;
    padding-right: 0.5em;
}

.ValidationSummary ul {
    color: red;
    padding-left: 2.5em;
    background-color: #f5f5f5;
    background-color: rgba(245,245,245,0);
    list-style:disc;
}

@media (max-width: 400px)
{
    .LocationDescriptionColumn {
        display: none;
    }
    .LocationAreaColumn {
        display: none;
    }
    .LocationHostKeyColumn {
        display: none;
    }
}

#RoomContentPanel .InstructionPanel 
{
    top:  14em;
}

#DateContentPanel .InstructionPanel {
    top:  20em;
}
