.thema-page__content--custom {
  padding: 50px 1.5rem;
}

.thema-page__content .d-none {
  display: none;
}

.thema-page__header__title {
  margin-top: 1.5rem;
}

.thema-search-form .btn-custom {
  position: relative;
  display: inline-block;
  width: 100%;
  line-height: 50px;
  padding: 0 15px;
  font-size: 18px;
  text-align: center;
  min-width: 220px;
  text-align: center;
  text-decoration: none;
  background-color: #fff;
  color: #008dde;
  border: 3px solid #008dde;
  text-transform: uppercase;
  overflow: hidden;
  transition: all .3s;
  -webkit-transition: all .3s;
  margin: 0;
}

.thema-search-form input[type="text"] {
  color: #000;
  height: 56px;
  line-height: 56px;
  border: 3px solid #959697 !important;
  border-radius: 3px;
  margin-bottom: 25px;
  outline: none;
  box-shadow: none;
}

.thema-search-form input[type="text"]:focus {
  border-color: #008dde !important;
  box-shadow: 0 0 4px #008dde !important;
}

.thema-search-form .row {
  display: flex;
  flex: wrap;
}

.thema-search-form .row .col-9 {
  width: 70%;
}

.thema-search-form .row .col-3 {
  width: calc(30% - 30px);
  margin-left: 30px;
}

.thema-search-form .d-none {
  display: none;
}

.thema-search-stats {
  font-size: 0.75rem;
  color: gray;
  line-height: 1;
  margin-bottom: 2rem;
}

.thema-search-results__item {
  border-bottom: 1px solid #cccccc;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.thema-search-results__item > a {
  color: inherit;
  text-decoration: none;
}

.thema-search-results__item > a:hover {
  text-decoration: none;
}

.thema-search-results__item__title {
  color: #000;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.thema-search-results__item__title:hover,
.thema-search-results__item__title:focus {
  color: #0071b2;
  text-decoration: none;
}

.thema-search-results__item__url {
  font-size: 0.75rem;
  color: gray;
  line-height: 1;
}

.thema-search-results__item__snippet {
  font-size: 0.875rem;
}

.thema-search-pagination {
  display: flex;
}

.thema-search-pagination__btn--custom {
  position: relative;
  padding-right: 26px;
  display: inline-block;
  transition: all .3s;
  -webkit-transition: all .3s;
}

.thema-search-pagination__btn--custom:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: 3px;
  width: 20px;
  height: 30px;
  background-image: url("/theme/themes/enfold-child/assets/images/sprite.png");
  background-repeat: no-repeat;
  background-position: -20px 0;
}

.thema-search-pagination__btn--custom a {
  color: #111;
  font-size: 14px;
  line-height: 36px;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
}

.thema-search-pagination__btn--custom a:hover {
  text-decoration: none;
}

.thema-search-pagination__prev {
  padding-left: 26px;
  padding-right: 0;
}

.thema-search-pagination__prev:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 30px;
  background-image: url("/theme/themes/enfold-child/assets/images/sprite.png");
  background-repeat: no-repeat;
  background-position: -20px 0;
  transform: rotate(180deg);
}

.thema-search-pagination__prev:after {
  display: none;
}

.thema-search-pagination .d-none {
  display: none;
}

.thema-search-pagination .d-inline-block {
  display: inline-block;
}

.thema-search-pagination-btn {
  width: 50%;
}

.thema-search-pagination-btn-left {
  text-align: left;
}

.thema-search-pagination-btn-right {
  text-align: right;
}

.menu-search-button {
  position: absolute;
  top: 32px;
  right: -25px;
  width: 24px;
  height: 24px;
  z-index: 1000;
}

.menu-search-button--mobile {
  display: none;
}

@media only screen and (max-width: 1200px) {
  .thema-page__content--custom {
    padding: 50px 13px;
    margin-right: -15px !important;
    margin-left: -15px !important;
  }

  .thema-search-form .btn-custom {
    min-width: unset;
  }
}

@media (max-width: 1024px) {
  .menu-search-button {
    right: 23px;
  }
}

@media (max-width: 575.98px) {
  .thema-search-form .btn-custom {
    font-size: 0.825rem;
    line-height: 30px;
    padding: 0 5px;
  }

  .thema-search-form input[type="text"] {
    height: 36px;
    line-height: 36px;
  }

  .thema-search-form .row .col-3 {
    width: calc(30% - 15px);
    padding-left: 0;
    margin-left: 15px;
  }

  .search-mb-link {
    min-width: 48px;
  }
}


/* whatsapp */
/*.whatsapp-mobile {*/
/*  display: none;*/
/*}*/

