/*
Theme Name: Jessica Whitbread
Theme URI: https://jessicawhitbread.com
Description: Theme for Jessica Whitbread website
Author URI: mailto:evadewamasyitha@gmail.com
Version: 1.06
Tags: clean, blog, two-columns, fixed-width, custom-menu
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/* Global Defaults
=====================================================================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
b, strong, th { font-weight: bold; }
em, i { font-style: italic; }
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


a, a:active, a:visited { color: #070fae;  }
a:hover { color: #020990; }

/* Global Elements
=====================================================================*/

body {
	font:15px 'IBM Plex Sans', sans-serif;
	background:#622fed;
    color:#000;
	min-height: 100%;
	position: static;
	-webkit-text-size-adjust:100%;
	-ms-text-size-adjust:none;
}
.skiplink{
	display:none;
}
.clear {
	clear: both;
}
img {
	max-width: 100%;
    height:auto;
    font-style:italic;
    background-repeat: no-repeat;
    background-size:cover;
    vertical-align: middle;
}

/* Start CSS Coding
=====================================================================*/
#logo,
#text-intro h1,
.sub-title,
#main-title,
.static-page h1,
.static-page h2,
.static-page h3,
.static-page h4,
.static-page h5,
.static-page h6,
.static-page blockquote:before {
    font-family: "Literata", serif;
    font-style: normal;
}
.open-menu, .close-menu, .close-menu-big {
    display: none;
    cursor: pointer;
}
#menu-toggle {
    display: none;
}
.menu-button-container {
    display: none;
    cursor: pointer;
}
.mobile {
    display: none;
    position: relative;
}
.admin-bar #main-header {
    top:32px;
}
#main-header {
    height:120px;
    position: fixed;
    width:100%;
    z-index: 2;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#main-header.small {
    height:90px;
    box-shadow: 0 8px 32px rgba(31,38,135,.2),inset 0 4px 20px rgba(255,255,255,.3);
    background: rgba(215,255,1,0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.bar1, .bar2, .bar3 {
    width: 31px;
    height: 4px;
    background-color: #622fed;
    margin: 6px 0 6px 9px;
    transition: 0.4s;
    display: block;
}
.bar1 {
    margin-top:12px;
}
#logo {
    color:#d7ff01;
    font-weight: 900;
    font-size:40px;
    float:left;
    height:120px;
    line-height: 110px;
    padding:0 50px;
    text-decoration: none;
    position: relative;
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    -ms-transition: all 0.1s ease;
    transition: all 0.1s ease;
}
#main-header.small #logo {
    height:90px;
    font-size:30px;
    line-height: 80px;
    color:#622fed;
}
#logo:before {
    content:"";
    width:200px;
    height:1px;
    position: absolute;
    z-index: 1;
    left:0;
    bottom:0;
    background: #d7ff01;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#main-header.small #logo:before {
    left:-200px;
    background: #622fed;
}
#nav {
    float:right;
    margin:0 50px 0 0;
}
#nav-main {
    margin:35px 0 0 0;
    list-style: none;
    padding:0;
    height:45px;
    float:left;
    position: relative;
    z-index: 5;
}
#main-header.small #nav-main {
    margin-top:20px;
}
#main-header.small #nav-main li a {
    color:#622fed;
}
#nav-main li {
    float:left;
    height:45px;
    position: relative;
    margin:0 15px;
}
#nav-main li a {
    display: block;
    height:45px;
    line-height: 45px;
    font-size:18px;
    text-decoration: none;
    padding:0;
    color: #d7ff01;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 2px;
}
#nav-main li.current-menu-item a,
#nav-main li.current-menu-parent a {
    border-bottom:1px solid #dffe52;
}
#nav-main li:hover a {
    color:#dffe52;
}

