/*


@font-face {
    font-family: "roboto";
    src: url('/_lib/fonts/roboto/roboto-bold-webfont.eot');
    src: url('/_lib/fonts/roboto/roboto-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/_lib/fonts/roboto/roboto-bold-webfont.svg#robotobold') format('svg'),
         url('/_lib/fonts/roboto/roboto-bold-webfont.woff') format('woff'),
         url('/_lib/fonts/roboto/roboto-bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*/

@font-face {
    font-family: 'opensans';
    src: url('/_lib/fonts/opensans/opensans-regular-webfont.eot');
    src: url('/_lib/fonts/opensans/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('/_lib/fonts/opensans/opensans-regular-webfont.svg#open_sansregular') format('svg'),
         url('/_lib/fonts/opensans/opensans-regular-webfont.woff') format('woff'),
         url('/_lib/fonts/opensans/opensans-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'opensans';
    src: url('/_lib/fonts/opensans/opensans-italic-webfont.eot');
    src: url('/_lib/fonts/opensans/opensans-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/_lib/fonts/opensans/opensans-italic-webfont.svg#open_sansitalic') format('svg'),
         url('/_lib/fonts/opensans/opensans-italic-webfont.woff') format('woff'),
         url('/_lib/fonts/opensans/opensans-italic-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'opensans';
    src: url('/_lib/fonts/opensans/opensans-bold-webfont.eot');
    src: url('/_lib/fonts/opensans/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/_lib/fonts/opensans/opensans-bold-webfont.svg#open_sansbold') format('svg'),
         url('/_lib/fonts/opensans/opensans-bold-webfont.woff') format('woff'),
         url('/_lib/fonts/opensans/opensans-bold-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'opensans';
    src: url('/_lib/fonts/opensans/opensans-bolditalic-webfont.eot');
    src: url('/_lib/fonts/opensans/opensans-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/_lib/fonts/opensans/opensans-bolditalic-webfont.svg#open_sansbold_italic') format('svg'),
         url('/_lib/fonts/opensans/opensans-bolditalic-webfont.woff') format('woff'),
         url('/_lib/fonts/opensans/opensans-bolditalic-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;

}


html, body { height: 100%; margin: 0; padding: 0; }

body {
  background: #e5e5e5;
  color: #777;
  font-family:'opensans',Arial,Helvetica,sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #555;
  font-weight: bold;
  font-family:'opensans',Arial,Helvetica,sans-serif;
}
a {
  color: #52b6ec;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
}
.btn {
  font-weight: 400;
  border: 0;
}
.btn.btn-primary {
  background-color: #52b6ec;
}
.btn.btn-primary:hover,
.btn.btn-primary.active {
  background-color: #1586c3;
  box-shadow: none;
}
a:hover,
a:focus {
  color: #80c9f1;
  text-decoration: none;
  outline: none;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
}
#main-slider {
  background-image: url(/when-quality-matters/images/slider-bg.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  padding: 180px 0;
  color: #fff;
}
#main-slider .item {

  transition: opacity ease-in-out 500ms;
  left: 0 !important;
  opacity: 0;
  top: 0;
  position: absolute;
  width: 100%;
  display: block !important;
  z-index: 1;
  text-align: center;
}
#main-slider .item:first-child {
  top: auto;
  position: relative;
}
#main-slider .item.active {
  opacity: 1;

  transition: opacity ease-in-out 500ms;
  z-index: 2;
}
#main-slider .item.active h1 {
    text-shadow:3px 3px 3px rgba(0,0,0,0.5);
}
#main-slider .item.active li {
    text-shadow:2px 2px 3px rgba(0,0,0,0.5);
}
#main-slider .item.active ul > li:nth-child(1) { animation: scaleUp 300ms linear 200ms both; }
#main-slider .item.active ul > li:nth-child(2) { animation: scaleUp 300ms linear 400ms both; }
#main-slider .item.active ul > li:nth-child(3) { animation: scaleUp 300ms linear 600ms both; }
#main-slider .item.active ul > li:nth-child(4) { animation: scaleUp 300ms linear 800ms both; }
#main-slider .item.active ul > li:nth-child(5) { animation: scaleUp 300ms linear 1000ms both; }
#main-slider .item.active ul > li:nth-child(6) { animation: scaleUp 300ms linear 1200ms both; }
#main-slider .item.active ul > li:nth-child(7) { animation: scaleUp 300ms linear 1400ms both; }
#main-slider .item.active ul > li:nth-child(8) { animation: scaleUp 300ms linear 1600ms both; }

