/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	font-family: "Roboto", sans-serif;
	color: #4d4d4d;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ---- FLEX ---- */

.facet-container {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	width: 100%;
}
.left {
	flex-grow: 1;
	min-height: 100%;
}
.right {
	background-color: #dbe8ed;
	width: 30%;
	min-width: 300px;
	padding: 10px;
}



/* ---- ELEMENTS ---- */

h1, h2, h3, h4, h5, h6 {
	font-weight:900;
	color: #377293;
	text-transform: uppercase;
	letter-spacing: -1;
	margin: 0;
}
h1 {
	font-size: 2.2em;
	margin:0.4em 0;
}
h2 {
	font-size: 1.6em;
	text-align: center;
	margin:0.6em 0;
}

header {
	display: block;
	clear: both;
	min-height: 145px;
}
header p {
	line-height: 1.2;
}
.logo {
	width:180px;
	height: 100px;
	float: left;
	margin-right: 10px;
}
.logo img {
	width: 100%;
	height: auto;
}

.titles {
	float: left;
	width: 70%;
}

.facet-list {
	list-style-type: none;
	padding: 0;
	width: 100%;
	text-align: center;
	min-height: 100%;
	font-size: 0.85em;
}

.facet-list li {
	display: inline-block;
	margin: 5px;
}

.facet-list li.placeholder {
  height: 160px;
}

.facet {
	width: 280px;
	height: 155px;	
	cursor: move;
}

.facet img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow: rgba(0,0,0,0.10) 3px 3px 4px;
}

.facet.ui-sortable-helper {
  opacity: 0.5;
}

.placeholder {
	width: 280px;
	height: 155px;	
	border: 1px dashed #468ba3;
	background-color: #bed6de;
}

footer {
	clear: both;
	display: flex;
	min-height: 120px;
	align-items: center;
	justify-content: space-around;	
}

.badge {
	width:60px;
	height: auto;
	margin-right: 15px;
}

footer p {
	display: inline-block;
}

/* ---------------------------- MOBILE AUTO ROTATE TO LANDSCAPE -------------------------------- */
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    height: 100vw;
    position: absolute;
    top: 100%;
    left: 0;
  }
}

/* ---------------------------- PRINT -------------------------------- */
@media print {
	@page {
		margin: 0.5cm;
		size: A4 landscape;
		max-height:100%;
		max-width:100%;
	}
	* {
		background:transparent !important;
		color:#000 !important;
		text-shadow:none !important;
		filter:none !important;
		-ms-filter:none !important;
	}
	body {
		margin:0;
		padding:0;
		line-height: 1.4em;
	}
	p {
	    widows: 10;
	    orphans: 10;
	}
	.facet {
		width: 200px;
		height: 110px;
	}
}
