/* ======================================================================
  Button
======================================================================== */
.v2-button {
	height: 40px;
	line-height: 40px;
	padding: 0 15px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
	font-weight: 400;
	font-size: 12px;
	text-transform: uppercase;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	-webkit-transition: all .2s linear;
	transition: all .2s linear;
	box-shadow: none;
	border: 0;
}

.v2-button i {
	margin-right: 5px;
}

.v2-button.v2-primary-action {
	color: #ffffff;
	border: 0;
}

.v2-button.v2-primary-action:hover {
	background-color: #569f1b;
}

.v2-button.v2-secondary-action {
	background-color: #999999;
	color: #ffffff;
}

.v2-button.v2-secondary-action:hover {
	background-color: #666;
}

.v2-button.v2-tertiary-action,  .v2-button.v2-tertiary-action.v2-disabled-button:hover {
	background-color: #ffffff;
	color: #999999;
	border: 1px solid #999999;
}

.v2-button.v2-tertiary-action:not(.v2-button-loading):hover {
	background-color: #999999;
	color: #ffffff;
}

/* ======================================================================
  Button actions box
======================================================================== */


.v2-button-actions {
	overflow: hidden;
	margin: 0 0 40px 0;
}

.v2-button-actions .v2-primary-action {
	float: right;
}


/* ======================================================================
  Button option list
======================================================================== */
.v2-button-option-list {
	margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.v2-button-option-list .less-padding:first-of-type span {
    border-radius: 4px 0 0 4px;
}

.v2-button-option-list .less-padding:last-of-type span {
	border-radius: 0 4px 4px 0;
	border-right: 1px solid #ddd;
}

.v2-button-option-list span {
    display: block;
    height: 40px;
    text-align: center;
    border-width: 1px 0 1px 1px;
    border-color: #ddd;
    border-style: solid;
    color: #999;
    line-height: 40px;
    cursor: pointer;
    background-color: #fff;
    padding: 0 5px;
}

.v2-button-option-list span.selected {
	background-color: #f6f6f6;
	color: #333;
}

.v2-button-option-list input[type="radio"] {
	cursor: pointer;
	position: absolute;
	opacity: 0;
	bottom: 0;
	left: 0;
	min-height: inherit;
	height: 100%;
}

/* ======================================================================
  Button disabled
======================================================================== */
.v2-button.v2-disabled-button {
	opacity: .5;
	cursor: default;
	pointer-events: none;
}

/* ======================================================================
  Button loading
======================================================================== */
.v2-button.v2-button-loading {
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
    pointer-events: none;
    text-overflow: ellipsis;
}

.v2-button.v2-button-loading svg {
	    position: absolute;
	    top: 50%;
	    margin-top: -8px;
	    left: 10px;
}

.v2-button.v2-tertiary-action.v2-button-loading svg circle {
    stroke: #999 !important;
}

/* =========================================
  IE10 - IE11
========================================= */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.v2-button.v2-button-loading svg {
		display: none;
	}

	.v2-button.v2-button-loading {
		background-image: url('/cb/images/v2_images/loadingSpinner.gif');
		background-position: 10px 11px;
		background-repeat: no-repeat;
		background-size: 16px auto;
	}
}