#main-slider .prev,
#main-slider .next {
  position: absolute;
  top: 57%;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  display: inline-block;
  margin-top: -50px;
  font-size: 24px;
  height: 50px;
  width: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 4px;
  z-index: 5;
}
#main-slider .prev:hover,
#main-slider .next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
#main-slider .prev {
  left: 10px;
}
#main-slider .next {
  right: 10px;
}
#main-slider h1 {
  
  color: #fff;
   font-size:36px !important; text-align:center  !important; 
   display:block; 

}
/*#main-slider.carousel p {
  clear:right; float:right; max-width:60%; font-size:24px !important;  text-align:right  !important;
}*/
#main-slider.carousel ul {
  display:block;clear:both; font-size:16px !important;  text-align:center  !important;padding:0px; margin:0px;
}
#main-slider.carousel li {  
    display:block; padding:0px; margin:0px;
}
#main-slider .carousel-content { 
    max-width:70%; min-width:50%; width:auto; margin:0px 2% 0px 45%;
 
}



#contact .box {
  background-color: #222;
  color: #999;
}
#contact .box h1,
#contact .box h2,
#contact .box h3 {
  color: #fff;
}
#contact .box a {
  color: #999;
}
#contact .box a:hover {
  color: #52b6ec;
}
#contact .box input[type="text"],
#contact .box input[type="email"],
#contact .box textarea {
  background-color: #111;
  border: 0;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
}
#contact .box input[type="text"]:focus,
#contact .box input[type="email"]:focus,
#contact .box textarea:focus {
  background-color: #000;
  box-shadow: none;
}
.box {
  padding: 50px 30px;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
  position: relative;
  box-shadow: -1px 0px 8px 0 rgba(0,0,0,.2);
}
.box.first {
  margin-top: -40px;
  border-radius: 5px 5px 0 0;
}
.box.last {
  border-radius: 0 0 5px 5px;
}
.box h2 {
  padding: 10px 30px;
  display: inline-block;
  border-radius: 4px;
  position: relative;
  margin-bottom: 30px;
  font-size: 48px;
  text-shadow:2px 2px 3px rgba(255,255,255,0.7);
  color: #404040;
}
#patients .box {
 background:linear-gradient(to bottom, #fff 0%, #fff 50%, #eee 95%, #fff 100%);
 position:relative;
}
#patients .floating-background {
    position:absolute; width:50%; height:50%; top:0px; left:0px;
    z-index:0;
  background-image:url(/when-quality-matters/images/skin/qni-section-info-bkg.png);background-position:center -40px;background-repeat:no-repeat;
}
#location-box {
  background-image:url(/when-quality-matters/images/skin/qni-section-location-bkg.png);background-position:center -40px;background-repeat:no-repeat;
}
.portfolio-items,
.portfolio-filter {
  list-style: none;
  padding: 0;
  margin: 0;
}
.portfolio-items {
  margin-right: -20px;
}
.portfolio-filter {
  margin-bottom: 50px;
  text-align: center;
}
.portfolio-filter > li {
  display: inline-block;
}
.portfolio-items > li {
  float: left;
  padding: 0;
  margin: 0;
}
.portfolio-items.col-2 > li {
  width: 50%;
}
.portfolio-items.col-3 > li {
  width: 33%;
}
.portfolio-items.col-4 > li {
  width: 25%;
}
.portfolio-items.col-5 > li {
  width: 20%;
}
.portfolio-items.col-6 > li {
  width: 16%;
}
.portfolio-item .item-inner {
  margin: 0 20px 20px 0;
  text-align: center;
  background: #fff;
  padding: 10px;
  border-bottom: 1px solid #e1e1e1;
}
.portfolio-item img {
  width: 100%;
}
.portfolio-item .portfolio-image {
  position: relative;
}
.portfolio-item h5 {
  margin: 0;
  padding: 10px 0 0 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.portfolio-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  vertical-align: middle;
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  -o-transition: opacity 300ms;
  transition: opacity 300ms;
}
.portfolio-item .overlay .preview {
  position: relative;
  top: 50%;
  display: inline-block;
  margin-top: -20px;
}
.portfolio-item:hover .overlay {
  opacity: 1;
}
/* Start: Recommended Isotope styles */
/**** Isotope Filtering ****/
.isotope-item {
  z-index: 2;
}
.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}
/**** Isotope CSS3 transitions ****/
.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  -ms-transition-duration: 0.8s;
  -o-transition-duration: 0.8s;
  transition-duration: 0.8s;
}
.isotope {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  -ms-transition-property: height, width;
  -o-transition-property: height, width;
  transition-property: height, width;
}
.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  -ms-transition-property: -ms-transform, opacity;
  -o-transition-property: -o-transform, opacity;
  transition-property: transform, opacity;
}
/**** disabling Isotope CSS3 transitions ****/
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
  -moz-transition-duration: 0s;
  -ms-transition-duration: 0s;
  -o-transition-duration: 0s;
  transition-duration: 0s;
}
/* End: Recommended Isotope styles */
/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}
#referrals .box {
 background:linear-gradient(to bottom, #fff 0%, #fff 50%, #f5f5f5 95%, #fff 100%);
 position:relative;
}
#referrals .floating-background {
    position:absolute; width:50%; height:50%; top:0px; left:0px;
    z-index:0;
  background-image:url(/when-quality-matters/images/skin/qni-section-doctor-bkg.png);background-position:center -40px;background-repeat:no-repeat;
}
#referrals .plan {
  background: #fff;
  list-style: none;
  margin: 0 0 20px;
  text-align: center;
  padding: 0;
  border-bottom: 1px solid #e1e1e1;
}
#referrals .plan li {
  padding: 10px 0;
  margin: 0 15px;
  border-bottom: 1px dashed #eee;
}
#referrals .plan li.plan-name {
  padding: 15px 0;
  font-size: 18px;
  font-weight: 700;
}
#referrals .plan li.plan-price {
  color: #666;
  padding: 15px 0;
  font-size: 48px;
}
#referrals .plan li.plan-action {
  margin-top: 20px;
  margin-bottom: 20px;
  border-bottom: 0;
}
#referrals .plan.featured {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}
#referrals .plan.featured .plan-price {
  color: #fff;
  background-color: #52b6ec;
  border-bottom-color: #52b6ec;
  margin: 0;
}
#services .box {
  padding-bottom: 0;
}
#services .row > div {
  margin-bottom: 50px;
}
.center {
  text-align: center;
}
#team-scroller .designation {
  margin-top: 10px;
  display: block;
}
#team-scroller .item .member {
  margin-bottom: 40px !important;
}

