
/* content */

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.hidden {
	display: none;
}





/* content: anchors */

a {
}

a:hover {
}

a:active {
}





/* content: anchors: buttons */

a.button {
	display: inline-block;
	
	padding: 5px 10px;
	
	border: 0;
	
	color: #fff; /* white */
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	
	background-color: #090; /* green */
}

a.button:hover {
	background-color: #060; /* darker green */
}

a.button i.fa {
	margin-right: 5px;
	
	font-size: 14px;
}

/**/

a.button.block {
	display: block;
}

/**/

a.button.cancel {
	background-color: #f00; /* red */
}

a.button.cancel:hover {
	background-color: #c00; /* darker red */
}

/**/

h1 a {
	display: block;
	
	float: right;
}





/* content: anchors: button groups */

div.buttons {
	margin-right: -5px;
}

div.buttons:before,
div.buttons:after {
	display: table;
	
	clear: both;
	
	content: " ";
}

div.buttons > div {
	float: left;
	
	padding-right: 5px;
}





/* content: columns */

.cols {
	margin: 0 -10px;
}

.cols:before,
.cols:after {
	display: table;
	
	clear: both;
	
	content: " ";
}

[class*="col-"] {
	float: left;
	
	padding: 0 10px;
}

.col-1-2 {
	width: 50%;
}

.col-1-3 {
	width: 33.333%;
	width: calc(1/3 * 100%);
}

.col-1-4 {
	width: 25%;
}

.col-1-5 {
	width: 20%;
}

.col-1-6 {
	width: 16.666%;
	width: calc(1/6 * 100%);
}

.col-2-3 {
	width: 66.666%;
	width: calc(2/3 * 100%);
}

.col-3-4 {
	width: 75%;
}

.col-2-5 {
	width: 40%;
}

.col-4-5 {
	width: 80%;
}





/* content: headings */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 20px 0;
	
	font-weight: bold;
	
	background-color: #9ff; /* dev */
}

h1,
h2 {
	margin-top: 0;
}

h1 i.fa,
h2 i.fa,
h3 i.fa,
h4 i.fa,
h5 i.fa,
h6 i.fa {
	margin-right: 5px;
	
	font-size: 14px;
}

/**/

section > h1:first-child,
section > h2:first-child,
section > h3:first-child,
section > h4:first-child,
section > h5:first-child,
section > h6:first-child {
	margin: -20px -20px 20px;
	
	/*text-align: center;*/
}





/* content: highlights */

.required {
	color: #f00; /* dev */
	font-weight: bold;
}





/* content: images */

figure img {
	display: block;
	
	width: 100%;
	height: auto;
}

/**/

main figure {
	padding-bottom: 75%;
	overflow: hidden;
	
	background-color: #0cf; /* dev */
}

main figure img {
	position: absolute;
	top: 50%;
	left: 50%;
	
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;	
	
	-webkit-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);
}

/**/

table.data img.attention {
	margin-left: 10px;
	width: auto;
	height: 16px;
	
	vertical-align: middle;
}





/* content: images: placeholders */

figure.placeholder div {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

figure.placeholder div:after {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	
	color: #fff; /* dev */
	content: "\f03e"; /* fa-picture-o */
	font-family: FontAwesome;
	font-size: 56px;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	text-decoration: inherit;
	
	-webkit-transform: perspective(1px) translateX(-50%) translateY(-50%);
	    -ms-transform: perspective(1px) translateX(-50%) translateY(-50%);
	        transform: perspective(1px) translateX(-50%) translateY(-50%);
}

/**/

table.data td.thumbnail figure.placeholder div:after {
	font-size: 14px;
}

/**/

ul.results.small figure.placeholder div:after {
	font-size: 14px;
}





/* content: lists: results */

ul.results {
	margin: 0;
	padding: 0;
	
	list-style: none;
	
	border-top: 1px solid #ccc; /* dev */
}

ul.results li {
	margin: 0;
	padding: 10px 0;
	
	border-bottom: 1px solid #ccc; /* dev */
	
	line-height: 18px;
}

ul.results li a {
	display: block;
}





/* content: lists: thumbnails */

ul.thumbnails {
	margin: -5px;
	padding: 0;
	
	list-style: none;
}

ul.thumbnails:before,
ul.thumbnails:after {
	display: table;
	
	clear: both;
	
	content: " ";
}

ul.thumbnails li {
	float: left;
	
	margin: 0;
	padding: 5px;
	width: 10%;
	
	cursor: pointer;
}

/*ul.thumbnails li a {
	display: block;
	
	position: absolute;
	top: 0;
	right: 0;
	
	padding: 0 5px;
	height: 20px;
	
	color: #000; /* black /
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	
	background-color: rgba(255, 255, 255, 0.75); /* dev /
}*/

/**/

ul.thumbnails {
	margin: 0 -5px;
}

ul.thumbnails.small li {
	padding: 10px 5px 0;
	width: 20%;
}

/*ul.thumbnails.small li:(3n + 1) {
	clear: left;
}

/*ul.thumbnails.small li img {
	display: block;
	
	width: 100%;
	height: auto;
}*/





/* content: lists: errors */

ul.errors {
	padding-top: 10px;
	padding-bottom: 10px;
	
	background-color: #f9f; /* dev */
}

ul.errors li {
	margin: 0;
}





/* content: paragraphs */

p {
	margin: 20px 0;
	
	background-color: #cfc; /* dev */
}

p.success {
	background-color: #9f6; /* dev */
}

p.error {
	background-color: #f9f; /* dev */
}

p.notice {
	background-color: #3cf; /* dev */
}

p.warning {
	background-color: #f90; /* dev */
}





/* content: sections */

section.meta {
	margin-bottom: 20px;
	padding: 0;
	
	background-color: #ff0; /* dev */
}





/* content: errors */

div.error {
	margin-bottom: 20px;
	padding: 0 20px 20px;
	
	color: #fff; /* white */
	
	background-color: #f00; /* dev */
}

div.error h1 {
	margin: 0 -20px;
	background-color: #900; /* dev */
}

div.error p {
	background-color: transparent;
}

div.error ul {
	margin-bottom: 0;
}

div.error ul li {
	margin-bottom: 0;
}





/* content: star rating */

span.rating {
	display: inline-block;
	
	color: #ccc; /* dev */
	font-family: FontAwesome;
	font-size: 16px;
}

span.rating:before,
span.rating span:before{
	display: block;
	
	content: "\f005\f005\f005\f005\f005"; /* fa-star */
}

span.rating span {
	position: absolute;
	top: 0;
	left: 0;
	
	overflow: hidden;
	
	color: #090; /* dev */
}

div.rate {
	display: inline-block;
	
	color: #ccc; /* dev */
	direction: rtl;
	font-family: FontAwesome;
	font-size: 16px;	
}

div.rate > span {
	display: block;
	
	float: right;
}

div.rate > span a {
	display: block;
	
	color: inherit;
	text-decoration: none;
}

div.rate > span:hover,
div.rate > span:hover ~ span {
	color: #090; /* dev */
}
