body {
    font-family: 'Times New Roman', Times, serif;
}

header, section, footer {
    width: 960px;
    margin-left: auto;
    margin-right: auto;    
}

header {
    height: 160px;
    /* background-color:#ffffff; */
}

header, #inicio, #coberturas, #companias, #contacto {
    margin-bottom: 10px;
}

#logo {
    height: 160px;
    width: 160px;
    /* background-color:#27662c; */
    float: left;
}

#logo img {
    height: 160px;
}

#frase {
    height: 100px;
    width: 340px;
    /* background-color:#ffffff; */
    float: left;
    margin-top: 30px;
    text-align: center;
}

h1 { 
    font-family: 'Sriracha', cursive;   
    margin: 10px;
}

header em {
    font-size: 25px;
}

#menu {
    height: 100px;
    width: 460px;
    /* background-color:#ffffff; */
    float: right;
    margin-top: 30px;    
}

#menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#menu ul li {
    display: inline;
}

#menu ul li a {
    margin-top: 25px;
    display: inline-block;
    width: 110px;
    height: 50px;
    /* background-color:#ffffff; */
    color: #1d1313;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    border-style: none;
    /* border-width: 1px; */
}

#menu ul li a:hover {
    background-color:#0d0b9b;
    color: rgb(255, 255, 255);   
}

#inicio {
    height: 1025px;
    /* background-color:#ffffff; */
}

#inicio img {
    width: 960px;    
}

#fila1_inicio {
    width: 960px;
    height: 375px;
    /* background-color: #243f7d;   */
    margin-bottom: 10px;
    position: relative;    
}

#fraseimagen {    
    width: 440px;
    position: absolute;
    bottom: 100px;
    font-weight: bold;          
}

#fraseimagen p {    
    margin-left: 10px;
    text-transform: uppercase;
    color: #000000;
    font-size: 2em;
}

#fila2_inicio_izq {
    width: 475px;
    height: 400px;    
    float: left;
}

#txtcuadroizq h2 {
    font-family: 'Sriracha', cursive;   
    margin-top: 30px;
    font-size: 30px;
    text-align: center;
}

#txtcuadroizq p {
    padding: 30px;
    font-size: 25px;
    text-align: justify;
    font-weight: bold;
}

#txtcuadroizq ul li {
    font-size: 25px;    
}

#fila2_inicio_der {
    width: 475px;
    height: 400px;    
    float: right;    
    background-image: url(img/labradortrans.jpg);
    background-size: cover;
}

#fila2_inicio_der #txtcuadroder {
    font-family: 'Sriracha', cursive;
    color: #ffffff;
    margin-top: 330px;
    margin-left: 30px;
}

#fila3_inicio_izq {
    width: 308px;
    height: 220px;
    background-color: #000000;
    float: left;
    margin-top: 10px;
    margin-right: 10px;
    border-style: solid;
    border-radius: 8px;
}

#fila3_inicio_izq h3, #fila3_inicio_cen h3, #fila3_inicio_der h3 {
    font-family: 'Sriracha', cursive;
    color: white;
    text-align: center;
}

#fila3_inicio_izq p {
    padding-top: 15px;
    color: white;
    text-align: center;
}

#fila3_inicio_der p {
    color: white;
    text-align: center;
}


#fila3_inicio_cen {
    width: 300px;
    height: 220px;
    background-color: #000000;
    float: left;
    margin-top: 10px;    
    border-style: solid;
    border-radius: 8px;
}

#fila3_inicio_cen ul {
    margin: 0;
    padding: 0;
    list-style-type: none;  
}

#fila3_inicio_cen ul li {
    text-align: center;      
    margin-bottom: 5px;
    
}

#fila3_inicio_cen ul li a {    
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

#fila3_inicio_cen ul li a:hover {    
    background-color:#0d0b9b;
    font-weight: bold;   
}

#fila3_inicio_der{
    width: 308px;
    height: 220px;
    background-color: #000000;
    float: right;
    margin-top: 10px;
    border-style: solid;
    border-radius: 8px;
}

