/* Styles reset =================================================== */

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

html,body,body div,span,object,iframe,h1,h2,h3,h5,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: bottom;
    background: transparent;
}

article,aside,figure,footer,header,hgroup,nav,section {
    display: block;
}

/* Fonts icons =================================================== */

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot');
    src: url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.woff') format('woff'),
    url('../fonts/icomoon.ttf') format('truetype'),
    url('../fonts/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"],
[class*=" icon-"] {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

.icon-heart:before {
    content: "\e9da";
    font-size: 35px;
    color: #666666;
}

.icon-eye-plus:before {
    content: "\e9cf";
    font-size: 45px;
    color: #666666;
}

.icon-checkbox-checked:before {
    content: "\ea52";
    font-size: 35px;
    color: #666666;
}

.icon-stack:before {
    content: "\e92e";
    font-size: 35px;
    color: #666666;
}

.icon-facebook:before {
    content: "\ea90";
    font-size: 24px;
    color: #ffffff;
}

.icon-youtube2:before {
    content: "\ea9e";
    font-size: 24px;
    color: #ffffff;
}

.icon-google-plus:before {
    content: "\ea8b";
    font-size: 24px;
    color: #ffffff;
}

.icon-linkedin2:before {
    content: "\eaca";
    font-size: 24px;
    color: #ffffff;
}

/* Row fixes =================================================== */

.clearfix,
section,
.top-row,
.center-row,
.bottom-row {
    *zoom: 1;
}

.clearfix:before,
section:before,
.top-row:before,
.center-row:before,
.bottom-row:before,
.clearfix:after,
section:after,
.top-row:after,
.center-row:after,
.bottom-row:after {
    display: table;
    content: "";
}

.clearfix:after,
section:after,
.top-row:after,
.center-row:after,
.bottom-row:after {
    clear: both;
}

/* Helpers =================================================== */

.wd-shadow-very-light-grey {
    box-shadow: 5px 5px 0 #ccc;
}

.wd-mt-10 {
    margin-top: 10px;
}

.wd-mt-32 {
    margin-top: 32px;
}

.wd-mt-50 {
    margin-top: 50px;
}

.wd-ml-20 {
    margin-left: 20px;
}

.wd-ml-50 {
    margin-left: 50px;
}

.wd-mr-50 {
    margin-right: 50px;
}

.wd-mt-100 {
    margin-top: 100px;
}

.wd-mt-200 {
    margin-top: 200px;
}

.wd-ma-auto {
    margin: auto;
}

.wd-ta-center {
    text-align: center;
}

/* Page base style */

html {
    font-size: 62.5%;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif, "Helvetica Neue", Helvetica, Arial, Sans-serif;
    background-color: --background-light;
    font-size: 18px;
    font-size: 1.8rem;
    color: #111111;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    position: relative;
}

a {
    color: #666666;
}

/* Navigation */

#mainNav {
    top: 0px;
    width: 100%;
    height: 90px;
    background: #000;
}

header {
    background: #000;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    position: absolute;
    z-index: 1000;
    font-family: "Montserrat", sans-serif, "Helvetica Neue", Helvetica, Arial, Sans-serif;
}

.logo {
    margin: 5px 25px;
    height: 80px;
    width: 62px;
    background: url(../images/jfg-logo.png) 0px 0px no-repeat;
    display: block;
    text-indent: -9999px;
    float: left;
}

.logo:link,
.logo:visited {
    opacity: 1;
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}

.logo:hover,
.logo:active {
    opacity: 0.5;
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}

#mobile-menu {
    margin-left: 0;
}

.black ul li a {
    color: rgba(255, 255, 255, 1);
    line-height: 8.8rem;
    padding: 0px 25px;
    font-size: 18px;
    font-size: 1.8rem;
    border-right: 1px solid #585454;
    text-decoration: none;
    cursor: pointer;
}

.black .sub-menu {
    background-color: #000000;
}

.is-dropdown-submenu {
    display: none;
}

.black ul li.sub-menu {
    height: auto;
}

.black ul li.sub-menu.is-submenu-item.is-accordion-submenu-item {
    background-color: #585454;
}

.black ul li.sub-menu a {
    padding: 0px 2rem 0px;
    margin: 0px;
    border-right: none;
    border-top:
}

.black ul li:last-of-type a {
    border: none;
}

.black ul li a:link,
a:visited {
    color: rgba(255, 255, 255, 1);
    -webkit-transition: color .2s;
    -moz-transition: color .2s;
    -ms-transition: color .2s;
    -o-transition: color .2s;
    transition: color .2s;
}

.black ul li a:hover,
a:active {
    color: rgba(255, 255, 255, 0.5);
    -webkit-transition: color .2s;
    -moz-transition: color .2s;
    -ms-transition: color .2s;
    -o-transition: color .2s;
    transition: color .2s;
}

/*SOCIAL LINKS*/

ul.social {
    list-style: none;
    display: none;
}

.social li {
    display: inline-block;
}

.social li.facebook a,
.social li.youtube a,
.social li.googleplus a,
.social li.linkedin a {
    padding: 12px;
    border-right: none;
    cursor: pointer;
}

