@media screen and (max-width:1350px) {
.case-study-wrap {
	background-size:100% auto;
	padding: 23% 0 0;/*320px*/
	max-width:1350px;
	width: 100%;
}
.case-study-wrap .sidebar {
	padding: 0 1.4% 0 7.7%;/*20px 105px*/
	width: 17.7%;/*240px*/
}
.sidebar > img {
	width:100%;
	height:auto;
}
.casestudy-footer-bg {
	background-size:100% auto;
}
#contact-form {
	padding-bottom: 20px;
	width: 49.2%;
}
#contact-form h1 {
	padding: 10px 0;
}
#contact-form .fields {
	margin: 0.7% 0 0 1.4%;
	width: 31.5%;
}
#contact-form .request-field {
	margin: 0.7% 0 10px 1.4%;
	width: 31.5%;
}
#contact-form .fields .textfield {
	margin: 10px 0 10px;
	padding: 8px 6px;
	width:85%;/*170px*/
}
#contact-form select.listMenu {
	padding: 10px 6px;
	width:93%;
}
#contact-form .message {
	margin: 3% 0 3% 2%;/*20px*/
	width:97% !important;/*580px*/
}
#contact-form .message .textArea {
	width: 95% !important;
}
#contact-form .submit {
	margin: 20px 0 0 -392px;
}
}
@media screen and (max-width:1000px) {
.case-study-wrap .case-study-content h1 {
	font-size: 40px;
	line-height: 50px;
}
}
@media screen and (max-width:870px) {
#contact-wrap {
	width: 98%;
}	
#contact-form {
	width:90%;
}
#contact-form .fields {
	margin: 0.7% 0 0;
}
#contact-form .message {
	margin: 3% 0 3% 0;
}
#contact-form .button-wrap {
	margin: 0 25px 0 0;
}
#contact-wrap .contact-info {
	margin:80px 0 0 5px;
	width: 300px;
}
.contact-us iframe {
	width:101% !important;
	overflow:hidden;
}
}
@media screen and (max-width:768px) {
.modalDialog > div {
	background: none repeat scroll 0 0 #fff !important;
	border-radius: 5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	margin:13% auto;
	padding: 13px 2.5%;/*13px 20px*/
	width:90%;
}
.modalDialog .schedule-demo {
	margin: -65px auto 30px;
	width: 55%;
}
.wpcf7-form p {
	margin: 0 12px 5px;
	width: 205px;
}
.modalDialog input {
	width: 180px;
}	
.wpcf7-form .service {
	float: left;
	margin: 10px 0 0 12px;
	width:220px;
}
.wpcf7-form .service select {
	width: 195px;
}
.wpcf7-form-control-wrap.ServiceType {
	width: 215px;
}
.wpcf7-form .subject {
	margin-left: 10px;
	width: 200px;
}
.wpcf7-form .message {
	width: 670px !important;
}
.wpcf7-form .message .wpcf7-textarea {
	border: 1px solid #cccccc !important;
	height: 100px;
	width: 630px;
}
.wpcf7-form .send-button {
	float: left;
	margin-top: 10px;
	text-align: center;
	width:100%;
}
}
@media screen and (max-width:680px) {
.wpcf7-form p {
	margin: 0 12px 5px;
	width: 172px;
}
.wpcf7-form p {
	margin: 0 12px 5px;
	width: 260px !important;
}	
.wpcf7-form-control-wrap.Name {
	width: 180px;
}
.wpcf7-form-control-wrap.email-103 {
	width: 180px;
}
.wpcf7-form-control-wrap.tel-508 {
	width: 180px;
}
.modalDialog input {
	width: 230px !important;
}
.wpcf7-form .service {
	width: 187px;
}	
.wpcf7-form .service select {
	width: 245px !important;
}
.wpcf7-form .message .wpcf7-textarea {
	width: 82%;
}
.wpcf7-form .send-button {
	width: 85%;
}
.case-study-wrap .sidebar h1 {
	font-size: 16px;
	margin-bottom: 5px;
}
.case-study-wrap .sidebar ul {
	margin: 0 0 15px;
}
.case-study-wrap .sidebar ul li {
	margin: 0 0 0 2.9%;/*20px*/
	font-size: 12px;
	line-height:15px;
}
.z-options-offers > img {
	width:100%;
	height:auto;
}
.z-options-offers > p {
	font-size: 12px;
	line-height:16px;
}
.case-study-wrap .case-study-content {
	margin-left: 2.9%;/*20px*/
	width: 70%;
}
.case-study-wrap .case-study-content h1 {
	font-size: 30px;
	line-height: 35px;
}
}
@media screen and (max-width:620px) {
#contact-form .fields {
	width: 70%;
	margin-bottom:10px;
}
#contact-form .submit {
  margin: 20px 0 0 0;
}
}
@media screen and (max-width:480px) {
#contact-form .fields {
	width:100%;
	margin-bottom:10px;
}	
#contact-form .fields .textfield {
	margin: 5px 0 0;
}
.modalDialog {
	height: 200% !important;
}
.modalDialog > div {
	margin: 14% auto;
}	
.modalDialog .schedule-demo {
	width: 85%;
}	
.wpcf7-form p {
  margin: 0 0 5px 15px;
  width: 58%;
}
.modalDialog input {
	width: 280px;
}
.wpcf7-form-control-wrap.Name {
	padding:5px 5px 5px 0;
	width: 320px;
}
.wpcf7-form .service {
	margin: 10px 0 0 15px;
}
.wpcf7-form .service select {
	padding: 9px 5px;	
	width: 295px;
}
.wpcf7-form .subject {
	float: left;
	margin: 0 0 10px 15px;
	overflow: hidden;
	width: 320px;
}
.wpcf7-form-control-wrap.tel-508 {
	width: 180px;
	margin-bottom: 5px;
}
.wpcf7-form .message {
	margin-left:15px;
	margin-top:8px !important;
	width: 400px !important;
}
.wpcf7-form .message .wpcf7-textarea {
	width:85%;
}
.wpcf7-form .send-button {
	text-align:left;
	width: 90%;
}
.case-study-wrap {
	background:url(http://www.zoption.com/wp-content/themes/zoption/images/casestudy_mobile_top_bg.png);
	background-repeat:no-repeat;
	background-size:100% auto;
}	
.case-study-wrap .sidebar {
	float: none;
	margin: 0 auto;
	padding: 30px 0 0 0;
	text-align: center;
	width: 100%;
}
.sidebar > img {
	width: 240px;
	height: auto;	
}
.case-study-wrap .sidebar ul {
	float: none;
	margin: 0 auto 30px;
	text-align: center;
	width:270px;
}
.sidebar .z-options-offers {
	float: none;
	margin: 0 auto;  
	padding: 15px 0 0;
	text-align: center;
	width: 95%;
}
.z-options-offers > img {
  height: auto;
  width: 100px;
}
.case-study-wrap .case-study-content {
	margin-left: 2.9%;
	padding-top: 30px;
	width: 97%;	
}
.case-study-wrap .case-study-content h1 {
	font-size: 24px;
	line-height: 30px;
}
.case-study-wrap .case-study-content p {
	font-size: 12px;
	line-height: 22px;
	margin: 0 0 30px;
}
.case-study-wrap .case-study-content h2 {
	font-size:18px;
	margin: 10px 0 5px;
	padding: 0;
}
.case-study-wrap .case-study-content ul li {
	font-size: 12px;
}
.case-study-content .block1 {
	float: left;
	height: auto;
	margin: 0;
	width: 97%;
}
.case-study-content .block2 {
	float: left;
	margin:0;
	width: 97%;
	height: auto;  
}
.casestudy-footer-bg {
	float: left;
	height: auto;
	margin: -340px 0 0;
}
.casestudy-footer-bg .strong {
	font-size: 12px;
	text-align: center;
	line-height: 22px;
	width: 99%;	
}
.casestudy-footer-bg > p {
	font-size: 12px;
	line-height: 20px;
}
}
@media screen and (max-width:320px) {
.contact-info img {
	width: 95%;
	height:auto;
}	
.modalDialog .schedule-demo {
	width: 96%;
}	
.modalDialog h1 {
	font-size: 20px;
	margin-top: -40px;
}	
.modalDialog > div {
	margin: 22% auto;
}	
.wpcf7-form p {
	width: 90%;
}	
.wpcf7-form-control-wrap.Name {
	width: 237px;
}	
.modalDialog input {
	width: 200px;
}
.wpcf7-form .service {
	width: 240px;
}
.wpcf7-form .service select {
	padding: 9px 5px;
	width: 215px;
}
.wpcf7-form .subject {
	float: left;
	margin:0 0 10px 15px;
	overflow: hidden;
	width: 255px;
}
.wpcf7-form .message {
	width: 260px !important;
}
.sidebar > img {
	height: auto;
	width: 200px;
}
}