
/* 
    Created on : Jul 18, 2022, 3:39:18 PM
    Author     : jnavarro@solucionfactible.com
*/

/*ESTILO DE EL DRAG&DROP*/

.containerDrag
{
    width: 100%;
    max-width: 680px; /* 800 */
    text-align: center;
    margin: 0 auto;
}

.containerDrag h1
{
    font-size: 42px;
    font-weight: 300;
    color: #0f3c4b;
    margin-bottom: 40px;
}
.containerDrag h1 a:hover,
.containerDrag h1 a:focus
{
    color: #39bfd3;
}

.containerDrag nav
{
    margin-bottom: 40px;
}
.containerDrag nav a
{
    border-bottom: 2px solid #c8dadf;
    display: inline-block;
    padding: 4px 8px;
    margin: 0 5px;
}
.containerDrag nav a.is-selected
{
    font-weight: 700;
    color: #39bfd3;
    border-bottom-color: currentColor;
}
.containerDrag nav a:not( .is-selected ):hover,
.containerDrag nav a:not( .is-selected ):focus
{
    border-bottom-color: #0f3c4b;
}

.containerDrag footer
{
    color: #92b0b3;
    margin-top: 40px;
}
.containerDrag footer p + p
{
    margin-top: 1em;
}
.containerDrag footer a:hover,
.containerDrag footer a:focus
{
    color: #39bfd3;
}

.boxDrag
{
    font-size: 120%; /* 20 */
    background-color: #c8dadf;
    position: relative;
    padding: 100px 20px;
    border-radius: 40px; 
}
.boxDrag.has-advanced-upload
{
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;

    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
}
.boxDrag.is-dragover
{
    outline-offset: -20px;
    outline-color: #c8dadf;
    background-color: #fff;
}
.box__dragndrop,
.box__iconDrag
{
    display: none;
}
.boxDrag.has-advanced-upload .box__dragndrop
{
    display: inline;
}
.boxDrag.has-advanced-upload .box__iconDrag
{
    width: 100%;
    height: 80px;
    fill: #92b0b3;
    display: block;
    margin-bottom: 40px;
}

.boxDrag.is-uploading .box__inputDrag,
.boxDrag.is-success .box__inputDrag,
.boxDrag.is-error .box__inputDrag
{
    visibility: hidden;
}

.box__uploadingDrag,
.box__successDrag,
.box__errorDrag
{
    display: none;
}
.box__errorDrag{
    font-size: 100%;
}
.boxDrag.is-uploading .box__uploadingDrag,
.boxDrag.is-success .box__successDrag,
.boxDrag.is-error .box__errorDrag
{
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;

    -webkit-transform: translateY( -50% );
    transform: translateY( -50% );
}
.box__uploadingDrag
{
    font-style: italic;
}
.box__successDrag
{
    -webkit-animation: appear-from-inside .25s ease-in-out;
    animation: appear-from-inside .25s ease-in-out;
}
@-webkit-keyframes appear-from-inside
{
    from	{ -webkit-transform: translateY( -50% ) scale( 0 ); }
    75%		{ -webkit-transform: translateY( -50% ) scale( 1.1 ); }
    to		{ -webkit-transform: translateY( -50% ) scale( 1 ); }
}
@keyframes appear-from-inside
{
    from	{ transform: translateY( -50% ) scale( 0 ); }
    75%		{ transform: translateY( -50% ) scale( 1.1 ); }
    to		{ transform: translateY( -50% ) scale( 1 ); }
}

.box__restartDrag
{
    font-weight: 700;
}
.box__restartDrag:focus,
.box__restartDrag:hover
{
    color: #39bfd3;
}

.js-include .box__fileDrag
{
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.js-include .box__fileDrag + label
{
    max-width: 80%;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
}
.js-include .box__fileDrag + label:hover strong,
.box__fileDrag:focus + label strong,
.box__fileDrag.has-focus + label strong
{
    color: #39bfd3;
}
.js-include .box__fileDrag:focus + label,
.js-include .box__fileDrag.has-focus + label
{
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}
.js-include .box__fileDrag + label *
{
    /* pointer-events: none; */ /* in case of FastClick lib use */
}

.no-js-include .box__fileDrag + label
{
    display: none;
}

.no-js-include .box__buttonDrag
{
    display: block;
}
.box__buttonDrag
{
    font-weight: 700;
    color: #e5edf1;
    background-color: #39bfd3;
    display: none;
    padding: 8px 16px;
    margin:15px auto 15px;
}
.box__buttonDrag:hover,
.box__buttonDrag:focus
{
    background-color: #0f3c4b;
}
