header {
  width: 100%;
  height: 65px;
  z-index: 1060;
  background: #fff;
  display: flex;
}

header #logo {
  margin: auto 0px auto 40px;
  justify-content: space-between;
  justify-content: space-between;
  align-items: center;
  align-items: center;
  justify-content: center;
}

header #logo img {
  width: auto;
  height: 65px;
}

header #navigation {
  float: right;
}

header.mini-logo {
  position: fixed;
  width: 100%;
  height: 80px;
  z-index: 3060;
  background: #fff;
  /*rgba(0,0,0,0.05);*/
}

header.mini-logo #logo {
  width: 80px;
  float: left;
  padding: 0px 30px;
}

.mini-logo #logo img {
  max-width: 600px !important;
  /*width: 70px !important;
    height:70px !important*/
}

header.mini-logo .navigation {
  height: 100%;
  padding: 0px 0;
  width: 100%;
}

.navigation {
  width: 100%;
  height: 100%;
}

.toolbar > li {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  height: 100%;
  float: left;
  font-size: 14px;
}

.toolbar .text-right {
  float: right;
}

.toolbar .form-search-input,
.toolbar .form-search-input:hover {
  border: 0px;
  background-color: transparent;
  color: #010001 !important;
}

.toolbar,
.toolbar > li .actice,
.toolbar,
.toolbar > li :hover {
  color: #d81921 !important;
}

.nav-register a:hover {
  color: #fff !important;
}

.toolbar > li > a {
  display: block;
  margin: 17px 10px;
  padding: 5px 10px 10px 10px;
  line-height: 16px;
  vertical-align: middle;
}

.toolbar > li:last-child > a {
  border: 0;
}

.toolbar > li:hover > ul,
.toolbar > li:hover > ul ul {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
}

.toolbar > li ul {
  z-index: -1;
  opacity: 0;
  transition: opacity linear 0.15s;
  list-style: none;
  border-bottom: 1px solid rgba(216, 25, 33, 1) !important;
  background: #fff !important;
  position: absolute;
  top: 65px;
  visibility: hidden;
}

.toolbar > li ul ul {
  border-bottom: none !important;
  margin-left: 0%;
  position: inherit;
}

.toolbar > li ul li {
  white-space: nowrap;
  line-height: 26px;
  margin-top: -5px;
  margin-right: 50px;
  text-align: left;
  font-family: Roboto, arial;
  font-style: normal;
  font-weight: normal;
  font-size: 13px;
  color: rgba(27, 27, 27, 1);
  letter-spacing: 0.5px;
  text-transform: capitalize;
  padding: 10px;
}

.toolbar > li ul li .toggle-icon {
  display: none;
}

.nav-register {
  background: #d81921;
  font-size: 20px;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-register img {
  height: 24px;
}

.nav-register a {
  color: #ffffff !important;
}

.nav-search {
  width: 80px;
  height: 80px;
  background: #f2f2f2;
  margin: auto 0px;
}

a.lang_class {
  float: left;
  margin-top: 12px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  border-right: 1px solid #000 !important;
  text-transform: uppercase;
}

a.lang_class:nth-child(2) {
  border: none !important;
}

a.lang_class.xam {
  color: #aba7a7;
}

.toolbar .form-search {
  display: none;
  padding: 5px;
  background: #fff;
  position: fixed;
  top: 0px;
  left: 0px;
  height: 80px;
  width: 100%;
  padding-top: 18px;
}

.toolbar .form-search .nav-search-close {
  font-size: 28px;
  color: #d81921;
  cursor: pointer;
}

.toolbar .form-search input {
  width: 50%;
  border-radius: 25px;
  border: 1px solid #808080;
  height: 40px;
  padding: 0px 20px;
  font-size: 25px;
  color: red !important;
}

.toolbar .form-search-icon {
  padding: 5px;
  color: #010001;
}

.nav-search a {
  padding: 0px !important;
  cursor: pointer;
}

.nav-search img {
  height: 26px;
  width: 26px;
}
footer .navbar {
  background-color: #234483 !important;
}
footer .navbar * {
  color: #fff !important;
}

.toolbar > li .icon-countprice,
.toolbar > li .icon-cen,
.toolbar > li .icon-cenvalue,
.toolbar > li .icon-houseprice {
  font-size: 28px;
}

.toolbar.top {
  left: 0;
  top: 90px;
  height: 100%;
  width: auto;
  color: #04757a;
  float: right;
  background: #fff;
}

.toolbar > li a,
.toolbar > li a:hover,
.toolbar > li a:focus {
  color: #010001;
}

.toolbar.bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  color: #f5891f;
}

