/* ------------------------------------------------------------------------------- */
/*  Media Queries
/* ------------------------------------------------------------------------------- */


/* Standard 960 or larger (browsers) */
@media only screen and (min-width: 960px) {

}


/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 979px) {

    .container {
        max-width: 708px;
    }

    .header-block { background: #185596; padding: 5px; color: #fff; }
    .header-block h4:before,
    .header-block h4 span { background: none;  border: 0; padding: 0; }

    #header { min-height: 160px; }
    #logo { width: 100%; }
    #logo img { margin: auto; }
    #navigation { display: none;}
    .selectnav {
        display: block;
        margin-left: -50px;
        margin-right: -50px;
        width: 808px;
    }

    .jcarousel-prev,
    .jcarousel-next {
       /* display: none !important;*/
       
    }
   body .jcarousel-next-disabled, body .jcarousel-prev-disabled {display: block !important;}
    .project-next {right: 0; z-index: 1000; position: absolute; opacity: 0.1;        background: rgba(0,0,0, .4);
        opacity: 1;}
    .project-prev {left: 0px; z-index: 1000;        background: rgba(0,0,0, .4);
        opacity: 0.5;}





    .project-item .item-title {
        bottom: 20px;
    }


    .photo-stream img {
        width: 49px;
        height: 49px;
    }


    .flex-caption {
        margin: 0 0 20px 70px;
        padding: 25px;
        width: 300px;
    }
    .flex-caption h3 {
        font-size: 18px;
    }
    .flex-caption p {
        font-size: 12px;
    }


    .fullwidth-padding .google-map {
        height: 350px;
    }

}

@media (max-device-width: 1024px) and (orientation: landscape) {

    #body-wrapper {
        margin-bottom: 0;
        margin-top: 0;
    }

}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .project-carousel li {
        width: 226px;
        height: 226px;
        margin-right: 15px;
    }
    .project-feed > div {
        margin-bottom: 14px;
    }


    .project-description .one-fourth {
        width: 31.9%;
    }
    .project-description .three-fourth {
        width: 64%;
    }

}


/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {


    .inline-border:before, .inline-border:after {
        width: 10%;
    }


    .container {
        width: 440px;
    }
    #main {
        margin-bottom: 40px;
    }
    #main, #sidebar {
        width: 100%;
    }


    .one-half       { width: 48%; }
    .one-third      { width: 100%; }
    .two-third      { width: 64%; }
    .one-fourth     { width: 49%; }
    .three-fourth   { width: 100%; }
    .one-fifth      { width: 31.8%; }
    .two-fifth      { width: 36.8%; }
    .three-fifth    { width: 55.2%; }
    .four-fifth     { width: 73.6%; }
    .one-sixth      { width: 15%; }
    .five-sixth     { width: 75%; }

    .one-fourth:nth-child(2n+2) {
        margin-right: 0;
    }
    .one-fifth:nth-child(3n+3) { margin-right: 0; }

    .one-half,
    .one-third,
    .two-third,
    .three-fourth,
    .one-fourth,
    .one-fifth,
    .two-fifth,
    .three-fifth,
    .four-fifth,
    .one-sixth,
    .five-sixth {
        margin-bottom: 30px;
    }


    #navigation {
        display: none;
    }
    .selectnav {
        display: block;
        margin-left: -30px;
        margin-right: -30px;
        width: 500px;
    }




    #header {
        min-height: 160px;
    }
    #logo {
        margin-top: 50px;
    }


    .page-title {
        padding-top: 40px;
        padding-bottom: 45px;
        font-size: 42px;
    }
    .page-title .accent {
        font-size: 24px;
    }


    .project-carousel li {
        width: 210px;
        height: 210px;
    }


    .social-links {
        float: left;
        margin-top: 15px;
    }
    .social-links li {
        margin-left: 0;
        margin-right: 8px;
    }


    .sep10   { height: 10px; }
    .sep20   { height: 20px; }
    .sep30   { height: 30px; }
    .sep40   { height: 25px; }
    .sep50   { height: 30px; }
    .sep60   { height: 40px; }
    .sep70   { height: 45px; }
    .sep80   { height: 50px; }
    .sep90   { height: 60px; }
    .sep100  { height: 50px; }

    .icon-tabs.left-tabs .one-fourth { width: 100%; }

    .flex-caption {
        display: none;
    }


    .project-nav {
        float: left;
        margin-bottom: 20px;
    }
    .project-nav a {  
        margin-left: 0;
        margin-right: 8px;
    }


    .button.big {
        padding: 7px 20px 8px;
        font-size: 12px;
    }


    .service {
        margin-bottom: 0;
    }
    .service.nobutton {
        margin-bottom: 50px;
    }


    #footer .info {
        margin-top: 20px;
    }

}


/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .ui-tabs .ui-tabs-nav li h2 a { padding: 0 10px;}
    #logo { margin-top: 30px; }
    .icon-tabs.left-tabs .ui-tabs .ui-tabs-nav { width: 100%; }

}


/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
    #logo { margin-top: 30px; }

    .container {
        width: 280px;
    }
    #main, #sidebar {
        width: 100%;
    }

    .one-half       { width: 100%; }
    .one-third      { width: 100%; }
    .two-third      { width: 100%; }
    .one-fourth     { width: 100%; }
    .three-fourth   { width: 100%; }
    .one-fifth      { width: 100%; }
    .two-fifth      { width: 100%; }
    .three-fifth    { width: 100%; }
    .four-fifth     { width: 100%; }
    .one-sixth      { width: 100%; }
    .five-sixth     { width: 100%; }


    .project-carousel li {
        width: 280px;
        height: 280px;
    }

    .selectnav {
        margin-left: -25px;
        margin-right: -25px;
        width: 330px;
    }

    .icon-tabs.left-tabs .ui-tabs .ui-tabs-nav li { width: 100%; }


    .pricing-table-extended.five-cols .column  { width: 100%; }
    .pricing-table-extended.four-cols .column  { width: 100%; }
    .pricing-table-extended.three-cols .column { width: 100%; }
    .pricing-table-extended.two-cols .column   { width: 100%; }
    .pricing-table-extended.one-cols .column   { width: 100%; }

    .pricing-table-simple.five-cols .column  { width: 100%; }
    .pricing-table-simple.four-cols .column  { width: 100%; }
    .pricing-table-simple.three-cols .column { width: 100%; }
    .pricing-table-simple.two-cols .column   { width: 100%; }
    .pricing-table-simple.one-cols .column   { width: 100%; }

}