
body{
    color: #fff;
    font-family: "Open Sans",sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.375;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

main::before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #005bea;
    background: -webkit-linear-gradient(bottom,#005bea,#00c6fb);
    background: -o-linear-gradient(bottom,#005bea,#00c6fb);
    background: -moz-linear-gradient(bottom,#005bea,#00c6fb);
    background: linear-gradient(bottom,#005bea,#00c6fb);
    opacity: .85;
}


main{
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}


.login__wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.login__inner{
    width: 390px;
}

input{
    color: #333;
    display: block;
    width: 100%;
    background: #fff;
    height: 50px;
    border-radius: 25px;
    padding: 0 30px;
    outline: none;
    border: none;
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

[type="checkbox"] {
    display: none;
}
[type="checkbox"] + label {
    position: relative;
    font-weight: 300;
    line-height: 25px;
}
[type="checkbox"] + label::before {
    width: 25px;
    height: 25px;
    border-radius: 3px;
    border: 1px solid #333;
    background-color: #fff;
    display: block;
    content: "";
    float: left;
    margin-right: 5px;
    z-index: 5;
    position: relative;
    line-height: 25px;
    box-sizing: border-box;
}
[type="checkbox"]:checked+label::before {
    box-shadow: inset 0px 0px 0px 2px #fff;
    background-color: #47cf73;
    border: 1px solid #333;
}


button {
    color: #e0e0e0;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: #333;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
    position: relative;
    z-index: 1;
    border: none;
}

button::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    top: 0;
    left: 0;
    background: #005bea;
    background: -webkit-linear-gradient(left,#005bea,#00c6fb);
    background: -o-linear-gradient(left,#005bea,#00c6fb);
    background: -moz-linear-gradient(left,#005bea,#00c6fb);
    background: linear-gradient(left,#005bea,#00c6fb);
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
    opacity: 0;
    outline: none!important;
    border: none;
}

button:hover {
    background: 0 0;
    color: #fff;
}

button:hover:before {
    opacity: 1;
}

.login-submit-wrapper{
    margin-top: 20px;
    margin-bottom: 20px;
}

.login-pw-reset-wrapper{
    text-align: center;
    margin-top: 40px;
}

a, a:hover, a:focus, a:visited{
    text-decoration: none;
}

a, a:visited{
    color: #FFF;
    opacity: .8;
}

a:hover, a:focus{
    opacity: 1;
}

h1{
    text-align: center;
}

.grecaptcha-badge {
    bottom: 0 !important;
}

.message {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.message.message--error {
    background: #ff3c3c;
}

.message.message--success {
    background: #2db72d;
}


section.application__selection {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 40px;
}


ul.applications__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
    justify-content: center;
}

li.applications__list__item {
    display: flex;
    width: 25%;
    position: relative;
    padding: 20px;
}

.application__button {
    display: flex;
    width: 100%;
    /* height: 100%; */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: green;
    padding: 20px;
    aspect-ratio: 1/1;
    background: rgba(0,0,0,0.1);
    transition: background-color ease-in-out .2s;
}

.application__button:hover, .application__button:focus{
    background: rgba(0,0,0,0.3);
    cursor: pointer;
}

.application__button img {
    width: 100%;
    max-height: 100%;
    padding: 14%;
    box-sizing: border-box;
}

span.application__domain {
    position: absolute;
    bottom: -30px;
    opacity: 0;
    transition: opacity ease-in-out .2s;
}

.application__button:hover span.application__domain, .application__button:focus span.application__domain{
    opacity: 1;
}


section.user {
    margin: 0 auto;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}


.user__avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
}

.user__info span {
    font-size: 40px;
}


.user__info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main.logon {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
}

.logon .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logon .text{
    text-align: center;
}

main.logon--error::before {
    background: #500000;
}


.admin-wrapper {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-card{
    margin-bottom: 40px;
    border-radius: 4px;
    background: rgba(0,0,0, .3);
    display: flex;
    flex-direction: column;
}

.admin-card header,
.admin-card main,
.admin-card footer{
    padding: 20px;
    min-height: auto;
    width: initial;
    margin: initial;
}

.admin-card header {
    background: rgba(0,0,0, .3);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.admin-card header h1,
.admin-card header h2,
.admin-card header h3,
.admin-card header h4{
    padding: 0;
    margin: 0;
}

.admin-card main:before{
    display: none;
}

.styled-table {
    border-collapse: collapse;
    width: 100%;
}

.styled-table th, .styled-table td {
    padding: 5px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    text-align: left;
}

.styled-table img {
    display: block;
}

.styled-table tbody tr:last-child td{
    border-bottom: none;
}