.social li a span {
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
}

.social a:link,
.social a:visited {
    opacity: 1;
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}

.social a:hover,
.social a:active {
    opacity: 0.5;
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}

/* Horizontal paralax section */

.main {
    position: relative;
    border-bottom: #ddd solid 1px;
    border-top: #ddd solid 1px;
}

h1 a {
    text-decoration: none;
    color: #111111;
    cursor: pointer;
}

h1 > a:link,
h1 > a:visited,
h1 > a:hover,
h1 > a:active {
    color: #111111;
}

h2 {
    font-family: "Montserrat", sans-serif, "Helvetica Neue", Helvetica, Arial, Sans-serif;
    font-size: 20px;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    line-height: 1.5em;
    color: #777777;
}

h3 {
    font-family: "Montserrat", sans-serif, "Helvetica Neue", Helvetica, Arial, Sans-serif;
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.07em;
    line-height: 1.8em;
    color: #555555;
}

h4 {
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -150px;
    width: 300px;
    text-align: center;
    display: block;
    color: #666666;
    background: #fafafa;
    text-transform: uppercase;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 2.5rem;
    font-weight: normal;
    letter-spacing: 1px;
    padding: 0px;
}

h5 {
    font-family: "Montserrat", sans-serif, "Helvetica Neue", Helvetica, Arial, Sans-serif;
    font-size: 15px;
    font-size: 1.5rem;
    font-weight: 250;
    letter-spacing: 0.07em;
    line-height: 1.5em;
    color: #666666;
}

h6 {
    font-family: "Montserrat", sans-serif, "Helvetica Neue", Helvetica, Arial, Sans-serif;
    font-size: 45px;
    font-size: 4.5rem;
    font-weight: 250;
    letter-spacing: 0.07em;
    line-height: 1.5em;
    color: #000;
}

.hidden {
    display: none!important;
}

.showimage {
    display: block!important;
    margin: auto;
    max-width: 100%;
}

.displayblock {
    display: inline-block!important;
}

.coder .description h1,
.designer .description h1 {
    font-family: "Montserrat", sans-serif, "Helvetica Neue", Helvetica, Arial, Sans-serif;
    font-size: 60px;
    font-size: 6rem;
    font-weight: 400;
    letter-spacing: -0.07em;
    line-height: 1.5em;
}

.coder .description p,
.designer .description p {
    font-family: "Montserrat", sans-serif, "Helvetica Neue", Helvetica, Arial, Sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    color: #726f6f;
    line-height: 2.2rem;
    display: block;
}

#mainContainer {
    margin: 0 auto;
    width: 100%;
}

.designer-coder-container {
    width: 100%;
    position: relative;
    margin: auto;
    max-width: 1920px;
}

#mainContainer img.face-img {
    display: none;
}

#designer {
    float: left;
    display: inline-block;
    background: url("../images/jean-francois-galarneau-designer-1040x600.png") 432px 0px no-repeat;
    background-size: 1040px 600px;
    background-attachment: local;
    background-clip: padding-box;
}

#coder {
    position: absolute;
    display: inline-block;
    background: url("../images/jean-francois-galarneau-coder-1040x600.png") 432px 91px no-repeat;
    background-size: 1040px 600px;
    background-attachment: fixed;
    background-clip: padding-box;
}

.separators {
    width: 50%;
    height: 600px;
    overflow-x: hidden;
    display: inline;
}

.designer .description {
    position: absolute;
    top: 6.7em;
    /*120px / 18px*/
    left: 25.5em;
    /*460px / 18px*/
    width: 280px;
    z-index: 10;
}

.coder .description {
    position: absolute;
    top: 6.7em;
    /*120px / 18px*/
    right: 25.5em;
    /*460px / 18px*/
    width: 280px;
    z-index: 10;
}

article {
    width: 100%;
    height: auto;
    clear: both;
}

section.gradient-bg {
    padding: 4.5em 5%;
    background: #fafafa;
    border-bottom: #dddddd solid 1px;
}

.header-center {
    height: 1px;
    background: #DDD;
    margin-bottom: 30px;
    position: relative;
}

.details {
    padding: 10px;
}

.details p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: 200;
    color: #929292;
}

