﻿
body {
}

.main-content {
    padding: 25px 0px;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.m-b-15 {
    margin-bottom: 15px !important;
}

.m-b-25 {
    margin-bottom: 25px !important;
}

.m-t-10 {
    margin-top: 10px !important;
}

.m-t-0 {
    margin-top: 0 !important;
}

.m-0 {
    margin: 0 !important;
}

.m-l-0 {
    margin-left: 0 !important;
}

.m-r-0 {
    margin-right: 0 !important;
}

.m-b-0 {
    margin-bottom: 0 !important;
}

.min-h-0 {
    min-height: initial !important;
}

.padding15 {
    padding: 15px;
}
.gutter-top {
    margin-top: 25px;
}
.gutter-bottom {
    margin-bottom: 25px;
}
.margin-bottom-off {
    margin-bottom: 0px;
}
.offs1 {
    margin-top: 50px;
}
.link {
    cursor: pointer;
}
.margin-b-35 {
    margin-bottom: 35px;
}
.no-top-margin {
    margin-top: 0px;
}
.no-bottom-margin {
    margin-bottom: 0px;
}
.border-bottom {
    border-bottom: 1px solid #ddd;
}
.lines
{
    white-space: pre-line;
}

.mt25 {
    margin-top: 25px !important;
}

.mt18 {
    margin-top: 18px !important;
}

.pt-0 {
    padding-top: 0;
}

.no-style {
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
}

.relative {
    position: relative;
}

.relative > .btn-tr {
    position: absolute;
    top: 0;
    right: 0;
}

/*Re-style bootstrap forms*/
form.form-horizontal,
form.filters,
.form,
.modal-content form {
    margin: 0px 0px 25px 0px;
    padding: 25px 0px;
    border-top: solid 2px #6dc5ff;
    /* For Safari 5.1 to 6.0 */
    background: -webkit-linear-gradient(#bbe4ff,#fff);
    /* For Opera 11.1 to 12.0 */
    background: -o-linear-gradient(#bbe4ff,#fff);
    /* For Fx 3.6 to 15 */
    background: -moz-linear-gradient(#bbe4ff,#fff);
    /* Standard syntax */
    background: linear-gradient(#bbe4ff,#fff);
}
.form-delete {
    background-color: #f2dede !important;
}
form .padding15 .form-group:first-child {
    margin-top: -20px;
}

.modal-content form {
    margin: -15px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 20px;
    padding-bottom: 50px;
}

textarea {
    min-height: 150px;
}
textarea.more-info {
    min-height: 75px;
}
textarea.textarea-lg {
    min-height: 400px;
}
textarea.textarea-sm {
    min-height: 60px;
}
.submit-panel {
    padding-top: 20px;
}
fieldset {
    margin-bottom: 25px;
    display: table-cell; width: 100%; /*Needed for Bootstrap table-responsive*/
}
legend {
    border-bottom: 1px solid #999;
}
input[type=text].number {
    width: 80px;
}
input[type=text].number2 {
    width: 160px;
}
input.datetime {
    width: 160px;
}

table td form {
    display: inline;
}
form table {
    background-color: white;
}
.panel-rationale {
    margin: 5px 0px 20px 0px;
}

.declaration,
.details {
    padding: 25px 0px;
}
.declaration fieldset {
    position: relative;
    margin-bottom: 30px;
}
.declaration fieldset > a.edit {
    position: absolute;
    top: -55px;
    right: 0;
}

.details {
    background-color: #d9edf7;
}

.comment p:last-child {
    margin-top: 15px;
    font-size: .9em;
    color: #777;
}

.input-list-container {
    display: block;
}

.input-list-container:before,
.input-list-container:after {
    display: table;
    content: " ";
}
.input-list-container:after {
    clear: both;
}


/* 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-summary-errors {
    color: #b94a48;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    padding: 5px 10px;
    margin-bottom: 20px;
}

.validation-summary-valid {
    display: none;
}

.form-group .btn:not(.btn-sm),
.form-control {
    height: 44px;
    /*padding: 6px 12px;*/
}
.form-control-feedback {
  width: 44px;
  height: 44px;
  line-height: 44px;
}
.has-feedback label ~ .form-control-feedback {
    top: 40px;
}
.has-feedback.has-help-top label ~ .form-control-feedback {
    top: auto;
    bottom: 3px;
}
.btn, .btn-group > .btn {
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1.3333333;
    border-radius: 6px;
}
.btn-sm,
.btn-group-sm > .btn {
  padding: 5px 10px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  border-radius: 3px !important;
}

@media (min-width: 768px) {
  .form-horizontal .form-group .control-label {
    padding-top: 14px;
  }
}

/* Simple form style */

.form-simple {
    border: solid 1px #ddd;
    padding-top: 35px;
    border-radius: 4px;
}
.form-simple .form-group,
.form-simple fieldset {
    padding-left: 15px;
    padding-right: 15px;
}

.form-simple .form-heading {
    margin-top: -35px;
    padding: 10px 15px;
}
.form-simple .form-heading > h3 {
    margin-top: 0px;
}

.form-footer {
    padding: 15px;
}
.form-footer > p:last-child {
    margin-bottom: 0px;
}
.panel-submit {
    margin-top: 35px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
    background-color: #eee;
    text-align: right;
    overflow: hidden;
}
.panel-submit + .form-footer {
    border-top: solid 1px #ddd;
}
.form-horizontal .panel-submit.form-group {
    margin-right: 0px;
    margin-left: 0px;
}
.panel-submit.form-group .col-sm-6 {
    float: right;
    text-align: right;
    padding-right: 0px;
}

/*Fix for File Uploads*/
.btn-file {
    position: relative;
    overflow: hidden;
}
.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;
}

form.filters {
    border-radius: 5px;
    border: solid 2px #6dc5ff;
    padding-top: 10px;
}
form.filters .form-group > label {
    display: block;
    margin-top: 15px;
}
form.filters .form-group {
    margin-bottom: 10px;
    min-height: 80px;
}
form.filters .form-group input[type="text"],
form.filters .form-group select {
    width: 100%;
}
form.filters .form-group {
    position: relative;
}
form.filters .form-group button.typeahead {
    position: absolute; right: 15px; bottom: 0px;
}
/*form.filters .form-group .checkbox {
    margin-top: 20px;
}*/
form.filters .form-group .checkbox input {
    margin-right: 5px;
}

@media (min-width: 992px) {
    form.filters .form-group {
        min-height: 70px;
    }
}

/*Menu*/
#menu .navbar {
}
#menu .navbar-nav a {
}

/*tab panel*/
.tabs-content {
    border: solid 1px #ddd; border-top: 0px;
    border-bottom-left-radius: 4px; border-bottom-right-radius: 4px;
    padding: 30px 20px;
}
.tabs-footer {
    background-color: #eee;
    border: solid 1px #ddd;
    border-bottom-left-radius: 4px; border-bottom-right-radius: 4px;
    padding: 10px;
}
.tab-menu .heading {
    margin-top: 0px;
    display: inline-block;
}
.tab-action {
    font-weight: bold;
}

/*Bootstrap*/
.form-control-static ul {
    margin-bottom: 0px;
}

@media (min-width: 768px) {
  .declaration .dl-horizontal dt {
    float: left;
    width: 220px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .declaration .dl-horizontal dd {
    margin-left: 240px;
  }
}
.dl-comments dt {
    margin-bottom: 10px;
}
.dl-comments dd {
    margin-bottom: 20px;
    white-space: pre-line;
}

table.stages td .role {
    display: block;
    text-align: center;
}

caption {
    text-align: left;
    font-weight: bold;
}
caption.schools {
    padding: 5px;
    background-color: #ddd;
    border: 1px solid #ddd;
}

.table-container {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
}
table.criteria {
}
table.criteria th {
    border-color: #999 !important;
    padding-bottom: 20px !important;
}
table.criteria td {
    border-color: #999 !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    vertical-align: middle !important;
}

/*.criteria .form-group label {
    display: block;
}

@media (min-width: 1200px) {
    .criteria .form-group .btn-group {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-collapse: separate;
    }
    .criteria .form-group .btn-group .btn {
        display: table-cell;
        float: none;
        width: 1%;
    }
}*/

#loading {
    position: fixed;
    top: calc(50% - 20px);
    left: calc(50% - 140px);
    width: 280px;
    height: 60px;
    line-height: 60px;
    z-index: 1000;
    padding: 0px 25px;
    border-radius: 10px;
    box-shadow: 1px 3px 5px #333;
    font-size: 16px;
    color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}

#loading.success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
  left: calc(50% - 140px);
  width: 320px;
}

