/*
Downloadio frontend default popup style.
Contain frontend default popup style of the plugin.

Since: 1.0.0

Table of contents:
==================
1. Popup
2. Responsive
*/

/* 1. Popup
======================================================= */
/* Popup content */
#downloadio-popup-content {
    padding: 25px;
}

/* Notices */
.downloadio-notice {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background-color: #fff;
    border-left: 5px solid transparent;
    border-radius: 4px;
    box-shadow: 0 10px 20px 0 rgba( 98, 98, 98, 0.15 );
    padding: 20px 20px 20px 12px;
    margin: 0;
}
.downloadio-notice + .downloadio-notice {
    margin-top: 15px;
}
.downloadio-notice-message {
    position: relative;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #626262;
    padding-left: 38px;
}
.downloadio-notice-icon {
    position: absolute;
    top: 3px;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.downloadio-notice-icon {
    font-size: 24px;
}
.downloadio-notice-action {
    position: relative;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    margin: 16px 0 0 38px;
}
.downloadio-notice-action .downloadio-trigger-download-form {
    padding: 0;
    margin: 0;
}
.downloadio-notice-action button,
.downloadio-notice-action .downloadio-view-cart-button,
.downloadio-notice-action .downloadio-trigger-download-button {
    display: block;
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
    color: #fff;
    background-color: #1f51d3;
    border: 1px solid #1f51d3;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    padding: 8px 20px;
    transition: all .3s ease 0s;
    height: auto;
    min-height: auto;
    cursor: pointer;
    box-shadow: none;
    outline: none;
}
.downloadio-notice-action button:hover,
.downloadio-notice-action button:focus,
.downloadio-notice-action .downloadio-view-cart-button:hover,
.downloadio-notice-action .downloadio-view-cart-button:focus,
.downloadio-notice-action .downloadio-trigger-download-button:hover,
.downloadio-notice-action .downloadio-trigger-download-button:focus {
    color: #fff;
    border-color: #1a45b4;
    background-color: #1a45b4;
    text-decoration: none;
    box-shadow: none;
    outline: none;
}
.downloadio-popup-bulk-action {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #dee2e6;
}
.downloadio-popup-bulk-action button,
.downloadio-popup-bulk-action .downloadio-popup-bulk-action-button {
    display: block;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #fff;
    background-color: #1f51d3;
    border: 1px solid #1f51d3;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    padding: 12px 20px;
    transition: all 0.3s ease 0s;
    height: auto;
    min-height: auto;
    cursor: pointer;
    box-shadow: none;
    outline: none;
}
.downloadio-popup-bulk-action button:hover,
.downloadio-popup-bulk-action button:focus,
.downloadio-popup-bulk-action .downloadio-popup-bulk-action-button:hover,
.downloadio-popup-bulk-action .downloadio-popup-bulk-action-button:focus {
    color: #fff;
    border-color: #1a45b4;
    background-color: #1a45b4;
    text-decoration: none;
    box-shadow: none;
    outline: none;
}

/* Notices success */
.downloadio-notice-success {
    border-left-color: #198754;
}
.downloadio-notice-success .downloadio-notice-icon {
    color: #198754;
}

/* Notices error */
.downloadio-notice-error {
    border-left-color: #dc3545;
}
.downloadio-notice-error .downloadio-notice-icon {
    color: #dc3545;
}

/* Notices warning */
.downloadio-notice-warning {
    border-left-color: #ffc107;
}
.downloadio-notice-warning .downloadio-notice-icon {
    color: #ffc107;
}

/* Notices info */
.downloadio-notice-info {
    border-left-color: #0dcaf0;
}
.downloadio-notice-info .downloadio-notice-icon {
    color: #0dcaf0;
}

/* Login required tabs */
.downloadio-login-required-tabs {}

/* Login required notice */
.downloadio-login-form-notice,
.downloadio-register-form-notice {
    display: none;
}
.downloadio-login-form-notice.downloadio-visible,
.downloadio-register-form-notice.downloadio-visible {
    display: block;
    margin-bottom: 30px;
}

/* Login required tab content */
.downloadio-login-required-tab {
    display: none;
}
.downloadio-login-required-tab.downloadio-visible {
    display: block;
}

/* Login required form */
.downloadio-login-form,
.downloadio-register-form {
    padding: 0;
    margin: 0;
}
.downloadio-login-form .downloadio-login-input,
.downloadio-register-form .downloadio-register-input {
    display: block;
    width: 100%;
    position: relative;
    margin-bottom: 15px;
}
.downloadio-login-form .downloadio-login-input label,
.downloadio-register-form .downloadio-register-input label {
    display: inline-block;
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
    color: #626262;
    margin-bottom: 10px;
}
.downloadio-login-form .downloadio-login-input input[type="text"],
.downloadio-login-form .downloadio-login-input input[type="password"],
.downloadio-register-form .downloadio-register-input input[type="text"],
.downloadio-register-form .downloadio-register-input input[type="email"] {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
    color: #626262;
    background-color: transparent;
    border: 1px solid #ced4da;
    border-radius: 4px;
    text-decoration: none;
    text-align: left;
    padding: 8px 20px;
    transition: all 0.3s ease 0s;
    margin: 0;
    height: auto;
    min-height: auto;
    box-shadow: none;
    outline: none;
}
.downloadio-login-form .downloadio-login-input input[type="password"] {
    padding-right: 44px;
}
.downloadio-login-form .downloadio-login-input input[type="text"]:hover,
.downloadio-login-form .downloadio-login-input input[type="password"]:hover,
.downloadio-register-form .downloadio-register-input input[type="text"]:hover,
.downloadio-register-form .downloadio-register-input input[type="email"]:hover {
    color: #626262;
    background-color: transparent;
    border-color: #ced4da;
    box-shadow: none;
    outline: none;
}
.downloadio-login-form .downloadio-login-input input[type="text"]:focus,
.downloadio-login-form .downloadio-login-input input[type="password"]:focus,
.downloadio-register-form .downloadio-register-input input[type="text"]:focus,
.downloadio-register-form .downloadio-register-input input[type="email"]:focus {
    color: #626262;
    background-color: transparent;
    border-color: #6cb930;
    box-shadow: none;
    outline: none;
}
.downloadio-login-form .downloadio-login-input input[type="submit"],
.downloadio-register-form .downloadio-register-input input[type="submit"] {
    display: inline-block;
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
    color: #fff;
    background-color: #1f51d3;
    border: 1px solid #1f51d3;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    padding: 8px 24px;
    margin: 0;
    height: auto;
    min-height: auto;
    cursor: pointer;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    box-shadow: none;
    outline: none;
}
.downloadio-login-form .downloadio-login-input input[type="submit"]:hover,
.downloadio-login-form .downloadio-login-input input[type="submit"]:focus,
.downloadio-register-form .downloadio-register-input input[type="submit"]:hover,
.downloadio-register-form .downloadio-register-input input[type="submit"]:focus {
    color: #fff;
    background-color: #1a45b4;
    border: 1px solid #1a45b4;
    box-shadow: none;
    outline: none;
}
.downloadio-login-form .downloadio-login-input .downloadio-login-password-show-hide,
.downloadio-register-form .downloadio-register-input .downloadio-register-password-show-hide {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-block;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #1f51d3;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    text-decoration: none;
    text-align: center;
    padding: 8px 12px;
    margin: 0;
    height: auto;
    min-height: auto;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    box-shadow: none;
    outline: none;
}
.downloadio-login-form .downloadio-login-input .downloadio-login-password-show-hide .dashicons,
.downloadio-register-form .downloadio-register-input .downloadio-register-password-show-hide .dashicons {
    height: 26px;
    line-height: 26px;
}
.downloadio-login-form .downloadio-login-input .downloadio-login-password-show-hide:hover,
.downloadio-login-form .downloadio-login-input .downloadio-login-password-show-hide:focus,
.downloadio-register-form .downloadio-register-input .downloadio-register-password-show-hide:hover,
.downloadio-register-form .downloadio-register-input .downloadio-register-password-show-hide:focus {
    color: #1a45b4;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    outline: none;
}
.downloadio-login-form .downloadio-login-remember-input input {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    border: none;
}
.downloadio-login-form .downloadio-login-remember-input label {
    position: relative;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #626262;
    margin: 0;
    padding-left: 26px;
}
.downloadio-login-form .downloadio-login-remember-input label span::before {
    position: absolute;
    top: 5px;
    left: 0;
    width: 18px;
    height: 18px;
    content: "";
    transition: all .3s ease 0s;
    border: 2px solid rgba( 98, 98, 98, 0.5 );
    border-radius: 4px;
}
.downloadio-login-form .downloadio-login-remember-input label input:checked + span::before {
    border-color: #1f51d3;
}
.downloadio-login-form .downloadio-login-remember-input label span::after {
    position: absolute;
    top: 5px;
    left: 0;
    width: 10px;
    height: 6px;
    content: "";
    transition: all .3s ease 0s;
    transform: rotate( -45deg );
    opacity: 0;
    border-width: 0 0 2px 2px;
    border-style: solid;
    border-color: #1f51d3;
    margin-left: 4px;
    margin-top: 4px;
}
.downloadio-login-form .downloadio-login-remember-input label input:checked + span::after {
    opacity: 1;
}
.downloadio-register-form .downloadio-register-text {
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #626262;
    margin-bottom: 15px;
}
.downloadio-login-form .downloadio-login-input-group,
.downloadio-register-form .downloadio-register-input-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 0 -10px;
}
.downloadio-login-form .downloadio-login-input-group .downloadio-login-remember-input {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
}
.downloadio-login-form .downloadio-login-input-group .downloadio-login-submit-input,
.downloadio-register-form .downloadio-register-input-group .downloadio-register-submit-input {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    width: auto;
    max-width: 100%;
    padding: 0 10px;
}
.downloadio-login-form .downloadio-login-link-group,
.downloadio-register-form .downloadio-register-link-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 0 -10px;
}
.downloadio-login-form .downloadio-login-link-group .downloadio-login-link,
.downloadio-register-form .downloadio-register-link-group .downloadio-register-link {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    width: auto;
    max-width: 100%;
    position: relative;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #626262;
    padding: 0 10px;
}
.downloadio-login-form .downloadio-login-link-group .downloadio-login-link a,
.downloadio-register-form .downloadio-register-link-group .downloadio-register-link a {
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #1f51d3;
    background-color: transparent;
    border: none;
    box-shadow: none;
    outline: none;
}
.downloadio-login-form .downloadio-login-link-group .downloadio-login-link a:hover,
.downloadio-login-form .downloadio-login-link-group .downloadio-login-link a:focus,
.downloadio-register-form .downloadio-register-link-group .downloadio-register-link a:hover,
.downloadio-register-form .downloadio-register-link-group .downloadio-register-link a:focus {
    color: #1a45b4;
    background-color: transparent;
    border: none;
    box-shadow: none;
    outline: none;
}
.downloadio-login-form .downloadio-login-link-group .downloadio-login-link + .downloadio-login-link::before,
.downloadio-register-form .downloadio-register-link-group .downloadio-register-link + .downloadio-register-link::before {
    position: absolute;
    content: '';
    width: 2px;
    height: 16px;
    top: 50%;
    left: -1px;
    background-color: #ced4da;
    transform: translateY( -50% );
}