.reveal p {
    margin-top: 10px;
    color: #666;
    font-family: sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

footer {
    background: #f5f5f5;
    height: auto;
    padding: 40px 5% 10px 5%;
    color: #666666;
    font-size: 16px;
    font-size: 1.6rem;
    font-family: "Montserrat", sans-serif, "Helvetica Neue", Helvetica, Arial, Sans-serif;
    text-align: center;
    position: relative;
    -webkit-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
}

footer .button-footer {
    position: absolute;
    width: 100%;
    height: 50px;
    top: -50px;
    left: 0px;
    z-index: 0;
    background-color: rgba(255, 255, 255, 0);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ffffff), color-stop(1, rgba(255, 255, 255, 0)));
    background-image: -ms-linear-gradient(bottom, #ffffff, rgba(255, 255, 255, 0));
    background-image: -moz-linear-gradient(bottom, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    background-image: -o-linear-gradient(bottom, #ffffff, rgba(255, 255, 255, 0));
}

footer .left {
    float: none !important;
}

footer a.scroll-top {
    background: transparent url(../images/sprite.png) 0 -127px;
    width: 118px;
    height: 50px;
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -59px;
    bottom: -4px;
    z-index: 1;
    text-indent: -9999px;
}

nav.grey {
    margin-top: 10px;
    margin-left: 25%;
    margin-bottom: 40px;
    float: left;
    display: block;
}

nav.grey ul li {
    list-style-type: none;
    float: left;
}

nav.grey li a {
    margin-right: 45px;
    color: #666666;
    text-decoration: none;
}

nav.grey ul li a:link,
a:visited {
    color: rgba(0, 0, 0, 1);
    -webkit-transition: color .2s;
    -moz-transition: color .2s;
    -ms-transition: color .2s;
    -o-transition: color .2s;
    transition: color .2s;
}

nav.grey ul li a:hover,
a:active {
    color: rgba(0, 0, 0, 1);
}

/* Thumbnails & effects */

.thumbs {
    list-style-type: none;
    padding: 0 0 20px 0;
}

.thumb {
    position: relative;
}

.thumbs li img {
    display: block;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    margin: 0;
}

.thumb-image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.thumb-description {
    opacity: 0;
    transition: .5s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    text-transform: uppercase;
    transform: translate(-50%, -170%);
    -ms-transform: translate(-50%, -170%);
}

.thumb:hover .thumb-image,
.thumb:hover .about-thumb-image {
    opacity: 0.3;
}

.thumb:hover .thumb-description,
.thumb:hover .about-thumb-description {
    opacity: 1;
    display: block;
}

.thumb-text a {
    color: white;
    font-size: 0.6em;
    padding: 1rem 2rem;
    background-color: #333;
    text-decoration: none;
}

.thumb-text a:hover {
    color: white;
    text-decoration: none;
}

.about-thumb-description {
    opacity: 0;
    transition: .5s ease;
    position: absolute;
    width: 70%;
    top: 50%;
    left: 50%;
    text-align: center;
    text-transform: uppercase;
    transform: translate(-50%, -150%);
    -ms-transform: translate(-50%, -150%);
}

.about-thumb-text a {
    color: white;
    font-size: 0.6em;
    padding: 1rem 2rem;
    background-color: #333;
    text-decoration: none;
}

.about-thumb-text a:hover {
    color: white;
    text-decoration: none;
}

/* Marketing Projects section */

#slideshow {
    margin: 0 auto;
    z-index: 1;
    position: relative;
    overflow: hidden;
    height: 400px;
    background: url(../images/banner-blog-1920x960.jpg) 50% middle center no-repeat;
    background-size: cover;
    background-position: 50% middle center;
    background-repeat: no-repeat;
    max-width: 1080px;
}

.icon-prev,
.icon-next {
    font-size: 8.5rem !important;
}

.wp-banner-navigation {
    position: absolute;
    margin: 350px 45% 0px;
    z-index: 2;
}

.wp-inner-banner-navigation {
    width: 182px;
    height: 50px;
}

.wp-banner-navigation ul {
    margin: 20px 30px;
    list-style: none;
    float: left;
}

.wp-banner-navigation li {
    width: 12px;
    height: 12px;
    margin: 0px 0px 0px 20px;
    border-radius: 14px;
    border: 2px solid #0202;
    cursor: pointer;
    float: left;
    background-color: rgba(255, 255, 255, 0);
}

.wp-banner-navigation li:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel {
    height: 400px;
}

.carousel-inner {
    height: 400px;
}

.carousel-inner > .item.active {
    height: 400px;
}

.carousel-caption {
    color: #333;
    text-shadow: none;
    background-color: #f5f5f5;
}

.carousel-caption p {
    color: #666666;
    font-weight: 200;
}

@media screen and (min-width: 768px) {
    .carousel-indicators {
        bottom: 34px;
    }
}

.carousel-indicators li {
    border: 1px solid #b8b3b3;
}

.carousel-indicators .inactive {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators .active {
    background: #0696d7 !important;
    background-color: #0696d7 !important;
}

/*Fix for scrolling with slider*/

.hidden {
    display: none;
}

/*Skills section*/

.designer-list,
.coder-list,
.center-chart {
    display: inline-block;
}

.designer-list,
.coder-list {
    vertical-align: top;
}

.designer-list,
.coder-list {
    margin: 5% 0% 0% 1%;
}

.pdf-container img {
    width: 32px;
    height: auto;
    display: inline-block;
}

.pdf-container p {
    margin-left: -45px;
}

.pdf-container a {
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}

.skills-container {
    position: relative;
    margin: auto;
    width: 90%;
    height: 400px;
    max-width: 1000px;
    background: #EEEEEE url('../images/grid.png') center bottom;
    border-bottom: 4px solid #CCCCCC;
    border-left: 4px solid #CCCCCC;
    padding: 70px 0px 20px 20px;
    margin-bottom: 20px;
}

.skills-container .graph-bar {
    width: 18%;
    margin: 0px 1%;
    border-radius: 10px;
    display: table-cell;
    visibility: hidden;
}

.skills-container .bar-1 {
    height: 320px;
    background-color: #a1d4fb;
    display: inline-block;
}

.skills-container .bar-2 {
    height: 320px;
    background-color: #E44D26;
    display: inline-block;
}

.skills-container .bar-3 {
    height: 290px;
    background-color: #1572B6;
    display: inline-block;
}

.skills-container .bar-4 {
    height: 250px;
    background-color: #F7DF1E;
    display: inline-block;
}

.bar-1 img {
    margin: 5% 25%;
}

.bar-2 svg {
    height: 80px;
    margin: 5% 25%;
    width: 100%;
    max-width: 80px;
}

.bar-3 svg {
    height: 80px;
    margin: 5% 30%;
    width: 100%;
    max-width: 60px;
}

.bar-4 svg {
    height: 80px;
    margin: 0% 30%;
    width: 100%;
    max-width: 60px;
}

.bar-1 .percent,
.bar-2 .percent,
.bar-3 .percent,
.bar-4 .percent {
    color: #fff;
    margin: 0% 25%;
    display: block;
    opacity: 0.4;
    font-size: 45px;
    font-size: 4.5rem;
    width: 100%;
    line-height: 1em;
}

.main-skills-grid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
}

.other-skills-item {
    padding: 10px;
}

.main-skills-svg {
    width: 80px;
}

.main-skills-magento-svg {
    width: 160px;
}

.span {
    width: 220px;
}

div[class*=span] {
    float: left;
    min-height: 1px;
    margin-left: 20px;
}

.values-set {
    padding: 1.5em 0% 0% 0%;
}

.value-prop {
    text-align: center;
}

.value-prop h5 {
    padding-top: 10px;
}

span.icon-eye-plus ~ h5 {
    padding-top: 0px;
}

.value-prop p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: 200;
    color: #929292;
    line-height: 2rem;
}

