



/* mobile narrow
--------------------------------------------------------------- */
@media only screen and (max-width: 460px) {

    .row {
        width: auto;
    }
}



/* mobile wide/smaller tablets
---------------------------------------------------------------------- */

@media only screen and (max-width: 767px) {


    .column, .columns {
        width: auto !important;
        float: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0 30px;
    }


    [class*="column"] + [class*="column"]:last-child {
        float: none;
    }

    [class*="bgrid"] [class*="column"] + [class*="column"]:last-child {
        float: none;
    }


    /* mobile navigation
   -------------------------------------------------------------------- */
    #nav-wrap {
        font: 12px 'opensans-bold', sans-serif;
        background: transparent !important;
        letter-spacing: 1.5px;
        width: auto;
        position: fixed;
        top: 0;
        right: 0;
    }

        /*Mobile button*/
        #nav-wrap .show-menu {
            width: 48px;
            height: 48px;
            text-align: left;
            background-color: rgba(0, 0, 0, 0.8);
            position: relative;
            border: none;
            float: right;
            font: 0/0 a;
            text-shadow: none;
            color: transparent;
            position: relative;
            top: 0px;
            right: 10px;
            display: block;
            z-index: 9999;
        }

            #nav-wrap .show-menu:after,
            #nav-wrap .show-menu:before {
                position: absolute;
                border: 2px solid #11ABB0;
                top: 35%;
                left: 25%;
                right: 25%;
                content: '';
            }

            #nav-wrap .show-menu:after {
                top: 60%;
            }


    ul#nav li {
        display: block;
        height: auto;
        margin: 0 auto;
        padding: 0 4%;
        text-align: left;
        border-bottom: 1px solid #2D2E34;
        border-bottom-style: dotted;
    }

        ul#nav li a {
            display: inline-block;
            margin: 0;
            padding: 0;
            margin: 12px 0;
            line-height: 16px; /* reset line-height from 48px */
            border: none;
        }

            /*Make dropdown links appear inline*/
    ul#nav {
        position: static;
        display: none;
    }
    /*Create vertical spacing*/
    li {
        margin-bottom: 1px;
    }

    /*Display 'show menu' link*/
    .show-menu {
        display: block;
    }


    /* Header Styles
   -------------------------------------------------------------------- */
    header .banner {
        padding-bottom: 12px;
        padding-top: 6px;
    }

    header .banner-text hr {
        width: 80%;
        margin: 18px auto;
    }

    /* header social links */
    header .social {
        margin: 18px 0 24px 0;
        font-size: 24px;
        line-height: 36px;
    }

        header .social li {
            margin: 0 10px;
        }

    /* scrolldown link */
    header .scrolldown {
        display: none;
    }

    sub-header {
        text-align: center;
    }


    /* About Section
   -------------------------------------------------------------------- */
    #about .profile-pic {
        display: none;
    }

    #about .download .button {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    #about .main-col {
        padding-right: 30px;
    }


    /* Resume Section
   --------------------------------------------------------------------- */
    #resume .header-col {
        padding-top: 0;
        margin-bottom: 48px;
        text-align: center;
    }

    #resume h1 {
        letter-spacing: 3px;
    }

    #resume .main-col {
        padding-right: 30px;
    }

    #resume h3, #resume .info {
        text-align: center;
    }

    .bars {
        width: 100%;
    }


    /* Call To Action Section
   /* ----------------------------------------------------------------- */
    #call-to-action {
        text-align: center;
    }

        #call-to-action h1 {
            font: 16px/24px 'opensans-bold', sans-serif;
            text-align: center;
            margin-bottom: 30px;
            text-shadow: 0px 1px 3px rgba(0, 0, 0, 1);
        }

            #call-to-action h1 span {
                display: block;
            }

        #call-to-action .header-col h1:before {
            content: none;
        }

        #call-to-action p {
            font-size: 15px;
        }


    /* Portfolio Section
   /* ----------------------------------------------------------------- */
    #portfolio-wrapper .columns {
        margin-bottom: 40px;
    }

    .popup-modal {
        max-width: 85%;
    }


    /* Testimonials Section
   ----------------------------------------------------------------------- */
    #testimonials .text-container {
        text-align: center;
    }

    #testimonials h1 {
        font: 16px/24px 'opensans-bold', sans-serif;
        text-align: center;
        margin-bottom: 30px;
        text-shadow: 0px 1px 3px rgba(0, 0, 0, 1);
    }

        #testimonials h1 span {
            display: block;
        }

    #testimonials .header-col h1:before {
        content: none;
    }

    #testimonials blockquote {
        padding-bottom: 24px;
    }

        #testimonials blockquote p {
            font-size: 20px;
            line-height: 42px;
        }

    /* Control Nav */
    .flex-control-nav {
        text-align: center;
        margin-left: -30px;
    }


    /* contact Section
   ----------------------------------------------------------------------- */
    #contact {
        padding-bottom: 66px;
    }

        #contact .section-head {
            margin-bottom: 12px;
        }

            #contact .section-head h1 {
                font: 16px/24px 'opensans-bold', sans-serif;
                text-align: center;
                margin-bottom: 30px;
                text-shadow: 0px 1px 3px rgba(0, 0, 0, 1);
            }

        #contact h1 span {
            display: block;
        }

        #contact .header-col {
            padding-top: 0;
        }

            #contact .header-col h1:before {
                content: none;
            }

        #contact .section-head p.lead {
            text-align: center;
        }

        /* form */
        #contact label {
            float: none;
            width: 100%;
        }

        #contact input,
        #contact textarea,
        #contact select {
            margin-bottom: 6px;
            width: 100%;
        }

        #contact button.submit {
            margin: 30px 0 24px 0;
        }

    #message-warning, #message-success {
        width: 100%;
        margin-left: 0;
    }


    /* footer
   ------------------------------------------------------------------------ */

    /* copyright */
    footer .copyright li:before {
        content: none;
    }

    footer .copyright li {
        margin-right: 12px;
    }

    /* social links */
    footer .social {
        font-size: 22px;
    }

        footer .social li {
            margin-left: 18px;
        }

    /* Go To Top Button */
    #go-top {
        margin-left: -22px;
    }

        #go-top a {
            width: 54px;
            height: 54px;
            font-size: 18px;
            line-height: 54px;
        }
}


