/**
 * Basic theme
 */

html {
    height: 100%;
}

body {
    min-width: 320px;
    background: #fff;
    height: 100%;
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 190%;
    font-family: 'Lato', sans-serif;
    padding-top: 86px;
}

a:link, a:visited, a:hover, a:active {
    color: #dd176f;
    text-decoration: none;
}

/**
 * User details
 */

.user-details a {
    color: #444;
}

/**
 * Plain glyphicon
 */

a .glyphicon-mono {
    color: #bbb;
    position: relative;
    top: 2px;
    margin-left: 5px;
}

a:hover .glyphicon-mono {
    color: #666;
}

.glyphicon-circled {
    background: #ef156e;
    color: #fff;
    border-radius: 50%;
    padding: 10px;
    font-size: 20px;
    margin-right: 10px;
}

/**
 * Tables
 */

.table-fixed {
    table-layout: fixed;
}

.table-fixed td {
    word-break: break-all;
}

table.table-middle > tbody > tr > td, table.table-middle > tbody > tr > th {
    vertical-align: middle;
}

table.table-data {
    background: #fff;
    border: 1px solid #ddd;
}

table.table-data th {
    color: #000;
    font-weight: bold;
    text-align: right;
    width: 180px;
}

@media (max-width: 768px) {
    table.table-data th {
        width: 120px;
    }
}

table.table-data td {
    color: #666;
}

.table h4 {
    font-weight: bold;
}

.table h4:first-of-type {
    margin-top: 0;
}

/**
 * Theme colours
 */

.success, a.success {
    color: #00BB88;
}

.warning, a.warning {
    color: #E0E055;
}

.danger, a.danger {
    color: #DD1D35;
}

/**
 * Buttons
 */

.btn-primary, .btn-primary:visited {
    background: #ef156e;
    border: 1px solid #ef156e;
    color: #fff !important;
}

.btn-success {
    background: #00BB88;
    color: #fff;
    border: 0 #00BB88;
}

.btn-success:hover, .btn-success:active, .btn-success:focus {
    background: #009B68;
    border-color: #009B68;
}

.btn-warning {
    background: #E0E055;
    border: 0;
    color: #000;
}

.btn-warning:hover, .btn-warning:active, .btn-warning:focus {
    background: #C0C035;
}

.btn-danger {
    background: #FF3D55;
    border: 0;
    color: #fff;
}

.btn-danger:hover, .btn-danger:active, .btn-danger:focus {
    background: #DF1D35;
}

.btn-info {
    border: 0;
}

/**
 * Notes
 */

.notes {
    color: #444;
    border: 1px solid #DDD;
    background: #F8F8F8;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    line-height: 23px;
}

.notes p:last-of-type {
    margin-bottom: 0;
}

.notes h3 {
    margin: 0 0 10px 0;
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #DDA;
}

.notes.notes-purple {
    border-color: #C0B0CF;
    color: #441196;
    background: #F4F0FF;;
}

.notes.notes-purple h3 {
    border-bottom: 1px solid #C0B0CF;
}

.alert.alert-warning {
    color: #442;
    border: 1px solid #DDA;
    background: #F8F8DD;
}

/**
 * Labels
 */

.label {
    position: relative;
    top: -2px;
}

.label-primary {
    background: #8800BB;
}

a.label-primary:hover {
    background: #68009B;
}

.label-danger {
    background-color: #ef156e;
}

a.label-danger:hover {
    background-color: #df055e !important;
}

.label-warning {
    background-color: #c0c000;
}

a.label-warning:hover {
    background-color: #a0a000;
}

.label-success {
    background-color: #00BB88;
}

a.label-success:hover {
    background-color: #009B68 !important;
}


/**
 * Utility classes
 */

.faint {
    opacity: 0.5;
}

.long-url {
    display: inline-block;
    width: 800px;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.container-narrow {
    max-width: 960px;
}

.container-wide {
    margin: 0 20px;
}

.container.extended {
    width: 100%;
}

@media (min-width: 1440px) {
    .container.extended {
        width: 1440px;
    }
}

/**
 * User levels
 */

.label.label-platinum {
    background: #444;
    color: #fff;
}

.label.label-gold {
    background: #EEDD44;
    color: #202010;
}

.label.label-silver {
    background: #DDD;
    color: #333;
}

.label.label-bronze {
    background: #BB6644;
    color: #fff;
}

/**
 * User profiles
 */

.user-profile {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    width: 100%;
    height: auto;
}

.user-profile-square {
    border-radius: 0;
}

.user-with-profile {
    display: flex;
    align-items: center;
}

.user-with-profile img.user-profile {
    width: 25px;
    flex: 0 1 auto;
    margin-right: 10px;
}

.user-with-profile span {
    flex: 1 1 auto;
}

/**
 * Popovers
 */

.popover {
    max-width: none !important;
    color: #444;
}

.popover .popover-content {
    padding: 10px;
}

[data-toggle="popover"] {
    cursor: pointer;
}

.label.label-name-pros {
    color: #fff;
    background: #283692;
}

.popover ul {
    margin: 10px 0;
    padding: 0 0 0 20px;
}

.popover .table {
    font-size: 14px;
}

/**
 * Suggestions
 */


ul.suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.suggestions li {
    background: #F8F8F8;
    color: #444;
    cursor: pointer;
    margin: 2px 0;
    padding: 1px 10px;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
    border: 1px solid #f8f8f8;
}

ul.suggestions li:hover {
    background: #E0E0E0;
}

ul.suggestions li.selected {
    border: 1px solid #d00;
    background: #FFE0E0;
}

ul.suggestions li.recommended {
    border: 1px solid #aaa;
    background: #E0E0E0
}

/**
 * Full screen modals
 */

.modal-fullscreen {
    z-index: 999999;
    border: 0;
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(+100%);
    background: #fff;
    transition: all 0.3s;
}

.modal-fullscreen.open {
    transform: translateY(0);
}

.modal-fullscreen .modal-content {
    border-radius: 0;
}

.modal-fullscreen .modal-header {
    position: fixed;
    border: 0px;
    border-bottom: 1px solid #ddd;
    left: 0;
    right: 0;
    top: 0;
    height: 60px;
    background: #F0F0F0;
    display: flex;
    align-items: center;
}

.modal-fullscreen .modal-header h4 {
    flex: 0 1 auto;
}

.modal-fullscreen .modal-header button {
    flex: 1 1 auto;
    text-align: right;
}

.modal-fullscreen .modal-body {
    background: #fff;
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    bottom: 60px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.modal-fullscreen .modal-footer {
    border: 0;
    position: fixed;
    left: 0;
    right: 0;
    height: 60px;
    bottom: 0;
    background: #333;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.modal-fullscreen .modal-footer button {
    flex: 1 1 auto;
    border-radius: 0;
    border: 0;
    margin: 0 !important;
}

.modal-fullscreen .modal-footer .btn-primary {
    background: #6431b6;
}

.modal-fullscreen .modal-footer .btn-primary:hover {
    background: #240076;
}

.modal-fullscreen .modal-footer .btn-default {
    color: #bbb;
    background: #333;
}

.modal-fullscreen .modal-footer .btn-default:hover {
    color: #bbb;
    background: #222;
}
