/*===== PAGE CONTENT =====*/
.header-page {
  position: relative;
  margin-top: 100px;
}

.header-page img {
  width: 100%;
}

.header-page-title {
  color: #3c3d40;
  font-size: 40px;
  padding: 0 0 10px 0;
  letter-spacing: 1px;
}

.header-page-text {
  letter-spacing: 1px;
  padding: 0 0 50px 0;
}

.header-page-line {
  border-bottom: 1px solid #6c6f73;
}

@media (max-width: 991px) {
  .header-page {
    margin-top: 100px;
  }
}

@media (max-width: 767px) {
  .header-page {
    margin-top: 105px;
  }
}

.text {
  color: #3c3d40;
  line-height: 30px;
  text-align: justify;
}

a.text-point {
  color: #e75000;
  font-weight: bold;
}

.text-point:hover {
  opacity: 0.7;
}

.table thead th {
  background-color: #ff7e00;
}

.table th {
  background-color: #008cc3;
  color: #fff;
}

.card-header {
  padding: 5px;
}

.btn-link {
  color: #3c3d40;
  font-size: 18px;
}

.btn-link:hover {
  text-decoration: none;
  color: #0067f4;
}

.card-body {
  color: #3c3d40;
  padding: 15px 10px 0 20px;
}

.card-body ol {
  padding: 5px 5px 5px 15px;
}

.card-body a {
  color: #3c3d40;
  line-height: 1.8em;
}

.card-body a:hover {
  text-decoration: none;
  color: #0067f4;
}

/*===========================
         CONTACT
===========================*/
.contact-area {
  padding: 0 0 100px 0;
}

@media (max-width: 991px) {
  .contact-area {
    padding: 0 0 50px 0;
  }
}

.form-group {
  margin: 0;
}

p.form-message.success,
p.form-message.error {
  font-size: 16px;
  color: #121212;
  background: #cbced1;
  padding: 10px 15px;
  margin-left: 15px;
  margin-top: 15px;
}

p.form-message.error {
  color: #f00;
}

.form-att {
  color: #f00;
}

.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #005892;
  background-color: #005892;
}

.form-check {
  margin-top: 30px;
  padding-left: unset;
}

.form-check-input {
  position: unset;
}

.contact-form {
  margin-top: 30px;
}

@media (max-width: 767px) {
  .contact-form {
    margin-top: 80px;
  }
}

.single-form {
  margin-top: 30px;
}
.contact-form .single-form textarea,
.contact-form .single-form input {
  width: 100%;
  height: 40px;
  border: 1px solid #cbced1;
  border-radius: 5px;
  padding: 10px;
  background-color: #fff;
  font-size: 16px;
}
.contact-form .single-form textarea::placeholder,
.contact-form .single-form input::placeholder {
  opacity: 1;
  color: #a4a4a4;
}
.contact-form .single-form textarea::-moz-placeholder,
.contact-form .single-form input::-moz-placeholder {
  opacity: 1;
  color: #a4a4a4;
}
.contact-form .single-form textarea::-moz-placeholder,
.contact-form .single-form input::-moz-placeholder {
  opacity: 1;
  color: #a4a4a4;
}
.contact-form .single-form textarea::-webkit-input-placeholder,
.contact-form .single-form input::-webkit-input-placeholder {
  opacity: 1;
  color: #a4a4a4;
}
.contact-form .single-form textarea {
  height: 160px;
  padding-top: 15px;
  resize: none;
}
.contact-form .single-form .main-btn {
  border-radius: 50px;
  background-color: #fff;
  border: 1px solid #ff9700;
  color: #ff9700;
  padding: 0 50px 0 50px;
  font-size: 16px;
}
.contact-form .single-form .main-btn:hover {
  background-color: #ff9700;
  color: #fff;
}

.contact-profile {
  padding: 50px 0 50px 0;
  background-color: #f2f2f2;
}

.contact-profile-list {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  min-height: 240px;
  box-shadow: 0px 5px 20px 1px #d1cfcf;
  -webkit-box-shadow: 0px 5px 20px 1px #d1cfcf;
  -moz-box-shadow: 0px 5px 20px 1px #d1cfcf;
  -o-box-shadow: 0px 5px 20px 1px #d1cfcf;
}

