/*
Theme Name: ZB WP Theme
Description: Wordpress Theme created for Zan Brezec
Version: 1.0
Author: BDA, Sergej Bobek s.p.
Author URI: https://bda.si
Template: enfold
*/

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=PT+Sans&display=swap&subset=latin-ext');

@font-face {
font-family: 'HK Grotesk Regular';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Regular'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-Regular.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Regular Legacy';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Regular Legacy'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-RegularLegacy.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Italic';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Italic'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-Italic.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Legacy Italic';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Legacy Italic'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-LegacyItalic.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Light';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Light'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-Light.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Light Legacy';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Light Legacy'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-LightLegacy.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Light Italic';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Light Italic'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-LightItalic.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Light Legacy Italic';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Light Legacy Italic'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-LightLegacyItalic.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Medium';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Medium'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-Medium.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Medium Legacy';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Medium Legacy'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-MediumLegacy.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Medium Italic';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Medium Italic'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-MediumItalic.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Medium Legacy Italic';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Medium Legacy Italic'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-MediumLegacyItalic.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk SemiBold';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk SemiBold'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-SemiBold.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk SemiBold Legacy';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk SemiBold Legacy'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-SemiBoldLegacy.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk SemiBold Italic';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk SemiBold Italic'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-SemiBoldItalic.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk SemiBold Legacy Italic';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk SemiBold Legacy Italic'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-SemiBoldLegacyItalic.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Bold';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Bold'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-Bold.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Bold Legacy';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Bold Legacy'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-BoldLegacy.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Bold Italic';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Bold Italic'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-BoldItalic.woff') format('woff');
}


@font-face {
font-family: 'HK Grotesk Bold Legacy Italic';
font-style: normal;
font-weight: normal;
src: local('HK Grotesk Bold Legacy Italic'), url('/wp-content/themes/enfold-child/fonts/HKGrotesk-BoldLegacyItalic.woff') format('woff');
}

#top h1,
#top h2,
#top h3 {
  font-weight: normal;
  letter-spacing: 0px;
}

/* HEADER */
#top .header_bg {
  background: #ffffff !important;
  opacity: 1 !important;
}
.av_minimal_header #header_main .container.av-logo-container,
#top .logo a {
  max-height: 50px !important;
  height: 50px !important;
  line-height: 50px !important;
}
.header_color .main_menu ul:first-child > li > a {
  height: 50px !important;
  line-height: 1.5em !important;  
}
#header_main {
  padding-top: 38px;
}
.header-scrolled #header_main {
  padding-top: 0;
}
#header_main,
.header-scrolled #header_main {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;    
}
/* scrolled */
.av_minimal_header.header-scrolled #header_main .container {
  max-height: 60px !important;
  height: 60px !important;
  line-height: 60px !important;
  
}
.header_color.header-scrolled .main_menu ul:first-child > li > a {
  height: 60px !important;
  line-height: 60px !important;
}
header#header.header-scrolled {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.06);
  -moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.06);
  -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.06);
}
/* logo */
.logo img {
  /*padding: 10px 0;*/
  max-width: 74px;
}
.header-scrolled .logo img {
  margin: 20px 0;
}
.logo img,
.header-scrolled .logo img {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;    
}
/* LINKS */
.main_color .avia_textblock p a:not(.button),
.main_color ul.tags a {
  color: #4D4D4D;
  text-decoration: underline;
}
.main_color .avia_textblock p a:not(.button):hover,
.main_color ul.tags a:hover {
  color: #000000;
  text-decoration: none;
}
.main_color .avia_textblock p a,
.main_color .avia_textblock p a:hover,
.main_color ul.tags a,
.main_color ul.tags a:hover {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;  
}

/* OPENING SECTION */
.fp-opening {
  text-align: center;
}
#top .fp-opening h2 {
  text-transform: none;
  font-family: 'HK Grotesk Bold';
  font-size: 42px;
  color: #4D4D4D;
  letter-spacing: 0;
}
/* menu */
#top .av-main-nav > li > a {
  padding: 0 21px;
}
.header_color .main_menu ul:first-child > li > a span {
  color: #4D4D4D;
  font-size: 15px;
  /*font-family: 'HK Grotesk Medium';*/
  font-weight: normal;
  /*font-family: 'PT Sans', sans-serif;	*/
  font-family: 'HK Grotesk Regular';
}
.header_color .main_menu ul:first-child > li > a:hover span {
  color: #969696;
}
.header_color .main_menu ul:first-child > li > a span,
.header_color .main_menu ul:first-child > li > a:hover span {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;   
}
/* current page */
.header_color .main_menu ul:first-child > li.current-menu-item > a  {
  /*background: #4D4D4D;*/
}
.header_color .main_menu ul:first-child > li.current-menu-item > a span  {
  color: #000000;
}

