
/*#somodal{display:none;flex-direction:column;top:50%;left:50%;position:fixed;z-index:101;background-color:#fff;box-shadow:5px 5px 5px #ccc;transform:translate(-50%,-50%);max-height:860px;width:890px;}*/
#somodal{display:none;top:50%;left:50%;position:fixed;z-index:101;background-color:#fff;box-shadow:5px 5px 5px #ccc;transform:translate(-50%,-50%);max-height:100vh;width:890px;overflow-y:auto;}
.somodwrap{display:flex;flex-direction:column;}
#somodal .modal-image{flex:0 2 400px; background-image:url(/Blanksite/media/placeholders/somodal-ph3.jpg); background-repeat:no-repeat;background-size:cover;background-position:center;position:relative;}
#somclose {position:absolute;top:13px;right:15px;background-color:#fff;padding:0px 9px;font-size:20px;color:#2d7d9b;cursor:pointer;}
#somodal .form-wrap {flex:1 0 418px;position:relative;}
#somodal .form-result{margin-top:40px;}
.somtitle{font-size:30px;color:#fff;position:absolute;bottom:25px;left:26px;letter-spacing:1px;line-height:30px;max-width:88%;}
#somodal .introtext{font-size:18px;letter-spacing:1px;margin:25px 10px 20px;}
#custom_form{margin-bottom:20px;}

@media only screen and (max-width:1000px){
	#somodal{width:80%;position:fixed;max-height:80vh;}
	#somodal .modal-image{flex:0 2 300px;}
}
@media only screen and (max-width:550px){	
	#somodal .modal-image{flex:0 2 200px;}
	#somodal{width:90%;}
}




