/* ------------------------------------------
# Button styling
## Primary®
## Primary Alternative
## Secondary
## Tertiary
## Disabled
## Disabled Alternative

# Sizes
## Small
## Medium
## Large

# Button text
# Button text container
# Button icon

# Button group
## Left
## Right
--------------------------------------------- */
.els-btn {
    font-family: "NexusSans", Arial, sans-serif;
    color: #505050;
    font-weight: 400;
    display: table;
    border: none;
    background-color: transparent;
    box-sizing: content-box;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1rem;
    padding: 0;
    transition: background-color .3s ease, border-color .3s ease;
}

.els-btn:hover {
    color: #e9711c;
}

.els-btn--primary.els-btn--left .els-btn-text, .els-btn--secondary.els-btn--left .els-btn-text, .els-btn--tertiary.els-btn--left .els-btn-text, .els-btn--disabled.els-btn--left .els-btn-text, .els-btn--disabled_alternative.els-btn--left .els-btn-text {
    border-left: 0;
}

.els-btn--primary.els-btn--right .els-btn-text, .els-btn--secondary.els-btn--right .els-btn-text, .els-btn--tertiary.els-btn--right .els-btn-text, .els-btn--disabled.els-btn--right .els-btn-text, .els-btn--disabled_alternative.els-btn--right .els-btn-text {
    border-right: 0;
}

.els-btn--primary_alternative.els-btn--left .els-btn-text {
    border-right: 0;
}

.els-btn--primary_alternative.els-btn--right .els-btn-text {
    border-left: 0;
}

.els-btn--basic_link .els-btn-icon {
    color: #007398;
    width: auto !important;
    border-bottom: .125rem solid transparent;
}


.els-btn--basic_link.active .els-btn-text-container, .els-btn--basic_link.active .els-btn-icon {
    color: #e9711c;
}

.els-btn--basic_link:hover .els-btn-text-container, .els-btn--basic_link.confirmation:hover .els-btn-text-container, .els-btn--basic_link.warning:hover .els-btn-text-container, .els-btn--basic_link.information:hover .els-btn-text-container {
    border-bottom: 0.125rem solid #e9711c;
}

.els-btn--basic_link:hover .els-btn-icon, .els-btn--basic_link.confirmation:hover .els-btn-icon, .els-btn--basic_link.warning:hover .els-btn-icon, .els-btn--basic_link.information:hover .els-btn-icon {
    color: #e9711c;
}

.els-btn--basic_link .els-btn-icon-only:hover {
    border-bottom: 0.125rem solid #e9711c;
}

.els-btn--primary {
    color: #ffffff;
    background-color: #007398;
    border: 0.125rem solid #007398;
}

.els-btn--primary .els-btn-text {
    border-left: .83333rem solid transparent;
    border-right: .83333rem solid transparent;
}

.els-btn--primary .els-btn-icon {
    color: #ffffff;
    border: none;
}

.els-btn--primary:hover{
    color: #ffffff;
    background-color: #e9711c;
    border: 0.125rem solid #e9711c;
}


.els-btn--primary_alternative .els-btn-text {
    border-left: .83333rem solid transparent;
    border-right: .83333rem solid transparent;
}

.els-btn--primary_alternative .els-btn-icon {
    color: #ffffff;
    background-color: #007398;
    border: 0.125rem solid #007398;
}

.els-btn--primary_alternative:hover .els-btn-icon {
    background-color: #e9711c;
    border-color: #e9711c;
}


.els-btn--secondary {
    background-color: transparent;
    border: 0.125rem solid #007398;
}

.els-btn--secondary:hover {
    color: #ffffff;
    background-color: #e9711c;
    border-color: #e9711c;
}

.els-btn--secondary .els-btn-text {
    border-left: .83333rem solid transparent;
    border-right: .83333rem solid transparent;
}

.els-btn--secondary .els-btn-icon {
    color: #007398;
    border: none;
}

.els-btn--secondary:hover .els-btn-icon {
    color: #ffffff;
}



.els-btn--tertiary {
    background-color: transparent;
    border: 0.125rem solid #b9b9b9;
}

.els-btn--tertiary:hover {
    color: #ffffff;
    background-color: #e9711c;
    border-color: #e9711c;
}

.els-btn--tertiary .els-btn-text {
    border-left: .83333rem solid transparent;
    border-right: .83333rem solid transparent;
}

.els-btn--tertiary .els-btn-icon {
    color: #007398;
    border: none;
}

.els-btn--tertiary:hover .els-btn-icon {
    color: #ffffff;
}


.els-btn--small {
    font-size: 1rem;
}

.els-btn--small .els-btn-icon {
    width: auto;
    height: 1.75rem;
    line-height: 1.75rem;
    padding: 0 .25rem;
}

.els-btn--small .els-btn-icon i {
    top: 0.125rem;
    font-size: 1.5rem;
}

.els-btn--medium {
    font-size: 1.25rem;
}

.els-btn--medium .els-btn-icon {
    width: 2.25rem;
    height: 2.25rem;
    line-height: 2.25rem;
    font-size: 1.875rem;
}

.els-btn--medium .els-btn-icon i {
    top: 0.25rem;
    font-size: 1.75rem;
}

.els-btn--large {
    font-size: 1.5rem;
}

.els-btn--large .els-btn-icon {
    width: 2.75rem;
    height: 2.75rem;
    line-height: 2.75rem;
}

.els-btn--large .els-btn-icon i {
    top: 0.25rem;
    font-size: 2rem;
}

.els-btn-text {
    display: table-cell;
    vertical-align: middle;
    line-height: 1;
}

.els-btn-text-container {
    border-bottom: .125rem solid transparent;
    transition: border-color .3s ease, color .3s ease;
    white-space: nowrap;
}

.els-btn-icon {
    display: table-cell;
    box-sizing: content-box;
    width: 2rem;
    height: 2rem;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    border: .125rem solid transparent;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.els-btn-icon i {
    position: relative;
    top: .175rem;
    font-family: SSGizmo;
    line-height: 1;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-transform: none;
    vertical-align: middle;
    speak: none;
}

.els-btn-group--left {
    float: left;
}

.els-btn-group--left:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.els-btn-group--left .els-btn {
    float: left;
    margin-right: 1rem;
}

.els-btn-group--right {
    float: right;
}

.els-btn-group--right:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.els-btn-group--right .els-btn {
    float: left;
    margin-left: 1rem;
}

.els-btn-group--vertical-aligned {
    display: table-cell;
    vertical-align: middle;
}
