body, html {
    height:100%;
    margin:0;
    font-size:16px;
    font-family:'Raleway', sans-serif;
    font-weight:400;
    line-height:1.4em;
    color:#666;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.pimg1, .pimg2, .pimg3{
    position:relative;
    opacity: .;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;

  /*
    fixed = parallax
    scroll = normal
  */
    background-attachment:fixed;
}

/*.pimg1{
    background-image:url('../img/banner.jpg');
    min-height:80%;
    z-index: -1;   
}*/

.pimg1{
    background-image:  
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('../img/somos.jpg');
    min-height:80%;
    z-index: -1;
}

/*.pimg2{
  background-image:url('../img/image2.jpg');
  min-height:400px;
}

.pimg3{
  background-image:url('../img/image3.jpg');
  min-height:400px;
}*/

.section{
    text-align:left;
    padding:50px 50px;
    margin-top: 50px;
    margin-bottom: 20px;
    margin-left: 100px;
    margin-right: 100px;
    box-sizing: border-box;
}

.section-light{
    background-color:#f4f4f4;
    color:#666;
}

.section-dark{
    color:#666;
    background-color:#f4f4f4;
}

.ptext{
    position:absolute;
    /*top:auto;*/
    width:100%;
    text-align:center;
    color:#000;
    font-size: 27px;
    letter-spacing:4px;
    text-transform:uppercase;
}

.ptext .border{
    background-color: rgba(44,63,81,.8);
    color:#fff;
    padding:20px;
    border: 1px solid #fff;
}

.ptext .border.trans{
    background-color:transparent;
}

@media(max-width:568px){
    .pimg1, .pimg2, .pimg3{
    background-attachment:scroll;
  }
}


/* agregados mios */

a {
    text-decoration: none;
    color:#4be1ab;
    font-weight: 200;
}

footer {
    background: #2c3f51;
    padding: 50px 50px;
    text-align: center;
    color: #666;
    z-index: 1;
}

body {
    background: #3D5771;
}

.section .section-light {
    margin-top: 20px;
}

.modelo {
    color:black;
    height: auto;
    width: 300px;
    background: #fff;
    /*margin: 20px 50px;*/
    margin-top: 25px;
    margin-left: 200px;
    margin-right: 200px;
    padding: 30px;
    border: 2px solid #000;
    display: inline-block;
    
}

/*------ Formulario ------------------*/

.contenedor .form .form-header .form-title {
    font-weight: normal;
    font-family:'Crimson+Text', sans-serif;
    color: #76aadb;
    text-align: center;
    padding: px 0;
}

.contenedor .form {
    background: rgba(0,0,0,.6);
    width: 100%;
    max-width: 650px;
    margin: auto;
    padding: 9px 35px;
    margin-top: 10px;
    padding-top: 30px;
    border-radius: 5px;
    border: 2px solid #76aadb;
    box-sizing: border-box;
}

.contenedor .form .form-label {
    display: block;
    color: #76aadb;
    font-size: 16px;
    font-family: Crimson+Text;
    position: relative;
}

.contenedor .form .form-input, .form-textarea {
    background: rgba(0,0,0,.7);
    border: none;
    outline: none;
    border-bottom: 2px solid #76aadb;
    width: 100%;
    padding: 12px;
    margin-bottom: 0px;
    border-radius: 2px;
    font-size: 14px;
    color: #fff;
    font-family: Raleway;
    box-sizing: border-box;
}

.contenedor .form .form-textarea {
    resize: vertical;
    max-height: 150px;
    min-height: 50px;
}

.contenedor .form .btn-submit {
    width: 60%;
    font-family: Raleway;
    font-weight: 600;
    outline: none;
    background: #4a72b2;
    font-size: 16px;
    border: none;
    color: #fff;
    padding: 15px 0;
    cursor: pointer;
    transition: all .5s ease;
    margin-bottom: 9px;
    display:block;
    margin-left: auto;
    margin-right: auto;
    
}

