.social_dgm i {
	padding: 0 0.5rem;
}
.social_dgm a:not(a:last-child) {
	border-right: 1px solid #0000001c;
	padding-right: 0.5rem;
}
.rrss_dgm a {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}
.rrss_dgm_txt {
    color: #9fabaf;
    padding-left: 0.5rem;
}
.social_dgm {
	border-bottom: 1px solid #0000000d;
	background: white;
    z-index: 99999999;
    position: absolute;
    top: 0;
    width: 100vw;

}
#email_content_dgm {
  position: relative;
  display: inline-block;
}
#email_content_dgm #mailto-toptip {
  visibility: hidden;
  background-color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}
#mailto-toptip:before {
    content:"";
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -8px;
}
#email_content_dgm:hover #mailto-toptip {
  visibility: visible;
}
@media(max-width: 600px) {
	.bar-bottom {
	    position: fixed;
	    z-index: 999999;
	    bottom: 0;
	    left: 0;
	    display: flex;
	    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
	    width: 100vw;
	    background: white;
	    padding: 0.25rem;
	    flex-wrap: wrap;
	    height: 3rem;
	}
	.rrss_dgm_txt {
    font-size: 0.8rem;
	}
	div:not(#top-header) > .social_dgm {
		padding: 10px 10px;
	}
	.bar-bottom > a, .bar-bottom > div {
	    flex: 1;
	    display: flex;
	    justify-content: center;
	    align-items: center;
	}
	.no-mobile, #consultanos .info {
    	display: none;
	}
	#consultanos {
    background-color: transparent !important;
    border-radius: 0 !important;
    border: 0 !important;
    text-transform: initial;
    font-weight: initial;
	}
}
@media(min-width: 600px) {
	.social_dgm {
		display: flex;
		justify-content: space-between;
	}
	.rrss_dgm_txt {
    font-size: 1rem;
	}
	div:not(#top-header) > .social_dgm {
		padding: 0.5rem 30px;
	}
}

/* 
*
*
* POPUP IFRAME
*
*
*/

.wrapper.open, .wrapper.open .background-popup {
    visibility:visible !important;
    opacity:1 !important;
}
#response {
    color: #000000;
}
.popup-dgm {
    padding: 32px 32px 15px 15px;
    background: white;
    width: 430px;
    height: fit-content;
    margin: 0 auto;
    margin-top: 50px;
    position: relative;
}

.close-iframe {
    position: absolute;
    right: 0;
    color: #444444;
    top: 0;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    border: 1px solid #bfbfbf;
}
.close-iframe:hover {
  opacity: 1;
}
.close-iframe:before, .close-iframe:after {
  position: absolute;
  left: 15px;
  top: 3px;
  content: ' ';
  height: 24px;
  width: 2px;
  background-color: #333;
}
.close-iframe:before {
  transform: rotate(45deg);
}
.close-iframe:after {
  transform: rotate(-45deg);
}
/* The animation code */
@keyframes show {
  from {right: 70px; transform: translateX(100%);}
  to {right: 0; transform: translateX(0);}
}

@media (min-width:  600px) {
    .wrapper {
        display: flex;
        align-items: center;
    }
    .btn-flotante .btn i {
      padding-right: 1rem !important;
       padding-left: 0.5rem !important;
      font-size: 22px;
    }
    .btn-flotante .btn .fa-envelope {
    	margin-left: -0.7rem !important;
    }
    .btn-flotante .btn {
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        display: block;
        margin: 1rem 0 1rem 0.5rem;
        background: white;
        padding: 1rem 1.5em !important;
    }
    .btn-flotante {
    right: 70px;
    left: unset !important;
    bottom: 200px !important;
    transform: translateX(100%);
    }
    .btn-flotante:hover {
      animation: show 0.5s ease-out normal forwards;
    }
}
.social_dgm a:hover {
    color: #3a3a3a !important;
    text-decoration:none !important;
}
.wrapper {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100vw;
    transition:visibility 0.3s linear,opacity 0.3s linear;
    opacity: 0;
}
.background-popup {
	position: fixed;
    left: 50%;
    top: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
    width: 100vw;
    min-height: 100vh;
    background: #00000085;
    transition:visibility 0.3s linear,opacity 0.3s linear;
    opacity: 0;
}
.wrapper #response {
    border:  0;
}
@media (max-width: 600px) {
    .noscroll { overflow: hidden; }
    .wrapper { 
        overflow-y: scroll;
    }
    .btn-flotante {
        position: relative !important;
    }
    .popup-dgm {
        width: 90% !important;
    }
    .wrapper #response {
        width: 100%;
        border:  0;
    }
}