/* CSS3, responsive media queries */

@media all {

body {
    background: none repeat scroll 0 0 #eee;
    color: #555;		
    margin: 10px auto;
    width: 1400px;
    font: 11px/100% Arial, Helvetica, sans-serif;
}

h1 {
    font: 42px/100% Arial, Helvetica, sans-serif;
    color: #4682B4;
    font-weight: bold;
    overflow:hidden;
}

h2 {
    font: 21px/100% Arial, Helvetica, sans-serif;
    color: #4682B4;
    font-weight: bold;
    margin: 2% 0% 2% 0%;
}
h3 {
    font: 18px/100% Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin: 10px 0px 10px 0px;
}

p {
    margin: 0% 0% 2% 0%;
    font: 14px/100% Arial, Helvetica, sans-serif;
    line-height: 21px;
}

ul, li {
    margin: 0px 0px 10px 0px;
    font: 14px/100% Arial, Helvetica, sans-serif;
}
    
a {
    text-decoration: underline;
    font-weight: bold;
    color: #4682B4;
transition:all 1s ease;
 -ms-transition:all 1s ease;
 -webkit-transition:all 1s ease;
 -o-transition:all 1s ease;
 -moz-transition:all 1s ease;
}

a:hover {
    color: dodgerblue;
}

img {
    border: 0;
    max-width: 100%;
}

hr {
    border: none;
    height: 1px;
    background-color: #888;
    color: #888;
}

footer {
    margin: center;
    font: 14px;
    text-align: center;
}


/* CSS for IDs */

#logo {
    float: left;
    width: 20%;
}

#title {
    float: left;
    width: 80%;
}

#title h1 {
    text-align: center;
}

#title a {
    text-decoration: none;
}

#title p {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

#content, nav {
    padding: 10px 10px 10px 10px;
    border: solid 1px #aaa;
    background: #fff;
    background: -moz-linear-gradient(top,  #fff,  #eee);
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
    -moz-border-radius: .5em;
    -webkit-border-radius: .5em;
}



/* CSS for classes */

.clear {
    clear: both;
}



@-webkit-keyframes boxAnimation{
 0%{
 margin:0 0 0 0px;
 -webkit-transform:rotate(0deg);
 background-color:#999;
}
 25%{
 margin:0 0 0 800px;
 -webkit-transform:rotate(360deg);
}
 50%{
 margin:500px 0 0 800px;
 -webkit-transform:rotate(0deg);
 border-radius:180px;
 background-color:#f00;
}
 75%{
 margin:500px 0 0 0px;
 -webkit-transform:rotate(360deg);
 background-color:#0f0;
}
 100%{
 margin:0 0 0 0;
 -webkit-transform:rotate(0deg);
 border-radius:0px;
 background-color:#999; 
}
}

#box{
width:120px;height:120px;background:#999;
 -webkit-animation-name:boxAnimation;
 -webkit-animation-duration:10s;
 -webkit-animation-timing-function:ease-out;
 -webkit-animation-iteration-count:infinite;
}






}

@media only screen and (max-width: 1439px) {
body {
    width: 1200px;
}    
}

@media only screen and (max-width: 1279px) {
body {
    width: 1000px;
}    
}

@media only screen and (max-width: 1023px) {
body {
    width: 940px;
}    
}

@media only screen and (max-width: 959px) {
body {
    width: 700px;
}    
}

@media only screen and (max-width: 719px) {
body {
    width: 620px;
}    
}

@media only screen and (max-width: 639px) {
body {
    width: 460px;
}    
}

@media only screen and (max-width: 479px) {
body {
    width: 300px;
}    
}

@media only screen and (max-width: 319px) {
body {
    width: 230px;
}    
}