/*
 common css
 header/footer
*/

* {
  margin: 0;
  padding: 0;
  font-family: 'AvenirNextLTPro-Regular';
  font-size: 1rem
}

ol,
ul,
dl {
  margin: 0;
}

html {
  font-size: 20px;
  color: #000;
}

/*body {*/
/*  background: #FBFBFB;*/
/*}*/

li {
  list-style-type: none;
}

input:focus,
button:focus {
  outline: 0;
}

.clear {
  clear: both;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  color: #7f7f7f;
  text-decoration: none;
  opacity: 1;
}

a:hover p {
  color: #7f7f7f;
}

.left {
  float: left;
}

.right {
  float: right;
}

.hidden {
  display: none;
}

img {
  max-width: 100%;
  display: block;
}

.form-control:focus {
  outline: 0;
  box-shadow: none;
}

.btn {
  padding: 0.2rem 0.75rem;
  border-radius: 1.25rem;
}

.btn:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

.btn:active {
  background-color: none !important;
}

.modal-backdrop.show {
  opacity: 0.75;
}

.form-control,
.custom-select {
  height: calc(2rem + 2px);
  padding: 0.25rem 0.75rem;
  border-radius: 0;
}

textarea.form-control {
  border-radius: 10px;
}

body.open {
  overflow: hidden;
}

body.open::before {
  content: '';
  width: 100%;
  height: 100%;
  background: #fff;
  display: block;
  position: fixed;
  z-index: 3;
}

.icon-hover,
.icon-div:hover .icon-def {
  display: none;
}

.icon-div:hover .icon-hover {
  display: block;
}

::-webkit-scrollbar {
  width: 0px;
  height: 6px;
  cursor: pointer;
}

::-webkit-scrollbar-thumb {
  background-color: #7f7f7f;
}

.swiper-pagination-bullet-active {
  background-color: #7f7f7f;
}

::-webkit-scrollbar-track-piece {
  background-color: #f2f2f2;
}

@font-face {
  font-family: 'AvenirNextLTPro-Regular';
  font-weight: normal;
  font-style: normal;
  src: url('../font/AvenirNextLTPro-Regular.otf');
}

@font-face {
  font-family: 'AvenirNextLTPro-Regular';
  font-weight: normal;
  font-style: normal;
  src: url('../font/AvenirNextLTPro-Regular.otf');
}

/*-----subModal-s-----*/

.modal-open .modal-backdrop.show,
#subModal button.close {
  display: none;
}

#subModal .modal-dialog {
  max-width: 400px;
  max-width: max-content;
}

#subModal .modal-content {
  color: #fff;
  border-radius: 0.25rem;
  background: rgba(243, 131, 43, 0.85);
  border: 1px solid #7f7f7f;
}

#subModal.error .modal-content {
  background: rgba(244, 67, 54, 0.85);
}

/*-----subModal-e-----*/

/*-----header-s-----*/

.header {
  padding: 0;
  background: #fff;
  min-height: 3rem;
  /*margin-top: 1.9rem;*/
}

.header+div {
  margin-top: 3rem;
}

.show>.nav-link {
  color: #7f7f7f;
}

.header .nav-link {
  padding: 0;
}

.search-icon {
  width: auto;
  padding: 1rem;
  display: block;
  cursor: pointer;
}

.search {
  position: relative;
  top: 0.3rem;
  padding: 0.375rem 1.25rem;
}

.btn.search:focus {
  border: none;
  box-shadow: none;
  outline: 0;
}

.search-form {
  width: 100%;
}

.form-inline.search-form .form-control {
  border: none;
  width: 70%;
}

.search-close {
  cursor: pointer;
  float: right;
  padding: 1rem;
}

.sec-menu ul a {
  display: block;
  line-height: 1.75;
  font-family: 'AvenirNextLTPro-Regular';
  font-size: 0.95rem;
}

/*user*/

.user-icon {
  padding: 1rem 0 1rem 0.5rem;
  cursor: pointer;
}

