/*
 * ============================================================
 *  Keystoneseller.com — Corporate Landing Page Template
 * ============================================================
 *  This is a starter/base template for Keystoneseller.com.
 *  It is intended as a starting point for corporate and
 *  business landing pages and can be freely customized.
 *
 *  Structure:
 *    - Full-width header and navigation
 *    - Full-width hero slider (FlexSlider)
 *    - Three feature columns
 *    - Featured projects grid
 *    - Full-width footer with widgets
 *
 *  Notes:
 *    - Layout is full-width; the .shell wrapper uses 100%
 *      width with 40px inner padding.
 *    - Images use object-fit: cover so the hero fills the
 *      viewport without distortion.
 *    - Colors, fonts, and spacing are kept close to the
 *      original design and can be changed per brand.
 *
 *  Author: Keystoneseller.com
 *  License: Free to use and modify for this project.
 * ============================================================
 */

* { margin: 0; padding: 0; outline: 0; box-sizing: border-box; }

body, html { height: 100%; }

body {
    font-size: 12px;
    line-height: 16px;
    font-family: arial, sans-serif;
    color: #808080;
    background: #efefef url(images/body.png) repeat-x 0 0;
    min-width: 100%;
    overflow-x: hidden;
}

a { color: #65cbf8; text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
a img { border: 0; }

article, aside, details, footer, header, menu, nav, section { display: block; }
input, textarea, select { font-size: 12px; font-family: arial, sans-serif; }
textarea { overflow: auto; }

.cl { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; }
.notext { font-size: 0; line-height: 0; text-indent: -4000px; }
.left, .alignleft { float: left; display: inline; }
.right, .alignright { float: right; display: inline; }

/* ---------- Shell: full width ---------- */
.shell {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
}

/* ---------- Header ---------- */
.header { background: url(images/header.png) repeat-x 0 0; height: 58px; padding: 29px 0 0 0; }

#logo { width: 171px; float: left; }
#logo a { height: 28px; display: block; background: url(images/logo.png) no-repeat 0 0; font-size: 0; line-height: 0; text-indent: -4000px; }

#navigation { float: right; padding-top: 8px; }
#navigation ul { list-style: none; list-style-position: outside; font-size: 11px; text-transform: uppercase; font-weight: bold; }
#navigation ul li { float: left; padding: 0 0 0 44px; }
#navigation ul li a { color: #77777b; }
#navigation ul li a:hover,
#navigation ul li.active a { color: #2497e0; text-decoration: none; }

/* ---------- Main ---------- */
.main { padding-top: 42px; }
.main h2 { font-size: 24px; line-height: 24px; font-weight: normal; color: #424242; }
.main h2 strong { font-weight: bold; }
.main h3 { font-size: 22px; line-height: 22px; color: #000; font-weight: normal; }

/* ---------- Slider section ---------- */
.slider-section { padding-bottom: 68px; width: 100%; }
.slider-section a.buy-btn {
    padding: 0 18px 0 19px; height: 39px; border: 1px solid #e6e6e6; float: right;
    line-height: 39px; position: relative; margin-top: -12px; font-size: 17px; color: #65cbf8;
    border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -o-border-radius: 8px;
}
.slider-section a.buy-btn:hover { text-decoration: none; color: #066995; }

/* ---------- Flexslider: full width ---------- */
.flexslider {
    margin-top: 24px;
    width: 100%;
    height: 377px;
    overflow: hidden;
    border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -o-border-radius: 8px;
}

.slider-holder { position: relative; }
.slider-holder span.slider-shadow {
    width: 100%; height: 27px; position: absolute; bottom: -27px; left: 0;
    background: url(images/slider-shadow.png) repeat-x 0 0; z-index: 20;
}

.flexslider ul.slides { list-style: none; list-style-position: outside; position: relative; }
.flexslider ul.slides li { width: 100%; height: 377px; position: relative; float: left; }
.flexslider ul.slides li img { width: 100%; height: 377px; object-fit: cover; display: block; }

.flexslider ul.slides li .slide-cnt {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 211px);
    padding: 21px 190px 21px 21px;
    background: url(images/slide-cnt.png) repeat 0 0;
}
.flexslider ul.slides li .slide-cnt h3 { color: #f7f7f7; padding-bottom: 4px; }
.flexslider ul.slides li .slide-cnt p { color: #f7f7f7; }
.flexslider ul.slides li .slide-cnt a.slider-btn {
    height: 93px; padding: 0 33px 0 36px; line-height: 93px;
    background: url(images/slider-btn.png) repeat-x 0 0; position: absolute; top: -9px; right: 0;
    font-size: 17px; color: #438bb9;
    border-radius: 8px 0 8px 0; -moz-border-radius: 8px 0 8px 0;
    -webkit-border-radius: 8px 0 8px 0; -o-border-radius: 8px 0 8px 0;
}
.flexslider ul.slides li .slide-cnt a.slider-btn span {
    background: url(images/plus-ico.png) no-repeat 0 0; width: 23px; height: 22px;
    position: absolute; left: 0; top: 0;
}
.flexslider ul.slides li .slide-cnt a.slider-btn:hover { text-decoration: none; color: #8ed9fa; }

/* ---------- Columns: full width ---------- */
.main .cols { padding-bottom: 54px; }

.main .cols .col { width: 31%; float: left; }
.main .cols .col:last-of-type { width: 31%; }
.main .cols .col + .col { padding-left: 3.5%; }

.main .cols .col h3 { padding-bottom: 14px; padding-left: 50px; }
.main .cols .col h3 a { color: #000; }
.main .cols .col h3 a:hover { text-decoration: none; color: #333; }
.main .cols .col h3.starter-ico { background: url(images/starter-ico.png) no-repeat 0 0; }
.main .cols .col h3.awesome-ico { background: url(images/awesome-ico.png) no-repeat 0 0; }
.main .cols .col h3.save-ico { background: url(images/save-ico.png) no-repeat 0 0; }
.main .cols .col p { padding-bottom: 10px; }
.main .cols .col a.more { text-transform: uppercase; }

/* ---------- All projects button ---------- */
.main section a.all-projects {
    float: right; font-size: 11px; color: #000; text-transform: uppercase;
    background: #fff; border: 1px solid #e6e6e6; padding: 0 13px 0 15px;
    height: 23px; line-height: 23px;
    border-radius: 7px; -moz-border-radius: 7px; -webkit-border-radius: 7px; -o-border-radius: 7px;
    margin-right: 6px;
}
.main section a.all-projects strong { padding-right: 3px; font-weight: bold; font-size: 12px; }
.main section a.all-projects:hover { text-decoration: none; color: #65cbf8; }

/* ---------- Featured: full width ---------- */
.main .featured { padding-bottom: 44px; padding-top: 16px; }
.main .featured .entry {
    width: 18%; height: auto; float: left;
    border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -o-border-radius: 8px;
    position: relative;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    -moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    -o-box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.main .featured .entry img {
    width: 100%; height: auto; display: block;
    border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -o-border-radius: 8px;
}
.main .featured .entry span {
    display: none; position: absolute; bottom: 0; left: 0;
    background: url(images/entry-cnt.png) repeat 0 0;
    width: 100%; padding: 7px 0 7px 15px;
    border-radius: 0px 0px 7px 7px; -moz-border-radius: 0px 0px 7px 7px;
    -webkit-border-radius: 0px 0px 7px 7px; -o-border-radius: 0px 0px 7px 7px;
    color: #fff;
}
.main .featured .entry em {
    display: none; background: url(images/entry-plus.png) no-repeat 0 0;
    width: 23px; height: 22px; position: absolute; top: 0; right: 0;
}
.main .featured .entry + .entry { margin-left: 2.5%; }

.main .featured .entry strong {
    display: none; background: url(images/entry-shadow-b.png) no-repeat 0 bottom;
    width: 100%; height: 10px; position: absolute; bottom: -7px; left: 0;
}
.main .featured .entry:hover strong { display: block; }
.main .featured .entry a:hover span { display: block; }
.main .featured .entry a:hover em { display: block; }

/* ---------- Footer layout ---------- */
html, body { height: 100%; }
#wrapper { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -279px; }
#footer, #footer-push { height: 245px; padding-top: 32px; }

#footer h4 { color: #fff; font-size: 15px; font-weight: bold; text-transform: uppercase; padding-bottom: 22px; }
#footer { background: url(images/footer.png) repeat-x 0 0; }

#footer .widgets { padding-bottom: 16px; }
#footer .widget { float: left; width: 21%; }
#footer .widget + .widget { padding-left: 5%; }
#footer .widget ul { list-style: none; list-style-position: outside; font-size: 11px; }
#footer .widget ul li { padding-bottom: 11px; }
#footer .widget ul li a { color: #4a4949; }
#footer .widget ul li a:hover { color: #5b5a5a; }

#footer .gallery-widget ul li { float: left; padding-right: 3%; width: 30%; height: auto; }
#footer .gallery-widget ul li a img {
    display: block; width: 100%; height: auto;
    border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px;
}
#footer .gallery-widget ul li a:hover img { opacity: 0.8; -moz-opacity: 0.8; filter: alpha(opacity=80); }

#footer .contact-widget p { color: #4a4949; padding-bottom: 12px; font-size: 11px; line-height: 14px; padding-left: 28px; }
#footer .contact-widget p.address-ico { background: url(images/address-ico.png) no-repeat 0 0; }
#footer .contact-widget p.phone-ico { background: url(images/phone-ico.png) no-repeat 0 0; }
#footer .contact-widget a.chat-btn {
    padding: 0 30px 0 57px; position: relative; height: 39px;
    background: #000 url(images/chat-btn.png) repeat-x 0 0; line-height: 39px;
    color: #65cbf8; font-size: 15px; display: block;
    border: 1px solid #0e0e0e; border-top: 0;
    border-radius: 7px; -moz-border-radius: 7px; -webkit-border-radius: 7px; -o-border-radius: 7px;
    margin-top: 16px;
}
#footer .contact-widget a.chat-btn:hover { text-decoration: none; color: #fff; }
#footer .contact-widget a.chat-btn span.chat-ico {
    width: 16px; height: 14px; position: absolute; top: 13px; left: 26px;
    background: url(images/chat-ico.png) no-repeat 0 0;
}

.footer-nav { float: left; }
.footer-nav ul { list-style: none; list-style-position: outside; font-size: 10px; font-weight: bold; }
.footer-nav ul li { float: left; padding: 0 39px 0 0; }
.footer-nav ul li a { color: #353535; }
.footer-nav ul li a:hover,
.footer-nav ul li.active a { color: #2497e0; text-decoration: none; }
#footer p.copy { float: right; color: #353535; }
#footer p.copy a { color: #3f3f3f; text-decoration: underline; }
#footer p.copy a:hover { text-decoration: none; }

/* ---------- Responsive navigation and layout ---------- */

.header-inner::after,
.main .cols::after,
.main .featured::after,
#footer .widgets::after {
    content: "";
    display: table;
    clear: both;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 40px;
    padding: 8px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    margin: 4px 0;
    border-radius: 2px;
    background: #2497e0;
    transition: 0.25s ease;
}

@media (max-width: 768px) {
    body {
        min-width: 0;
        overflow-x: hidden;
    }

    .shell {
        width: 100%;
        padding: 0 16px;
    }

    .header {
        height: auto;
        min-height: 70px;
        padding: 16px 0;
        background-repeat: repeat-x;
    }

    #logo {
        width: 171px;
        height: 28px;
        float: left;
        margin-top: 4px;
    }

    .menu-toggle {
        display: block;
        float: right;
        position: relative;
        z-index: 1001;
    }

    #navigation {
        display: none;
        float: none;
        clear: both;
        width: 100%;
        padding-top: 16px;
    }

    #navigation.is-open {
        display: block;
    }

    #navigation ul {
        width: 100%;
        padding: 6px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background: #ffffff;
    }

    #navigation ul li {
        float: none;
        width: 100%;
        padding: 0;
        border-bottom: 1px solid #eeeeee;
    }

    #navigation ul li:last-child {
        border-bottom: 0;
    }

    #navigation ul li a {
        display: block;
        width: 100%;
        padding: 14px 8px;
        color: #555555;
        font-size: 13px;
    }

    #navigation ul li a:hover,
    #navigation ul li.active a {
        color: #2497e0;
        background: #f5fbff;
        text-decoration: none;
    }

    .main {
        padding-top: 24px;
    }

    .slider-section {
        padding-bottom: 42px;
    }

    .flexslider {
        width: 100%;
        height: 260px;
        margin-top: 18px;
        border-radius: 6px;
    }

    .flexslider ul.slides,
    .flexslider ul.slides li,
    .flexslider ul.slides li img {
        width: 100%;
        height: 260px;
    }

    .flexslider ul.slides li img {
        object-fit: cover;
        object-position: center center;
    }

    .flexslider ul.slides li .slide-cnt {
        width: 100%;
        padding: 14px 16px;
        background: rgba(0, 0, 0, 0.65);
    }

    .flexslider ul.slides li .slide-cnt h3 {
        font-size: 18px;
        line-height: 22px;
    }

    .flexslider ul.slides li .slide-cnt p {
        font-size: 12px;
        line-height: 17px;
    }

    .flexslider ul.slides li .slide-cnt a.slider-btn {
        display: none;
    }

    .main .cols {
        padding-bottom: 30px;
    }

    .main .cols .col,
    .main .cols .col:last-of-type {
        width: 100%;
        float: none;
        padding: 0;
        margin-bottom: 28px;
    }

    .main .cols .col h3 {
        font-size: 19px;
        line-height: 24px;
    }

    .main .featured {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .main .featured .entry {
        width: 48.5%;
        margin: 0 0 16px 0;
    }

    .main .featured .entry + .entry {
        margin-left: 3%;
    }

    .main .featured .entry:nth-child(2n + 1) {
        clear: both;
        margin-left: 0;
    }

    #footer,
    #footer-push {
        height: auto;
        min-height: 0;
        padding-top: 28px;
    }

    #footer .widget,
    #footer .widget + .widget {
        width: 100%;
        float: none;
        padding: 0;
        margin-bottom: 28px;
    }

    #footer .gallery-widget ul li {
        width: 31%;
        padding-right: 3%;
    }

    .footer-nav,
    #footer p.copy {
        float: none;
        width: 100%;
        text-align: center;
    }

    .footer-nav ul li {
        display: inline-block;
        float: none;
        padding: 0 10px 8px;
    }

    #footer p.copy {
        margin-top: 12px;
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .shell {
        padding: 0 12px;
    }

    .flexslider,
    .flexslider ul.slides,
    .flexslider ul.slides li,
    .flexslider ul.slides li img {
        height: 220px;
    }

    .main h2 {
        font-size: 21px;
        line-height: 26px;
    }

    .main h3 {
        font-size: 19px;
        line-height: 23px;
    }

    .main .featured .entry {
        width: 100%;
        float: none;
        margin-left: 0 !important;
    }
}
