body {
    background: 
        radial-gradient(rgba(0, 0, 0, 0.1) 1%, transparent 17%) 0px 2px,
        radial-gradient(rgba(0, 0, 0, 0.1) 1%, transparent 17%) 40px 2px,
        radial-gradient(rgba(0, 0, 0, 0.1) 1%, transparent 17%) 0px 10px,
        radial-gradient(rgba(0, 0, 0, 0.1) 1%, transparent 17%) 40px 10px;
    background-size: 16px 16px;
    margin: 0.5%;
}

/***********************************************************************************************************/
header {
    /* background: rgba(0, 174, 226, 1); */
    box-shadow: 0px 3px 2px 18px rgba(0,0,0,0.2) inset;
    background-color: rgba(255, 113, 10, 1);
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

header div:nth-child(3) {
    width: 92.5%;
    margin-left: 4%;
}

header div:nth-child(3) ul li label {
    width: 99.5%;
    height: 250px;
    margin-left: 0.2%;
    font-family: "Arial", sans-serif;
}

header div:nth-child(3) ul li img {
    width: 100%;
    height: 260px;
    padding-left: 0.01%;
    border-top-left-radius:16px;
    border-top-right-radius:4px;
    border-bottom-left-radius:4px;
    border-bottom-right-radius:16px;
}

header div {
    width: 100%;
    padding-top: 2.2%;
    border-radius: 3px;
}

header div table {
    width: 100%;
}

/******************************************************************/
header div table tr td:nth-child(1){
	padding-left: 3%;
	text-align: left;
}


header div table tr td {
	width: 12.5%;
	text-align: center;
}

header div table:nth-child(1) tr:nth-child(1) td:nth-child(2) {
	text-align: right;
}

header div table tr td em {
    font-size: 0.9em;
    font-family: "Arial", sans-serif;
    font-weight: normal;
    color: white;
    display: block;
    text-align: right;
    margin-bottom: 1.4%;
    margin-right: 10%;
}

header div table tr td label {
    font-size: 0.8em;
    font-family: "Arial", sans-serif;
    font-weight: bold;
    color: white;
}

header div table tr td:nth-child(1) img {
    width: 100%;
    background-color: white;
    border: 4px solid transparent;
    border-top-left-radius:16px;
    border-top-right-radius:4px;
    border-bottom-left-radius:4px;
    border-bottom-right-radius:16px;
}

header div table tr td:nth-child(2) img{
    margin-top: 1%;
    margin-bottom: 1%;
    border: 1px solid transparent;
    border-radius: 0.5em;
    width: 55%;
}

header div table tr td:nth-child(2) img:hover, 
header div table tr td:nth-child(5) img:hover, 
header div table tr td:nth-child(6) img:hover {
    border: 1px solid transparent;
    border-radius: 0.5em;
    transition: border 0.2s;
    background-color: white;
    cursor: pointer;
}
/*----------------------------------------------------------------*/

header div table tr td nav ul {
    list-style-type: none;
    margin: 0%;
    padding: 0%;
}

header div table tr td nav ul li {
    padding: 2%;
    display: inline;
    font-family: "Arial", sans-serif;
}

header div table tr td nav ul li a {
    font-size: 0.9em;
    font-family: "Arial", sans-serif;
    text-decoration: none;
    color: white;
}

header div table tr td nav ul li:hover {
    cursor: pointer;
    border-radius: 0.5em;
    border: 1.0px solid white;
    font-size: 1.0em;
    color: white;
    background: rgba(0, 174, 226, 1);
    transition-duration: 100ms;
}

header div table tr td div {
    width: 100%;
    padding-left: 1%;
}

header div table tr td div label {
    font-size: 0.8em;
    /*margin-left: 35%;*/
    font-family: "Arial", sans-serif;
    font-weight: bold;
    color: white;
}

header div table tr td div input {
    width: 40%;
    margin-left: 2%;
    border-radius: 1.2em;
    text-transform: uppercase;
    margin-top: 1%;
    margin-bottom: 5%;
    text-align: center;
    font-weight: bold;
    outline: 0px;
    font-family: "Arial", sans-serif;
}

header div table tr td div input:focus {
    border: 1px solid gold;
}

/***********************************************************************************************************/

nav:nth-child(2) div {
    width: 100%;
    margin-top: 2.4%;
    margin-bottom: 2.8%;
}

nav:nth-child(2) div table {
    width: 100%;
}

nav:nth-child(2) div table td {
    width: 25%;
    text-align: center;
    color: blue;
    font-size: 1.2em;
    font-weight: bold;
    font-family: "Arial", sans-serif;
}

nav:nth-child(2) div table td img{
    margin-top: 13%;
    margin-bottom: 5%;
    border: 1px solid transparent;
    border-radius: 0.5em;
    height: 180px;
}

nav:nth-child(2) div table td:hover {
    border-radius: 0.5em;
    transition: border 0.2s;
    background-color: rgba(0, 174, 226, 0.9);
    color: white;
    font-size: 1.2em;
    font-family: "Arial", sans-serif;
    cursor: pointer;
}

section {
    width: 100%;
}

section table {
    text-align: center;
    margin-top: 1%;
}

section table tr:nth-child(1) td {
    background-color: blue;
}

section table tr:nth-child(1) td h2 {
    font-size: 1.2em;
    font-family: "Arial", sans-serif;
    color: white;
    text-align: center;
    display: block;
    font-weight: bold;
}

section table tr td {
    transform: scale(1);
    background-color: rgba(100, 174, 226, 0.9);
}

section table tr td article table tr td h3 {
    font-size: 1.0em;
    font-family: "Arial", sans-serif;
    color: black;
    text-align: center;
    display: block;
    font-weight: bold;
    color: white;
}

section table tr td article table tr td img {
    margin-top: 1%;
    margin-bottom: 1%;
    border: 1px solid transparent;
    border-radius: 0.5em;
}

section table tr td article table tr td p {
    color: navy;
    text-align: justify;
    text-justify: inter-word;
    padding-left: 1.3%;
    padding-right: 1.3%;
    font-family: "Arial", sans-serif;
}

footer div ul {
    list-style: none;
}

footer div ul li div table tr td img {
    margin-top: 27%;
    margin-bottom: 8%;
    border: 1px solid transparent;
    border-radius: 0.5em;
    transform: scale(1);
    width: 90%;
}

footer div:nth-child(2) {
    box-shadow: 0px 3px 2px 18px rgba(0,0,0,0.2) inset;
    background-color: rgba(255, 113, 10, 1);
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

footer div:nth-child(2) table {
    width: 97.4%;
    margin-left: 1.3%;
    margin-right: 1.3%;
    padding-top: 2.8%;
    padding-bottom: 2%;
}

footer div:nth-child(2) table tr td {
    width: 25%;
}

footer div:nth-child(2) table tr td label {
    color: white;
    margin-left: 5%;
    font-family: "Arial", sans-serif;
}

footer div:nth-child(2) table tr td em {
    font-weight: bold;
    font-size: 0.7em;
    color: white;
    margin-left: 5%;
    font-family: "Arial", sans-serif;
}

footer div:nth-child(2) table tr td hr {
    width: 90%;
}

footer div:nth-child(2) table tr td p {
    font-weight: bold;
    font-size: 0.9em;
    color: white;
    margin-left: 5%;
    font-family: "Arial", sans-serif;
}

footer div:nth-child(2) table tr td ul {
    list-style-type: none;
    margin: 2%;
    padding: 2%;
}

footer div:nth-child(2) table tr td ul li a {
    padding: 1.8%;
    font-size: 0.8em;
    font-weight: bold;
    font-family: "Arial", sans-serif;
    color: white;
    text-decoration: none;
}

footer div:nth-child(2) table tr td ul li a:hover {
    color: blue;
    text-decoration: underline;
    font-size: 1.0em;
}

footer div:nth-child(2) table tr:nth-child(2) td{
    text-align: center; 
    width: 5%;
}

footer div:nth-child(2) table tr:nth-child(2) td label{
    margin-left: 0.1%;
    font-family: "Arial", sans-serif;
}

/**************************************************************************************DAAN*/
/* Media query based on width devices */
@media only screen and (max-width: 1024px){
    #headerdesktop, #enlacedesktop, #progresodesktop, #footerdesktop {
        display: none
    }

    #headermobile > table tr:nth-child(1) > td {
        padding-top: 7%;
        padding-bottom: 3%;
        padding-right: 5.5%;
    }

    #headermobile > table tr:nth-child(1) td img {
        width: 90%;
        background-color: white;
        border: 4px solid transparent;
        border-top-left-radius:9px;
        border-top-right-radius:4px;
        border-bottom-left-radius:4px;
        border-bottom-right-radius:9px;
    }

    #headermobile > table tr:nth-child(2) td:nth-child(1){
        width: 100%;
        text-align: center;
        padding-top: 1%;
        padding-bottom: 1%;
    }

    
    #headermobile > table tr:nth-child(2) td img {
        width: 70%;
        background-color: white;
        border-top-left-radius:6px;
        border-top-right-radius:4px;
        border-bottom-left-radius:4px;
        border-bottom-right-radius:6px;
    }