/* Start CSS POPUP Menu
=====================================================================*/
#nav ul ul {
    position:absolute;
    z-index:2000;
    display:none;
    width:270px;
    margin: 0;
    top: 45px;
    left:-15px;
    background:none;
    float: none;
    text-align: left;
    background: #dffe52;
    padding: 10px;
}
#nav ul li ul li {
    display: block;
    float: none;
    width:250px;
    height:auto;
    padding: 0;
    position:relative;
    margin: 0;
    box-shadow: none;
}
#nav ul li ul li:last-child {
    border:none;
}
#nav ul li ul li:after {
    display: none;
}
#nav ul ul ul {
    position:absolute;
    z-index:1300;
    display:none;
    width:240px;
    margin: 0;
    top: 0;
    left:240px;
}
#nav ul li ul li.current-menu-item:before,
#nav ul li ul li.current-menu-parent:before {
    display: none;
}
#nav ul li ul li ul li {
    display: inline;
    float: left;
    padding: 0;
    margin: 0 0 1px 0;
    height:auto;
}
#nav #nav-main li ul li a, #nav #nav-main li ul li a:link, #nav #nav-main li ul li a:visited {
    width:210px;
    height:auto;
    line-height: 1.4;
    float:none;
    display: block;
    text-transform:none;
    border:none;
    padding:10px 20px;
    letter-spacing: 0;
    margin:0;
    font-size:16px;
    color:#5c31e4;
    font-weight: normal;
}
#nav #nav-main li:hover ul li a:hover, #nav #nav-main li ul li a:hover {
    color:#dffe52;
    background: #5c31e4;
}
#nav #nav-main li:hover ul li:hover {
    box-shadow: none;
    background: none;
}
nav#nav li:hover ul ul,
nav#nav li li:hover ul ul
{display:none;}


nav#nav li:hover ul,
nav#nav li li:hover ul
{display:block;}
nav#nav li:focus-within ul,
nav#nav li li:focus-within ul
{display:block;}
/* End CSS Drop Down Menu */


.wrapper {
    max-width:1200px;
    margin:0 auto;
    position: relative;
    padding:0 30px;
}
#sep {
    height: 120px;
}
#intro-homepage {
    padding:100px 0;
}
#image-homepage-1 {
    width:80%;
}
#image-homepage-2 {
    width:50%;
    position: absolute;
    z-index: 1;
    bottom:-180px;
    left:0;
    border:10px solid #622fed;
}
#image-intro {
    width:43%;
    float:left;
    position: relative;
    text-align: right;
    margin-top:50px;
}
#text-intro {
    width:44%;
    float:right;
    background: #fff;
    padding:3%;
}
#text-intro h1 {
    font-size:40px;
    color:#191919;
    margin:0 0 40px 0;
    line-height: 1.2;
    font-weight: normal;
}
#text-intro h1 strong {
    font-weight: bold;
}
#text-intro p {
    font-size:20px;
    color:#333;
    line-height: 1.5;
    margin:0 0 40px 0;
}
#button-more {
    height:60px;
    display: inline-block;
    line-height: 60px;
    padding:0 35px;
    font-size:20px;
    background: #d7ff01;
    color:#622fed;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 2px;
    text-decoration: none;
}
#button-more:hover {
    background:#622fed;
    color:#d7ff01;
}
.full-white {
    background: #fff;
    padding:100px 0;
}
.full-color {
    background: none;
    padding:100px 0;
}
.sub-title {
    font-size:40px;
    color:#5c31e4;
    text-align: center;
    font-weight: normal;
    margin:0 0 40px 0;
}
#slideshow-projects {
    position: relative;
    margin: 0;
}
#slideshow-projects figure {
    overflow: hidden;
}
#slideshow-projects .item img {
    transition: transform .5s; /* Animation */
}
#slideshow-projects .item a:hover img {
    transform: scale(1.1);
}
#slideshow-projects .item figure {
    margin:0 0 20px 0;
}
#slideshow-projects .owl-dots {
    display: none;
}
#slideshow-projects .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    z-index: 1;
    right:-50px;
    top:160px;
    text-indent:-9999px;
    width:40px;
    height:40px;
    background: url(images/arrow-right.png) no-repeat;
    background-size:40px 40px;
}
#slideshow-projects .owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    z-index: 1;
    left:-50px;
    top:160px;
    text-indent:-9999px;
    width:40px;
    height:40px;
    background: url(images/arrow-left.png) no-repeat;
    background-size:40px 40px;
}
#slideshow-projects .item a h4, #slideshow-projects .item a:link h4, #slideshow-projects .item a:visited h4 {
    text-decoration: none;
    color:#622fed;
    text-align: center;
    font-size:18px;
}
#slideshow-projects .item a {
    text-decoration: none;
}

