html, body {
    min-height: 100%;
}

body {
    background: url(/images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

header {
    background-color: #358bbf;
    text-align: center;
}

#logo {
    width: 200px;
}

.container {
    
}
#step_1_phones, #step_2_website, #step_3_test {
    display: none;
}

/* STEP 1 */
#sub_header {
    font-weight: 300;
    text-align: center;
    font-size: 2.4em;
    color: #234f6b;
    padding: 1em 0 2em 0;
}

#phone_selector {
    max-width: 975px;
    margin: auto;
}

main div div.col-lg-2 {
    text-align: center;
}

main div div.col-lg-2 a {
    display: block;
    color: #234f6b;
    text-decoration: none;
}

main div div.col-lg-2 a img {
    margin-bottom: 10px;
}

#phone_thumb_link_samsung_galaxy_y {
    margin-top: 68px;
}

#phone_thumb_link_google_nexus_7 {
    margin-top: 23px;
}

#phone_thumb_link_apple_ipad_mini {
    margin-top: 42px;
}



/* STEP 2 */
#step_2_website .row {
    max-width: 975px;
    margin: 4.5em auto 0 auto;
}

#url_form {
    display: flex;
    width: 100%;
}

#url {
    flex-grow: 1;
    padding: 0.5em 0.7em;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #aaa;
}

#go_button {
    width: 50px;
    background: #79A81D;
    border-radius: 5px;
    color: #fff;
    font-weight: 600;
    border: 0;

}

.website_div {
    height: 125px; 
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(240,243,245,1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5em;

    border-radius: 10px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
}

.website_div img {
    max-width: 150px;
    max-height: 80px;
}

/* STEP 3 */
#step_3_test .row {
    max-width: 1975px;
    margin: auto;
}

.phone_area {
    margin: 0 auto 0 auto;
    text-align: center;
    display: block;
    position: relative;
    z-index: 1;
}

.frame_scroller>iframe {
    width: 100%;
    height: 100%;
}
iframe {
    overflow-y: hidden;
}
.frame_scroller {
    display: inline-block;
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
}

#samsung_galaxy_y_emulator, #iphone_5_emulator, #htc_one_emulator, #nokia_lumia_920_emulator, #google_nexus_7_emulator, #ipad_mini_emulator, #samsung_galaxy_y_emulator_landscape, 
#iphone_5_emulator_landscape, #htc_one_emulator_landscape, #nokia_lumia_920_emulator_landscape, #google_nexus_7_emulator_landscape, #ipad_mini_emulator_landscape {
    background-repeat: no-repeat;
    background-position: top left;
    margin: 0 auto 0 auto;
    text-align: center;
}

#samsung_galaxy_y_emulator {
	background-image: url("/images/phones/samsung_galaxy_y_portrait.png");
	width: 506px;
	height: 732px;
}

#iphone_5_emulator {
	background-image: url("/images/phones/apple_iphone_5_portrait.png");
	width: 586px;
	height: 1001px;
}

#htc_one_emulator {
	background-image: url("/images/phones/htc_one_portrait.png");
	width: 599px;
	height: 1024px;
}

#nokia_lumia_920_emulator {
	background-image: url("/images/phones/nokia_lumia_920_portrait.png");
	width: 767px;
	height: 1230px;
}

#google_nexus_7_emulator {
	background-image: url("/images/phones/google_nexus_7_portrait.png");
	width: 963px;
	height: 1437px;
}

#ipad_mini_emulator {
	background-image: url("/images/phones/apple_ipad_mini_portrait.png");
	width: 1070px;
	height: 1489px;
}

#samsung_galaxy_y_emulator_landscape {
	background-image: url("/images/phones/samsung_galaxy_y_landscape.png");
	width: 732px;
	height: 506px;
}

#iphone_5_emulator_landscape {
	background-image: url("/images/phones/apple_iphone_5_landscape.png");
	width: 1001px;
	height: 586px;
}

#htc_one_emulator_landscape {
	background-image: url("/images/phones/htc_one_landscape.png");
	width: 1024px;
	height: 599px;
}

#nokia_lumia_920_emulator_landscape {
	background-image: url("/images/phones/nokia_lumia_920_landscape.png");
	width: 1230px;
	height: 767px;
}

#google_nexus_7_emulator_landscape {
	background-image: url("/images/phones/google_nexus_7_landscape.png");
	width: 1437px;
	height: 963px;
}

#ipad_mini_emulator_landscape {
	background-image: url("/images/phones/apple_ipad_mini_landscape.png");
	width: 1489px;
	height: 1070px;
}

#frame_samsung_galaxy_y_emulator {
	width: 240px;
	height: 320px;
	margin: 206px 0 0 3px !important;
}

#frame_iphone_5_emulator {
	width: 320px;
	height: 568px;
	margin: 217px 0 0 3px;
}

#frame_htc_one_emulator {
	width: 360px;
	height: 640px;
	margin: 173px 0 0 -5px;
}

#frame_nokia_lumia_920_emulator {
	width: 460px;
	height: 768px;
	margin: 192px 0 0 -5px !important;
}

#frame_google_nexus_7_emulator {
	width: 603px;
	height: 966px;
	margin: 239px 0 0 -4px !important;
}

#frame_ipad_mini_emulator {
	width: 768px;
	height: 1024px;
	margin: 232px 0 0 -0px;
}

#frame_samsung_galaxy_y_emulator_landscape {
	width: 320px;
	height: 241px;
	margin: 131px 0 0 0px !important;
}

#frame_iphone_5_emulator_landscape {
	width: 568px;
	height: 320px;
	margin: 131px 0 0 -1px;
}

#frame_htc_one_emulator_landscape {
	width: 640px;
	height: 360px;
	margin: 122px 0 0 -38px;
}

#frame_nokia_lumia_920_emulator_landscape {
	width: 768px;
	height: 460px;
	margin: 156px 0 0 -79px !important;
}

#frame_google_nexus_7_emulator_landscape {
	width: 966px;
	height: 603px;
	margin: 181px 0 0 13px !important;
}

#frame_ipad_mini_emulator_landscape {
	width: 1024px;
	height: 768px;
	margin: 151px 0 0 -3px;
}


#test_again_button {
	background-image: url(/images/repeat.svg);
	background-position: 10px center;
	background-repeat: no-repeat;
	background-size: 24px;
	display: inline-block;
	background-color: #358bbf;
	color: #fff;
	padding: 0.7em 0.9em 0.7em 2.5em;
	border-radius: 5px;
	text-decoration: none;
}