/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 60px;
    padding-bottom: 25px;
    height: 101%;
}

html {
    height: 100%;
/* The html and body elements cannot have any padding or margin. */
}

#footer {
    height: 60px;
    background-color: #f5f5f5;
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto;
    /* Negative indent footer by its height */
    margin: 0 auto -60px;
    /* Pad bottom by footer height */
    padding: 0 0 60px;
}


.container .text-muted {
    margin: 20px 0;
}

.homepage-tile {
    padding: 9px 14px;
    margin-bottom: 14px;
    border-radius: 4px;
}

.breadcrumb > li + li:before {
    content: "\00bb";
}

/* override bootstrap */
@media screen and (min-width: 768px) {
  .jumbotron {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .container .jumbotron {
    padding-left: 60px;
    padding-right: 60px;
  }
  .jumbotron h1,
  .jumbotron .h1 {
    font-size: 47px;
  }
}

/* key value pair drag and drop */
@keyframes keyValueAnimation {
    0% {
        background-color: rgb(117,209,63);
        /*border: 30px solid #FFFF00 !important;*/
    }
    100% {
        background-color: #FFFF00;
        /*border: 30px solid rgb(117,209,63) !important;*/
    }
}

.key-value-drop-target-hover {
    background-color: #FFFF00;
    height:10em !important;
    animation-name:keyValueAnimation;
    animation-duration:0.5s;
    animation-iteration-count:infinite;
    animation-direction: alternate;
}

/* highlighter */

/* what is it for? */
.marker {
    background-color: #FFFF00 !important;
}


.bubo-highlighter-yellow {
    background-color: rgba(255, 255, 0, 0.5) !important;
}
.bubo-highlighter-magenta {
    background-color: #FF50FF !important;
}
.bubo-highlighter-cyan {
    background-color: #00FFFF !important;
}
.bubo-highlighter-lightred {
    background-color: #FFA0A0 !important;
}
.bubo-highlighter-green {
    background-color: rgba(0, 255, 0, 0.5) !important;
}


.nav-tabs>.disabled>a, .nav-pills>.disabled>a {
    color: #999;
    cursor: default;
    border: none; /** add this for tabs/pills **/
}

.nav-tabs>.disabled>a:hover, .nav-pills>.disabled>a:hover {
    background-color: transparent;
}

.nav-tabs > li > a {
    cursor:pointer !important;
}

.nav-tabs > li.active > a {
    cursor:default !important;
}



.ui-widget-content a {
    color: #428bca;
}

/* overwrite pre from bootstrap so highlight.js can work */
pre {
    border: none;
    padding: 0px;
    background-color: white;
}


/* TODO - move to custom users' resources */
@font-face {
    font-family: 'KFGQPC Uthmanic Script HAFS';
    src: url('/static1/app/fonts/arabicfonts.net/KFGQPC%20Uthmanic%20Script%20HAFS%20Regular.otf');
}

@font-face {
    font-family: ScheherazadeRW;
    src: url('/static1/app/fonts/software.sil.org/Scheherazade-2.100/web/Scheherazade-Regular.woff');
}
@font-face {
    font-family: ScheherazadeBW;
    src: url('/static1/app/fonts/software.sil.org/Scheherazade-2.100/web/Scheherazade-Bold.woff');
}


/* from bootstrap, to fix homepage */
.nav > li > div.bubo-nav {
    display: block;
    padding: 10px 15px;
}
.nav > li > div.bubo-nav > a {
    display: inline;
    padding: 0px;
}
.nav > li > div.bubo-nav > a:hover,
.nav > li > div.bubo-nav > a:focus {
    text-decoration: none;
    background-color: #eee;
}


a.bubo-anchor {
    display: block;
    position: relative;
    top: -55px;
    visibility: hidden;
}

.bubo-right-to-document p {
    display:inline;
}

.bubo-right-to-document p:after {
    content:"  ";
    white-space: pre;
}

[disabled] {
    cursor: default !important;
    pointer-events: all !important;
}

textarea { resize: vertical; }
