/*
Theme Name: trungcapdanganhthanglong
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.pb-0 {
  padding-bottom: 0;
}

ul.header-nav.nav-right>li>a {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

ul.header-nav.nav-right>li {
  margin: 0 35px;
}

.header-top {
  align-items: flex-end;
  padding-bottom: 5px;
}

.top-divider {
  display: none;
}

.gb-heading h2 {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  margin: 0 0 25px 0;
}

.gb-button {
  padding: 8px 20px;
  line-height: normal;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  border-radius: 5px;
}

.gb-button:hover {
  background: #0f193d;
}

.home-3 .icon-box .icon-box-img {
  margin-bottom: 9px;
}

.home-3 .icon-box .icon-box-text h3 {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin: 0 0 10px 0;
}

.home-3 .icon-box .icon-box-text p {
  color: #e8221d;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.home-4 .icon-box .icon-box-text h3 {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  margin-top: 36px;
}

.home-5 .box .box-text {
  margin: 0;
}

.box-blog-post .is-divider {
  display: none;
}

.home-5 .box .box-text h5 {
  margin: 0;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-transform: uppercase;
}

.home-6-col .icon-box {
  align-items: center;
  margin: 0 0 50px 0;
}

.home-6-col .icon-box .icon-box-text h3 {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.home-6-col .icon-box .icon-box-text p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.home-6-col .col-inner:after {
  content: '';
  width: 1px;
  height: 100%;
  background: red;
  position: absolute;
  top: 0;
  left: 56px;
  z-index: -1;
}

.home-6-col .icon-box .icon-box-img img {
  padding: 0;
}

.home-7 .post-item .box-vertical .box-image {
  border-radius: 10px 0 0 10px;
}

.home-7 .post-item {
  padding-bottom: 18px;
}

.home-7 .post-item .box-text .cat-label {
  opacity: 1;
  margin: 0 0 5px 0;
  color: #E8221D;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: inherit;
}

.home-7 .post-item .box-text h5 {
  margin: 0;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.home-7 .post-item .box-text h5 a {
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}

.home-7 .post-item .box-text p {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.home-7 .post-item .box-normal .box-image {
  border-radius: 20px 20px 0 0;
}

.home-7 .post-item .col-inner {
  border-radius: 20px;
  background: #FFF;
  box-shadow: 0 4px 17.7px 0 rgba(15, 25, 61, 0.06);
}

.home-8 h2 {
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0 0 13px 0;
}

.home-8 p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.home-8-col1 .icon-box .icon-box-text p {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.home-8-col1 .icon-box .icon-box-text p br {
  display: none;
}

.home-8-col1 .icon-box .icon-box-text p strong {
  font-weight: 600;
  color: #E8221D;
}

.home-8-col1 .icon-box .icon-box-text img {
  margin: 0 0 0 6px;
}

.home-8-col1 .row .col {
  padding-bottom: 20px;
}

.home-8-col2 .wpcf7-form {
  margin: 0;
}

.home-8-col2 .wpcf7-form i {
  margin-top: 10px;
  color: #fff;
}

.home-8-col2 .wpcf7-form-control {
  border: 0;
  padding: 8px 10px;
  border-radius: 0px 7px 7px 0px;
  margin: 0 0 14px 0;
}

.home-8-col2 .wpcf7-form-control.wpcf7-submit {
  color: #fff;
  border: 0;
  margin: 0;
  border-radius: 5px;
  background: #EC201D;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: inherit;
  padding: 8px 20px 10px 20px;
}

.home-8-col2 .wpcf7-form-control.wpcf7-submit:hover {
  background: #0F193D;
}

.home-8-col2 .input-group-text.comment,
.home-8-col2 textarea {
  height: 150px;
}


.input-group {
  position: relative !important;
  display: flex !important;
  align-items: stretch;
  width: 100%;
}

.input-group-prepend {
  margin-right: -1px;
}

.input-group-prepend,
.input-group-append {
  display: flex;
}

.home-8-col2 .input-group-text {
  background-color: #0F193D;
  border-color: #0F193D;
  width: 42px;
  height: 42px;
  text-align: center;
  align-items: normal;
}

.home-8-col2 p {
  width: 100%;
}

.home-8-col2 input {
  height: 42px;
}

.footer-1 .heading-footer p {
  margin: 0 0 10px 0;
}

.footer-1 p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin: 0 0 4px 0;
}

.footer-1 ul li,
.footer-1 ul li a {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: #fff;
}

.footer-1 ul li {
  margin-bottom: 4px;
}

.absolute-footer {
  display: none;
}

.page-wrapper {
  padding-top: 15px;
}

.social-share-link {
  list-style: none;
  padding-left: 0;
  font-size: 20px;
  position: sticky;
  top: 50px;
}

.social-share-link a {
  width: 40px;
  height: 40px;
  display: block;
  background: #fff;
  color: #999;
  border: 1px solid #999;
  border-radius: 40px;
  text-align: center;
  line-height: 40px;
  margin-bottom: 10px;
}

#breadcrumbs {
  padding: 8px 15px;
  margin-bottom: 20px;
  list-style: none;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-size: 13px;
  color: rgba(51, 51, 51, .85);
  border-bottom: 1px dashed rgba(51, 51, 51, .45);
}

#breadcrumbs a {
  color: rgba(51, 51, 51, .85);
}

#breadcrumbs a:hover {
  color: #EC201D;
}

.single-post-meta .review-title {
  margin-bottom: 0;
  font-size: 14px;
}

.single-post-meta .ml-auto .review {
  text-align: left;
  margin-left: auto;
  font-size: 14px;
}

.single-post-meta {
  background-color: #f2f2f2;
  padding: 10px;
  border-radius: 3px;
  margin-bottom: 20px;
  margin-right: 0;
  margin-left: 0;
  display: flex;
}

.single-post-meta .avartar {
  display: block;
  width: 35px;
  height: 35px;
  border-radius: 35px;
  overflow: hidden;
}

.single-post-meta .author-link {
  color: #3e3e47;
  font-weight: 700;
  display: block;
  margin-left: 10px;
}

.single-post-meta .update-time {
  margin-left: 5px;
  font-size: 13px;
  color: #888;
}

.single-post-meta .col-md-7 {
  display: flex;
  align-items: center;
}

.mr-auto,
.mx-auto {
  margin-right: auto !important;
}

.pl-0,
.px-0 {
  padding-left: 0 !important;
}

.blog-archive {
  background: #f2f2f2;
}

.category .post-item .col-inner {
  overflow: hidden;
  border-radius: 15px;
}

.entry-header-text.entry-header-text-top.text-left {
  display: none;
}

.related-post {
  background: #fff9e0;
  padding: 10px;
  margin-bottom: 10px;
}

.related-post h2 {
  text-transform: uppercase;
  font-size: 1.1em;
  margin-top: 0;
  color: #937600;
}

.related-post a {
  color: #444;
}

.related-post a:hover {
  color: #ec201d;
}

ul.other-post {
  padding-left: 40px;
}

.widget_nav_menu ul li a {
  text-transform: uppercase;
}

.recent-blog-posts a {
  color: #0F193D;
}

.recent-blog-posts a:hover {
  color: #EC201D;
}

@media only screen and (min-width: 52em) {

  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  #logo {
    position: absolute;
    top: -88px;
    left: 15px;
  }

  .header-main {
    z-index: 99;
  }

  #logo img {
    max-height: 100% !important;
  }

  .header-main .header-inner {
    position: relative;
    align-items: flex-start;
    padding-top: 5px;
  }

  .home-3 .row .col {
    flex-basis: 20%;
    max-width: 20%;
  }

  .header-wrapper.stuck .header-main .header-inner {
    align-items: center;
    padding-top: 0;
  }

  .header-wrapper.stuck .header-main .header-inner #logo {
    position: relative;
    top: 0;
    left: 0;
  }

  .header-wrapper.stuck .header-main .header-inner #logo img {
    padding: 5px;
  }

  .header-search-form form {
    border-radius: 30px;
    border: 1px solid #dfdfdf;
    width: 200px;
  }

  .header-search-form form input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #0f193d !important;
  }

  .header-search-form form input::-moz-placeholder {
    /* Firefox 19+ */
    color: #0f193d !important;
  }

  .header-search-form form input:-ms-input-placeholder {
    /* IE 10+ */
    color: #0f193d !important;
  }

  .header-search-form form input:-moz-placeholder {
    /* Firefox 18- */
    color: #0f193d !important;
  }

  .header-search-form form input:not([type="submit"]) {
    font-size: 13px;
    line-height: normal;
    color: #0f193d !important;
  }
}

@media only screen and (max-width: 52em) {

  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .pbm-0 {
    padding-bottom: 0;
  }

  .post-item .box .image-cover {
    padding-top: 250px !important;
  }

  .post-item .box .box-text {
    padding: 10px !important;
  }

  .home-8 h2 {
    font-size: 28px;
  }

}