/* Responsive styling */
/* Mobile */
@media screen and (max-width:767px) {
    body {
        font-size: 14px;
    }

    h1 .page-icon {
        width: 11%;
    }

    .mask,
    .vertical-divider,
    .home-slideshow .banner-caption,
    #navigation {
        display: none;
    }

    .container,
    .container-small,
    .feature-list .feature,
    .feature-title {
        width: 100%
    }

    /* Header */
    #header {
        background-color: #037f98;
        padding: 1.2em 1.667em;
        position: relative;
        z-index: 1000;
        height: 115px;
    }

    #header .site-logo {
        width: 50%;
    }

    #header .site-logo img {
        width: 150px;
    }

    /* Navigation */
    #show-mobile-nav {
        cursor: pointer;
        display: block;
        float: right;
        color: #FFF;
        font-size: 3.8em;
        padding: 0.3em 0.2em 0 0;
    }

    #header.sticky #show-mobile-nav {
        color: #037f98;
    }

    #mobile-navigation {
        clear: both;
        position: fixed;
        overflow-y: scroll;
        overflow-x: hidden;
        top: 8em;
        left: 0;
        background-color: #037f98;
        height: 100%;
        width: 100%;
        z-index: 1100;
        padding-bottom: 100px;
        margin-bottom: 100px;
    }

    #mobile-navigation a {
        display: block;
        color: #FFF;
        width: 100%;
        padding: 0.8em 0;
        text-align: center;
        font-size: 1.2em;
    }

    #mobile-navigation li.current_page_item a {
        color: #f29600;
    }

    #mobile-navigation li.current_page_item ul li a {
        color: #FFF;
    }

    /* Banner */
    .home-slideshow, .home-slideshow .slide, .home-slideshow .slide .image,
    .generic-slideshow, .generic-slideshow .slide, .generic-slideshow .slide .image {
        height: 165px;
    }

    .banner .slide .image {
        background-position: center center;
        background-size: cover;
    }

    .banner .slide .image img {
        display: block;
        width: 100% \9;
        max-width: 100%;
        height: auto;
    }

    /* Rounded list */
    .rounded-list .rounded-item {
        display: inline-block;
        width: 253px;
        margin: 0 auto 2.9em auto;
    }

    .rounded-list .rounded-item .image-bg {
        text-align: center;
        margin: 0 auto;
    }

    .rounded-list .rounded-item .rounded-caption {
        display: inline-block;
        text-align: center;
        margin: 1.2em auto 0 auto;
        width: 100%;
    }

    .rounded-list .rounded-item .rounded-icon {
        width: 15%;
        text-align: center;
    }

    .rounded-list .rounded-item .rounded-title {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .home-content .btn {
        width: 100%;
    }

    #home-feature-2, .page-box {
        height: 100%;
    }

    .home-content {
        padding: 3.143em 0;
    }

    /* Home areas */
    #home-feature-1,
    #home-feature-3,
    #home-feature-5,
    .panel-social,
    .page,
    .page-box {
        padding: 0 2.500em;
    }

    .page.home {
        padding: 0;
    }

    .home-content {
        width: 100%;
        padding-left: 2.500em;
        padding-right: 2.500em;
    }

    .home-content h1 {
        margin-top: 0;
    }

    .logo-list ul li {
        margin: 0 0.999em;
    }

    /* Sidebar */
    #sidebar {
        width: 100%;
    }

    /* Main */
    .post {
        padding-right: 0;
    }

    .post img {
        display: block;
        width: 100% \9;
        max-width: 100%;
        height: auto;
        margin: 2.2em 0;
    }

    .page-box {
        padding-top: 1.2em;
        padding-bottom: 1.2em;
    }

    .feature-list .feature {
        padding: 1.214em 0;
    }

    .page-box .feature-list,
    .page-box .feature-list .feature,
    .page-box .testimonial-list {
        width: 100%;
    }

    .feature-list .feature .feature-left {
        width: 100%;
        margin: 0 auto 2.2em auto;
        text-align: center;
    }

    .feature-list .feature .feature-left .image img {
        text-align: center;
        margin: 0 auto;
    }

    .feature-list .feature .feature-button .btn {
        width: 100%;
        margin: 0 auto;
    }

    .feature-list .feature .feature-detail {
        width: 100%;
        text-align: center;
        padding-left: 0;
    }

    .page-box .testimonial-list .cycle-slide {
        padding: 0;
    }

    .post .btn {
        width: 100%;
    }

    #sidebar {
        padding-top: 1.2em;
    }

    .post-list .post-item .image {
        margin-right: 1.4em;
    }

    .g-recaptcha {
        transform:scale(0.77);
        -webkit-transform:scale(0.77);
        transform-origin:0 0;
        -webkit-transform-origin:0 0;
    }
}

