﻿/* ==========================================================================
   Buttons

   filename:		buttons.css
   theme        	pex
   description: 	File containing styling for button and button-like 
   					elements. 
   ========================================================================== */

/* Default button
   ========================================================================== */
.theme-pex .btn {
	border: 0;
	border-radius: 5px;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	text-decoration: none;
	vertical-align: middle;
	white-space: nowrap;
}

.theme-pex .btn--label {
	display: block;
	height: 1px;
	font-size: 0;
	overflow: hidden;
}

/* Modifiers
   ========================================================================== */

/* Combo */
.theme-pex .btn_type_combo { padding: 6px 10px; }

.theme-pex .btn_type_combo .btn--icon {
	font-size: 20px;
	padding-left: 10px;
}

/* Icon */
.theme-pex .btn_type_icon {
	padding: 6px;
	width: 34px;
}

.theme-pex .btn_type_icon .btn--icon {
	position: relative;
	top: 1px;
}

/* Text */
.theme-pex .btn_type_text { padding: 6px 10px; }

/* Properties  */
.theme-pex .btn_prop_fillwidth {
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    white-space: normal;
}

.theme-pex .btn_prop_fillwidth .icon { 
	float: right; 
	line-height: inherit;
	font-size: inherit;
}

/* Shades */

/* Blue */
.theme-pex .btn_color_blue {
	background: #2964ad;
	color: #fff;
}

.theme-pex .btn_color_blue:hover, 
.theme-pex .btn_color_blue:focus { background: #3074c7 }
.theme-pex .btn_color_blue:active { background: #235694 }

/* Dark */
.theme-pex .btn_color_dark {
	background: #393934;
	color: #fff;
}

.theme-pex .btn_color_dark:hover, 
.theme-pex .btn_color_dark:focus { background: #40403a }
.theme-pex .btn_color_dark:active { background: #2f2f2b }

/* Grey */
.theme-pex .btn_color_grey {
	background: #f2f2f2;
	color: #666;
}

.theme-pex .btn_color_grey:hover, 
.theme-pex .btn_color_grey:focus { background: #e6e6e6 }
.theme-pex .btn_color_grey:active { background: #f0f0f0 }

/* Dark Grey */
.theme-pex .btn_color_darkGrey {
	background: #8c8c8c;
	color: #f2f2f2;
}

.theme-pex .btn_color_darkGrey:hover, 
.theme-pex .btn_color_darkGrey:focus { background: #acacac }
.theme-pex .btn_color_darkGrey:active { background: #8c8c8c }

/* Red */
.theme-pex .btn_color_red {
	background: #c71432;
	color: #fff;
}

.theme-pex .btn_color_red:hover, 
.theme-pex .btn_color_red:focus { background: #f42043 }
.theme-pex .btn_color_red:active { background: #ad112b }


.theme-pex .icon_color_white { color: #fff; }
.theme-pex .icon_color_black { color: #000; }
.theme-pex .icon_color_grey { color: #e7e7e7; }
.theme-pex .icon_color_darkGrey { color: #494944; }


/* Stacked icons
   ========================================================================== */   

/**
 * Sample usage
 * <span class="icon-stack">	
 *		<span class="icon icon-stack-base icon_circle"></span>
 *		<span class="icon icon_chevron-right icon_color_grey"></span>
 *	</span>
 **/	
.theme-pex .icon-stack {
    display: inline-block;
    font-size: 1em;
    height: 1em;
    line-height: 1em;
    position: relative;
    vertical-align: middle;
    width: 1em;
}

.theme-pex .icon-stack .icon {
    display: block;
    font-size: 0.5em;
    height: 100%;
    line-height: inherit;
    position: absolute;
    text-align: center;
    width: 100%;
}

.theme-pex .icon-stack .icon-stack-base { font-size: 1em; }

.theme-pex .icon-stack_circle_arrow { font-size: 20px; }

/* Play button
   ========================================================================== */   

.theme-pex .btn-play {
	background: #d9d9d9; /* Old browsers */

	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkOWQ5ZDkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #ffffff 0%, #d9d9d9 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d9d9d9)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#d9d9d9 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#d9d9d9 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#d9d9d9 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 0%,#d9d9d9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d9d9d9',GradientType=0 ); /* IE6-8 */

	border: 0;
	border-radius: 50%;
	color: #000;
	height: 96px;
	font-size: 36px;
	text-align: center;
	width: 96px;
}

.theme-pex .btn-play .btn--icon {
	left: 4px;
	position: relative;
}