body {
    background: #000;
    color: #fff;
    font-family: 'Droid Sans', 'Liberation Sans', FreeSans, 'Helvetica Neue LT Std', 'Helvetica LT Std', Helvetica, Arial, Tahoma, 'Lucida Grande', 'Lucida Sans', sans-serif;
}

a {
    color: #29f;
}

#ipad, #iphone, #iphone5 {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    left: 0px;
    top: 0px;
}

#ipad.landscape {
    background: url('ipad/landscape.png');
    width: 1108px;
    height: 852px;
}

#ipad.portrait {
    background: url('ipad/portrait.png');
    width: 852px;
    height: 1108px;
}

#iphone.landscape {
    background: url('iphone/landscape.png');
    width: 713px;
    height: 365px;
}

#iphone.portrait {
    background: url('iphone/portrait.png');
    width: 365px;
    height: 713px;
}

#iphone5.landscape {
    background: url('iphone5/landscape.png');
    width: 801px;
    height: 365px;
}

#iphone5.portrait {
    background: url('iphone5/portrait.png');
    width: 365px;
    height: 801px;
}
/*
#ipad #url {
    position: absolute;
    left: 235px;
    top: 73px;
    height: 21px;
    background: #fff;
    border: none;
    font-family: 'Droid Sans', 'Liberation Sans', FreeSans, 'Helvetica Neue LT Std', 'Helvetica LT Std', Helvetica, Arial, Tahoma, 'Lucida Grande', 'Lucida Sans', sans-serif;
}

#iphone #url {
    position: absolute;
    height: 21px;
    background: #fff;
    border: none;
    font-family: 'Droid Sans', 'Liberation Sans', FreeSans, 'Helvetica Neue LT Std', 'Helvetica LT Std', Helvetica, Arial, Tahoma, 'Lucida Grande', 'Lucida Sans', sans-serif;
}

#iphone5 #url {
    position: absolute;
    height: 21px;
    background: #fff;
    border: none;
    font-family: 'Droid Sans', 'Liberation Sans', FreeSans, 'Helvetica Neue LT Std', 'Helvetica LT Std', Helvetica, Arial, Tahoma, 'Lucida Grande', 'Lucida Sans', sans-serif;
}

#ipad.landscape #url {
    width: 512px;
}

#ipad.portrait #url {
    width: 350px;
}

#iphone.landscape #url {
    left: 130px;
    top: 67px;
    width: 292px;
}

#iphone.portrait #url {
    left: 35px;
    top: 164px;
    width: 188px;
}

#iphone5.landscape #url {
    left: 130px;
    top: 67px;
    width: 292px;
}

#iphone5.portrait #url {
    left: 35px;
    top: 164px;
    width: 188px;
}
*/

#ipad #frame {
    border: none;
    background: #fff;
    position: absolute;
    left: 42px;
    top: 62px;
}

#iphone #frame {
    border: none;
    background: #fff;
    position: absolute;
}

#iphone5 #frame {
    border: none;
    background: #fff;
    position: absolute;
}

#ipad.landscape #frame {
    width: 1024px;
    height: 748px;
}

#ipad.portrait #frame {
    width: 768px;
    height: 1004px;
}

#iphone.landscape #frame {
    width: 480px;
    height: 300px;
    left: 118px;
    top: 42px;
}

#iphone.portrait #frame {
    width: 320px;
    height: 460px;
    left: 24px;
    top: 139px;
}

#iphone5.landscape #frame {
    width: 568px;
    height: 300px;
    left: 118px;
    top: 42px;
}

#iphone5.portrait #frame {
    width: 320px;
    height: 547px;
    left: 24px;
    top: 139px;
}

.info {
    margin: 16px;
    text-align: center;
}

.buttons {
    width: 260px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
}

.button {
    width: 48px;
    height: 48px;
    margin: 8px;
    display: block;
    float: left;
    text-align: center;
    cursor: pointer;
}

.button#rotate {
    background: url('rotate.png');
}

.button#to_ipad {
    background: url('ipad/button.png');
}

.button#to_iphone {
    background: url('iphone/button.png');
}

.button#to_iphone5 {
    background: url('iphone5/button.png');
}

.clear {
    clear: both;
}

#frame::-webkit-scrollbar { width: 4px; height: 4px; background: transparent; }
#frame::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.75); -webkit-border-radius: 4px; border-radius: 4px; width: 4px; height: 4px; }















/*
#popupClose - this is referring to the anchor tag inside the popup conatainer.
We'll absolute position and style it here
*/
#popupClose{
    display: none;
    font-size:20px;
    line-height:20px;
    position:absolute;
    right:6px;
    top:4px;
    font-weight:700;
    display:block;
}

/*
#bgPopup - this is referring to the element that will cover the whole page
behind the popup and above the rest of the page.
NOTE: if you are using z-index on the same level in the DOM -
	#bgPopup z-index needs to have the second highest value (behind #Popup)
*/
#bgPopup{

    position:fixed;
    _position:absolute; /* hack for internet explorer 6*/
    height:100%;
    width:100%;
    top:0;
    left:0;
    background:#000000;
    z-index:1;
}

/*
#Popup - The popup container
NOTE: if you are using z-index on the same level in the DOM -
	#Popup z-index needs to have the highest value.
*/
#Popup{

position : absolute;
top : 50%;
left : 50%;
    width: 200px;
    height: 200px;
    margin-left: -100px;
    margin-top: -100px;

    position:fixed;
    _position:absolute; /* hack for internet explorer 6 */
    background:#111111;
    border:2px solid #cecece;
    z-index:2;
    padding:12px;
    font-size:13px;
}

/*
#myButton - The Button....  make it have Button-like properties
*/
#myButton{
    display:block;
    position:relative;
    width:200px;
    height:50px;
    line-height:50px;
    font-family:"Trebuchet MS";
    font-size:14px;
    text-align:center;
}
