/*!
Theme Name: bappy
Theme URI: http://www.bongobeyond.net/wp/bappy/
Author: BusinessTheme
Author URI: http://www.bongobeyond.net
Description: bappy minimal wordpress theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bappy
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Elements
# Navigation 
# WordPress Core
# Galleries
# team
# service
# portfolio
# Contact Form
# Comments
# Blog
# 404
# Footer
# Responsive
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
    font-family: Poppins;
    background: #f7f7f7;
    color: #666666;
    line-height: 26px;
    font-size: 15px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    color: #000;
}
h1:not(:last-child),
h2:not(:last-child),
h3:not(:last-child),
h4:not(:last-child),
h5:not(:last-child),
h6:not(:last-child) {
    margin-bottom: 25px;
}
a {
    text-decoration: none;
    color: #000000;
    cursor: pointer;
}
a:visited {
    color: #000000;
}

a:hover, a:focus, a:active {
    color: inherit;
    text-decoration: none;
}

a:focus {
    outline: inherit;
}

a:hover, a:active {
    outline: 0;
}

table tr,
table th,
table td {
    padding: 10px;
    border: 1px solid #f1f1f1;
}
pre {
    background: #f1f1f1;
    padding: 30px;
    overflow: auto;
    max-width: 100%;
}
img {
    height: auto;
    max-width: 100%;
}
blockquote:not(:last-child) {
    margin-bottom: 25px;
}
blockquote {
    text-align: center;
    font-style: italic;
    font-size: 18px;
    color: #000000;
    padding: 0 50px;
    font-weight: 300;
}
[type=search] {
    outline-offset: -2px;
    -webkit-appearance: none;
    border: none;
    padding: 10px 15px;
    border: 1px solid #f1f1f1;
}
[type=reset],
[type=submit],
button,
html [type=button] {
    -webkit-appearance: button;
    background: #333;
    border: none;
    color: #fff;
    padding: 9px 15px;
}
::-moz-selection {
    color: #ffffff;
    background: #000000;
}
::selection {
    color: #ffffff;
    background: #000000;
}
.home-mb-100 {
  margin-bottom: 100px;
  border-top: 1px solid #ccc;
}
/* ====================================
Navigation 
==================================== */

.navbar-logo {
    font-size: 32px;
    margin: 30px 0;
    color: #000!important;
    font-weight: bold;
    display: inline-block;
}

.site-header {
  position: relative;
}

.overlay-navigation {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 100%, 0.2);
  display: none;
  opacity: 0;
}

nav,
nav ul {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
}

nav ul li {
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  display: none;
}

nav ul li:nth-child(odd) {
    background: #e6e6e6;
}

nav ul li:nth-child(even) {
    background: #f1f1f1;
}

nav li a {
    position: relative;
    top: 50%;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 4px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 20px;
    opacity: 0;
    color: #222!important;
}

nav li a:before {
  content: '';
  width: 70px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 100;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  opacity: 0;
  -webkit-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
}

nav li a:after {
  content: attr(data-content);
  font-size: 0.7rem;
  -webkit-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
  opacity: 0;
  position: absolute;
  z-index: 100;
  color: #fff;
  display: block;
  margin-right: auto;
  margin-left: auto;
  left: 0;
  right: 0;
  bottom: -50px;
  text-transform: none;
  font-family: 'Open sans', sans-serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0;
}

nav li a:hover:before {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}

nav li a:hover:after {
  -webkit-transform: translateY(15px);
  -ms-transform: translateY(15px);
  transform: translateY(15px);
  opacity: 1;
}

/* ====================================
Burger king
==================================== */

.open-overlay {
  position: absolute;
  right: 5rem;
  top: 25px;
  z-index: 100;
  width: 34px;
  display: block;
  cursor: pointer;
}

.open-overlay span {
  display: block;
  height: 1px;
  background-color: #000;
  cursor: pointer;
  margin-top: 8px;
}

.animate-top-bar {
  -webkit-animation: animate-top-bar .6s linear 1 both;
  animation: animate-top-bar .6s linear 1 both
}

.animate-bottom-bar {
  -webkit-animation: animate-bottom-bar .6s linear 1 both;
  animation: animate-bottom-bar .6s linear 1 both
}

.animate-middle-bar {
  -webkit-animation: animate-middle-bar .6s linear 1 both;
  animation: animate-middle-bar .6s linear 1 both
}

.animate-out-top-bar {
  -webkit-animation: animate-out-top-bar .6s linear 1 both;
  animation: animate-out-top-bar .6s linear 1 both
}

