/*
** General Styles for HTML tags
*/
html {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
}

::selection {
  color: $lightColor;
  background-color: $colorMain;
}

::-moz-selection {
  color: $lightColor;
  background-color: $colorMain;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  background-color: $lightColor;
  overflow: visible;
  overflow-x: hidden;
  //for scrollbar always seen
  overflow-y: scroll;
  //for scrollspy
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  //text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.6px;
}
h1{
  font-size: 3em;
  margin-top: 1.15em;
  margin-bottom: 0.45em;
}
h2{
  font-size: 2.5em;
  margin-top: 1.15em;
  margin-bottom: 0.68em;
}
h3{
  font-size: 2.25em;
  margin-top: 1.2em;
  margin-bottom: 0.67em;
}
h4 {
  font-size: 1.85em;
  margin-top: 1.5em;
  margin-bottom: 0.9em;
}

h5 {
  font-size: 1.5em;
  margin-top: 1.95em;
  margin-bottom: 1.3em;
}

h6 {
  font-size: 1.25em;
  margin-top: 2.2em;
  margin-bottom: 1.4em;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.8rem
  }
  h2 {
    font-size: 2.4rem
  }
  h3 {
    font-size: 2rem
  }
  h4 {
    font-size: 1.7rem
  }
  h5 {
    font-size: 1.4rem
  }
  h6 {
    font-size: 1.1rem
  }
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
  margin-bottom: 0;
}

p {
  margin: 0 0 17px;
}

ul, li{
  list-style-position: inside;
}

ul:last-child,
ol:last-child,
p:last-child {
  margin-bottom: 0;
}

p:last-child {
  &:after {
    content: '';
    display: block;
    clear: both;
  }
}

img, figure {
  max-width: 100%;
  height: auto;
}

figcaption {
  p {
    margin-bottom: 0;
  }
  font-size: 0.95em;
  line-height: 1.4;
  padding: 10px 0 7px;
}

b, strong {
  font-weight: 700;
}

label {
  color: $darkgreyColor;
}

a {
  text-decoration: none;
  transition: all 0.2s ease-in-out 0s;
  color: $darkgreyColor;
  &:hover {
    color: $colorMain;
    text-decoration: none;
    transition: all 0.15s linear 0s;
  }
  &.color-main{
    &:hover{
      color: $darkgreyColor;
    }
  }
}

blockquote {
  position: relative;
  margin: 90px auto 28px;
  text-align: center;
  padding: 0;
  max-width: 780px;
  border: none;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: $fontColor;
  &::before{
    content: '';
    position: absolute;
    left: 49%;
    transform: translateX(-50%);
    top: -60px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: $colorMain2;
  }
  &::after{
    content: '\f10d';
    position: absolute;
    left: 49%;
    transform: translateX(-50%);
    top: -54px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: $lightColor;
  }
  footer{
    cite{
      margin-top: 28px;
      line-height: 1;
      display: flex;
      flex-direction: column;
      font-style: normal;
      font-weight: 600;
      color: $darkgreyColor;
      span{
        margin-top: 4px;
        color: $fontColor;
        font-weight: normal;
      }
    }
  }
}

input:focus,
button:focus,
select:focus,
textarea:focus,
a:focus {
  outline: medium none;
  text-decoration: none;
}

a > img {
  transition: all 0.15s ease-in-out 0s;
}

a:hover > img {
  opacity: 0.8;
}

a.btn:active,
a.button:active,
button:active,
input[type="submit"]:active {
  position: relative;
  top: 1px !important;
}

