﻿:root {
    --background-color: #111;
    --background-hover: #eee;
    --field-background: #111;
    --field-border: #aaa;
    --field-border-hover: #8cf;
    --primary-color: #d69800;
    --secondary-color: #00d68c;
    --light-text-color: #ddd;
    --icon-color: #0066ff;
    --tile-bg-color: #fff;
    --btn-bg-color: #111;
    --btn-txt-color: #ddd;
    --btn-bg-color-hover: #ff8c1a;
    --btn-txt-color-hover: #f4f4f4;
    --btn-border-color: #ddd;
    --nav-a-color-hover: #444;
}

html {
    background-color: var(--background-color);
}

body {
    font-family: "Raleway", sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);
    padding-top: 50px;
    padding-bottom: 20px;
}

.hero-outer {
    height: 30em;
    background-size: cover;
    background-image: url(/Content/Images/architecture-system-xlarge.jpg);
    background-repeat: no-repeat;
    position: relative;
}

.hero-inner {
    padding: 3em;
    position: absolute;
    width: 100%;
    height: 100%;
    @*background-color: rgba(20, 20, 20, 0.4)*@
}

.hero-text {
    display: inline-block;
    background-color: rgba(1, 1, 1, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
}
.hero-text p {
    color: var(--light-text-color);
    font-size: 1.2em;
}

.feature-tile {
    display:inline-block;
    padding: 15px;
}
    .feature-tile h1,
    .feature-tile h2,
    .feature-tile h3,
    .feature-tile h4 {
        margin: 0;
    }

    .feature-tile p {
        display: inline-block;
        text-align: left;
        color: var(--light-text-color);
        max-width: 20em;
    }

dash {
    display: inline-block;
    height: 2px;
    width: 4em;
    background-color: var(--primary-color);
    margin:4px;
}
tile-inner {
    display:block;
    text-align:center;
}

slim-banner {
    /*background-color: #006600;*/
    background-color: var(--primary-color);
    color: var(--background-color);
    display: block;
    padding: 5px;
    text-align: center;
    font-weight: 800;
    margin-bottom: 1em;
}
slim-banner p {
    margin: 0;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

footer {
    margin-top: 5em;
    clear:both;
    display:block;
    text-align:center;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.img-one-third {
    width: 100%;
    display: block;
    overflow: hidden;
    height: 300px;
    margin: 0;
    padding: 0;
    border: none;
}

.hero-img {
    background-position-x: center;
    background-position-y: -40px;
}

@media (min-width: 768px) {
    .img-one-third {
        width: 33.3%;
        display: inline-block;
    }

    .hero-img {
        background-position-y: -79px;
    }
}

.img-one-third img {
    height: 100%;
}

section {
    padding: 20px;
    margin: 1px;
    border-top: 1px solid #eee;
    color: var(--primary-color);
}
a:hover section {
    background-color: var(--background-hover);
    outline: 1px solid var(--primary-color);
}

section-header {
    display:block;
    font-size:1.5em;
    margin-top:0px;
    margin-bottom:10px;
    font-weight:500;
    line-height:1.1em;
}
section-body {
    display:block;
    margin:1px;
    padding:5px;
}

section-alert {
    padding: 0.5em;
}
section-alert.danger {
    color: #f00;
}
section-alert.warning {
    color: #f90;
}

.section-add-btn {
    margin-top: 1em;
}

.section-2 h1,
.header-2 h1 {
    font-size: 40pt;
}

.section-2 h2,
.header-2 h2 {
    font-size: 30pt;
}

.section-2 h1,
.section-2 h2 {
    color: var(--primary-color);
}

.section-2 p {
    color: var(--light-text-color);
}

.header-2 {
    width: 100%;
    display: inline-block;
    padding: 2em 2em 4em 2em;
    margin-bottom: 20px;
}
.section-2 {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    border-radius: 10px;
}

.section-2.dark, .header-2.dark {
    background-color: #444;
    color: white;
}
.header-2 p {
    font-size: 18pt;
}
.section-2 li, .header-2 li {
    font-size: 18pt;
}
.section-2 img,
.header-2 img {
    width: 100%;
}
.section-2 .right {
    text-align: right;
}
.section-2 .col-md-4,
.section-2 .col-md-6,
.section-2 .col-md-8,
.section-2 .col-md-12 {
    padding: 0;
    margin: 3em 0;
}

.section-2 .text {
    padding: 0em 2em;
}

.section-2 .btn-default {
    margin: 20px 5px 0 0;
}

.small-tile {
    background-size: cover;
    height: 200px;
}
.small-tile.text {
    font-size: 20pt;
}

.img-tile {
    border-radius: 10px;
}

img.flip-x {
    -moz-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

img.circle {
    border-radius: 50%;
    display: inline-block;
    width: 6em;
    height: 6em;
    background-size: cover;
}

tag {
    display: inline-block;
    background-color: #c7254e;
    color: white;
    padding: 2px 10px;
    margin: 1px;
    border-radius: 1em
}

.search-result {
    margin: 10px 1px;
    padding: 5px;
    border: 1px solid var(--background-hover);
}

    .search-result > a {
        display: block;
        padding: 5px;
    }

    .search-result:hover {
        background-color: var(--background-hover);
        text-decoration: none;
    }

    .search-result > a:hover {
        text-decoration: none;
    }

.field-label {
    display:inline-block;
    width: 12em;
}

td,th {
    padding:5px;
}

.form-horizontal {
    
}

form-footer {
    display: block;
    margin-top: 20px;
}

field-container, wide-field-container {
    font-size: 18px;
}

@media (min-width: 500px) {
    field-container {
        width: 46%;
    }
}
@media (max-width: 499px) {
    field-container {
        width: 96%;
    }
}

field-container {
    margin: 0.5em 2% 0.5em 0;
    display: inline-block;
    vertical-align: top;
}

wide-field-container {
    width: 96%;
    margin: 0.5em 2% 0.5em 0;
    display: inline-block;
    vertical-align: top;
}

field-editor textarea {
    width: 93%;
    max-width: 100%;
}

field-label {
    display: block;
}

field-editor {
    display: block;
    min-height: 1.8em;
    text-align: left;
    margin-bottom: 10px;
}
field-editor input[type=checkbox] {
    width: initial;
}
field-editor input, field-editor select {
    width: 90%;
    max-width:none;
}

field-validator {
    display: block;
}

field-header {
    font-size: 1.8em;
}

a:hover {
    text-decoration:none;
}

input:hover, select:hover {
    border: 1px solid;
    border-color: var(--field-border-hover);
}

input, textarea {
    border: none;
    background-color: var(--field-background);
    border-bottom: 2px solid var(--secondary-color);
}

    textarea:hover {
        border: 1px solid;
        border-color: var(--field-border-hover);
    }

select {
    background-color: var(--field-background);
    border:none;    
    border-bottom: 2px solid var(--secondary-color);
    height: 1.8em;
}

input[type=button], .btn-default, custom-select, custom-options {
    display: inline-block;
    border: var(--btn-border-color) 1px solid;
    background-color: var(--btn-bg-color);
    color: var(--btn-txt-color);
    border-radius: 10px;
    padding-block: 1px;
    padding-inline: 6px;
    padding: 6px 12px;
    font-size: 1.3em;
}
    input[type=button]:hover, .btn-default:hover, custom-select.active,
    .btn-default:hover .glyphicon,
    .btn-default:active .glyphicon,
    .btn-default:focus .glyphicon {
        background-color: var(--btn-bg-color-hover);
        color: var(--btn-txt-color-hover);
        border-color: var(--btn-border-color);
    }

    .btn-default .glyphicon {
        color: var(--btn-txt-color);
    }

    custom-select {
        position: relative;
    }

    custom-select .glyphicon {
        margin-left: 5px;
        color: var(--btn-txt-color);
        font-size: 10px;
    }

custom-options {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--btn-bg-color-hover);
}
custom-select:hover {
    background-color: var(--btn-bg-color-hover);
    color: var(--btn-txt-color-hover);
}
custom-options div:hover {
    color: var(--btn-txt-color-hover);
}

.jumbotron {
    background-color: var(--primary-color);
    color: white;
    margin-top: 30px;
    margin-bottom: 30px;
}

tile {
    width: 31.3%;
    margin: 1%;
    padding: 10px 1.5%;
    height: 245px;
    float: left;
}
    tile.danger {
        color: #f00;
    }
    tile.warning {
        color: #f93;
    }

tile-header {
    display: block;
    height: 60px;
    font-size: 25px;
}
tile-body {
    display: block;
    height: 130px;
    overflow: auto;
}
tile-footer {
    display: block;
    height: 34px;
}

tile-actions {
    display: block;
}

.my-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
    background-color: var(--background-color);
}
.my-modal-header {
    background-color: var(--primary-color);
    color:white;
    font-size: 18px;
    padding: 5px;
    text-align:center;
}
.my-modal-footer {
    padding: 5px;
    text-align: center;
}

.my-modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(50,50,50,0.5);
    z-index: 100;
}

.LightText {
    color: var(--light-text-color);
}

.navbar li span.ProfileCircle {
    display: inline-block;
    width: 36px;
    line-height: 32px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    border: 2px solid #666;
    margin: 7px;
    padding: 0;
    font-family:monospace;
}

.issue-container {
    display: inline-block;
    width: 100%;
}

.floating-menu {
    position: absolute;
    display: inline-block;
    background-color: lightgray;
    padding: 0.5em;
    border-radius: 5px;
}

#issue-body {
    text-align: center;
}

