/**
 * Button Object
 */

/**
 * 1. Corrects inability to style clickable 'input' types in iOS
 * 2. Remove excess padding in IE6/7
 * 3. IE6/7 inline-block hack for native block-level elements
 */

.btn-auth,
.btn-auth:visited {
    position: relative;
    display: inline-block;
    height: 22px;
    padding: 0 1em;
    border: 1px solid #999;
    border-radius: 6px;
    margin: 0;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
    color: #222;
    background: #fff;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* iOS */
    -webkit-appearance: none; /* 1 */
    /* IE6/7 hacks */
    *overflow: visible;  /* 2 */
    *display: inline; /* 3 */
    *zoom: 1; /* 3 */
}

.btn-auth:hover,
.btn-auth:focus,
.btn-auth:active {
    color: #222;
    text-decoration: none;
}

.btn-auth:before {
    content: "";
    float: left;
    width: 22px;
    height: 22px;
    background: url(../img/ico-facebook.png) no-repeat 99px 99px;
}

/**
 * 36px
 */

.btn-auth.large {
    height: 38px;
    line-height: 40px;
    font-size: 16px;
    padding-top: 2px;
    padding-bottom: 2px;
    width: 270px;
}

.btn-auth.large:before {
    width: 70px;
    height: 38px;
}

/*
 * Remove excess padding and border in FF3+
 */

.btn-auth::-moz-focus-inner {
    border: 0;
    padding: 0;
}


/* Facebook (extends .btn-auth)
   ========================================================================== */

.btn-facebook,
.btn-facebook:visited {
    border-color: #29447e;
    border-bottom-color: #1a356e;
    color: #fff;
    background-color: #5872a7;
    background-image: linear-gradient(bottom, rgb(39,65,117) 30%, rgb(58,89,150) 68%);
    background-image: -o-linear-gradient(bottom, rgb(39,65,117) 30%, rgb(58,89,150) 68%);
    background-image: -moz-linear-gradient(bottom, rgb(39,65,117) 30%, rgb(58,89,150) 68%);
    background-image: -webkit-linear-gradient(bottom, rgb(39,65,117) 30%, rgb(58,89,150) 68%);
    background-image: -ms-linear-gradient(bottom, rgb(39,65,117) 30%, rgb(58,89,150) 68%);
    background-image: -webkit-gradient(
            linear,
            left bottom,
            left top,
            color-stop(0.3, rgb(39,65,117)),
            color-stop(0.68, rgb(58,89,150))
    );
    -webkit-box-shadow: inset 0 1px 0 #879ac0;
    box-shadow: inset 0 1px 0 #879ac0;
}

.btn-facebook:hover,
.btn-facebook:focus {
    color: #fff !important;
    background-color: #3b5998 !important;
}

.btn-facebook:active {
    color: #fff;
    background: #4f6aa3;
    -webkit-box-shadow: inset 0 1px 0 #45619d;
    box-shadow: inset 0 1px 0 #45619d;
}

/*
 * Icon
 */

.btn-facebook:before {
    border-right: 1px solid #465f94;
    margin: 0 1em 0 -1em;
    background-position: 0 0;
}

.btn-facebook.large:before {
    background-position: 17px 7px;
}

.btn-facebook:after {
    border-right: 1px solid #FFFFFF;
    margin: 0 1em 0 -1em;
    background-position: 0 0;
}