
@media screen and (max-width: 770px) {
	.content-style-overlay {
		font-size: 75%;
	}

	.content-style-overlay .icon-close {
		top: 5px;
		right: 5px;
	}
}






.morph-button {
	float: left;
}

.morph-button > button {
	border: none;	
	overflow: hidden;
    position: relative;
    display: inline-block;
    cursor: pointer; 
    padding: 0;
	margin: 0;
}


.morph-button.open > button {
	pointer-events: none;
}

.morph-content {
	pointer-events: none;
}

.morph-button.open .morph-content {
	pointer-events: auto;
}

/* Common styles for overlay and modal type (fixed morph) */
.morph-button .morph-content {
	width: 200px;
	height: 40px;	
	text-align: center;
}


.morph-button > button {
	z-index: 0;
	/*-webkit-transition: opacity 0.1s 0.5s;
	transition: opacity 0.1s 0.5s;*/
}

.morph-button.open > button {
	opacity: 0;
	/*-webkit-transition: opacity 0.1s;
	transition: opacity 0.1s;*/
}

.morph-button .morph-content {
	position: fixed;
	z-index: 900;
	opacity: 0;
	-webkit-transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
	transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
}

.morph-button.open .morph-content {
	opacity: 1;
}

.morph-button .morph-content > div {
	visibility: hidden;
	height: 0;
	opacity: 0;
	-webkit-transition: opacity 0.1s, visibility 0s 0.1s, height 0s 0.1s;
	transition: opacity 0.1s, visibility 0s 0.1s, height 0s 0.1s;
}

.morph-button.open .morph-content > div {
	visibility: visible;
	height: auto;
	opacity: 1;
	-webkit-transition: opacity 0.3s 0.5s;
	transition: opacity 0.3s 0.5s;
}

.morph-button.active > button {
	z-index: 2000;
}

.morph-button.active .morph-content {
	z-index: 1900;
	width: 320px;
	
}

/* Transitions for overlay button and sidebar button */
.morph-button-overlay .morph-content,
.morph-button-sidebar .morph-content {
	-webkit-transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s;
	transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s;

}

.morph-button-overlay.open .morph-content,
.morph-button-sidebar.open .morph-content {
	-webkit-transition: width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s;
	transition: width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s;	
}

/* Morph Button Style: Overlay */
.morph-button.morph-button-overlay {
	margin: 50px auto;
}

.morph-button-overlay .morph-content {
	overflow: hidden;
	background: #e85657;
}

.morph-button-overlay.open .morph-content {
	top: 0 !important;
	left: 0 !important;
	width: 100%;
	height: 100%;
}

/* Morph Button Style: Modal */
.morph-button-modal::before {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
	width: 100%;
	height: 100%;
	/*background: rgba(0,0,0,0.5);*/
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
	pointer-events: none;
}

.morph-button-modal.open::before {
	opacity: 1;
	pointer-events: auto;
}


.morph-button-modal .morph-content {
	overflow: hidden;
	-webkit-transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
	transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
}

.morph-button-modal.open .morph-content {
	top: 50% !important;
	left: 50% !important;
	margin: -280px 0 0 -280px;
	width: 560px;
	height: 250px;
	-webkit-transition: width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
	transition: width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
	background-color: #fff;
	border:1px solid #e4e4e4;	
}


.morph-button-modal .morph-content {
	/*background-color: #fff;*/
	border-radius: 3px;	
	background-color: transparent;

}
.morph-button-modal > button:focus {
	outline: none;
}

.morph-button-modal::before {
	/*akustik overlay*/
	/*background:rgba(205,244,242,.7);*/
	/*background:rgba(198,218,241,.95);*/
	/*205,244,242,1*/
}

.morph-content {
	/*background: rgba(205,244,242,.95)!important;*/
	padding: 5px;
	height: 200px;
}

.content-style-text {
	background: rgba(205,244,242,.95)!important;
}

/* Style for text modal */

.lfts {
	width: 130px;
	float: left;
	margin-right: 25px;
	padding-top: 10px;
}

.rgts {
	width: -webkit-calc(100% - 155px);
	width: -moz-calc(100% - 155px);
	width: calc(100% - 155px);
	float: right;
	padding-top: 10px;
}


.content-style-text {
	padding: 20px;
	text-align: left;
}

.content-style-text h4 {
	margin: 10px 0 30px 0;	
	font-size: 18px;
	color: #388884;
	text-transform: uppercase;
}



.content-style-text p {
	margin: 0;
	padding: 0 0 10px 0;
	color:#333;
	line-height: 1.6;
	font-size: 14px;
}




.icon-close {
	z-index: 10;
	display: block;
	overflow: hidden;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
	font-size:20px;
	position: absolute;
	top: 5px;
	right: 5px;
}



.icon-close:hover .closePop {
   fill: #8fc9c6;
}




















/* Media Queries */
@media screen and (max-width: 1024px) {
    .morph-button-modal.open .morph-content {
        top: 50% !important;
        left: 50% !important;
        margin: -380px 0 0 -300px;
        width: 600px;
        height: 600px; 
    }

    .content-style-text {
    	overflow: auto;
    }
}



@media screen and (max-width: 600px) {
	.morph-button-modal.open .morph-content {
		top: 0% !important;
		left: 0% !important;
		margin: 0;
		width: 100%;
		height: 100%;
		overflow-y: scroll;
		-webkit-transition: width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s;
		transition: width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s;
	}

	.lfts {
		width: 100%;	
		float: none;
		margin-right: 0px;
		padding-top: 40px;
		text-align: center;
	}

	.rgts {
		width: 100%;		
		float: none;
		padding-top: 0px;
	}

}

@media screen and (max-width: 400px) {
	.morph-button,
	.morph-button .morph-content {
		/*width: 200px;
		height: 80px;*/
	}

	.morph-button-fixed > button {
		font-size: 75%;
	}

	.morph-button-sidebar > button {
		font-size: 1.6em;
	}

	

	.morph-button-modal-4,
	.morph-button-modal-4 .morph-content {
		width: 220px;
		height: 120px;
	}

	.morph-button-modal-4 > button {
		font-size: 100%;
		line-height: 50px;
	}

	.morph-button-modal-4 > button span {
		display: block;
	}

	.morph-button-modal-4 .morph-clone {
		right: 83px;
		bottom: 26px;
	}

	.morph-button-sidebar,
	.morph-button-sidebar .morph-content {
		width: 100% !important;
		height: 60px !important;
	}

	.morph-button-sidebar {
		bottom: 0px;
		left: 0px;
	}

	.morph-button-sidebar.open .morph-content {
		height: 100% !important;
	}
}