.item-tile, .header-tile, index-tile, index-header {
    color: var(--primary-color);
    background-color: var(--tile-bg-color);
    border-radius: 5px;
}

.navbar-custom {
    color: var(--primary-color);
    background-color: var(--background-color);
}

    .navbar-custom .nav .open > a,
    .navbar-custom li.dropdown.open {
        background-color: var(--nav-a-color-hover);
    }

    .navbar-custom .dropdown-menu,
    .navbar-custom .dropdown-menu li a {
        background-color: var(--background-color);
        color: var(--primary-color);
    }
        .navbar-custom .dropdown-menu a:hover {
            background-color: var(--nav-a-color-hover);
        }

        .navbar-custom a {
            color: var(--primary-color);
        }

    .navbar-custom .navbar-nav > li > a:hover,
    .navbar-custom .navbar-header a.navbar-brand:hover {
        background-color: var(--nav-a-color-hover);
    }

    .navbar-custom .icon-bar {
        background-color: var(--primary-color);
    }

.item-tile, .header-tile, index-tile, index-header {
    width: 100%;
}

.header-tile, index-header {
    padding: 1em;
    margin: 1em 0 2em 0;
}

.item-tile, .header-tile, index-tile, index-header {
    display: inline-block;
    border-radius: 10px;
    text-align: left;
}

