/*noinspection CssUnknownTarget*/
@import url("https://fonts.googleapis.com/css?family=Roboto");
@import url("jquery.mCustomScrollbar.css");

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    /*background-image: url("../img/background.jpg");
*/
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#6b6b6b+1,ffffff+50,6b6b6b+100&1+0,0.5+50,1+100 */
    background: -moz-linear-gradient(top, rgba(107,107,107,1) 0%, rgba(107,107,107,0.99) 1%, rgba(255,255,255,0.5) 50%, rgba(107,107,107,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(107,107,107,1) 0%,rgba(107,107,107,0.99) 1%,rgba(255,255,255,0.5) 50%,rgba(107,107,107,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(107,107,107,1) 0%,rgba(107,107,107,0.99) 1%,rgba(255,255,255,0.5) 50%,rgba(107,107,107,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b6b6b', endColorstr='#6b6b6b',GradientType=0 ); /* IE6-9 */
}

.window {
    width: 35%;
    height: 80%;
    margin: 0 auto;
    transform: translateY(10%);
    background: rgba(250, 250, 250, 0.8);
    border-radius: 2%;
    padding: 1%;
}

#window-overlay {
    position: fixed;
    display: none; /* block; */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    z-index: 9999;
    cursor: pointer;
}

#window-overlay > p {
    position: relative;
    margin: -37% auto;
    text-align: center;
    color: ghostwhite;
    font-size: 27px;
}
#window-main {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,1+40,0.7+100 */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,0.7) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 40%,rgba(255,255,255,0.7) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 40%,rgba(255,255,255,0.7) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#b3ffffff',GradientType=0 ); /* IE6-9 */
}

#window-tos {
    position: fixed;
    /*display: none;*/ /* block; */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    cursor: pointer;
    text-align: center;
    background: rgba(250, 250, 250, 0.9);
}

#window-forbidden {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    cursor: pointer;
    text-align: center;
    background: rgba(250, 250, 250, 0.9);
    overflow-y: hidden;
}

#window-forbidden > div {
    flex-grow: 1;
}

#window-forbidden > ul {
    width: 90%;
    height: 70%;
}

#window-tos > p {
    transform: translateY(50%);
}

.window > #minimize-tos, .window > #minimize-forbidden {
    width: 64px;
    height: 64px;
    position: fixed;
    top: 20px;
    right: 15px; /*background: 134563*/
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #10488a; /*#3498db;*/
    border-bottom: 16px solid #e11e25;
    border-left: 16px solid #f3f3f3;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.spinner-centre {
    margin: 40% auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.window-block {
    height: 33%;
    text-align: center;
}
.window-block img {
    max-width: 100%;
    max-height: 75%;
}

#block-0 {
    height: 15% !important;
}

#block-2 {
    overflow: auto;
}

#block-3 {
    border-style: dashed;
    border-color: darkgrey;
    cursor: hand;
}

.form-send-button {
    width: 160px;
    height: 75px;
    background-color: rgb(16, 72, 138);
    border-radius: 10px;
    color: ghostwhite;
    text-align: center;
    margin: 0 auto;
    cursor: hand;
}

.form-send-button#open-in-mail-client {
    width: 250px;
	height: 55px;
}

.form-send-button:hover {
    background-color: #1078cf;
}

.form-send-button:active {
    background-color: #0c3b74;
}

.form-send-button.disabled {
    background-color: #5191b6;
}

.form-send-button > p {
    line-height: 45px;
}

#list-container {
    width: 100%;
    max-height: 75%;
    overflow: auto;
    margin-top: 20px;
}

#list-container ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#list-container ul > li {
    padding: 5%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid dimgrey;
    border-left: 1px solid dimgrey;
    overflow: hidden;
}

#list-container ul > li > p {
    width: 100%;
    margin: 0;
    text-align: center;
}

#list-container ul > li.even-element > p > a {
    color: ghostwhite;
}

#list-container ul > li > p > a {
    width: 100%;
}

#list-container ul > li > div {
    flex-grow: 1;
    width: 100%;
}

#list-container ul > li > div > p {
    display: inline;
    width: 40%;
}

#list-container ul > li > div > p:last-child {
    text-align: right;
    float: right;
    margin: 0
}

#list-container ul > li.even-element {
    background: rgba(0, 0, 0, .5);
    color: ghostwhite;
}

#list-container ul > li.even-element {
    color: cornsilk;
}

aside#left {
    position: absolute;
    bottom: 30px;
    left: 20px;
}

aside#left > p {
    display: inline;
    margin-left: 10px;
    color: #f6d0c4;
}

aside#left > p > a {
    color: inherit;
}

aside#left > p:hover {
    color: #a6a6a7;
    cursor: hand;
}

aside#left > p:active {
    color: #565657;
}

button {
    background-color: rgba(0, 0, 0, 0); /*#cbc8cd;*/
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

button > a {
    color: white;
    text-decoration: none;
}

.btn-group {
    background-color: rgba(0, 0, 0, 0);
    /*border: 1px solid grey;*/
    color: white; /* White text */
    padding: 10px 24px; /* Some padding */
    cursor: pointer; /* Pointer/hand icon */
    float: left; /* Float the buttons side by side */
    border-radius: 15px;
}

.btn-group button:not(:last-child) {
    border-right: none; /* Prevent double borders */
}

/* Clear floats (clearfix hack) */
.btn-group:after {
    content: "";
    clear: both;
    display: table;
}

/* Add a background color on hover */
.btn-group button:hover {
    background-color: rgba(66, 56, 99, 0.5);
}

aside#right {
    position: absolute;
    top: 20px;
    right: 20px;
}

/*##### ARROWS #####*/
/* Markup */

.container {
/*   background: rgba(210, 210, 210, 1);
*/
    background: white;
    text-align: center;
}

.content {
    transform: translateY(65%);
    left: 50%;
    height: 50%;
}

.content p {
    margin: 0 0 20px;
}

/* Arrow & Hover Animation */
#more-arrows {
    width: 75px;
    height: 65px;
}

#more-arrows:hover polygon {
    fill: #FFF;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

#more-arrows:hover polygon.arrow-bottom {
    -webkit-transform: translateY(-18px);
    transform: translateY(-18px);
}

#more-arrows:hover polygon.arrow-top {
    -webkit-transform: translateY(18px);
    transform: translateY(18px);
}

polygon {
    fill: #FFF;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

polygon.arrow-middle {
    opacity: 0.75;
}

polygon.arrow-top {
    opacity: 0.5;
}

/*##### ATTEMPT: THE SECOND! #####*/
#upload-previews {
    display: none;
    overflow-x: auto;
    overflow-y: auto;
}

div.dz-message {
    display: none;
}

div.dz-preview {
    display: inline-block;
    margin: 0 10px;
}

div.dz-success-mark, div.dz-error-mark {
    display: none;
}

div.dz-file-preview > .dz-image > img {
    content: url("../img/file.png");
    width: 48px;
    height: 48px;
}

div.dz-details > .dz-filename > span {
    max-width: 30em;
    text-overflow: ellipsis;
}

#next-upload-lnk {
    color: black;
    float: right;
    margin-top: -20px;
}

@media screen and (max-width: 601px) {

    aside#right, aside#left {
        display: none !important;
    }

    main#window-main, main#window-overlay {
        width: 98%;
        height: 100%;
        transform: none;
        margin: 0;
        border-radius: 0;
    }

}

@media screen and (max-width: 401px) {

    main#window-main, main#window-overlay {
        width: 99%;
        height: 100%;
        transform: none;
        margin: 0;
        border-radius: 0;
    }

}
