﻿body {
    font-family: 'Segoe UI', sans-serif;
}
.sheader {
    background-image: url(/Content/Images/bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}
.sheaderSortDown {
    background-image: url(/Content/Images/desc.gif);
}
.sheaderSortUp {
    background-image: url(/Content/Images/asc.gif);
}
.sheaderSortDown, .sheaderSortUp {
    /*background-color: #8dbdd8;*/
    background-color: inherit;
}
.actionmenubar{
    border-bottom:1px solid gray;
    border-top:1px solid gray;
    padding:2px;
}
.actionmenubar .btn {
    margin-right: -4px;
}
.bg {
    background: url('/Content/Images/ucg-jumbotron.png') no-repeat center center;
    position: fixed;
    width: 100%;
    height: 490px; /*same height as jumbotron */
    top: 50px;
    left: 0;
    z-index: -1;
}

.jumbotron.jumbotron-white {
    color: white;
    text-shadow: #444 0 3px 3px;
    background: transparent;
}

.tab-container {
    padding-top: 8px;
}

.breadcrumb.transparent-breadcrumb {
    padding: 0;
    margin: 0;
    background-color: transparent !important;
    border-radius: 0;
}

    .breadcrumb.transparent-breadcrumb ol {
        margin: 0;
    }

.form-group.required .control-label:after {
    content: " *";
    color: red;
    font-size: 1.3em;
}

.no-padding-left {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

table.table.table-button-columns tr td:last-child {
    white-space: nowrap;
    width: 1px;
}

table.table.table-button-columns tr td:last-child {
    text-align: right;
}

div.tab-heading {
    margin-left: 25px;
}

div.center {
    display: block;
    text-align: center;
}

form.center {
    display: inline-block;
    text-align: center;
}

div.page-content {
    padding: 0 25px;
}

tr.no-border td {
    border-top: 0px !important;
}

div.programme-header {
    height: 52px;
    background-color: #222;
    position: relative;
    color: #fff;
    padding-top: 1px;
    border-bottom: 1px solid rgb(8,8,8);
}

    div.programme-header .programme {
        color: #fff;
        font-size: 1.6em;
        position: absolute;
        bottom: 45px;
    }

/*
.navbar {
  min-height: 60px;
}
    */
.topnavbar {
    /*border-bottom: 1px solid rgba(0,0,0,.15);*/
    margin-bottom: 0;
    border-radius: 0;
}

    .topnavbar .navbar-right {
        /*color: #fff;*/
        color: inherit;
    }

    .topnavbar li > a {
        /*color: #fff;*/
        /*line-height: 30px;*/
        color: inherit;
    }

.navbar-collapse {
    border: 0 !important;
}

.navbar-wrapper {
    /*padding: 0 15px;*/
    background-color: transparent;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: transparent !important;
}

div.navbar-brand.navbar-light {
    height: 30px;
    background-image: url(/css/Content/Images/logo.png);
    background-size: 96px 30px;
    background-position: top 0px left 10px;
    background-repeat: no-repeat;
    min-width: 120px;
    padding-left: 95px;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-programme {
    min-width: 80px;
}

/*
 * Specific styles of signin component
 */

.card-container {
    max-width: 300px;
    padding: 20px 40px;
}

    .card-container .btn {
        font-weight: 700;
        height: 36px;
        -moz-user-select: none;
        -webkit-user-select: none;
        user-select: none;
        cursor: default;
    }

/*
 * Card component
 */

.card {
    background-color: #F7F7F7;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top: 80px;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.3);
}

.profile-img-card {
    width: 122px;
    height: 70px;
    /*padding: px;*/
}

div.card-profile-container {
    width: 123px;
    height: 123px;
    background-color: #C7C8CA;
    margin: 10px auto;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background-image: url(Images/ucg-chain-solid.svg);
    background-repeat: no-repeat;
    background-position: 19px 18px;
    background-size: 69%;
}

/*
 * Form styles
 */

.profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}

.reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin #inputUsername, .form-signin #inputPassword {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}

.form-signin input[type=email], .form-signin input[type=password], .form-signin input[type=text], .form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    border-color: rgb(104, 145, 162);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgb(104, 145, 162);
}

.btn.btn-signin {
    /*background-color: #4d90fe; */
    background-color: #2A88B4;
    /* background-color: linear-gradient(rgb(104, 145, 162), rgb(12, 97, 33)); */
    padding: 0px;
    font-weight: 700;
    font-size: 14px;
    height: 36px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    -o-transition: all 0.218s;
    -moz-transition: all 0.218s;
    -webkit-transition: all 0.218s;
    transition: all 0.218s;
}

    .btn.btn-signin:hover, .btn.btn-signin:active, .btn.btn-signin:focus {
        background-color: #2A88B4;
    }

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #428bca;
}

    .bs-callout-primary h4 {
        color: #428bca;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }

.ui-select-bootstrap .ui-select-choices-row.active > a .text-muted {
    color: #fff;
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 1999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.2);
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        /* hide "loading..." text */
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            color: #fff;
            margin-top: -0.5em;
            -webkit-animation: spinner 1500ms infinite linear;
            -moz-animation: spinner 1500ms infinite linear;
            -ms-animation: spinner 1500ms infinite linear;
            -o-animation: spinner 1500ms infinite linear;
            animation: spinner 1500ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.loading-panel {
    position: relative;
    min-height: 150px;
    background-color: #fff;
}

    .loading-panel i {
        position: absolute;
        top: 40%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%);
    }