#coberturas {
    height: 470px;
    /* background-color:#8c98a3; */
}

#coberturas .img {
    width: 150px;
    height: 150px;
    /* background-color:#edb42d; */
    float: left;
    margin-right: 10px;
    margin-bottom: 5px;
    background-size: cover;
}

#coberturas #auto {
    background-image: url(img/auto.png);
}

#coberturas #accidente {
    background-image: url(img/accpers.png);
}

#coberturas #moto {
    background-image: url(img/moto.png);
}

#coberturas #vidaahorro {
    background-image: url(img/vidaahorro.png);
}

#coberturas #hogar {
    background-image: url(img/casa.png);
}

#coberturas #granizo {
    background-image: url(img/granizo.png);
} 

#coberturas .texto {
    width: 310px;
    height: 150px;
    /* background-color: #bf9124; */
    float: left;    
    margin-right: 10px;
    margin-bottom: 5px;
    text-align: center; 
}

#coberturas .texto h2 {    
    font-family: 'Sriracha', cursive;
    margin: 5px;
}

#companias {
    height: 225px;
    background-color:#ffffff;
    padding-top: 20px;    
}

#fila1_companias {
    width: 930px;
    height: 205px;
    /* background-color:#000000; */
    padding-left: 20px;      
    margin-left: auto;
    margin-right: auto;   
}

#companias #fila1_companias .companias {
    width: 165px;
    height: 165px;
    /* background-color:#000000; */
    margin-top:20px;
    margin-right: 20px;
    float: left;
}

#sancristobal {
    background-image: url(img/LogoSC.jfif);
    background-size: cover;
}

#laperseverancia {
    background-image: url(img/lps.jpg);
    background-size: cover;
}

#sancor {
    background-image: url(img/sancor.png);
    background-size: cover;
}

#integrity {
    background-image: url(img/integrity.png);
    background-size: cover;
}

#libra {
    background-image: url(img/libra.jpg);
    background-size: cover;
}

#contacto {
    height: 200px;
    /* background-color:#8c98a3; */
}

#contacto_izq {
    width: 400px;
    height: 200px;
    /* background-color:#d33deb; */
    float: left;
}

#contacto_izq h2 {
    font-family: 'Sriracha', cursive;
    text-align: left;
}

#contacto_izq ul {
    font-weight: bold;
    padding: 0px;
    margin-left: 30px;
    font-size: 18px;
    list-style-type: none;
}

#contacto_der {
    width: 550px;
    height: 200px;
    /* background-color:#a520ba; */
    float: right;
}

#contacto_der h2 {
    font-family: 'Sriracha', cursive;
    margin-left: 20px;
}

#contacto_der p {
    margin-left: 20px;
    font-size: 18px;
}

footer {
    height: 140px;
    /* background-color:#8c98a3; */
}

#pie_izq {
    width: 400px;
    height: 140px;
    /* background-color:#85d8ff; */
    float: left;
}

#pie_izq h2 {
    font-family: 'Sriracha', cursive;
    margin-top: 1px;    
}

#pie_izq p {   
     
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;    
    font-size: 18px;
}

#pie_cen {
    width: 280px;
    height: 140px;
    /* background-color:#67b6db; */
    margin-left: 10PX;
    float: left;
    background-image: url(img/3perritos.jpg);
    background-size: cover;
}

#pie_der {
    width: 260px;
    height: 140px;
    /* background-color:#4da2c9; */
    float: right;    
}

#pie_der a img {
    margin-top: 25px;
    margin-left: 25px;
}

#pieabajo1 {
    float: left;
    width: 960px;
    height: 40px;      
}

#pieabajo1_izq {
    float: left;
    width: 480px;    
    text-align: center;
}

#pieabajo1_der {
    float: right;
    width: 480px;
    text-align: center;
}

#pieabajo2 {
    margin-top: 10px;    
    float: left;
    width: 960px;
    height: 150px;
    background-color:#000000;    
}