/* Page
=====================================================================*/
#main-title {
    margin:80px 0 60px 0;
    font-size:50px;
    color:#dffe52;
}
#main-title.projects {
    text-align: center;
}
.project-image {
    width:47%;
}
.project-content {
    width:48%;
}
.full-white .project-image {
    float:left;
}
.full-white .project-content {
    float:right;
}
.full-color .project-image {
    float:right;
}
.full-color .project-content {
    float:left;
}
.project-content-absolute {
    position: absolute;
    z-index: 1;
    top: 50%; /* Moves the top edge of the div to the vertical center */
    transform: translateY(-50%); /* Shifts the div up by half its own height */
    width:47%;
}
.project-content-absolute h2 {
    font-size:30px;
    color:#111;
    font-weight: bold;
    margin:0 0 30px 0;
}
.full-color .project-content-absolute p  {
    color:#dffe52;
}
.full-color .project-content-absolute h2 a {
    color:#dffe52;
}
.project-content-absolute p {
    font-size:18px;
    color:#333;
    line-height: 1.4;
}
.project-content-absolute h2 a {
    color:#111;
    text-decoration: none;
}
.project-content-absolute h2 a:hover {
    text-decoration: underline;
}
#photo-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 2rem;
    margin-bottom:2rem;
}
.photo-grid {
    display: flex;
    flex-flow: column nowrap;
}
.pagination,
#pagination {
    clear:both;
    margin:30px 0;
    height:30px;
}
.pagination h2 {
    text-transform: uppercase;
    font-size:14px;
    color:#111;
    font-weight: bold;
    margin:0 0 5px 0;
}
.nav-links {
    height: 30px;
    float:left;
    line-height: 30px;
}
#pagination .page-numbers,
.nav-links .page-numbers {
    width:30px;
    height: 30px;
    line-height: 30px;
    border:1px solid #9d96bc;
    float:left;
    margin:0 5px 5px 0;
    text-align: center;
    text-decoration: none;
}
#pagination .page-numbers.next,
#pagination .page-numbers.prev,
.nav-links .page-numbers.next,
.nav-links .page-numbers.prev {
    width:auto;
    padding:0 10px;
    font-weight: bold;
}
#pagination .page-numbers.current {
    color:#d6dbdd;
    border:1px solid #d6dbdd;
}
#projects-detail {
    width:80%;
    margin:0 auto;
}
.wpb-posts-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 70px auto 80px auto;
    padding:0 20px;
} 
.wpb-posts-nav a {
    display: grid;
    grid-gap: 20px;
    align-items: center;
} 
.wpb-posts-nav h4,
.wpb-posts-nav strong {
    margin: 0;
}
.wpb-posts-nav h4 {
    font-size:20px;
}
.wpb-posts-nav a svg {
    display: inline-block;
    margin: -2px 0 0 0;
    vertical-align: middle;
}
.wpb-posts-nav > div:nth-child(1) a {
    grid-template-columns: 100px 1fr;
    text-align: left;
} 
.wpb-posts-nav > div:nth-child(2) a {
    grid-template-columns: 1fr 100px;
    text-align: right;
} 
.wpb-posts-nav__thumbnail {
    display: block;
    margin: 0;
} 
.wpb-posts-nav__thumbnail img {
    border-radius: 10px;
}
.wpb-posts-nav a {
    text-decoration: none;
}
.wpb-posts-nav a strong {
    color:#333;
    font-weight: normal;
}

