.boxpop{
	display: block;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	text-align: center;
	z-index: 999999;
	overflow: hidden;
	height: 0;
	opacity: 0;
	transition: 450ms linear
}

.onmask{
	background: rgba(0,0,0,.7);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 9;
	top: 0;
	left: 0
}
.boxpop figure{
	position: relative;
	top: -900px;
	opacity: 0;
	max-width: 80%;
	margin:20px auto;
	display: inline-block;
	z-index: 99;	
	transition: 1.2s ease-in-out;
}
.boxpop figure img{
	max-width: 100%;
	display: inline-block;
}
#close-pop{
	position: absolute;
    width: 30px;
    height: 30px;
    background: #008c63;
    border-radius: 50%;
    top: -11.5px;
    /*right: -14.5px;*/
    right: -10px;
    padding: 7px 9px;
    line-height: 0px;
    text-align: center;
    color: #fff;
    cursor: pointer;
}
#close-pop-mob{
	position: absolute;
	width: 30px;
	height: 30px;
	background: #008c63;
	border-radius: 50%;
	top: -11.5px;
	right: -5px;
	padding: 7px 9px;
	line-height: 0px;
	text-align: center;
	color: #fff;
	cursor: pointer;
}
#close-pop:hover{
	background: #16b787
}
#close-pop-mob:hover{
	background: #16b787
}
#desktop-pop{
	display: inline-block;
}
#mobile-pop{
	display:none;
}

.boxpop.open{
	height: 100%;
	opacity: 1
}
.boxpop.open figure{
	top: 0;
	opacity: 1
}
.popbottom{
    position: fixed;
    bottom: 0;
    z-index: 999;
    width: 100%;
    margin: auto;
    display: block;
    left: 0;
    text-align: center;
    display: none
}
.popbottom figure{
	display: inline-block;
	position:relative;
}
.popbottom img{
	max-width: 100%;
}
.popbclose{
    position: absolute;
    left: -5px;
    top: -6px;   
    width: 30px;
    height: 30px;
    background: #008c63;
    border-radius: 50%;
    padding: 7px 9px;
    line-height: 0px;
    text-align: center;
    color: #fff;
    cursor: pointer;
}
.popmobi{
	display: none
}
/*responsivo*/
@media only screen and (max-width: 900px){

	#desktop-pop{
		display: none;
	}
	#mobile-pop{
		display:block;
	}
	.popmobi{
		display: block
	}
	.popdesk{
		display: none
	}

}