/*menu section*/

.profile-container {
    float: left;
    padding-left: 3%;
    display: inline-block;
}

.form-container {
    padding-left: 2%;
}

.form-container p {
    max-width: 450px;
}

img.profile {
    float: right;
    display: inline-block;
    border: 2px solid #efefef;
}

.profile-container p, .form-container p {
    color: #666;
    line-height: 3.3rem;
}

.profile-container ul {
    list-style-type: none;
}

.social-disc li a.facebook {
    background-position: 0px -220px;
    color: #43609c;
}

.social-disc li a.youtube {
    background-position: 0px -322px;
    color: #ff3334;
}

.social-disc li a.googleplus {
    background-position: 0px -373px;
    color: #d23337;
}

.social-disc li a.linkedin {
    background-position: 0px -270px;
    color: #007bb6;
}

.social-disc li a {
    margin-top: 10px;
    padding-left: 60px;
    line-height: 50px;
    display: block;
    height: 50px;
    background: url(../images/sprite.png) no-repeat;
    text-decoration: none;
    font-size: 18px;
    font-size: 1.8rem;
}

.social-disc a:link,
.social-disc a:visited {
    opacity: 0.5;
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}

.social-disc a:hover,
.social-disc a:active {
    opacity: 1;
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}

.grid {
    display: flex;
    flex-wrap: nowrap;
    max-width: 1040px;
    margin: 0px auto;
}

.column {
    padding: 0px 0% 0% 4%;
}

.work-description {
    align-self: flex-start;
    max-width: 900px;
    margin-bottom: 20px;
}

.work-description h2 {
    margin-top: 1em;
}

.work-description a {
    text-decoration: underline;
}

.work-description a:hover {
    color: #999;
}

.media-img-item {
    min-width: 600px;
    align-self: flex-start;
}

/* Email slideshow section*/

.cycle-slideshow {
    list-style-type: none;
}

#cycle-slideshow {
    margin: 0 auto;
    position: relative;
    height: 800px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 600px;
}

#cycle-slideshow .email {
    background: url("../images/autodesk-newsletters-desktop-600x800.jpg") 50% 0px no-repeat;   
}
#cycle-slideshow .manufacture {
    background: url("../images/manufacturing-gateway-600x800.jpg") 50% 0px no-repeat;   
}
#cycle-slideshow .auto-app {
    background: url("../images/autodesk-autocad-mobile-app-600x800.jpg") 50% 0px no-repeat;   
}

#cycle-slideshow {
    opacity: 1;
    transition: opacity 1s;
}

#cycle-slideshow.fadeOut {
    opacity: 0;
}

.slideshow-banner {
    max-width: 100%;
    height: 850px;
    background-color: #f9f9f9;
}

.slideshow-banner-navigation {
    width: 100%;
    height: auto;
    background-color: #f9f9f9;
}

.inner-banner-navigation {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 182px;
    height: 50px;
}

.inner-banner-navigation ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 30px 0px;
    padding: 0px;
    list-style: none;
}

.inner-banner-navigation li {
    list-style-type: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 12px;
    height: 12px;
    margin: 0px 0px 0px 20px;
    border-radius: 14px;
    border: 2px solid #cccccc;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0);
}

.inner-banner-navigation li:first-child {
    margin: 0px;
}