/* Contact
=====================================================================*/
.wpcf7-form .wpcf7-text, .wpcf7-form .wpcf7-textarea, .wpcf7-form .wpcf7-select {
    height:38px;
    line-height:38px;
    width:90%;
    background:#fff;
    border:1px solid #d0d0d0;
    padding:0 5px;
    outline: none;
    margin:0 0 12px 0;
    font-size:16px;
}
.wpcf7-form .wpcf7-select {
    width:40%;
}
.wpcf7-form .wpcf7-textarea {
    height:200px;
}
.wpcf7-form .wpcf7-text, .wpcf7-form .wpcf7-textarea {
    margin:5px 0 0 0;
}
.wpcf7-form-control-wrap {
        margin:0 0 28px 0;
}
.wpcf7-form .wpcf7-submit {
    background: #5c31e4;
    font-size:16px;
    text-transform: uppercase;
    display: block;
    height: 50px;
    width:170px;
    text-align: center;
    color:#fff;
    font-weight: bold;
    text-decoration: none;
    border:none;
    border-radius:5px;
    cursor: pointer;
    border:1px solid #5c31e4;
}
.wpcf7-form .wpcf7-submit:hover {
    background: #fff;
    color:#5c31e4;
}

/* Typography
=====================================================================*/
.static-page img {
    margin:5px 0 0 0;
    height:auto;
    width:100%;
    max-width:100%;
}
.static-page img.imgframe {
    max-width:97.5%;
    border:5px solid #f3f6f8;
}
img.alignleft, .static-page img.alignleft {
    margin-right:35px;
    float:left;
}
img.alignright, .static-page img.alignright {
    margin-left:35px;
    float:right;
}
.static-page h1,
.static-page h2,
.static-page h3,
.static-page h4,
.static-page h5,
.static-page h6 {
    line-height: 1.3;
    color:#111;
}
.static-page h1 {
    font-size: 36px;
    margin: 35px 0;
}
.static-page h2 {
    font-size: 30px;
    margin: 30px 0;
}
.static-page h3 {
    font-size: 26px;
    margin: 27px 0;
}
.static-page h4 {
    font-size: 22px;
    margin: 30px 0;
}
.static-page h5 {
    font-size: 20px;
    margin: 35px 0;
}
.static-page h6 {
    font-size: 18px;
    margin: 41px 0;
}
.static-page p {
    margin: 0 0 30px;
    font-size: 20px;
    color: #333;
    line-height: 1.6;
}
.static-page hr {
    border: 0;
    text-align: center;
    margin:45px 0;
}
.static-page hr:before {
    content: "\2022   \2022   \2022   \2022";
    font-size: 44px;
    color: #020eee;
}
.align-center {
    text-align: center;
}
.static-page ul, .static-page ol {
    margin: 0 0 30px 30px;
    line-height: 1.6;
    font-size: 20px;
    color:#333;
}
.static-page ul {
    list-style-position: outside;
}
.static-page ul li {
    position: relative;
    padding-left: 0;
    text-indent: 0;    

}
.static-page blockquote {
    margin: 0 0 30px;
    line-height: 1.5;
    font-size: 20px;
    color:#111;
    font-weight: 300;
    padding:0 0 0 40px;
    position: relative;
    overflow:hidden;
}
.static-page blockquote:before {
    content:'\201C';
    font-size:90px;
    color:#8279aa;
    line-height: 1.2;
    position: absolute;
    height:50px;
    left:0;
    top:-15px;
}
.static-page blockquote p {
    font-size:20px;
    line-height: 1.5;
    font-weight: 300;
}
.static-page blockquote cite {
    text-align: right;
    font-size: 16px;
    display: block;
}
pre {
    font-size: 16px;
    padding: 0 0 0 10px;
    margin: 0;
    background: #e7e7e7;
    border-left: 1px solid #b8b8b8;
    overflow: auto;
    overflow-y: hidden;
    line-height:1.6em;
    margin-top:1.6em;
    margin-bottom:1.6em;
    color:#686868;
    font-family: 'Courier New', 'Courier', serif;
}
pre code {
    margin: 0 0 0 20px; 
    padding: 18px 0;
    display: block;
}
.wp-block-audio,
.wp-block-gallery {
    margin:0 0 30px 0;
}
.wp-block-embed-youtube .wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } 
.wp-block-embed-youtube .wp-block-embed__wrapper  iframe, .wp-block-embed-youtube .wp-block-embed__wrapper  object, .wp-block-embed-youtube .wp-block-embed__wrapper  embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.wp-block-embed-vimeo .wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } 
.wp-block-embed-vimeo .wp-block-embed__wrapper  iframe, .wp-block-embed-vimeo .wp-block-embed__wrapper  object, .wp-block-embed-vimeo .wp-block-embed__wrapper  embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.wp-block-embed {
    margin: 0 0 40px 0;
}
.wp-block-image {
    margin: 0 0 40px 0;
    clear:both;
}
.wp-block-image img {
    margin-bottom:8px;
}
.wp-block-image figcaption {
    font-size: 14px;
    color: #333;
    text-align: center;
    font-weight: 300;
}
.wp-block-image .alignleft {
    width:40%;
    margin-right:60px;
}
.wp-block-image .alignright {
    width:40%;
    margin-left:60px;
}
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    margin:0;
}
.static-page .wp-block-columns img {
    width:100%;
    max-width:100%;
    margin-left:0;
}
.static-page table {
    margin:0 0 10px 0;
    border-collapse: collapse;
    width: 100%;
}
.static-page table td, .static-page table th {
    border: 1px solid #ddd;
    padding: 10px;
}
.static-page table tr:nth-child(even){
    background-color: #f2f2f2;
}
.static-page table tr:hover {
    background-color: #ddd;
}
.static-page table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #1c8185;
    color: #fff;
}
.wp-block-table thead {
    border-bottom:1px solid #ddd !important;
}
.wp-block-file *+.wp-block-file__button {
    display: inline-block;
    padding:5px 10px;
}
.wp-block-file *+.wp-block-file__button:hover {
    color:#fff;
}
.static-page figcaption {
    font-size:16px;
    position: relative;
    color:#999;
    margin:10px 0 20px 0;
    padding:5px 0 0 0;
    font-weight: 300;
}
/*.static-page figcaption:before {
    content:"";
    height:1px;
    background: #d0d0d0;
    width:60px;
    position:absolute;
    top:0;
    left:0;
}*/

