﻿/*========= ERIC MEYER CSS RESET ============*/

/*  http://meyerweb.com/eric/thoughts/2008/01/15/resetting-again/  */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address,
big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    background: transparent;
    border: 0;
    font-size: 100%;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

    a:visited {
        color: #73468f;
    }

    a:link {
        color: #1e65ad;
    }

    ul ul, ol ol {
        margin: 0;
    }

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

/* remember to define focus styles! */

:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */

ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*========= END CSS RESET ============*/

/*========= HTML TAG DEFINITIONS ============*/

/* Make older browsers work with HTML5 */
header, nav, footer, article, details, summary, aside {
    display: block;
}

body {
    color: #000;
    font: normal 0.8em Verdana, Arial, sans-serif;
}

    body#Standard {
        /*background: #eeece6;*/
        background: #f7f7f7;
    }

    body#Blank {
        background: #fff;
    }

/* makes images and videos scale when viewport is changed in standard compliant browsers */

img {
    max-width: 100%;
}

p {
    line-height: 1.3;
    margin: 1em 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0.5em 0;
}

h1, .AsH1 {
    font-size: 1.6em;
}

h2, .AsH2 {
    font-size: 1.45em;
    font-weight: normal;
    padding: 5px 0;
}

h3, .AsH3 {
    font-size: 1.35em;
    font-weight: normal;
}

h4, .AsH4 {
    font-size: 1.2em;
    font-weight: normal;
}

h5, .AsH5 {
    font-size: 1.1em;
    font-weight: normal;
}

h6, .AsH6 {
    font-size: 1em;
    font-weight: normal;
}

    /* Reverse headings with background colours.  Bgcolour is reset in coloured stylesheet */
    h1.Reverse, h2.Reverse, h3.Reverse, h4.Reverse, h5.Reverse, h6.Reverse {
        background: #ccc;
        color: #fff;
        display: block;
        padding: 10px 20px;
    }

ul, ol {
    display: block;
    margin: 1em 0;
    padding-left: 8.333%;
}

ul {
    list-style-type: square;
}

ol {
    list-style-type: decimal;
}

sub {
    font-size: smaller;
    line-height: normal;
    vertical-align: sub;
}

sup {
    font-size: smaller;
    line-height: normal;
    vertical-align: super;
}

caption {
    font-weight: bold;
}

table.data {
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
}

    table.data th {
        background: #ccc;
        border-right: 1px solid #ccc;
        color: #fff;
        padding: 0.5em;
    }

    table.data td {
        border: 1px solid #ccc;
        padding: 0.5em;
    }


a:focus img {
    background: #005689;
}

.ImgLeft {
    float: left;
    padding: 10px 10px 10px 0;
}

.ImgRight {
    float: right;
    padding: 10px 0 10px 10px;
}


/*========= END HTML TAG DEFINITIONS ============*/

/* USED FOR ALL BROWSER WIDTHS */

div#Container {
    margin: 0 auto;
    max-width: 960px;
}


div#Content,
div#SectionNav,
div#Aside {
    background: #fff;
    /*border: 1px solid #9E9691;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    behavior: url(/JS/PIE.htc);*/
    padding: 1em;
    position: relative;
}

body#Blank div#Content {
    border: 0;
    padding: 0;
}

div#Logo {
    margin: 1em 0 0 1%;
    /*    float: left;*/
}


header { padding-bottom: 1em; }

header h1 {
    color: #666;
    margin-top: 20px;
    font-size: 2em;
    font-weight: normal;
    text-align: center;
}


/*========= BREADCRUMBS ============*/

div#Breadcrumbs {
    font-size: 0.8em;
}

    div#Breadcrumbs a:hover {
        text-decoration: underline;
    }

    div#Breadcrumbs a:link {
        color: #000;
        text-decoration: none;
    }

/*========= END BREADCRUMBS ============*/


/*========= FORM STYLES ============*/

fieldset {
    border: 1px solid #ccc;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    behavior: url(/JS/PIE.htc);
    clear: both;
    display: block;
    margin: 0 auto;
    padding: 1em;
}

