body {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	background: transparent;
	font-size: 12px;
	height: 100%;
	overflow: hidden;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

body:not(.accessible) button, 
body:not(.accessible) a,
body:not(.accessible) [tabindex] {
	outline: none;
}

/* override wix styling */
.title {
	font: inherit;
}

h2,h3 {
	margin: 0;
	padding: 0;
	overflow: hidden;
	word-wrap: break-word;
}

table { 
	border-spacing: 0px;
	border-collapse: separate;
	font: inherit;
	color: inherit;
}

tr {
	vertical-align: top;
}

td {
	padding: 0px;
}

/* http://stackoverflow.com/a/4407335 */
.unselectable {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

a {
	cursor: pointer;
	text-decoration: none;
	color: #3b5999;
}

a:hover {
	text-decoration: underline;
}

hr {
	border: none;
	border-top: 1px solid rgba(0,0,0,0.1);
}

button {
	background: none;
	border: none;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	color: inherit;
	padding: 0;
}

.overlay-container {
	opacity: 0;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 0;
}

.overlay-container.fadeOut {
	-webkit-transition: opacity .3s ease-in;
		-moz-transition: opacity .3s ease-in;
		 -ms-transition: opacity .3s ease-in;
		  -o-transition: opacity .3s ease-in;
			  transition: opacity .3s ease-in;
}

html.visible .overlay-container {
	opacity: 1 !important;
}

html.open .overlay-container {
	background: rgba(0,0,0,0.55);
}

html.open.visible .overlay-container {
	-webkit-transition: opacity .5s ease-in;
		-moz-transition: opacity .5s ease-in;
		 -ms-transition: opacity .5s ease-in;
		  -o-transition: opacity .5s ease-in;
			  transition: opacity .5s ease-in;
}

.inffuse-container {
	position: relative;
}

body[platform=tictail] .inffuse-container {
	margin: auto !important;
}

html.open .inffuse-container{
	position: absolute;
	top: 50%;
	left: 50%;
	box-shadow: 0 7px 20px 2px rgba(0,0,0,.25);
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}

xhtml.open .inffuse-container:before {
	content: '';
	position: absolute;
	top: 3;
	right: -4px;
	bottom: -8;
	left: -4;
	display: inline-block;
	z-index: 1;
	pointer-events: none;
	border-left: 4px solid black;
	border-right: 4px solid black;
	border-bottom: 8px solid black;
	border-color: rgba(0,0,0,0.15);
	border-radius: inherit;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.15);
}

.inffuse-container{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.center-aligned {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}

#template-container {
	border-radius: inherit;
}

#promotion {
	font-weight: 400;
	color: #888;
	background : #F8F9FC;
	margin: 15px auto 0 auto;
	position: relative;

	white-space: nowrap;
	padding: 6px 22px 8px;
	width: 90%;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;

	border-radius : 2px;
	-moz-border-radius : 2px;
	-webkit-border-radius : 2px;

	font-family : Open Sans;
	font-size : 13px;
	color : #999;
}

#promotion:xbefore {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	top: -18px;
	left: 0;
	border-top: 1px solid #bbb;
}

#promotion a {
	text-decoration: none;
	font-weight: 600;
	color : #999;
}

#promotion a:hover {
	color : #707070;
}

/*--------------------------------*/

.fb-like {
	min-width: 49px;
	min-height: 20px;
	display: inline-block;
	overflow: hidden;
}

#like-with-details {
	white-space: nowrap;
	min-height: 20px;
}

#like-with-details .fb-like {
	margin-right: 3px;
	vertical-align: top;
}

#like-with-details .details {
	display: inline-block;
	vertical-align: top;
	margin-top: 1px;
}

.details {
	min-height: 1em;
}

/*--------------------------------*/

#close {
	position: absolute;
	top: 16px;
	right: 14px;
	cursor: pointer;
	z-index: 9999;
}

/*--------------------------------*/

#users-gallery a[href=""] {
	pointer-events: none;
}

/*--------------------------------*/
