/*
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: 2.0.0
License: Themeforest Split Licence
License URI: - http://themeforest.net/licenses/terms/regular
Text Domain: imedica
Tags: white
----------------------------------------------------------------*/

/* New Fixes */
.imedica_sticky_header .navbar-inverse.header-fixed {background:#fff;}
.wpb_accordion_section.group .wpb_accordion_header a{margin-left:0;}
.page aside .wpcf7 .recaptcha{transform:scale(0.79);-webkit-transform:scale(0.79);transform-origin:0 0;-webkit-transform-origin:0 0;}
.home .appointhead{margin: 44px 0px 10px;color: #ffffff;display: block;font-size: 30px;line-height: 32px;padding-bottom: 15px;}
.wpcf7-form input { margin-bottom:5px;width: 100%;color: #666;border: 1px solid #cdcdcd;border-radius: 0;resize: none;line-height: 23px;padding: 6px 5px 5px 8px;}
.wpcf7-form textarea{height:75px;padding: 6px 5px 5px 8px;}
.wpcf7-form input[type=submit]{color:#ffffff;}
.wpb_row{margin-bottom:0;}
.home .over_the_slider{margin-top:0;}
.over_the_slider .service-box { margin-bottom: 30px;}

.home .wpcf7-form input[type=submit]{background:#e6e6e6;color:#000000;}
.home #primary{margin-top:0px;}
.home .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header a{ color: rgb(140, 153, 169);} 
.home .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header a:hover{color:#002d61;}
.home .wpb_accordion_section.group .wpb_accordion_header.ui-state-active a{background:#002d61;color:#ffffff;}
.home .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header.ui-state-active a:hover{color:#ffffff;}
.footer-siteinfo-wrapper .imd-footer-copyright{width:100%;}
.discText{font-size:11px;line-height:1.1;}
.imedica-footer-area{padding-top: 25px;padding-bottom: 0px;}
li.imedica-search.menu-search-default-head{display:none;}
.author-name{font-weight:bold;color:#002d61;}
.singleImage img{width: 348px !important;}
.hideMe {display:none !important;}
.box-block-wrapper {position: relative;}
.box-block {position: absolute; bottom: 0; width: 100%; text-align: center; background: #394e687d; color: white; padding: 10px;margin: 0;}
.box-block-wrapper .wpb_wrapper {margin:auto;position:relative; }
.box-block a{color: #fff;}
.box-block .second {color: #ffd700;}
.box-block-image {margin-bottom:0 !important; overflow:hidden;border: 10px solid #002D61; /*box-shadow: inset 2px 2px 26px 17px #002D61;*/}

.home .over_the_slider .box-block-wrapper{margin-top: 0px;}

.modal-open {
  overflow: visible !important;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal {
  position: fixed;
  right: auto;
  bottom: auto;
  z-index: 1050;
  display: none;
  overflow: hidden;
  outline: 0;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.modal-dialog {
  position: relative;
  width: auto;
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -25%);
  -moz-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  -o-transform: translate(0, -25%);
  transform: translate(0, -25%);
}
@media screen and (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}
.modal.show .modal-dialog {
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-dialog-centered {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(99%);
}
.modal-dialog-centered::before {
  display: block;
  height: calc(99vh);
  content: "";
}
.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-color: var(--white);
  -webkit-border-radius: 4px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 4px;
  -moz-background-clip: padding;
  border-radius: 4px;
  background-clip: padding-box;
  outline: 0;
  padding: 80px 60px 30px;
  -webkit-box-shadow: 0 0 0 transparent;
  -moz-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
  text-align: center;
}

.modal-content .heading {
  margin: 0;
}
.modal-content .heading span:after {
  border-color: #fff;
  border-color: var(--white);
}
.modal-content .btns {
  margin-top: 30px;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #322671;
  background-color: var(--black);
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.fade.in {
  zoom: 1;
  filter: alpha(opacity=75);
  -webkit-opacity: 0.75;
  -moz-opacity: 0.75;
  opacity: 0.75;
}
.modal-backdrop.show {
  opacity: 0.5;
}
.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem;
}
.modal-header .close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
}
.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}
.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}


/* The Modal (background) */
.modal {padding-top: 60px;width: 100%;height: 100%;background-color: rgba(0,0,0,0.7);}

/* Modal Content */
.modal-content {position: relative;background-color: #002d61;margin: auto;padding: 0;border: 1px solid #888;width: 80%;max-width:650px;box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);animation-name: animatetop;animation-duration: 0.4s;}


/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.closeQuoteModalPopUP, .closeMPopUP,
.closeModalPopUP {color: white;float: right;font-size: 28px;font-weight: bold;background: #000;padding: 10px 15px;position: absolute;right: -25px;top: -25px;cursor:pointer;}
.modal-header {padding: 2px 16px;color: white;}
.modal-body {font-weight: 400;color: #ffffff;padding: 10px 25px 40px;}
.modal-footer {padding: 2px 16px;background-color: #5cb85c;color: white;}
.modal-content form h2{font-size: 20px;line-height: 1.2;margin-bottom: 15px;width:100%;text-align:center; color: #e9ab00;}
.modal-content form h3{font-size: 42px;line-height: 1.2;margin-bottom: 10px;margin-top: 0;width:100%;text-align:center;color:#FFFFFF;}
.modal-content form h4 span{color:#FFFF00;}
.modal-content form h4{font-size: 16px;line-height: 1.2;margin-top: 0;width:100%;text-align:center;margin-bottom:15px;color:#FFFFFF;}
.modal-content .element{width: 100%;margin-top: 10px;text-align:center;display:flex;}
.modal-content .element input[type="email"],.modal-content .element input[type="tel"], .modal-content .element input[type="text"] {background: transparent;border: 1px solid #fff !important;color: #fff; padding:10px; width:Calc(100% - 20px);border-radius: 0;}
.modal-content .element input[type="email"]::-webkit-input-placeholder,
.modal-content .element input[type="text"]::-webkit-input-placeholder,
.modal-content .element input[type="tel"]::-webkit-input-placeholder{ color: #fff !important; }
.modal-content .element input[type="email"]::-moz-placeholder,
.modal-content .element input[type="text"]::-moz-placeholder,
.modal-content .element input[type="tel"]::-moz-placeholder { color: #fff !important; }
.modal-content .element input[type="email"]:-ms-input-placeholder,
.modal-content .element input[type="text"]:-ms-input-placeholder,
.modal-content .element input[type="tel"]:-ms-input-placeholder { color: #fff !important; }
.modal-content .element input[type="email"]:-moz-placeholder,
.modal-content .element input[type="text"]:-moz-placeholder,
.modal-content .element input[type="tel"]:-moz-placeholder { color: #fff !important; }
.modal-content .modal-header{border-bottom: none;}
.modal-content .element .captchaText{width: 40%;text-align: left;float: left;}
.modal-content .element .captchaBox{float: left;width: 30%; margin-left: 10px;text-align: left;}
.modal-content .element .captchaBox input[type="text"] {width: 45%;}
.modal-content .element span.wpcf7-not-valid-tip{text-align:left;}
.modal-content div.wpcf7-mail-sent-ok{border: 2px solid #398f14 !important;color:#fff !important;}
.modal-content div.wpcf7-validation-errors{text-align:center;border:2px solid #f00;}
.modal-content .rightelement,
.modal-content .leftelement { flex: auto;margin-right: 10px; }
.modal-content .element.modalSubmit{display: inline-block;}
.modal-content .element.modalSubmit button[type="submit"] {width: auto; padding: 10px 30px;}
.modal-content form.wpcf7-form{padding: 0;}
.modal-content form h2{margin-top: 25px;}
.recaptcha {transform:scale(0.67);-webkit-transform:scale(0.67);transform-origin:0 0;-webkit-transform-origin:0 0;}
.bottomWhatsapp{ display:none; position: fixed ;z-index: 9999; height: 60px; padding-left: 30px; bottom: 15px;}

@media (min-width:768px) {
    .home .over_the_slider .box-block-wrapper{margin-top:-50px;}
	.home .appointhead{font-size: 40px;line-height: 42px;}
	.home .wpcf7-form {padding-top:20px;} 
	.home .wpcf7-form .text-414 {display:inline-block; width: 46.5%; margin-right: 3%;}
	.home .wpcf7-form .big-text{width:96%;}
	.home .wpcf7-form input[type=submit]{width:30%;font-weight:bold;}
	.over_the_slider .service-box {margin-bottom: 45px;}
	.add-border{border-right:1px solid #cccccc;}
	.box-block-image1 img{transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    position: absolute;}
	.box-block-image {height: 330px;}
    .box-block-image.box-block-image1{position: relative;}
}

@media (max-width:767px) {
	.modal-content { padding: 80px 20px 30px; }
	.bottomWhatsapp { display:block;}
    .bottomWhatsapp .whatsapp {display:block;background: url(https://aanyaeyecentre.com/wp-content/uploads/2021/12/whatsapp.png) no-repeat; background-size: 95%;background-position:0 0;text-indent: -9999px;width: 60px;height: 60px;animation: bounce 1s;animation-direction: alternate;animation-iteration-count: infinite;}
	.break {flex-basis: 100%;height: 5px;}
	.modal-content .element { flex-wrap: wrap;}
	.box-block-image img{width: 100%;}
	.firstLineSlider {font-size: 16px !important; line-height: 1.2 !important;}
	.secondLineSlider {font-size: 42px !important; line-height: 1.2 !important;}
	.thirdLineSlider {font-size: 42px !important; line-height: 1.2 !important;}
	.fourthLineSlider {font-size: 15px !important; line-height: 1.2 !important;}
	.homeImage .tp-parallax-wrap:nth-child(2) {top: 170px !important;left: 18px !important;}
	.homeImage .tp-parallax-wrap:nth-child(3) {top: 185px !important;left: 14px !important;}
	.homeImage .tp-parallax-wrap:nth-child(4) {top: 225px !important;left: 15px !important;}
	.homeImage .tp-parallax-wrap:nth-child(5) {top: 275px !important;left: 18px !important;}
	.homeImage .defaultimg {background-position: 70% 0!important;}
	.home .over_the_slider .box-block-wrapper {margin: 0 15px 15px  !important;width:auto; padding:0 !important;}
	.homeImage .defaultimg::before {content: "";position: absolute;top: 0px;right: 0px;bottom: 0px;left: 0px;background-color: rgba(255,255,255,0.20);}
	.imd-mobile-menu-buttos{width:29%;padding:0;}
	.header-default .site-heading a img{width:75%;}
	.header-default .site-heading{width:71%;text-align:center;}
	.widget-area .widget{padding-bottom:0;}
	.imedica-footer-area{padding:25px 0;}
	.footer-siteinfo-wrapper .imd-footer-copyright{line-height:1.1;}
	.discText{padding-top:10px;}
	.imd-footer{margin:9px 0;}
	.add-border{border-bottom:1px solid #cccccc;}
	.vc_custom_1418470091290{padding-bottom:5px !important;}
}