.contenedor .btn-submit {
    margin-left: auto;
    margin-right: auto;
}

.contenedor .form .btn-submit:hover {
    background: #76aadb;
}

/*------ir a inicio------------------*/

.inicio {
    width: 40%;
    font-family: Raleway;
    font-weight: 600;
    outline: none;
    background: #4a72b2;
    font-size: 16px;
    border: none;
    color: #fff;
    padding: 1px 1px;
    cursor: pointer;
    transition: all .5s ease;
    margin: 14px;
}

.inicio:hover {
    background: #76aadb;
}

.inicio {
    margin-left: auto;
    margin-right: auto;
}

/*------ir a inicio------------------*/

.btn {
    width: 40%;
    font-family: Raleway;
    font-weight: 600;
    text-align: center;
    transition: all .5s ease;
    margin: 0px;
    border: none;
    color: white;
    padding: 14px 3px;
    font-size: 16px;
    cursor: pointer;
}

.success {
    background-color: #4a72b2;
    }

.success:hover {
    background-color: #76aadb;
    }

/*-------------------------*/

.direccion {
    padding-top: 20px;
    border-top: 1px;
    border-top: 1px solid #8998A9;
    color: #8998A9;
}


.main {
    background: #f2f2f2;
    width: 90%;
    margin: 20px auto;
    max-width: 900px;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 20px;
}


#fotos {
    width: 100%;
    margin: 20px auto;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    float: none;
}

/*=====================================
  CSS for <iframe> embedded Google Map
  ===================================== */

.mapWrapper {
    position: relative;
    /* 
    Do math with the height of your iframe divided by the width, then converted to percent
    In this example the height is 400 and the width is 600
    400 / 600 = .66666667 
    which is 66.6666667% */
    padding-bottom: 36.6666667%; 
    height: 0;
}
.mapWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mapWrapper {
    width: 100%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

/*--------------------------*/

h3 {
    color: #fff;
    font-weight: 600;
}



.imagen {
    vertical-align: middle;
    text-align: center;
}

.imagen {
    border: ;
    color: ;
    padding: 20em 0em 0em 0em;
    /*margin-left: auto;
    margin-right: auto;*/
}

/*--- redes sociales ---*/


.padre {
    display: inline-block;
    width: 100%;
}

.padre img {
    width: 40px;
    padding: 20px 10px;;
}

.padre img:hover {
    opacity: 0.5;
}

/* -- para publicaciones --*/

#libros {
    width: 100%;
    height: 100%;
    /*margin: 20px auto;
    max-width: 900px;*/
    margin-left: auto;
    margin-right: auto;
    float: none;
}



/*--------- Querrie para pantalla ------------*/


@media screen and (max-width:440px) and (min-width:320px)
    {
    #logo {
        max-width: 35%;
    }
    .imagen {
        padding: 13em 0em 0em 0em;
    }
    .ptext {
        padding: 2em 0em 0em 0em;
        font-size: 15px;
    }
}

@media screen and (max-width:800px) and (min-width:441px)
    {
    #logo {
        max-width: 10%;
    }
    .imagen {
        padding: 13em 0em 0em 0em;
    }
    .ptext {
        padding: 6em 0em 0em 0em;
        font-size: 9px;
    }
}


@media screen and (max-width:1650px) and (min-width:1200px)
    {
    #logo {
        max-width: 12%;
    }
    .imagen {
        padding: 18em 0em 0em 0em;
    }
    .ptext {
        padding: 1.5em 0em 0em 0em;
        font-size: 32px;
    }
}

@media screen and (min-width:1651px)
    {
    #logo {
        max-width: 10%;
    }
    .imagen {
        padding: 31em 0em 0em 0em;
    }
    .ptext {
        padding: 1.7em 0em 0em 0em;
        font-size: 34px;
    }
}









