:root {
    --mdc-theme-primary: #032a34;
    --mdc-theme-secondary: #021d24;
    --mdc-theme-background: #000;
    --mdc-theme-surface: #666;
    --mdc-theme-on-primary: #FFF;
    --mdc-theme-on-secondary: #FFF;
    --mdc-theme-on-surface: #FFF;
}

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    -webkit-backface-visibility: hidden;
}

html {
    height:100%;
}

body {
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    background: #032A34;
    background-attachment: fixed;
    font-family: sans-serif;
    font-size:16px;
    font-weight: lighter;
    line-height: 26px;
    padding:0;
    margin:0;
    height:100%;
    width:100%;
    color: #fff
}

a {
    color: #a6d9db;
    text-decoration: none;
    background-color: rgba(255,255,255,.1);
    padding: 2px 6px;
    border-radius: 2px;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

h1 a,
h2 a,
h3 a,
.tag a,
.preview a,
.previewSmall a {
    color: #fff !important;
    text-decoration: none !important;
    background: none !important;
    padding: 0 !important;
    border-radius: none;
}

a:hover, .btn:hover, input[type="submit"]:hover, .task:hover, .notification:hover {
    opacity: .6;
    cursor: pointer;
}

img, img a {
    border:none;
}

table {
    border-collapse: collapse;
}

h1 {
    background: rgba(0, 0, 0, .3);
    /* position: fixed; */
    /* top: 0px; */
    /* left: 0px; */
    width: 100%;
    color: #fff;
    text-align: center;
    font-weight: 900;
    font-size: 28px;
    padding: 24px 0px 16px 0px;
    margin: 0;
    z-index: 3000;
}

header h1 {
    position: absolute;
    top: 0px;
    left: 0px;
}

h2 {
    color: #fff;
    font-weight: 900;
    font-size: 32px;
    padding: 0;
    margin: 18px 0px;
    line-height: 28px;
}

h3 {
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    padding: 0;
    margin: 4px 0px;
    line-height: 22px;
}

small {
    display: block;
    line-height: 18px;
    margin: 4px auto;
    color: #000;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 10px;
    font-weight: normal;
    letter-spacing: 0;
}

textarea {
    font-size: 16px;
    border: 0;
    border-radius: 4px;
    padding: 4px;
    background: #fff;
    margin: 6px 0px;
    display: block;
    height: 180px;
    width: 100%;
    font-family: sans-serif !important;
}

select {
    -webkit-appearance: none;
}

input, input[type="password"], select {
    font-size: 16px;
    border: 0;
    border-radius: 4px;
    padding: 4px;
    width: 250px;
    background: #fff;
    margin: 6px 0px;
    display: inline-block;
    color: #444;
    font-family: sans-serif !important;
    -webkit-appearance: none;
}

input[type="checkbox"]{
    position: relative;
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

input[type="checkbox"]:checked {
    color: #032A34;
    background-color: white;
}

input[type="checkbox"]:before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8em;
    opacity: 0;
}

input[type="checkbox"]:checked:before {
    opacity: 1;
}

input[type="range"] {
    width: 220px;
    vertical-align: middle;
    float: left;
}

label, .formText {
    display: block;
    font-size: 14px;
    color: #fff;
    padding: 0px 8px;
    font-weight: lighter;
}

label[for=id_retired] {
    display: inline-block;
    vertical-align: middle;
}

form p {
    font-size: 14px;
    color: #fff;
    padding: 0px 8px;
    font-weight: lighter;
}

input[type="submit"] {
    padding: 4px 10px;
}

/* App body color default */
.btn, input[type="submit"] {
    background: rgba(0,0,0,.6);
    display: block;
    font-size: 15px;
    border: 0;
    border-radius: 4px;
    color: #fff !important;
    margin: 6px 0px;
    display: inline-block;
    font-weight: lighter;
    width: auto;
    font-family: sans-serif !important;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.btn {
    padding: 2px 10px;
}

input[type="file"] {
    background: none;
    color: #fff;
    font-size: 14px;
    font-weight: lighter;
}

.errorlist, .errorlist li {
    width: auto;
    background: transparent;
    color: #ee394e;
    border: none;
    margin: 0; padding: 0;
}

.warnings {
    padding: 0px 4px;
    margin-bottom: 12px;
    font-size: 13px;
    background: #ee394e;
    color: #fff;
}

.action {
    display: block;
    background: rgba(255, 255, 255, .1);
    border-top: 4px solid #0B1D24;
    padding: 6px;
}

.inlineForm {
    margin: 0;
    border: 0;
    padding: 0;
    display: inline;
}

.content {
    width: 94%;
    min-width:300px;
    max-width:1200px;
    padding: 8px;
    margin: 10px auto 0;
}

.section {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    margin-bottom: 6px;
    padding-bottom: 6px
}

.notification {
    background: rgba(255,255,255,.4);
    margin: 0px 0px 6px 0px;
    padding: 8px;
    font-size: 13px;
    line-height: 13px;
    border-top: 4px solid rgba(0,0,0,.6);
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.tag {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .2);
    border-left-width: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .1);
    text-align: center;
    padding: 8px 6px;
    margin: 2px;
    font-weight: lighter;
}

.column {
    display: inline-block;
    width: 320px;
    text-align: center;
    vertical-align: top;
}

/* Thumbnails */
.asset_preview_size_select__property {
    text-align: center;
    padding: 5px;
    background-color: var(--mdc-theme-secondary);
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
}

.previewSmall {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .2);
    width: 90px;
    text-align: center;
    margin: 4px 2px;
}

