

html {
    min-height: 100%;
    height: 100%;
}

body {
    min-height:100%;
    height: 100%;
}



.filerow:nth-child(even){
    background-color:#dddddd;
}

.filerow:nth-child(odd){
    background-color:#efefef;
}


/* iOS floating button fixes */
.correct-line-height .btn-large.btn-floating i {
    line-height: 35.5px;
}

.platform-iOS.major-version-9 .btn-floating.btn-large > i.material-icons {
    position: absolute;
    left: 17px;
    line-height: 55.5px;
}

.platform-iOS.major-version-9 .btn-floating:not(.btn-large) > i.material-icons {
    position: absolute;
    left: 8px;
}


#picture-caption {
  position: fixed;
  display: none;
  color: #fff;
  line-height: 50px;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 0% 15%;
  height: 50px;
  -webkit-font-smoothing: antialiased; 
  z-index:1001;
  display:inline;
  opacity:1;
  background-color:#000000;
}

.nav-drawer{
    position: fixed; 
    width:300px; 
    height: 100%; 
    top:0px; 
    left:-300px; 
    z-index:1000; 
    margin:0px;
    overflow: auto;
    background-color: white;
    -webkit-backface-visibility: hidden;

    /* Prepare hardware-acceleration */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.always-show-nav-drawer .nav-drawer{
    left: 0px;
    border-right: 1px solid #e0e0e0;
    border-radius: 2px;
}

.always-show-nav-drawer .nav-drawer ul{
    border: none;
}

.nav-drawer ul {
    margin: 0;
}

.always-show-nav-drawer header, .always-show-nav-drawer main, .always-show-nav-drawer footer {
    padding-left: 300px;
}

.always-show-nav-drawer #content {

    width: calc(100% - 300px);
    left: 300px;
}

.always-show-nav-drawer #content_new {

    width: calc(100% - 300px);
}

.always-show-nav-drawer #navigationBar {

    width: calc(100% - 300px); 
    margin-left: 300px;
}

.always-show-nav-drawer #rwthapp-nav-toggle {

    display: none;
}

.nav-drawer-blender {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    will-change: opacity;
}

.rwthapp-disabled {

    background-color: #dddddd !important; 
    pointer-events: none; 
    cursor: default;
}

.my-slide-nav > ul > li:first-child .collection-item{
    padding: 0px;
    margin-top: -16px;
    background: #00549f; 
    text-align: center;
}

.l2p-logo {

    background-image: url("../img/L2P_Icon.png");
    width: 28px;
    height: 28px;
}

#content {
    position: absolute;
    padding: 5px;
    width: 100%;
}

#content_new {
    position: absolute;
    padding: 5px;
    opacity: 0;
    width: 100%;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.66);
    z-index: 10000;
    text-align: center;
}
#overlayQuiz {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.66);
    z-index: 10000;
    text-align: center;
}

.loading-animation {
    top: 50%;
}

.rep_description {
    font-size:12px;
    border: 1px dashed #407fb7;
}

.rep_head {
    text-align:left;
    font-size:15px;
    margin-top:10px;
    margin-bottom:0px;
}

