/*low resolution, 480px and below */
@media only screen and (max-width: 480px) {

    body {
        background: rgb(244, 244, 244);
        font-family: Verdana;
    }

    #master {
        width: 95%;
        margin: 0 auto;
        border: 1px solid rgb(200, 200, 200);
        background: rgb(255, 255, 255);
    }

    header {
        height: 120px;
        background: rgb(241, 241, 241);
        text-align: center;
    }

    header img {
        margin-top: 10px;
    }

    #slogan {
        display: none;
    }

    nav {
        background: rgb(12, 77, 103);
        padding: 10px;
        margin-bottom: 20px;
        text-align: center;
    }

    nav ul {
        -webkit-padding-start: 0;
    }

    nav li {
        display: inline;
        text-transform: uppercase;
    }

    nav li a {
        color: rgb(241, 241, 241);
        text-decoration: none;
        font-weight: bold;
        font-size: 15px;
        border-left: solid 0px #333;
        padding: 2px 0 18px 0;
        padding-top: 18px;
        line-height: 225%;
    }

    nav li a:hover {
        background: rgb(242, 96, 5);
        color: white;
        margin: 0px;

    }

    #rotator {
        display: none;
    }

    .contentbox {
        background: rgb(241, 241, 241);
        padding: 10px;
        margin-bottom: 10px;
        text-align: center;
        margin-top: 20px;
    }

    .contentbox img {
        margin-top: -1px;
    }

    /*Estilo Imagenes*/
    a img {
        border: none;

    }

    .contentbox h3 {
        color: rgb(163, 162, 168);
        text-align: center;
    }

    /*color para el titulo de cada item*/
    .contentbox p {
        color: rgb(163, 162, 168);
        font-size: 100%;
        line-height: 180%;
        text-align: left;
    }

    article {
        width: 95%;
        margin-left: 10px;
    }

    .news {
        margin-bottom: 8px;
        color: rgb(255, 255, 255);
    }

    .news h2 {
        font-family: Times;
        margin-bottom: 8px;
        font-size: 200%;
    }

    .news p {
        line-height: 180%;
    }


    footer nav {
        margin-bottom: 0;
    }

}



/*medium resoultion, 481px to 1023px */
@media only screen and (min-width: 481px) {

    body {
        background: rgb(244, 244, 244);
        font-family: Verdana;
    }

    #master {
        width: 95%;
        margin: 0 auto;
        border: 1px solid rgb(200, 200, 200);
        background: rgb(255, 255, 255);
    }

    header {
        height: 120px;
        background: rgb(241, 241, 241);
    }

    header img {
        margin-left: 20px;
        margin-top: 10px;
    }

    #slogan {
        width: 50%;
        margin: 350px;
        margin-top: -70px;
        background: rgb(241, 241, 241);
        color: rgb(12, 77, 103);
        text-align: center;
    }

    nav {
        background: rgb(12, 77, 103);
        padding: 10px;
        margin-bottom: 20px;
        text-align: center;
    }

    nav ul {
        -webkit-padding-start: 0;
        padding-right: 20px;
        text-align: center;
    }

    nav li {
        display: inline;
        text-transform: uppercase;
    }

    nav li a {
        color: rgb(241, 241, 241);
        text-decoration: none;
        font-weight: bold;
        font-size: 15px;
        border-left: solid 0px #333;
        padding: 2px 0 15px 0;
        padding-top: 18px;
        line-height: 150%;
        font-weight: normal;
        font-size: 15px;
    }

    nav li a:hover {
        background: rgb(242, 96, 5);
        color: white;
        margin: 0px;

    }

    #rotator {
        width: 90%;
        margin: 10px auto;
        background: rgb(255, 255, 255);
    }

    #rotator img {
        width: 100%;
    }

    .contentbox {
        background: rgb(241, 241, 241);
        padding: 80px;
        margin-bottom: 10px;
    }

    .contentbox img {
        float: left;
        margin-right: 10px;
    }

    /*Estilo Imagenes*/
    a img {
        border: none;

    }

    .contentbox h3 {
        color: rgb(163, 162, 168);
        text-align: center;
    }

    /*color para el titulo de cada item*/
    .contentbox p {
        color: rgb(163, 162, 168);
        font-size: 80%;
        line-height: 180%;
    }

    article {
        width: 95%;
        margin-left: 10px;
    }

    .news {
        margin-bottom: 8px;
        color: rgb(255, 255, 255);
    }

    .news h2 {
        font-family: Times;
        margin-bottom: -8px;
        font-size: 200%;
    }

    .news p {
        line-height: 180%;
    }

    footer nav {
        margin-bottom: 0;
    }

}