.preview {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .2);
    text-align: center;
    margin: 4px 2px;
}


.previewImage {
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px auto;
    width: 150px;
    height: 150px;
    background: none;
    overflow: hidden;
}

.variant-image {
    margin: 5px auto;
    width: auto;
    max-height: 150px;
    background: none;
    overflow: hidden;
}

.variant-remove {
    font: normal 1em/1 Arial, sans-serif;
    display: inline-block;
    cursor: pointer;
}
.variant-remove::before { content: "\2716"; }

.variant-new {
    display: block;
    width: 100%;
}

#variant-form label {
    text-align: left;
    padding: 0;
}
#variant-form div {
    display: flex;
    margin-bottom: 10px;
}
#variant-form input {
    margin-right: 10px;
}

.previewImage--large {
    width: 310px;
    height: 310px;
    vertical-align: top;
    margin-bottom: 8px
}

/* Used with drop-down on assets/ */
.previewImage300x300 {
    width: 300px;
    height: 300px;
    vertical-align: top;
    margin-bottom: 8px
}

.previewImage500x500 {
    width: 500px;
    height: 500px;
    vertical-align: top;
    margin-bottom: 8px
}

.previewImage a {
    background: none;
}

.previewImage img {
    max-width: 100%;
    max-height: 100%;
}

/* Pagination */
.paginationText {
    display: inline-block;
    padding: 3px 0px;
    text-transform: uppercase;
    line-height: 10px;
    font-weight: normal;
    letter-spacing: 0;
    vertical-align: middle;
}

/* Badges */
.badge {
    display: inline-block;
    font-size: 10px !important;
    padding: 3px;
    border-radius: 2px;
    color: #fff;
    text-transform: uppercase;
    line-height: 10px;
    vertical-align: middle;
    letter-spacing: 0;
    border: 1px solid #fff;
    margin: 4px 0px;
}

.badgeInv {
    display: inline-block;
    font-size: 10px !important;
    padding: 3px;
    border: 1px solid #2a415a;
    border-radius: 2px;
    color: #2a415a;
    text-transform: uppercase;
    line-height: 10px;
    vertical-align: middle;
    letter-spacing: 0;
    margin: 4px 0px;
}

.badgeLarge {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 2px;
    color: #fff;
    vertical-align: middle;
    background: rgba(255, 255, 255, .2);
    margin: 4px 0px;
}

.Open {
    background: #1baba4 !important;
    color: #fff;
}

.Closed, .Hold, .Completed, .Cancelled  {
    background: #ee394e !important;
    color: #fff;
}

.badgeText {
    display: inline-block;
    padding: 3px 0px;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 10px;
    font-weight: normal;
    letter-spacing: 0;
    vertical-align: middle;
}

/* Calendar ? */
.calendarCell {
    display: inline-block;
    width: 13.5%;
    border-top: 1px solid #fff;
    vertical-align: top;
    margin: 0;
    padding: 0;
    min-height: 140px;
}

#calendarDays {
    margin:2px 0px;
}

.dayCell {
    display: inline-block;
    width: 13.5%;
    margin: 0;
    padding: 0;
}

#agendaLeft {
    width: 64%;
    float: left;
}

#agendaRight {
    width: 32%;
    float: right;
}

/* Avatar */
.avatar {
  display: inline-block;
  vertical-align: middle;
  width:32px;
  height:32px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  margin: 4px;
}

.avatarLarge {
  vertical-align: middle;
  width:80px;
  height:80px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  margin: 4px auto;
}

.avatarSmall {
  display: inline-block;
  vertical-align: middle;
  width:16px;
  height:16px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  margin: 4px;
}

/* Material Nav Drawer */
.drawer-frame-root,
.atlas-menu-toggle {
    z-index:10000;
}

.atlas-menu-toggle {
    margin: 10px 10px 8px;
}

.atlas-menu-hidden-close {
    display:none;
}

.mdc-drawer {
    background-color:var(--mdc-theme-secondary);
    height:calc(100% - 44px);
}