#loading.success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
  left: calc(50% - 140px);
  width: 320px;
}

.translucent {
    filter: alpha(opacity=50);
    opacity: .5;
}

#loading .fa {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    font-size: 32px;
    vertical-align: middle;
    margin-right: 5px;
}

.uploading {
    font-size: 18px;
}

/* Panels */

.content {
    padding-top: 35px;
    padding-bottom: 35px;
}

.bg {
    padding-top: 35px;
    padding-bottom: 35px;
}
.bg > .container > h2 {
    margin-top: 0px;
    margin-bottom: 20px;
}
.bg > .container .table {
    border: solid 2px #ddd;
    margin-top: 15px;
    margin-bottom: 15px;
}
.bg > .container .pagination {
    margin-top: 0px;
    margin-bottom: 0px;
}
.bg-white {
    background-color: white;
}

/*CKEditor*/
.ck-content {
    padding: 10px;
}
.cke_textarea_inline {
	border: 1px solid #ccc;
	padding: 10px;
	min-height: 300px;
    margin-left: -10px;
    margin-right: -10px;
}

/********************************************************/
/*                ===   WEBGRID   ===                   */
/********************************************************/
/* webgrid: start */

.webgrid table > tfoot {
    display: none;
}
.webgrid table > thead > tr > th:last-child {
    text-align: center;
}
.webgrid-pager {
    margin-top: -20px;
    border: solid 1px #ddd;
    padding: 30px 10px 10px 10px;
    position: relative;
}
.webgrid-pager > .pagination,
.webgrid-pager > p {
    margin-top: 0px;
    margin-bottom: 0px;
}
.webgrid-pager > p {
    position: absolute;
    bottom: 5px;
    left: 10px;
}
.panel .webgrid-pager {
    margin-top: 0px;
    border: 0px;
    border-top: 1px solid #ddd;
}

