
/* A nice mono-spaced font */
.monospace {
    font-family: 'Roboto Mono', SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Blinkentext! */
.blinking {
    animation:blinkingText 1.2s infinite;
}
@keyframes blinkingText {
      0%{ color: #000;         }
     49%{ color: #000;         }
     60%{ color: transparent;  }
     99%{ color: transparent;  }
    100%{ color: #000;         }
}

/* The main heading is a link back to the start page. */
/* Don't want to show it as a link until they hover */
#servicetitle {
    color: white;
    text-decoration: none;
}
#servicetitle:hover {
    color: #a5372a;
    text-decoration: underline;
}

/* Used rarely for text that must have high visibility to the user. */
.standout {
    color: black;
    font-weight: 900;
}

/* Used for making links blindingly obvious */
.obvious-link {
    color: blue;
    text-decoration: underline;
}

/* Used when I have used tables to get alignment right */
.row-header {
    text-align: right;
    white-space: nowrap;
    padding-right: 10px;
}

/* Don't line wrap it, but make it use an ellipsis if too long */
.dotdotdot {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Used fields that mustn't be wrapped */
.nowrap {
    white-space: nowrap;
}

/* Used for hiding Export as CSV button in DataTables */
.hidden {
    display: none;
}

/* A list with no bullets. Handy for indenting */
ul.no-bullets {
    list-style-type: none;
}

/* Added a bit of accordion from Bootstrap v5 to v4 */
.accordion .card {
    margin-top: 0;
}
.accordion .card-header {
    color: #0c63e4;
    background-color: #e7f1ff;
    padding: 0;
}
.accordion .btn {
    font-size: 1.1rem;
    color: #0c63e4;
}
.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    color: #212529;
    background-color: transparent;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
}

/* Used for menus - vertically centers them and adds margin */
.menu-entry {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1rem;
}
.menu-button {
    align-items: center !important;
    margin-right: 1rem;
}

/* Used in student_feedback list of files within a feedback object */
.file-list {
    display: flex;
    align-items: center;
}

/* Stuff for DataTables to look and work how I want */
.dataTable td {
  cursor: pointer;
}
.toggle-vis:hover {
    cursor: pointer;
}
a:not([href]):not([tabindex]) {
    color: rgb(0,0,238);
}

/* Make menu buttons fixed width. Looks neater */
.menu-button > .btn {
    width: 12rem;
}
.menu-button .btn {
    width: 12rem;
}
.menu-button.btn {
    width: 12rem;
}

/* For typeahead.js in conjunction with Bootstrap 4 and jQuery */
/* Used for everything that auto-completes with typeahead. */
#bloodhound.form-control {
    padding: 0px;
}
span.twitter-typeahead {
    width: 100%;
    height: 100%;
}
input.tt-hint {
    width: 100%;
    height: 100%;
}
input.tt-input {
    min-width: 100%;
    min-height: 100%;
    margin-left: 0px;
    padding-left: 7px;
}

/* Don't bother with the arrow for now, as I can't
   make it rotate anyway.
.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
}
*/

/* Bits of TinyMCE I don't like */
/* The "12pt" font size drop-down button in the toolbar. */
button[title="Font sizes"].tox-tbtn {
    width: 4rem;
}

/*
 * Over-riding bits of UoS branding I don't like
*/

/* I hate Verdana with a passion. */
/* And their text is all too small. */
body, .input-group-text, .form-control {
    font-family: 'Roboto', Verdana, Geneva, sans-serif;
    font-size: 1rem;
}
/* Small text in the heading is too tiny to read */
small, .small {
    font-size: 100%;
}
/* They use a serif font in a tiny tooltip! Illegible. */
.tooltip {
    font-family: 'Roboto', Verdana, Geneva, sans-serif;
    font-size: 0.9rem;
}
/* And the tooltips are really narrow, so split over lots of lines. */
.tooltip-inner {
    max-width: 400px;
}
/* And since when were links *RED* ?? FFS people. */
a {
    color: #8B4E52;
}
a:hover {
    color: #8B4E52;
}
/* Buttons can get far too small, eg. "Next" button . */
/* And the text is too small.                         */
/* And they need the right mouse pointer.             */
.btn {
    font-size: 1.1rem;
    /* width: 12rem; */ /* Only do this for menu buttons! */
    cursor: pointer;
}