.mdc-list,
.mdc-drawer .mdc-drawer__title,
.mdc-drawer .mdc-drawer__subtitle {
    color:var(--mdc-theme-on-primary);
}

.mdc-drawer .mdc-list-item,
.mdc-drawer .mdc-list-item__graphic {
    background-color:var(--mdc-theme-secondary);
    color:var(--mdc-theme-on-secondary);
}

/* File List */
.file-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .file-list__item {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 6px;
        padding-bottom: 6px;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
    }

        .file-list__link {
            display: inline-block;
            flex: 1;
            text-align: left;
            word-break: break-all;
            max-width: 240px;
            text-decoration: underline;
            background-color: unset;
        }

        .file-list__link--view,
        .file-list__link--download {
            background: none;
        }
        .file-list .file-list__item input {
            margin: 5px 0px 10px 10px;
        }
        .file-list input[type="submit"] {
            margin-bottom: -80px;
        }

/* One offs */
#asset_details ul {
    list-style:none;
    text-align:left;
}

#splashSearch .search-form__input {
    font-size: 24px;
    padding: 8px;
    width: 70%;
    min-width: 300px;
    margin: 20px 0px;
}

.search-form {

}

    .search-form__input {
        vertical-align: middle;
    }

        .search-form__button {
            right: 52px;
            color: #032A34;
            vertical-align: middle;
        }
/* Search Operator Select */
.search-operator {
    display: inline-block;
    position: relative;
}

.search-operator__property {
    text-align: center;
    padding: 16px;
    background-color: var(--mdc-theme-secondary);
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
}

/* Helpful Tips */
.helpful-tips {
    padding-left: 15px;
    text-align: left;
    font-size: 12px;
    cursor:pointer;
}

    .helpful-tips h4 {
        font-size: 14px;
        font-weight: bold;
        margin: 0px;
    }

    #arrow {
        border: solid white;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 3px;
        margin-left:5px;
    }

    .arrow {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }

    .arrow-down {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }

    .help-box {
        display:none;
        margin-bottom: 20px;
    }
        .help-box table {
            margin-top: 5px;
        }

        .help-box table tr th {
            font-weight: bold;
            width: 150px;
        }

        .help-box table tr {
            padding: 0px 0px 0px 0px;
        }

    .help-box--is-open {
        display:block;
        -webkit-transition:height, 0.5s linear;
        -moz-transition: height, 0.5s linear;
        -ms-transition: height, 0.5s linear;
        -o-transition: height, 0.5s linear;
        transition: height, 0.5s linear;
    }

/* Search Filters */

.search-filters {
    display: inline-block;
    position: relative;
    right: 52px;
}

        .search-filters__toggle {
            margin: 0;
            padding: 10px 20px;
        }

        .search-filters__container {
            position: absolute;
            top: 60px;
            left: -120px;
            padding: 16px;
            background-color: var(--mdc-theme-secondary);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease-out;
        }

        .search-filters__container--is-open {
            opacity: 1;
            pointer-events: all;
            transition: opacity 0.2s ease-in;
        }

            .search-filters__container input{
                margin:0px;
                width:8
            }

            .search-filters__container:before {
                display: block;
                position: absolute;
                top: -10px;
                left: 50%;
                content: '';
                height: 20px;
                width: 20px;
                background-color: var(--mdc-theme-secondary);
                transform: translateX(-50%) rotate(45deg);
            }

            .search-filters__property {
                text-align: left;
            }

            .search-filters__property label {
                padding-left: 0;
            }

            .search-filters__button {

            }

/* Helper Classes */
.right {
    float: right;
}

.left {
    float: left;
}

.inline {
    display: inline-block;
}

.center {
    text-align: center;
}

.clr {
    clear: both;
}

.hidden {
    display: none;
}

.red {
  background: #ee394e !important;
}

.green {
    background: #1baba4;
}

.blue {
    background: #1e7ebe;
}

.translucent {
    background: rgba(0, 0, 0, .1);
}

.s1 {background: #f8e16c; }
.s2 {background: #f5d449; }
.s3 {background: #fac146; }
.s4 {background: #f7a142; }
.s5 {background: #f58943; }
.s6 {background: #f36c43; }
.s7 {background: #ee5045; }
.s8 {background: #ee394e; }
.s9 {background: #e91c59; }
.s10 {background: #da1572; }

.registrationError {
  color: #e91c59;
}

@media only screen and (max-width: 580px) {
    #agendaLeft, #agendaRight {
        width: auto;
        float: none;
        }
    #calendar, #calendarDays, #monthAhead {
        display: none;
    }
}

@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}

@-webkit-keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}

.file-list__item input[type="radio"]{
    -webkit-appearance:radio;
    width:auto
}