﻿body {
    padding-top: 0px;
    padding-bottom: 0px;

    /* Helvetica Regular 13px */
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    font-weight: normal;
    font-size: 13px;

    /* Min width is the largest size the window can be without things wrapping,
        We might want to use BrowserStack or similar to verify that other devices font-sizes
        etc interfere with this value too much */
    min-width: 550px;
}

p {
    margin: 0px 0px 22px 0px;
}

a {
    color: #124c8c;
}

header {
    background: url('/css/Images/header-background.png') repeat-x rgb(10, 42, 80);
    border-bottom: 1px solid #9d9d9d;
    height: 137px; /* 104px (img) + 33px (navbar) */
    width: 100%;
    margin: 0px;
}

    header img {
        margin: 0px;
        float: right;
        height: 104px;
    }

    header h1 {
        /* Reset */
        margin: 0px;
        padding: 0px;
        /* Block */
        height: 104px;
        line-height: 104px;
        padding-left: 56px;
        float: left;
        /* Text */
        color: white;
        font-weight: 100; /* Helvetica Light */
        font-size: 36px;
        white-space: nowrap;
        overflow: hidden;
    }

footer {
    width: 100%;
    clear: both;
    height: 23px;
    background: rgb(13, 59, 109);
    color: rgb(191, 191, 191);
    border-top: 1px solid rgb(23, 90, 169);
}

    footer .v-seperator {
        display: inline-block;
        min-width: 15px;
        text-align: center;
    }

    footer form,
    footer form > * {
        display: inline;
        margin: 0px;
        padding: 0px;
        font-size: 11px;
    }

    footer > * {
        margin: 0px;
        max-height: 18px;
        font-size: 11px;
    }

        footer a,
        footer input[type=submit]
        footer button {
            font-weight: normal;
            background: transparent;
            border: none;
            border-radius: 0;
            padding: 0;
            color: rgb(231, 231, 231);
        }
            footer a:hover,
            footer a:focus,
            footer a:active,
            footer input[type=submit]:hover,
            footer input[type=submit]:focus,
            footer input[type=submit]:active {
                text-decoration: underline;
                color: white;
            }
            footer button,
            footer button:active,
            footer button.active,
            footer button[disabled],
            fieldset[disabled] footer button {
                background-color: transparent;
                -webkit-box-shadow: none;
                box-shadow: none;
            }
                footer button,
                footer button:hover,
                footer button:focus,
                footer button:active {
                    border-color: transparent;
                }

        footer p.copyright {
            float: left;
            padding: 3px 10px 3px 33px;
        }

        footer div.menu {
            float: right;
            padding: 3px 33px 3px 10px;
        }

        footer .contact-us {
            color: #ccc;
        }

h1, h2, h3, h4, h5, h6 {
    color: #0f2e5c;
    font-weight: bold;
}

h1 { font-size: 25px; }
h2 { font-size: 20px; }

.center-message {
    text-align: center;
}


.panel.panel-content {
    border: 1px solid white;
    border-radius: 12px;
    background: #215088;
    background-image: url('/css/Images/content-panel-background.png');
    background-size: contain;
    padding: 0px 15px 15px 15px;
    margin: 0px 10px 20px 10px;
    width: 278px;
    line-height: 125%;
    box-shadow: rgba(0, 0, 0, 0.25) 4px 4px 15px;
    position: relative;
    /* The boxes are center aligned. Override to align the text inside the box */
    text-align: left;
    display: inline-block;
}

    .panel.panel-content h3 {
        font-size: 12px;
        margin: 0px;
        margin-top: 6px;
        font-weight: bold;
    }

    .panel.panel-content li:first-child h3 {
        margin-top: 0px;
    }


    .panel.panel-content .panel-heading {
        text-transform: uppercase;
        font-size: 10pt;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        color: white;
        margin: 0px;
        height: 28px;
        white-space: nowrap;
        padding-left: 0px;
    }

    .panel.panel-content .panel-body {
        background: white;
        border-radius: 8px;
        height: 188px;
        overflow: hidden;
        padding: 10px 7px 20px 7px;
    }

        .panel.panel-content .panel-body p {
            margin: 0 0 10px;
        }

    .panel.panel-content.auto-size {
        width: auto;
    }

        .panel.panel-content.auto-size .panel-body {
            height: auto;
        }

    .panel.panel-content form {
        margin: 2em 4em;
    }