/* Footer
=====================================================================*/
#main-footer {
    padding:40px 0;
}
#main-footer h5 {
    float:left;
    font-size:14px;
    color:#d7ff01;
    font-weight: 300;
    margin:5px 0 0 0;
}
#link-instagram {
    float:right;
    width:25px;
}
#link-instagram svg {
    fill:#d7ff01;
}
#link-instagram:hover svg {
    fill:#d7ff01;
}

/* CSS for Small laptop
=====================================================================*/
@media screen and (max-width: 1300px) {
    .wrapper {
        min-width:0;
        width:auto;
        padding:0 20px;
        height:auto;
    }
    
}
/* CSS for Small laptop
=====================================================================*/
@media screen and (max-width: 1200px) {
    .menu-button-container {
        display: block;
    }
    #menu-toggle:checked ~ #nav {
        display: block;
    }
    #menu-toggle:checked ~ .menu-button-container .menu-button {
        
    }
    #menu-toggle ~ #nav {
        display: none;
    }
    #nav {
        position: fixed;
        left:0;
        top: 0;
        width: 100%;
        height: 100%;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background-color: rgba(0, 0, 0, 0.8);
        overflow: hidden;
        transition: width 0.3s ease;
        -moz-transition: width 0.3s ease;
        -webkit-transition: width 0.3s ease;
        -o-transition: width 0.3s ease;
        z-index:2000;
        margin:0;
        padding:0;
        display: none;
    }
    #nav-container {
        width:80%;
        height: 100%;
        box-shadow:3px 0 5px rgba(0,0,0,0.5);
        background: #622fed;
        overflow: scroll;
        left:0;
        top: 0;
        z-index:2100;
        position: absolute;
    }
    .close-menu-big {
        text-indent: -9999px;
        display: block;
        height: 100%;
    }
    #nav {
        border: none;
        margin-top:0;
    }
    #nav-main {
      float: none;
      text-align: left;
      border: none;
      padding: 0;
      height: auto;
      margin-top:100px;
      margin-left:0;
    }
    #nav-main li {
        height:auto;
        float:none;
        position: relative;
        display: block;
        border:none;
        background: none;
        box-shadow: none;
        font-size:14px;
        padding:0 20px;
        text-shadow:none;
    }
    #nav-main li:after {
        display: none;
    }
    #nav-main li.current-menu-item:before,
    #nav-main li.current-menu-parent:before {
        display: none;
    }
    #nav-main li a, #nav-main li:hover a, #nav-main li a:hover {
        height:auto;
        float:none;
        text-align: left;
        display: block;
        color:#d7ff01;
        text-decoration: none;
        background: none;
        box-shadow: none;
        border: none;
        font-weight: bold;
        line-height:18px;
        padding:10px 10px;
        font-size:18px;
        -webkit-transition: none; 
        -moz-transition: none;
        transition: none; 
    }
    #nav-main li a:hover {
        background: none;
        padding:10px 10px;
    }
    #nav-main li:hover {
        background: none;
        box-shadow: none;
    }
    #nav-main li.current-menu-item a,
    #nav-main li.current-menu-parent a {
        background: #593c8f;
        border-radius: 5px;
        color:#fff;
        border:none;
        box-shadow:none;
        text-shadow:none;
        height:auto;
        padding:10px 10px;
        font-weight: normal;
    }
    #nav ul ul, #nav ul ul ul {
        position:relative;
        z-index:2000;
        display:block;
        width:auto;
        margin: 0 0 10px 0;
        top: auto;
        left:auto;
        background:none;
        padding:0;
        float: none;
        text-align: left;
        box-shadow: none;
        border:none;
    }
    #nav ul ul:before {
        display: none;
    }
    #nav ul li ul li, #nav ul li ul li ul li {
        height:auto;
        float:none;
        position: relative;
        display: block;
        width:auto;
        border:none;
    }
    #nav ul li ul li.menu-item-has-children ul {
        margin-left:15px;
    }
    #nav #nav-main li ul li a, #nav #nav-main li ul li a:link, #nav #nav-main li ul li a:visited {
          width:auto;
          height:auto;
          text-transform: uppercase;
          border:none;
          background: none;
          margin:0;
          box-shadow:none;
          text-shadow:none;
          border:none;
          margin-left:10px;
          color:#d7ff01;
        padding:10px 10px;
        font-size:18px;
        font-weight: normal;
    }
    #nav #nav-main li:hover ul li a:hover, #nav #nav-main li ul li a:hover, #nav-main li.current-menu-item ul li a:hover, #nav-main li.current-menu-parent ul li a:hover{
      background: none;
      text-decoration: none;
      padding:10px 10px;
      color:#d7ff01;
    }
    #nav-main li:hover, #nav-main li.current-menu-item, #nav-main li:hover, #nav-main li.current-menu-parent, #nav .menu ul li:hover, #nav .menu ul li.current-menu-item, #nav .menu ul li.current-menu-parent {
        background:none;
        box-shadow: none;
    }
    nav#nav li:hover ul ul,
    nav#nav li li:hover ul ul
        {display:block;}

    nav#nav li:hover ul,
    nav#nav li li:hover ul
        {display:block;}
    #nav:target {
        width: 100%;
    }
    .menu-button {
        text-decoration: none;
        display: block;
        width:50px;
        height: 50px;
        padding:0;
        position: absolute;
        z-index:2100;
        left:20px;
        top:35px;
        text-align: center;
        color:#fff;
        font-size:28px;
        background: #d7ff01;
        border:none;
        line-height: 55px;
    }
    #main-header, #main-header.small {
        position: absolute;
    }
    #logo {
        margin-left:50px;
        font-size:30px;
    }
    #logo:before {
        display: none;
    }
    #slideshow-projects {
        padding-bottom:30px;
    }
    #slideshow-projects .owl-carousel .owl-nav button.owl-prev {
        top:auto;
        bottom:-70px;
        left:50%;
        margin-left:-60px;
    }
    #slideshow-projects .owl-carousel .owl-nav button.owl-next {
        top:auto;
        bottom:-70px;
        right:50%;
        margin-right:-60px;
    }
    
}
/* CSS for iPad Landscape
=====================================================================*/
@media screen and (max-width: 1024px) {
    img,
    img[class*="align"],
    img[class*="wp-image-"] {
        max-width: 100% !important;
        height: auto !important;
    }
    .entry-content img,
    .comment-content img,
    .widget img {
        max-width: 100%; /* Fluid images for posts, comments, and widgets */
    }
    img.size-full {
        max-width: 100%;
        width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
    }
    #text-intro h1 {
        font-size:34px;
    }
    #text-intro {
        width:52%;
    }
    #main-title {
        font-size:40px;
        margin:60px 0 40px 0;
    }
    #photo-group {
        grid-gap:1rem;
        margin-bottom:1rem;
    }
}