.inner-banner-navigation .inactive {
    border: 2px solid #cccccc;
    background-color: rgba(255, 255, 255, 0);
    transition: background 1s;
    -webkit-transition: background-color 1s;
}

.inner-banner-navigation .active {
    border: none;
    background-color: rgba(6, 150, 215, 1);
}

@media only screen and (max-width: 688px) {
    #cycle-slideshow {
        background-size: 100% auto;
        padding-top: 120%;
        /* 3:4 Aspect Ratio */
        max-width: 100%;
        height: auto;
    }
    .slideshow-banner {
        height: auto;
    }
}

/*BMR Grid gallery section*/

.gallery-container {
    background-color: #00732b;
    margin-top: 20px;
    align-self: flex-start;
}

.grid-gallery {
    display: grid;
    grid-gap: 1px;
    grid-template-columns: 160px 300px 300px 128px;
    grid-template-rows: 90px 64px 90px 150px 100px 350px;
}

.horizontal-1 img {
    max-width: 728px;
    height: auto;
}

.horizontal-2 img {
    max-width: 600px;
    height: auto;
}

.vertical-1 img {
    max-width: 160px;
    height: auto;
}

.vertical-2 img {
    max-width: 600px;
    height: auto;
}

.horizontal-1 {
    grid-row: 1 / 2;
    grid-column: 2 / -1;
}

.horizontal-2 {
    grid-row: 2 / span 2;
    grid-column: 2 / -1;
}

.vertical-1 {
    grid-row: 1 / -1;
    grid-column: 1 / -1;
}

.vertical-2 {
    grid-row: 4 / -1;
    grid-column: 3 / -1;
}

.big {
    grid-row: 4 / span 2;
    grid-column: 2 / -1;
}

@media only screen and (min-width: 1200px) {
    .gallery-container {
        max-width: 1100px;
    }
}

@media only screen and (max-width: 1330px) {

    .grid-gallery > div > img {
        width: 100%;
        height: auto;
    }

    .grid-gallery {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto 10%;
    }

    .horizontal-1 {
        grid-row: 3 / span 1;
        grid-column: 1 / -1;
    }

    .horizontal-2 {
        grid-row: 1 / 1;
        grid-column: 3 / -1;
    }

    .vertical-1 {
        grid-row: 1 / span 2;
        grid-column: 1 / span 2;
    }
    .vertical-2 {
        grid-row: 2 / span 1;
        grid-column: 7 / span 2;
    }

    .big {
        grid-column: 3 / span 4;
        grid-row: 2 / span 1;
    }
}

/*Start of Contact Form*/

.main-about {
  max-width: 400px;  
  padding: 0 2vw 150px
}
.main-about p {
  font-size: 1.1rem
}
.main-about h3 {
  font-size: 2.4rem
}
.main-about__contact,
.main-about__personal-info {
    padding-bottom: 0vw
}
.main-about__contact h3,
.main-about__personal-info h3{
   margin-bottom: 1vh
}

.main-about p {
    font-family: 'Montserrat', sans-serif, 'Helvetica Neue', 'Helvetica', 'Arial', Sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    text-align: justify
}

.main-about__form {
    font-family: 'Montserrat', sans-serif, 'Helvetica Neue', 'Helvetica', 'Arial', Sans-serif;
    height: 260px;
    max-width: 400px;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column
}

.main-about__form > input, .main-about__form > textarea {
    background-color: #151515;
    color: #F4F4F4;
    padding: 8px 8px;
    border-radius: 3px;
    margin: 8px 0px 0px;
    border: 1px solid #F4F4F4
}

.main-about__form > span {
    font-family: 'Montserrat', sans-serif, 'Helvetica Neue', 'Helvetica', 'Arial', Sans-serif;    
    font-size: 1.2rem;    
    opacity: 1;
    height:15px;
    color: #FF0000;
}

.field-input {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 1.2rem;
}

.send-btn {
    margin-top: 10px;
    padding: 4px;
    cursor: pointer;
    letter-spacing: .1rem;
    -webkit-flex: 1.4;
    -ms-flex: 1.4;
    flex: 1.4;
    width: 100px;
    color: #fff;
    background-color: #151515;    
    font-weight: 700;
    border: 1px solid #333;
    transition: all .1s ease-in-out
}

.send-btn:hover {
    background-color: #333;
    color: #fff
}

input:focus {
    color: #000 !important;
}

.textarea-input {
    padding-top: 8px;
    font-size: 1.2rem;
    -webkit-flex: 3.8;
    -ms-flex: 3.8;
    flex: 3.8
}

.textarea-input:focus {
    color: #000 !important;
    background-color:#fff;
}
/*Start of Media Queries*/

/*larger desktop screens*/

@media only screen and (min-width: 1940px) {
    #designer,
    #coder {
        display: none;
    }

    #mainContainer img.face-img {
        display: block;
        margin: auto;
        max-width: 100%;
    }
}

/*smaller desktop screens*/

@media only screen and (min-width: 1850px) and (max-width: 1900px) {
    .designer .description {
        left: 24.5em;
    }

    .coder .description {
        right: 24.5em;
    }

    #designer {
        background-position: 23.42em 0px;
    }

    #coder {
        background-position: 23.42em 91px;
    }
}