.webgrid-search,
.webgrid-search.form-inline {
    background: transparent;
}

.webgrid-search {
    border-top: 0px !important;
    padding: 0px !important;
}

.webgrid-search-input {
    display: inline-block;
    margin-bottom: 0px;
}

.webgrid-search-filter {
}
.webgrid-search-filter > .form-group {
    float: right;
}

/* Clear fix */
.webgrid-pager:before,
.webgrid-pager:after,
.webgrid-search:before,
.webgrid-search:after,
.webgrid-search-input:before,
.webgrid-search-input:after {
  display: table;
  content: " ";
}
.webgrid-pager:after,
.webgrid-search::after,
.webgrid-search-input:after {
  clear: both;
}

/* webgrid: end */
/********************************************************/


/********************************************************/
/*                  ===   ROLES   ===                   */
/********************************************************/
/* roles: start */

.role {
    background-color: navy;
    display: inline-block;
    border-radius: 4px;
    color: white;
    padding: 5px 10px;
    margin-bottom: 0px;
    border: 0px;
    font-size: 1em;
}
.role.rdl,
.role.execdir,
.role.adr,
.btn-rdl,
.btn-execdir,
.btn-adr {
    background-color: green;
    border-color: green;
    color: white;
}
.btn-rdl:focus,
.btn-rdl:hover,
.btn-execdir:focus,
.btn-execdir:hover,
.btn-adr:focus,
.btn-adr:hover {
    opacity: .8;
    color: white;
}

.role.collab,
.btn-collab {
    background-color: black;
    border-color: #d65f00;
    color: white;
}
.role.admin,
.btn-admin {
    background-color: rgb(159, 7, 14);
    border-color: rgb(159, 7, 14);
    color: white;
}
.text-admin {
    color: rgb(159, 7, 14);
}

.btn-admin:focus,
.btn-admin:hover {
    opacity: .8;
    color: white;
}

.role.director,
.btn-director {
    background-color: #d65f00;
    border-color: #d65f00;
    color: white;
}
.btn-director:focus,
.btn-director:hover {
    opacity: .8;
    color: white;
}
.text-director {
    color: #d65f00;
}

.role.dos,
.btn-dos {
    background-color: #004582;
    border-color: #004582;
    color: white;
}
.btn-dos:focus,
.btn-dos:hover {
    opacity: .8;
    color: white;
}
.text-dos {
    color: #004582;
}

    .role.support,
    .btn-support {
        background-color: rgb(192, 0, 192);
        border-color: rgb(192, 0, 192);
        color: white;
    }

.btn-support:focus,
.btn-support:hover {
    opacity: .8;
    color: white;
}
.text-support {
    color: rgb(192, 0, 192);
}