.contact-profile-list p {
  color: #3c3d40;
  font-size: 16px;
}

.contact-profile-title {
  font-size: 25px;
  color: #3c3d40;
}

.contact-profile-text a {
  color: #3c3d40;
}

.contact-profile-text:hover {
  opacity: 0.7;
}

/*===========================
         CONTENT
===========================*/
.page-area {
  padding: 0 0 100px 0;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .page-area {
    padding: 0 0 50px 0;
  }
}

.icon-back a {
  width: 40px;
  height: 40px;
}

.border-line {
  border-bottom: 1px solid #6c6f73;
}

.icon-back:hover {
  opacity: 0.7;
}

.share-btn img {
  width: 35px;
  height: 35px;
  margin: 2px;
  border-radius: 3px;
}

.share-btn:hover {
  opacity: 0.7;
}

/*===========================
      WEB STYLE PREVIEW
===========================*/
.preview {
  background-color: #3c3d40;
  padding: 10px;
  height: 60px;
  position: fixed;
  width: 100%;
  z-index: 90;
  box-shadow: 0px 0px 5px 2px #b1b1b1;
  -webkit-box-shadow: 0px 0px 5px 2px #b1b1b1;
  -moz-box-shadow: 0px 0px 5px 2px #b1b1b1;
  -o-box-shadow: 0px 0px 5px 2px #b1b1b1;
  display: flex;
}

.preview-back a img {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 2%;
  top: 15%;
  z-index: 5;
  display: flex;
}

.preview-back:hover {
  opacity: 0.7;
}

.preview-switch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
}

.preview-switch a {
  margin: 0 15px 0 0;
  width: 30px;
  height: 30px;
  padding: 2px;
  filter: grayscale(1);
}

.preview-switch .active {
  filter: grayscale(0);
}

.preview-switch a:hover {
  opacity: 0.7;
}

.frame-wrapper {
  width: 100%;
}

.web-style-preview {
  display: flex;
}

.frame-wrapper.frame-wrapper-mobile {
  width: 392px;
  height: 768px;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 100px auto;
}

@media (min-width: 440px) {
  .frame-wrapper.frame-wrapper-mobile {
    border: 1px solid #fff;
    box-shadow: 0 14px 24px #2d394b1a;
  }
}

/*===========================
          BLOG
===========================*/
.related-blog {
  margin-top: 50px;
}

.related-blog-list {
  border-top: 2px solid #6c6f73;
  border-bottom: 2px solid #6c6f73;
}

.related-blog-item:not(:first-child) {
  border-top: 1px solid #ccc;
}

.related-blog-link {
  display: block;
  padding: 30px 0 30px;
}

@media (min-width: 640px) {
  .related-blog-cover {
    width: 40%;
  }
  .related-blog-content {
    width: 60%;
    padding: 0 0 0 20px;
  }
  .related-blog-link {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .related-blog-cover img {
    width: 100%;
    margin-bottom: 20px;
  }
}

.related-blog-link:hover {
  background-color: #f5f5f5;
}

.related-blog-title {
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -moz-line-clamp: 2;
  -ms-line-clamp: 2;
  -o-line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -ms-box-orient: vertical;
  -o-box-orient: vertical;
  overflow: hidden;
}

.related-blog-content p {
  padding: 10px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -moz-line-clamp: 3;
  -ms-line-clamp: 3;
  -o-line-clamp: 3;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -ms-box-orient: vertical;
  -o-box-orient: vertical;
  overflow: hidden;
}

/* WEB STYLE LIST */
.img-style {
  max-width: 100%;
  height: auto;
}

.index-style-list .card {
  border: 2px solid #fff;
}

.style-list .card {
  border: 1px solid #f1f1f1;
}

.card-img-top {
  overflow: hidden;
  background-color: #eee;
  border-bottom: 1px solid #f1f1f1;
}

.card-style-img {
  max-width: 100%;
  height: auto;
  /* transform: scale(1, 1); */
  transition: all 0.5s ease-out;
}

.card-style-img:hover {
  opacity: 0.7;
  transform: scale(1.2, 1.2);
}
