﻿/* 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;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.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 */
}

h3 {
    margin-bottom: 50px;
    text-align: right;
}

fieldset {
    display: flex;
    flex-direction: column;
}

.contacts {
    text-align: right;
}

input {
    width: 220px;
}

label {
    padding-right: 0.5vw;
}

#name {
    margin-right: 2vw;
}

textarea {
    width: 100%;
    height: 100px;
}

.controls {
    text-align: right;
}

.message-window {
    background-color: green;
    border-radius: 5px;
    width: 300px;
    height: 80px;
    opacity: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    position: absolute; 
    top: 100px;
    right: 100px;
}

    .message-window > div.icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        display: inline-block;
        margin: 0 10px 0 20px;
        background: url('../images/info.png') center no-repeat;
        background-size: contain;
        align-self: center;
    }

    .message-window > span {
        color: white;
        align-self: center;
        margin: 0 20px 0 10px;
        text-align: right;
    }

    .message-window.show {
        animation: fade-in-out 3s forwards;
    }

@keyframes fade-in-out {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 0.6;
    }

    70% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
    }
}
