﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */


.navbar .container {
    margin-left: 0;
    margin-right: 0;
}

.navbar-collapse {
    width: auto;
}
.navbar {
    padding: 0px 0px 0px 0px;
}
.nav.navbar { float: left;}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.navbar-nav > li > a {
    line-height: 20px;
    font-size: 14px;
}

.navbar-inverse {
    background-color: #222;
    border-color: #080808;
    border-bottom: 1px solid black;
}

    .navbar-inverse .navbar-nav > li > a {
        color: #777;
        padding-top: 15px;
        padding-bottom: 15px;
        padding-left: 15px;
        padding-right: 15px;
        display: block;
        position: relative;
    }

        .navbar-inverse .navbar-nav > li > a:hover {
            color: #fff;
            background-color: transparent;
            text-decoration-line: none;
        }

body {
    margin-bottom: 0px;
}

.contactForm {
    padding-left: 15px;
    padding-right: 15px;
}

.no-bottom-margin {
    margin-bottom: 0px;
}

.navbar-collapse {
    height: auto !important;
}

.navbar-collapse .navbar-right {
    list-style-type: none;
    padding-inline-start: 0px;
}
/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.navbar-nav li {
    list-style-type: none;
    list-style-position: outside;
    list-style-image: none;
    display: block;
    position: relative;
}

.nav-item form { /* this vertically centers the Logout form */
    padding-top: 6pt;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


/* From Bootstrap 4 because we're using Bootstrap 3's CSS file for compatibility  */
.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}


.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid black;
}

