/*
Theme Name: iMedica
Theme URI: https://brainstormforce.com/demos/imedica/
Author: Brainstorm Force
Author URI: http://themeforest.net/user/brainstormforce
Description: iMedica is probably the most comprehensive & feature rich WordPress theme that's made for medical organizations. Responsive code, retina ready graphics, lightweight framework and very flexible structure makes it outstanding.
Version: 3.1.8
License: Themeforest Split Licence
License URI: - http://themeforest.net/licenses/terms/regular
Text Domain: imedica
Tags: white
----------------------------------------------------------------*/

/* New Fixes */
 
.wrap980 {    width:100%; max-width: 980px;
    margin: auto;}
	
	
	@media screen and (max-width: 782px){			
		/*.imd-mobile-menu-buttos { 
			display: none !important;
		}*/
		.cform_title {    font-size: 13px !important;padding: 10px 0;}
		.small-footer-right {margin: 0 !important;}
	}


.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0; background: rgba(0,0,0,0.5);
}
/*
.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0,-25%);
    -ms-transform: translate(0,-25%);
    -o-transform: translate(0,-25%);
    transform: translate(0,-25%);
}*/
#theraw1 {top:0;z-index:9999;left:0;display:block;position:fixed;}
.modal-content {
    position: relative; top: 53px;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    box-shadow: 0 3px 9px rgba(0,0,0,.5); max-width:600px; margin:auto;
}
.modal-content .btn {    position: absolute;    z-index: 99;    right: 0;}
.modal-content img {width:100%; max-width:500px !important;}
.modal-body {
    position: relative;
    padding: 0px;
}.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.cform_wrap .success.over1 {
    width: 100%;
    height: 242px;
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
  /*  background-image: url(images/success-mobile.png); */
    background-repeat: no-repeat;
    background-color: #ffffff;
    background-position: center center;
    background-size: auto 90%;
    padding-top: 0;
}




/* NEW STYLES */
/* styles for request form */

.success1.over1 {    width: 100%;
    max-width: 782px;
    top: 0px;
    background: #fff;
    height: 49px;
    position: absolute;
    z-index: 10;
    text-align: center;
    line-height: 49px;
    font-size: 17px;
    font-weight: bold;}
	
	
	.overlay {
    position: fixed;
    z-index: 999999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.8);
}
.policy .poptext {
    width: 100%;
    height: 497px;
    margin: 44px auto;
    background: #fff;
}
.policy .close_new {
    cursor: pointer;
    width: 100%;
    text-align: center;
    height: 70px;
    color: #fff;
    font-weight: bold;
    font-size: 21px;
    line-height: 31px;
    text-decoration: none;
    background: rgb(112, 175, 26);
}
.success-text {   margin-top: 118px;
    font-size: 16px;}
.policy .texthead {
    background: #fff;
    color: rgb(112, 175, 26);
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    text-align: center;
}
.policy .poptext .text {
    width: 86%;
    margin: auto;
    overflow: auto;
    height: 300px;
    border: 1px solid #ccc;
    padding: 16px;
    line-height: 30px;
    font-size: 15px;
}
.overlay.policy {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999;
    background: rgba(0,0,0,0.5);
    top: 0; left:0;
}
.overlay .pop-wrap {
    background: #fff;
    width: 88%;
    margin: 82px auto 0;
    height: 462px; max-width:980px;
}
.overlay .pop-close {
    width: 100%;
    text-align: center;
    height: 50px;
    color: #fff;
    font-weight: bold;
    font-size: 20px !important;
    line-height: 47px !important;
    text-decoration: none;
    background: #af2c8d;
}
.overlay .pop-title {
    margin: 11px 0;
    text-align: center;
    color: #af2c8d;
    font-size: 20px;
}
.overlay .pop-text {
    text-align: justify;
    width: 79%;
    height: 67%;
    line-height: 27px;
    border: 1px #CCC solid;
    font-size: 13px;
    padding: 15px;
    display: block;
    overflow: auto;
    margin: 14px auto;
}
.overlay .pop-text p {color: #333 !important;
    font-weight: normal !important;
    font-size: 13px !important;
    line-height: 27px !important;}
.policy-span { vertical-align:middle;cursor:pointer;}


/* secondary form */

.cform_wrap2 .circle-agree {
    margin-top: 14px;
    margin-left: 10px;
    margin-right: 10px;
    display: block;
    width: 23px;
    height: 23px;
    float: left;
    border: 1px solid #7081bc;
    background-color: #fff;
    border-radius: 100%;
    background-size: 100% auto;
    background-repeat: no-repeat;
}
.cform_wrap2 .circle-agree > span {
    margin: 5px 5px;
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 100%;
    background-color: #585858;
    background-repeat: no-repeat;
    background-size: 100% auto;
}
.cform_wrap2 .circle-agree > span.clicked {
    background: #fff !important;
}
.cform_wrap2 .cform_title {    background: #f4f4f4;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;}
.cform_wrap2 {     position: relative;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    min-height: 196px;
    height: auto;
    margin: auto;}
.cform_wrap2 table {
    border-collapse: collapse;
    width: 100%;     table-layout: auto; border-bottom:0;
}
.cform_wrap2 table th, .cform_wrap2 table td {
        padding: 0 20px;
    border: 0;
    color: #666666;
    margin: 0 !important;
    vertical-align: top;
}
.cform_wrap2 input[type="text"], .cform_wrap2 input[type="tel"], .cform_wrap2 select {font-family: Malgun Gothic;
    width: 100%;
    text-align: left;
    height: 45px;
    border: 1px solid #b8b8b8;
    border-radius: 3px;
    background: #ecebe6;
    color: #333;
    float: left;
    line-height: 38px;
    vertical-align: middle;
    font-size: 16px;
    padding: 0; padding-left: 10px;
      letter-spacing: -2px;
}
.cform_wrap2 select {border-top:0 !important; padding-left: 7px}
.cform_wrap2 .btn {      font-family: Malgun Gothic;
    border: 0;
    background: #404040;
    color: #fff;
    display: block;
       width: 100%;
    height: 40px;
    vertical-align: middle;
    padding: 0;
    font-size: 15px;
    font-weight: bold;
    -webkit-appearance: none;
    border-radius: 3px;
    letter-spacing: -1px; margin-top:15px;
}
.cform_wrap2 .label-click {
    height: 50px;
    line-height: 50px;
    width: 100%;
    margin: 15px 0;
    border: 1px solid #ddd;
    display: block; cursor:pointer;
    background: #fff url(images/arrow-right1.png) no-repeat center right / auto 16px;
}
.cform_wrap2 .success.over1 {
   width: 100%;
    height: 430px;
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    /* background-image: url(images/success-mobile.png); */
    background-repeat: no-repeat;
    background-color: #ffffff;
    background-position: center center;
    background-size: auto 80%;
    padding-top: 0;
}
.cform_wrap2 .success-text {
    text-align: center;
    color: #000;
    /*padding-top: 100px;*/
    font-size: 17px;
    line-height: 25px;
}
.request2 {    max-width: 430px;
    margin: 20px auto 0;
   /* background: #d6d1d5; */
    padding: 1px;
    border-radius: 10px;
    width: 100%;
}

.page-6 .request2 { margin: 20px 0 0;}

	@media screen and (max-width: 782px){
		.btnbg-over { width: 139px;}
	}
	@media screen and (max-width: 360px){
		.btnbg-over {
			width: 86px;
		}
		input#submit, input[type="submit"]{    padding-left: 0;}
	}