/* Admin
/* ------------------------------------------------------------- */

.neumayer-button.is-admin {
    position: relative;
    border: solid 1px #eee;
    padding: 10px;
    overflow: visible;
}

a.neumayer-button.is-admin .block-label {
    position: absolute;
    bottom: 100%;
    right: 10px;
    font-family: Lato, Arial, sans-serif;
    background-color: #eee;
    color: #000000;
    font-weight: 400;
    padding: 3px 7px;
    font-size: 10px;
}

.neumayer-button.text-align-center.is-admin {
    text-align: center;
}

.neumayer-button.text-align-left.is-admin {
    text-align: left;
    left: 0;
}

.neumayer-button.text-align-right.is-admin {
    text-align: right;
    left: 100%;
}

/* Frontend
/* ------------------------------------------------------------- */

#neumayer-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

a.neumayer-button {
    position: relative;
    display: inline-block;
    color: #52a133 !important;
    font-size: 1.1em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    margin: 1em 0 2em;
    padding: 10px 20px;
    overflow: hidden;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: all 0.2s linear;
}

a.neumayer-button span {
    position: absolute;
    display: block;
}

/* Line bottom
/* ------------------------------------------------------------- */

a.neumayer-button span:nth-child(3) {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #52a133;
}

/* Line right animated
/* ------------------------------------------------------------- */

a.neumayer-button span:nth-child(2) {
    bottom: 0;
    right: 0;
    width: 1px;
    height: 0;
    background: #52a133;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-transition-delay: 0.6s;
    -o-transition-delay: 0.6s;
    transition-delay: 0.6s;
}

a.neumayer-button:hover span:nth-child(2),
a.neumayer-button:active span:nth-child(2),
a.neumayer-button:focus span:nth-child(2),
a.neumayer-button:visited span:nth-child(2) {
    height: 100%;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;
}


/* Line top animated
/* ------------------------------------------------------------- */

a.neumayer-button span:nth-child(1) {
    top: 0;
    right: -100%;
    width: 100%;
    height: 1px;
    background: #52a133;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-transition-delay: 0.4s;
    -o-transition-delay: 0.4s;
    transition-delay: 0.4s;
}

a.neumayer-button:hover span:nth-child(1),
a.neumayer-button:active span:nth-child(1),
a.neumayer-button:focus span:nth-child(1),
a.neumayer-button:visited span:nth-child(1) {
    right: 0;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-transition-delay: 0.4s;
    -o-transition-delay: 0.4s;
    transition-delay: 0.4s;
}



/* Line left animated
/* ------------------------------------------------------------- */

a.neumayer-button span:nth-child(4) {
    top: 0;
    left: 0;
    width: 1px;
    height: 0;
    background: #52a133;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

a.neumayer-button:hover span:nth-child(4),
a.neumayer-button:active span:nth-child(4),
a.neumayer-button:focus span:nth-child(4),
a.neumayer-button:visited span:nth-child(4) {
    height: 100%;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-transition-delay: 0.6s;
    -o-transition-delay: 0.6s;
    transition-delay: 0.6s;
}