﻿
.donk-progress-inner {
    margin-left: 4%;
    margin-right: 4%;
    margin-top: 4%;
    margin-bottom: 4%;
    position: relative;
    align-self: center;
    z-index: 204;
    background-color: #00aeef;
    width: 92%;
    height: 92%;
    border-radius: 400px;
    border: 1px solid #00aeef;
}

.donk-message {
    position: absolute;
    text-align: center;
    margin: 0 auto;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.donk-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(9, 87, 120, 0);
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    display: -moz-box;
    -moz-box-pack: center;
    -moz-box-align: center;
    display: flex;
    box-orient: horizontal;
    box-pack: center;
    box-align: center;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.donk-open .donk-overlay {
    z-index: 200;
    background-color: rgba(9, 87, 120, 0.8);
    position: fixed;
    overflow-y: scroll;
}

@media(min-width:768px) {

    .donk {
        -ms-flex-item-align: center;
        align-self: center;
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
        position: relative;
        z-index: 201;
        width: 542px;
        height: 542px;
        border-radius: 400px;
        background-color: white;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .donk-progress {
        z-index: 202;
        background-color: #00aeef;
        width: 118px;
        height: 118px;
        border-radius: 400px;
        display: inline-flex;
        position: relative;
        border-radius: 400px;
        align-self: center;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
        align-self: center;
        top: -210px;
        left: 140px;
    }

    .donk-progress-border {
        border: 0px none;
        position: relative;
        align-self: center;
        z-index: 203;
        background-color: #562873;
        margin: 2px 2px 2px 2px;
        width: 112px;
        height: 112px;
        border-radius: 400px;
        background-image: linear-gradient(90deg, white 50%, transparent 50%);
        -webkit-animation-name: spin;
        -webkit-animation-duration: 2000ms;
        -webkit-animation-iteration-count: infinite;
        -webkit-animation-timing-function: linear;
        -moz-animation-name: spin;
        -moz-animation-duration: 2000ms;
        -moz-animation-iteration-count: infinite;
        -moz-animation-timing-function: linear;
        animation-name: spin;
        animation-duration: 2000ms;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
        border: 1px solid #00aeef;
    }

    .donk-percent {
        width: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 50%;
        height: 20%;
        margin: auto;
        z-index: 205;
        font-size: 32px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 0.75;
        letter-spacing: normal;
        text-align: center;
        color: #FFFFFF;
    }

    .donk-title {
        font-size: 42px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 0.57;
        letter-spacing: normal;
        text-align: center;
        color: #562873;
        height: 50px;
    }

    .donk-infotext {
        position: relative;
        font-size: 18px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.33;
        letter-spacing: normal;
        text-align: center;
        top: 20px;
        color: #2b3133;
    }
}

@media(max-width:767px) {

    .donk {
        height: 280px;
        width: 280px;
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
        position: relative;
        z-index: 201;
        border-radius: 400px;
        background-color: white;
        -ms-flex-item-align: center;
        align-self: center;
        /*
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        */
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .donk-progress {
        width: 100%;
        z-index: 202;
        background-color: #00aeef;
        width: 61px;
        height: 61px;
        border-radius: 400px;
        display: inline-flex;
        position: relative;
        border-radius: 400px;
        align-self: center;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
        align-self: center;
        top: -105px;
        left: 80px;
    }

    .donk-progress-border {
        border: 0px none;
        position: relative;
        align-self: center;
        z-index: 203;
        background-color: #562873;
        margin: 1px 1px 1px 1px;
        width: 59px;
        height: 59px;
        border-radius: 400px;
        background-image: linear-gradient(90deg, white 50%, transparent 50%);
        -webkit-animation-name: spin;
        -webkit-animation-duration: 2000ms;
        -webkit-animation-iteration-count: infinite;
        -webkit-animation-timing-function: linear;
        -moz-animation-name: spin;
        -moz-animation-duration: 2000ms;
        -moz-animation-iteration-count: infinite;
        -moz-animation-timing-function: linear;
        animation-name: spin;
        animation-duration: 2000ms;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
        border: 1px solid #00aeef;
    }

    .donk-percent {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 50%;
        height: 40%;
        margin: auto;
        z-index: 205;
        font-size: 16px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.5;
        letter-spacing: normal;
        text-align: center;
        color: #ffffff;
    }

    .donk-title {
        font-size: 26px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 0.57;
        letter-spacing: normal;
        text-align: center;
        color: #562873;
        height: 50px;
    }

    .donk-infotext {
        position: relative;
        font-size: 14px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.33;
        letter-spacing: normal;
        text-align: center;
        top: 20px;
        color: #2b3133;
    }
}


@-ms-keyframes spin {
    from {
        -ms-transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