.animate-out-bottom-bar {
  -webkit-animation: animate-out-bottom-bar .6s linear 1 both;
  animation: animate-out-bottom-bar .6s linear 1 both
}

.animate-out-middle-bar {
  -webkit-animation: animate-out-middle-bar .6s linear 1 both;
  animation: animate-out-middle-bar .6s linear 1 both
}


/* ====================================
Animation keyframes
==================================== */

@-webkit-keyframes animate-top-bar {
  0% {
    background-color: #222;
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #222
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #222;
  }
}

@keyframes animate-top-bar {
  0% {
    background-color: #222;
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #222
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #222;
  }
}

@-webkit-keyframes animate-bottom-bar {
  0% {
    background-color: #222;
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #222;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #222;
  }
}

@keyframes animate-bottom-bar {
  0% {
    background-color: #222;
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #222;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #222;
  }
}

@-webkit-keyframes animate-middle-bar {
  0% {
    background-color: #222;
  }
  80% {
    background-color: #222;
  }
  100% {
    background-color: #222;
  }
}

@keyframes animate-middle-bar {
  0% {
    background-color: #222;
  }
  80% {
    background-color: #222;
  }
  100% {
    background-color: #222;
  }
}

@-webkit-keyframes animate-out-top-bar {
  0% {
    background-color: #222
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #222
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #222;
  }
}

@keyframes animate-out-top-bar {
  0% {
    background-color: #222
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #222
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #222;
  }
}

@-webkit-keyframes animate-out-bottom-bar {
  0% {
    background-color: #222
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #222;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #222;
  }
}

@keyframes animate-out-bottom-bar {
  0% {
    background-color: #222
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #222;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #222;
  }
}

@-webkit-keyframes animate-out-middle-bar {
  0% {
    background-color: #222
  }
  80% {
    background-color: #222;
  }
  100% {
    background-color: #222;
  }
}

@keyframes animate-out-middle-bar {
  0% {
    background-color: #222
  }
  80% {
    background-color: #222;
  }
  100% {
    background-color: #222;
  }
}

@media (max-width: 640px) {
  nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  nav ul li {
    height: 20%;
  }
  nav ul li a {
    font-size: 11px;
  }
  nav li a:after {
    font-size: 0.6rem;
    bottom: -25px;
  }
  nav li a:hover:after {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  .open-overlay {
    right: 1rem;
    top: 32px;
  }
  nav li a:before {
    width: 25px;
  }
}
/*--------------------------------------------------------------
# WordPress Core
--------------------------------------------------------------*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
    padding-bottom: 8px;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.wp-caption-text {
    font-size: 13px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; 
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  -webkit-clip-path: none;
          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;
}

/*--------------------------------------------------------------
# Galleries
--------------------------------------------------------------*/

.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# team
--------------------------------------------------------------*/
.team {
    text-align: center;
}
.team img {
    margin-bottom: 15px;
}
.team h6 {
    margin-bottom: 5px;
}
.team span {
    font-size: 12px;
    text-transform: uppercase;
}
/*--------------------------------------------------------------
# service
--------------------------------------------------------------*/
.item-service {

}
.item-service i {
    margin-bottom: 20px;
}
.item-service h5 {
    margin-bottom: 10px;
}
.item-service p {
    font-size: 14px;
}

/*--------------------------------------------------------------
# portfolio
--------------------------------------------------------------*/
.portfolio-filter ul .list-inline-item { 
    position: relative;
    padding-bottom: 10px;
    cursor: pointer;
    margin-right: 40px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
}

.portfolio-filter ul .list-inline-item:after {
    position: absolute;
    content: '';
    right: -30px;
    top: 12px;
    background: #ccc;
    width: 15px;
    height: 2px;
    border-radius: 50px;
    overflow: hidden;

}
.portfolio-filter ul .list-inline-item:last-child::after {
    background: transparent;

}
.isotope_items .single_item {
    margin-bottom: 30px;
    position: relative;
}
.isotope_items .single_item_content {
    position: absolute;
    bottom: 5px;
    left: 30px;
}
.isotope_items .single_item_content span {
    font-size: 12px;
    text-transform: uppercase;
}
/*--------------------------------------------------------------
# Contact Form
--------------------------------------------------------------*/
.contactform input[type=text],
.contactform input[type=email] {
    width: 100%;
    border: 1px solid #f1f1f1;
    padding: 15px;
    margin-bottom: 20px;
}

.contactform textarea {
    width: 100%;
    border: 1px solid #f1f1f1;
    padding: 15px;
    margin-bottom: 20px;
    height: 150px;
    overflow: hidden;
}
.contactform input[type=submit] {
    padding: 10px 50px;
    cursor: pointer;
}
/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}
.contact-form {
}
.contact-form textarea {
    padding: 15px;
    width: 100%;
    border: none;
    height: 150px;
    margin-bottom: 15px;
}
.contact-form input {
    padding: 15px;
    width: 100%;
    border: none;
    margin-bottom: 20px;
}
.contact-form button {
    cursor: pointer;
    padding: 12px 60px;
}

