/*
 * FONTS
 *
 */

@font-face {
	font-family: 'Open Sans';
	font-weight: 300;
	src: url('../fonts/OpenSans-Light.ttf') format('truetype');
}

@font-face {
	font-family: 'Open Sans';
	font-weight: 400;
	src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Open Sans';
	font-weight: 600;
	src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
}

/*
 * GENERAL
 * 
 */

* {
    border: 0;
    margin: 0;
    padding: 0;
}

body,
html {
    color: #000;
	font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
    width: 100%;
}

body {
	background: rgb(255, 255, 255);
	background: rgba(255, 255, 255, .85);
}

.center {
	text-align: center;
}

.middle {
	vertical-align: middle;
}

.img-label-right {
	padding-left: 15px;
}

h2 {
	border-bottom: 1px solid #000;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px;
	padding-bottom: 5px;
}

.button {
	display: inline-block;
	color: #fff;
	font-weight: 600;
	padding: 10px 8px;
	position: relative;
	text-decoration: none;
	z-index: 102;
}

.button::before {
	background-color: #ff944d;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	bottom: 0;
	content: '';
	display: block;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: -1;
}

.button::after {
	background: #ff6600;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	transition: opacity 0.5s ease, width 0.5s ease;
	-moz-transition: opacity 0.5s ease, width 0.5s ease;
	-webkit-transition: opacity 0.5s ease, width 0.5s ease;
	width: 0.1px;
	z-index: -1;
}

.button:hover::after {
	opacity: 1;
	width: 100%;
}

/*
 * BOXES
 *
 */

#box-container {
	margin: 0 auto;
	overflow: auto;
	width: 100%;
}

.box {
	background: rgb(255, 255, 255);
	background: rgba(255, 255, 255, .95);
	box-shadow: rgb(153, 153, 153) 2px 2px 5px;
	-moz-box-shadow: rgb(153, 153, 153) 2px 2px 5px;
	-webkit-box-shadow: rgb(153, 153, 153) 2px 2px 5px;
	margin: 15px auto;
	opacity: 1;
	transform: scale(1);
	transition: opacity 0.5s ease, transform 0.5s ease;
	-moz-transition: opacity 0.5s ease, transform 0.5s ease;
	-webkit-transition: opacity 0.5s ease, transform 0.5s ease;
	width: 375px;
}

.box-hidden {
	opacity: 0;
	transform: scale(0.5);
	-moz-transform: scale(0.5);
	-webkit-transform: scale(0.5);
}

.box-hover:hover {
	transform: scale(1.02);
	-moz-transform: scale(1.02);
	-webkit-transform: scale(1.02);
}

.box-table {
	border-collapse: collapse;
	display: table;
	width: 100%;
}

.box-content {
	display: table-cell;
	padding: 10px;
	position: relative;
	vertical-align: top;
}

.box-thumb-container {
	display: table-cell;
	height: 100px;
	overflow: hidden;
	width: 100px;
}

.box-large .box-thumb-container {
	height: 150px;
	width: 150px;
}

.box-thumb {
	display: block;
	height: 100%;
	width: 100%;
}

.box-button {
	position: absolute;
	right: 10px;
	top: 52px; /* bottom better but problems with MS Edge */
}

.box-large .box-button {
	top: 102px;
}