.gallery_content {
    width: 300px;
    float: left;
    margin: 0 5px;
    margin-bottom: 6px;
    position: relative;
    margin-top: 20px;

}

.gallery_image_big2 {
    height: 340px;
    display: flex;
}

.gallery_image {
    height: 250px;
    display: grid;
    overflow: hidden;
    background-color: #f4f4f4;
}

.gallery_image_footer_option2 {
    background-color: #7F2346;
    display: flex;
    margin-bottom: 5px;
}

.gallery_image img {
    max-width: 75%;
    margin: auto;
    background-color: #ffffff;
}

.label-CatName {
    display: block;
    padding-left: 5px;
    FONT-FAMILY: Museo-700;
    font-size: 2.5rem;
}

.label-catname-2 {
    display: block;
    padding-left: 5px;
    FONT-FAMILY: Museo-700;
    font-size: 2.5rem;
}

.gallery_image_footer {
  /*  padding: 5px; */
    padding: 0;
  /*  background-color: #F4F4F4; */
    background-color: #DEDEDE;
    height: auto;
}

.gallery_image_footer p {
    margin: 0px;
    /*font-size: 12px;*/
    background-color: #F4F4F4;
    padding-left: 5px;
    height: 160px!important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    FONT-FAMILY: Museo-300;
    font-size: 1.5rem
}


::placeholder {
    color: #d5d5d5;
}

.gallery_image_footer_option {
    position: relative !important; 
  /*  bottom: 0px; */
    background-color: #7F2346;
    width: 100%;
    color: #fff;

   /* CAMBIO DE SANTIAGO Y JUANPA*/
    height: 35px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    padding-right: 75%;
}

/*  ESPACIO ENTRE ICONOS DE VOTACIÓN */

/* .gallery_image_footer_option:nth-child(n){
    margin: 0 5px 0 0;
} */

.gallery_image_footer_option label {
    margin-bottom: 0 !important;
}

.gallery-like-cont label {
    margin-bottom: 0;
}

#fade {
    display: none;
    position: fixed;
    left: 0%;
    top: 0%;
    background-color: black;
    -moz-opacity: 0.7;
    opacity: .70;
    filter: alpha(opacity=70);
    width: 100%;
    height: 100%;
    z-index: 90;
}

#overlay {
    display: none;
    position: fixed;
    left: 25%;
    top: 4%;
    padding: 25px;
    z-index: 100;
    width: 36%;
}

svg#Capa_1 {
    margin-top: 2px;
}

#overlay div img {
    height: max-content;
    object-fit: contain;
    max-width: 65%;
}



#overlay .gallery_image_big {
    max-height: 695px;
    overflow: hidden;
}

.overlay_header a, .overlay_header a:hover, .overlay_header a:focus, .overlay_header a:active, .overlay_header a:visited {
    text-decoration: none;
    color: inherit;
}

.overlay_bt_close {
    padding: 1px 7px;
    color: #532b42;
    background-color: #feb500;
    font-weight:bold;
    text-decoration: none;
}

.overlay_header {
    display: flex;
    justify-content: flex-end;
}

.overlay_body {
    margin: 0px 21px;
}

select#ciudad {
    width: 170%;
}

.overlay_bt_next {
    position: absolute;
    top: 40%;
    z-index: 101;
    right: 31px;
    padding: 29px 25px;
    background-color: #000000bf;
    opacity: 0.5;
    color: #ffffff;
    font-weight: bold;
    font-size: 37px;
}

.overlay_bt_back {
    position: absolute;
    top: 40%;
    z-index: 101;
    left: 25px;
    padding: 29px 25px;
    background-color: #000000bf;
    opacity: 0.5;
    color: #ffffff;
    font-weight: bold;
    font-size: 37px;
}

.gallery-like-cont {
    background-color: #7F2346;
    color: #fff;

    /*CAMBIOS DE SANTIGO Y JUANPA*/
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    padding-right: 75%;
    
}


a#voto_5 {
    margin-top: -9px;
}


a.overlay_bt_close {
    background-color: #7f2346;
    position: absolute;
    right: 45px;
}

.overlay_style {
    background-color: #f5f5f5;
    border: solid #7e2246;
    -webkit-box-shadow: 12px 11px 0px -1px #7e2246;
    -moz-box-shadow: 12px 11px 0px -1px #7e2246;
    box-shadow: 12px 11px 0px -1px #7e2246;
}

.overlay_message {
    padding: 9px 71px;
    font-size: 21px;
    text-align: center;
}


path {
    stroke: #fff !important;
}

/*SOCIAL MEDIA */
.resp-sharing-button__link,
.resp-sharing-button__icon {
    display: inline-block
}

.resp-sharing-button__link {
    text-decoration: none;
    color: #fff;
    margin: 0.5em
}

.resp-sharing-button {
    border-radius: 5px;
    transition: 25ms ease-out;
    padding: 0.2em 0.45em;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}

