/*
Theme Name: Jungle Safari
Theme URI: https://www.buywptemplates.com/products/jungle-safari
Author: Buywptemplates
Author URI: https://www.buywptemplates.com
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
Version: 0.1.7
License: GPLv3.0 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: jungle-safari
*/

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Roboto-Regular.woff2")
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Roboto-Bold.woff2")
}

* {
  outline: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --first-theme-color: #f4f71e;
}
html{
  scroll-behavior: smooth;
}
body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #ffffff;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  background-color: #141313;
  overflow-x: hidden;
}
body.admin-bar {
  min-height: calc(100vh - 32px);
}
body.menu-open {
  overflow-y: hidden;
}
img{
  max-width: 100%;
  height: auto;
  border: none;
}
svg {
  vertical-align: middle;
}
.wp-caption{
  max-width:100%;
}
h1,h2,h3,h4,h5,h6 {
  margin-bottom: 24px;
  line-height: 1.3;
}
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 16px; }
h2:after {
  display: block;
  content: '';
  width: 120px;
  height: 2px;
  background-color: var(--first-theme-color);
}

a, a:hover {
  text-decoration:none;
  color: #ffffff;
}

.button,
input[type="submit"],
.wp-block-button__link {
  display: inline-block;
  color: #000;
  font-size: 20px;
  text-transform: uppercase;
  background-color: var(--first-theme-color);
  border: 2px solid var(--first-theme-color);
  border-radius: 20px;
  padding: 10px 55px;
  transition: all 0.3s ease-in-out;
}
.button:hover,
.button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  color: var(--first-theme-color);
  background-color: transparent;
}

.frame,
input[type="submit"]:hover {
  color: #fff;
}


input[type="text"],
input[type="email"],
input[type="phno"],
textarea,
input#url {
  border: 1px solid #bcbcbc;
  font-size: 16px;
  padding: 10px 10px;
  margin: 0 0 23px 0;
  height: auto;
}

table,
.reply,
.navigation.post-navigation,
input[type="text"],
input[type="email"],
input[type="phno"],
textarea,
select,
.attachment img,
input#url {
  width: 100%;
}
hr{
  margin:10px 0;
}
.center{
  text-align:center;
  margin-bottom:40px;
}
.wp-caption{
  font-size:13px;
}

/*wide block*/
.alignfull img {
  width: 100vw;
}
.toggle-menu {
  display: none;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}
.alignleft,img.alignleft {
  display: inline;
  float: left;
  margin-right:45px;
  margin-top:4px;
  margin-bottom:20px;
  padding:0;
}
.alignright,img.alignright {
  display: inline;
  float: right;
}
img.alignright{
  margin-top: 50px;
}
.aligncenter,img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top:0;
}

/*-------------- Header -------------*/
#header {
  background-color: #141313;
  border-bottom: 1px solid #fff;
}
.home #header {
  border-bottom: none;
}
#header .top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
}
#header .top-header .site-logo {
  display: block;
  min-width: 250px;
  max-width: 250px;
  height: auto;
}
#header .top-header .site-logo img {
  vertical-align: middle;
}
#header .top-header .site-title {
  font-weight: 700;
  line-height: 1.2;
  font-size: 30px;
  color: var(--first-theme-color);
  margin: 0;
}

