#loader:after,
#loader:before {
  content: "";
  position: absolute;
}
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
}
#loader,
.mapouter,
.tm-video-item,
.tm-video-item img {
  position: relative;
}
#loader {
  display: block;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #3498db;
  -webkit-animation: 2s linear infinite spin;
  animation: 2s linear infinite spin;
  z-index: 1002;
}
#loader:before {
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #e74c3c;
  -webkit-animation: 3s linear infinite spin;
  animation: 3s linear infinite spin;
}
#loader:after {
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #f9c922;
  -webkit-animation: 1.5s linear infinite spin;
  animation: 1.5s linear infinite spin;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
#loader-wrapper .loader-section {
  position: fixed;
  top: 0;
  width: 51%;
  height: 100%;
  background: #222;
  z-index: 1001;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}
#loader-wrapper .loader-section.section-left {
  left: 0;
}
#loader-wrapper .loader-section.section-right {
  right: 0;
}
.loaded #loader-wrapper .loader-section.section-left {
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: 0.7s cubic-bezier(0.645, 0.045, 0.355, 1) 0.3s;
  transition: 0.7s cubic-bezier(0.645, 0.045, 0.355, 1) 0.3s;
}
.loaded #loader-wrapper .loader-section.section-right {
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: 0.7s cubic-bezier(0.645, 0.045, 0.355, 1) 0.3s;
  transition: 0.7s cubic-bezier(0.645, 0.045, 0.355, 1) 0.3s;
}
.loaded #loader {
  opacity: 0;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}
.loaded #loader-wrapper {
  visibility: hidden;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: 0.3s ease-out 1s;
  transition: 0.3s ease-out 1s;
}
.tm-paging-link,
a {
  text-decoration: none;
  transition: 0.3s;
}
p {
  line-height: 1.8;
}
.tm-text-primary,
a:hover {
  color: #099;
}
.container-fluid {
  max-width: 1770px;
}
.tm-container-small {
  max-width: 1050px;
}
.btn,
select.form-control {
  border-radius: 0;
}
.btn-primary {
  background-color: #099;
  border: 0;
  border-radius: 5px;
  padding: 12px 50px 14px;
  font-size: 1.2rem;
}
.btn-primary:focus,
.btn-primary:hover {
  background-color: #086969;
}
.btn-primary.disabled,
.btn-primary:disabled {
  background-color: #099;
  pointer-events: all;
  cursor: not-allowed;
}
.form-control {
  padding: 10px 20px;
  width: 100%;
  height: auto;
}
.form-group {
  margin-bottom: 25px;
}
.tm-btn-big {
  padding: 12px 90px 14px;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-brand {
  color: #39c;
  font-size: 1.6rem;
}
.navbar-brand i {
  font-size: 2rem;
}
.tm-hero {
  min-height: 200px;
  background: 0 0;
}
.tm-mt-60 {
  margin-top: 60px;
}
.tm-about-2-col,
.tm-about-3-col,
.tm-mb-50 {
  margin-bottom: 50px;
}
.tm-mb-74 {
  margin-bottom: 74px;
}
.tm-mb-90 {
  margin-bottom: 90px;
}
.tm-text-secondary {
  color: #c69;
}
.nav-link,
.tm-text-gray-dark,
a.tm-text-primary:hover {
  color: #666;
}
.tm-bg-gray {
  background-color: #eee;
}
.tm-input-paging {
  width: 40px;
  border-radius: 0;
  border: 1px solid #ccc;
  background: #f4f4f4;
  text-align: center;
}
.tm-paging-link.active,
.tm-paging-link:hover,
.tm-search-btn {
  background-color: #099;
  color: #fff;
}
.nav-item {
  margin-right: 30px;
}
.nav-item:last-child,
.tm-social-links li:last-child {
  margin-right: 0;
}
.nav-link {
  border-bottom: 4px solid transparent;
  font-size: 1.2rem;
}
.nav-link-1.active,
.nav-link-1:hover {
  border-color: #3cf;
}
.nav-link-2.active,
.nav-link-2:hover {
  border-color: #f66;
}
.nav-link-3.active,
.nav-link-3:hover {
  border-color: #3c6;
}
.nav-link-4.active,
.nav-link-4:hover {
  border-color: #c6c;
}
.tm-search-input {
  width: 360px;
  border-radius: 0;
  padding: 12px 15px;
  color: #099;
  border: none;
}
.tm-search-input:focus {
  border-color: #099;
  box-shadow: 0 0 0 0.25rem rgb(0 153 153 / 0.25);
}
.tm-search-input::placeholder {
  color: #099;
  opacity: 1;
}
.tm-search-input::-ms-input-placeholder {
  color: #099;
}
.tm-search-btn {
  border: none;
  width: 100px;
  height: 50px;
  margin-left: -1px;
}
.tm-paging-link,
.tm-social li a i {
  background-color: #eee;
  display: flex;
}
.tm-footer-links li a,
.tm-text-gray,
p {
  color: #999;
}
.tm-text-gray-light {
  color: #ccc;
}
.tm-video-item {
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}
.tm-video-item img {
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}
.tm-video-item figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.tm-video-item figcaption::after,
.tm-video-item figcaption::before {
  pointer-events: none;
}
.tm-video-item figcaption,
.tm-video-item figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.tm-video-item figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}
.tm-video-item h2 {
  word-spacing: -0.15em;
  font-weight: 300;
}
.tm-video-item h2,
.tm-video-item p {
  margin: 0;
}
.tm-video-item p {
  letter-spacing: 1px;
  font-size: 68.5%;
}
.tm-gallery div.d-block {
  animation: 0.5s show;
}
@keyframes show {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.tm-paging-link {
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  font-size: 1.1rem;
  color: #999;
  margin: 10px;
  border-radius: 5px;
}
figure.effect-ming {
  background: #030c17;
}
figure.effect-ming img {
  opacity: 0.9;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}
figure.effect-ming figcaption::before {
  position: absolute;
  top: 30px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.2);
  content: "";
  opacity: 0;
  -webkit-transition:
    opacity 0.35s,
    -webkit-transform 0.35s;
  transition:
    opacity 0.35s,
    transform 0.35s;
  -webkit-transform: scale3d(1.4, 1.4, 1);
  transform: scale3d(1.4, 1.4, 1);
}
figure.effect-ming h2 {
  font-size: 1.3em;
  opacity: 0;
  -webkit-transition:
    opacity 0.35s,
    -webkit-transform 0.35s;
  transition:
    opacity 0.35s,
    transform 0.35s;
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
}
figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover h2 {
  opacity: 1;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}
