.wrap {
    padding: 40px;
    text-align: center;
}

.btn {
    background: #004750;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    padding: 8px 15px;
    text-decoration: none;
    text-align: center;
    min-width: 60px;
    position: relative;
    transition: color .1s ease;
}
.btn:hover {
    background: white;
	color: #004750;
}

.btn-close {
    color: #004750;
    font-size: 40px;
    text-decoration: none;
    position: absolute;
    right: 10px;
    top: 10px;
}
.btn-close:hover {
    color: #919191;
}
.modal:target:before {
    display: none;
}

.modal.active {
    display: none;
}
.modal:before {
    content:"";
    display: block;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}


.modal .modal-dialog {
    background: url(../images/slide-euro-III-02.jpg) no-repeat center;
	background-size: cover;
    position: fixed;
    left: 25%;
    z-index: 11;
    width: 50%;
	height: 50%;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    top: 20%;
}
.modal:target .modal-dialog {
    top: -100%;
    -webkit-transform: translate(0, -500%);
    -ms-transform: translate(0, -500%);
    transform: translate(0, -500%);
}

.modal-body{
	background: #00ce7c;
	width: 360px;
	padding: 20px;
	position: fixed;
	bottom: 10px;
	left: 50%;
	margin-left: -200px;
}

.modal-body p{
	color: white;
}


.modal-body h2 {
    font-size: 30px;
	color: #004750;
}


@media only screen and (min-width:0px) and (max-width:900px){
	
.modal .modal-dialog {
    left: 10%;
    z-index: 11;
    width: 80%;
	height: 50%;
    top: 10%;
}	
	
.modal-body{
	width: auto;
	padding: 20px 3%;
	position: fixed;
	bottom: 10px;
	left: 0%;
	bottom: auto;
	top:0px;
	margin-left: 0;
}
	
}
