.amiwrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.amidisplay {
    position: relative;
    left: 0px;
    height: 600px;
}
.amiurl {
    width: 100%;
    margin: 0 auto;
}
.amiurl form {
    margin: 0;
}
.amiurl input{
	border: 1px solid #ccc;
	margin: 3px;
	padding: 7px;
	font-size: 16px;
}
.amiurl #shareurl textarea{
    border: 1px solid #ccc;
    margin: 3px;
    padding: 5px;
    font-size: 14px;
    background: #FEEBB7;
    width: 100%;
    height: 20px!important;
}
.amiurl .divider-solid{
	margin-bottom: 40px;
}
.amiwrapper div {
    background-repeat: no-repeat;
    background-size: 100%;
    overflow: hidden;
}
iframe {
    transform: scale(0.219);
    -webkit-transform: scale(0.219);
    -o-transform: scale(0.219);
    -ms-transform: scale(0.219);
    -moz-transform: scale(0.219);
    transform-origin: top left;
    -webkit-transform-origin: top left;
    -o-transform-origin: top left;
    -ms-transform-origin: top left;
    -moz-transform-origin: top left;
    margin: 0;
    padding: 0;
    position: relative;
    background-color: #fff;
}
.mobile, .tablet, .laptop, .desktop{
	cursor: grab;
}
.mobile {
    background-image: url("../images/iphone-optimised.png");
    position: absolute;
    width: 95px;
    height: 196px;
    top: 375px;
    left: 180px;
    z-index: 5;
}
.mobile iframe {
    width: 320px;
    height: 480px;
    top: 33px;
    left: 11px;
    overflow-y: hidden;
}
.tablet {
    background-image: url("../images/ipad-optimised.png");
    width: 246px;
    height: 400px;
    z-index: 3;
    position: absolute;
    left: 0px;
    top: 230px;
}
.tablet iframe {
    width: 768px;
    height: 1024px;
    top: 36px;
    left: 39px;
    overflow-y: hidden;
}
.laptop {
    background-image: url("../images/laptop-screen-optimised.png");
    width: 477px;
    height: 307px;
    top: 264px;
    left: 440px;
    position: absolute;
    z-index: 2;
}
.laptop iframe {
    width: 1280px;
    height: 802px;
    top: 26px;
    left: 60px;
    transform: scale(0.277);
    -webkit-transform: scale(0.277);
    -o-transform: scale(0.277);
    -ms-transform: scale(0.277);
    -moz-transform: scale(0.277);
    transform-origin: top left;
    -webkit-transform-origin: top left;
    -o-transform-origin: top left;
    -ms-transform-origin: top left;
    -moz-transform-origin: top left;
}
.desktop {
    position: absolute;
    width: 566px;
    height: 538px;
    background-image: url("../images/large-screen-optimised.png");
    top: 0px;
    left: 120px;
    z-index: 1;
}
.desktop iframe {
    left: 28px;
    top: 38px;
    width: 1600px;
    height: 992px;
    transform: scale(0.3181);
    -webkit-transform: scale(0.3181);
    -o-transform: scale(0.3181);
    -ms-transform: scale(0.3181);
    -moz-transform: scale(0.3181);
    transform-origin: top left;
    -webkit-transform-origin: top left;
    -o-transform-origin: top left;
    -ms-transform-origin: top left;
    -moz-transform-origin: top left;
}
@media (max-width: 1160px) {
    .amidisplay {
	    width: 95%;
	    height: 550px;
	    transform: scale(0.81);
	    -webkit-transform: scale(0.81);
	    -o-transform: scale(0.81);
	    -ms-transform: scale(0.81);
	    -moz-transform: scale(0.81);
	}
	.desktop {
	    left: 180px;
	}
	.laptop {
	    left: 520px;
	}
	.tablet {
	    left: 80px;
	}
	.mobile {
	    left: 260px;
	}
	/*input {
	    width: 88%}*/
}
@media (max-width: 1070px) {
    .amidisplay {
	    left: -50px;
	}
}
@media (max-width: 1000px) {
    .amidisplay {
	    height: 500px;
	    transform: scale(0.71);
	    -webkit-transform: scale(0.71);
	    -o-transform: scale(0.71);
	    -ms-transform: scale(0.71);
	    -moz-transform: scale(0.71);
	    top: -40px;
	}
	.desktop {
	    left: 140px;
	}
	.laptop {
	    left: 480px;
	}
	.tablet {
	    left: 40px;
	}
	.mobile {
	    left: 220px;
	}
}
@media (max-width: 850px) {
    .amidisplay {
	    height: 500px;
	    transform: scale(0.65);
	    -webkit-transform: scale(0.65);
	    -o-transform: scale(0.65);
	    -ms-transform: scale(0.65);
	    -moz-transform: scale(0.65);
	}
	.desktop {
	    left: 100px;
	}
	.laptop {
	    left: 440px;
	}
	.tablet {
	    left: 0px;
	}
	.mobile {
	    left: 180px;
	}
}
@media (max-width: 768px) {
    .amidisplay {
	    height: 450px;
	    transform: scale(0.55);
	    -webkit-transform: scale(0.55);
	    -o-transform: scale(0.55);
	    -ms-transform: scale(0.55);
	    -moz-transform: scale(0.55);
	}

}
@media (max-width: 670px) {
    .amidisplay {
	    height: 400px;
	    left: -70px;
	    transform: scale(0.45);
	    -webkit-transform: scale(0.45);
	    -o-transform: scale(0.45);
	    -ms-transform: scale(0.45);
	    -moz-transform: scale(0.45);
	}
}
@media (max-width: 580px) {

}
@media (max-width: 560px) {
    .amidisplay {
	    height: 270px;
	    top: -65px;
	    transform: scale(0.37);
	    -webkit-transform: scale(0.37);
	    -o-transform: scale(0.37);
	    -ms-transform: scale(0.37);
	    -moz-transform: scale(0.37);
	}
}
@media (max-width: 440px) {
    .amidisplay {
	    left: -17px;
	    top: -65px;
	    width: 70px;
	    transform: scale(0.35);
	    -webkit-transform: scale(0.35);
	    -o-transform: scale(0.35);
	    -ms-transform: scale(0.35);
	    -moz-transform: scale(0.35);
	}
}
@media (max-width: 380px) {
    .amidisplay {
	    height: 235px;
	    left: -17px;
	    top: -65px;
	    width: 70px;
	    transform: scale(0.27);
	    -webkit-transform: scale(0.27);
	    -o-transform: scale(0.27);
	    -ms-transform: scale(0.27);
	    -moz-transform: scale(0.27);
	}
	.desktop {
	    left: 100px;
	}
	.laptop {
	    left: 515px;
	}
	.tablet {
	    left: 0px;
	}
	.mobile {
	    left: 180px;
	}
}