/* Content panel button */
.btn.btn-continue {
    position: absolute;
    height: 40px;
    width: 30px;
    /* 3px overlap */
    right: 12px;
    bottom: 12px;
    background: url('/css/Images/corner-bg.png');
    background-position: bottom right;
    background-repeat: no-repeat;
}

.page-content {
    text-align: left;
    display: inline-block;
    width: 100%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding: 0px 15px 0px 15px;
    display: inline-block;
    width: 70%;
    margin-left: 2%;
}

.no-sidebar-content-container {
    margin: 0px 33px;
}

#sidebar {
    color: rgb(96, 96, 96);
    float: left;
    width: 90%; /* Fill the width if it is small as the article will be underneath the side bar */
    display: inline-block;
    vertical-align: top;
    width: 18%;
}

.form-horizontal .form-group {
    /* Undo bootstrap's negative margin so that it is more centrally aligned*/
    margin-right: 0px;
    margin-left: 0px;
}

/* Form Labels (for sign in page) */
.checkbox label,
.form-horizontal .control-label {
    font-size: 13px;
    text-align: left;
    color: #333333;
    padding-left: 0px;
    padding-right: 0px;
}

    .control-label::after {
        content: ":";
    }
    
/* Align checkbox and label */
.checkbox {
    padding: 0px;
}
    .checkbox input[type="checkbox"] {
        margin: 0px 0.5em 0px 0px;
    }

.login-form {
    margin: auto;
    max-width: 789px;
}

    .login-form .help-block {
        margin: auto;
        max-width: 475px;
    }

.help-block {
    font-size: 75%;
}

    .help-block a {
        font-weight: bolder; 
        color: inherit;
    }

.form-control {
    background: #e8e8e8;
    border: 1px solid #a9a9a9;
    border-radius: 1px;
    height: 25px;
    -webkit-box-shadow: inset 0px 1px 1px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0px 1px 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0px 1px 1px 1px rgba(0, 0, 0, 0.1);
    padding: 0px 10px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Set padding to display errors that occur during databinding */
.padding-error {
    padding-top: 20px;
}

/* Styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

/* Validation messages at the top of a form go into an .alert.alert-danger */
.alert ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    font-size: 110%;
}
.validation-summary-errors,
.validationMessage {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.toplevel-menu {
    /* Reset */
    padding: 0px;
    margin: 0px;
    clear: both;
    /* Block */
    background: rgb(227, 227, 225);
    height: 33px;
    /* Text */
    font-size: 14px;
    color: rgb(99, 99, 97);
    text-align: center;
}

    .toplevel-menu li {
        /* Fix display: inline-block for IE7 */
        zoom: 1;
        *display: inline;
        /* End of IE7 Fix */
        display: inline-block;
        height: 33px;
        line-height: 33px;
        margin: 0px;
        padding: 0px 20px 0px 20px;
    }

        .toplevel-menu li.selected {
            /* Colour Same as background on page header*/
            border-bottom: 3px solid rgb(18, 67, 126);
            color: rgb(18, 67, 126);
        }

        .toplevel-menu li a {
            /* Reset */
            color: inherit;
            text-decoration: none;
        }


@media only screen and (max-width: 767px) {
    .nofloat {
        float: none;
        padding: 10px 15px;
    }
}

    #sidebar #sidebar_menu {
        overflow: hidden;
        padding-left: 20px;
        padding-right: 20px;
    }

    #sidebar.collapsed {
        padding-left: 33px;
        width: 0px !important;
    }

        #sidebar.collapsed #sidebar_menu {
            /* try to hide everything, if we use display: none then the border wont be draggable... */
            padding: 0px;
            margin: 0px;
            color: transparent;
            background-color: transparent;
        }

    #sidebar .ui-resizable-e {
        /* put the resizable handle directly on the border and make it slightly thinner so it doesnt overlap the buttons so badly*/
        width: 3px;
        right: -1.5px;
    }

    #sidebar h2 {
        margin-top: 17px;
        font-size: 18px;
        margin-bottom: 17px;
        /* Break up the word when the sidebar gets too small. */
        word-wrap: break-word;
        /* Prevent each character from occupying its own line by limiting the lines to 2 */
        max-height: 2em;
        overflow: hidden;
    }

    #sidebar a {
        /* Reset */
        color: inherit;
    }

        #sidebar a:hover {
            text-decoration: none;
        }

    #sidebar ul {
        list-style: none;
        padding-left: 0px;
    }

        #sidebar div.top > ul, /* Indent the top-level ul (so that the arrows are visible/in the correct place (as if it was a normal list) */
        #sidebar ul.indented li {
            padding-left: 5mm;
        }

        #sidebar ul li {
            min-height: 14px;
            line-height: 14px;
            margin-top: 10px;
            font-size: 14px;
        }

            /* Indent and make bold the currently selected item */
            #sidebar ul li.selected {
                font-weight: bold;
            }

                /* Un-bold the subsequent lists */
                #sidebar ul li.selected ul {
                    font-weight: normal;
                }

    /* Default arrow / list icon */
    #sidebar a.toggle_expandable {
        background-image: url('/css/Images/Controls/list-bullet-grey.png');
        background-repeat: no-repeat;
        background-position: center;
        width: 10px;
        height: 10px;
        float: left;
        margin: 2px;
        margin-left: -3.5mm;
    }
        /* Use the downward facing arrow for expanded lists */
        #sidebar a.toggle_expandable.expanded {
            background-image: url('/css/Images/Controls/list-bullet-grey-expanded.png');
        }
        /* Use the loading ring while loading */
        #sidebar a.toggle_expandable.loading {
            background-image: url('/login/images/ajax-loader.gif');
        }

