@font-face {
    font-family: 'gooddognew';
    src: url('../font/gooddog_new-webfont.eot');
    src: url('../font/gooddog_new-webfont.eot?#iefix') format('embedded-opentype'),
    url('../font/gooddog_new-webfont.woff') format('woff'),
    url('../font/gooddog_new-webfont.ttf') format('truetype'),
    url('../font/gooddog_new-webfont.svg#gooddogregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    font-family: 'gooddognew';
}

/*.no-touch body {min-width: 1024px;}*/

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

input::-webkit-input-placeholder {color: #ffffff; font-family: 'gooddognew';}
input:-moz-placeholder {color: #ffffff; font-family: 'gooddognew';}
input::-moz-placeholder {color: #ffffff; font-family: 'gooddognew';}
input:-ms-input-placeholder {color: #ffffff;font-family: 'gooddognew';}
input:focus {
    outline: -webkit-focus-ring-color auto 0px;
    outline: none;
}

body {
    overflow: hidden;
    background: transparent url("../img/code-bg.jpg");
    font-family: 'gooddognew';
}

.code {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -250px;
}
    .code-inner,
    .logo,
    .code-form-bg {
        width: 749px;
    }
        .code-inner {
            position: relative;
            overflow: hidden;
            margin: 0 auto;
            height: 500px;
        }


        .logo {
            position: absolute;
            top: 0;
            height: 260px;
        }

        .code-form-bg {
            position: absolute;
            top: 159px;
            height: 300px;
            background: transparent url("../img/code-form-bg.png") no-repeat;
        }

            .code-text {
                width: 277px;
                height: 53px;
                border: 0;
                padding: 0;
                background-image: url(../img/code-input-bg.png);
                background-repeat: no-repeat;
                position: absolute;
                left: 350px;
                top: 87px;
                text-align: center;
                font-family: 'gooddognew'!important;
                font-size: 30px;
                color: #fff;
                text-transform: uppercase;
                outline: 0;
            }

            .send {
                position: absolute;
                left: 349px;
                top: 150px;
                width: 278px;
                height: 51px;
                background: transparent url("../img/code-btn.png") no-repeat;
                background-position: 0 -10px;
                font: 0/0 a;
                color: transparent;
                text-shadow: none;
                background-color: transparent;
                border: 0;
            }
                .send:hover {background-position: 0 -75px}

.icon-correct {
    width: 31px;
    height: 40px;
    background-image: url(../img/correct.png);
    background-repeat: no-repeat;
    position: absolute;
    right: 85px;
    top: 92px;
    display: none;
}


.copy {
    position: absolute;
    left: 455px;
    bottom: 48px;
    width: 200px;
    height: 20px;
    font-size: 24px;
    color: white;
}


#code-incorrect {
    width: 329px;
    height: 327px;
    background-image: url("../img/incorrect.png");
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    /*display: none;*/
    left: 50%;
    margin-left: -53px;
    top: -2000px;
}

.correct .code-text {background-position: 0 -56px;}
.correct .icon-correct {display: block;}
.correct .code-text {color: #c6de08;}

.incorrect .code-text {color: #fabe3c;}

.incorrect #code-incorrect {
    display: block;
    -webkit-animation: spider-move 4s alternate ease-in-out;
    -moz-animation: spider-move 4s alternate ease-in-out;
    animation: spider-move 4s alternate ease-in-out;
    -o-animation: spider-move 4s alternate ease-in-out;
}


@-webkit-keyframes spider-move {
    0%   {top: 2000px;}
    20%  {top: 50%;}
    70%  {top: 50%;}
    100% {top: 2000px;}
}

@-moz-keyframes spider-move {
    0%   {top: 2000px;}
    20%  {top: 50%;}
    70%  {top: 50%;}
    100% {top: 2000px;}
}
@-o-keyframes spider-move {
    0%   {top: 2000px;}
    20%  {top: 50%;}
    70%  {top: 50%;}
    100% {top: 2000px;}
}
@keyframes spider-move {
    0%   {top: 2000px;}
    20%  {top: 50%;}
    70%  {top: 50%;}
    100% {top: 2000px;}
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}