/* --------- MENUS CSS --------- */
#header .top-header .toggle-nav,
.navigation-header .closebtn {
  display: none;
}
.main-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation .menu li {
  position: relative;
  padding: 10px 0;
}
.main-navigation .menu li.menu-item-has-children {
  padding-right: 20px;
}
.main-navigation .menu li a {
  position: relative;
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  line-height: 1.2;
}
.main-navigation .menu li a:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: var(--first-theme-color);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.main-navigation .menu > li.menu-item-has-children > a:after {
  position: absolute;
  content: '';
  height: 12px;
  width: 12px;
  top: 4px;
  right: -20px;
  background-image: url('images/menu-icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: all .3s ease;
}
.main-navigation .menu > li.menu-item-has-children:hover a:after {
  transform: rotate(-135deg);
}
.main-navigation .menu > li:hover > a:before,
.main-navigation .menu > li:focus > a:before,
.main-navigation .menu > li.current-menu-item > a:before {
  bottom: -2px;
  opacity: 1;
  visibility: visible;
}
.main-navigation .sub-menu {
  position: absolute;
  display: inline-block;
  width: 180px;
  left: 0;
  top: 150%;
  list-style: none;
  background-color: var(--first-theme-color);
  border-radius: 2px;
  box-shadow: 0 5px 8px #00000094;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 99999;
}
.main-navigation .menu li:last-child .sub-menu {
  left: auto;
  right: 0;
}
.main-navigation .menu li.menu-item-has-children:hover > .sub-menu,
.main-navigation .menu li.menu-item-has-children:focus > .sub-menu {
  display: block;
  top: 100%;
  opacity: 1;
  visibility: visible;
}
.main-navigation .sub-menu li {
  display: block;
  padding: 0;
  border-bottom: 2px solid #000;
}
.main-navigation .sub-menu li:last-child {
  border: none;
}
.main-navigation .sub-menu li a {
  color: #000000;
  font-weight: 600;
  padding: 15px;
  transition: all .3s ease;
}
.main-navigation .sub-menu li a:hover,
.main-navigation .sub-menu li a:focus,
.main-navigation .sub-menu li.current-menu-item a {
  transform: translateX(10px);
}
.main-navigation .sub-menu li a:before {
  display: none;
}

/* --------- Content --------- */
main {
  flex: 1;
  margin-bottom: 70px;
}
.page-content {
  margin-top: 50px;
}
.page-content .alignwide {
  margin-left  : -80px;
  margin-right : -80px;
}
.page-content .alignfull {
  margin-left  : calc( -100vw / 2 + 100% / 2 );
  margin-right : calc( -100vw / 2 + 100% / 2 );
  max-width    : 100vw;
}
.page-content p a {
  color: var(--first-theme-color);
  text-decoration: underline;
}
.page-content a:hover {
  text-decoration: none;
}
.page-content p {
  margin-bottom: 24px;
}
.page-content ul,
.page-content ol {
  margin-bottom: 24px;
}
.page-content ul {
  padding-left: 40px;
}
.page-content ol {
  counter-reset: counter;
  list-style: none;
}
.page-content ol li:before {
  counter-increment: counter;
  content: counter(counter);
  display: inline-block;
  min-width: 20px;
  width: 20px;
  height: 19px;
  color: #000;
  text-align: center;
  line-height: 20px;
  background-color: var(--first-theme-color);
  border-radius: 4px;
  margin: 5px 10px 5px 0;
}

.wp-block-buttons {
  margin-bottom: 24px;
}

.wp-block-image {
  margin-bottom: 24px;
}
.wp-block-image figure {
  border-radius: 20px;
  overflow: hidden;
}
.wp-block-image figure.alignleft {
  margin-right: 24px;
}
.wp-block-image figure.alignright {
  margin-left: 24px;
}

.wp-block-table {
  border: 1px solid var(--first-theme-color);
  border-radius: 20px;
  margin-bottom: 24px;
}
.wp-block-table thead {
  border-color: var(--first-theme-color);
}
.wp-block-table table tr:not(:last-child) {
  border: none;
  border-bottom: 1px solid var(--first-theme-color);
}
.wp-block-table table th,
.wp-block-table table td {
  padding: 10px;
  font-size: 14px;
  border: none;
  border-right: 1px solid var(--first-theme-color);
}
.wp-block-table table th:last-child,
.wp-block-table table td:last-child {
  border-right: none;
}

/* --------- Banner --------- */
.banner {
  width: 100%;
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #3d3d3d;
  background-blend-mode: multiply;
}
.banner .banner__wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 50px;
}
.banner .banner__title {
  width: 100%;
  color: #fff;
  font-size: 50px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* --------- FAQ --------- */
.faq {
  margin-bottom: 24px;
}
.faq .faq__item {
  border: 1px solid var(--first-theme-color);
  border-radius: 20px;
  padding: 30px 40px;
  margin-bottom: 16px;
}
.faq .faq__item:last-child {
  margin-bottom: 0;
}
.faq .faq__question {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  cursor: pointer;
  transition: all .3s ease;
}
.faq .faq__question h3 {
  font-size: 20px;
  margin-bottom: 0;
}
.faq .faq__icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  transition: all .5s ease;
}
.faq .faq__answer {
  height: 0;
  line-height: 1.4;
  overflow: hidden;
  transition: all .3s ease;
}
.faq .faq__answer p:last-child {
  margin: 0;
}
.faq .faq__item.active .faq__icon svg {
  transform: rotate(180deg);
}
.faq .faq__item.active .faq__answer {
  height: auto;
  padding-top: 30px;
}

