/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/*
This assumes bootstrap grid
 */

.idownloads.list {
    margin-top: 8vh;
}

.download-title {
    font-size: 1.15em;
}

.idlink {
    display: block;
    padding: 0 0.5em;
}

.idlink img {
    transition: all 0.8s ease;
    max-width: 96px;
}

.idlink img:hover {
    transform: scale(1.1);
}

.idownloads.logout {
    float: right;
    text-transform: uppercase;
    font-size: 9px;
    color: white;
    background: #999;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 2;
}

.idownloads.list .row {
    padding: 1em 0.5em;
}

.idownloads.list > .row:nth-child(odd) {
    background: rgba(0, 0, 0, 0.08);
}

.idownloads.list > .row:nth-child(even) {

}

.idownloads .listitem p {
    font-size: 14px;
    word-break: break-all;
}

.idownloads .listitem .meta {
    font-size: 9px;
    color: #999;
}


/*
Auth
 */
.idownloads.auth {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.5);
    z-index: 2025;
}

/* ==========================================================================
// LOGIN & REGISTRATION
   ==========================================================================*/
#login-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2017;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* center items vertically, in this case */
}

#login-wrapper form {
    position: relative;
}

#login-wrapper .inner {
    width: 360px;
    padding: 25px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#login-wrapper .row {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 30px;
    background: transparent;
    position: relative;
    z-index: 1;
    text-align: center;
}

#login-wrapper .row:before {
    position: absolute;
    content: "";
    display: block;
    top: 0;
    left: -5000px;
    height: 100%;
    width: 15000px;
    z-index: -1;
    background: inherit;
}

#login-wrapper .row span {
    position: relative;
    display: inline-block;
    margin: 10px 10px;
}

#login-wrapper input {
    font-size: 12px;
}

#login-wrapper input[type="submit"] {
    background: #c20426;
    color: white;
    border: 1px solid #5e0212;
    border-radius: 4px;
    line-height: 1;
    padding: 8px 20px;
    /*font-family: CSDefault;*/
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#login-wrapper .clean-slide {
    position: relative;
    display: inline-block;
    width: 275px;
    padding: 10px 0 10px 15px;
    /*font-family: CSDefault;*/
    /*font-weight: 800;*/
    background: #efefef;
    border: 0;
    border-radius: 3px;
    outline: 0;
    text-indent: 60px;
    transition: all .3s ease-in-out;
}

#login-wrapper .clean-slide::-webkit-input-placeholder {
    color: #efefef;
    text-indent: 0;
    font-weight: 300;
}

#login-wrapper .clean-slide + label {
    display: inline-block;
    position: absolute;
    transform: translateX(0);
    top: 0;
    left: 0;
    bottom: 0;
    padding: 11px 15px 11px 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #032429;
    text-align: left;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all .3s ease-in-out, color .3s ease-out;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    overflow: hidden;
}

#login-wrapper .clean-slide + label:after {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    bottom: 0;
    width: 100%;
    background: #c20426;
    z-index: -1;
    transform: translate(0);
    transition: all .3s ease-in-out;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

#login-wrapper .clean-slide:focus,
#login-wrapper .clean-slide:active {
    color: #377D6A;
    text-indent: 0;
    background: #fff;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#login-wrapper .clean-slide:focus::-webkit-input-placeholder,
#login-wrapper .clean-slide:active::-webkit-input-placeholder {
    color: #aaa;
}

#login-wrapper .clean-slide:focus + label,
#login-wrapper .clean-slide:active + label {
    color: #fff;
    text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);
    transform: translateX(-100%);
}

#login-wrapper .clean-slide:focus + label:after,
#login-wrapper .clean-slide:active + label:after {
    transform: translate(100%);
}

#login-wrapper h3 {
    text-align: center;
}

#login-wrapper #registerform {
    display: none;
    opacity: 0;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    -transition: all 500ms ease;
    transition: all 500ms ease;
}

body.show-registration #login-wrapper #registerform {
    display: block;
    opacity: 1;
}

#login-wrapper #loginform {
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    -transition: all 500ms ease;
    transition: all 500ms ease;
}

body.show-registration #login-wrapper #loginform,
body.show-reset #login-wrapper #loginform {
    display: none;
    opacity: 0;
}

#login-wrapper #resetform {
    display: none;
    opacity: 0;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    -transition: all 500ms ease;
    transition: all 500ms ease;
}

body.show-reset #login-wrapper #resetform {
    display: block;
    opacity: 1;
}

#login-wrapper small {
    margin: 0.5rem;
    display: block;
}

#login-wrapper small a {
    text-decoration: none;
    color: #c20426;
    font-size: 11px;
    letter-spacing: 1px;
}

#login-wrapper .indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

#login-wrapper .message {
    margin-top: 10px;
}

#login-wrapper .show-password {
    display: none;
}
#login-wrapper .show-password span {
    background: #666;
    padding: 3px 6px;
    border-radius: 4px;
    color: white;
}


.show-login-do {
    display: none;
}



#loginform .close,
#registerform .close{
    position: absolute;
    width: 22px;
    right:0;
    z-index: 22;
    transition: scale 0.6s ease;
    -webkit-transition: scale 0.6s ease;
    -moz-transition: scale 0.6s ease;
}

#loginform .close img,
#registerform .close img {
    width: 22px;
    height: 22px;
}

#loginform .close a:hover img,
#registerform .close a:hover img {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
}