.toolbar.bottom > li a,
.toolbar.bottom > li a:hover,
.toolbar.bottom > li a:focus {
  color: #f5891f;
}

.toolbarpopholder .popover.right {
  margin-left: 30px !important;
}

.toolbar .popper,
#logo .popper {
  display: none;
}

.toolbarpop {
  text-transform: uppercase;
  color: #04757a;
  font-weight: bold;
  line-height: 14px;
}

.toolbarpop.bottom,
.toolbarpop.bottom a {
  color: #f5891f;
}

.toolbarpop.bottom a:hover,
.toolbarpop.bottom a:focus {
  color: #04757a;
}

.toolbarpop.snspop {
  font-weight: normal;
  font-size: 18px;
  line-height: 18px;
  font-family: "DGTT-Light", "DGTT", Arial;
}

.toolbarpop.snspop a {
  padding: 0 10px;
}

.topmenu {
  padding-top: 20px;
  position: relative;
  z-index: 1060;
}

.topmenulist {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menutrigger {
  display: none;
}

/* .topmenulist>li, #menutrigger {
    list-style: none;
    padding-left: 15px;
    font-size: 26px;
    display: inline-block;
    position: relative;
    text-align: right;
} */
.language_switcher {
  display: flex;
  justify-content: center;
  align-items: center;
}
.fb-footer-icon svg {
  height: 20px;
  width: 20px;
}

@media screen and (min-width: 1025px) {
  footer .navbar .social a {
    font-size: 16px;
    border-right: 1px solid #fff;
    padding-left: 0.6rem;
  }
  footer .navbar .social a:last-child {
    border-right: 0px solid #fff;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1300px) {
  .nav-register {
    background: #d81921;
    font-size: 14px;
  }
}
/*Ipad ngang(1024 x 768)*/
@media screen and (max-width: 1024px) {
  /* header{
        position: fixed;
    } */
  header #logo {
    height: 90px;
    /* padding: 2px; */
    margin: auto 0px;
    z-index: 9999 !important;
  }

  #menutrigger {
    display: block;
    position: fixed;
    top: 17px;
    right: 15px;
    z-index: 1000;
    font-size: 1.5rem;
  }
  .toolbar.top {
    margin: 0px;
    padding: 0px;
    top: 0px;
    position: relative;
    width: 100%;
  }
  header #navigation {
    width: 100% !important;
    height: 100% !important;
    float: right;
    z-index: 999;
    padding-top: 60px;
    display: none;
  }

  .toolbar > li {
    float: left;
    list-style: outside none none;
    margin: 0;
    max-width: 100% !important;
    width: 100%;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    height: 40px;
    padding-top: 10px;
    display: inline-table;
  }
  .toolbar > li ul {
    padding-left: 30%;
  }
  ul > li.menu-item-has-children {
    position: relative;
  }
  .toolbar > li:hover > ul,
  .toolbar > li:hover > ul ul {
    width: 100%;
  }
  .language_switcher {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px !important;
    margin-top: 30px !important;
  }

  .language_switcher a {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .navigation {
    position: fixed;
    left: 0;
    top: 0;
    padding-top: 60px;
    width: 100%;
    color: #04757a;
    background: #fff;
    display: none;
    overflow: auto;
  }
  footer .navbar {
    height: max-content !important;
  }
}
/*Ipad ngang(1024 x 768)*/
@media screen and (max-width: 1024px) {
  header #navigation {
    width: calc(100% - 130px);
    float: right;
  }
  .toolbar > li > a {
    margin: 25px 15px;
    padding: 5px 3px 10px 3px;
  }
  .nav-register {
    background: #d81921;
    font-size: 14px;
  }
}

/*Ipad dọc(768 x 1024) Custom: 812*/