/* Access code notice */
.downloadio-access-code-form-notice {
    display: none;
}
.downloadio-access-code-form-notice.downloadio-visible {
    display: block;
    margin-bottom: 30px;
}

/* Access code form */
.downloadio-access-code-form {
    padding: 0;
    margin: 0;
}
.downloadio-access-code-form .downloadio-access-code-input {
    display: block;
    width: 100%;
    position: relative;
    margin-bottom: 15px;
}
.downloadio-access-code-form .downloadio-access-code-submit-input {
    margin-bottom: 0;
}
.downloadio-access-code-form .downloadio-access-code-input label {
    display: inline-block;
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
    color: #626262;
    margin-bottom: 10px;
}
.downloadio-access-code-form .downloadio-access-code-input input[type="text"] {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
    color: #626262;
    background-color: transparent;
    border: 1px solid #ced4da;
    border-radius: 4px;
    text-decoration: none;
    text-align: left;
    padding: 8px 20px;
    transition: all 0.3s ease 0s;
    margin: 0;
    height: auto;
    min-height: auto;
    box-shadow: none;
    outline: none;
}
.downloadio-access-code-form .downloadio-access-code-input input[type="text"]:hover {
    color: #626262;
    background-color: transparent;
    border-color: #ced4da;
    box-shadow: none;
    outline: none;
}
.downloadio-access-code-form .downloadio-access-code-input input[type="text"]:focus {
    color: #626262;
    background-color: transparent;
    border-color: #6cb930;
    box-shadow: none;
    outline: none;
}
.downloadio-access-code-form .downloadio-access-code-input input[type="submit"] {
    display: inline-block;
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
    color: #fff;
    background-color: #1f51d3;
    border: 1px solid #1f51d3;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    padding: 8px 24px;
    margin: 0;
    height: auto;
    min-height: auto;
    cursor: pointer;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    box-shadow: none;
    outline: none;
}
.downloadio-access-code-form .downloadio-access-code-input input[type="submit"]:hover,
.downloadio-access-code-form .downloadio-access-code-input input[type="submit"]:focus {
    color: #fff;
    background-color: #1a45b4;
    border: 1px solid #1a45b4;
    box-shadow: none;
    outline: none;
}
.downloadio-access-code-form .downloadio-access-code-input-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 0 -10px;
}
.downloadio-access-code-form .downloadio-access-code-input-group .downloadio-access-code-submit-input {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    width: auto;
    max-width: 100%;
    padding: 0 10px;
}

/* 2. Responsive
======================================================= */
/* Min width 768px */
@media only screen and (min-width: 768px) {
    /* Popup */
    .downloadio-notice-message {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }
    .downloadio-notice-action {
        margin: 0 0 0 20px;
    }
}