/* FP - projects */
.fp-projects {
  margin-top: -200px;
}
.fp-projects .av-masonry-entry {
  visibility: visible !important;
  opacity: 1 !important;
}
.fp-projects.main_color .container .av-inner-masonry-content {
  background: transparent;
  text-align: center;
}
.fp-projects.main_color .container .av-masonry-entry .avia-arrow {
  display: none;
}
.fp-projects.main_color .container .av-inner-masonry-content .av-masonry-date {
  display: none;
}
.fp-projects .av-masonry-entry .av-masonry-entry-title {
  font-family: 'HK Grotesk Bold';
  font-size: 18px;
  color: #4D4D4D;
}
#top .fp-projects .av-hover-overlay-grayscale .av-masonry-entry:hover .av-masonry-image-container {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}
#top .fp-projects .av-hover-overlay-grayscale .av-masonry-entry .av-masonry-image-container {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

/* FP - BOTTOM CTA (above footer) */
.fp-cta {
  text-align: center;
}
.fp-cta .container .content {
  padding-bottom: 130px;
}
#top .fp-cta h2 {
  font-size: 34px;
  text-transform: none;
  font-family: 'HK Grotesk Bold';
  color: #4D4D4D;
}
#top .fp-cta h2 {
  margin-bottom: 50px;
}
#top .fp-cta h2 + p {
  margin: 0;
}
/* button */
.fp-cta a.button {
  display: table;
  margin: 20px auto 0 auto;
  font-family: 'HK Grotesk Bold';
  color: #4D4D4D;
  font-size: 24px;
  border: 2px solid #4D4D4D;
  background: #ffffff;
  padding: 15px 20px;
}
.fp-cta a.button:hover {
  color: #ffffff;
  background: #4D4D4D;
  text-decoration: none;
  border: 2px solid #4D4D4D;
}

/* ABOUT PAGE */
/* ME section */
.me-wrap .me {
  max-width: 50%;
  border-bottom: 1px solid #808080;
}
.me-wrap .me {
  font-size: 0;
}
.me-wrap .me > div {
  display: inline-block;
  vertical-align: bottom !important;
}
.me-wrap .me > div.text-wrap {
  width: calc(100% - 200px);
  padding-right: 50px;
}
.me-wrap .me > div.img-wrap {
  width: 200px;
}
.me-wrap .me .text-wrap h1 {
  font-family: 'HK Grotesk Bold';
  font-size: 42px;
  text-transform: none;
  color: #4D4D4D;
}
.me-wrap .me .text-wrap p {
  font-family: 'HK Grotesk Bold';
  font-size: 20px;
  color: #808080;
}
.me-wrap .me .img-wrap img {
  display: table;
  image-rendering: auto;
}
/* experiences section */
#top .ap-experiences h2 {
  font-size: 32px;
  font-family: 'HK Grotesk Bold';
  color: #4D4D4D;
  margin-bottom: 30px;
  text-transform: none;
}
.ap-experiences h3 {
  font-family: 'HK Grotesk Bold';
  color: #4D4D4D;
  font-size: 18px;
  margin: 0;
}
.ap-experiences p {
  /*font-family: 'HK Grotesk Light';*/
  color: #4D4D4D;
  font-size: 16px;
  margin: 0 0 20px 0;
  font-family: 'HK Grotesk Regular';
}
/* icons */
.ap-experiences .interests-wrap {
  font-size: 0;
  text-align: center;
  margin-left: -32px;
}
.ap-experiences .interests-wrap > div {
  display: inline-block;
  vertical-align: top;
  width: 33.33333%;
}
.ap-experiences .interests-wrap > div p  {
  font-size: 18px;
  color: #4D4D4D;
  font-family: 'HK Grotesk Bold';
}
/* gallery */
.ap-gallery-wrap .container {
  max-width: 100%;
  width: 100%;
  padding: 0;
}
.responsive.html_stretched .ap-gallery-wrap .av-masonry-col-flexible .av-masonry-entry {
  width: 11.1111%
}
.ap-gallery-wrap .av-masonry-entry {
  visibility: visible;
  opacity: 1;
}
.avia_desktop.avia_transform3d .ap-gallery-wrap .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry {
  -webkit-animation: none;
  animation: none;
}