/*************************************************************************************FIN_DAAN*/

    #unslider {
        width: 91%;
        height: 250px;
        margin-left: 4%;
        border-top-left-radius:16px;
        border-top-right-radius:4px;
        border-bottom-left-radius:4px;
        border-bottom-right-radius:16px;
    }

    #btnmenumobile {
        border-radius: 3px;
        border: 0px solid rgba(0, 0, 0, 0.3);
        box-sizing: border-box;
        padding: 7px;
        background: rgba(0, 174, 226, 0.8);
        color: white;
        font-weight: bold;
        font-size: 1.0em;
        transition: background 0.4s;
        cursor: pointer;
        font-family: "Arial", sans-serif;
    }

    #txtbusquedamobile {
        text-align: center;
    }

    #trmenumobile td nav div {
        width: 92%;
        padding-top: 2%;
        padding-bottom: 2%;
        text-align: left;
        margin-left: 0%;
        border-bottom: 1px solid white;
        padding-right: 0.2%;
        border-radius: 0px;
    }

    #trmenumobile td nav div:hover {
        cursor: pointer;
        font-size: 1.1em;
        color: white;
        background: rgba(0, 174, 226, 1);
        transition-duration: 100ms;
    }

    #trmenumobile td nav div a {
        text-decoration: none;
        padding-left: 5%;
        color: white;
        font-weight: bold;
        font-family: "Arial", sans-serif;
        font-size: 0.8em;
    }

    #menumobile {
        display: none;
    }

    #progresomobile table tr td h2 {
        font-size: 0.9em;
    }

    header div:nth-child(2) {
        width: 92.5%;
        margin-left: 4%;
    }

    header div:nth-child(2) ul li label {
        width: 99.5%;
        height: 250px;
        margin-left: 0.2%;
        font-family: "Arial", sans-serif;
    }

    header div:nth-child(1) ul li img {
        width: 93%;
        height: 250px;
        margin-left: 4%;
        border-top-left-radius:16px;
        border-top-right-radius:4px;
        border-bottom-left-radius:4px;
        border-bottom-right-radius:16px;
    }

    section table {
        width: 100%;
    }

    header div:nth-child(3) {
        width: 100%;
        margin-left: 0%;
    }

    #unsliderfootermobile table tr td img{
        width: 90%;
        padding-top: 15%;
    }

    #footermobile div:nth-child(2) table {
        padding-top: 8%;
        padding-left: 2%;
    }

    #footermobile div:nth-child(2) table tr td ul li a:hover {
        color: blue;
        text-decoration: underline;
        font-size: 0.9em;
    }

    #footermobile div:nth-child(2) table tr:nth-child(3) td {
        text-align: center;
        padding-top: 3%;
        padding-bottom: 3%;
    }

    #categoriasfootermobile {
        display: none;
    }

    footer div:nth-child(2) table tr td em {
        margin-left: 0%;
    }

    footer div:nth-child(2) table tr td label {
        margin-left: 0%;
    }

    #datecopyrightmobile {
        margin-left: 0%;
    }
}

@media only screen and (min-width: 1025px) {
    #headermobile, #progresomobile, #footermobile {
        display: none
    }

    header div:nth-child(3) {
        border-top: 2px solid white;
    }
}