/* overwrite */
/*.gd-upload {
    margin-bottom:0;*/ /* should be 0 !*/ 
/*}

.gd-app-form {
    margin-bottom: 6rem;
}*/

.gd-about__picture {
    background-size: 54rem;
    height: 39rem;
}

.gd-step__icon {
    width: 5rem;
    height: 5rem;
}

.gd-step__icon > svg {
    width: 1.6rem;
    height: 1.6rem;
}

.gd-see-also__list {
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 6rem;
}



/* scanner */
.gd-upload-mode-box {
    display:none; /* mobile, ipad only */
}


.gd-upload-mode {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    color: var(--link-color);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 3rem; 
}

.gd-upload-mode > li {padding-bottom: 0.85rem;
                      cursor: pointer;
}
.gd-upload-mode > li.selected {
    border-bottom: solid 0.125rem var(--link-color);
    cursor: default;
}


.gd-camera {
    width: 100%;
    max-width: 46rem;
    background-color: #fff;
    border-radius: 2px;
    padding: 2rem;
    padding-bottom: 3rem;
    margin: 0 auto;
    margin-bottom: 4rem;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
}

.gd-camera__preview {
    background-color: var(--background);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
}

.gd-camera__video-box {
    height: 18rem;
    background-image: url(../img-redesign/scanner-icons.svg#camera);
    background-position:center;
    background-repeat: no-repeat;
    background-size: 8rem;
}

.gd-camera__video {
    height: 100%;
   
}
.gd-camera__actions {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}
.gd-camera__error {
     color: #e13535;
     font-size: 1.125rem;
     
}
.gd-camera__image {
    max-height: 18rem;
    max-width: 100%;
}

.gd-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.2rem;
    height: 2.5rem;
    color: #fff;
    background: var(--control-color);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    outline: none;
    border: none;
    cursor: pointer;
    letter-spacing: .3px;
}

.gd-btn:hover {
    background: var(--link-color-hover)
}

.gd-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.gd-btn[disabled]:hover {
    background: var(--control-color);
}


.gd-result {
    width: 100%;
    max-width: 46rem;
    background-color: #fff;
    border-radius: 2px;
    padding: 4rem 2rem;
    margin: 0 auto;
    margin-bottom: 4rem;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
}


.gd-result__header {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.6rem;
    text-align: center;
    margin-bottom: 3rem;
}


.gd-result__btn-box {
    display: flex;
    justify-content: center;
}

.gd-result__btn {
    color: #fff;
    background: #0DC268;
    margin-bottom: 3rem;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.2rem;
    height: 2.5rem;
  
  
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    outline: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}
   

.gd-result__btn:hover {
        color: #fff;
        background: #0baf5d;
    }


.gd-result__footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color-active);
    font-size: 0.875rem;
    gap: 1.5rem;
}

.gd-result__footer-links > a {
    color: var(--text-color-active);
}

.gd-result__link {
    padding-left: 1.7rem;
    background-size: 1.2rem;
    background-repeat: no-repeat;
    line-height: 1.2rem;
}

.gd-result__link--repeat {
    background-image: url(../img-redesign/scanner-icons.svg#reload);
}


/* result actions */

.gd-result-actions__header {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.6rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.gd-result-actions__links {
    display:flex;
    justify-content:center;
}

.gd-result-actions__links > a {
    display: block;
    background-color: #fff;
    border: 1px solid #EBEBEB;
    border-right: none;
    padding: 0.8rem;
    padding-left: 2.7rem;
    font-size: 0.875rem;
    color: #111111;
    background-repeat: no-repeat;
    background-position-x: 0.75rem;
    background-position-y: center;
    background-size: 1.25rem;
}

.gd-result-actions__links > a:hover {
    background-color: #f8faff;
}

.gd-result-actions__links > a:first-child {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.gd-result-actions__links > a:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-right:  1px solid #EBEBEB;
}

.gd-result-actions__link--copy {
    background-image: url(../img-redesign/scanner-icons.svg#result-link);
}

.gd-result-actions__link--delete {
    background-image: url(../img-redesign/scanner-icons.svg#result-delete);
}

.gd-result-actions__link--copy.copied {
    background-image: url(../img-redesign/scanner-icons.svg#copied);
}

.gd-scanner-result-box {
    margin-bottom: 6rem;
}
.gd-scanner-result__error {
    color: #e13535;
    background-color: #ffeded;
    font-size: 1.125rem;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 3rem;
 
    text-align: center;
}

.gd-scanner-result__success {
    background-color: #e4f9e5;
    color: #07bf10;
    font-size: 1.125rem;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 3rem;
  
    text-align: center;
}


.gd-scanner-result__header {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.6rem;
    text-align: center;
    margin-bottom: 3rem;
}



.gd-scanner-result__list {
    font-size: 0.875rem;
    margin-bottom: 3rem;
}

    .gd-scanner-result__list > li {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 3rem;
    }

.gd-scanner-result__type {
    font-weight: 600;
    color: #111;
    text-align: center;
}

.gd-scanner-result__img {
    max-width: 12rem;
    max-height: 6rem;
    border: none;
    background-color: #d5d5d5;
}

.gd-scanner-result__value {
    background-color: #F9F9F9;
    border-radius: 0.125rem;
    padding: 0.75rem 2.5rem;
  
    width: 95%;
    position: relative;
    color: #7C7C7C;
    text-align: center;
    line-height: 1.2rem;
}
    .gd-scanner-result__value > div {
        overflow-x:hidden;
    }

    .gd-scanner-result__value > i {
        position: absolute;
        right: 0.75rem;
        top: 0.75rem;
        width: 1.25rem;
        height: 1.25rem;
        background-repeat: no-repeat;
        background-size: 1.25rem;
        background-image: url(../img-redesign/scanner-icons.svg#copy);
        cursor: pointer;
    }

.gd-scanner-result__value > i.copied {
    background-image: url(../img-redesign/scanner-icons.svg#copied);
}

.gd-scanner-result__text {
    color: #A6A6A6;
    font-size: 0.875rem;
    margin-bottom: 4.5rem;
    margin-top:-1.5rem;
    text-align: center;
}

.gd-scanner-result__loader-box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 15rem;
}

.gd-scanner-result__loader {
    width: 2rem;
    height: 2rem;
    border: 0.25rem solid #558FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: scanner-rotation 1s linear infinite;
}

a.gd-result__feedback-link
{
    background-color:#fff;
}

@keyframes scanner-rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media screen and (max-width: 1024px) {
    .gd-upload-mode-box {
        display: block;
    }
}


@media screen and (max-width: 750px) {
    .gd-upload-mode {
       
        margin-bottom: 2rem;
    }

        .gd-camera__video-box {
            height: 22rem;
            overflow: hidden;
        }

        .gd-camera {
            padding: 0.5rem;
            padding-bottom: 2rem;
        }

        .gd-camera__actions {
            padding-top: 1rem;
        }

        .gd-scanner-result__value {
            width: 100%;
        }

        .gd-result__footer-links {
            flex-direction: column;
        }
    }