body#Blank fieldset {
    width: 95%;
    margin-bottom: 1em;
}

fieldset legend {
    color: #088372;
    font-size: 120%;
    font-weight: bold;
    padding: 0 1em;
}

/* put forms in a <ul> and each time you want to start a new row use a <li> */
.uocForms ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .uocForms ul li {
        margin: 1em;
    }

    .uocForms ul.bullets
    {
        list-style-type: disc;
        margin-left: 3em;
    }

        .uocForms ul.bullets ul {
            list-style-type: circle;
        }

.uocForms label {
    display: block;
    font-weight: bold;
    margin-top: 1em;
}

    /* If you want the label and form control to display on a single line e.g. radio buttons or checkboxes use this class */
    .uocForms label.inline {
        display: inline;
    }

/* Widths of input boxes. Use these or set your own */
.uocForms input.short {
    width: 10em;
}

.uocForms input.medium {
    width: 15em;
}

.uocForms input.long {
    width: 25em;
}

/* Change background colour of form elements when they have focus so users can easily see where they are in the form */
.uocForms input:focus, .uocForms select:focus, .uocForms textarea:focus {
    background-color: #FFFFCC;
}

.uocForms textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 95%;
    width: 50%;
}

.uocForms #ContentPlaceHolder_rbStudentOrStaff label {
    display: inline;
}
    /* Help messages */
    .help {
    background: #F0F8FF;
    border: 1px solid #ccc;
    font-weight: bold;
    margin: 0 0 1em 0;
    padding: 0.5em;
}

.instructions {
    background: #FFFFEA;
    border: 1px solid #E0E0DC;
    border-radius: 0 0 5px 5px;
    border-width: 0 1px 1px 1px;
    box-shadow: 0px 5px 5px #aaa;
    margin: 0 auto 1em auto;
    padding: 1em;
    width: 95%;
}

.error {
    background: #FFFFCC;
    border: 1px solid #E0E0DC;
    clear: both;
    display: block;
    font-weight: bold;
    margin: 0.5em 0;
    padding: 0.5em 0.5em 0.5em 30px;
    width: auto;
}

.highlight 
{
    background: #F7F7F7;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1em;
}

    /* 
  Fixes issue with .NET Validator class
  When validators that are set to display dynamic .Net adds an inline style of "display: inline"
  To display the error messages as designed above the error messages must be "display: block"
  This overrides the .Net inline style
*/
    .error[style*="inline"] {
        display: block !important;
    }

/*========= END FORM STYLES ============*/


/*========= CUSTOM SCRIPTS ============*/

/* Styles for jQuery UI tabs */
ul.ui-tabs-nav {
    clear: both;
    list-style-type: none;
    margin: 1em 0;
    padding: 0;
    width: 100%;
}

    div.uocForms ul.ui-tabs-nav li,
    ul.ui-tabs-nav li {
        float: left;
        margin: 0;
    }

        ul.ui-tabs-nav li.ui-state-active a {
            background: #fff;
            color: #000;
            position: relative;
            top: 1px;
            z-index: 4;
        }

        ul.ui-tabs-nav li a {
            background: #ccc;
            border: 1px solid #ccc;
            border-width: 1px 1px 0 1px;
            border-radius: 5px 5px 0 0;
            /*behavior: url(/JS/PIE.htc);*/
            color: #fff;
            display: block;
            font-weight: bold;
            margin-right: 0.5em;
            padding: 0.5em 0.8em;
            text-decoration: none;
        }

/* Container for tab content */
div.ui-tabs-panel {
    border: 1px solid #ccc;
    clear: both;
    padding: 0.5em;
}

    div.ui-tabs-panel h2 {
        font-size: 1.2em !important;
    }

div.moreInfo {
    background: #fafafa;
    border: 1px solid #ccc;
    padding: 0.5em;
    margin: 1em 0;
}

ul#validation ul {
    margin-left: 25px;
}

ul#validation ul i.fas {
    font-size: 1.5em;
}

/*========= END CUSTOM SCRIPTS ============*/