.comments-area {
    margin-top: 50px;
}
.comments-area .comment-list,
.comments-area .children {
    list-style: none;
}
.comments-area ol.comment-list {
    padding-left: 0;
}
.comments-area .comment-list>li,
.comments-area .children>li {
    background: #fff;
    margin-bottom: 30px;
    padding: 30px;
}
/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.title-header {
    overflow: hidden;  
    position: relative;
    margin-bottom: 100px;
}
.title-header img {
    width: 100%;    
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}
.title-header-content {
    background: rgba(0,0,0,0.5);
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 10% 0; 
    z-index: 1;
}
.title-header-content h1 {
    color: #fff;
    font-weight: bold;
    font-size: 80px;
}
.bappy-wrapper {
    padding-bottom: 100px;
}
.post-item {
    padding: 0;
    border: 5px solid #f7f7f7;
}
.post-item-content {
    padding: 50px;
    background: #fff;
}
.post-item-content i {
    margin-right: 10px;
}
.post-item-content span {
    font-size: 12px;
    text-transform: uppercase;
}
.post-item-content p {
    font-size: 12px;
    margin-top: 20px;
    margin-bottom: 0;
}
.post-item-content p a {
    border-bottom: 1px solid #000;
}
.pagination {
    display: block;
    margin-top: 90px;
}
.pagination .page-numbers {
    padding: 0 15px;
    font-size: 18px;
}
.pagination .prev,
.pagination .next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-block;
    padding: 6px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),
    0 2px 10px 0 rgba(0, 0, 0, 0.12);
            box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),
    0 2px 10px 0 rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #000;
}
.pagination .prev:hover,
.pagination .next:hover {
    background: #f1f1f1;
}
.pagination a {
    color: #000;
}
.pagination .current {
    font-weight: bold;
}

.cat-links,
.tags-links {
  margin-right: 15px;  
  display: inline-block;
  background: #fff;
  padding: 0 10px;
  margin-top: 30px;
}
.cat-links a,
.tags-links a {
  font-weight: 700;
}
.post-navigation {
  margin-top: 50px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  overflow: hidden;
  padding: 15px;
}
.post-navigation .nav-previous {
  float: left;
}
.post-navigation .nav-next {
  float: right;
}
.post-navigation .nav-links a {
  font-weight: 600;
}
/*--------------------------------------------------------------
# 404
--------------------------------------------------------------*/
.error-404 p {
    margin: 30px 0;
}
.error-404 span {
    font-size: 172px;
    color: #333;
    margin: 150px 0 100px;
    display: block;
    font-weight: bold;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
    text-align: center;
    padding: 120px 30px;
    background: #fff;
}
.footer-social li a {
    font-size: 24px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {    
    background: #F7F7F7;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%; 
    z-index: 10000;
    display:table;
    text-align: center;
}

.spinner {
    margin:auto;
    text-align: center;
    display:table-cell;
    vertical-align:middle;
} 

@-webkit-keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
@-webkit-keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
@-webkit-keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
@keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
.uil-ripple-css {
  background: none;
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.uil-ripple-css div {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  width: 0;
  height: 0;
  opacity: 0;
  border-radius: 50%;
  border-width: 12px;
  border-style: solid;
  -webkit-animation: uil-ripple 2s ease-out infinite;
  animation: uil-ripple 2s ease-out infinite;
}
.uil-ripple-css div:nth-of-type(1) {
  border-color: #333;
}
.uil-ripple-css div:nth-of-type(2) {
  border-color: #333;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
  nav li a {
    font-size: 16px;
  }
}

@media (max-width: 481px) {
  .title-header-content h1 {
    font-size: 30px;
    margin-bottom: 0;
  }
  .portfolio-filter {
    text-align: center;
  }
  .portfolio-filter ul .list-inline-item {
    margin: 0 10px;
  }
  .portfolio-filter ul .list-inline-item:after {
    display: none;
  }
}