/*@media screen and (max-width: 991px) {*/
/*  .whatsapp-desktop {*/
/*    display: none*/
/*  }*/
/*  .whatsapp-mobile {*/
/*    display: block;*/
/*    right: 70px;*/
/*    top: 14px;*/
/*    position: absolute;*/
/*  }*/
/*  .bw-whatsapp-icon {*/
/*    !*right: 40px;*!*/
/*    !*position: absolute;*!*/
/*  }*/
/*}*/

/* .whatsapp-desktop {
  display: none
} */

html[lang='ar'] .whatsapp-desktop {
  display: block
}

@media screen and (max-width: 400px) {
  .thema-header__menu__search-wrapper {
    margin-left: 10px;
  }
}

.whatsapp-desktop {
  margin-left: -10px;
}

.bw-whatsapp-icon {
  display: inline-block;
  background-color: transparent !important;
}

.bw-whatsapp-icon a {
  display: block;
  padding: 0 !important;
}

.bw-whatsapp-icon img {
  width: 30px;
  padding: 4px;
  vertical-align: top;
}

.bw-whatsapp {
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 500px;
  margin: 0 0 0 -250px;
  background-color: #fff;
  color: #000;
  border-radius: 3px;
  overflow: hidden;
  z-index: 9999991;
  transform: scale(0.9) translateY(-50%);
  -webkit-transform: scale(0.9) translateY(-50%);
  transform-origin: 50% 0%;
  -webkit-transform-origin: 50% 0%;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

.bw-whatsapp-expand .bw-whatsapp {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(-50%);
  -webkit-transform: scale(1) translateY(-50%);
}

.bw-whatsapp-header {
  background-color: #128C7E;
  text-align: center;
  line-height: 63px;
}

.bw-whatsapp-header > img {
  max-width: 40px;
  vertical-align: middle;
}

.bw-whatsapp-header > strong {
  margin-left: 8px;
  vertical-align: middle;
  font-size: 28px;
  font-weight: 400;
  color: #fff;
}

.bw-whatsapp-content {
  padding: 20px;
  font-size: 15px;
  line-height: 22px;
}

.bw-whatsapp-content a {
  color: #6079E9;
}

.bw-whatsapp-footer {
  display: flex;
  margin-top: auto;
}

.bw-whatsapp-footer > a {
  flex: 0 1 50%;
  background-color: #e6e6e6;
  color: #000;
  font-size: 20px;
  line-height: 60px;
  text-align: center;
  font-weight: 700;
  border-right: 1px solid #ccc;
  text-decoration: none;
}

.bw-whatsapp-footer > a:hover {
  background-color: #ccc;
}

.bw-whatsapp-footer > a:last-child {
  border-right: 0;
}

.bw-whatsapp-overlay {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999990;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

.bw-whatsapp-expand .bw-whatsapp-overlay {
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 560px) {
  .bw-whatsapp-header {
    line-height: 55px;
  }

  .bw-whatsapp {
    width: 300px;
    margin-left: -150px;
  }

  .bw-whatsapp-header > strong {
    margin-left: 6px;
    font-size: 20px;
  }

  .bw-whatsapp-header > img {
    max-width: 30px;
  }

  .bw-whatsapp-footer > a {
    font-size: 16px;
    line-height: 50px;
  }
}
@media only screen and (max-width: 380px) {
  .bw-whatsapp-icon {
    position: absolute;
    margin-top: -15px;
    /*right: 20%;*/
    right: 3%;
  }
  .thema-header__menu__search-wrapper__form {
    width: 80px;
  }
}

@media only screen and (max-width: 375px) {
  .bw-whatsapp-icon {
    position: absolute;
    margin-top: -60px;
    /*right: 20%;*/
    right: 5%;
  }
}

.bw-whatsapp-icon{
  position: relative;
  margin-top: 0 !important;
}

.whatsapp-desktop{
  margin-left: 0;
  position: absolute;
  top: 0;
  right: 36px;
  z-index: 999;
  max-height: 100%;
}
@media only screen and (min-width: 425px) {
  .whatsapp-desktop{
    right: 60px;
  }
}

@media only screen and (min-width: 768px) {
  .btn-custom.login{
    margin-right: 65px!important;
  }

  .whatsapp-desktop{
    right: 32px;
  }
}

@media only screen and (min-width: 993px) {
  .btn-custom.login{
    margin-right: 38px!important;
  }
  .whatsapp-desktop{
    right: 7px;
  }
}

@media only screen and (min-width: 1200px) {
  .whatsapp-desktop{
    right: -32px;
  }
}

#top #header_main span.logo{
  overflow: initial;
}

@media only screen and (min-width: 768px) {
  .menu-item-language:not(.menu-item-language-current) > a {
    padding: 5px 10px!important;
  }

  .menu-item-language-current > a {
    padding-left: 10px!important
  }
}

ul#mobile-advanced .av-language-switch-item .language_flag{
  display: none!important;
}