.icon {
    width: 22px;
    height: 22px;
    overflow: hidden;
    background: none;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    color: transparent;
    display: inline-block;
    border: 0 none;
}

.introduction {
    font-weight: bold;
    text-align: center;
    padding: 0px 13%;
}

.article {
    margin-top: 20px;
}

    .article .rightFloat {
        float: right;
        width: 25%;
    }

    .article .leftFloatImage {
        float: left;
        margin: 5px;
    }

    .article .clearBoth {
        clear: both;
    }

.input-group.input-group-search {
    height: 27px;
    border-radius: 14px;
    border: 1px solid rgb(213, 213, 213);
    max-width: 203px;
    margin-bottom: 16px;
}

    .input-group.input-group-search .input-group-addon,
    .input-group.input-group-search .form-control {
        height: 27px;
        padding: 0px;
        border: 0 none;
        background-color: transparent;
        padding-left: 10px;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .input-group.input-group-search .input-group-addon {
        color: rgb(153, 153, 153);
    }

    .input-group.input-group-search .form-control:focus {
        outline: 0;
        border: 0;
    }

.article-loading-spinner {
    position: absolute;
    top: 50%;
    width: 100%;
    font-size: 200%;
    text-align: center;
}

.loading .glyphicon-search:before,
.loading .glyphicon-loading:before {
    /* Refresh Icon */
    content: "\e031";
    color: grey;
}

.loading .glyphicon {
    -webkit-animation-name: spin;
    -webkit-animation-duration: 1000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 1000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 1000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@-ms-keyframes spin {
    from {
        -ms-transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



#sidebar_buttons {
    height: 100%;
    display: inline-block;
    line-height: 19px;
    float: right;
    margin-top: 44px;
    margin-right: -1px;
}

    #sidebar_buttons > button {
        display: inline-block;
        width: 9px;
        height: 19px;
        border: 0 none;
        background: rgb(183, 183, 183);
        font-size: 9px;
        color: white;
        margin: 0px;
        padding: 0px;
        vertical-align: top;
        margin-top: 14px;
        background-repeat: no-repeat;
        background-position: center center;
    }

        #sidebar_buttons > button#expand {
            border-radius: 0px 19px 19px 0px;
            background-image: url('/css/Images/arrow-right-white.png');
            margin-right: -9px;
        }

        #sidebar_buttons > button#collapse {
            border-radius: 19px 0px 0px 19px;
            background-image: url('/css/Images/arrow-left-white.png');
        }

    #sidebar_buttons #vertical_bar {
        position: absolute;
        display: inline-block;
        width: 1px;
        border-left: 1px solid rgb(183, 183, 183);
        min-height: 128px;
        height: 100%;
        margin-bottom: 26px;
    }

.search_panel .title {
    font-weight: bold;
}

.search_panel .description {
    color: rgb(164, 164, 164);
}

.search_panel .breadcrumb {
    background: transparent;
    margin: 0px;
    padding: 0px;
    color: rgb(135, 135, 135);
}

    .search_panel .breadcrumb > li + li:before {
        font-size: 75%;
        font-family: 'Glyphicons Halflings';
        content: "\e080";
        color: inherit;
    }

.search_panel ul {
    list-style: none;
}

    .search_panel ul li {
        margin-top: 5px;
    }

