.theme-nav-btn {
	opacity: 0;
	position: absolute;
	width: 50px;
	height: 50px;
	background-image: url("/images/ui_icons/pagination_left.png");
	z-index: 10;
	background-size: contain;
	background-position: center center;
	background-size: 100%;
	cursor: pointer;	
   	top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
}

.theme-nav-btn.visible {
    opacity: 1;
}

.animated {
    transition-property: all;
	transition-duration: 0.8s;
	transition-timing-function: cubic-bezier(.25, .91, .12, 1);
}
.animated.slow {
	transition-duration: 1.5s;
}

.theme-nav-btn:hover {
	transform: translate(-50%, -50%) scale(1.2) ;
}

.theme-nav-btn.hover {
	transform: translate(-50%, -50%) scale(1.4) ;
}

.theme-nav-btn.prev {
	left: 25px;
}

.theme-nav-btn.next {
	right: -25px;
	background-image: url("/images/ui_icons/pagination_right.png");
}



.identity-controls-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    height: 30%;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    overflow: hidden;   
}

.identity-controls {
    position: absolute;
    display: block;
    width: auto;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -30px;
    z-index: 10;
}

.identity-controls.visible {
    bottom: 60px;
    width: 930px;
}

.debug-controls {
    bottom: 0;
    background: Transparent;
    opacity: 0.1;
    padding: 20px 0;
    transform: none;
    left: 0;
    height: auto;
    position: absolute;
    margin-bottom: -70px;
}

.debug-controls .control {
    height: auto !important;
}

@media only screen and (max-width: 800px) {
	.debug-controls {
		display: none;
	}
}

.identity-controls .control{
    height:60px;
    margin-left:20px;
    float:left;
    position:relative;
    display:block;
    background:none;
    cursor:pointer;
}
.identity-controls .spacer{
    height:60px;
    margin-left:20px;
    width:40px;
    float:left;
    position:relative;
    display:block;
    background:none;
}

.identity-controls .control .colorCircle{
    width: 30px;
    margin-top: 40px;
    height: 30px;
    border: solid 1px transparent;
    background-clip: content-box;
    border-radius: 25px;
    background-color: #eee;
    background-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black),linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0;
}
.identity-controls .control .colorCircle.visible {
    opacity: 1;    
    transition: opacity 0.3s ease-in-out;
}

.colorCircle .circle{
    width: 32px;
    height: 32px;
    border: solid 1px rgba(255,255,255,0.2);
    background-clip: content-box;
    top: -2px;
    left: -2px;
    position: relative;
    display: block;
    border-radius: 50%;
}

.colorCircle .circle.fading {
    transition: background-color 0.5s ease-in-out;
    transition-delay: 0.4s;
}


.identity-controls .control .viewOption{
    width:50px;
    margin-top:30px;
    height:50px;
    display:block;
    background-size:contain;
    background-position:center;
    filter: brightness(0.6);
}

.viewOption[data-view="desktop"] {
    background-image:url(/images/desktop.png);
}
.viewOption[data-view="mobile"] {
    background-image:url(/images/mobileicon.png);
}
.viewOption[data-view="shirt"] {
    background-image:url(/images/shirticon.png);
}
.viewOption[data-view="bizcard"] {
    background-image:url(/images/card.png);
}
.viewOption[data-view="stationary"] {
    background-image:url(/images/paper.png);
}
.identity-controls .control .viewOption.selected{
   filter: brightness(10);
}

.identity-navigation-wrapper {
	position: absolute;
	left: 50%;
	top: 50%;
	padding: 0px;
	margin: 0px;
	transform: translate(-50%, -50%);
    width: 90%;
	height: 80%;
    z-index: 19;
    pointer-events: none;
}
.identity-navigation-wrapper .theme-nav-btn {
    pointer-events: all;
}

/* ----------------------------------------------------------------------------------------------*/
/* ---- SLIDE BACKGROUND - START ----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------*/


.momentary_hide{
    opacity:0 !important;
}


/* Slide background */
.slide-background {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: 0;
    overflow: hidden;
}

.invisible .slide-background {
    background: black !important;
}





.slide-background.animate {
	transition: margin 1s ease;
}

