/*
 * Mecada web contacto stylesheet
 * 
 * Mauricio Del Solar
 * mdsr.pro@gmail.com
 *
 * Copyright ©2013
 */

html {
    height: 100%;
}

body {
    background: transparent url(../img/contacto_bg.jpg) no-repeat center center;
    background-attachment: fixed;
    background-size: cover;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;

    height: 100%;
}

#main-container {
    position: relative;
    background: transparent url(../img/contacto_container_bg.png) top left;
    width: 42.96875%; /* 550/1280 */
    height: 100%;
    color: #fff;
    margin: 0 2.34375%; /* 30/1280 */
    padding: 0 1.5625em 0; /* 25/16 */
}

#header {
    margin: 0 0 6.510416666667%; /* 50/768 */
    padding-top: 1.875em; /* 30/16 */
    width: 100%;
    height: 1.5625em; /* 25/16 */
    border-bottom: 1px solid #fff;
}

#header img {
    margin: 0;
}

#menu {
    margin: 0.3125em 0 0; /* 5/16 */
}

#menu li {
    border-color: #fff;
}

#menu a {
    color: #fff;
}

#content {
    clear: both;
    margin: 0 1.818181818182%; /* 10/550 */
}

#content h1 {
    text-transform: uppercase;
    font-size: 1.125em; /* 18/16 */
    margin: 6.510416666667% 0 1.302083333333%; /* 50/768, 10/768 */
}

#content li {
    margin: 0.125em 0; /* 2/16 */
}

#content a {
    color: #c00;
    text-decoration: none;
}

#content a:hover {
    text-decoration: underline;
}

#content p {
    line-height: 1.25em; /* 20/16 */
}

#content b {
    text-transform: uppercase;
}

#map {
    width: 100%;
    margin: 3.90625% 0; /* 30/768 */
    text-align: center;
}

#map img {
    max-width: 100%;
}

#map a {
    text-decoration: underline;
    font-size: 0.75em; /* 12/16 */
    color: #fff;
}

#map a:hover {
    color: #c00;
}

#footer {
    position: absolute;
    max-width: 90.909090909091%; /* 500/550 */
    height: 3.75em; /* 60/16 */
}

#footer p {
    line-height: 5em; /* 60/12 */
}

#social-network {
    margin: 18px 0;
}

@media screen and (max-width: 768px) {
    #main-container {
        width: 78.125%; /* 500/600 */
        margin: 0 auto;
    }

    #footer {
        text-align: center;
    }

    #footer p {
        line-height: 2.5em; /* 30/12 */
    }

    #social-network {
        margin: 0;
        position: static;
    }
}

@media screen and (max-width: 400px) {
    #header {
        height: 5.625em; /* 100/16 */
        text-align: center;
    }

    #menu {
        float: none;
    }

    #menu li {
        display: list-item;
        border: none;
        font-size: 1.25em; /* 20/16 */
        line-height: 1.5625em; /* 25/16 */
    }
}
