﻿.bootstrap-iso .CwiHover:hover {
    background-color: #eeeeee;
    cursor: pointer;
}

.bootstrap-iso .CwiReadOnly {
    background-color: #eeeeee;
}

.bootstrap-iso .CwiEditable {
    background-color: #ffffff !important;
}

.bootstrap-iso .CwiSelected,
.bootstrap-iso .CwiSelected:hover {
    background-color: #d9edf7;
}

.bootstrap-iso .CwiSelected.CwiHover:hover {
    background-color: #cde6f7 !important;
}

.bootstrap-iso .field-validation-error {
    color: red;
    padding-left: 10px;
}

.bootstrap-iso .breadcrumb {
    width: 100%;
    margin-bottom: 15px;
}

.bootstrap-iso .CwiMessagesSpacer {
    z-index: 1200;
}

@media print {

    .bootstrap-iso .navbar {
        margin-bottom: 15px;
        margin-left: -15px;
        margin-right: -15px;
    }

}

@media screen {

    .bootstrap-iso .CwiMessagesBackground {
        position: fixed;
        z-index: 1019;
        background-color: white;
    }

    .bootstrap-iso .CwiMessages {
        position: fixed;
        z-index: 1020;
    }

    .bootstrap-iso .breadcrumb {
        position: fixed;
        left: 0;
        top: 50px;
        z-index: 1020;
    }

}

.bootstrap-iso .CwiDataTableCell,
.bootstrap-iso .CwiDataTableSortCell {
    padding: 0.59em 1em;
    white-space: nowrap;
    overflow: hidden;
}

.bootstrap-iso .CwiDataTableCell,
.bootstrap-iso .CwiDataTableSortCell {
    float: left;
}

.bootstrap-iso a.CwiDataTableSortAnchor:link,
.bootstrap-iso a.CwiDataTableSortAnchor:active,
.bootstrap-iso a.CwiDataTableSortAnchor:visited,
.bootstrap-iso a.CwiDataTableSortAnchor:hover,
.bootstrap-iso .CwiDataTableSortAnchorDisabled {
    color: #013b82;
    text-decoration: none;
    font-weight: 700;
}

.bootstrap-iso label {
    color: #013b82;
}

.bootstrap-iso .CwiDataTableColumnHeaders {
    margin-left: -15px;
    margin-right: -15px;
}

.bootstrap-iso .CwiDataTableRows {
    margin-top: 0;
    margin-left: -15px;
    margin-right: -15px;
}

.bootstrap-iso .CwiDataTableEmptyRow {
    height: 1.6em;
}

.bootstrap-iso .CwiDataTableActionBlockCell {
    float: left;
    padding: 0.23em 0.5em;
}

.bootstrap-iso .CwiNoPadding {
    padding: 0;
}

.bootstrap-iso .CwiNoPaddingLeft {
    padding-left: 0 !important;
}

.bootstrap-iso .CwiNoPaddingTop {
    padding-top: 0 !important;
}

.bootstrap-iso .CwiDataTableDataRow {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #cccccc;
}

@media screen and (min-width: 768px) {

    .bootstrap-iso .CwiMessagesBackground {
        top: 85px;
        left: 0;
        right: 0;
    }

    .bootstrap-iso .CwiMessages {
        top: 105px;
        left: 15px;
        right: 15px;
    }

    .bootstrap-iso .pull-left-hidden-xs {
        float: left !important;
    }

    .bootstrap-iso .pull-right-hidden-xs {
        float: right !important;
    }

}

@media screen and (min-width: 768px) {

    .bootstrap-iso .CwiPageHeaderSpacer {
        height: 105px;
    }

    .bootstrap-iso .CwiTopActionBlock,
    .bootstrap-iso .CwiMain > .CwiActionBlock {
        margin-bottom: 20px;
    }

    .bootstrap-iso .CwiDataTableRaw,
    .bootstrap-iso .CwiDataTableAddFind {
        margin-bottom: 15px;
    }

    .bootstrap-iso .CwiDataTableRows {
        margin-top: 0;
    }

    .bootstrap-iso .CwiDataTableActions {
        margin-top: 15px;
    }

    /* Why does Bootstrap not do this anyway? */

    .bootstrap-iso .row > .col-sm-4:not(:first-child),
    .bootstrap-iso .row > .col-sm-6:not(:first-child),
    .bootstrap-iso .row > .col-sm-8:not(:first-child) {
        padding-left: 10px;
    }

    .bootstrap-iso .row > .col-sm-4:not(:last-child),
    .bootstrap-iso .row > .col-sm-6:not(:last-child),
    .bootstrap-iso .row > .col-sm-8:not(:last-child) {
        padding-right: 10px;
    }

    .bootstrap-iso .CwiDataTableColumnHeaders,
    .bootstrap-iso .CwiDataTableRow {
        border-bottom-width: 1px;
        border-bottom-color: #cccccc;
        border-bottom-style: solid;
    }

}