/*high resolution, 1024px and above */
@media only screen and (min-width: 1024px) {

    body {
        background: rgb(244, 244, 244);
        font-family: verdana;
    }

    #master {
        width: 960px;
        margin: 0 auto;
        border: 1px solid rgb(200, 200, 200);
        background: rgb(255, 255, 255);
    }

    header {
        width: 960px;
        height: 120px;
        background: rgb(241, 241, 241);
    }

    header img {
        margin-left: 20px;
        margin-top: 10px;
    }

    #slogan {
        width: 650px;
        height: 60px;
        margin-left: 280px;
        margin-top: -70px;
        background: rgb(241, 241, 241);
        color: rgb(12, 77, 103);
    }

    nav {
        background: rgb(12, 77, 103);
        padding: 10px;
        margin-bottom: 20px;
        text-align: center;
    }

    nav ul {
        -webkit-padding-start: 0;
        padding-right: 20px;
        text-align: center;
    }

    nav li {
        list-style: none;
        float: left;
        text-transform: uppercase;
        padding: 10px;
    }

    nav li a {
        color: rgb(241, 241, 241);
        text-decoration: none;
        font-weight: bold;
        font-size: 15px;
        border-left: solid 0px #333;
        padding: 2px 0 15px 0;
        padding-top: 15px;
        line-height: 190%;
        font-weight: normal;
        font-size: 15px;
    }

    nav li a:hover {
        background: rgb(242, 96, 5);
        color: white;
        margin: 0px;

    }

    nav ul li a:active {
        -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8) inset;
        -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8) inset;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.8) inset;
    }

    /*-------------------
    General System

    ----------------------*/
    html {
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizelegibility;

    }

    body {

        h1,
        h2,
        h3,
        h4 {
            font-family: Times;
            margin-bottom: -20px;
            font-size: 150%;
        }



    }

    /*-------------------
    Typografia

    ----------------------*/




    /*------------------------------

      Global Styles
      ------------------------------*/
    .clearfix:before,
    .clearfix:after {
        content: "";
        display: table;
    }

    .clearfix:after {
        clear: both;
    }

    .clearfix {
        zoom: 1;
        /* Para IE6/7 (Tec Servicios Informaticos www.creadordepaginaweb.com) */
    }

    #rotator {
        width: 840px;
        height: 300px;
        margin: 0 auto;
        background: rgb(255, 255, 255);
    }

    .contentbox {
        width: 285px;
        background: rgb(241, 241, 241);
        padding: 10px;
        margin: 20px 0 10px 10px;
        float: left;
    }

    .contentbox img {
        margin-top: -1px;
    }

    /*Estilo Imagenes*/
    a img {
        border: none;
    }

}

.contentbox h3 {
    color: rgb(163, 162, 168);
    text-align: center;
}

/*color para el titulo de cada item*/
.contentbox p {
    color: rgb(163, 162, 168);
    font-size: 80%;
    line-height: 140%;
}

article {
    width: 940px;
    margin-left: 10px;
}

.news {
    margin-bottom: 8px;
    color: rgb(255, 255, 255);
}

.news h2 {
    font-family: Times;
    margin-bottom: -8px;
    font-size: 150%;
}

.news p {
    font-size: 90%;
}

footer {
    margin-bottom: 0;
    padding-left: 0px;
}

footer nav li {
    font-weight: normal;
    font-size: 12px;
    padding-left: 15px;
    text-align: Left;
}