hr {
  border-color: $borderColor;
  //for flexbox
  margin-left: 0;
  margin-right: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

iframe {
  border: none;
  max-width: 100%;
}

table {
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
  td, th {
    border: 1px solid $borderColor;
    padding: 18px 8px;
    line-height: 1.42857143;
    vertical-align: middle;
    text-align: center;
  }
  th {
    color: $darkgreyColor;
    font-weight: normal;
    vertical-align: middle;
  }
}

canvas {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

pre {
  line-height: 1.5;
  background-color: $universalBackgroundColor;
  padding: 0.5em 1em;
}
//block with signature on main page
.big {
  margin: 0.85em 0 1.3em;
  font-size: 20px;
  line-height: 1.8em;
  em {
    display: inline-block;
    margin: 0.3em 0 0;
    @media (min-width:768px) {
      margin: 1em 0 0.5em;

    }
  }
}

.media {
  h3 {
    text-transform: uppercase;
  }
  .dropcap {
    margin-right: 0;
  }
}

.small-text {
  @include small-text();
  &.extra-letter-spacing {
    @media (min-width: 768px) {

    }
  }
}

.program-section, .surgical-section, .testimonials-section{
  .owl-carousel{
    .owl-dots{
      display: none;
      @media(max-width: 1250px){
        display: block;
      }
    }
    .owl-nav{
      top: 44%;
      @media(max-width: 1250px){
        display: none;
      }
      .owl-prev{
        left: -17%;
        opacity: 1;
        @media(max-width: 1650px){
          left: -8%;
        }
        @media(max-width: 1400px){
          left: -4%;
        }
        &:hover{
          i{
            color: $darkgreyColor;
          }
        }
        i{
          font-size: 30px;
          color: $fontColor;
          &:before{
            content: '\f104';
          }
        }
        &.disabled{
          opacity: 1;
        }
      }
      .owl-next{
        right: -17%;
        opacity: 1;
        @media(max-width: 1650px){
          right: -8%;
        }
        @media(max-width: 1400px){
          right: -4%;
        }
        &:hover{
          i{
            color: $darkgreyColor;
          }
        }
        i{
          font-size: 30px;
          color: $fontColor;
          &:before{
            content: '\f105';
          }
        }
        &.disabled{
          opacity: 1;
         i{
           color: $darkFontColor;
         }
        }
      }
    }
  }
}

.program-section{
  .owl-carousel{
    .owl-stage{
      padding: 5px 0;
    }
    .owl-nav{
      top: 51%;
    }
  }
}

.testimonials-section{
  .owl-carousel {
    .owl-dots {
      display: block;
      margin-top: 27px;
      .owl-dot{
        span{
          border-color: $fontColor;
        }
      }
    }
    .owl-nav{
      top: 49%;
    }
  }
}

.surgical-section{
  .owl-carousel{
    .owl-stage{
      padding: 5px 0;
    }
    .owl-nav{
      top: 48%;
    }
  }
  .pricing-plan [class*='bg-']{
    @media (max-width: 575px) {
      margin-left: -10px;
      margin-right: -10px;
    }
  }
}

//ui slider

.ui-slider {
  position: relative;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 5px 0 8px;
}

.ui-slider .ui-slider-handle {
  top: 0;
  margin-left: -0.6em;
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  cursor: pointer;
  touch-action: none;
  outline: none;
  background-color: $darkgreyColor;
  border: 2px solid $colorMain;
  border-radius: 50%;
  transition: left 0.3s linear;

  &:hover,
  &.ui-state-active {
    box-shadow: 0 0 0 .236em rgba(#000, 0.1);
  }
}

.bio-parallax{
  .ui-slider {
    background-color: #eaeaea;
  }

  .author-bio-flex:first-of-type{
    border-top: 1px solid #eaeaea;
  }

  .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 2;
    font-size: .7em;
    display: block;
    border: 0;
    background: $colorMain;
    transition: all 0.3s linear;
  }

  .price_slider_wrapper .ui-widget-content {
    background: rgba(0, 0, 0, 0.1);
  }

  .ui-slider-horizontal {
    height: 1px;
  }

  .ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
  }

  .ui-slider-horizontal .ui-slider-range-min {
    left: -1px;
  }

  .ui-slider-horizontal .ui-slider-range-max {
    right: -1px;
  }
}

.social-icons{
  a:not(:last-child) {
    margin-right: 10px;
  }
}