/* PROJECT PAGE */
/* project intro */
.project-intro .avia_textblock h1 {
  text-transform: none;
  color: #4D4D4D;
  font-size: 42px;
  font-family: 'HK Grotesk Bold';
  font-weight: normal;    
}
.project-intro .avia_textblock p {
  color: #808080;
  font-size: 20px;
  font-family: 'HK Grotesk Bold';
  font-weight: normal;  
}
.project-intro .avia_textblock p:last-child {
  margin-bottom: 0;
}

.project-intro ul.tags {
  margin: 30px 0 0 0;
  padding: 15px 0 0 0;
  border-top: 1px solid #808080;
}
.project-intro ul.tags li {
  display: inline-block;
  margin: 15px 12px 0 0;
  list-style-type: none;
  font-size: 14px;
  font-family: 'HK Grotesk Bold';
  font-weight: normal;    
}
.project-intro ul.tags li:last-child {
  margin-right: 0;
}
.project-intro ul.tags li {
  border: 1px solid #808080;
  padding: 3px 10px;
  border-radius: 100px;
  color: #808080;
}
/* project content */
#top .project-content .avia_textblock h2 {
  text-transform: none;
  color: #4D4D4D;
  font-size: 32px;
  font-family: 'HK Grotesk Bold';
  font-weight: normal;  
}
#top .project-content .avia_textblock h2 span.no {
  font-family: 'helvetica neue', 'HelveticaNeue', 'Helvetica-Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
}
#top .project-content .avia_textblock p {
  /*color: #4D4D4D;*/
  font-size: 18px;
  /*font-family: 'HK Grotesk Bold';*/
  font-weight: normal;    
  /*font-family: 'HK Grotesk Regular Legacy';*/
  line-height: 1.5em;
  color: #808080;	
  /*font-family: 'PT Sans', sans-serif;*/
  font-family: 'HK Grotesk Regular';
}
#top .project-content .avia_textblock p:last-child {
  margin-bottom: 0;
}
/* imgs */
.project-content .avia-image-container-inner,
.project-content .avia-image-container-inner img {
  width: 100%;
}
/* gallery */
.project-gallery .container .content {
  padding-bottom: 130px;
}
.project-gallery .avia_textblock p:last-child {
  margin-bottom: 0;
}
#top .project-gallery .gallery img {
  width: 100%;
}
#top .project-gallery .gallery-caption {
  display: block;
  color: #999999;
  font-size: 16px;
  font-family: 'HK Grotesk Bold';
  font-weight: normal;    
  font-style: normal;
}
/* 2 cols */
#top .project-gallery .gallery.gallery-columns-2 {
  width: calc(100% + 40px);
}
#top .project-gallery .gallery.gallery-columns-2 .gallery-item {
  width: 50%;
  height: auto;  
  margin: 0;
  display: inline-block;
  padding-right: 40px;
}
/* full size */
#top .project-gallery a,
#top .project-gallery a img.size-full {
  width: 100%;
}
#top .project-gallery a img.size-full {
  margin-top: 30px;
}
/* button */
#top .project-gallery a.button {
  display: table;
  margin: 30px auto 0 auto;
  font-family: 'HK Grotesk Bold';
  font-weight: normal;
  color: #4D4D4D;
  font-size: 23px;
  border: 2px solid #4D4D4D;
  background: transparent;
  padding: 15px 20px;
  width: auto;
}
#top .project-gallery a.button:hover {
  color: #ffffff;
  background: #4D4D4D;
  text-decoration: none;
  border: 2px solid #4D4D4D;
}
/* cta */
#top .cta-section {
  background: #707070;
  text-align: center;
}
#top .cta-section .avia_textblock h2 {
  text-transform: none;
  color: #ffffff;
  font-size: 30px;
  font-family: 'HK Grotesk Bold';
  font-weight: normal;
}
#top .cta-section .avia_textblock p:last-child {
  margin-bottom: 0;
}
#top .cta-section a.button {
  display: table;
  margin: 30px auto 0 auto;
  font-family: 'HK Grotesk Bold';
  font-weight: normal;
  color: #ffffff;
  font-size: 23px;
  border: 2px solid #ffffff;
  background: transparent;
  padding: 15px 20px;
}
#top .cta-section a.button:hover {
  color: #ffffff;
  background: #4D4D4D;
  text-decoration: none;
  border: 2px solid #4D4D4D;
}

