
#element1:checked ~ #slider-container #slider-box{
    margin-left: 0;
}
#element2:checked ~ #slider-container #slider-box{
    margin-left: -100%;
}
#element3:checked ~ #slider-container #slider-box{
    margin-left: -200%;
}

#slider-container{
    width: 100%;
    height: 400px;
    overflow: hidden;
    
    
}
#slider-box{
    width: 300%;
    text-align: center;
    margin-left: 0%;
    
    
}
.element-blue,
.element-green,
.element-red{
    min-width: 400px;
    max-width: 100%;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-position: center center;
background-repeat: no-repeat;
background-attachment: inherit;
background-size: cover;
background-color: #464646;
}
.element-blue{
    background-image: url(imagenes/Calugas%20marca%20de%20agua.jpg);
}
.element-green{
    background-image: url(imagenes/comedero_vacas.JPG);
}
.element-red{
    background-image: url(imagenes/Mapa%20sin%20ima.jpg);
}

.slider-element {
    float: left;
    width: 33.33%;
}

#radio-container{
    text-align: center;
    margin-top: 375px;
    position: absolute;
    z-index: 10;
    width: 10%;
    margin-left: 45%;
}

#square-container{
    margin-top: 3%;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #ffffff ;
    text-align: center;
    
}

.basicsquare{
    
    background-color: #231f20;
    color: #ffffff;
    border: solid ;
    border-width: thick;
    border-color: #ffffff;  
    padding: 1%;
    padding-bottom: 2%;
    overflow: hidden;
} 
.square{
    width: 40%;
    display:inline-block;
    margin: 2% 0% 2% 5%;
    float: left;
}
#square2{

    float: right;
    margin-right: 5%;
    margin-left: 0%;
}

#square-container img{
  
    display: inline-block;
    margin-top: 2em;
    text-align: center;
    
}
#square-container p{
    text-align: justify;
    width: 100; 
    margin-top: 1em;
    padding: 0 1em .5em 1em;
     
}

.bigsquare{
    position: absolute;
    width: 87.5%;
    z-index: 100;
    margin: 2% 0% 2% 5%;
    
}

h3{
 margin-bottom: 2em; 
font-size: 1.3em;
    
}

.basicsquare img{
    text-align: center;
    width: 100%;
    display: inline-block;
}


.button{    
width:120px;
color: rgb(230, 230, 230);
font-size: 17px;
padding: 8px;
text-shadow: 0px -1px 0px rgba(30, 30, 30, 0.8);
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
background: rgb(210, 20, 20);
background: -moz-linear-gradient(0deg, rgb(210, 20, 20) 32%, rgb(250, 20, 20) 70%);
background: -webkit-linear-gradient(0deg, rgb(210, 20, 20) 32%, rgb(250, 20, 20) 70%);
background: -o-linear-gradient(0deg, rgb(210, 20, 20) 32%, rgb(250, 20, 20) 70%);
background: -ms-linear-gradient(0deg, rgb(210, 20, 20) 32%, rgb(250, 20, 20) 70%);
background: linear-gradient(270deg, rgb(210, 20, 20) 32%, rgb(250, 20, 20) 70%);
-webkit-box-shadow: 0px 2px 1px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 2px 1px rgba(50, 50, 50, 0.75);
box-shadow:         0px 2px 1px rgba(50, 50, 50, 0.75);
    display: block;
    margin-left: 60%;
      }

@media (max-width: 700px){
    
    .square{
        width: 90%;
        float: none;
        margin-left: 0;
    }
    
    #square2{
        width: 90%;
        float: none;
        margin-right: 0;
    }
    #radio-container{
        width: 30%
        
        }   
.button{
    margin-left: 50%;      
        }
#square-container p{
    font-size: 19px;
}

.basicsquare img{
    text-align: center;
width: 90%;
    display: inline-block;
    }

    @media (max-width: 400px) and (min-width: 0px){
            #square-container p{
             font-size: 17px;
        }
    }