.member {
  margin: 0 10px;
  text-align: center;
}
.carousel.scale .left-arrow,
.carousel.scale .right-arrow {
  top: 30%;
  position: absolute;
}
.carousel.scale .left-arrow {
  left: -10px;
}
.carousel.scale .right-arrow {
  right: -10px;
}
.carousel.scale .active .row > div:nth-child(1) {
  -webkit-animation: scaleUp 200ms linear 0 both;
  -moz-animation: scaleUp 200ms linear 0 both;
  -ms-animation: scaleUp 200ms linear 0 both;
  -o-animation: scaleUp 200ms linear 0 both;
  animation: scaleUp 200ms linear 0 both;
}
.carousel.scale .active .row > div:nth-child(2) {
  -webkit-animation: scaleUp 200ms linear 100ms both;
  -moz-animation: scaleUp 200ms linear 100ms both;
  -ms-animation: scaleUp 200ms linear 100ms both;
  -o-animation: scaleUp 200ms linear 100ms both;
  animation: scaleUp 200ms linear 100ms both;
}
.carousel.scale .active .row > div:nth-child(3) {
  -webkit-animation: scaleUp 200ms linear 200ms both;
  -moz-animation: scaleUp 200ms linear 200ms both;
  -ms-animation: scaleUp 200ms linear 200ms both;
  -o-animation: scaleUp 200ms linear 200ms both;
  animation: scaleUp 200ms linear 200ms both;
}
.carousel.scale .active .row > div:nth-child(4) {
  -webkit-animation: scaleUp 200ms linear 400ms both;
  -moz-animation: scaleUp 200ms linear 400ms both;
  -ms-animation: scaleUp 200ms linear 400ms both;
  -o-animation: scaleUp 200ms linear 400ms both;
  animation: scaleUp 200ms linear 400ms both;
}