/* Tablet */
@media screen and (min-width:768px) and (max-width: 894px) {

    .mask,
    .vertical-divider,
    #navigation,
    .panel-social .aiwidgetscss.widget .imgalign {
        display: none;
    }

    .container,
    .container-small,
    .feature-list .feature,
    .feature-title {
        width: 100%
    }

    /* Header */
    #header {
        background-color: #037f98;
        padding: 1.2em 1.667em;
        position: relative;
        z-index: 1000;
        height: 115px;
    }

    #header .site-logo {
        width: 50%;
    }

    #header .site-logo img {
        width: 150px;
    }

    /* Navigation */
    #show-mobile-nav {
        cursor: pointer;
        display: block;
        float: right;
        color: #FFF;
        font-size: 3.8em;
        padding: 0.3em 0.2em 0 0;
    }

    #mobile-navigation {
        clear: both;
        position: fixed;
        overflow-y: scroll;
        overflow-x: hidden;
        top: 6.4em;
        right: 0;
        background-color: #037f98;
        height: 100%;
        width: 50%;
        z-index: 1100;
        padding-bottom: 100px;
        margin-bottom: 100px;
    }

    #mobile-navigation a {
        display: block;
        color: #FFF;
        width: 100%;
        padding: 0.8em 0;
        text-align: center;
        font-size: 1.2em;
    }

    #mobile-navigation li.current_page_item a {
        color: #f29600;
    }

    #mobile-navigation li.current_page_item ul li a {
        color: #FFF;
    }

    #home-feature-1,
    #home-feature-3,
    #home-feature-4,
    #home-feature-5,
    .page,
    .page-box {
        padding: 0 2.857em;
    }

    .home-slideshow .banner-caption {
        top: 35%;
    }

    .rounded-list .rounded-item:nth-child(2) {
        margin-right: 0;
        margin-bottom: 1.2em;
    }

    .rounded-list .rounded-item:last-child {
        margin-right: 2.41em;
    }

    .page.home {
        padding: 0;
    }

    .post {
        padding-right: 0;
    }

    .home-content {
        width: 100%;
        padding-left: 2.857em;
        padding-right: 2.857em;
    }

    #sidebar {
        width: 100%;
    }

    .page-box {
        padding-top: 1.2em;
        padding-bottom: 1.2em;
    }

    .page-box .feature-list,
    .page-box .feature-list .feature,
    .page-box .testimonial-list {
        width: 100%;
    }

    .page-box .feature-list .feature {
        padding-top: 1.3em;
        padding-bottom: 1.3em;
    }

    .page-box .testimonial-list .cycle-slide {
        padding: 0;
    }

    .page-box .testimonial-list blockquote {
        text-align: center;
    }

    #home-feature-2, .page-box {
        height: 100%;
    }

    .page-box .feature-list .feature .feature-left {
        width: 100%;
        margin: 0 auto 2.2em auto;
        text-align: center;
    }

    .page-box .feature-list .feature .feature-left .image img {
        text-align: center;
        margin: 0 auto;
    }

    .page-box .feature-list .feature .feature-button .btn {
        width: 25%;
        margin: 0 auto;
    }

    .page-box .feature-list .feature .feature-detail {
        width: 100%;
        text-align: center;
    }

}