@import "compass/css3";

/* ===================== FILE INPUT ===================== */
.file-area {
    width: 100%;
    position: relative;
}
input[type=file] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;
}

.file-dummy {
    width: 100%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: background 0.3s ease-in-out;
}
.success {
    display: none;
}


.file-dummy:hover .file-dummy {
     background: rgba(255,255,255,0.1);
 }

input[type=file]:focus + .file-dummy {
    outline: 2px solid rgba(255,255,255,0.5);
    outline: -webkit-focus-ring-color auto 5px;
}

input[type=file]:valid + .file-dummy {
    border-color: rgba(0,255,0,0.4);
    background-color: rgba(0,255,0,0.3);
}
.success {
    display: inline-block;
}
.default {
    display: none;
}

.box select {
    background-color: rgba(255,255,255,0.2);
    padding: 12px;
    width: 100%;
    border: none;
    font-size: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    -webkit-appearance: button;
    outline: none;
}

.box::before {
    content: "\f13a";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 28px;
    line-height: 45px;
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.box:hover::before {
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.2);
}

.box select option {
    padding: 30px;
    background: rgba(255,255,255,0.2);
}
/* ===================== BASIC STYLING ===================== */

* {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    font-weight: 300;
    height: 100%;
    background: #053777;
    color: #fff;
    font-size: 16px;
    overflow: scroll;
    background: -moz-linear-gradient(top, #053777 0%, #00659b 100%);
    /* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #053777), color-stop(100%, #00659b));
    /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top, #053777 0%, #00659b 100%);
    /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top, #053777 0%, #00659b 100%);
    /* Opera 11.10+ */

    background: -ms-linear-gradient(top, #053777 0%, #00659b 100%);
    /* IE10+ */

    background: linear-gradient(to bottom, #053777 0%, #00659b 100%);
    /* W3C */

}
.form-group img{
    max-width: 500px !important;
    max-height: 300px !important;
}

h1 {
    text-align: center;
    margin: 50px auto;
    font-weight: 100;
}

label {
    font-weight: 500;
    display: block;
    margin: 4px 0;
    text-transform: uppercase;
    font-size: 13px;
    overflow: hidden;
}
span {
    float: right;
    text-transform: none;
    font-weight: 200;
    line-height: 1em;
    font-style: italic;
    opacity: 0.8;
}


.form-controll {
    display: block;
    padding: 8px 16px;
    width: 100%;
    font-size: 16px;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-weight: 200;
}
.form-controll:focus {
     outline: 2px solid rgba(255,255,255,0.5);
     outline: -webkit-focus-ring-color auto 5px;
}


button {
    padding: 8px 30px;
    background: rgba(255,255,255,0.8);
    color: #053777;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 11px;
    border: 0;
    text-shadow: 0 1px 2px #fff;
    cursor: pointer;
}

.form-group {
    max-width: 500px;
    margin: auto;
    margin-bottom: 30px;
}

.back-to-article {
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    position: absolute;
    right: 20px;
    top: 20px;
    text-decoration: none;
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 18px;
    transition: all 0.3s ease-in-out;
    opacity: 0.6;
}
.back-to-article:hover {
     opacity: 1;
     background: rgba(0,0,0,0.8);
}
