﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('font/quicksand.css');
html, body {
    height: 100%;
    min-height: 100%;
}

body {
    font-family: quicksand, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-y: hidden;
    background: rgb(73,6,6);
    background: linear-gradient(24deg, rgba(73,6,6,1) 0%, rgba(153,9,9,1) 23%, rgba(129,9,9,1) 53%, rgba(163,9,9,1) 75%, rgba(73,9,9,1) 100%);
    background-repeat: repeat;
    background-size: cover;
    Background-position: fixed;
}

.top-row {
    padding: 15px;
    align-items: center;
    color: white;
    margin-bottom: 25px;

    background: rgb(73,6,6);
    background: linear-gradient(24deg, rgba(73,6,6,1) 0%, rgba(153,9,9,1) 23%, rgba(129,9,9,1) 53%, rgba(163,9,9,1) 75%, rgba(73,9,9,1) 100%);

}

.title {
    font-size: 32px;
}

.subtitle {
    font-size: 20px;
}

.main {
    flex: 1;
}

.options-area{
    margin-right:150px;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
}
.items-container {
    margin:0px;
    display: flex;
    flex-direction: column;    
    flex-wrap: wrap;
    max-height:400px;
}

.boxItem {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    min-width: 100px;
    min-height: 100px;

    margin: 10px;
    padding-top: 10px;

    background: rgb(73,6,6);
    background: linear-gradient(24deg, rgba(73,6,6,1) 0%, rgba(153,9,9,1) 23%, rgba(129,9,9,1) 53%, rgba(163,9,9,1) 75%, rgba(73,9,9,1) 100%);
    color: white;
    text-align: center;
    font-size: 14px;
    transition: transform .5s ease;
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
}

    .boxItem:hover {
        transform: scale(1.05);
        cursor: pointer;
    }

    .boxItem span {
        font-size: 32px;
        margin: 10px 10px 15px 10px;
    }

/* Content styles */
.md-content {
    color: black;
    background-color: whitesmoke;
    box-shadow: 10px 10px 12px 0 rgba(0, 0, 0, 0.51), 0 6px 20px 0 rgba(0, 0, 0, 0.51);


    /*background: white*/ /*#161616*/
    /* background: rgb(73,6,6);
    background: linear-gradient(24deg, rgba(73,6,6,1) 0%, rgba(153,9,9,1) 23%, rgba(129,9,9,1) 53%, rgba(163,9,9,1) 75%, rgba(73,9,9,1) 100%);
*/
    position: relative;
    border-radius: 5px;
    margin: 0 auto;
    padding: 0px 15px 25px 15px;
    /*border-bottom: 25px solid rgb(73,6,6);*/
    /*max-height:550px;*/
    /*overflow: auto;*/
    text-align:justify;
}

    .md-content .closeButton {
        font-size: 2.5rem;
        cursor: pointer;
    }

    .md-content .title {
        font-size: 18px;
        font-weight:  bold;
        margin-top: 15px;
        margin-bottom: 2px;        
    }

    .md-content p {
        margin-top: 0px;
        margin-bottom: 20px;
    }

    .md-content a {
        color: cornflowerblue;
    }
    .md-content a:hover{
        color:red;
    }

    .md-content ul {
        list-style: disc;
    }

    .md-content li {
        margin-bottom: 5px;
    }

.md-content-header { 
    text-align: right;
}

.md-content-body {
    max-height: 500px;
    overflow: auto;
    padding: 0px 15px;
    /*margin-top: 5px;*/
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/*** Loading...*/

.loadingMessage {
    color: white;
    position: absolute;
    top: calc(50% - 200px);
    width: 100%;
}

    .loadingMessage #logo {
        height: 150px;
        margin-bottom: 15px;
    }

.loadingTitle {
    font-size: 48pt;
    font-weight: bold;
    margin-bottom: 0px !important;
    margin-top: 5px !important;
    line-height: 5rem;
}
.loadinglittle{
    font-size:11pt;
}
.fadeInImage {
    animation-name: fadeIn;
    animation-duration: 3s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    -webkit-animation: fadeIn ease 3s;
    -moz-animation: fadeIn ease 3s;
    -o-animation: fadeIn ease 3s;
    -ms-animation: fadeIn ease 3s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*** Loading... */

@media (max-width: 576px) {
    .loadingTitle {
        font-size: 32pt;
        line-height: 3rem;
    }

    .options-area {
        margin-right: 110px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .items-container{
        max-height:300px;
    }
    .boxItem {
        min-width: 90px;
        min-height: 70px;
        margin: 10px;
        padding-top: 10px;
        font-size: 15px;
    }

        .boxItem span {
            font-size: 22px;
            margin: 0px 10px 10px 10px;
        }
    /*
    .options-area{
        margin:0px;
        align-items:center;
    }
    .items-container {
        flex-direction: row;
        margin-left: 0px;
        margin-right: 0px;
        justify-content: center;        
    }

    .boxItem {
        min-height: 0px;
        min-width: 0px;
        
        margin: 0px 8px 5px 0px;
        padding: 8px;
        font-size: 15px;
        flex-direction: row;
    }
        .boxItem span {
            display: inline;
            margin: 0px 4px 0px 0px;
            font-size: 16px;
        }
        */
    .top-row {
        padding: 5px;
        margin-bottom: 5px;
    }

    .title {
        font-size: 20px;
    }

    .subtitle {
        font-size: 16px;
    }

    .md-content {
        margin: 0 5px;
        font-size: 16px;
        height:auto;
        text-align:left;
        /*max-width: 200px;*/
    }

    .md-content-body {
        max-height: 330px;
       /* width: 100%;*/
        margin-top: 5px;
        padding: 5px;
    }
}