.role.user,
.btn-user {
    background-color: #5bc0de;
    border-color: #5bc0de;
    color: white;
}
.btn-user:focus,
.btn-user:hover {
    opacity: .8;
    color: white;
}
.text-user {
    color: #5bc0de;
}

    .role.proglead,
    .btn-proglead {
        background-color: #b406f9;
        border-color: #b406f9;
        color: white;
    }

        .btn-proglead:focus,
        .btn-proglead:hover {
            opacity: .8;
            color: white;
        }

.text-proglead {
    color: #b406f9;
}

.role.support {
    background-color: rgb(192, 0, 192);
}
.role:hover {
    opacity: .8;
    color: white !important;
}

.role-danger {
    background-color: #d9534f;
    font-weight: bold;
}
.role-success {
    background-color: #449d44;
    font-weight: bold;
}
.role-pending {
    background-color: #ec971f;
    font-weight: bold;
}

.bg > .container > .role,
.bg > .container-fluid > .role {
    float: right;
}

.bg h2 {
    margin-top: 0px;
}

.bg-rdl h2,
.bg-rdl .sub-title,
.bg-execdir h2,
.bg-execdir .sub-title,
.bg-adr h2,
.bg-adr .sub-title {
    color: rgb(0, 128, 0);
}
.bg-rdl,
.bg-execdir,
.bg-adr {
    border-top: solid 2px rgb(0, 128, 0);
    background-color: rgba(0, 128, 0, .2);
}

.bg-admin h2,
.bg-admin .sub-title {
    color: rgb(159, 7, 14);
}
.bg-admin {
    border-top: solid 2px rgb(159, 7, 14);
    background-color: rgba(159, 7, 14, .2);
}

.bg-director h2,
.bg-director .sub-title {
    color: rgb(214, 95, 0);
}
.bg-director {
    border-top: solid 2px rgb(214, 95, 0);
    background-color: rgba(214, 95, 0, .2);
}

.bg-dos h2,
.bg-dos .sub-title {
    color: #004582;
}
.bg-dos {
    border-top: solid 2px rgb(0, 169, 130);
    background-color: rgba(0, 169, 130, .2);
}

.bg-user h2,
.bg-user .sub-title {
    color: rgb(91, 192, 222);
}
.bg-user {
    border-top: solid 2px rgb(91, 192, 222);
    background-color: rgba(91, 192, 222, .2);
}

.bg-support h2 {
    color: rgb(192, 0, 192);
}
.bg-support {
    border-top: solid 2px rgb(192, 0, 192);
    background-color: rgba(192, 0, 192, .2);
}

/* roles: end */
/********************************************************/


/********************************************************/
/*                  ===   HELP   ===                    */
/********************************************************/
/* help: start */
#help-container {
    position: fixed;
    top: calc(50% - 50px);
    right: 0;
    height: 100px;
    width: 50px;
    background-color: #94013a;
    /*border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;*/
    /*border: solid 1px #bce8f1;*/
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    box-shadow: 2px 2px 5px #888888;
}

#help-container > h3 {
    -webkit-transform: rotate(270deg);	
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
    white-space: nowrap;
    position: absolute;
    left: -25px;
    bottom: 15px;
    color: #ffffff;
    cursor: pointer;
    height: 50px;
    line-height: 50px;
    width: 100px;
    text-align: center;
}

#help-container h2 {
    margin-top: 5px;
    margin-bottom: 0px;
    border-bottom: solid 2px #ccc;
    padding-bottom: 10px;
}

#help {
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: -630px;
    background-color: white;
    width: 630px;
    padding: 25px;
    height: 100%;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    /*border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;*/
    border: solid 1px #ddd;
    padding: 10px 20px;
    /*box-shadow: 2px 2px 5px 5px #888888;*/
}
#help .help-content {
    overflow-y: scroll;
    height: calc(100vh - 60px);
    padding-right: 10px;
    padding-top: 10px;
}

/* Expanded */
#help-container.visible {
    right: 630px;
    z-index: 5000;
}
#help-container.visible #help {
    right: 0;
    border-left-width: 5px;
    border-left-color: #bbb;
}

/*@media (min-width: 768px) and (max-width: 991px) {
    #help {
        height: 420px;
        top: calc(50% - 210px);
    }
    #help .help-content {
        height: 340px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    #help {
        height: 480px;
        top: calc(50% - 240px);
    }
    #help .help-content {
        height: 400px;
    }
}*/

@media (max-width: 768px) {
    #help-container {
        display: none;
    }
}

.panel-scroll-v {
    max-height: 300px;
    overflow-y: auto;
    padding: 5px 25px 5px 5px;
    border: solid 1px #ddd;
}
/* help: end */
/********************************************************/