.search_panel .searchin_expand {
    position: relative;
    display: inline;
}

    .search_panel .searchin_expand .glyphicon {
        font-size: medium;
        color: darkgrey;
    }

    .search_panel .searchin_expand > .expandable {
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 0px;
        display: none;
        /* Make it look like a dropdown */
        padding: 0px;
        margin: 0px;
        font-size: medium;
        font-weight: normal;
        border: 1px solid darkgrey;
        background-color: #f9f9f9;
    }

        .search_panel .searchin_expand > .expandable li {
            margin: 1px;
            padding: 2px;
            height: 25px;
            white-space: nowrap;
        }

            .search_panel .searchin_expand > .expandable li:hover {
                background-color: lightyellow;
            }

        .search_panel .searchin_expand > .expandable a {
            color: black;
            text-decoration: none;
            display: inline-block;
            width: 100%;
            line-height: 25px;
            cursor: pointer;
        }

    .search_panel .searchin_expand:hover > .expandable {
        display: block;
    }

.pagination_block {
    text-align: right;
    width: 100%;
}

.contactUs {
    padding: 20px; /* Extra padding on sides of the form (non page-specific)*/
    padding-top: 10px;
}

.contactUsContainerAll {
    /* Add larger space on the sides for standalone page */
    margin-left: 20px;
    margin-right: 20px;
}

.contactUs label {
    display: block;
    color: grey;
    font-weight: 100;
}

.contactUs textarea {
    resize: vertical; /* Only allow horizontal resizing for chrome/firefox textareas */
}

.contactUs .form-control {
    max-width: 100%; /* Unconstrain and resize text boxes etc */
    width: 100%;
    border-radius: 0px; /* Undo bootstrap border radius */
    -webkit-box-shadow: inset 0px 0px 10px -5px rgba(0,0,0,1);
    -moz-box-shadow: inset 0px 0px 10px -5px rgba(0,0,0,1);
    box-shadow: inset 0px 0px 10px -5px rgba(0,0,0,1);
}

.contactUs input[type=submit] {
    float: right; /* Submit button on the right */
}

/* Undo some style rules for the jQuery UI popup */
.ui-dialog .contactUsContainerAll {
    margin: 0px;
}

/* 200x50 grey box in the middle of the screen */
.toastMessage {
    /* Size */
    display: block;
    width: 200px;
    height: 50px;
    line-height: 50px;
    /* Position */
    position: absolute;
    margin-left: -100px;
    left: 50%;
    bottom: 10%;
    z-index: 9999;
    /* Style */
    color: white;
    text-align: center;
    font-size: 15px;
    border: 0px;
    border-radius: 8px;
    background: #444;
    -webkit-box-shadow: inset 0px 0px 30px -1px rgba(0,0,0,1);
    -moz-box-shadow: inset 0px 0px 30px -1px rgba(0,0,0,1);
    box-shadow: inset 0px 0px 30px -1px rgba(0,0,0,1);
}

table.summaryTable {
    margin: 10pt;
}

    table.summaryTable td, table.summaryTable th {
        padding: 2px;
        /* border: 1px solid; */
    }

    table.summaryTable th {
        min-width: 15em;
    }

table.styled {
	background-color: #F7F7F7;
	border: none 1px #E7E7FF;
	empty-cells: hide;
	caption-side: top;
}
table.styled tr {
	color: #2E4d7B;
	background-color: #E7E7FF;
}
table.styled td, table.styled th {
	padding: 3px;
	padding-right: 10pt;
}
table.styled td {
    border-top: 1px solid black;
}
table.styled th {
	color: #F7F7F7;
	background-color: #2E4d7B;
	font-weight: bold;
}
table.styled tr.footer {
	color: #2E4d7B;
	background-color: #B5C7DE;
	font-weight: bold;
}
table.styled tr.selected {
	background-color: #738A9C;
	font-weight: bold;
	color: #F7F7F7;
}
table.styled tr.alternate {
	color: #2E4d7B;
	background-color: #F7F7F7;
}
table.styled tr.pager {
	color: #2E4d7B;
	background-color: #E7E7FF;
	text-align: right;
}


/* if the article and menu can fit side by side. */
@media screen and (min-width:680px) {
    #sidebar {
        width: 280px;
    }

    #main_panel {
        width: 400px; /* Minimum article width */
    }
}

@media screen and (min-width:980px) {
    #main_panel {
        width: 700px; /* Two home page boxes */
    }
}

@media screen and (min-width:1230px) {
    #main_panel {
        width: 950px; /* Three home page boxes */
    }
}

@media screen and (min-width:1280px) {
    #main_panel {
        width: 1000px; /* Never go wider than this */
    }
}
