/* CSS that is common for IMOS *and* the Wizard */


/*==================================================================================================
Header
==================================================================================================*/

.imos-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	color: #fff;
}

.imos-header.invisible {
    opacity: 0;
}

.imos-header.bright {
	color: #000;
	transition: color 1s ease;
	transition-delay: 0.5s;
}

.clickable {
	cursor: pointer;
}

/*==================================================================================================
Header - left side
==================================================================================================*/

h2,
h3 {
	font-weight: normal;
	padding: 0px;
	margin: 0px;
	outline: none;
}


/* Business name, plus header of all slides */

h2 {
	font-family: arial;
	font-size: 20px;
}

.imos-header .left {
	position: fixed;
	top: 20px;
	left: 50px;
}


.imos-window .left
{
	display: none;
}

.imos-window.showing-menu .left
{
	display: inline-block;
}



.imos-header .logo {
    background-color: transparent;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 100% !important;
	background-image: url(https://lh3.googleusercontent.com/PVw5qfegr3TcOhyx6UH2QShnmtTexxEIuzECuxiKnbfkzYPv28lrzSMSnelUe7nkoYjs-KLxOYzo1wgOSZk);

	float: left;
	overflow: hidden;
	height: 40px;
	transition: all 0.5s ease-in-out;
	width: 0px;
	opacity: 0;
	margin-right: 0;
}

.imos-header .logo.visible {
	width: 40px;
	opacity: 1;
	margin-right: 20px;
}

.imos-header .business-name {
	float: left;
	height: 40px;
	min-width: 40px;
	line-height: 40px;
	vertical-align: middle;
	font-size: 14px;
	font-weight: bold;
}


/*==================================================================================================
Header - right side
==================================================================================================*/

.imos-header .right {
	position: fixed;
    top: 10px;
    right: 30px;
}

.imos-header .right * {
	display: none;
	color: white;
	font-size: 14px;
}

.imos-header .right>* {
	float: right;
	height: 40px;
	line-height: 40px;
	vertical-align: middle;
}

.imos-header .right .user-module {
    padding: 0 8px;
}

.imos-header .right .user-module .user-box > span {
    padding-right: 8px;
}

.imos-header .right .user-module .user-box > span:last-of-type {
    padding-right: 0;
}

.imos-header .right .visible {
	display: block;
}

.imos-header .right span.visible {
	display: inline;
}

.imos-header .right .logout-button {
	color: #999;
}

.imos-header .right .preview-button, .imos-header .right .publish-button, .imos-header .right .connect-domain-button {
	background-color: rgba(0, 0, 0, 0.15);
    padding: 9px 12px !important; /* even if last-of-type */
    color: white;
    font-family: arial;
    font-size: 12px;
}

.imos-header .right .user-balance {
	color: #30B030;
}

.imos-header .right .user-tier {
	color: #999;
}
.imos-header .icon {
	width: 40px;
	height: 40px;
	margin-left: 5px;
}

.imos-header .icon.imos-hamburger {
	z-index: 1000;
	background-image: url(/images/ui_icons/matrix_icon.png);
}

.imos-header .icon.imos-help {
	z-index: 123456789;
	background-image: url(/images/ui_icons/tips_ico.png);
	background-size: 50px;
	background-position: center -3PX;
}


/*==================================================================================================
Header - responsive
==================================================================================================*/

@media only screen and (max-width: 800px) {
	.imos-header .left {
		top: 5px;
		left: 10px;
	}
	
	.imos-header .right {
    	top: 5px;
    	right: 14px;
	}

	.imos-header .right .user-module {
		padding: 0;
	}
	.imos-header .business-name,
	.imos-header .right * {
		font-size: 12px;
	}
}

@media only screen and (max-width: 640px) {
	.imos-header .right .imos-help,
	.imos-header .right .user-balance,
	.imos-header .right .user-tier,
	.imos-header .right .username
	{
    	display: none !important;
	}
	.imos-header .right .logout-button
	{
    	display: inline !important;
	}

	#head-text
	{
		display: none!important;
	}


}

/*==================================================================================================
Slide Elements: columns
==================================================================================================*/

.column {
	display: inline-block;
	vertical-align: top;
}

.three-columns {
	width: 32%;
}

@media only screen and (max-width: 800px) {
	.three-columns {
		width: 47%;
	}
}

.column .column-inner {
	padding: 0 20px 0 0;	
}

.column.hide-by-default {
	opacity: 0;
	pointer-events: none;
}

.column.hide-by-default.visible {
	opacity: 1;
	pointer-events: initial;
	transition: opacity 1.5s ease-out;
}


/*==================================================================================================
Slide Elements: photo upload
==================================================================================================*/

.photo-wrapper {
	position: relative;
	width: 100%;
	display: inline-block;
	cursor: pointer;
}

.photo-wrapper.qq-upload-button-hover {
	background: rgba(0, 0, 0, 0.1);
}

.photo-wrapper .height-filler {
	/* Always keeps photo-wrapper's aspect ratio, regardless of width */
	margin-top: 66.6%;
	pointer-events: none;
}

.photo-wrapper .height-filler.square {
	/* Always keeps photo-wrapper's aspect ratio, regardless of width */
	margin-top: 100%;
	pointer-events: none;
}


.photo-wrapper input {
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	outline: none;
}

.qq-upload-button-hover {
	background: transparent !important;
}

.photo-wrapper .fa-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 40px;
	margin-left: -20px;
	margin-top: -20px;
	color: #777;
}

.photo-wrapper .photo {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: hidden;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	pointer-events: none;
}

.col2 .photo-wrapper {
	width: 66.6%;
}

.photo-wrapper .photo.filled {
	border: solid 1px rgba(80, 80, 80, 0.7);
	background-color: rgba(0,0,0,0.2);
	background-size: cover;
	background-position: 50% 30%; /* Photo */
}

.photo-wrapper .photo.filled.dont-crop {
	background-size: 100% !important;
	background-position: 50% 30%; /* Logo */
}

.photo-wrapper .photo.add {
	border: dashed 2px #999;
	background-image: url("/images/wizard-plus.png");
	background-size: 30px 30px;
}

.photo-wrapper .photo.uploading {
	border: dashed 2px #999;
	background-image: none !important;
	background-size: 30px 30px !important;
}

.clip-circle {
	border-radius: 50%;
	overflow: hidden;
}


/*==================================================================================================
Angular ng cloak - this is used to ensure smooth loading of angular apps
==================================================================================================*/

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}


 .icon.imos-hamburger.loading-state {
	pointer-events: none;
    background-image: url(/images/x_loader.gif)!important;
    background-repeat: no-repeat;
    background-position: top;
    background-size: 40px;
}