.slide-background .template,
.slide-background .welcome {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100vw;
	background-color: Transparent;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.slide-background .welcome {
	background: #000;
    opacity: 1;
    z-index: 18;
}
.slide-background .welcome.disappear {
    margin-left: -100vw;
    opacity: 0;
    transition: all 1s ease;
}

.slide-background .welcome .msg {
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0;
    transition: opacity 1s ease;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 200;
    font-family: HelveNueThinNormal;
    font-size: 64px;
}


.slide-background .welcome .msg.visible {
    opacity: 1;
}



/* All elements (opacity:0 by default) */
.slide-background .element {
    position: absolute;
    top: 50vh;
    left: 50vw;
    border: none;
    box-shadow: none;
    opacity:0;
    transition: opacity 0.5s ease;
}

.slide-background .element.promo_frame {
    z-index:5;

	width: 100vw;
	height: 100vh;
    margin-top:-50vh;
    margin-left:-50vw;
    transform:scale(0.6);
	box-shadow: -7px 100px 80px 4px rgba(0,0,0,0.25);
    transition: opacity 0.5s ease;
}


.slide-background.mobile .element.promo_frame{
    width: 300px;
    height: 540px;
    margin-top: -335px;
    margin-left: -140px;
    transform:none;
    box-shadow: none;
    top: 50vh;
    left: 50vw;
    border: none;
}

.slide-background .element.promo_frame.animate {
    transition: all 0.5s ease !important;
}


.slide-background .element.promo_frame.animateFromMobile {
    transition: all 0s ease 2s, opacity 0.5s ease !important;
}



.slide-background .element.mobile_hand{
	width: 600px;
	height: 1000px;
    margin-top:-450px;
    margin-left:-300px;
    z-index:4;
    background-image:url('/images/mobile_hand.png');
    background-size: 100%;
}
.slide-background .element.stationary{
    width: 80%;
    max-width: 800px;
    height: 60%;
    transform: translate(-50%, -50%);
    z-index: 4;
    background: linear-gradient(white 80%, transparent);
}
.slide-background .element.bizcard{
    width: 500px;
    transform: translate(-50%, -50%);
    z-index: 4;
    background: white;
    box-shadow: -7px 100px 80px 4px rgba(0,0,0,0.25);
}
.slide-background .element.bizcard .height-filler {
    margin-top: 50%;
}
.slide-background .element.shirt{
	width: 800px;
	height: 700px;
    margin-top:-400px;
    margin-left:-400px;
    z-index:6;
    background-image:url('/images/shirt.png');
    background-size: 100%;
    background-repeat:no-repeat;
    mix-blend-mode: multiply;
}
.slide-background .element.shirt-backcolor{
    background-image: url(/images/shirt_background.png);
    background-blend-mode: exclusion;
    mix-blend-mode: hard-light;
}
.slide-background .element.shirt-print {
    width: 290px;
    margin-left: -160px;
    height: 400px;
    margin-top: -170px;
    z-index: 8;
}


/* Show elements only in the following cases */
.slide-background.desktop .element.promo_frame,
.slide-background.mobile .element.promo_frame,
.slide-background.mobile .element.mobile_hand, 
.slide-background.shirt .element.shirt,
.slide-background.shirt .element.shirt-print,
.slide-background.bizcard .element.bizcard,
.slide-background.stationary .element.stationary
{
    opacity:1;
}



/* Shirt printing sub-elements */
.slide-background .business_title{
    color: transparent;
    transition: color 0.5s ease-in-out;
    font-size: 25px;
    position: relative;
}

.slide-background .business_tagline{
    color: transparent;
    transition: color 0.5s ease-in-out;
    font-size: 17px;
    position: relative;
}
.slide-background .business_tagline .slabtext, 
.slide-background .business_title .slabtext
{
    word-spacing: 0 !important;
    white-space: nowrap;

}


/* Bizcard sub-elements */
.slide-background .element.bizcard .bizcard-element {
    position: absolute;
}

.slide-background .element.bizcard .bizcard-element.bizcard-title {    
    top: 20%;
    left: 10%;
    font-size: 25px;
}
.slide-background .element.bizcard .bizcard-element.bizcard-tagline {    
    top: 20%;
    margin-top: 35px;
    left: 10%;
    font-size: 17px;
}
.slide-background .element.bizcard .bizcard-element.bizcard-phone {    
    bottom: 10%;
    left: 10%;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
}
.slide-background .element.bizcard .bizcard-element.bizcard-email {    
    bottom: 10%;
    right: 10%;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
}


/* Stationary sub-elements */
.slide-background .element.stationary .stationary-element {
    position: absolute;
}

.slide-background .element.stationary .stationary-element.stationary-title {    
    top: 10%;
    left: 10%;
    font-size: 25px;
}
.slide-background .element.stationary .stationary-element.stationary-tagline {    
    top: 10%;
    margin-top: 35px;
    left: 10%;
    font-size: 17px;
}
.slide-background .element.stationary .stationary-element.stationary-phone {    
    top: 10%;
    right: 10%;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
}
.slide-background .element.stationary .stationary-element.stationary-email {    
    top: 10%;
    right: 10%;
    margin-top: 25px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

/* ----------------------------------------------------------------------------------------------*/
/* ---- SLIDE BACKGROUND - END ------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------*/


.standalone.identity, .imos-window{
    overflow: hidden;
}

#bgimg{
    width:80px;
    height:50px;
    margin-top:30px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
  	background-position: 50% 30%;
}


#bgimg.placeholder {
    background-size:contain;
  	background-position: 50% 50%;
    background-image: url("/images/image_placeholder.png");
}

#toggle_out{
    position: relative;
    width: 60px;
    height: 30px;
    border-radius: 25px;
    background: transparent;
    margin-top: 40px;
    border: solid 2px rgba(255,255,255,0.5);
    transition: background-color 0.2s ease-out;
}


#toggle_in{
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    top: 3px;
    left: 3px;
    float: left;
    transition: left 0.2s ease-out;
}

#toggle_out.on{
    background: green;
}
#toggle_out.on #toggle_in{
    left: 33px;
}


/* ----------------------------------------------------------------------------------------------*/
/* ----RESPONSIVE DESIGN ------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 800px) {
    .identity-controls {
        display: none;
    }

    .identity-navigation-wrapper {
        width: 96%;
    }

	.slide-background .welcome .msg {
		font-size: 36px;
	}
    .slide-background .element.promo_frame {
        z-index: 0;
    }
    .slide-background .welcome {
        z-index: 0;
    }
    .theme-nav-btn.hover {
	    transform: translate(-50%, -50%) scale(1.2);
    }
    
}