/*========= FOOTER ============*/

aside#FooterNavContainer,
div#FooterContainer {
    float: left;
    display: inline;
    margin-top: 1em;
    width: 98%;
}

div#Footer {
    border-top: 1px solid #9E9691;
    color: #666;
    padding-top: 1em;
}

    div#Footer a:link,
    aside#FooterNavContainer a:link {
        text-decoration: none;
        color: #8b7b6b;
    }

    div#Footer a:hover,
    aside#FooterNavContainer a:hover,
    div#Footer a:focus,
    aside#FooterNavContainer a:focus {
        text-decoration: underline;
    }

    div#Footer a:focus,
    aside#FooterNavContainer a:focus {
        color: #fff !important;
    }

    div#Footer a:visited,
    aside#FooterNavContainer a:visited {
        color: #504d4b;
        text-decoration: none;
    }

div#CopyrightAndShare,
footer#CopyrightAndShare small {
    color: #666;
    clear: both;
    padding-top: 2em;
}

/* =================== MOBILE =================== */
@media only screen and (max-width: 680px) {

    div#ContentContainer,
    div#NavAsideContainer {
        width: 98%;
        margin: 0 1%;
    }

    /* Make text larger on small screens.  The assumption is that these are mobiles so the idea is to make the text easier to read in bright light*/
    body,
    input,
    select,
    textarea {
        font-size: 1em;
    }

        /*Make buttons bigger to increase the hit area when using touch screen phones */
        input[type=button],
        input[type=submit] {
            padding: 0.3em 0.5em;
        }

        /* Add space between buttons so the wrong one isn't accidently pressed on phones */
        input[type=submit] {
            margin-right: 1em;
        }



    div#ContentContainer {
        margin-bottom: 1em;
    }

    p#ShowSectionNav {
        background: url("http://www.cumbria.ac.uk/SiteElements/Images/Icons/Down2.png") top left no-repeat;
        color: #666;
        display: block;
        font-weight: bold;
        font-size: 1.5em;
        min-height: 36px;
        padding-left: 36px;
        text-align: center;
        text-decoration: none;
    }

    div#SectionNav ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

        div#SectionNav ul a {
            border-bottom: 1px solid #C9C9C9;
            color: #666;
            display: block;
            font-size: 1.5em;
            padding: 0.5em 0;
            text-decoration: none;
        }

            div#SectionNav ul a.selected {
                font-weight: bold;
            }

    div#SectionNav {
        margin-bottom: 1em;
    }



    div#FooterContainer {
        width: 98%;
        margin: 0 1%;
    }
}


/* ================== TABLETS =============================== */
@media only screen and (min-width: 680px) {

    div#Logo {
        float: left;
    }

    header h1 {
        float: right;
        text-align: right;
        font-size: 3em;
    }

    div#ContentContainer,
    div#ContentContainerNoNav {
        display: inline;
        float: right;
        margin-left: 1%;
        margin-right: 1%;
        width: 73%;
    }

    div#ContentContainerNoNav {
        margin: 0 1% 0 1%;
        width: 98%;
    }

    /* Container for the section nav and aside content area */
    div#NavAsideContainer {
        display: inline;
        float: left;
        margin-left: 1%;
        margin-right: 1%;
        width: 23%;
    }


    div#SectionNav ul {
        list-style: none;
        margin: 1em 0 0 0;
        padding: 0;
    }

        div#SectionNav ul a {
            color: #000;
            display: block;
            line-height: 1.5;
            text-decoration: none;
        }

            div#SectionNav ul a.selected {
                color: #000;
                display: block;
                font-weight: bold;
                line-height: 1.5;
                text-decoration: none;
            }



            div#SectionNav ul a:hover {
                text-decoration: underline;
            }

    div#SectionNav li {
        margin-bottom: 1em;
        padding-left: 1em;
    }

    /* To indicate current page in section nav */
    div.sys_currentitem {
        font-weight: bold;
    }


    .fas {
        margin-right: 0.5em;
    }

    #passwordResetQuestion { margin-top: 1em; }
}