﻿/********************************************** 
partButtons
**********************************************/

/* Fundementals */
.partButton {
    background-color: transparent;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    outline: 0;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    border: none;
    max-width: 100%;
    vertical-align: top;
}

/* Label */
.buttonLabel {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 1;
}

/* Configuration */
.partButton {
    height: 46px;
    line-height: 1.3em;
    font-weight: 500;
    transition: 0.2s;
    margin-bottom: 30px;
}

/* Default states */
.partButton:active {
    transform: translateY(2px);
}

.partButton:hover,
.partButton:focus {}

/* Primary button style (also used for form buttons) */
.partButton {
    font-size: 18px;
    background-color: #A69016;
    color: #fff;
    border-radius: 3px;
    padding: 0px 20px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.25);
    font-family: inherit;
    font-weight: 500;
}

.partButton.naked {
    background-color: transparent;
    color: #A69016;
    border-bottom: solid 3px #A69016;
    border-radius: 0px;
    padding: 0px;
    box-shadow: none;
}

.partButton.naked:hover {color: #0073A1; border-bottom-color: #0073A1;}
.partButton.naked:hover:after {display: none;}

/********************************************** 
Effects
**********************************************/

@media screen and (max-width: 767px) {
    .partButton:hover:after {
        display: none;
    }

    /* disables the effect for mobile */
}

.partButton:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 0;
    left: -60px;
    top: 0;
    transform: skew(50deg);
    transition-duration: 0.6s;
    transform-origin: top left;
    background-color: #0073A1;
}

.partButton:hover:after {
    height: 100%;
    width: calc(100% + 120px);
}
