﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    /*padding-top: 50px;
    padding-bottom: 20px;*/
    
}

table.table ul.dropdown-menu {
    position: absolute;
    float: left;
    max-width: 160px;
}

table.table {
    height: 20px;
}

/* Make all images responsive by default */
img {
    display: inline-block;
    height: auto;
    max-width: 100%;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.progress-indicator {
   top:0;
   right:0;
   width:100%;
   height:100%;
   position:fixed;
   text-align:center;
   /* IE filter */
   filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
   -moz-opacity:0.5;    /* Mozilla extension */
   -khtml-opacity:0.5;  /* Safari/Conqueror extension */
   opacity:0.5; /* CSS3 */
   z-index:1000;
   background-color:white;
 }

 .progress-indicator img {
   margin-top:18%;
 }

/* 
    Multi-level bootstrap menus



.dropdown-submenu {
    position: relative;
    width: max-content;
}

.dropdown-menu {
    min-width: 10%;
}*/

.QSBox {
    background: url(/images/search.svg) no-repeat scroll 0px 0px;
    background-color: #fff;
    padding-left: 35px;
}

divQSContainer > .dropdown-menu {
    width:auto;
}

/*.large-menu {
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: visible;
    width: 70vh;
}*/
.studentneeds-flag {
    background-color: rgba(255, 227, 120, 0.40);
    width: max-content;
}
.studentneeds-psd {
   color: #ff0000;
}
.studentneeds-learning {
    color: #199f2a;
}
.studentneeds-social {
    color: #ffd800;
}
.studentneeds-other {
    color: #a9a9a9;
}
.studentneeds-support {
    color: #0094ff;
}
.studentneeds-label-psd {
    background-color: #ff0000;
}

.studentneeds-label-learning {
    background-color: #199f2a;
}

.studentneeds-label-social {
    background-color: #ffd800;
}

.studentneeds-label-other {
    background-color: #a9a9a9;
}

.studentneeds-label-support {
    background-color: #0094ff;
}

.checkedout-label {
    background-color: blueviolet;
}

.checkedin-label {
    background-color: seagreen;
}

.dropdown-submenu {
    position: relative;
    min-width: 100%;
}

.dropdown-menu2 {
    min-width: 180px;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        right: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
        /*max-height: 90vh;
        overflow-y: scroll;
        overflow-x:visible;
        width: auto;*/
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        /*content: " ";*/
        float: left;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

 /**
 * Progress bars with centered text (bootstrap mod)
 */

.progress {
    position: relative;
}

.progress span {
    position: absolute;
    display: block;
    width: 100%;
    color: black;
 }

.index-icon {
    vertical-align: middle;
}

/* Circle Profile Photo CSS */
div.circle-avatar{
    /* make it responsive */
    max-width: 100%;
    width:100%;
    height:auto;
    display:block;
    /* div height to be the same as width*/
    padding-top:100%;

    /* make it a cirkle */
    border-radius:50%;

    /* Centering on image`s center*/
    background-position-y: center;
    background-position-x: center;
    background-repeat: no-repeat;

    /* it makes the clue thing, takes smaller dimention to fill div */
    background-size: cover;

    /* it is optional, for making this div centered in parent*/
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.img-thumbnail-nobg {
    display: inline-block;
    max-width: 100%;
    height: auto;
    position:center;
    line-height: 1.4285;
    /*background-color: #fff;*/
    /*border: 1px solid #ddd;*/
    /*border-radius: 4px;*/
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.img-userpic {
    display: inline-block;
}

.static-popover { 
    position: relative;
    display: inline-block !important;
    margin: 20px;
    z-index: 1011;
}

.centre-in-panel {
      text-align: center;
}

.fa-rotate-45 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.panel-title > a:before {
        font-family: FontAwesome;
        content: "\f139";
        padding-right: 5px;
        text-decoration: none;
        float:right;
}
.panel-title > a.collapsed:before {
        content: "\f13a";
        text-decoration: none;
        float:right;
}
.panel-title-rev > a:before {
    font-family: FontAwesome;
    content: "\f139";
    padding-right: 5px;
    text-decoration: none;
    float: left;
}

.panel-title-rev > a.collapsed:before {
    content: "\f13a";
    text-decoration: none;
    float: left;
}
.panel-title a:hover, a:focus {
    text-decoration: none;
}

.panel-collapse .table {
    margin-bottom: 0px;
}

.label-as-badge {
    border-radius: 1em;
}

 .checkbox label:after, 
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .5;
}

/* Set widths on the form inputs since otherwise they're 100% wide 
input,
select,
textarea {
    max-width: 280px;
}*/

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}


/* Bootcards overrides */
a.item-edit:before {
    font-family: 'FontAwesome';
    content: '\f040';
    position: absolute;
    right: 15px;
    top: 50%;
    font-size: 14px;
    line-height: 14px;
    margin-top: -7px;
    color: #000;
}

a.item-locked:before {
    font-family: 'FontAwesome';
    content: '\f023';
    position: absolute;
    right: 15px;
    top: 50%;
    font-size: 14px;
    line-height: 14px;
    margin-top: -7px;
    color: #000;
}

a.item-noicon:before {
    font-family: 'FontAwesome';
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    font-size: 14px;
    line-height: 14px;
    margin-top: -7px;
    color: #000;
}

.panel-footer {
    overflow: visible;
}