/* CONTACT PAGE */
#top .contact-details h1 {
  font-family: 'HK Grotesk Bold';
  font-size: 42px;
  text-transform: none;
  color: #4D4D4D;
  font-weight: normal;
  border-bottom: 1px solid #808080;
  margin-bottom: 30px;
  padding-bottom: 30px;
  max-width: 50%;
}
#top .contact-details p {
  font-family: 'HK Grotesk Bold';
  color: #808080;
  font-size: 18px;
  margin: 0;
  font-weight: normal;
  line-height: 1.5em;
}
#top .contact-details p {
  margin-bottom: 5px;
}
#top .contact-details p.phone {
  /*margin: 15px 0;*/
}
/* social icons */
#top .contact-details .social-icons {
  margin-top: 30px;
}
#top .contact-details .social-icons a {
	/*
  display: inline-block !important;
  vertical-align: middle;
	*/
}
#top .contact-details .social-icons a {
  position: inherit !important;
  overflow: inherit !important;  
  display: inline-block;
  vertical-align: bottom;
}
#top .contact-details .social-icons a img {
  width: auto;
  height: 20px;
  display: inline-block;  
  vertical-align: middle;
  margin-right: 15px;
}
#top .contact-details .social-icons a:last-child {
  margin-right: 0;
}
#top .contact-details .social-icons a.instagram img {
  /*height: 17px;*/
  margin-bottom: -2px;
}
#top .contact-details .social-icons a.medium img {
  height: 17px;
  margin-bottom: -2px;
}


/* FOOTER */
.zb-footer .footer-wrap div .left,
.zb-footer .footer-wrap div .right {
  display: inline-block;
  vertical-align: top;
}
.zb-footer .footer-wrap div .left {
  width: 30%;
  max-width: 250px;
}
.zb-footer .footer-wrap div .right {
  width: 60%;
}
.zb-footer .footer-wrap div h1,
.zb-footer .footer-wrap div p {
  color: #ffffff;
}
.zb-footer .footer-wrap div h1 {
  font-family: 'HK Grotesk Bold';
  font-size: 26px;
}
.zb-footer .footer-wrap div p {
  font-family: 'HK Grotesk Light';
  margin: 0;
  font-size: 15px;
}
.zb-footer .footer-wrap div p.mail {
  margin-top: 10px;
}
/* top */
.zb-footer .footer-wrap .top {
  margin-bottom: 30px;
}
.zb-footer .footer-wrap .top h1 {
  text-transform: none;
  
}
/* bottom */
.zb-footer .footer-wrap .bottom > div {
  vertical-align: middle;
}
.zb-footer .footer-wrap .bottom p {
  font-size: 13px;
}
.zb-footer .footer-wrap .bottom .right a {
  width: 20px;
  height: 20px;
  display: inline-block;  
  vertical-align: middle;
  background: url(/wp-content/uploads/2019/11/zan-brezec-linkedin-icon.png);
  background-size: cover;
  margin-right: 15px;
}
.zb-footer .footer-wrap .bottom .right a:last-child {
  margin-right: 0;
}
.zb-footer .footer-wrap .bottom .right a.linkedin {
  background: url(/wp-content/uploads/2019/11/zan-brezec-linkedin-icon_w.png);
  background-size: cover;
  background-position: center center;
  margin-top: -4px;
}
.zb-footer .footer-wrap .bottom .right a.medium {
  background: url(/wp-content/uploads/2019/11/zan-brezec-medium-icon_w.png);
  background-size: cover;
  background-position: center center;
}
.zb-footer .footer-wrap .bottom .right a.instagram {
  background: url(/wp-content/uploads/2019/11/zan-brezec-instagram-icon_w.png);
  background-size: cover;
  background-position: center center;
}

/* MISC */
::-moz-selection {
  background: #808080;
}
::selection {
  background: #808080;
}
img, a img {
  image-rendering: auto;
}
#scroll-top-link {
  display: none !important;
}
.grecaptcha-badge {
  display: none !important;
}
.avia_transform a .image-overlay {
  display: none !important;
  visibility: hidden !important;
}

/* RESPONSIVENESS */
/* RESPONSIVENESS */