.border-bottom {
    border-bottom: 1px solid black;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

body {
    padding-bottom: 0px;
}

@media (min-width: 835px) {
    .navbar .container {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
    /*.body-content {
       margin-left: 50px;
       margin-right: 50px;
    }*/
    /*.jumbotron {
        width: 1140px !important;
    }*/
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/*.ng-scope {
    width: 100%;
}*/

/* 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;
}

/* Set padding to display errors that occur during databinding */
.padding-error {
    padding-top: 20px;
    width: 200px;
}

.navbar-brand {
    padding: unset;
}

.float-left {
    float: left;
    margin-right: 10px;
}

.float-right {
    float: right;
    margin-left: 10pt;
    margin-right: 3px;
}

.ad-thumbnail {
    width: 150px;
}

/* Slidshow images start out hidden.  The javascript shows and hides them. */
.cycle-slideshow img {
    display: none;
}

body {
    background-color: #222222;
    font-family: sans-serif;
    color: #cccccc;
}

.jumbotron {
    background-color: #444;
}

    .jumbotron p {
        margin-bottom: 15px;
        font-size: 21px;
        font-weight: 200;
    }

.tags input {
    background-color: #333;
}

div .tags {
    background-color: #333;
    border-color: #222;
    border-radius: 6px;
    padding: 2px;
    box-shadow: 1px 1px 1px 0 #000 inset;
}

ti-autocomplete-match {
    background-color: #333;
}

.btn:hover {
    color: cornflowerblue;
}


input {
    border-width: 0px !important;
}

.input-sm {
    background-color: #333;
    border-color: #222;
    border-radius: 6px;
    padding: 2px;
    margin-bottom: 6px;
    padding-left: 8px;
    box-shadow: 1px 1px 1px 0 #000 inset;
    border-width: 0px;
    color: #aaa;
}

    .input-sm:focus {
        outline: none;
        box-shadow: 0 0 3px 1px rgba(5,139,242,0.6);
    }

    .input-sm.ng-invalid {
        box-shadow: 0 0 3px 1px rgba(202, 12, 12, 0.60);
    }

.full-width {
    max-width: unset;
    width: 100%;
}

div.autocomplete {
    background-color: #333;
}

.tag-item {
    color: #222;
}

.form-control[readonly] {
    background-color: #333;
    color: #888;
}

.select2 > .select2-choice.ui-select-match {
    /* Because of the inclusion of Bootstrap */
    height: 29px;
}

.selectize-control > .selectize-dropdown {
    top: 36px;
}

.select2-search {
    display: none;
}

/* These 4 cause the name overlay on the image thumbnails */

.thumbnail-container {
    position: relative;
    max-width: 300px;
    display: inline-block;
    cursor: pointer;
}

    .thumbnail-container a {
        width: 100%;
        height: 100%;
    }

.image-container {
    position: relative;
    max-width: 800px;
    display: inline-block;
    overflow: hidden;
}

#slide-container {
    padding: 0 0;
    position: relative;
    max-width: 100%;
    left: 0;
    overflow: hidden;
}

.slide {
    position: absolute;
    max-width: 100%;
}

    .slide.active {
        transform: translateX(0);
        opacity: 1;
    }

    .slide:not(.active) {
        transform: translateX(-100%);
    }

.image {
    position: relative;
    top: 0;
    left: 0px;
    display: block;
    width: 100%;
    height: auto;
}

.slide .image {
    max-width: 100%;
    height: auto;
}

/* The overlay effect - lays on top of the container and over the image */
.overlay {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 20px;
    padding: 20px;
    text-align: center;
}

img + .xxxoverlay {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 20px;
    padding: 20px;
    text-align: center;
}


.image-container .hoverbutton {
    position: absolute;
    transition: .5s ease;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: 50px;
    cursor: pointer;
    z-index: 200;
}

.image-container:hover .hoverbutton {
    opacity: 1;
}

.hoverbutton span {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 4px solid #fff;
    transition: .5s;
    top: 50%;
    border-right: none;
    border-bottom: none;
    transform: translateY(-50%) rotate(-45deg);
}

.image-container .prevbutton span {
    left: 20%;
    box-shadow: -3px -3px 5px 0 rgba(0,0,0,0.7);
}

.image-container .nextbutton span {
    right: 20%;
    transform: translateY(-50%) rotate(135deg);
    box-shadow: -3px -3px 5px 0 rgba(0,0,0,0.7);
}

.image-container .prevbutton {
    left: 0;
}

.image-container .nextbutton {
    right: 0;
}


.back-button {
    padding-top: 5px;
    position: sticky;
    display: inline-block;
    height: 2em;
    width: 2em;
    top: 0px;
    transform: translateY(7pt)
}

    .back-button span {
        position: absolute;
        width: 1em;
        height: 1em;
        border: 4px solid #fff;
        transition: .5s;
        top: 50%;
        transform: translateY(-50%) translateX(70%) rotate(-45deg);
        border-bottom: none;
        border-right: none;
        border-color: gray;
    }

    .back-button:hover span {
        border-color: white;
        transform: translateY(-50%) translateX(0%) rotate(-45deg);
    }

    .back-button span::before {
        transform: rotate(45deg) translate(-50%,138%) scale(0,1);
        content: "";
        position: absolute;
        transition: .5s;
        width: 1.5em;
        height: 4px;
        background: gray;
    }

    .back-button:hover span::before {
        width: 1.5em;
        background: white;
        transform: rotate(45deg) translate(0,140%) scale(1,1);
        box-shadow: none;
        border-width: 0px;
    }

/****CSS for the Select control on the admin tags page ******/
.ui-select-container {
    padding-left: 0px;
    padding: 0px;
    margin-top: 0px;
}

.ui-select-bootstrap .ui-select-toggle {
    background-color: #333;
    border-color: #222;
    border-radius: 6px;
    padding: 0px;
    margin-top: 0px;
    height: 30px;
    padding-top: 4px;
    padding-left: 8px;
    box-shadow: 1px 1px 1px 0 #000 inset;
    border-width: 0px;
    color: #aaa;
}

.ui-select-search {
    background-color: transparent;
    border: none;
    color: #cccccc;
}

.ui-select-toggle:hover {
    background-color: transparent;
    border: none;
    color: #cccccc;
}

.ui-select-choices-content {
    background-color: #333;
    color: #cccccc;
    border-color: black;
}

.ui-select-bootstrap .ui-select-choices-row > span {
    color: #cccccc;
}

.ui-select-bootstrap .ui-select-choices-row:hover {
    color: #333;
}

.ui-select-match {
    background-color: transparent;
}


/**** A loading animation I found a YouTube video for and then modified ****/
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 50px;
    height: 50px;
    pointer-events: none;
    z-index: 1000;
}

    .loader span {
        position: absolute;
        width: 25px;
        height: 25px;
        background: #f00;
        box-shadow: inset 1px 1px 5px 1px rgba(255,255,255,0.7);
        pointer-events: none;
    }

        .loader span:nth-child(1) {
            background: #f79f1f;
            top: 0;
            left: 0;
        }

        .loader span:nth-child(2) {
            background: #12cbc4;
            top: 0;
            right: 0;
        }

        .loader span:nth-child(3) {
            background: #a9cb38;
            bottom: 0;
            left: 0;
        }

        .loader span:nth-child(4) {
            background: #ed4c67;
            bottom: 0;
            right: 0;
        }

.introLoader {
    animation: animate 1s linear infinite;
}

.introSpan {
    animation: rotate 1s linear infinite;
}

@keyframes animate {
    0% {
        width: 50px;
        height: 50px;
    }

    10% {
        width: 50px;
        height: 50px;
    }

    50% {
        width: 100px;
        height: 100px;
    }

    90% {
        width: 50px;
        height: 50px;
    }

    100% {
        width: 50px;
        height: 50px;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(0deg);
    }

    60% {
        transform: rotate(90deg);
    }

    90% {
        transform: rotate(90deg);
    }

    100% {
        transform: rotate(90deg);
    }
}

.outroSpan {
    animation: rotateOut 2s linear;
}

.outroLoader {
    animation: expand 2s linear;
}

/* done loading */
@keyframes rotateOut {
    100% {
        width: 200px;
        height: 200px;
        transform: rotate(1080deg);
    }
}

@keyframes expand {
    0% {
        width: 100px;
        height: 100px;
    }

    50% {
        opacity: 0;
    }

    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}



.readonly-tag {
    position: relative;
    margin: 2px;
    padding: 0 5px;
    display: inline-block;
    font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
    height: 26px;
    line-height: 25px;
    /*border: 1px solid #acacac;*/
    border-radius: 3px;
    background: -webkit-linear-gradient(top, #f0f9ff 0%, #cbebff 47%, #a1dbff 100%);
    background: linear-gradient(to bottom, #40494f 0%, #363636 47%, #111 100%);
}

    .readonly-tag .tooltiptext {
        visibility: hidden;
        max-width: 300px;
        width: 300px;
        font-size: 80%;
        line-height: 100%;
        background-color: #111;
        color: #fff;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        padding-left: 5px;
        margin-left: -40px;
        opacity: 0;
        transition: opacity 0.3s;
    }

        .readonly-tag .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 10%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #111 transparent transparent transparent;
        }

    .readonly-tag:hover .tooltiptext {
        visibility: visible;
        opacity: .85;
    }


.checkbox label::after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    margin-right: .5em;
}

    .checkbox .cr .cr-icon {
        position: absolute;
        font-size: .8em;
        line-height: 0;
        top: 50%;
        left: 15%;
    }

.checkbox label input[type="checkbox"] {
    /* I don't know what this was for, but it breaks the "Remember Me checkbox on the login page, so I commented it out */
/*    display: none;*/
}

    .checkbox label input[type="checkbox"] + .cr > .cr-icon {
        opacity: 0;
    }

    .checkbox label input[type="checkbox"]:checked + .cr > .cr-icon {
        opacity: 1;
    }

    .checkbox label input[type="checkbox"]:disabled + .cr {
        opacity: .5;
    }


.lazy-loading {
    position: absolute;
    top: 200px;
    left: 200px;
    width: 200px;
    height: 200px;
    z-index: 3;
    background: #333;
}

    .lazy-loading::before {
        content: '';
        display: block;
        position: relative;
        top: 50%;
        left: 50%;
        height: 50px;
        width: 50px;
        transform: translate(-25px, -25px);
        border: 6px dotted;
        border-radius: 50%;
        border-left-color: transparent;
        border-top-color: transparent;
        animation: spinnyThingy 2s linear infinite;
    }

@keyframes spinnyThingy {
    0% {
        transform: translate(-25px, -25px) rotate(0deg);
    }

    100% {
        transform: translate(-25px, -25px) rotate(360deg);
    }
}

/* When you mouse over the container, fade in the overlay title */
.thumbnail-container:hover .overlay, .image-container:hover .overlay {
    opacity: 1;
}

.modal-content {
    background: #222;
}

.modal-footer {
    background: #333;
}

.modal-header {
    background: #333
}

.modal-footer button {
    background: #222;
    border-color: #222;
    color: #888;
    box-shadow: 2px 2px 2px 0 #000;
}

    .modal-footer button:hover {
        background: #333;
        border-color: #222;
    }

    .modal-footer button:active, .modal-footer button:focus {
        background: #333;
        border-color: #222;
        transform: translateX(2px) translateY(2px);
        box-shadow: -1px -1px 0 0 #000;
        outline: none;
    }

.modal-footer .btn:focus {
    outline: none;
}

.odd-row {
    background-color: #222;
    border-top: solid 1px;
    margin: 8px 0px 8px 0px;
    padding-top: 8px;
}

.even-row {
    background-color: #222;
    border-top: solid 1px;
    margin: 8px 0px 8px 0px;
    padding-top: 8px;
}



.freewall {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.freewall-item {
    background-size: cover;
    background-position: center;
}

.contactForm .form-group {
    margin-bottom: 2px;
}

.contactForm h3 {
    margin-top: 0px;
}

.contactForm .input-sm.ng-invalid {
    box-shadow: 1px 1px 1px 0 #000 inset;
}

.contactForm.ng-submitted .input-sm.ng-invalid {
    box-shadow: rgba(202, 12, 12, 0.6) 0px 0px 3px 1px;
}

.contactForm .form-group textarea {
    margin-bottom: 0px;
}

.contactForm {
    margin-top: -10px;
    margin-bottom: 10px;
}

hr.no-top-margin {
    margin-top: 0px;
}


@media (max-width: 700px) {
    .body-content {
        padding-left: 0px;
        padding-right: 0px;
    }

    h2 {
        padding-left: 10px;
    }

    .body-content footer {
        padding-left: 10px;
        padding-right: 10px;
    }

    .nofloat {
        float: none;
        padding: 10px 15px;
    }

    .navbar-brand img {
        max-width: 80%;
        height: auto;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar-brand {
        max-width: 80%;
        background: blue;
        height: 100%;
    }

    .slideshow .float-right {
        float: none;
        max-width: 100%;
    }

    .cycle-slideshow {
        top: 0px;
        left: 0px;
        margin-left: 0px;
        margin-right: 0px;
        /*  display: none;*/
    }

    .navbar-header {
        position: relative;
    }

    .cycle-slideshow img {
        max-width: 100%;
        height: auto;
    }
}