@media screen and (min-width:980px) {
  .header .dropdown-menu {
    position: fixed;
    width: 100%;
    left: 0;
    top: 3rem;
    margin: 0;
    border: 0;
    background: #F1F1F1;
    padding: 0;
    box-shadow: -1px 7px 14px -4px #ccc;
    max-height: 600px;
    overflow-y: auto;
  }
  .header ::-webkit-scrollbar {
    width: 4px;
  }
  .header .bar-nav {
    width: 75%;
  }
  .search-form {
    position: absolute;
    padding-left: 20%;
    opacity: 0;
    z-index: -1;
  }
  .search-open .search-form {
    display: block;
    transition: opacity .3s ease .2s;
    opacity: 1;
    z-index: 1;
  }
  .search-open .search-icon,
  .search-open .navbar-nav {
    transition: opacity .2s ease;
    opacity: 0;
  }
  .form-inline.search-form .form-control {
    width: 70%;
  }
  .header .nav-item:nth-of-type(2) .col-md-3:nth-of-type(1) {
    text-align: right;
    flex: 0 0 45%;
    max-width: 50%;
  }
  .header .nav-item:nth-of-type(2) .col-md-3:nth-of-type(2) {
    max-width: 50%;
  }
  .sec-menu {
    margin-top: 1rem;
  }
  .sec-menu ul {
    margin-bottom: 1rem;
  }
  .sec-menu img+p {
    border-bottom: 1px solid #999;
    line-height: 2;
    margin-bottom: 0.35rem;
  }
  .sec-menu img {
    width: 100%;
  }
}

@media screen and (max-width:980px) {
  .header .navbar-collapse {
    position: fixed !important;
    left: -500px;
    top: 48px;
    background: #fff;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    transition: left .3s ease, opacity .3s ease;
    opacity: 0;
  }
  .open .header .navbar-collapse {
    left: 0;
    opacity: 1;
  }
  .header .dropdown-menu {
    position: initial;
  }
  .header .navbar-toggler {
    border: none;
    position: relative;
    top: 0px;
  }
  .header .navbar-toggler.collapsed {
    position: relative;
    top: 0px;
  }
  .header .navbar-brand {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    margin-left: -50px;
  }
  .search {
    float: right;
    position: absolute;
    right: 3rem;
    top: 1.45rem;
  }
  .search-form {
    padding: 1rem 0;
  }
  .form-inline.search-form .form-control {
    border-bottom: 1px solid #ced4da;
    width: 100%;
    height: 2rem;
    padding: 1.5rem 15px;
    border-radius: 0;
  }
  .header .dropdown-menu {
    border: none;
  }
  .header .dropdown-menu p {
    margin: 0;
    height: 40px;
    line-height: 40px;
  }
  .header .nav-link {
    text-align: left;
    position: relative;
  }
  .header .bar-nav>li:nth-of-type(1)>.nav-link::after,
  .header .bar-nav>li:nth-of-type(2)>.nav-link::after {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    transition: all .2s;
    border: 1px solid #666;
    border-width: 1px 1px 0 0;
    transform: rotateZ(135deg);
    position: absolute;
    right: 0;
    top: 1.35rem;
  }
  .header .bar-nav>li.show>.nav-link::after {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    transition: all .2s;
    border: 1px solid #666;
    border-width: 1px 1px 0 0;
    transform: rotateZ(135deg);
    position: absolute;
    right: 0;
    top: 1.35rem;
    transition: all .2s;
    transform: rotateZ(-45deg);
    transform-origin: center;
  }
  .header .bar-nav>li {
    min-height: 3em;
    line-height: 3rem;
    border-bottom: 1px solid #ccc;
  }
  /*user*/
  .user {
    float: right;
    position: absolute;
    right: 15px;
    top: 1.75rem;
  }
}

@media screen and (max-width:1080px) {
  .nav-item.col {
    flex-basis: inherit;
  }
}

@media (max-width: 640px) {
  .banner {
    overflow: hidden;
  }
  .banner img {
    /*min-height: 200px;*/
    /*max-height: 200px;*/
    max-width: 100%;
  }
  .alone img {
    min-height: 200px;
    max-height: 200px;
    max-width: initial;
  }
}

/*-----header-e-----*/

/*-----nav-bar-s-----*/

.icon-bars-btn {
  position: fixed;
  left: 5%;
  width: 30px;
  height: 20px;
  margin-top: -8px;
  cursor: pointer;
}

.hamburger {
  width: 24px;
  left: 0;
  top: 8px;
  position: absolute;
  height: 2px;
  background: #333;
  transition: width .4s ease, -webkit-transform .4s ease;
  transition: transform .4s ease, width .4s ease;
  transition: transform .4s ease, width .4s ease, -webkit-transform .4s ease
}

.hamburger.one {
  -webkit-transform: translateY(-6px) rotate(0);
  transform: translateY(-6px) rotate(0)
}

.hamburger.two {
  -webkit-transform: translateY(6px) rotate(0);
  transform: translateY(6px) rotate(0)
}

.hamburger.three {
  -webkit-transform: translate(0) rotate(0);
  transform: translate(0) rotate(0)
}

.open .hamburger.one {
  background: #333 !important;
  -webkit-transform: translate(0) rotate(-45deg);
  transform: translate(0) rotate(-45deg)
}

