/*Theme Name: All-In Designs
Description: Theme developed for All-In Designs
Version: 1.0
Author: Michael Vincent
Author URI: md.vincent@gmail.com
*/
html, body {
    height:100%;
}
body {
    background-color: #FFF;
    font-family: 'Open Sans', sans-serif;
    color: #4D4D4D;
    font-size: 16px;
}

a:link { color: #000; text-decoration: none; }
a:visited { color: #000; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
a:active { color: #333; text-decoration: none; }

.header {
    line-height: 1.1;
}
h1, .header {
    font-family: 'Open Sans', sans-serif;
    font-size: 50px;
    margin: 15px 0 15px 0;
    font-weight: 300;
}
h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    margin: 10px 0 30px 0;
}
h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    margin: 0 0 15px 0;
    font-weight: 300;
}

hr {
    border-color: #bcbcbc;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}

p { margin: 0 0 20px; }

.clear { clear: both; }

.arrow-hr { background: url(img/arrow-hr.png); height: 12px; width: 100%; margin: 15px 0 15px 0; }

.text-danger {  }

.container { position: relative; z-index: 2; }
.container img { max-width: 100%; height: auto; }

.mobileShow { display: none; }

.no-padding { padding: 0; }
.no-margin { margin: 0; }

.green { color: #22B591; }

/* MENU */
body.home .nav {
    position: absolute;
    bottom: -90px;
}
.nav {
    height: 90px;
    width: 100%;
    border-bottom: solid 6px #22B591;
    background: #FFF;
    z-index: 3;
}
.nav-logo { float: left; margin: 5px 10px 0 0; }
.main-menu { float: left; }

.nav-fixed {
    position: fixed !important;
    width: 100%;
    top: 0;
}

.homepage-anchor { position: relative; }
.anchor { position: relative; top: -90px; }

ul.main-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.main-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.main-menu li {
    float: left;
}
.main-menu li a {
    height: 84px;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 300;
    line-height: 18px;
    display: block;
    color: #000;
    margin: 0;
    padding: 35px 25px 5px 25px;
    text-decoration: none;
}
.main-menu li a:hover {
    color: #FFF;
    background: #666666;
}
.main-menu li.current-menu-item {
    color: #FFF;
}
.main-menu li.current-cat {
    color: #FFF;
}

.main-menu .menu-item-has-children > a:after {
    content:  ' v';
    font-size: 12px;
    color: #22B591;
    font-weight: bold;
    padding-left: 5px;
}
.main-menu .menu-item-has-children > a:only-child:after { content: ''; }

.main-menu .sub-menu {
    display: none;
    position: absolute;
    background: #eee;
}
.main-menu .sub-menu li {
    float: none;
    border-top: 1px solid #ccc;
}
.main-menu .sub-menu a {
    padding: 25px 25px 5px 25px;
    height: 64px;
}
.main-menu .menu-item-has-children:hover .sub-menu {
    display: block;
    top: 84px;
}

#mobileNav { float: left; margin: 20px 20px 0 0; z-index: 4; }

/* SOCIAL LINKS */
.socialIcons {  }
.nav .socialIcons { position: absolute; right: 5px; top: 0; height: 84px; width: 190px; padding-top: 25px; }
.socialIcons img { margin: 0 4px 0 4px; }

/* HOMEPAGE */

section.homepage-banner {
    min-height: 100%;
    padding-top: 11%;
    text-align: center;
}

section.homepage-content {
    padding: 160px 0 120px 0;
    font-size: 26px;
    font-weight: 300;
    color: #464546;
}
.logo-divider {
    position: absolute;
    bottom: -200px;
    z-index: 2;
    width:100%;
    margin-left:-50%;
    left:50%;
    text-align: center;
}
section.homepage-slider {
    padding: 140px 0 100px 0;
    background: #000;
    font-size: 20px;
    color: #808080;
}
section.homepage-slider .content-slider-text { width: 65%; }
section.homepage-slider h1, section.homepage-slider .header { text-align: center; color: #22B591; margin: 0 0 30px 0; }

section.homepage-slider .bx-wrapper { margin: 0 auto 30px; }
section.homepage-slider .bx-wrapper .bx-pager,
section.homepage-slider .bx-wrapper .bx-controls-auto {
    position: absolute;
    bottom: 15%;
    right: 0;
    width: 30%;
}

#content-slider-next {
    position: absolute;
    right: 8%;
    bottom: 45%;
}
#content-slider-next .bx-next {
    border-radius: 45px;
    border: 1px solid #4D4D4D;
    font-size: 24px;
    color: #FFF;
    background: url(img/btn-arrow-green.png) transparent no-repeat 85%;
    width: 220px;
    height: 90px;
    float: right;
    outline: none;
    padding: 25px 30px 0 0;
    font-weight: 300;
    text-align: center;
}
#content-slider-next .bx-next:hover { background: url(img/btn-arrow-white.png) transparent no-repeat 85%; }
section.homepage-slider .content-slider-next {
    background-color: #FFF;
    color: #333;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    background: transparent;
    text-indent: -9999px;
    display: block;
    width: 18px;
    height: 18px;
    margin: 0 5px;
    outline: 0;
    border: 1px solid #808080;
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
    border-radius: 9px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    border: 1px solid #22B591;
    background: transparent;
}

section.homepage-team {
    position: relative;
    padding: 60px 0 60px 0;
    background: #22B591;
    font-size: 20px;
    color: #000;
    overflow: hidden;
}
section.homepage-team h1, section.homepage-team .header { color: #FFF; }
section.homepage-team h3 { color: #FFF; margin: 10px 0 10px 0; text-align: center; }
section.homepage-team .team-button {
    border-radius: 45px;
    border: 1px solid #FFF;
    font-size: 24px;
    color: #FFF;
    width: 300px;
    height: 90px;
    outline: none;
    padding: 25px 40px 0 0;
    font-weight: 300;
    text-align: center;
    cursor: pointer;
    margin: 50px 0 30px 0;
    background: url(img/btn-arrow-white.png) #22B591 no-repeat 90%;
}
section.homepage-team .team-button:hover { color: #000; background: url(img/btn-arrow-black.png) #22B591 no-repeat 90%; }

section.homepage-team .team-member {
    width: 40%;
    float: left;
    margin: 0 0 0 10%;
}
section.homepage-team .team-member img { max-width: 100%; }

section.homepage-team .meet-the-team {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: none;
    background: #22B591;
    z-index: 2;
    color: #FFF;
    font-size: 16px;
}

section.homepage-team .meet-the-team .container { padding: 0 50px; }

section.homepage-team .meet-the-team .team-back-btn {
    position: absolute;
    bottom: 0;
    border-radius: 45px;
    border: 1px solid #FFF;
    font-size: 24px;
    color: #FFF;
    width: 85px;
    height: 85px;
    outline: none;
    padding: 25px 40px 0 0;
    font-weight: 300;
    text-align: center;
    margin: 15px 0 0 0;
    background: url(img/btn-arrow-white-back.png) transparent no-repeat 50%;
    float: left;
    cursor: pointer;
}

section.homepage-team .meet-the-team h3 { text-align: left; margin-top: 60px; }

section.homepage-team .meet-the-team .team-member-text { padding-right: 80px; }

.bkg-container { position: relative; }
.homepage-bkg-lrg {
    background: url(img/homepage-bkg-lrg.png);
    height: 1380px;
    width: 53%;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}

section.homepage-services {
    background: url(img/homepage-bkg-md.png) no-repeat;
    background-position: 50% 25px;
    background-color: #fff;
    padding: 50px 0 60px 0;
    font-size: 16px;
    color: #464546;
    z-index: 3;
}
section.homepage-services h1, section.homepage-services .header { text-align: center; color: #22B591; }
section.homepage-services h2 { text-align: center; color: #4D4D4D; margin: 10px 0 50px 0; }
section.homepage-services h3 { color: #4D4D4D; margin: 25px 0 15px 0; }

section.homepage-services .service-item { opacity: 0; }
section.homepage-services .service-image { position: relative; width: 106px; margin-right: 25px; float: left; }
section.homepage-services .service-image img { max-width: 100%; }

section.homepage-services .service-text { position: relative; width: 75%; float: left; }

section.projects { padding: 130px 0 90px 0; }
section.projects p { color: #808080; }
section.projects h1, section.projects .header { color: #22B591; margin: 0 0 30px 0; }
section.projects h2 { color: #22B591; margin: 0 0 30px 0; font-weight: 300; }
section.projects h3 { color: #4D4D4D; margin: 0 0 10px 0; font-weight: 400; }
section.projects .project-thumbnail { position: relative; display: inline-block; }
section.projects .project-thumbnail img { width: 100%; height: auto; }
section.projects .project-thumbnail .overlay {
    position: absolute;
    display: none;
    height: 100%;
    width: 100%;
    top: 0;
    background: rgba(0,0,0,0.50);
}
section.projects .project-thumbnail .content {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 30%;
    width: 100%;
    margin: -15% 0 0 -50%;
}
section.projects .project-thumbnail .content hr { width: 70%; border: #22B591 solid 3px; }
section.projects .project-thumbnail .content .title {
    width: 100%;
    text-align: center;
    color: #FFF;
    font-size: 24px;
    font-weight: 300;
}
section.projects .project-thumbnail .overlay .title a:link { color: #FFF; text-decoration: none; }
section.projects .project-thumbnail .overlay .title a:visited { color: #FFF; text-decoration: none; }
section.projects .project-thumbnail .overlay .title a:hover { color: #FFF; text-decoration: none; }
section.projects .project-thumbnail .overlay .title a:active { color: #FFF; text-decoration: none; }

section.projects .project-images { padding-left: 60px; }
section.projects .project-images img { margin-bottom: 30px; }
section.projects .arrow-hr { margin: 50px 0 60px 0; }

section.projects .prev-project a {
    border-radius: 45px;
    border: 1px solid #4D4D4D;
    font-size: 24px;
    color: #808080;
    background: url(img/btn-arrow-green-back.png) transparent no-repeat 20%;
    width: 48%;
    height: 90px;
    float: left;
    outline: none;
    padding: 25px 0 0 30px;
    font-weight: 300;
    text-align: center;
}
section.projects .prev-project a:hover { color: #000; background: url(img/btn-arrow-black-back.png) transparent no-repeat 20%; }

section.projects .next-project a {
    border-radius: 45px;
    border: 1px solid #4D4D4D;
    font-size: 24px;
    color: #808080;
    background: url(img/btn-arrow-green.png) transparent no-repeat 80%;
    width: 48%;
    height: 90px;
    float: right;
    outline: none;
    padding: 25px 30px 0 0;
    font-weight: 300;
    text-align: center;
}
section.projects .next-project a:hover { color: #000; background: url(img/btn-arrow-black.png) transparent no-repeat 80%; }

section.projects .socialIcons { margin: 40px 0 20px 0; }

/* BLOG */
section.page-blog { padding: 115px 0 90px 0;  font-size: 16px; line-height: 28px; color: #888; }

section.page-blog h1, section.page-blog .header { color: #4d4d4d; margin: 15px 0 20px 0; font-size: 31px; font-weight: bold; }
section.page-blog h2 { color: #000; font-size: 34px; margin: 30px 0 10px 0; }
section.page-blog h3 { color: #000; margin: 25px 0 10px 0; font-size: 26px; }

section.page-blog .blog-header-hr { margin: 15px 0 5px 0; border-color: #ccc; }

section.page-blog .blog-title {
    text-transform: uppercase;
    margin: 25px 0 20px 0;
    font-size: 32px;
    font-weight: 300;
    color: #22B591;
}

section.page-blog .post-list { font-size: 16px; }
section.page-blog .post-list .cat-item-arrow { text-transform: none; color: #333; padding-right: 5px; }

section.page-blog .post-list .category-item { list-style: none; padding: 0; margin: 0; }
section.page-blog .post-list .category-item .category-name { padding: 0; color: #333; cursor: pointer; text-transform: uppercase; margin: 0 0 5px 0; font-size: 20px; }
section.page-blog .post-list .category-item .category-name .post-list { list-style: none; display: none; padding: 0 0 0 20px; margin: 13px 0 20px 0; text-indent: 16px; }
section.page-blog .post-list .category-item .category-name .post-list.expanded { display: list-item; }
section.page-blog .post-list .category-item .category-name .post-list .post-item { list-style-position: inside; color: #888; text-transform: none; background: url("img/bullet-point.png") no-repeat top left; }
section.page-blog .post-list .category-item .category-name .post-list .post-item a { color: #888; }
section.page-blog .post-list .category-item .category-name .post-list .post-item a:hover { color: #000; }
section.page-blog .post-list .category-item .category-name .post-list .post-item a:active { color: #000; }

section.page-blog .blog-call { font-size: 24px; font-weight: bold; text-align: right; width: 100%; color: #333; margin-bottom: 15px; }

section.page-blog .article-list { margin-bottom: 35px; }
section.page-blog .article-list .excerpt { font-size: 14px; line-height: 20px; }
section.page-blog .article-list h4 { margin: 10px 0 15px; font-size: 22px; }
section.page-blog .article-list .excerpt p { margin: 0; }
section.page-blog .article-list img { margin-top: 20px; }
section.page-blog .article-list .read-more { margin: 0; }

nav.prev-next-posts .prev-posts-link { float: right; }

section.page-blog .post-content { padding-top: 20px; padding-bottom: 20px; }
.socialShare { margin-bottom: 30px; }
.socialShare img { margin: 0 0 2px 0; }

/* DEFAULT TEMPLATE */
.default-template.container { padding: 130px 0 90px 0; }
.default-template.container h1, .default-template.container .header { color: #22B591; margin: 0 0 30px 0; }

/* CONTACT */
section.contact {
    padding: 60px 0 60px 0;
    min-height: 100%;
    color: #FFF;
    font-size: 22px;
    line-height: 36px;
}
section.contact h1, section.contact .header { text-align: center; margin: 30px 0 80px 0; }

section.contact .arrow-hr { margin: 35px 0 35px 0; }

section.contact a:link { color: #FFF; text-decoration: none; }
section.contact a:visited { color: #FFF; text-decoration: none; }
section.contact a:hover { color: #333; text-decoration: none; }
section.contact a:active { color: #333; text-decoration: none; }

.contact-info { padding-left: 15%; }

#contactForm input[type="text"] {
    width: 100%;
    padding: 6px 16px;
    margin-bottom: 15px;
    border: 0;
    font-size: 20px;
    font-weight: 300;
}
#contactForm textarea {
    width: 100%;
    height: 215px;
    padding: 6px 16px;
    border: 0;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 15px;
}
#contactForm .btn {
    text-transform: uppercase;
    border-radius: 45px;
    border: 1px solid #FFF;
    font-size: 24px;
    color: #FFF;
    width: 300px;
    height: 90px;
    float: right;
    outline: none;
    background: url(img/btn-arrow-white.png) no-repeat 90%;
}
#contactForm .btn:hover { color: #000; background: url(img/btn-arrow-black.png) no-repeat 90%; }

.contact-logo { text-align: right; }
.contact-logo img { width: 270px; height: auto; }

/* CLIENTS */
section.our-clients { padding: 85px 0 60px 0; }
section.our-clients h1, section.our-clients .header { text-align: center; color: #22B591; margin: 15px 0 60px 0; }

/* FOOTER */
.footer {
    background: #000;
    padding: 20px 0 20px; 0;
    color: #808080;
    text-align: center;
}

.footer p { margin: 0; }

.backtotop {
    height: 85px;
    cursor: pointer;
    float: right;
    margin-top: 20px;
}

.backtotop-btn {
    border-radius: 45px;
    border: 1px solid #FFF;
    font-size: 24px;
    color: #FFF;
    width: 85px;
    height: 85px;
    outline: none;
    padding: 25px 40px 0 0;
    font-weight: 300;
    text-align: center;
    margin: 0 0 0 0;
    background: url(img/backtotop-btn-arrow.png) #231F20 no-repeat 50%;
    float: left;
}

.backtotop-text {
    padding: 30px 0 0 15px;
    float: left;
    font-size: 20px;
}

/* MOBILE VIEWS */
@media (min-width: 1400px) {
    .container { width: 1370px; }
}

@media (max-width: 1399px) {
    .nav-logo { margin: 5px 5px 0 0; }
    .nav .container { width: 100%; }
    .nav .socialIcons {
        -moz-transform: scale(.8); /* Firefox */
        -moz-transform-origin: 100% 50%;
        -o-transform: scale(.8); /* Opera */
        -o-transform-origin: 100% 50%;
        -webkit-transform: scale(.8); /* Safari And Chrome */
        -webkit-transform-origin: 100% 50%;
        transform: scale(.8); /* Standard Property */
        transform-origin: 100% 50%;  /* Standard Property */
    }
}

@media (max-width: 1199px) {
    .nav .container { width: 100%; }
    .main-menu li a {
        font-size: 16px;
        padding: 35px 18px 5px 18px;
    }
}

@media (max-width: 991px) {
    .nav .socialIcons {
        -moz-transform: scale(.7); /* Firefox */
        -moz-transform-origin: 100% 50%;
        -o-transform: scale(.7); /* Opera */
        -o-transform-origin: 100% 50%;
        -webkit-transform: scale(.7); /* Safari And Chrome */
        -webkit-transform-origin: 100% 50%;
        transform: scale(.7); /* Standard Property */
        transform-origin: 100% 50%;  /* Standard Property */
    }
    .main-menu li a {
        font-size: 15px;
        padding: 35px 15px 5px 15px;
    }
    .nav .container { width: 100%; }

    section.projects .project-images {
        padding-left: 15px;
    }

    section.page-blog .blog-call {
        font-size: 22px;
        text-align: center;
    }
    section.page-blog .article-list img {
        margin-top: 0;
        width: 100%;
    }
    section.page-blog .article-list h4 {
        margin: 20px 0 15px;
        font-size: 18px;
    }
    section.page-blog .article-list .read-more {
        margin: 10px 0 5px 0;
        font-size: 16px;
        text-align: right;
    }

    .mobileHidden { display: none; }
    .mobileShow { display: block; }

}

@media  (max-width: 767px) {
    body { font-size: 14px; }

    p { text-align: justify; }

    h1, .header { font-size: 36px; margin: 15px 0 15px 0; }

    .nav-bar { margin-top: 90px; position: relative; width: 100%; }

    .main-menu { float: none; background: #FFF; }

    ul.main-menu {
        list-style-type: none;
        position: relative;
    }
    .main-menu ul {
        list-style-type: none;
        width: 100%;
    }
    .main-menu li {
        float: none;
        background: #FFF;
    }
    .main-menu li a {
        height: auto;
        width: 100%;
        font-size: 16px;
        margin: 0;
        padding: 20px 15px 20px 15px;
        background: #FFF;
    }

    section.homepage-banner { padding-top: 50%; }
    section.homepage-banner img { width: 50%; height: auto; }

    section.homepage-content {
        padding: 120px 0 90px 0;
        font-size: 20px;
    }
    .logo-divider { bottom: -170px; }

    section.homepage-slider { padding: 140px 0 50px 0; }
    section.homepage-slider .content-slider-text { width: 100%; }
    section.homepage-slider .bx-wrapper .bx-pager, section.homepage-slider .bx-wrapper .bx-controls-auto {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
    }
    .bx-viewport li { margin-bottom: 50px; }

    section.homepage-team { padding: 60px 0 40px 0; }
    section.homepage-team h1, section.homepage-team .header { text-align: center; }
    section.homepage-team .team-member { width: 100%; float: none; margin: 0 0 0 0; }
    section.homepage-team .team-member .team-mobile-image { width: 100%; text-align: center; }

    section.homepage-services { padding: 60px 0 40px 0; }
    section.homepage-services .service-image { margin: 40px auto 0 auto; float: none; }
    section.homepage-services .service-text { width: 100%; float: none; }

    section.projects .arrow-hr { margin: 20px 0 0 0; }

    section.page-blog {
        padding: 100px 0 80px 0;
        font-size: 14px;
        line-height: 22px;
        color: #888;
    }
    section.page-blog .article-list img { width: 100%; }
    section.page-blog h1, section.page-blog .header {
        margin: 15px 0 0 0;
        font-size: 18px;
    }
    section.page-blog .blog-header-hr { margin: 5px 0 5px 0; }
    section.page-blog .article-date { font-size: 12px; line-height: 20px; }

    section.contact h1, section.contact .header { margin: 0 0 30px 0; }
    section.contact .contact-info { padding-left: 15px; }
    #contactForm .btn {
        width: 100%;
        float: none;
        margin-bottom: 30px;
    }

    section.our-clients { padding: 45px 0 30px 0; }

    .backtotop {
        height: 85px;
        cursor: pointer;
        float: left;
        margin-top: 20px;
        -moz-transform: scale(.7); /* Firefox */
        -moz-transform-origin: 0 100%;
        -o-transform: scale(.7); /* Opera */
        -o-transform-origin: 0 100%;
        -webkit-transform: scale(.7); /* Safari And Chrome */
        -webkit-transform-origin: 0 100%;
        transform: scale(.7); /* Standard Property */
        transform-origin: 0 100%;  /* Standard Property */
    }

}

@media (max-width: 345px) {
    section.page-blog .blog-call {
        font-size: 20px;
    }
}