/* #### Mobile Phones Portrait #### */
@media all and (max-width: 480px) and (orientation: portrait){
body {
	background-image:none;
}
#wrapper, #logo, #header-left, #banner, #banner-text, .one-three, .two-three, .three-three {
	width:100%;
}
#wrapper {
	margin:0 auto;
}
#logo img {
	width:80%;
}
#intro {
	width:94%;
	height:auto;
	padding: 3% 3% 100px 3%;
}
#banner {
	height:auto;
}
#banner-text img {
	width:76%;
}
footer {
	height:40px;
	margin-top:0px;
}
#footer-left, #footer-right {
	width:100%;
	text-align:center;
}
}

/* #### Mobile Phones Landscape #### */
@media all and (min-width:480px) and (max-width: 768px) {
body {
	background-image:none;
}
#wrapper, #logo, #header-left, #banner, #banner-text, .one-three, .two-three, .three-three {
	width:100%;
}
#wrapper {
	margin:0 auto;
}
#logo img {
	width:45%;
}
#intro {
	width:94%;
	padding:3%;
	height:310px;
}
#banner {
	height:auto;
}
#banner-text img {
	width:76%;
}
footer {
	height:40px;
	margin-top:0px;
}
#footer-left, #footer-right {
	width:100%;
	text-align:center;
}
}

/* #### Mobile Phones Portrait or Landscape #### */
@media all and (max-width: 768px){
body {
	background-image:none;
}
#wrapper, #logo, #header-left, #banner, #banner-text, .one-three, .two-three, .three-three {
	width:100%;
}
#wrapper {
	margin:0 auto;
}
#banner {
	height:auto;
}
#banner-text img {
	width:76%;
}
footer {
	height:40px;
	margin-top:0px;
}
#footer-left, #footer-right {
	width:100%;
	text-align:center;
}
.three-column {
	width:94%;
	margin:3%;
}
.three-column:nth-of-type(3n) {
	margin:3%;
}
.casestudy-text {
	min-height:inherit;
}
}

/* #### iPhone 4+ Portrait or Landscape #### */
@media screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2){
  /* some CSS here */
}

/* #### Tablets Portrait or Landscape #### */
@media all and (min-width: 768px) and (max-width: 1024px){
#wrapper {
	width:760px;
}
#header-left, #logo { width:280px;}
#logo {
	height:90px;
	padding-top:10px;
}
#logo img {
	width:70%;
}
#intro {
	width:240px;
	padding:20px;
	font-size:14px;
	height:275px;
}
#banner {
	width:480px;
	height:415px;
	background-color:#3b9c8e;
}
#banner-text {
	width:100%;
	height:415px;
}
#banner-text img {
	height:100%;
}

.flexslider, .slides, .slides > li {
	height:100%;
}
.flexslider .slides li img {
	height:100%;
}
.casestudy-text {
	min-height:650px;
}
.button-white {
	padding:5px;
	font-size:16px;
}
footer { margin-top:20px;}
}

/* #### Desktops #### */
@media all and (min-width: 1024px) and (max-width: 1250px){
#logo {
	width:100%;
}
#intro {
	width:90%;
	padding:5%;
	line-height:24px;
}
#wrapper {
	width:1000px;
}
#header-left {
	width:350px;
}
#banner {
	width:650px;
	height:575px;
}
.flexslider, .slides, .slides > li {
	height:100%;
}
.flexslider .slides li img {
	height:100%;
}
#banner-text {
	height:575px;

}
#banner-text img {
	height:100%;
}
.casestudy-text {
	min-height:500px;
}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}
/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}