.modal-wrapper {
  position: fixed;
    transition: visibility 0s;
	visibility: hidden;
  z-index: 9999;
}
.modal-wrapper.modal-in{
	visibility: visible;
}

#modal-consultation.modal-in .modal-contents {
  opacity: 1;
  padding:0;
}
.modal-wrapper .modal-contents .cta-button-wrapper {
display:none;
}
.modal-wrapper.modal-in .modal-contents .cta-button-wrapper {
display:block;
}
.modal-contents .close-modal-button {
	box-shadow: none;
	color: #9b9b9b;
	position: absolute;
	right: 10px;
	top: 10px;
}

#modal-consultation .modal-contents .logo-wrapper img {
  display: inline;
}
#modal-consultation .modal-contents h2 {
	color: #fff;
    font-family: "futura_md_btmedium";
	font-size: 32px;
	font-weight: 400;
    margin:0;
}
#modal-consultation .modal-contents p {
  color: #c6dbed;
  margin-bottom:0;
}


#modal-consultation.modal-in .modal-overlay {
	opacity: 1;
}

#modal-consultation .modal-contents {
	background: #f5f5f5;
	border-radius: 10px;
	box-shadow: 0 0 25px rgba(0,0,0,.5);
    box-sizing: border-box;
  border: 0;
	color: #666;
	font-size: 18px;
	left: 50%;
	margin: 15px auto;
	max-width: 825px;	
	opacity: 0;
	margin-top: -50px;
	position: fixed;
	top: 50%;
	transform: translate(-50%, -50%);	
	transition: all .5s ease-out;
	z-index: 9999;
	width: 550px;
}
#modal-consultation.modal-in .modal-contents {
	margin-top: 0;
  opacity: 1;
}


#modal-consultation .modal-overlay {
	background: rgba(0,0,0,.8);
	height: 100%;
	bottom: 0;
	left: 0;
	opacity: 0;
	position: fixed;
	right: 0;
	top: 0;
	transition: all .5s ease-out;
	z-index: 9998;
}
#modal-consultation.modal-in .modal-overlay {
	opacity: 1;
}
.modal-contents .close-modal,
.modal-contents .close-modal-text a,
.modal-contents .close-modal-text button {
    background:none;
	border:0;
	color: #666;
    cursor: pointer;
    font-size: 100%;
}
.modal-contents .close-modal-text a,
.modal-contents .close-modal-text button {
	text-decoration: underline;
}
.modal-contents .close-modal-text a:hover,
.modal-contents .close-modal-text button:hover {
	color: #f58220;
}
.modal-contents .close-modal-button {
	box-shadow: none;
	color: #9b9b9b;
	position: absolute;
	right: 10px;
	top: 10px;
}

.bg-free-consultation {
    background: url(https://f.hubspotusercontent20.net/hubfs/1751973/image/modal/modal-free-consultation.jpg) center/cover;
    border-radius: 8px 0 0 0;
  padding: 20px;
}

#modal-consultation .modal-footer {
    padding: 20px;
}

#modal-consultation .cta-button-wrapper a{
	background:#f58220;
	border:1px solid #f58220;
	border-radius:6px;
	color:#fff;
	cursor:pointer;
	display:inline-block;
	font-family:"Roboto",sans-serif;
	font-size:18px;
	line-height:1.4;
	padding:12px 25px!important;
	text-decoration:none;
	text-shadow:1px 1px rgba(0, 0, 0, 0.5);
	transition:all 0.4s ease 0s;
}

#modal-consultation  .cta-button-wrapper a:hover{
	background:#286090;
	border-color:#204d74;
	color:#fff;
}


#modal-consultation .modal-contents .close-modal-button {
            border: 0;
            color: #01090f;
            display: inline-block;
            cursor: pointer;
            position: absolute;
            z-index: 99;
}

@media screen and (max-width: 1023px){
#modal-consultation .modal-contents .close-modal-button {
                background: #ddd;
                border-radius: 5px 5px 0 0;
                font-size: .9em;
                font-weight: 500;
                height: 30px;
                padding: 5px 10px;
                right: -5px;
                top: -35px;
  }
  #modal-consultation .modal-contents .close-modal-button:after {
                    content: 'CLOSE';
                    margin-left: 3px;
                    vertical-align: middle;
                }
            }

@media screen and (min-width: 1024px){
#modal-consultation .modal-contents .close-modal-button {
                background: #fff;
                border-radius: 50%;
                box-shadow: 0 0 2px 2px rgba(0, 0, 0, .25);
                height: 40px;
                padding: 5px;
                right: -20px;
                top: -20px;
                width: 40px;
            }
#modal-consultation .modal-contents .close-modal-button .fa {
                height: 22px;
                vertical-align: middle;
                width: 22px;
            }
        }