/* --------- Footer --------- */
#footer {
  background-color: var(--first-theme-color);
  padding: 15px;
}
#footer .copyright {
  font-size: 16px;
  color: #000;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

#scrollbutton {
  position: fixed;
  bottom: 70px;
  right: 20px;
  border-radius: 5px;
  border: solid 2px  var(--first-theme-color);
  background-color: var(--first-theme-color);
  padding: 5px;
  transition: all .3s ease;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  z-index: 9999;
}
#scrollbutton svg {
  width: 30px;
  height: 30px;
  fill: #000;
  transition: all .3s ease;
}
#scrollbutton:hover {
  background-color: #141313;
}
#scrollbutton:hover svg {
  fill: var(--first-theme-color);
}
#scrollbutton.show {
  opacity: 1;
  visibility: visible;
}

#overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.menu-open #overlay {
  opacity: 1;
  visibility: visible;
}

/* --------- Page 404 --------- */
.error404 main {
  display: flex;
  align-items: center;
  justify-content: center;
}
.error404 .page-content {
  text-align: center;
}
.error404 .page-content h1 {
  font-size: 60px;
}
.error404 .page-content p {
  margin-bottom: 60px;
}

/* --------- Homepage --------- */
.layout1 h2:after{
  margin: 7px auto 0;
}
.post-color {
  height:200px;
  width:250px;
  display: inline-block;
}
.mainbox p{
  color: #393939;
}