figure.effect-ming:hover figcaption {
  background-color: rgba(58, 52, 42, 0);
}
figure.effect-ming:hover img {
  opacity: 0.4;
}
.tm-footer-links li {
  list-style: none;
  margin-bottom: 5px;
}
.tm-contacts li,
.tm-social li {
  list-style: none;
  margin-bottom: 20px;
}
.tm-footer-links li a:hover {
  color: #099;
}
.tm-social-links li {
  list-style: none;
  margin-right: 15px;
}
.tm-social-links li a {
  color: #999;
  width: 44px;
  height: 44px;
  display: flex;
  background-color: #fff;
  align-items: center;
  justify-content: center;
}
.tm-social li a:hover i,
.tm-social-links li a:hover {
  color: #fff;
  background-color: #099;
}
.tm-footer {
  font-size: 0.95rem;
}
.tm-footer-title {
  font-size: 1.4rem;
}
#tm-video-container {
  max-height: 400px;
  overflow: hidden;
  background-color: #333;
  margin-bottom: 90px;
  position: relative;
}
#tm-video {
  display: block;
  width: 100%;
  height: auto;
}
#tm-video-control-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  color: #e1e1e1;
}
.tm-video-details {
  height: 100%;
  padding: 40px;
}
.tm-row-1640 {
  max-width: 1640px;
}
.tm-about-2-col {
  max-width: 716px;
}
.tm-about-3-col {
  max-width: 540px;
}
.tm-about-icon-container {
  width: 150px;
  height: 150px;
  border: 1px solid #099;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gmap-canvas,
.mapouter {
  height: 480px;
  width: 100%;
}
.tm-about-img-text {
  max-width: 940px;
}
select.form-control option {
  height: 30px;
}
select:not([multiple]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-image: url(../img/select-arrow.png);
  padding: 14px 20px;
  color: #666;
}
.mapouter {
  max-width: 480px;
}
.gmap-canvas {
  overflow: hidden;
  background: 0 0 !important;
}
.tm-contact-form {
  max-width: 420px;
}
.tm-address-col {
  max-width: 520px;
}
.tm-contacts {
  padding-left: 0;
}
.tm-contacts li a i {
  width: 30px;
}
.tm-social {
  display: flex;
}
.tm-social li {
  margin-right: 15px;
}
.tm-social li a i {
  width: 40px;
  height: 40px;
  color: #666;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.form-control,
input:-internal-autofill-selected,
select:not([multiple]) {
  color: #099 !important;
}
.form-control::placeholder {
  color: #099;
  opacity: 1;
}
@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed;
    top: 50px;
    right: 0;
    background: #fff;
    width: 150px;
    padding: 15px;
  }
  .tm-container-content {
    max-width: 870px;
  }
  .mapouter,
  .tm-address-col,
  .tm-contact-form {
    max-width: 100%;
  }
  .tm-people-row {
    max-width: 900px;
  }
}
@media (max-width: 767px) {
  .tm-paging-col {
    flex-direction: column;
  }
  .tm-paging {
    flex-wrap: wrap;
  }
  .tm-about-img-text {
    max-width: 640px;
  }
  .tm-about-2-col,
  .tm-about-3-col {
    margin-bottom: 50px;
  }
}
@media (max-width: 575px) {
  .tm-container-content,
  .tm-people-row {
    max-width: 420px;
  }
  .tm-search-form {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    justify-content: center;
  }
  .tm-search-input {
    width: 100%;
    max-width: 360px;
  }
}
@media (max-width: 400px) {
  .tm-btn-big {
    padding: 12px 50px 14px;
  }
}
@media (max-width: 334px) {
  .tm-social-links {
    flex-wrap: wrap;
    justify-content: start !important;
  }
  .tm-social-links li {
    margin-right: 3px;
  }
}