/* HEADER */
/* header + logo */
@media screen and (max-width: 767px) {
  #header_main {
    padding-top: 25px;
  }
  .responsive #top #wrap_all #header {
    position: fixed;
  }
  .av_minimal_header #header_main .container.av-logo-container {
    max-height: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
  }  
  .av_minimal_header.header-scrolled #header_main .container.av-logo-container {
    max-height: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
  }    
  #top .logo a {
    max-height: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
  }    
  .responsive #top .logo {
    max-width: 150px;
    height: inherit !important;
  } 
  .responsive .logo img {
    max-width: 74px;
    max-height: 20px !important;
  }
}
/* mobile menu */
@media screen and (max-width: 767px) {
  .header_color .av-hamburger-inner, 
  .header_color .av-hamburger-inner::before, 
  .header_color .av-hamburger-inner::after {
    background-color: #4D4D4D;
  }
  .av-burger-overlay-active #top .av-hamburger-inner, 
  .av-burger-overlay-active #top .av-hamburger-inner::before, 
  .av-burger-overlay-active #top .av-hamburger-inner::after {
    background-color: #4D4D4D;
  }
  .av-burger-overlay-bg {
    opacity: 0.97;
    background: #ffffff;
  }
  #top.logged-in .av-burger-overlay-inner:before {
    content: '';
    width: 74px;
    height: 20px;
    background: url('/wp-content/uploads/2019/10/brezec_500.png');
    background-size: 100%; 
    display: table;
    position: absolute;
    top: 66px;
    left: 50px;
  }
  #top.logged-in header:not(.header-scrolled) .av-burger-overlay-inner:before {
    top: 71px;  
  }
  #top .av-burger-overlay-inner:before {
    content: '';
    width: 74px;
    height: 20px;
    background: url('/wp-content/uploads/2019/10/brezec_500.png');
    background-size: 100%; 
    display: table;
    position: absolute;
    top: 20px;
    left: 50px;
  }
  #top header:not(.header-scrolled) .av-burger-overlay-inner:before {
    top: 25px;  
  }  
  .html_av-overlay-full #top #wrap_all #av-burger-menu-ul li a span.avia-menu-text {
    font-family: 'HK Grotesk Medium';
    font-size: 32px;
    color: #4D4D4D;
  }
}

/* FOOTER */
@media screen and (max-width: 630px) {
  .zb-footer .footer-wrap div .left {
    width: 160px;
  }
  .zb-footer .footer-wrap div .right {
    width: calc(93% - 160px);
  } 
}
@media screen and (max-width: 360px) {
  .zb-footer .footer-wrap div .left, 
  .zb-footer .footer-wrap div .right {
    width: 100%;
    max-width: 100%;
  }
  .zb-footer .footer-wrap .bottom { 
    display: flex; 
    flex-direction: column; 
  }
  .zb-footer .footer-wrap .bottom .left { 
    order: 2; 
    margin-top: 30px;
  }
  .zb-footer .footer-wrap .bottom .right { 
    order: 1; 
  }  
}

/* CONTACT PAGE */
@media screen and (max-width: 885px) {
  #top .contact-details h1 {
    max-width: 100%;
  }
}

/* ABOUT PAGE */
@media screen and (max-width: 900px) {
  .me-wrap .me {
    max-width: 100%;
  }
  .responsive #top #wrap_all .ap-experiences .flex_column {
    width: 100%;
    margin-left: 0;
  }  
  .responsive #top #wrap_all .ap-experiences .flex_column.first {
    margin-bottom: 30px;
  }
  .ap-experiences .interests-wrap > div  {
    /*max-width: 140px;*/
  }
}
@media screen and (max-width: 767px) {
  .responsive #top #wrap_all .ap-gallery-wrap .container {
    width: 100%;
    max-width: 100%;  
  }
  .responsive #top .ap-gallery-wrap .av-masonry-entry {
    width: 25%; 
  }
  .responsive #top .ap-gallery-wrap .av-masonry-entry:nth-last-child(1),
  .responsive #top .ap-gallery-wrap .av-masonry-entry:nth-last-child(2),
  .responsive #top .ap-gallery-wrap .av-masonry-entry:nth-last-child(3) {
    display: none;
  }  
}
@media screen and (max-width: 660px) {
  .avia-section.ap-experiences .container .content {
    padding-top: 0;
    padding-bottom: 20px;
  } 
  .avia-section.ap-intro .container .content {
    padding-bottom: 0px;
  }   
  .me-wrap .me .text-wrap h1 {
    font-size: 28px;
  }
  .me-wrap .me .text-wrap p {
    font-size: 15px;
  }
  #top .ap-experiences h2 {
    font-size: 21px;
  }
  .ap-experiences h3,
  .ap-experiences p{
    font-size: 13px;
  }
  .ap-experiences .interests-wrap > div p {
    font-size: 13px;
  }
}

/* PROJECT PAGE */
@media screen and (max-width: 767px) {
  .project-intro {
    padding-top: 50px;
  }
  #top .project-intro .flex_column_table, 
  #top .project-content .flex_column_table {
    display: flex; 
    flex-direction: column;   
  }
  .responsive #top #wrap_all .project-intro .flex_column.img-wrap {
    order: 1;
  }
  .responsive #top #wrap_all .project-intro .flex_column.text-wrap {
    order: 2;
  } 
  .responsive #top #wrap_all .project-content .flex_column.img-wrap {
    order: 2;
  }
  .responsive #top #wrap_all .project-content .flex_column.text-wrap {
    order: 1;
  }   
}