Hello I have recently uploaded a new website, and I am currently testing the site and fixing the bugs, Currently the site looks fine in IE and Firefox, but when I view the site on my Iphone and ipad, it looks totally different.
Please help, and many thanks in advance.
/*
----------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
/* END: RESET / DEFAULT */
/*---------------------------------------------------------*/
/*= GENERAL STYLING
--------------------------------------------------------*/
@media screen and (max-width:959px){
#slide1, #slide2, #slide3, #slide4{
width:100%;
}
#header {
width:80%;
}
}
@media screen and (max-width:640px){
#slide1, #slide2, #slide3, #slide4
width:100%;
}
#header {
width:100%;
}
}
@media screen and (max-width:320px){
#slide1, #slide2, #slide3, #slide4{
width:320px;
}
#header {
width:320%;
}
}
body{
margin: 0;
padding: 0;
width: 100%;
}
h1 {
font-family:"Source Sans Pro";
font-weight:normal;
font-size: 55px;
text-align: center;
color: #fff;
margin: 0;
padding: 0;
}
h2 {
font-family:"Source Sans Pro";
font-weight: normal;
font-size: 40px;
text-align: center;
color: #fff;
margin: 0;
padding: 0;
}
h3 {
font-family: "Source Sans Pro";
font-weight: normal;
font-size: 16px;
text-align: center;
margin: 5px 0;
padding: 0;
z-index: 1;
position: relative;
}
.center { margin: 0 auto; }
.content{ margin: 0 auto; width: 960px; }
.content_table
{ margin: 10px 0 0 280px;
width: 960px;
}
.clear { clear: both; }
a.lpanel { float: left; color: #e1e1e1; font-size: 12px; font-family:"Source Sans Pro"; text-decoration: none; margin: 7px 11px; }
a.rpanel { float: right; color: #e1e1e1; font-size: 12px; font-family:"Source Sans Pro"; text-decoration: none; margin: 7px 11px; }
a.lpanel:hover{ color: #fff; }
a.rpanel:hover{ color: #fff; }
/*= HEADER & NAVIGATION
--------------------------------------------------------*/
#header {
width: 100%;
background: url('../img/header-bg.png');
height: 80px;
position: fixed;
margin-top: 30px;
}
#nav { width: 410px; float: right; margin-top: 20px; }
#logo a {
float: left;
position:absolute;
margin-top: 5px 400px 0 0;
}
#nav ul{
list-style: none;
display: block;
margin: 0 auto;
list-style: none;
}
#nav li{
margin-top: 9px;
float: left;
padding-left: 21px;
}
#nav li a { color: #fff; opacity:0.6; font-size: 16px; text-decoration: none; font-family: "Source Sans Pro"; }
#nav li a.active { color: #fff; opacity:1; border-bottom: 2px solid #fff; }
#nav li a:hover { color: #fff; opacity:1; }
/*= QUOTES AND SOME ELEMENTS
--------------------------------------------------------*/
.quotes {
font-family: "Source Sans Pro";
font-weight: normal;
font-size: 50px;
text-align: left;
margin: 50px auto;
}
.author_name_bass { font-family:"Source Sans Pro"; margin: 5px 0 0 500px;
color: #fff;
font-size: 15px;
}
#position_a
{
position:relative;
margin-bottom:-400px;
}
.quotes_container
{ width: 800px;
height:500px;
margin: 0 auto;
}
#cta1 {
font-family: 'Source Sans Pro';
font-weight: normal;
font-size: 20px;
float:left;
}
/*= BUTTONS
--------------------------------------------------------*/
button.btn-know {
padding: 15px 47px;
margin: 40px 38.8%;
text-align: center;
border: 4px solid #fff;
color: #fff;
background: transparent;
font-size: 19px;
cursor: pointer;
text-shadow: -1px 2px 0px rgba(90, 90, 90, 0.56);
-webkit-border-radius: 4px;
border-radius: 4px;
}
.btn-know:hover { background: #fff; color: transparent; }
ul.built { list-style: none; margin: 0 auto; width: 730px; }
.built li img{ float: left; padding-right: 34px; }
/*= SLIDES STYLING
--------------------------------------------------------*/
#slide1, #slide2, #slide3, #slide4{ width: 100%; }
#slide1{
background:url('../img/slide1.png') 50% 0 no-repeat fixed;
color: #fff;
height: 300px;
margin: 0;
padding: 100px 0 260px 0;
background-size: cover;
}
#slide2{
background-color: #fff;
color: #333333;
height: 720px;
margin: 0;
overflow: hidden;
padding: 100px 0;
}
#slide3{
background: url('../img/slide3.png') 50% 0 no-repeat fixed;
color: #fff;
height: 700px;
padding: 60px 0 0 0;
background-size: cover;
}
#slide4{
background-color: #fff;
color: #333333;
height: 200px;
padding: 60px 0;
}
#about{
font-family: 'Source Sans Pro';
font-weight: normal;
font-size: 16px;
text-align: left;
margin: 50px 0 0 250px;
}
#table_position{
margin: 50px 0 0 525px;
width: 500px;
background-color:#ffffff;
}
/*= Contact Form STYLING
--------------------------------------------------------*/
#con_pos{
background-color:e1e1e1;
margin-right:300px;
}
h1
{
font-family: 'Source Sans Pro';
font-size: 30px;
text-transform: uppercase;
color: #ee2b7b;
}
/* Centres the page (this could be container)*/
.body {
display:block;
margin:0 auto;
width:576px;
font-family: 'Source Sans Pro';
font-size: 16px;
color: #999;
}
#title4{
width:300px;
height:35px;
margin: 0 60px 0 0;
}
/* Labels are titles for the text fields. You can use a placeholder instead if you like*/
label
{
display:block;
margin-top:20px;
letter-spacing:2px;
font-family: 'Source Sans Pro';
}
/* Centres the form within the page */
form
{
margin:0 auto;
width:459px;
}
/* Styles the text boxes */
input, textarea, file {
width:400px;
background-color:#efefef;
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border:1px solid #dedede;
padding:10px;
margin-top:3px;
font-size:0.9em;
color:#3a3a3a;
}
.button{
width:65px;
cursor:pointer;
color:#999999;
font-family: 'Source Sans Pro';
}
input:focus, textarea:focus {
border:1px solid #97d6eb;
}
/* Styles the text area boxes (message field) */
textarea
{
height:200px;
background-color: #efefef;
}
/* Styles the submit button */
#submit {
/* background:url(images/submit.png); */
width:127px;
height:48px;
text-align: center;
/* text-indent:-9999px; */
border:none;
margin-top:20px;
cursor:pointer;
}
/* Styles the submit hover */
.button:hover {
color:#fff;
background-color: #ee2b7b;
opacity:0.8;
}
/*--------------------------------------------------------*/
/*= FOOTER
--------------------------------------------------------*/
#copyright {
color: #ee2b7b;
font-family:"Source Sans Pro";
font-size: 12px;
margin: 100px 0 100px;
text-align: center; }
#copyright a { text-decoration: underline; color: #cccccc; }