#pieabajo2 h3 {
    color: white;
    font-size: 20px;
    text-align: center;
}

/* ------------------------- Fin vista de Escritorio ------------------------------------------*/

@media all and (min-width: 600px) and (max-width: 1023px) {

    header {
        height: 200px;    
    }
    
    header, section, footer {
        width: 580px;           
    }

    #logo {
        height: 150px;
        width: 150px;    
    }
    
    #logo img {
        height: 150px;
    }
    
    #frase {
        height: 110px;
        width: 430px;        
        float: right;
        margin-top: 18px;    
    }
    
    #menu {        
        height: 60px;
        width: 580px;    
        float: left;        
        margin-top: 0px;    
    }

    #menu ul li a {
        margin-top: 5px;        
        width: 142px;
    }

    #inicio {
        height: 1550px;        
    }
    
    #inicio img {
        width: 580px;    
    }
    
    #fila1_inicio {
        width: 580px;
        height: 230px;                    
    }
    
    #fraseimagen {
        width: 380px;
        bottom: 1px;     
    }
    
    #fraseimagen p {    
        margin-left: 5px;        
        font-size: 21px;
    }
    
    #fila2_inicio_izq {
        width: 580px;
        height: 430px;
    }
    
    #txtcuadroizq h2 {          
        margin-top: 15px;    
    }
    
    #fila2_inicio_der {        
        width: 580px;        
    }
    
    #fila2_inicio_der #txtcuadroder {        
        color: #0d0b9b;
        margin-top: 0px;    
    }
    
    #fila3_inicio_izq {
        width: 305px;
        height: 230px;
    }   
    
    #fila3_inicio_cen {
        width: 250px;
        height: 230px;
        float: right;    
    }
    
    #fila3_inicio_der{
        width: 576px;              
        float: left;    
    }
    
    #coberturas {
        height: 930px;
        /* background-color:#8c98a3; */
    }
    
    #coberturas .img {    
        /* background-color:#edb42d;         */
        margin-right: 0px;    
    }    
    
    #coberturas .texto {
        width: 415px;        
        /* background-color: #bf9124; */
        float: right;    
        margin-right: 0px;    
    }
        
    #companias {
        height: 130px;
        /* background-color:#434069; */
        padding-top: 10px;    
    }
    
    #fila1_companias {
        width: 560px;
        height: 120px;
        /* background-color:#756161;        */
    }
    
    #companias #fila1_companias .companias {
        width: 90px;
        height: 90px;        
        margin-top: 15px;    
    }

    #contacto {
        height: 420px;        
        /* background-color:#8c98a3; */
    }
    
    #contacto_izq {
        width: 580px;
        height: 210px;
        /* background-color:#d33deb; */
    }
    
    #contacto_izq h2 {        
        text-align: center;
        
    }
    
    #contacto_izq ul {       
        text-align: center;        
    }
    
    #contacto_der {
        width: 580px;
        height: 210px;        
        /* background-color:#a520ba; */
        float: left;
    }
    
    #contacto_der h2 {        
        text-align: center;
    }
    
    #contacto_der p {
        text-align: center;
    }
    
    footer {
        height: 280px;
        /* background-color:#8c98a3; */
    }
    
    #pie_izq {
        width: 290px;
        height: 200px;
        /* background-color:#85d8ff;         */
    }
    
    #pie_izq h2 {
        font-size: 20px;                
    }    
    
    #pie_cen {
        display: none;
    }
    
    #pie_der {
        width: 280px;
        height: 200px;
        /* background-color:#4da2c9;     */
    }   
    
    #pieabajo1 {        
        width: 580px;    
    }
    
    #pieabajo1_izq {        
        width: 290px;    
    }
    
    #pieabajo1_der {
        width: 290px;        
    }
    
    #pieabajo2 {        
        width: 580px;
        height: 120px;
        /* background-color:#000000;     */
    }
    
    #pieabajo2 h3 {        
        font-size: 16px;       
    }    
} 

/* ------------------------- Fin vista media 600 a 1023px ------------------------------------------*/

