﻿

div.gallery {
    margin: 7px;
    border: none;
    float: left;
    width: 265px;
}



/* RESPONSIVE
=========================================================================

 Móviles en horizontal o tablets en vertical
------------------------------------------------------------------------- */
@media (min-width: 768px) {
    div.gallery {
        margin: 7px;
        border: none;
        float: left;
        width: 163px;
    }
}

/* Tablets en horizonal y escritorios normales
------------------------------------------------------------------------- */
@media (min-width: 1024px) {
    div.gallery {
        margin: 7px;
        border: none;
        float: left;
        width: 260px;
    }
}

/* Escritorios muy anchos
------------------------------------------------------------------------- */
@media (min-width: 1200px) {
    div.gallery {
        margin: 7px;
        border: none;
        float: left;
        width: 260px;
    }
}

/* Tablets en horizonal y escritorios normales
------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1199px) {
    div.gallery {
        margin: 7px;
        border: none;
        float: left;
        width: 210px;
    }
}

/* Móviles en horizontal o tablets en vertical
------------------------------------------------------------------------- */
@media (max-width: 767px) {
    div.gallery {
        margin: 7px;
        border: none;
        float: left;
        width: 185px;
    }
}

/* Móviles en vertical
------------------------------------------------------------------------- */
@media (max-width: 480px) {
    div.gallery {
        margin: 7px;
        border: none;
        float: left;
        width: 163px;
    }
}

div.gallery img {
    width: 100%;
    height: auto;
}

.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 45px;
    width: 45px;
    background-color: rgba(0,0,0,0);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.0);
}

.sombraFondoCheck {
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: rgba(0,0,0,0);
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #173083;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.0);
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.0);
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 15px;
    top: 5px;
    width: 15px;
    height: 30px;
    border: solid white;
    border-width: 0 5px 5px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