/* screenwidth less than 900px
--------------------------------------------------------------------- */
@media only screen and (max-width: 900px) {

    /* header styles
   ------------------------------------------------------------------ */
    header .banner {
        padding-bottom: 12px;
    }

    header .banner-text hr {
        width: 65%;
        margin: 12px auto;
    }
    /* nav-wrap */
    #nav-wrap {
        font: 11px 'opensans-bold', sans-serif;
        letter-spacing: 1.5px;
    }


    /* About Section
   ------------------------------------------------------------------- */
    #about .profile-pic {
        width: 114px;
        height: 114px;
        margin-left: 12px;
    }

    #about .contact-details {
        width: 50%;
    }

    #about .download {
        width: 50%;
    }

    /* Resume Section
   ------------------------------------------------------------------- */
    #resume h1 {
        font: 16px/24px 'opensans-bold', sans-serif;
    }

    #resume .main-col {
        padding-right: 5%;
    }

    /* Testimonials Section
   ------------------------------------------------------------------- */
    #testimonials .header-col h1:before {
        font-size: 66px;
        line-height: 66px;
    }

    #testimonials blockquote p {
        font-size: 22px;
        line-height: 46px;
    }

    /* Call to Action Section
   ------------------------------------------------------------------- */
    #call-to-action .header-col h1:before {
        font-size: 66px;
        line-height: 66px;
    }

    /* Contact Section
   ------------------------------------------------------------------- */
    #contact .section-head {
        margin-bottom: 30px;
    }

    #contact .header-col h1:before {
        font-size: 66px;
        line-height: 66px;
    }

    #contact .section-head p.lead {
        font: 17px/33px opensans-light, sans-serif;
    }
}


/* screenwidth less than 1024px
--------------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {

}


/* larger screens
--------------------------------------------------------------- */
@media screen and (min-width: 1200px) {

    .wide .row {
        max-width: 1180px;
    }
}




/* mobile narrow
  -------------------------------------------------------------------------- */

@media only screen and (max-width: 480px) {

    /* mobile navigation
   -------------------------------------------------------------------- */
    #nav-wrap ul#nav {
        width: auto;
        float: none;
    }

    /* header styles
   -------------------------------------------------------------------- */
    header .banner {
        padding-top: 24px;
    }

    /* header social links */
    header .social {
        font-size: 20px;
    }

        header .social li {
            margin: 0 6px;
        }

    /* footer
   ------------------------------------------------------------------------ */

    /* social links */
    footer .social {
        font-size: 20px;
    }

        footer .social li {
            margin-left: 14px;
        }
}
