/*
Theme Name: NHS Ortho Theme
Theme URI: https://nhsorthorobotics.com/
Author: Antigravity
Description: Custom WordPress theme for NHS Ortho Robotics.
Version: 1.0
Text Domain: nhs-ortho-theme
*/

html {
  scroll-behavior: smooth;
}
.mainmenu ul li .sub-menu {
    z-index: 3;
}

.mainmenu ul li a {
  color:#222;
}
#owl-demo
{
	 
}
 #myHeader {
    margin-bottom: 0; 
    width: 100%;
    z-index: 999;
}

.fixheader {
    position: fixed;
    top: 0;
    left: 0;
}
.nofixheader {
    position: relative;
}

.count-bx {
    background: #fff;
    border: 1px solid #a8994a;
    font-size: 30px;
    margin-top: 25px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
}
.count-bx p {
    background: #a8994a;
    padding: 4px 5px;
    color: #fff;
    margin: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}
.mainmenu ul li .sub-menu {
     flex-direction: column;
    position: absolute;
   min-width: 300px;      /* increase width */
  width: auto;
    top: 110%;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    padding: 25px 0;
    transition: 0.3s;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.05);
    max-height: 150px;      /* adjust height as needed */
    overflow-y: auto;       /* enables vertical scrolling */
    overflow-x: hidden;
}
.cta-two {
    padding: 55px 0;
    background-color: #ffffff;
    text-align: center;
}
.mainmenu ul li:hover > a {
    color:#c2b04f!important;

}
.mainmenu ul li a {
    color: #003242;
}
 .mainmenu ul li .sub-menu a {
    padding: 6px 30px;
    font-size: 14px;
    text-decoration: none;
}
.mainmenu ul li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    top: 100%;
    color: #000 !important;
}
.mainmenu ul li .sub-menu::after {
    background: linear-gradient( 90deg, rgb(116 106 47) 0%, rgb(194 176 79) 100% );
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    position: absolute;
}
.mainmenu ul li .sub-menu li {
    margin-left: 0;
}
.mainmenu ul.sub-menu {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
body {
    background: unset !important;
}
.appt-fix {
    position: fixed;
    top: 35%;
    right: 0;
    z-index: 99;
    max-width: 50px;
}
.hero-text {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}
.hero-text h1, .hero-text h2 {
  color: #fff !important;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.call-fix {
    position: fixed;
    top: 40%;
    left: 0;
    z-index: 99;
    max-width: 50px;
}
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 4;
  border-radius: 0px;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
-ms-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}
.abt-bx{
	
	 border-radius: 0px !important; 

}
.box-text p {

    font-size: 15px !important;
}
section#tech {
    position: relative;
}
.navio-sec:before
{
	position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: url(images/pattern-1.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 50%;
    opacity: .50;
    transform: scale(-1);
    content: "";
}
.why-sec
{
         background-image: url(images/banner1-1200x465-1-1200x399.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}
.tests {

      background-image: linear-gradient(10deg, rgb(194, 176, 79), rgba(115, 98, 47, 0)) !important;
  

}
.faqs
{
     background-image: url(images/medical-bg.jpg) !important;
}

.hero-image {
  background-image: url("images/futuristic-hero-banner.png");
  min-height: 280px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  border-radius: 12px;
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.45);
}


.image-center{
    display: block;
  margin-left: auto;
  margin-right: auto;
  width: 85%;
}
.video_space
{
      padding-left: 15px;
    padding-right: 15px;
   
}

.spacing_section
{
      margin: 30px 0px;
}


footer {
    background: #000000 !important;
}


/*tabs*/

ul.tabs
{
    padding: 7px 0;
    font-size: 0;
    margin:0;
    list-style-type: none;
    text-align: left;
}
        
ul.tabs li
{
    display: inline;
    margin: 0;
   margin-right: 10px;
}
.tabcontents {
    margin-top: 4px;
    padding: 54px 32px;
    background-color: #f8f8f8;
    color: #2a2a2a;
} 

ul.tabs li a
{
    font: normal 14px Verdana;
    text-decoration: none;
    position: relative;
   z-index: 1;
      padding: 14px 10px;
 border: 1px solid #2a2a2a;
    border-bottom-color: #2a2a2a;
    color: #fff;
    background: #2a2a2a;
    border-radius: 6px 6px 0px 0px; 
    -moz-border-radius: 6px 6px 0px 0px;
    outline: none;
}

ul.tabs li a:hover
{
    border: 1px solid #a18017;
    background: #a18017;
}
        
ul.tabs li.selected a
{
    position: relative;
    top: 0px;
    font-weight: bold;
    background: white;
    background: #f8f8f8;
    color: #2a2a2a;
       border: 1px solid #f8f8f8;
    /* border-bottom-color: white;*/
}
.btn-custom
{
    display: inline-block;
    vertical-align: middle;
    min-width: 185px;
    padding: 12px 20px;
    background-color: #a18017;

    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.2px;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    outline: none;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all ease .3s;
    -ms-transition: all ease .3s;
    transition: all ease .3s;

  }
 

@media only screen and (min-width: 300px) and  (max-width: 1024px)
{
    ul.tabs li {
    display: grid;

}
  }

.slider-sec {
    padding: 30px 0;
    background: url(images/nhs-background.jpg);
}
@media (max-width: 767px)
{
.top-call {display: inline !important;}
}
.top-call {
    position: absolute;
    width: auto;
    max-width: 45px;
    right: 40px;
    display: none;
}
.modal-content {
    background: #decb84!important;
}
.contact-us input[type="submit"] {
    position: relative;
    display: block;
    max-width: 170px;
    min-width: 170px;
    margin: 0 auto;
    background: #847438;
    text-transform: uppercase;
    color: #ffffff;
    border: none;
    line-height: 24px;
    padding: 8px;
    text-align: center;
}
.modal-header {
    border: none!important;
    height: 20px;
    padding: 5px;
}
.modal-body h1 {
    font-weight: 900;
    font-size: 1.5em;
    text-transform: uppercase;
}
.modal-header .close {
    background: #fff;
    padding: 5px;
    display: block;
    margin-top: -2px;
    opacity: 1;
}
.contact-us input[type="text"], .contact-us input[type="email"], .contact-us input[type="password"], .contact-us input[type="tel"], .contact-us select {
    position: relative;
    width: 100%;
    line-height: 24px;
    padding: 5px 15px;
    border: 1px solid #f1f1f1;
    background: #ffffff;
    color: #2d2d2d;
    height: 35px;
}
.contact-us textarea {
    position: relative;
    width: 100%;
    line-height: 24px;
    padding: 8px 15px;
    height: 50px;
    resize: none;
    border: 1px solid #f1f1f1;
    background: #ffffff;
    color: #2d2d2d;
    margin-bottom: 20px;
}

 @media(min-width: 768px) { .icon-listy-img {display: none}}

 @media(max-width: 767px) { 
.icon-listy-img {display: inline-block;     margin-left: 5px;
    opacity: 0.5;
    max-width: 12px;} }


.topbar{padding:5px 0; background-color:#c2b04f }

.topbar a{color: #fff;font-size: 12px; text-decoration: none}
 .tblink {text-align: left;}
 .tblink2 {text-align: right;}
 .tblink2 a {padding:0 6px;}
 .tblink2 a+a {border-left: 1px solid #fff;}

@media(max-width: 767px)
{
     .tblink {text-align: center;}
 .tblink2 {text-align:  center; margin-top: 6px}
}

.blinky{animation: blink 1s linear infinite; margin-top: -15px}

@keyframes blink{

    0%,70%,100%{opacity: 1}
    80%{opacity: 0}
}



#myCarousel .thumbnail {
    margin-bottom: 0;
}

.carousel-control {
    color:#fff;
    top:40%;
    color:#428BCA;
    bottom:auto;
    padding-top:4px;
    width:30px;
    height:30px;
    text-shadow:none;
    opacity:1;
}
.carousel-control:hover {
    color: #d9534f;
}
.carousel-control.left, .carousel-control.right {
    background-image:none ;
}
.carousel-control.right {
    left:auto;
    right:-32px;
}
.carousel-control.left {
    right:auto;
    left:-32px;
}
.carousel-indicators {
    bottom:-30px;
}
.carousel-indicators li {
    border-radius:0;
    width:10px;
    height:10px;
    background:#ccc;
    border:1px solid #ccc;
}
.carousel-indicators .active {
    width:12px;
    height:12px;
    background:#3276b1;
    border-color:#3276b1;
}
.Carousel-item
{
    padding: 60px 0 60px 0;
}
.you-tube_icon
{
        position: absolute;
    top: 72%;
    left: 26px;
        width: 15%;
}
@media only screen and (min-width: 300px) and  (max-width: 800px)
{
.phone-slider
{
    width: 100%;
}
.deskop-slider
{
    display: none;
}
/*.slide2
{
    background-position: none;
}*/
}
@media only screen and (min-width: 300px) and  (max-width: 500px)
{

.footer-icons
{
    margin-top: 22px;
    margin-bottom: -20px;
}

}
@media only screen and (min-width: 800px)
{
.phone-view
{
    display: none;
}
}


.top-lang{;display: flex;
  justify-content: flex-end;}

@media(max-width: 767px)
{
  .top-lang{;display: flex;
  justify-content: center;}  
}

.dropbtn {
background: #594a14;
    padding: 4px 10px; 
  border: none;
  color:#fff; font-size: 14px;
  cursor: pointer;

}

.dropbtn i {font-size: 10px}
.dropbtn:hover, .dropbtn:focus {
   border:none;  outline: none
}

.dropdown2 {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 156px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index:9999;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown2 a:hover {background-color: #ddd;}

.show {display: block;}

.btm-ikn {display: inline-block; width: 36px;margin:10px}

@media(max-width:390px){
.btm-ikn {display: inline-block; width: 26px;margin:10px}}

/* News and Media Grid styling */
.news-media-grid {
  display: flex;
  flex-wrap: wrap;
}

.news-media-grid::before,
.news-media-grid::after {
  display: none !important;
}

.news-media-grid [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.news-media-grid a {
  display: block;
  width: 100%;
}

.news-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Modern CSS scrolling marquee styling */
.scrolling-marquee-container {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.scrolling-marquee-text {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
}

.scrolling-marquee-text a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}

@keyframes marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