.single-post-page .category a {
  text-transform: capitalize;
  font-size: 15px;
  font-weight: 500;
  background-color: var(--first-theme-color);
  border: 2px solid var(--first-theme-color);
  color: #fff;
  padding: 8px 10px;
  border-radius: 2px;
}
.category li{
  list-style-type: none;
  margin-bottom: 5px!important;
  display: inline-block;
}
.category ul{
  margin-left: 0;
  display: inline-block;
}
.category span{
  color: var(--first-theme-color);
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
}
.category .page-title span{
  font-size: 35px;
}
/* --------- Blog Page ------- */
.metabox a, .metabox span {
  color: #ffffff;
  font-size: 15px;
}
.metabox span i{
  color: var(--first-theme-color);
}
.entry-date:hover i, .entry-date:hover a, .entry-author:hover i, .entry-author:hover a{
  color: #ffffff !important;
}
.navigation.post-navigation a {
  color: #333;
}
.meta-nav:after {
  content: ":";
  padding: 5px 5px;
}
span.meta-nav {
  font-size: 17px;
  font-weight: bold;
}
.inner-service .box-image img{
  max-width: 100%;
  height: 100%;
  aspect-ratio: 1 / 0.7;
  object-fit: cover;
  max-height: 350px;
}
.mainbox, .layout3, .layout1, .post_format-post-format-video, .post_format-post-format-image, .post_format-post-format-audio, .post_format-post-format-gallery{
  border: 2px solid #e6f0fa;
}
.layout3, .layout1, .post_format-post-format-video, .post_format-post-format-image, .post_format-post-format-audio, .post_format-post-format-gallery{
  padding: 20px;
}
.nav-links {
  padding: 30px 0;
}
.inner-service .mainbox .postbtn a, 
.related-inner-box .postbtn a{
  background-color: var(--first-theme-color);
  border: 2px solid var(--first-theme-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 2px;
}
.metabox i:before {
  font-size: 10px;
  background: var(--first-theme-color);
  padding: 8px;
  color: #fff;
  border-radius: 50%;
}
.inner-service {
  margin-bottom: 35px;
}
.inner-service:hover {
  box-shadow: 0 6px 20px 0 #ddd;
  border-radius: 20px;
}
.single .inner-service:hover {
  box-shadow: none;
}
.mainbox {
  border-bottom: 5px solid var(--first-theme-color) !important;
  border-radius: 20px;
}
/* Related Post */
.navigation.post-navigation {
  margin-bottom: 20px;
  display: inline-block;
  float: left;
}
.related-inner-box {
  border: 1px solid var(--first-theme-color);
}
.related-inner-box h4 {
  font-size: 20px !important;
  padding-bottom: 0;
  color: #000;
}
/* Block Button */
.wp-block-button.is-style-squared a{
  border-radius: 0;
}
.wp-block-button.is-style-outline .wp-block-button__link{
  background-color: #0000;
  margin: 5px 0;
  padding: 15px;
  border: 1px solid var(--first-theme-color);
  color: var(--first-theme-color) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover{
  color: #ffffff !important;
  border-color: var(--first-theme-color) !important;
}
/* Block Image */

.alignfull img {
  width: 100vw;
}
/* Block Gallery */
.wp-block-gallery-3 .blocks-gallery-grid{
  margin-right: 35px;
  margin-top: 18px;
}
/* Block Layout */
.tag-content .wp-block-media-text__media img{
  width: 100% !important;
}
.inner-service .wp-block-tag-cloud a{
  color: #000;
  font-size: 15px !important;
  padding: 5px 18px;
  margin: 5px;
  display: inline-block;
  border: 1px solid #e6f0fa;
}
.inner-service .wp-block-tag-cloud a:hover {
  background-color: var(--first-theme-color);
  color: #fff;
}

.container {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/*responsive menu*/
@media screen and (max-width: 991px){
  #header .top-header .toggle-nav {
    display: block;
    border: none;
    background-color: transparent;
    cursor: pointer;
    z-index: 999999;
  }
  #header .top-header .toggle-nav svg {
    width: 40px;
    height: 40px;
    fill: var(--first-theme-color);
  }
  .navigation-header {
    position: fixed;
    height: 100%;
    width: 300px;
    right: -300px;
    top: 0;
    background-color: #000000;
    padding-left: 6px;
    transition: all 0.5s ease;
    overflow-x: hidden;
    visibility: hidden;
    z-index: 99999999;
  }
  .navigation-header.show {
    visibility: visible;
    right: 0;
    box-shadow: 0 0 8px #9d9595;
  }
  .navigation-header .closebtn {
    position: absolute;
    display: block;
    top: 20px;
    right: 14px;
    background: var(--first-theme-color);
    border-radius: 2px;
    border: none;
    padding: 4px 5px;
    margin-left: 10px;
    cursor: pointer;
  }
  .navigation-header .closebtn svg {
    width: 30px;
    height: 30px;
    fill: #000;
  }
  .main-navigation {
    height: calc(100% - 120px);
    margin: 70px 0 50px;
    overflow-y: auto;
  }
  .main-navigation .menu {
    flex-direction: column;
    padding: 0 15px;
  }
  .main-navigation .menu li {
    padding: 0;
  }
  .main-navigation .menu li.menu-item-has-children {
    padding-right: 0;
  }
  .main-navigation .menu li.menu-item-has-children a:after {
    content: none;
  }
  .main-navigation .menu li a {
    color: #ffffff;
    font-size: 18px;
    padding: 10px;
  }
  .main-navigation .sub-menu {
    position: static;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    padding-left: 30px;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
  }
  .main-navigation .sub-menu li {
    border-bottom: none;
    margin-bottom: 10px;
  }
  .main-navigation .sub-menu li:last-child {
    margin-bottom: 0;
  }
  .main-navigation .sub-menu li a {
    font-weight: 400;
  }
  .main-navigation .sub-menu li a:before {
    display: block;
  }
  .main-navigation .sub-menu li a:hover,
  .main-navigation .sub-menu li a:focus,
  .main-navigation .sub-menu li.current-menu-item a {
    transform: none;
  }
  .main-navigation .sub-menu li:hover a:before,
  .main-navigation .sub-menu li:focus a:before,
  .main-navigation .sub-menu li.current-menu-item a:before {
    bottom: -2px;
    opacity: 1;
    visibility: visible;
  }
  .error404 .page-content h1 {
    font-size: 40px;
  }
}
@media screen and (max-width: 767px) {
  h1 {
    font-size: 30px;
  }
  .banner .banner__title {
    font-size: 36px;
  }
  .page-content .alignwide {
    margin-left: 5px;
    margin-right: 5px;
  }
  .faq .faq__item {
    padding: 25px 30px;
  }
}
@media screen and (max-width: 575px) {
  #header .top-header .site-logo {
    max-width: 200px;
  }
}
@media screen and (min-width:1600px) and (max-width:1900px){
  .container{
    max-width: 1520px;
  }
}
@media screen and (min-width:1920px) {
  .container{
    max-width: 1620px;
  }
}