@media screen and (max-width: 767px) {

    .bootstrap-iso .CwiMessagesBackground {
        top: 50px;
        left: 0;
        right: 0;
    }

    .bootstrap-iso .CwiMessages {
        top: 60px;
        left: 15px;
        right: 15px;
    }

}

@media screen and (max-width: 767px) {

    /* Better effect when hovering over mobile application name. */

    .bootstrap-iso .navbar-text {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    /* No rounding on buttons in mobile navbar and full width mobile objects. */

    .bootstrap-iso .alert,
    .bootstrap-iso .panel-heading,
    .bootstrap-iso .navbar > .btn-group > .btn-lg {
        border-radius: 0;
    }

    .bootstrap-iso .alert {
        margin-left: -5px;
        margin-right: -5px;
        margin-bottom: 10px;
    }

    .bootstrap-iso .CwiMessages {
        margin-left: -5px;
        margin-right: -5px;
    }

    .bootstrap-iso .CwiPageHeaderSpacer {
        height: 60px;
    }

    .bootstrap-iso .panel {
        margin-left: -15px;
        margin-right: -15px;
        border-left-style: none;
        border-right-style: none;
        border-bottom-style: none;
        margin-bottom: 10px;
    }

    .bootstrap-iso .panel-body {
        padding-top: 10px;
        padding-bottom: 0;
    }

    .bootstrap-iso .CwiDataTableRaw,
    .bootstrap-iso .CwiDataTableAddFind {
        margin-bottom: 10px;
    }

    .bootstrap-iso .CwiTabBlock {
        margin-left: -15px;
        margin-right: -15px;
    }

    .bootstrap-iso .navbar-btn {
        padding-top: 12px;
        padding-bottom: 12px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .bootstrap-iso .CwiMobilePaddingSide {
        padding-right: 15px;
        padding-left: 15px;
    }

    .bootstrap-iso .well {
        margin-bottom: 10px;
    }

    .bootstrap-iso .navbar {
        margin-bottom: 0;
    }

    .bootstrap-iso .CwiActionBlock {
        margin-bottom: 10px;
    }

    .bootstrap-iso .CwiDataTableActions {
        margin-top: 10px;
    }

    .bootstrap-iso .CwiMobileNoPaddingBottom {
        padding-bottom: 0;
    }

    /* Mimic h4 styling in autocomplete and datepicker. */

    .bootstrap-iso .ui-menu .ui-menu-item {
        font-size: 18px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .datepicker {
        font-size: 18px;
    }

    /* Dynamic objects become large when on extra small devices. */
    /* They are used in the generic find input group. */

    .bootstrap-iso .CwiDynamicInput {
        height: 46px !important;
    }

    .bootstrap-iso .CwiDynamicInput,
    .bootstrap-iso .CwiDynamicButton {
        line-height: 1.3333;
        padding: 10px 16px;
        font-size: 18px;
    }

    .bootstrap-iso .CwiFindGenericInputGroup {
        width: 200px;
    }

}

.bootstrap-iso .CwiOverflowXHidden {
    overflow-x: hidden;
}

.bootstrap-iso .CwiNoPaddingBottom {
    padding-bottom: 0;
    min-height: 0;
}

.bootstrap-iso :last-child.navbar-right.navbar-nav {
    margin-right: 8px;
}

.bootstrap-iso .nav > li > a {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

.bootstrap-iso .list-group-item {
    background-color: transparent;
}

/* File upload */

.bootstrap-iso .btn-file {
    position: relative;
    overflow: hidden;
}

.bootstrap-iso .btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.bootstrap-iso .well {
    padding: 9px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

/* Page footer */

.bootstrap-iso .footer {
    background-color: #f8f8f8;
    margin-left: -15px;
    margin-right: -15px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-left-style: none;
    border-right-style: none;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-color: #e7e7e7;
    border-bottom-color: #e7e7e7;
}

.bootstrap-iso .footer-text {
    padding: 10px 15px;
}

.bootstrap-iso .CwiDataFormHeader {
    background-color: #f8f8f8;
}

/* Remove excess padding in DataFormHeader */

.bootstrap-iso .CwiDataFormHeader .form-control-static {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 0;
}

/* Used to position buttons on mobile */

.bootstrap-iso .CwiPullTopLeft {
    position: absolute;
    top: 0;
    left: 0;
}

.bootstrap-iso .CwiPullTopRight {
    position: absolute;
    top: 0;
    right: 0;
}

/* Special handling when printing explanding text areas. */
/* Settings are copied from form-control with height removed. */

.bootstrap-iso .CwiPrintableExpandingTextArea {
    white-space: pre-wrap;
    padding: 6px 12px 26px 12px;
    border-radius: 4px;
    border: 1px solid #cccccc;
    width: 100%;
    color: #555555;
    line-height: 1.4285;
    font-size: 14px;
}

/* Univeristy logo. */

.bootstrap-iso .CwiUniveristyLogo {
    padding: 7px 10px;
}

.bootstrap-iso .CwiUniveristyLogo img {
    height: 40px;
}

.bootstrap-iso .CwiApplicationName {
    padding-left: 5px;
    padding-right: 5px;
}

.bootstrap-iso .CwiStageName {
    margin-left: 10px;
    font-size: 18px;
}

/* Used to break up a data form. */

.bootstrap-iso .CwiDivider {
    height: 15px;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #013b82;
    margin-left: -15px;
    margin-right: -15px;
}

/* Default bootstrap primary colour is #428bca. */
/* University blue is #013b82 and University gold is #9f7012. */

.bootstrap-iso .btn-lg {
    font-weight: 500;
}

.bootstrap-iso .panel-primary {
    border-color: #013b82;
}

.bootstrap-iso .panel-primary > .panel-heading {
    filter: initial;
    background-image: none;
    background-color: #013b82;
    border-color: #013b82;
    color: #ffffff;
    font-weight: 500;
}

.bootstrap-iso .bg-primary {
    background-color: #013b82;
}

.bootstrap-iso .navbar {
    background-color: #ffffff;
    border-style: none;
}

.bootstrap-iso a,
.bootstrap-iso a:hover,
.bootstrap-iso a:focus .breadcrumb > li > a {
    color: #013b82;
}

.bootstrap-iso .nav-tabs > li.active > a,
.bootstrap-iso .nav-tabs > li.active > a:focus,
.bootstrap-iso .nav-tabs > li.active > a:hover,
.bootstrap-iso .breadcrumb > .active {
    border-radius: 0;
    font-weight: 500;
}

.bootstrap-iso .breadcrumb > li + li::before {
    content: none;
}

.bootstrap-iso .breadcrumb {
    background-color: #f8f8f8;
}

.bootstrap-iso .breadcrumb  li a,
.bootstrap-iso .breadcrumb  .active {
    text-decoration: none;
    padding: 10px;
    margin: 0px;
}

.bootstrap-iso .breadcrumb  li a:hover {
    background-color: #dddddd;
}

.bootstrap-iso .breadcrumb {
    padding: 0;
}

.bootstrap-iso .btn-nav-tab,
.bootstrap-iso .btn-nav-tab:hover,
.bootstrap-iso .nav-tabs > li.active > a,
.bootstrap-iso .nav-tabs > li.active > a:focus,
.bootstrap-iso .nav-tabs > li.active > a:hover {
    border-bottom-color: transparent;
}

.bootstrap-iso .CwiPageTitle {
    margin-top: 0;
    margin-bottom: 15px;
}

@media screen and (max-width: 767px) {
    .bootstrap-iso .CwiPageTitle {
        margin-top: 5px;
    }
}

/* Make modal look like a panel. */

.bootstrap-iso .modal-header {
    padding-top: 10px;
    padding-bottom: 10px;
}

.bootstrap-iso .modal-footer {
    padding-top: 0;
    border-top-style: none;
}

.bootstrap-iso .alert {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Make alerts and messages look alike with dark borders. */

.bootstrap-iso .CwiAlertInfo,
.bootstrap-iso .CwiMessageInfo {
    color: black;
    border-color: #31708f;
}

.bootstrap-iso .CwiAlertSuccess,
.bootstrap-iso .CwiMessageSuccess {
    color: black;
    border-color: #3c763d;
}

.bootstrap-iso .CwiAlertWarning,
.bootstrap-iso .CwiMessageWarning {
    color: black;
    border-color: #8a6d3b;
}

.bootstrap-iso .CwiAlertDanger,
.bootstrap-iso .CwiMessageDanger {
    color: black;
    border-color: #a94442;
}

.bootstrap-iso .CwiAlertInfo {
    background-color: #d9edf7;
}

.bootstrap-iso .CwiAlertSuccess {
    color: black;
    background-color: #dff0d8;
}

.bootstrap-iso .CwiAlertWarning {
    background-color: #fcf8e3;
}

.bootstrap-iso .CwiAlertDanger {
    background-color: #f2dede;
}

/* Unround everything. */

.bootstrap-iso .alert,
.bootstrap-iso .panel,
.bootstrap-iso .panel-heading,
.bootstrap-iso .btn,
.bootstrap-iso .btn-lg,
.bootstrap-iso .btn-group-lg > .btn {
    border-radius: 0;
}

/* Flatten buttons. */

.bootstrap-iso .btn {
    filter: initial;
    background-image: none;
}

/* University blue primary button with darker hover. */

.bootstrap-iso .btn-primary {
    background-color: #1d2b7d;
    border-color: #1d2b7d;
}

.bootstrap-iso .btn-primary:focus,
.bootstrap-iso .btn-primary:hover,
.bootstrap-iso .btn-primary.active,
.bootstrap-iso .btn-primary:active,
.bootstrap-iso .btn-primary:active:hover,
.bootstrap-iso .btn-primary.active:hover,
.bootstrap-iso .btn-primary:active:focus,
.bootstrap-iso .btn-primary.active:focus,
.bootstrap-iso .btn-primary:active.focus,
.bootstrap-iso .btn-primary.active.focus {
    background-color: #16205e;
    border-color: #131d54;
}

/* Now the same as the primary button. */

.bootstrap-iso .btn-warning {
    background-color: #1d2b7d;
    border-color: #1d2b7d;
}

.bootstrap-iso .btn-warning:focus,
.bootstrap-iso .btn-warning:hover,
.bootstrap-iso .btn-warning.active,
.bootstrap-iso .btn-warning:active,
.bootstrap-iso .btn-warning:active:hover,
.bootstrap-iso .btn-warning.active:hover,
.bootstrap-iso .btn-warning:active:focus,
.bootstrap-iso .btn-warning.active:focus,
.bootstrap-iso .btn-warning:active.focus,
.bootstrap-iso .btn-warning.active.focus {
    background-color: #16205e;
    border-color: #131d54;
}

.bootstrap-iso .CwiNavBar {
    height: 50px;
}

.bootstrap-iso .CwiMobileNavbarText {
    margin-top: 0;
}

.bootstrap-iso .CwiMobileNavbarText1,
.bootstrap-iso .CwiMobileNavbarText2 {
    margin-top: -10px;
}

.bootstrap-iso .CwiLoaderIcon {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
    filter: alpha(opacity=0.5);
    opacity: 0.5;
	background: url('https://tulip.liv.ac.uk/cwi/Content/cwiLoader.gif') 50% 50% no-repeat #f9f9f9;
}

/* Without this tweak the days of week line in a jQuery datepicker */
/* was being hidden by a subsequent file upload input group. */

.bootstrap-iso .input-group input,
.bootstrap-iso .input-group .input-group-btn,
.bootstrap-iso .input-group .input-group-btn .btn {
    z-index: inherit !important;
}

.bootstrap-iso .ui-widget,
.bootstrap-iso .ui-widget input,
.bootstrap-iso .ui-widget select {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

/* Slight tweaks to Bootstrap Datepicker styling. */

.dow {
    color: #013b82;
}

.datepicker table {
    width: 240px;
}

.datepicker th {
    width: 35px;
}

.datepicker td,
.datepicker th {
    border-radius: 0px;
}

.datepicker table tr td span.active,
.datepicker table tr td span.active:hover,
.datepicker table tr td.active,
.datepicker table tr td.active:hover {
    filter: initial;
    background-image: none;
    background-color: #013b82 !important;
    cursor: pointer;
}

.datepicker table tfoot tr th {
    font-weight: 500;
}

.bootstrap-iso .CwiDataFormFieldRow .form-control,
.bootstrap-iso .CwiDataFormFieldRow .form-control-static {
    width: auto !important;
}

.bootstrap-iso .CwiDataFormFieldRow .form-control-static {
    padding-left: 7px;
    padding-right: 7px;
}

.bootstrap-iso .btn.disabled,
.bootstrap-iso .btn[disabled] {
    cursor: default;
}

/* Don't use full width on very wide screens. */

@media (min-width: 1200px) {

    .bootstrap-iso .container-fluid {
        width: 1200px;
    }

    .bootstrap-iso .navbar,
    .bootstrap-iso .breadcrumb {
        width: 1200px;
        left: auto;
        right: auto;
        margin-left: -15px;
    }

    .bootstrap-iso .CwiMessages {
        width: 1170px;
        left: auto;
        right: auto;
    }

    .bootstrap-iso body {
        overflow-y: scroll;
    }

}


.bootstrap-iso .CwiFadeIn {
    opacity: 0.1;
}

p a,
.bootstrap-iso .alert a,
.bootstrap-iso .alert a:hover,
.bootstrap-iso .alert a:focus,
.bootstrap-iso .alert a:visited {
    color: #013b82;
    font-weight: 700;
}

.bootstrap-iso .ui-state-active {
    color: black;
    background-color: #dddddd;
    cursor: pointer;
    background-image: none;
}

.bootstrap-iso .p-0 {
    padding: 0 !important;
}

/* Prevent use of xs styling when printing on IE. */

@media print {

    .bootstrap-iso .col-sm-1,
    .bootstrap-iso .col-sm-2,
    .bootstrap-iso .col-sm-3,
    .bootstrap-iso .col-sm-4,
    .bootstrap-iso .col-sm-5,
    .bootstrap-iso .col-sm-6,
    .bootstrap-iso .col-sm-7,
    .bootstrap-iso .col-sm-8,
    .bootstrap-iso .col-sm-9,
    .bootstrap-iso .col-sm-10,
    .bootstrap-iso .col-sm-11,
    .bootstrap-iso .col-sm-12 {
        float: left;
    }

    .bootstrap-iso .col-sm-12 {
        width: 100%;
    }

    .bootstrap-iso .col-sm-11 {
        width: 91.66666666666666%;
    }

    .bootstrap-iso .col-sm-10 {
        width: 83.33333333333334%;
    }

    .bootstrap-iso .col-sm-9 {
        width: 75%;
    }

    .bootstrap-iso .col-sm-8 {
        width: 66.66666666666666%;
    }

    .bootstrap-iso .col-sm-7 {
        width: 58.333333333333336%;
    }

    .bootstrap-iso .col-sm-6 {
        width: 50%;
    }

    .bootstrap-iso .col-sm-5 {
        width: 41.66666666666667%;
    }

    .bootstrap-iso .col-sm-4 {
        width: 33.33333333333333%;
    }

    .bootstrap-iso .col-sm-3 {
        width: 25%;
    }

    .bootstrap-iso .col-sm-2 {
        width: 16.666666666666664%;
    }

    .bootstrap-iso .col-sm-1 {
        width: 8.333333333333332%;
    }

    .bootstrap-iso .visible-xs-block {
        display: none !important;
    }

    .bootstrap-iso .hidden-xs {
        display: block !important;
    }

}

.bootstrap-iso p,
.bootstrap-iso .alert > p,
.bootstrap-iso .alert p:last-of-type,
.bootstrap-iso .alert > ul {
    margin-bottom: 1rem;
}

.bootstrap-iso .alert {
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 1rem;
}

.bootstrap-iso .mb-1 {
    margin-bottom: 0.25rem !important;
}

.bootstrap-iso .mb-2 {
    margin-bottom: 0.5rem !important;
}