@media only screen and (min-width: 1800px) and (max-width: 1850px) {
    #designer {
        background-position: 20.42em 0px;
    }

    #coder {
        background-position: 20.42em 91px;
    }
}

@media only screen and (min-width: 1750px) and (max-width: 1800px) {
    .designer .description {
        left: 21.5em;
    }

    .coder .description {
        right: 21.5em;
    }

    #designer {
        background-position: 19.62em 0px;
    }

    #coder {
        background-position: 19.62em 91px;
    }
}

@media only screen and (min-width: 1700px) and (max-width: 1750px) {
    .designer .description {
        left: 19.5em;
    }

    .coder .description {
        right: 19.5em;
    }

    #designer {
        background-position: 18.85em 0px;
    }

    #coder {
        background-position: 18.85em 91px;
    }

}

@media only screen and (min-width: 1600px) and (max-width: 1700px) {

    .designer .description {
        left: 19.5em;
    }

    .coder .description {
        right: 19.5em;
    }

    #designer {
        background-position: 17.35em 0px;
    }

    #coder {
        background-position: 17.35em 91px;
    }

}

@media only screen and (min-width: 1500px) and (max-width: 1600px) {
    .designer .description {
        left: 10.5em;
    }

    .coder .description {
        right: 10.5em;
    }

    #designer {
        background-position: 14.62em 0px;
    }

    #coder {
        background-position: 14.62em 91px;
    }
}

@media only screen and (min-width: 1400px) and (max-width: 1500px) {
    .designer .description {
        left: 10.5em;
    }

    .coder .description {
        right: 10.5em;
    }

    #designer {
        background-position: 11.62em 0px;
    }

    #coder {
        background-position: 11.62em 91px;
    }
}

@media only screen and (min-width: 1366px) and (max-width: 1400px) {
    .designer .description {
        left: 10.5em;
    }

    .coder .description {
        right: 10.5em;
    }

    #designer {
        background-position: 6.61em 0px;
    }

    #coder {
        background-position: 6.61em 91px;
    }
}

/*Tablet and mobiles*/

@media only screen and (min-width: 64.2399925492em) {
    ul.social {
        display: flex;
    }
    .black ul li.sub-menu.is-submenu-item.is-accordion-submenu-item {
        background-color: #000000;
    }
}

@media only screen and (min-width: 668px) {
    .thumbs li {
        float: left;
        width: 30.1923076923%;
        margin: 0 2.4038461538% 2.4038461538% 0;
        background: #FFF;
        padding: 0.7692307692% 0.7692307692% 0 0.7692307692%;
        border-radius: 3px;
        -moz-background-clip: padding;
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
    }

    footer .copy-left {
        float: none;
    }
}

@media only screen and (min-width: 1024px) {

    .top-row {
        clear: both;
        max-width: 1040px;
        margin: 0 auto;
        color: black;
    }
    .main {
        padding: 0;
    }
    .center-row {
        clear: both;
        margin: 0 auto;
        width: 100%;
    }
    .bottom-row {
        clear: both;
        margin: 0 auto;
        max-width: 1040px;
    }

    footer .copy-left {
        float: left;
    }
    nav.grey {
        margin-left: 160px;
        margin-top: 0px;
    }

    nav.grey li a {
        float: left;
        margin-right: 20px;
        text-decoration: none;
        font-size: 16px;
        font-size: 1.6rem;
    } 
}

@media screen and (max-width: 1000px) {
    #slideshow {
        display: none;
    }

    .wp-banner-navigation {
        display: none;
    }

    li.thumb {
        width: 100%;
        min-height: 100px;
        float: left;
        text-align: center;
    }

    li.thumb:last-of-type {
        padding-bottom: 5%;
    }

    li.thumb a {
        overflow: hidden;
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
    }
    .thumbs li img {
        margin: auto;
    }
    .bar-1 img {
        margin: 5% 8%;
    }

    .about-thumb-description {
        width: auto;
    }
}

@media only screen and (max-width: 1024px) {
    .grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .media-img-item {
        min-width: 100%;
    }
.column {
    padding: 50px 0% 0% 4%;
}     
}

@media only screen and (max-width: 1365px) {

    #designer,
    #coder {
        display: none;
    }

    #mainContainer img.face-img {
        display: block;
        margin: auto;
        max-width: 100%;
    }
}

@media only screen and (min-width: 1040px) and (max-width: 1365px) {
    .coder .description {
        float: right;
        display: block;
        margin: 8% 10%;
        right: 0;
        top: 0;
        bottom: 0;
        text-align: left;
        height: 25%;
    }

    .designer .description {
        float: left;
        display: block;
        margin: 8% 10%;
        left: 0;
        top: 0;
        bottom: 0;
        text-align: left;
        height: 25%;
    }
}

@media only screen and (max-width: 960px) {
    .social {
        display: none;
    }
    img.profile {
        float: left;
        margin-top: 10px;
    }
    .profile-container, .form-container {
        padding-left: 0%;
    }

    img.center-chart {
        margin-left: 0px;
        margin-right: 0px;
    }
}