@media screen and (max-width: 812px) {
  header {
    width: 100%;
    height: 60px;
    z-index: 1060;
    background: #fff;
  }
  header #logo img {
    height: 60px;
    margin: 0;
  }
  .navigation {
    width: 100%;
    height: 60px;
  }
  header #logo {
    height: 60px;
    float: left;
    /* padding: 2px; */
    margin: auto 0px;
  }
  /* header #logo img {
        width: 40px;
        height: 35px;
        margin: 12px;
    } */
  .toolbar > li > a {
    margin: 25px 8px;
    padding: 5px 0px 10px 0px;
    font-size: 13px;
  }
  a.lang_class {
    float: left;
    padding-right: 7px !important;
    padding-left: 7px !important;
  }
  .language_switcher {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px !important;
    margin-top: 10px !important;
  }
  .nav-register {
    background: #d81921;
    font-size: 14px;
  }
  .nav-search {
    width: 60px;
    height: 60px;
  }
  .toolbar > li {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    height: 60px;
    float: left;
  }
  .toolbar > li > a {
    margin: 0px 8px;
    padding: 5px 0px 10px 0px;
    font-size: 18px;
  }
}

/* Mobile */

@media only screen and (max-width: 699px) {
  #menutrigger {
    display: block;
    position: fixed;
    top: 17px;
    right: 15px;
    z-index: 9999;
    font-size: 1.5rem;
    color: #e61e1e;
  }
  #logo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    width: 100%;
    background: #fff;
  }

  #logo > a {
    border-bottom: 0;
    padding: 0;
    width: 160px;
  }

  #logo img {
    margin: 0;
    width: 40px;
  }
  .toolbar > li:hover > ul,
  .toolbar > li:hover > ul ul {
    width: 100%;
  }
  a.lang_class {
    margin-top: 10px !important;
    padding-right: 10px !important;
    width: 60px !important;
  }
  header #navigation {
    width: 100% !important;
    height: 100% !important;
    float: right;
    z-index: 999;
    padding-top: 0px;
  }
  header #logo {
    width: 100%;
    float: left;
    padding: 0px 15px 0 0;
  }
  header {
    background: #fff;
  }
  header #logo img {
    width: auto;

    margin: 0px;
  }
  .toolbar .form-search {
    position: relative;
    top: 0px;
    left: 0px;
    height: 40px;
    padding-top: 18px;
  }
  .toolbar .form-search span {
    display: none;
  }
  .toolbar.top {
    margin: 0px;
    padding: 0px;
    top: 54px;
  }
  .toolbar > li {
    float: left;
    list-style: outside none none;
    margin: 0;
    max-width: 100% !important;
    width: 100%;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    height: 50px;
    padding-top: 10px;
  }
  .nav-search {
    padding: 0px 10px !important;
  }
  .nav-search a {
    float: left;
    padding: 15px 0px !important;
  }
  .sub-menu {
    padding: 5px;
  }
  ul > li.menu-item-has-children {
    position: relative;
  }
  .toolbar > li a {
    width: 100%;
    font-size: 15px;
  }
  .toolbar > li ul li a {
    width: 100%;
  }
  .toolbar > li ul li {
    position: static;
    white-space: normal;
    font-size: 16px;
  }
  ul > li.menu-item-has-children .toggle-icon {
    font-size: 24px;
    padding-bottom: 10px;
    position: absolute;
    right: 10px;
    top: 10px;
  }
  .toolbar .form-search {
    display: block;
    padding: 5px;
    background: #e1cfd1;
    float: left;
    width: calc(100% - 30px);
    background: #f2f2f2;
  }
  .toolbar .form-search input {
    width: 100%;
    border-radius: 25px;
    border: 1px solid #fff;
    height: 40px;
    padding: 0px 20px;
    font-size: 25px;
    color: red !important;
  }
  .language_switcher {
    padding-top: 0 !important;
  }
  .language_switcher a {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/*Tablet nhỏ(480 x 640)*/

@media screen and (max-width: 480px) {
  footer .widget {
    padding: 0 16px !important;
  }
}

/*Iphone(480 x 640)*/

@media screen and (max-width: 320px) {
}

/*Smart phone nhỏ*/

@media screen and (max-width: 240px) {
}

footer .copyright p {
  margin-bottom: 0;
}

footer .copyright {
  display: flex !important;
  align-items: center;
  gap: 20px;

  overflow: hidden;
}

footer .copyright p:first-child img {
  max-width: 65px;
  aspect-ratio: 1/1;
}
footer .navbar {
  height: max-content !important;
}

footer .social {
  line-height: 67px !important;
}