.icon-social {
  border: 0;
  color: #fff;
  border-radius: 100%;
  display: inline-block !important;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  padding: 0;
}
.icon-social.icon-facebook {
  background: #4f7dd4;
}
.icon-social.icon-facebook:hover {
  background: #789bde;
}
.icon-social.icon-twitter {
  background: #5bceff;
}
.icon-social.icon-twitter:hover {
  background: #8eddff;
}
.icon-social.icon-linkedin {
  background: #21a6d8;
}
.icon-social.icon-linkedin:hover {
  background: #49b9e3;
}
.icon-social.icon-google-plus {
  background: #dc422b;
}
.icon-social.icon-google-plus:hover {
  background: #e36957;
}
.icon-social.icon-pinterest {
  background: #cb2027;
}
.icon-social.icon-pinterest:hover {
  background: #e03e44;
}
.icon-social.icon-youtube {
  background: #ce332d;
}
.icon-social.icon-youtube:hover {
  background: #da5954;
}
.icon-social:hover {
  color: #fff;
}
.navbar-default {
  background: #fff;
  background:linear-gradient( to bottom, #fff 0%, #fafafa 50%, #d3d3d3 100% );
  border-radius: 0 0 5px 5px;
  border: 0;
  padding: 0;
  box-shadow: 3px 0px 8px rgba(0,0,0,0.5);
  overflow: hidden;
}
.navbar-default .first a {
  border-radius: 0 0 0 5px;
}
.navbar-default .navbar-brand {
  margin-right: 50px;
  margin-left: 20px;
  width: 300px;
  height: 100px;
  background: url(/when-quality-matters/images/logo/qni-logo-text~300x100.png) no-repeat 0 50%;
}
.navbar-default .navbar-nav > li {
  margin-left: 1px;
  xborder-top: 8px solid #7c0035;
  xborder-bottom: 8px solid #d3d3d3;
}
.navbar-default .navbar-nav > li > a {
  padding: 20px 25px;
  font-size: 16px;
  line-height: 18px;
  color: #999;
}
.navbar-default .navbar-nav > li > a > i {
  display: inline-block;
}
.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active:focus > a,
.navbar-default .navbar-nav > li.active:hover > a,
.navbar-default .navbar-nav > li:hover > a,
.navbar-default .navbar-nav > li:focus > a,
.navbar-default .navbar-nav > li.active > a:focus,
.navbar-default .navbar-nav > li.active:focus > a:focus,
.navbar-default .navbar-nav > li.active:hover > a:focus,
.navbar-default .navbar-nav > li:hover > a:focus,
.navbar-default .navbar-nav > li:focus > a:focus {
  background-color: #7c0035;
  color: #fff;
}
.icon-lg {
  font-size: 48px;
  height: 108px;
  width: 108px;
  line-height: 108px;
  color: #fff;
  margin: 10px;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: center;
  display: inline-block !important;
  border-radius: 100%;
}
.icon-md {
  font-size: 24px;
  height: 68px;
  width: 68px;
  line-height: 68px;
  color: #fff;
  margin-right: 10px;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: center;
  display: inline-block;
  border-radius: 100%;
  margin-bottom: 10px;
}
/*
.icon-color1 { background-color: #e74c3c; }
.icon-color2 { background-color: #2ecc71; }
.icon-color3 { background-color: #3498db; }
.icon-color4 { background-color: #8e44ad; }
.icon-color5 { background-color: #1abc9c; }
.icon-color6 { background-color: #2c3e50; }
*/
.icon-color1 { background-color: #7c0035; }
.icon-color2 { background-color: #143c71; }
.icon-color3 { background-color: #d3d3d3; }
.icon-color4 { background-color: #7c0035; }
.icon-color5 { background-color: #143c71; }
.icon-color6 { background-color: #d3d3d3; }

.gap {
  margin-bottom: 50px;
}
.big-gap {
  margin-bottom: 100px;
}
#footer {
  clear:both;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #999;
}
#footer a {
  color: #999;
}
#footer a:hover {
  color: #52b6ec;
}
ul.social {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
ul.social > li {
  margin: 0 0 20px;
}
ul.social > li > a {
  display: block;
  font-size: 18px;
}
ul.social > li > a i {
  margin-right: 10px;
}
textarea#message {
  padding: 10px 15px;
  height: 220px;
}
@keyframes scaleUp {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@-moz-keyframes scaleUp {
  0% {
    opacity: 0;
    -moz-transform: scale(0.3);
  }
  100% {
    opacity: 1;
    -moz-transform: scale(1);
  }
}
@-webkit-keyframes scaleUp {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.3);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
  }
}
@-ms-keyframes scaleUp {
  0% {
    opacity: 0;
    -ms-transform: scale(0.3);
  }
  100% {
    opacity: 1;
    -ms-transform: scale(1);
  }
}
@-o-keyframes scaleUp {
  0% {
    opacity: 0;
    -o-transform: scale(0.3);
  }
  100% {
    opacity: 1;
    -o-transform: scale(1);
  }
}


p.left { text-align: left !important; }
.wallpaper1 {
    background-image:url(/when-quality-matters/images/panel-bg.jpg);
    background-size:cover;background-repeat:no-repeat;
}
.clear-left { clear:left; }

#search_btn { border:1px solid #ccc !important;  height:34px; }

.download_referral_form { padding:0px 5px 5px 5px; text-align:right; display:inline-block; width:40%; float:left; margin-top:3px; }

#download_referral_form_3.download_referral_form { padding:5px 5px 5px 50px; text-align:center; display:inline-block; width:80px;  margin-top:3px; position:relative; top:-45px;}
.download_referral_form a:link, .download_referral_form a:visited { color: #01457c; text-transform:uppercase; font-size:12px;  }
#search_box {padding:0px 5px 5px 5px; display:inline-block; width:40%; float:left; text-align:right;}
/*#search_box input {  display:inline-block; border-top:0px; border-top-right-radius:0px;border-top-left-radius:0px; }*/
.navbar-options {  height:42px; xoverflow:hidden; }



.wallpaper2 {
  background-image: url(/when-quality-matters/images/slider-bg.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.portfolio-items.col-3 > li {
    width: 50% !important;
}

.home-label { display:inline; }
#contact_us_msg { margin:10px 0px; background-color:white;border-radius:8px;padding:6px;text-align:center; height:auto; display:none;}

nav { min-width:620px !important; }

@media screen and (max-width:767px) {

    .navbar-default .navbar-nav > li > a { padding: 22px 20px; float:left;width:24%; text-align:center; }
    .navbar-default .navbar-options { position:absolute; top:54px; width:35%; right:100px; z-index:99; text-align:center; }
    .navbar-toggle { zoom:1.8; margin:14px; }
    li i.glyphicon { float:left; }
}
@media screen and (min-width:768px) {

    #main-slider { background-position: 50% 0%; background-size:175%;;}

    #home_label { display:none !important; }

    #patients .box { background-position:-40px -40px; }

    .modal-dialog{right:auto;left:auto;width:600px;padding-top:30px;padding-bottom:30px;
    }


    .navbar-default .navbar-options { position:absolute; top:5px; width:340px; height:90px; right:5px; z-index:99; text-align:center;}
    nav #search_box { clear:both; width:100%;}
    #download_referral_form_2 { padding:10px 40px; text-align:center;}

    .navbar-default .navbar-nav > li > a { padding: 10px 17px; }
}

@media screen and (max-width:991px) {

}

@media screen and (min-width:992px){
    #main-slider { background-position: 50% 0%; background-size:200%; }
    #main-slider h1 { font-size:50px !important; }
    #main-slider.carousel ul { font-size:24px !important; }
    #contact_us_msg { width:50%; }
    .portfolio-items.col-3 > li {
      width: 33% !important;
    }
    .navbar-options .btn,
    
    .nav { clear:none; }
    .navbar-default .navbar-nav > li > a { padding: 12px 32px; }
}
@media screen and (min-width:1200px){
    #contact_us_msg { width:60%; }
    #search_box input {  display:inline-block; border-top:0px; border-top-right-radius:0px;border-top-left-radius:0px; }
    .navbar-default .navbar-nav > li > a { padding: 20px 20px; }
    .navbar-default .navbar-options { position:absolute; top:0px; width:640px;height:30px; }
    .nav { clear:none; }
    nav #search_box { clear:none; width:300px; }
    .nav { margin-top:41px; }
    #search_btn { border-top:0px !important; height:34px; }
    #main-slider { background-position: 50% 10%; background-size:120%;}
}


@keyframes flasher {
  0% {
    opacity: 1;
  }
  10% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  70% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.highlight.search-current {
    background-color: #ffcf3d;
    border:1px solid red;
    animation: flasher 1200ms;
}
.highlight {
    background-color: #fff34d;
    border-radius: 5px; 
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    padding:1px 4px;
    margin:0 -4px;
}

.location-box { padding-top: 40px !important; background:linear-gradient(to bottom, #ffffff 0%, #eeeeee 5%, #143c71 35%, #143c71 100%); border-top:5px solid #143c71;}
.location-box h2 { color:#ffffff; text-shadow:2px 2px 3px rgba(0,0,0,0.7); }
#location_buttons { position:relative;top:-24px; padding-bottom:50px; }
#location,
#location .container .box { position:relative; height:650px; padding:0px; overflow:hidden;}
#location .container { position:relative; height:650px; padding:0px 15px;}
#map_canvas { width:50%;height:340px;overflow:hidden; float:left; }
#map_canvas_overlay { background-color:#555; position:absolute; left:0px;right:50%;
                      top:255px; bottom:45px; opacity:0.2; z-index: 999; }
#map_locality { position:absolute; right:0px; width:50%;height:340px;overflow:hidden; background-color:#eef9f9; cursor:pointer; }

#map_border { background-color:#ccc; position:absolute; top:249px;bottom:39px;left:0;right:0;
                       }

textarea#Email_Message { resize: none; height:120px !important; }

#contact .container .box { padding:20px 30px; }
.footer-padded { padding-top:20px; border-top:1px solid #666; }

#inline-1,
.pretty-box { position:fixed; width: 480px; top:30px;bottom:30px;left:50%; margin-left:-240px; padding:12px;background-color:#fff; }


.icon-eye-open { display:inline-block; width:20px; height:20px; background-image:url(/when-quality-matters/images/icons/icon-eye-open.png);background-position:center center;background-repeat:no-repeat; margin-top:5px; }

a.pp_close { top:-30px; right:7px; }
.pp_details { display:none; }

address big { font-size:160%; }

.icon16-file-pdf { background-image:url(/when-quality-matters/images/skin/pdf-16.gif);background-position:center center;background-repeat:no-repeat; width:16px !important; height:16px !important; display:inline-block; position:relative; top:2px; left:-1px;}
.btn-lg .icon16-file-pdf { top:4px; left:-2px;}

#search_box_xs { padding-top:10px;}

/* procedure view */
h1.item-heading { display:block;z-index:99;position:absolute;top:-20px;right:0px;left:35px;height:auto;padding:20px 45px 20px 15px;text-align:center; background-color:#ccc; border-bottom-left-radius:40px; }
div.item-heading-ghost { display:block;font-size:36px;line-height:36px; margin:0px; padding:0px 30px; height:auto; visibility:hidden; }

.padtop-50 { padding-top: 50px !important; }
.padbot-50 { padding-bottom: 50px !important; }
.nopad-bot { padding-bottom:0px;margin-bottom:0px; }
.qni-logo {background-image:url(/when-quality-matters/images/logo/qni-logo-text~300x100.png);background-position:center center;background-repeat:no-repeat;width:300px; height:170px; margin:0px auto; font-size:11px; color:#aaa; font-style:italic; text-align:center; padding-top:15px;}

.qni-wqm {background-image:url(/when-quality-matters/images/skin/when-quality-matters-sm.png);background-position:center center;background-repeat:no-repeat;width:300px; height:150px; margin:0px auto; font-size:11px; color:#aaa; font-style:italic; text-align:center; padding-top:15px;}

.qni-procedure-picture { position:relative; height:310px; }
.qni-computerscreen { position:absolute;top:-21px;left:-18px; background-image:url(/when-quality-matters/images/skin/computer-screen.png);background-position:center center;background-repeat:no-repeat;width:411px; height:327px; margin:0px auto; font-size:11px; color:#aaa; font-style:italic; text-align:center; padding-top:15px;}
.qni-procedure-picture img { position:absolute; width:327px; left:24px; top:27px;}