@media only screen and (min-width: 720px) and (max-width: 1040px) {
    .coder .description {
        float: right;
        margin: 2%;
        right: 0;
        top: 0;
        bottom: 0;
        height: 25%;
    }

    .designer .description {
        float: left;
        margin: 2%;
        left: 0;
        top: 0;
        bottom: 0;
        text-align: left;
        height: 25%;
    }
    .coder .description h1,
    .designer .description h1 {
        font-size: 4rem;
    }
    .coder .description p,
    .designer .description p {
        font-size: 1.5rem;
    }
}


@media only screen and (max-width: 900px) {
    .bar-1 .percent,
    .bar-2 .percent,
    .bar-3 .percent,
    .bar-4 .percent {
        font-size: 35px;
        font-size: 3.5rem;
    }

    .bar-2 svg,
    .bar-3 svg,
    .bar-4 svg {
        margin: 5% 0;
        max-height: 105px;
        max-width: 100%;
    }
}

@media only screen and (max-width: 800px) {
    .values-set {
        padding: 0;
    }
    .value-prop {
        margin-top: 20px;
    }
    .bar-1 .percent,
    .bar-2 .percent,
    .bar-3 .percent,
    .bar-4 .percent {
        display: none;
    }

    section.gradient-bg {
        padding: 2.5em 5%;
    }
}

@media only screen and (max-width: 760px) {
    .coder-list {
        display: block;
    }
}

@media only screen and (max-width: 720px) {
    .coder .description {
        float: right;
        margin: 0;
        right: 0;
        top: 0;
        bottom: 0;
        height: 25%;
        padding: 10% 5%;
    }

    .designer .description {
        float: left;
        margin: 0;
        left: 0;
        top: 0;
        bottom: 0;
        text-align: left;
        height: 25%;
        padding: 10% 5%;
    }
    .coder .description h1,
    .designer .description h1 {
        font-size: 2.4em;
    }
    .coder .description p,
    .designer .description p {
        display: none;
    }

    .bar-1 img {
        max-width: 80px;
    }

}

@media only screen and (min-width: 680px) and (max-width: 688px) {
    header {
        padding: 0;
    }
}

@media only screen and (max-width: 680px) {
    header {
        padding: 0;
    }
    #mainNav {
        height: 40px;
    }
    .black ul li {
        text-align: center;
    }
    .black ul li:last-of-type {
        border-bottom: none;
    }

    .black ul li:hover {
        background-color: #403f3f;
    }

    .black ul li a {
        line-height: 8.8rem;
        padding: 30px 25%;
        font-size: 20px;
        font-size: 2.0rem;
        border-right: none;
    }

    .logo {
        height: 40px;
        width: 32px;
        background: url(../images/sprite-mobile.png) 0px 0px no-repeat;
    }
}

@media only screen and (max-width: 640px) {
    .coder .description h1,
    .designer .description h1 {
        font-size: 1.8em;
    }
    .coder .description {
        padding: 10% 15%;
    }
    .bar-1 img {
        margin: 6% auto;
        padding: 0 4%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 550px) {

    div[class*=span] {
        margin-left: 0px;
        width: 100%;
        padding: 0 20%;
    }
}

@media only screen and (max-width: 420px) {

    .coder .description h1,
    .designer .description h1 {
        font-size: 1.4em;
    }

    img.profile {
        margin-top: 20px;
    }
    h6 {
        font-size: 3.5rem;
        line-height: 2.1em;
    }
    .icon-prev,
    .icon-next {
        font-size: 6.5rem !important;
    }
}

@media only screen and (min-width: 319px) and (max-width: 540px) {
    .coder .description {
        width: 100%;
        padding-left: 70%;
    }
}

@media only screen and (max-width: 319px) {
    .coder .description {
        width: 100%;
        padding-left: 60%;
        right: 0;
        text-align: right;
    }

    .designer .description {
        width: 100%;
        left: 0;
        text-align: left;
    }
}

/*
==============================================
fade In and fade out effect
==============================================
reference
https://codepen.io/wisnust10/pen/mPJwWv
*/

.carousel-fade .carousel-inner .item {
    opacity: 0;
    z-index: 1; /* Ensure non-active items are beneath active items */
    transition: opacity 0.5s ease-in-out; /* Smooth fade transition */
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
    z-index: 2; /* Active items are on top */
    transition: opacity 0.5s ease-in-out; /* Smooth fade transition */
}

/* Adjustments for directional changes */
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
    z-index: 2;
}

.carousel-fade .carousel-control {
    z-index: 2;
}