ul.tree {
    display:none;
    list-style-type: none;
    padding-left:20px;
}
div.actionmenubar~div.actionmenubar{
    border-top:none;
}

div.row{
    margin-bottom:5px;
}
.table .checkbox{
    margin-bottom:2px;
    margin-top:2px;
}
.select2-container .select2-choice {
    height: inherit;
}
.breadcrumb{
    border-radius:0px;
}
.no-border{
    border:none;
}
.form-control{
    padding:3px;
}

.text-bold{
    font-weight:bold;
}
input.ng-invalid, textarea.ng-invalid, select.ng-invalid {
    border: 1px solid #eb0404;
    box-shadow: 0px 0px 2px #a40325;
    -moz-box-shadow: 0px 0px 2px #a40325;
    -webkit-box-shadow: 0px 0px 2px #a40325;
}

.has-error .form-control {
    border-color: #eb0404 !important;
    box-shadow: 0px 0px 2px #a40325;
    -moz-box-shadow: 0px 0px 2px #a40325;
    -webkit-box-shadow: 0px 0px 2px #a40325;
}
a[target="_blank"] {
    border-bottom:1px #2e6da4 dashed;
}

a[target="_blank"]:hover {
  text-decoration: none;
}
a:not([target="_blank"]):not(.btn){
    text-decoration:underline;
}
.text-label{
    font-weight:bold;
}
.sidebar-nav li a,ul.pagination li a {
    text-decoration:none !important;
}
input.pending, textarea.pending, select.pending
, .pending input, .pending textarea, .pending select
, .pending .form-control {
    border: 1px solid #7b10ff !important;
    box-shadow: 0px 0px 2px #4b03a4 !important;
    -moz-box-shadow: 0px 0px 2px #4b03a4 !important;
    -webkit-box-shadow: 0px 0px 2px #4b03a4 !important;
}
.pending button, button.pending {
    border: 1px solid #7b10ff !important;
    background: #4b03a4;
    background: -webkit-linear-gradient(rgba(119,8,255,1),rgba(58,4,125,1));
    background: -o-linear-gradient(rgba(119,8,255,1),rgba(58,4,125,1));
    background: -moz-linear-gradient(rgba(119,8,255,1),rgba(58,4,125,1));
    background: linear-gradient(rgba(119,8,255,1), rgba(58,4,125,1));
}
.pending button:hover, button:hover.pending
, .pending button:active, button:active.pending
, .pending button:focus, button:focus.pending{
    background-color: #4b03a4 !important;
    background-position: 0px 0px !important;
    color: #ffffff;
    border: 1px solid #7b10ff !important;
    box-shadow: 0px 0px 2px #4b03a4 !important;
    -moz-box-shadow: 0px 0px 2px #4b03a4 !important;
    -webkit-box-shadow: 0px 0px 2px #4b03a4 !important;
}
.affix {
   top: 100px;
}
/* Hiding the checkbox, but allowing it to be focused */
.badgebox{
    opacity: 0;
}
.badgebox:checked + label {
  font-weight: bold;
}   

.typeahead-search .custom-popup-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: none;
        background-color: #f9f9f9;
        width:450px; 
    }

.typeahead-search .custom-popup-wrapper > .message {
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    color: #868686;
    font-weight:bold ; 
}

.typeahead-search .custom-popup-wrapper > .dropdown-menu {
    position: static;
    float: none;
    display: block;
    min-width: 160px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}


.typeahead-search .custom-popup-wrapper > .table-menu {
    position: static;
    float: none;
    display: block;
    min-width: 260px;
    background-color: lightgray;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
/* custom change for bootstrap badge */
.badge-custom {
    /* padding-left:9px; */
    /* padding-right:9px; */
    -webkit-border-radius:9px;-moz-border-radius:9px;
    /* border-radius:9px; */
    padding: 3px 10px 3px 0px;
    font-weight: bold !important;
    float: right;
}

/*custom change for editable button for dates*/
.editable-controls div.input-group {
    float: left;
}

.border-radius-zero {
    border-radius: 0px !important;
}

#wrapper .border-radius-zero {
    background-color: inherit !important;
    background-image: none !important;
}

nav li > a.active, nav li > a:hover, nav li > a:focus {
    color: #fff;
}

nav li > a {
    color: #9d9d9d;
    text-decoration: none !important;
}