﻿.captcha-holder {
    position: relative;
    /*max-width: 323px;*/
    width: 100%;
    height: auto;
    border-radius: 0;
    font-family: 'Roboto', sans-serif;
    text-shadow: none;
    line-height: 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

    .captcha-holder .captcha-modal {
        width: 100%;
        display: block;
    }

    .captcha-holder .captcha-modal__header {
        height: auto;
        padding: 0 10px;
        display: block;
    }

        .captcha-holder .captcha-modal__header span {
            padding: 10px 0;
            display: block;
            border-bottom: 1px solid;
            text-align: center;
            font-size: 12px;
            font-weight: 500;
            color: #1d1d1d;
            cursor: default;
        }

            .captcha-holder .captcha-modal__header span::selection {
                background: none !important;
            }

            .captcha-holder .captcha-modal__header span::-moz-selection {
                background: none !important;
            }

    .captcha-holder .captcha-modal__icons {
        display: block;
        overflow: hidden;
        position: relative;
        height: 50px;
        min-height: 50px;
        padding: 6px 10px;
        text-align: center;
        -webkit-box-align: center;
        -webkit-box-pack: center;
        display: -webkit-box;
        -webkit-box-sizing: initial;
        -moz-box-sizing: initial;
        box-sizing: initial;
    }

    .captcha-holder .captcha-modal__icons-title {
        font-size: 20px;
        font-weight: 500;
        display: inline-block;
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        top: 10px;
    }

    .captcha-holder .captcha-modal__icons-subtitle {
        font-size: 13px;
        display: inline-block;
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        top: 37px;
    }

    .captcha-holder .captcha-modal__icons .captcha-image {
        position: relative;
        height: 50px;
        width: 19%;
        float: left;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-right: 1px solid;
        cursor: pointer;
    }

        .captcha-holder .captcha-modal__icons .captcha-image:last-child {
            border-right: 0;
        }

        .captcha-holder .captcha-modal__icons .captcha-image:after {
            content: "";
            border-bottom: 2px solid #fff;
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            -webkit-transition: border 0.2s linear;
            -moz-transition: border 0.2s linear;
            -o-transition: border 0.2s linear;
            transition: border 0.2s linear;
        }

        .captcha-holder .captcha-modal__icons .captcha-image:hover:after {
            -webkit-transition: border 0.2s linear;
            -moz-transition: border 0.2s linear;
            -o-transition: border 0.2s linear;
            transition: border 0.2s linear;
        }

    .captcha-holder .captcha-modal__icons .captcha-loader {
        margin: auto;
        position: absolute;
        width: 38px;
        height: 38px;
        -webkit-border-radius: 50% 50% 50% 50%;
        -moz-border-radius: 50% 50% 50% 50%;
        -o-border-radius: 50% 50% 50% 50%;
        border-radius: 50% 50% 50% 50%;
        border: 10px solid #68C3A3;
        opacity: 0.8;
        z-index: 10;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        box-sizing: border-box;
        -webkit-animation: captcha-loader 6s infinite linear;
        -moz-animation: captcha-loader 6s infinite linear;
        -o-animation: captcha-loader 6s infinite linear;
        animation: captcha-loader 6s infinite linear;
    }

    .captcha-holder .captcha-modal__icons.captcha-opacity > .captcha-image {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
        filter: alpha(opacity=20);
        -moz-opacity: 0.2;
        -khtml-opacity: 0.2;
        opacity: 0.2;
        cursor: default;
    }

        .captcha-holder .captcha-modal__icons.captcha-opacity > .captcha-image:after, .captcha-holder .captcha-modal__icons.captcha-opacity > .captcha-image:hover:after {
            content: none;
        }

    .captcha-holder .captcha-modal__credits {
        display: block !important;
        font-size: 9px;
        padding: 3px;
        text-align: center;
        cursor: default;
    }

        .captcha-holder .captcha-modal__credits > a {
            text-decoration: none;
            -webkit-transition: color 0.1s linear;
            -moz-transition: color 0.1s linear;
            -o-transition: color 0.1s linear;
            transition: color 0.1s linear;
        }

            .captcha-holder .captcha-modal__credits > a:hover {
                -webkit-transition: color 0.1s linear;
                -moz-transition: color 0.1s linear;
                -o-transition: color 0.1s linear;
                transition: color 0.1s linear;
            }

    .captcha-holder .captcha-modal__credits--hide {
        visibility: hidden;
    }

    .captcha-holder.captcha-theme-light {
        background: #fff;
        border: 1px solid #d8d8d8;
    }

        .captcha-holder.captcha-theme-light .captcha-modal__header span {
            border-color: #d8d8d8;
        }

        .captcha-holder.captcha-theme-light .captcha-modal__icons-subtitle {
            color: #b1b1b1;
        }

        .captcha-holder.captcha-theme-light .captcha-modal__icons .captcha-image {
            border-color: #eaeaea;
        }

            .captcha-holder.captcha-theme-light .captcha-modal__icons .captcha-image:hover:after {
                border-bottom: 2px solid #448AFF;
            }

        .captcha-holder.captcha-theme-light .captcha-modal__credits {
            color: #a7a7a7;
            border-top: 1px solid #eaeaea;
        }

            .captcha-holder.captcha-theme-light .captcha-modal__credits > a {
                color: #448AFF;
            }

                .captcha-holder.captcha-theme-light .captcha-modal__credits > a:hover {
                    color: #74a8ff;
                }

        .captcha-holder.captcha-theme-light.captcha-success .captcha-modal__icons .captcha-modal__icons-title {
            color: #5bd25b;
        }

        .captcha-holder.captcha-theme-light.captcha-error .captcha-modal__icons .captcha-modal__icons-title {
            color: #ef5858;
        }

    .captcha-holder.captcha-theme-dark {
        background: #4c4c4c;
        border: 1px solid #404040;
    }

        .captcha-holder.captcha-theme-dark .captcha-modal__header span {
            color: #fff;
            border-color: #404040;
        }

        .captcha-holder.captcha-theme-dark .captcha-modal__icons-subtitle {
            color: #b1b1b1;
        }

        .captcha-holder.captcha-theme-dark .captcha-modal__icons .captcha-image {
            border-color: #404040;
        }

            .captcha-holder.captcha-theme-dark .captcha-modal__icons .captcha-image:after {
                border-bottom: 2px solid #4c4c4c;
            }

            .captcha-holder.captcha-theme-dark .captcha-modal__icons .captcha-image:hover:after {
                border-bottom: 2px solid #dadada;
            }

        .captcha-holder.captcha-theme-dark .captcha-modal__credits {
            color: #a7a7a7;
            border-top: 1px solid #404040;
        }

            .captcha-holder.captcha-theme-dark .captcha-modal__credits > a {
                color: #fff;
            }

                .captcha-holder.captcha-theme-dark .captcha-modal__credits > a:hover {
                    color: #f0f0f0;
                }

        .captcha-holder.captcha-theme-dark.captcha-success .captcha-modal__icons .captcha-modal__icons-title {
            color: #93d293;
        }

        .captcha-holder.captcha-theme-dark.captcha-error .captcha-modal__icons .captcha-modal__icons-title {
            color: #ef5858;
        }

    .captcha-holder.captcha-credits .captcha-modal .captcha-modal__credits {
        display: block;
    }

    .captcha-holder input[type="text"] {
        display: none;
        visibility: hidden;
    }

    .captcha-holder *::selection {
        background: none !important;
    }

    .captcha-holder *::-moz-selection {
        background: none !important;
    }

@media screen and (max-width: 320px) {
    .captcha-holder {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

        .captcha-holder.captcha-credits {
            height: auto;
        }

        .captcha-holder .captcha-modal__icons .captcha-image {
            -webkit-background-size: 60%;
            -moz-background-size: 60%;
            -o-background-size: 60%;
            background-size: 60%;
        }
}

@media screen and (max-width: 250px) {
    .captcha-holder .captcha-modal__icons {
        padding: 0;
    }

        .captcha-holder .captcha-modal__icons .captcha-image {
            -webkit-background-size: 50%;
            -moz-background-size: 50%;
            -o-background-size: 50%;
            background-size: 50%;
        }
}

@-webkit-keyframes captcha-loader {
    0%, 100% {
        border: solid 19px #68C3A3;
    }

    6.25% {
        border: solid 2px #68C3A3;
    }

    12.5% {
        border: solid 2px #52B3D9;
    }

    18.75% {
        border: solid 19px #52B3D9;
    }

    25% {
        border: solid 19px #52B3D9;
    }

    31.25% {
        border: solid 2px #52B3D9;
    }

    37.5% {
        border: solid 2px #F4D03F;
    }

    43.75% {
        border: solid 19px #F4D03F;
    }

    50% {
        border: solid 19px #F4D03F;
    }

    56.25% {
        border: solid 2px #F4D03F;
    }

    62.5% {
        border: solid 2px #D24D57;
    }

    68.75% {
        border: solid 19px #D24D57;
    }

    75% {
        border: solid 19px #D24D57;
    }

    81.25% {
        border: solid 2px #D24D57;
    }

    87.5% {
        border: solid 2px #68C3A3;
    }

    93.75% {
        border: solid 19px #68C3A3;
    }
}

@keyframes captcha-loader {
    0%, 100% {
        border: solid 19px #68C3A3;
    }

    6.25% {
        border: solid 2px #68C3A3;
    }

    12.5% {
        border: solid 2px #52B3D9;
    }

    18.75% {
        border: solid 19px #52B3D9;
    }

    25% {
        border: solid 19px #52B3D9;
    }

    31.25% {
        border: solid 2px #52B3D9;
    }

    37.5% {
        border: solid 2px #F4D03F;
    }

    43.75% {
        border: solid 19px #F4D03F;
    }

    50% {
        border: solid 19px #F4D03F;
    }

    56.25% {
        border: solid 2px #F4D03F;
    }

    62.5% {
        border: solid 2px #D24D57;
    }

    68.75% {
        border: solid 19px #D24D57;
    }

    75% {
        border: solid 19px #D24D57;
    }

    81.25% {
        border: solid 2px #D24D57;
    }

    87.5% {
        border: solid 2px #68C3A3;
    }

    93.75% {
        border: solid 19px #68C3A3;
    }
}