@media all and (transform-3d),
(-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.carousel-inner .item:nth-child(1) {
    background: url('../images/banner-blog-1920x960.jpg');
    background-size: cover;
    background-position: center 0px;
    background-repeat: no-repeat;
}

.carousel-inner .item:nth-child(2) {
    background: url('../images/banner-blog-2000x1333.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.carousel-inner .item:nth-child(3) {
    background: url('../images/responsive-email-design-1920x960.jpg');
    background-size: cover;
    background-position: center -80px;
    background-repeat: no-repeat;
}

/*
==============================================
Graphic slide up effect
==============================================
pullUp
==============================================
*/

.pullUp {
    animation-name: pullUp;
    -webkit-animation-name: pullUp;

    animation-duration: 1.1s;
    -webkit-animation-duration: 1.1s;

    animation-timing-function: ease-out;
    -webkit-animation-timing-function: ease-out;

    transform-origin: 50% 100%;
    -ms-transform-origin: 50% 100%;
    -webkit-transform-origin: 50% 100%;
    visibility: visible !important;
}

@keyframes pullUp {
    0% {
        transform: scaleY(0.1);
    }
    40% {
        transform: scaleY(1.02);
    }
    60% {
        transform: scaleY(0.98);
    }
    80% {
        transform: scaleY(1.01);
    }
    100% {
        transform: scaleY(0.98);
    }
    80% {
        transform: scaleY(1.01);
    }
    100% {
        transform: scaleY(1);
    }
}

@-webkit-keyframes pullUp {
    0% {
        -webkit-transform: scaleY(0.1);
    }
    40% {
        -webkit-transform: scaleY(1.02);
    }
    60% {
        -webkit-transform: scaleY(0.98);
    }
    80% {
        -webkit-transform: scaleY(1.01);
    }
    100% {
        -webkit-transform: scaleY(0.98);
    }
    80% {
        -webkit-transform: scaleY(1.01);
    }
    100% {
        -webkit-transform: scaleY(1);
    }
}

/*
==============================================
pullDown
==============================================
*/

.pullDown {
    animation-name: pullDown;
    -webkit-animation-name: pullDown;

    animation-duration: 1.1s;
    -webkit-animation-duration: 1.1s;

    animation-timing-function: ease-out;
    -webkit-animation-timing-function: ease-out;

    transform-origin: 50% 0%;
    -ms-transform-origin: 50% 0%;
    -webkit-transform-origin: 50% 0%;
}

@keyframes pullDown {
    0% {
        transform: scaleY(0.1);
    }
    40% {
        transform: scaleY(1.02);
    }
    60% {
        transform: scaleY(0.98);
    }
    80% {
        transform: scaleY(1.01);
    }
    100% {
        transform: scaleY(0.98);
    }
    80% {
        transform: scaleY(1.01);
    }
    100% {
        transform: scaleY(1);
    }
}

@-webkit-keyframes pullDown {
    0% {
        -webkit-transform: scaleY(0.1);
    }
    40% {
        -webkit-transform: scaleY(1.02);
    }
    60% {
        -webkit-transform: scaleY(0.98);
    }
    80% {
        -webkit-transform: scaleY(1.01);
    }
    100% {
        -webkit-transform: scaleY(0.98);
    }
    80% {
        -webkit-transform: scaleY(1.01);
    }
    100% {
        -webkit-transform: scaleY(1);
    }
}

:root {

  color-scheme: light dark; /* both supported */
    
  --background-light: #ffffff; /* Light mode background color */  
  --text-light: #000000;       /* Light mode text color */
    
  --background-dark: #222222;  /* Dark mode background color */
  --background-dark-lighter: #1F1F1F;  /* Dark mode background color */
  --background-dark-light: #121212;
  --text-dark: #f0f0f0; /* Dark mode text color */
  --text-dark-darker: #333333; /* Dark mode text color */ 
  --text-dark-light: #ffffff; /* Dark mode text color */
  --text-dark-grey: #999999; /* Dark mode text color */ 
  --text-dark-greyish: #888888; /* Dark mode text color */     
}

@media (prefers-color-scheme: dark) {
body {
    background-color: var(--background-dark); /* Dark background as per user preference */
    color: var(--text-dark);                  /* Dark text as per user preference */
}
h1 a {
    text-decoration: none;
    color: var(--text-dark-greyish) !important;
    cursor: pointer;
}
h4 {
    color: var(--text-dark);  
    background: var(--background-dark-lighter);
}
.center-row {
    background: var(--background-dark-light);
}
.main {
    border-bottom: var(--background-dark-light);
    border-top: var(--background-dark-light);
}    
section.gradient-bg {
    background: var(--background-dark-lighter); 
}
.thumbs li, footer {
    background: var(--background-dark-light); 
}
.carousel-caption {
    background: var(--text-dark-darker); 
}
footer .button-footer {
    background-image:-webkit-gradient(linear, left bottom, left top, color-stop(0, #333333), color-stop(1, rgba(255, 255, 255, 0)));
}
h2,h3,h5,h6 {
    color: #efefef !important;
}     
p {
    color: var(--text-dark-grey) !important;
}    
p a {
    text-decoration: none;
    color: var(----text-dark-light) !important;
    cursor: pointer;
}
nav.grey ul li a:link {
    text-decoration: none;
    color: var(--text-dark-grey) !important;
    cursor: pointer;
}
nav.grey ul li a:hover {
    text-decoration: none;
    color: #efefef !important;
    cursor: pointer;
}    
nav.grey ul li a:visited {
    text-decoration: none;
    color: var(--text-dark-grey) !important;
    cursor: pointer;
}  
}