@media all and (max-width: 599px) {

header, section, footer {
    width: 90%;
    /* background-color: #1d1313;       */
}

header {
    height: auto;    
    /* background-color:#831b1b; */
}

#logo {
    height: auto;
    width: 26%;
    /* background-color:#27662c; */    
}

#logo img {
    height: 90px;
}

#frase {
    height: auto;
    width: 74%;
    /* background-color:#a02727; */
    float: right;
    margin-top: 15px;    
}

h1 {     
    margin: 5px;
    font-size: 1em;
}

header em {
    font-size: 1em;
}

#menu {
    height: auto;
    width: 100%;
    /* background-color:#ac2121; */
    float: none;    
    margin-top: 10px;    
}

#menu ul li {
    display: block;
    text-align: center;
}

#menu ul li a {
    margin-top: 0px;    
    width: 100%;
    height: auto;
    /* background-color:#ffffff; */    
}

#inicio {       
    height: auto;
    /* background-color:#16ad2b; */
}

#inicio img {
    width: 100%;    
}

#fila1_inicio {
    width: 100%;
    height: auto;
    /* background-color: #243f7d;   */        
}

#fraseimagen {    
    width: 280px;    
    bottom: 5px;              
}

#fraseimagen p {    
    margin-left: 10px;        
    font-size: 15px;
}

#fila2_inicio_izq {
    width: 100%;
    height:auto;    
    float: none;
}

#txtcuadroizq h2 {       
    margin-top: 15px;
    font-size: 25px;  
}

#txtcuadroizq p {
    padding: 15px;
    font-size: 22px;
    text-align: center;    
}

#txtcuadroizq ul li {
    font-size: 22px;
    padding-bottom: 5px;    
}

#fila2_inicio_der {
    display: none;
}

#fila3_inicio_izq, #fila3_inicio_cen, #fila3_inicio_der {
    width: 99%;
    height: auto;    
    float: none;    
}

#fila3_inicio_izq p {
    padding-top: 0px;    
}

#coberturas {
    height: auto;
    width: 90%;
    /* background-color:#8c98a3; */
}

#coberturas .img {   
    display: none;
}

#coberturas .texto {
    width: 100%;
    height: auto;    
    float: none;        
    margin-bottom: 0px;    
}

#coberturas .texto h2 {    
    margin: 0px;
}

#coberturas .texto p {    
    margin: 10px;
}

#companias {
    width: 90%;
    height: auto;
    /* background-color:#8f2424; */
    padding-top: 0px;        
}

#fila1_companias {
    display: none;  
}

#contacto {
    height: auto;
    width: 90%;
    /* background-color:#8c98a3; */
}

#contacto_izq, #contacto_der {
    height: auto;
    width: 100%;
    /* background-color:#d33deb; */
    float: none;
}

#contacto_izq h2 {    
    text-align: center;
}

#contacto_izq ul {   
    margin-left: 0px;           
    text-align: center;
}

#contacto_der h2 {
    margin-left: 0px;    
    text-align: center; 
}

#contacto_der p {    
    height: auto;
    margin-left: 0px;
    font-size: 20px;
    text-align: center;
}

footer {
    width: 90%;
    height:auto;    
    float: none;    
    /* background-color:#8c98a3; */
}

#pie_izq {
    width: 100%;
    height:auto;    
    float: none;
    text-align: center;    
}

#pie_cen {
    width: 100%;
    height:auto;    
    float: none;   
}

#pie_der {
    /* background-color: bisque; */
    width: 100%;
    height:auto;    
    float: none;    
}

#pie_der a img {
    margin-top: 0px;
    padding-inline-start: 15%;
}

#pieabajo1 {    
    float: none;
    width: 100%;
    height: auto;      
}

#pieabajo1_izq {
    float: none;
    width: 100%;        
}

#pieabajo1_der {
    float: none;
    width: 100%;    
}

#pieabajo2 {
    padding: 10px;    
    float: none;
    width: 96%;
    height: auto;        
}
}