.open .hamburger.two {
  background: #333 !important;
  -webkit-transform: translate(0) rotate(45deg);
  transform: translate(0) rotate(45deg)
}

.open .hamburger.three {
  width: 0;
  -webkit-transform: translate(10px) rotate(0);
  transform: translate(10px) rotate(0)
}

/*-----nav-bar-e-----*/

/*-----subscribe-s-----*/

.subscribe {
  background: #7f7f7f;
}

.subscribe p {
  font-size: 1.6rem;
}

.subscribe .email {
  width: 80%;
  max-width: 25rem;
  border-radius: 2rem;
  background: #fff;
  border: none;
  margin: 1.5rem 0;
  height: 2rem;
  padding: 0 1rem;
  color: #000;
}

.subscribe .btn {
  width: auto;
  height: 2rem;
  border: 1px solid #fff;
  border-radius: 1rem;
  background: none;
  display: table;
  margin: auto;
  font-size: 1rem;
  line-height: 1;
  color: #fff;
}

.btn:active:focus {
  outline: 0;
}

.btn:focus,
.btn-info:not(:disabled):not(.disabled):active:focus {
  outline: 0;
  box-shadow: none;
  background: #7f7f7f;
  border: 1px solid #7f7f7f;
}

.btn-info {
  background: #7f7f7f;
  border: 1px solid #7f7f7f;
}

.btn:hover {
  background: #7f7f7f;
  border: 1px solid #fff;
}

@media screen and (min-width:980px) {
  .subscribe h2 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width:980px) {
  .subscribe p {
    font-size: 1.3rem;
  }
}

/*-----subscribe-e-----*/

/*-----footer-s-----*/

.footer {
  font-size: 0.875rem;
  overflow: hidden;
}

.footer .d-flex {
  padding: 3.5rem 0 3.25rem;
}

.foot-nav {
  width: 50%;
}

.footer li a {
  line-height: 2.3rem;
  font-size: 1rem;
  opacity: 0.6;
}

.share li {
  float: left;
  margin-left: 2.5rem;
}

.copyright {
  height: 2rem;
  line-height: 2rem;
  font-size: 0.9rem;
  color: #666;
}

.foot-link img {
  max-height: 2rem;
}

.foot-tex .card-header {
  background: none;
  border: none;
  padding: 0;
}

.foot-tex .card {
  background: none;
  border: none;
}

.foot-tex .card-body {
  padding: 0
}

.foot-tex .btn {
  padding: 0;
  display: block;
  color: #000;
  height: 2.3rem;
  line-height: 2.3rem;
  width: 100%;
  text-align: left;
  border: none;
  position: relative;
}

.foot-tex .btn:hover,
.foot-tex .btn:focus {
  background: none;
  text-decoration: none;
  cursor: default;
  box-shadow: none;
}

@media screen and (min-width:980px) {
  .navbar {
    height: 3rem;
    line-height: 3rem;
    /*margin-top: 1.9rem;*/
  }
  .foot-tex {
    padding: 2rem 0;
  }
}

@media screen and (max-width:980px) {
  .foot-tex .btn.collapsed::after {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    transition: all .2s;
    border: 1px solid #666;
    border-width: 1px 1px 0 0;
    transform: rotateZ(135deg);
    position: absolute;
    right: 0;
    top: 0.5rem;
  }
  .foot-tex .btn::after {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    transition: all .2s;
    border: 1px solid #666;
    border-width: 1px 1px 0 0;
    transform: rotateZ(135deg);
    position: absolute;
    right: 0;
    top: 0.5rem;
    transition: all .2s;
    transform: rotateZ(-45deg);
    transform-origin: center;
  }
  .foot-tex {
    padding: 2rem 15px 4rem;
  }
}

/*-----footer-e-----*/

@media (min-width: 576px) {
  .container {
    max-width: 95%;
  }
}

@media (min-width: 768px) {
  .d-md-block {
    display: none !important;
  }
}

@media (min-width: 980px) {
  .d-md-block {
    display: block !important;
  }
}

@media screen and (min-width:1200px) {
  .container {
    max-width: 1300px;
  }
}

@media screen and (max-width:1280px) {
  html {
    font-size: 18px;
  }
}

@media screen and (max-width:980px) {
  html {
    font-size: 16px;
  }
  .pb-5,
  .py-5 {
    padding-bottom: 2rem !important;
  }
  .pt-5,
  .py-5 {
    padding-top: 2rem !important;
  }
  ::-webkit-scrollbar {
    width: 0px;
  }
}

@media screen and (max-width:640px) {
  h4,
  .h4 {
    font-size: 1.35rem;
  }
  .container {
    overflow: hidden;
  }
}

.form-control:focus{
  border-color: #7f7f7f;
}