
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,.4);
    border: none;
    border-radius: 6px;
    background: #e8e8e8;
    text-decoration: none;
    font-size: 16px;
    color: #222;
    cursor: pointer;
    transition: all .2s linear;
}

.btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    border-radius: 11px;
    border-color: #e8e8e8;
    transition: all .1s linear;
}

.btn:hover {
    background: rgba(64, 64, 64, .1);
}

.btn:hover:after {
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-width: 2px;
    border-style: solid;
}

.btn-clear {
    border: none;
    box-shadow: none;
    background: transparent;
}

.btn-border {
    border-width: 1px;
    border-style: solid;
}

/* Buttons sizes */

.btn-wide {
    display: flex;
}

.btn-xs {
    height: 20px;
    padding: 2px 4px;
    border-radius: 3px;
    text-transform: none;
    font-size: 12px;
}

.btn-sm {
    height: 28px;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: none;
    font-size: 14px;
}

.btn-lg {
    height: 44px;
    padding: 8px;
    border-radius: 8px;
    font-size: 20px;
}


/* Buttons types */

.btn-primary {
    background: #ffd72f;
    color: #222;
}

.btn-primary:after {
    border-color: #ffd72f;
}

.btn-primary:focus,
.btn-primary:hover {
    background: #dfb70f;
}

.btn-primary:active {
    background: #bf9700;
}

.btn-primary.btn-dark:hover {
    border-color: #ffd72f;
    background: #ffd72f;
    color: #222;
}

.btn-primary:disabled {
    background: #888;
}

.btn-secondary {
    background: #406892;
    color: #fff;
}
.btn-secondary:hover {
    background: #204872;
}

.btn-third {
    background: #ffd72f;
    color: #222;
}

.btn-third:hover {
    background: #ffd72f;
    color: #222;
}

.btn-danger {
    background: #df2d2f;
    color: #fff;
}

.btn-danger:hover {
    background: #bf0d0f;
}

.btn-light {
    border-color: #fff;
    color: #fff;
}

.btn-transparent {
    background: transparent;
}