.item-tile, index-tile {
    padding: 2em;
    margin: 0.5em 0;
}

    .item-tile:hover {
        background-color: var(--btn-bg-color);
    }

    .item-tile .sub-text,
    .header-tile .sub-text,
    index-tile .sub-text {
        color: #888
    }
        
    index-tile .sub-text {
        height: 4em;
    }

    .item-tile .top-text,
    index-tile .top-text {
        font-size: 20px;
        overflow-x: hidden;
        overflow-y: visible;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.hdr-col {
    overflow-y: visible;
    position: relative;
}

    .hdr-col .glyphicon-filter {
        cursor: pointer;
    }

.hdr-menu {
    font-weight: normal;
    position: absolute;
    top: 20px;
    z-index: 2;
    background-color: var(--background-color);
    padding: 5px;
    left: 10px;
}

detail-title {
    display: block;
    margin: 25px 0;
    font-size: 2em;
}

detail-footer {
    display: block;
    margin: 25px 0;
}

.glyphicon {
    color: var(--icon-color);
}

.options-button:hover {
    cursor: pointer;
}

.page-container {
}

.page-container .page-item {
    margin: 0.25em;
    padding: 3px 7px;
}

    .page-container .page-item.active {
        background-color: #0066ff;
        color: white;
    }
        .page-container .page-item.active:hover {
            background-color: var(--btn-bg-color-hover);
            color: var(--btn-txt-color);
        }

/* Articles Start */
article-container {
    font-size: 12pt;
    display: block;
    max-width: 60em;
    margin: 2em;
}

article-title {
    display: block;
    font-size: 2em;
    font-weight: bold;
}

article-author {
    display: block;
    font-size: 1em;
}

article-date {
    display:block;
    white-space:nowrap;
    margin-top: 1em;
    font-size: 1.3em;
}

article-views {
    display: block;
    white-space: nowrap;
    margin-top: 0.5em;
}

article-content {
    margin-top: 25px;
    display: block;
    font-size: 1em;
}

post-header {
    display: block;
    color: var(--light-text-color);
    margin: 1em 0;
}

code {
    white-space:pre;
    display:block;
    border: 1px solid lightgray;
    margin: 1em 0;
    overflow-x: auto;
    color: #ddd;
    background-color:#222;
}

tags {
    display: block;
    white-space: nowrap;
}
/* Articles End */

/* Filtering */
.filter-button {
    margin: 1px 3px;
}
    .filter-button.active {
        background-color: #777;
        color:white;
    }
/* Filtering End */