﻿/* 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. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Global
-------------------------------------------------- */
html {
  font-size: 16px;
}
@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

/* Actions
-------------------------------------------------- */
.btn-col {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .btn-col .btn {
        margin: 4px;
        width: 100%;
    }

@media (min-width: 576px) {
    .btn-col {
        flex-direction: row;
    }
    .btn-col .btn {
        width: auto;
    }
}

.btn-icon {
    border-radius: 100%;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 40px;
}
.btn-icon .icon {
    color: inherit;
}

.icon.mirror {
    transform: scale(-1, 1);
}

/* Dropzone
-------------------------------------------------- */
.dropzone {
    width: 100%;
    padding: 1rem;
}
@media (min-width: 576px) {
    .dropzone {
        width: 100%;
        padding: 3rem;
    }
}

/* Preview
-------------------------------------------------- */
.img-preview {
    margin-bottom: 0.5rem;
    overflow: hidden;
    position: relative;
}

    .img-preview .img-subject {
        transition: 150ms filter linear;
    }

        .img-preview .img-subject.blur {
            filter: blur(5px);
        }

    .img-preview .delete-btn,
    .img-preview .adjust-btn {
        background: rgba(255,255,255,0.8);
        z-index: 1000;
    }

        .img-preview .delete-btn:hover {
            background: rgba(255,255,255,1);
        }

.preview-btn-group {
    display: flex;
    position: absolute;
    top: 8px;
    right: 8px;
}

    .preview-btn-group .btn-icon + .btn-icon {
        margin-left: 8px;
    }

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    font-size: 14px;
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}