.photocircle{width:24px;height:24px;border-radius:12px;font-size:16px;color:#fff;line-height:23px;text-align:center;background:#000;margin:auto;margin-top:3px;}
.photoinvcircle{width:24px;height:24px;border-radius:12px;font-size:16px;color:#000;line-height:21px;text-align:center;background:rgba(0,0,0,.0);border:2px solid black;margin:auto;margin-top:3px;}

.navbar-fixed nav {
  top: 0;
  left: 0;
}

/*********************
* Collection styling *
**********************/

/* Used in campus details views to list key-value pairs */
.collection .collection-item .title {
    font-size: 12px; 
    color: lightgrey;
}

.collection .collection-item .value {
    margin: 0; 
}


/* Used in DAS to style two-line lists with styled headers */
.das-list-item {
    min-height: 48px;
    margin-bottom: 16px;
}

.das-list-item .firstline {
    font-size: 14px; 
    color: black;
}

.das-list-item .secondline {
    font-size: 12px; 
    color: darkgrey;
}

.das-list-header {
    font-weight: bold;
    color: darkgrey;
}

/* DAS temporary image while loading final image */
img.loading {
    content:url("../img/image-loading.png");
    width: 24px;
}

/* DAS message styling */
#posts-div {
    overflow: hidden; /* Fix so that it contains the floating messages */
}

.das-message{
    box-shadow: 0 3px 6px #B2B2B2;
    display: inline-block;
    padding: 10px 18px;
    position: relative;
    vertical-align: top;
    clear: both;
    min-width: 200px;
    margin: 5px 20px 5px 20px; 
}

.das-message::before {
    content: "\00a0";
    display: block;
    height: 16px;
    position: absolute;
    top: 11px;
    transform:             rotate( 29deg ) skew( -35deg );
        -moz-transform:    rotate( 29deg ) skew( -35deg );
        -ms-transform:     rotate( 29deg ) skew( -35deg );
        -o-transform:      rotate( 29deg ) skew( -35deg );
        -webkit-transform: rotate( 29deg ) skew( -35deg );
    width:  20px;
}

.you .das-message {
    background-color: #F2F2F2;     
}

.you .das-message::before {
    box-shadow: 0 5px 3px -1px rgba( 178, 178, 178, .4 );
    left: -9px;   
    background-color: #F2F2F2;        
}

.me .das-message { 
    margin: 5px 20px 5px 20px;     
    background-color: #F9FAED;   
}

.me .das-message::before {
    box-shadow: 5px 0px 3px -1px rgba( 178, 178, 178, .4 );
    right: -9px;  
    background-color: #F9FAED;  
}

/* Alternative to float right */
.das-message-wrapper.me {
    text-align: right;
}
.das-message-wrapper.me .das-message {
    text-align: left;
}

/* Needs to be stretched to full width */
.das-message.flot-container {
    display: block;
}

.das-message-timestamp {
    font-size: 11px;
    color: lightgrey;
}

.poll-result {
    height: 250px;
}

.fixed-overlay {
    position: fixed; 
    left: 0; 
    right: 0; 
    z-index: 997; 
}

/* Adjust overlay width for different scenarios */
.always-show-nav-drawer .fixed-overlay {
    left: 300px; 
}
.always-show-nav-drawer #content_right.s7 .fixed-overlay {
    left: calc(41.666% + 175px); /* calc((100%-300px)*(1/2.4) + 300px) =  calc((100%-300px)*(5/12) + 300px)*/
}
#content_right.s8 .fixed-overlay {
    left: 41.666%; 
}
.always-show-nav-drawer #content_right.s5 .fixed-overlay {
    left: calc(58.3333% + 125px); /* calc((100%-300px)*1.4/2.4 + 300px) = calc((100%-300px)*(14/10)/(24/10) + 300px) = calc((100%-300px)*(7/12) + 300px) = calc(58.333% - 175px + 300px) = calc(58.333% + 125px) */
}
#content_right.s5 .fixed-overlay {
    left: 58.3333%; 
}
/*.fixed-overlay {
    position: fixed; 
    width: inherit; 
    right: 0; 
    z-index: 997; 
}*/

.always-show-nav-drawer .rwth-tablet {

    width: calc(100% - 300px) !important;
}

#inputBar {
    bottom: 0; 
    background-color: white; 
    height: 50px;
    border-top: 1px solid lightgrey;
}

#bottomBar {
    bottom: 50px; 
}

.always-show-nav-drawer .needsBackButton {

    width: 100%;
    padding: 0 70px 0 40px;
}

.needsBackButton {

    width: 100%;
    padding: 0 70px 0 65px;
}

.noBackButton {

    width: 100%;
    padding: 0 70px 0 40px;
}

#pollBar {
    top: 56px;
    background-color: lightgrey;
}

.pollButton {
    width: 100%
}

.btn.icon-only {
    padding: 0 10px;
}

#messageInput {
    margin: 1px 5px;
    width: 80%; 
    width: calc(100% - 60px);
}

#title-top {
    /*font-weight: bold;*/
    margin:0;
    font-size:18px;
    margin-top: -6px;
}

#title-sub {
    font-size:12px;
    margin:0;
    margin-top: -37px;
}

.title-noSubtitle #title-sub{
    display: none;
}

.title-noSubtitle #title-top{
    margin:0;
}

/* Modal Fixes */
div.modal {
    left: 22.5%;
    margin: 0;
}

@media only screen and (max-width: 992px) {
    div.modal {
        left: 10%;
    }
}


/* Fix for moving label on active input elements */
.input-field label.active {
    left: 0;
}


/* Styling of changelog list */
.changelog ul {
    padding: 0 2em;
}

.changelog ul li {
    list-style: square outside;
}

.rwth-tablet .col {

    height: 100%; 
    height: calc(100% - 56px); 
    overflow-y: auto; 
    overflow-x: hidden;
}