/*
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 {   max-width: 980px; width:100%;
    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;
}



/* NEW STYLES */
/* styles for request form */
.custom1.success-text{color:#000 !important;  text-align:center;   line-height: 51px !important;}
.success1.over1 {    width: 103%;
   /* 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;}
	.cform_wrap table {table-layout: fixed;}
	.cform_wrap {     position: relative;
    z-index: 10;   float: none;
    width: 100%;
    padding: 0;
    max-width: 800px;
    /* background: #ffffff; */
    border-radius: 50px;
    margin: auto;
    position: relative;}
	#request1 select, #request1 input[type="text"], #request1 input[type="tel"] 
    border: 0;
    font-size: 14px;
    color: #000;
    padding: 0;
  }
	#request1 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
   color: #000; line-height:23px;
    opacity: 1; /* Firefox */
}

#request1 :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #000;
}

#request1 ::-ms-input-placeholder { /* Microsoft Edge */
    color: #000;
} 

#request2 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
   color: #000; line-height:23px;
    opacity: 1; /* Firefox */
}

#request2 :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #000;
}

#request2 ::-ms-input-placeholder { /* Microsoft Edge */
    color: #000;
} 
#request1 .cform_wrap table td {padding:0 !important;}
/* #request1 input[type="tel"] { width: 209px !important; } */
#request1 input[type="text"], #request1 input[type="tel"], #request1 select {vertical-align:middle}
#request1 input#submit,#request1 input[type="submit"] {background-color: transparent;font-weight:bold;}
	input#submit, input[type="submit"] {     position: relative;
    z-index: 9;}
	.cform_wrap table, .cform_wrap table td {   padding:0 !important;  position: relative;   border: 0;
    background: transparent;}
	.cform_wrap table td{  }
	.btnbg-over {background: #00a388;
    height: 49px;
    width: 205px;
    border-radius: 0px 30px 30px 0;
    position: absolute;
    right: -11px;
    top: -5px;
    z-index: 1;}
	.cform_wrap .wrapper{    background: #fff;
    padding: 5px 10px;
    border-radius: 50px;}
	
	.overlay {
    position: fixed;
    z-index: 999999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.8);
}
.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: #00a388;
}
.overlay .pop-title {
    margin: 11px 0;
    text-align: center;
    color: #00a388;
    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: 250px;
    height: auto;
    margin: auto;}
.cform_wrap2 table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed; border-bottom:0;
}
.cform_wrap2 table th, .cform_wrap2 table td {
    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;
    text-indent: 0px;
	padding-left:10px;
}
.cform_wrap2 select {border-top:0 !important; padding-left:7px;}
.cform_wrap2 .btn {
    font-family: Malgun Gothic;
    border: 0;
    background: #00a388;
    color: #fff;
    display: block;
       width: 100%;
    height: 40px; margin-top: 15px;
    vertical-align: middle;
    padding: 0;
    font-size: 15px;
    font-weight: bold;
    -webkit-appearance: none;
    border-radius: 3px;
    letter-spacing: -1px;
}
.cform_wrap2 .label-click {
    height: 50px;
    line-height: 50px;
    width: 99%;
    margin: 15px 0;
    border: 1px solid #ddd;
    display: block; cursor:pointer;
    background: #fff url(images/arrow-right1.png) no-repeat center right / auto 16px;
}

body.home .cform_wrap2 .success.over1 {  height: 341px;}
.cform_wrap2 .success.over1 {
    width: 100%;
    height: 341px;
    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: 70px;
}
.policy .close_new {
    background: #0b2458 !important;
    font-size: 25px;
    color: #fff;
    padding: 19px;
    text-align: center;
}
#request2 {
    max-width: 448px;
    margin: 20px auto 0;
    background: #00a388;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
}

	@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;}
	}