.resp-sharing-button__icon svg {
    width: 1em;
    height: 1em;
    margin-right: 0.4em;
    vertical-align: top
}

.resp-sharing-button--small svg {
    margin: 0;
    vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
    stroke: #fff;
    fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
    fill: #fff;
    stroke: none
}

.resp-sharing-button--twitter {
    background-color: #55acee
}

    .resp-sharing-button--twitter:hover {
        background-color: #2795e9
    }

.resp-sharing-button--pinterest {
    background-color: #bd081c
}

    .resp-sharing-button--pinterest:hover {
        background-color: #8c0615
    }

.resp-sharing-button--facebook {
    background-color: #3b5998
}

    .resp-sharing-button--facebook:hover {
        background-color: #2d4373
    }

.resp-sharing-button--tumblr {
    background-color: #35465C
}

    .resp-sharing-button--tumblr:hover {
        background-color: #222d3c
    }

.resp-sharing-button--reddit {
    background-color: #5f99cf
}

    .resp-sharing-button--reddit:hover {
        background-color: #3a80c1
    }

.resp-sharing-button--google {
    background-color: #dd4b39
}

    .resp-sharing-button--google:hover {
        background-color: #c23321
    }

.resp-sharing-button--linkedin {
    background-color: #0077b5
}

    .resp-sharing-button--linkedin:hover {
        background-color: #046293
    }

.resp-sharing-button--email {
    background-color: #777
}

    .resp-sharing-button--email:hover {
        background-color: #5e5e5e
    }

.resp-sharing-button--xing {
    background-color: #1a7576
}

    .resp-sharing-button--xing:hover {
        background-color: #114c4c
    }

.resp-sharing-button--whatsapp {
    background-color: #25D366
}

    .resp-sharing-button--whatsapp:hover {
        background-color: #1da851
    }

.resp-sharing-button--hackernews {
    background-color: #FF6600
}

    .resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus {
        background-color: #FB6200
    }

.resp-sharing-button--vk {
    background-color: #507299
}

    .resp-sharing-button--vk:hover {
        background-color: #43648c
    }

.resp-sharing-button--facebook {
    background-color: #3b5998;
    border-color: #3b5998;
}

    .resp-sharing-button--facebook:hover,
    .resp-sharing-button--facebook:active {
        background-color: #2d4373;
        border-color: #2d4373;
    }

.resp-sharing-button--twitter {
    background-color: #55acee;
    border-color: #55acee;
}

    .resp-sharing-button--twitter:hover,
    .resp-sharing-button--twitter:active {
        background-color: #2795e9;
        border-color: #2795e9;
    }

.resp-sharing-button--email {
    background-color: #777777;
    border-color: #777777;
}

    .resp-sharing-button--email:hover,
    .resp-sharing-button--email:active {
        background-color: #5e5e5e;
        border-color: #5e5e5e;
    }

.resp-sharing-button--whatsapp {
    background-color: #25D366;
    border-color: #25D366;
}

    .resp-sharing-button--whatsapp:hover,
    .resp-sharing-button--whatsapp:active {
        background-color: #1DA851;
        border-color: #1DA851;
    }



.tooltip_ {
    position: relative;
    display: inline-block;

    /*CAMBIO DE SANTIGO Y JUANPA */
    height: 35px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    /* padding-right: 75%; */
}

.tooltip_ .tiptext {
    visibility: hidden;
    width: 200px;
    background-color: #d0dadb;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    padding: 6px 0;
    position: absolute;
    z-index: 1;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.tooltip_ .tiptext::after {
    content: "";
    position: absolute;
    border-width: 5px;
    border-style: solid;
}

.tooltip_:hover .tiptext {
    visibility: visible;
}

.tooltip_.top .tiptext {
    margin-left: -97px;
    bottom: 103%;
    left: 25%;
}

    .tooltip_.top .tiptext::after {
        margin-left: -5px;
        top: 100%;
        left: 50%;
        border-color: #d0dadb transparent transparent transparent;
    }


@media (min-width: 1000px) {
    #overlay .gallery_image_big {
        max-height: 400px;
        background-color: #fff;
        text-align: center;
    }
 }

@media (max-width: 800px) {

    #overlay {
        left: 0%;
        width: 100%;
    }

    .gallery_content{
        width: 72%;
    }

    .ng-scope {
        margin: auto;
    }
}

@media (max-width: 468px) {

    /* .gallery_content{
        width: 72% !important;
    }*/
    
    .ng-scope {
        margin: auto;
        PADDING: 8PX 0;
       /* max-height: 350px;
    display: inline-table;
    margin-left: 3%; */
    }

    input#cel {
        width: 170% !important;
    }

    select#ciudad {
        width: 100% !important;
    }

 /*   .gallery_image_big2 {
        height: 340px;
        display: flex;
    }

    .overlay_body2 {
        margin: auto;
    } */

    div#overlay_message {
        width: 80% !important;
        left: 13% !important;
    }

}