/* CSS for iPad Portrait
=====================================================================*/
@media screen and (max-width: 800px) {
    #text-intro {
        width:92%;
        float:none;
        margin:0 0 60px 0;
        padding:4%;
    }
    #image-intro {
        width:100%;
        float:none;
        text-align: center;
    }
    #intro-homepage {
        padding:70px 0;
    }
    .full-white {
        padding:70px 0;
    }
    .full-color {
        padding:70px 0;
    }
    #image-homepage-1 {
        margin-bottom:220px;
    }
    #image-homepage-2 {
        bottom:0;
    }
    #photo-group {
        grid-template-columns: 1fr 1fr;
    }
    .full-white .project-image, .project-image {
        width:100%;
        float:none;
    }
    .full-white .project-content, .project-content {
        width:100%;
        float:none;
        margin:0 0 40px 0;
    }
    .project-content-absolute {
        position: relative;
        top:auto;
        width:100%;
        transform:none;
    }
    .wpb-posts-nav h4 {
        font-size:18px;
    }
}

/* CSS for Smartphone, ex: iPhone, Android, Blackberry
=====================================================================*/
@media screen and (max-width: 650px) {
    #main-header .wrapper {
        padding:0 20px;
    }
    #logo {
        font-size:21px;
        margin-left:15px;
    }
    #text-intro h1 {
        font-size:30px;
    }
    .menu-button {
        left:0;
    }
    #button-more {
        display: block;
        width:100%;
        height:55px;
        line-height: 55px;
        text-align: center;
        padding:0;
    }
    #image-homepage-1 {
        width:100%;
        margin:0 0 20px 0;
    }
    #image-homepage-2 {
        position: relative;
        left:auto;
        bottom:auto;
        border:none;
        width:100%;
    }
    #main-footer h5 {
        float:none;
        text-align: center;
        margin:0 0 10px 0;
    }
    #link-instagram {
        float:none;
        display: block;
        margin:0 auto;
    }
    .sub-title {
        font-size:36px;
    }
    #main-title {
        font-size:36px;
        line-height: 1.4;
    }
    #photo-group {
        grid-gap:0;
        margin-bottom:0;
    }
    #projects-detail {
        width:100%;
    }
    .wpb-posts-nav {
        grid-template-columns: 1fr;
    }

}