/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}
@media screen and (max-width: 1200px) {
  nav a {
    font-size: 12px;
  }
  #header .header-nav nav ul li {
    margin: 0 5px;
  }
}
@media screen and (max-width: 1024px) {
  .toggle-menu {
    display: table;
  }
  body {
    transition: margin 0.3s ease-in-out;
  }
  body.active {
    margin-left: -300px;
  }
  #header .logo {
    margin: 0;
  }
  #header .header-nav nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #f06d2d;
    z-index: 9999;
    margin: 0;
    padding: 0;
    right: -300px;
    transition: right 0.3s ease-in-out;
  }
  #header .header-nav nav.active {
    right: 0;
  }
  #header .header-nav nav ul {
    display: block;
    margin: 0;
    padding: 0;
  }
  #header .header-nav nav ul li {
    display: block;
    border-bottom: 1px solid #ffffff;
    margin: 0;
    padding: 0;
    float: none;
  }
  #header .header-nav nav ul li a {
    display: block;
    color: #ffffff;
    line-height: 40px;
    font-size: 15px;
  }
  #header .header-nav nav ul li a:hover {
    background: #72c2cb;
    color: #ffffff;
  }
}
@media screen and (max-width: 992px) {
  .main-title h1,
  .landing-page .title,
  .home-content-title h1 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 25px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 23px;
  }
  h5 {
    font-size: 22px;
  }
  h6 {
    font-size: 20px;
  }
  #video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
  }
  #video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .detail-dropdown {
    display: block;
  }
  .detail-title {
    display: none;
  }
  .service_v2-content {
    padding-bottom: 0;
  }
  .service_v2 .service_v2-content-children > .row {
    display: block;
    margin: 20px 0;
  }
  .service_v2 .detail-content {
    padding: 0;
  }
  .column-2,
  #footer ul {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
  #footer .copyright {
    display: block;
    text-align: center;
  }
  #footer .footer-link {
    width: 100%;
    float: none;
  }
  #footer .footer-link li {
    padding: 0;
    border-bottom: 1px solid #efefef;
  }
  #footer .footer-link li a {
    line-height: 30px;
  }
  #footer .social {
    width: 100%;
    float: none;
    text-align: center;
    margin: 40px 0 0;
  }
  #footer .social ul.share {
    margin: 0 auto;
    padding: 20px 0;
  }
  #home_slide {
    background: #efefef;
  }
  #home_slide .flex-control-nav {
    height: auto;
    padding-top: 10px;
    margin: 0 auto;
    display: table;
    float: none;
    width: auto;
  }
  .main-title {
    background: url('images/header/title-bg-light.jpg') repeat;
    height: auto;
  }
  .main-title .dark,
  .main-title .light {
    display: none;
  }
  .main-title .container {
    margin: 0 auto;
  }
  .main-title .container .path {
    display: none;
  }
  .main-title .container h1 {
    background: none;
    line-height: 1.3em;
    height: auto;
    position: relative;
    padding: 20px 0;
  }
  .patient .img {
    display: block;
    float: none!important;
    clear: both;
  }
  .patient .thumbnail {
    display: table;
    margin: 0 auto;
    float: none;
  }
  .patient .text-blue {
    text-align: center;
  }
  .wrap-blog {
    padding: 0 35px;
  }
  .blog-img {
    padding: 0;
    margin: 20px 0;
  }
  .blog-img img {
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  .flexslider .slides img {
    width: 200%;
    margin-left: -40%;
  }
  .home-content-form .col-6-left-wrap,
  .service_v2-content-form .col-6-left-wrap,
  .service_content-form .col-6-left-wrap {
    width: 100%;
    float: none;
    padding: 0;
  }
  .home-content-form .col-6-right-wrap,
  .service_v2-content-form .col-6-right-wrap,
  .service_content-form .col-6-right-wrap {
    width: 100%;
    float: none;
    padding: 0;
  }
  .home-content-form .inline-block-wrap input[type="text"],
  .service_v2-content-form .inline-block-wrap input[type="text"],
  .service_content-form .inline-block-wrap input[type="text"] {
    width: 100%;
  }
  .home-content-form .inline-block-wrap,
  .service_v2-content-form .inline-block-wrap,
  .service_content-form .inline-block-wrap {
    display: block;
  }
  .home-content-form .ninja-forms-cont input[type="submit"],
  .service_v2-content-form .ninja-forms-cont input[type="submit"],
  .service_content-form .ninja-forms-cont input[type="submit"] {
    word-wrap: break-word;
    word-break: break-word;
    width: 100%;
    white-space: normal;
  }
  .bootstrap-select.btn-group .dropdown-menu li a span.text {
    word-wrap: break-word;
    word-break: break-word;
    width: 100%;
    white-space: normal;
  }
  .bootstrap-select.btn-group .dropdown-toggle .filter-option {
    font-size: 16px;
  }
  .bootstrap-select.btn-group .dropdown-menu li {
    border-bottom: 1px solid #bfbfbf;
  }
  .bootstrap-select.btn-group .dropdown-menu li:last-child {
    border: 0;
  }
  .main-title h1,
  .landing-page .title,
  .home-content-title h1,
  .main-title .container h1 {
    font-size: 22px;
    line-height: 1.2em;
    margin: auto;
  }
  h1,
  h2,
  h3,
  h4 {
    font-size: 20px;
  }
  h5,
  h6 {
    font-size: 18px;
  }
  p,
  li,
  span,
  a {
    font-size: 16px;
  }
}
@media screen and (max-width: 400px) {
  #header .logo img {
    max-height: 50px;
  }
  .toggle-menu {
    top: 16px;
  }
  #header .header-nav nav {
    width: 250px;
    right: -250px;
  }
  body.active {
    margin-left: -250px;
  }
}
