/***********************
*  Site Specific CSS   *
************************/

/* @imports
--------------*/
@import url("http://cdn.myld.com.au/1/css/fontawesome/4.0.3/css/font-awesome.css");
@import url('http://cdn.myld.com.au/1/js/plugins/smartCaptcha/smartCaptcha-v1.0.min.css');
@import url('http://cdn.myld.com.au/1/js/fancybox2/jquery.fancybox.css');
@import url('http://cdn.myld.com.au/1/js/fancybox2/helpers/jquery.fancybox-thumbs.css');
@import url('http://cdn.myld.com.au/1/js/plugins/PhotoSwipe/photoswipe.min.css');
@import url('http://cdn.myld.com.au/1/css/AnimateCss/animate.min.css');
@import url('http://cdn.myld.com.au/1/js/plugins/CustomScrollbar/v3.0.2/jquery.mCustomScrollbar.min.css');

/* @font-faces
--------------*/
@font-face{
   font-family: 'Jura';
   src:   url(http://cdn.myld.com.au/1/fonts/Jura/juralight-webfont.eot);
   src:   url(http://cdn.myld.com.au/1/fonts/Jura/juralight-webfont.eot?#iefix) format('embedded-opentype'),
   url(http://cdn.myld.com.au/1/fonts/Jura/juralight-webfont.woff) format('woff'),
   url(http://cdn.myld.com.au/1/fonts/Jura/juralight-webfont.ttf) format('truetype'),
   url(http://cdn.myld.com.au/1/fonts/Jura/juralight-webfont.svg#juralight) format('svg');
   font-weight:300;
   font-style:normal;
}

@font-face{
   font-family: 'Jura';
   src:   url(http://cdn.myld.com.au/1/fonts/Jura/juraregular-webfont.eot);
   src:   url(http://cdn.myld.com.au/1/fonts/Jura/juraregular-webfont.eot?#iefix) format('embedded-opentype'),
   url(http://cdn.myld.com.au/1/fonts/Jura/juraregular-webfont.woff) format('woff'),
   url(http://cdn.myld.com.au/1/fonts/Jura/juraregular-webfont.ttf) format('truetype'),
   url(http://cdn.myld.com.au/1/fonts/Jura/juraregular-webfont.svg#jurabook) format('svg');
   font-weight:400;
   font-style:normal;
}

@font-face{
   font-family: 'Jura';
   src:   url(http://cdn.myld.com.au/1/fonts/Jura/juramedium-webfont.eot);
   src:   url(http://cdn.myld.com.au/1/fonts/Jura/juramedium-webfont.eot?#iefix) format('embedded-opentype'),
   url(http://cdn.myld.com.au/1/fonts/Jura/juramedium-webfont.woff) format('woff'),
   url(http://cdn.myld.com.au/1/fonts/Jura/juramedium-webfont.ttf) format('truetype'),
   url(http://cdn.myld.com.au/1/fonts/Jura/juramedium-webfont.svg#juramedium) format('svg');
   font-weight:500;
   font-style:normal;
}

@font-face{
   font-family: 'Raleway';
   src:   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-regular-webfont.eot);
   src:   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-regular-webfont.eot?#iefix) format('embedded-opentype'),
   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-regular-webfont.woff) format('woff'),
   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-regular-webfont.ttf) format('truetype'),
   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-regular-webfont.svg#ralewayregular) format('svg');
   font-weight:400;
   font-style:normal;
}

@font-face{
   font-family: 'Raleway';
   src:   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-semibold-webfont.eot);
   src:   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-semibold-webfont.eot?#iefix) format('embedded-opentype'),
   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-semibold-webfont.woff) format('woff'),
   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-semibold-webfont.ttf) format('truetype'),
   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-semibold-webfont.svg#ralewaysemibold) format('svg');
   font-weight:600;
   font-style:normal;
}

@font-face{
   font-family: 'Raleway';
   src:   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-bold-webfont.eot);
   src:   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-bold-webfont.eot?#iefix) format('embedded-opentype'),
   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-bold-webfont.woff) format('woff'),
   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-bold-webfont.ttf) format('truetype'),
   url(http://cdn.myld.com.au/1/fonts/Raleway/raleway-bold-webfont.svg#ralewaybold) format('svg');
   font-weight:700;
   font-style:normal;
}

/* @general styles
-----------------*/
::selection {
  background:#008d98;
	color:#fff;
}

a {
	color:#008d98;
	text-decoration:none;
}

a:hover {
	color:inherit;
	text-decoration:none;
}

body:before {
	content:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_b3f71f9e7a.png) url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_c1d9a9c7a9.png) url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_b86e0130c7.png) url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_07c884a226.png);
	display:none;
}

body {
	background:#fff;
	color:#393939;
	font-family: 'Raleway';
	font-weight:400;
	font-style:normal;
	font-size:18px;
	line-height:normal;
}

.negMargin {
	margin-left:-15px;
	margin-right:-15px;
}

#header {
	background:url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_4fc4bf6609.jpg) repeat;
	border-bottom:solid 36px #fff;
}

#logo {
	padding-top:34px;
	max-width:318px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:-16px;
	background:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_3b8eb05fd3.png) center top no-repeat;
}

#logo img {
	display:none;
}

#logo img.showMe {
	display:inline-block;
}

.navbar {
	min-height:0;
	margin-bottom:0;
}

.navbar .nav {
	margin:0;
}

.navbar .nav>li {
	float:left;
}

.navbar-nav>li>a {
	color:#1a1a1a;
	font-family: 'Jura';
	font-weight:300;
	font-style:normal;
	font-size:22px;
	line-height:24px;
	white-space:nowrap;
	padding:26px 0;
	position:relative;
	display:block;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.nav>li>a:hover, .nav>li>a:focus, .nav>li.active>a {
	background:transparent;
	color:#632564;
}

.navbar-nav>li>a:after {
	content:"";
	position:absolute;
	width:40px;
	height:2px;
	bottom:24px;
	left:50%;
	margin-left:-20px;
	opacity:0;
	pointer-events:none;
	background:#632564;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.nav>li>a:hover:after, .nav>li>a:focus:after, .nav>li.active>a:after {
	opacity:1;
}

.navbar-nav>li:nth-child(2)>a:hover:after {
	display:none;
}

.dropdown-menu:before {
	content:"";
	position:absolute;
	width:111px;
	height:62px;
	left:-2px;
	top:-25px;
	z-index:-1;
	pointer-events:none;
	background:url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_07c884a226.png) no-repeat;
}

.dropdown-menu {
	min-width:0;
	width:111px;
	height:62px;
	padding:0;
	margin:0;
	background:none;
	border:none;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	box-shadow:none;
	-webkit-box-shadow:none;
	-moz-box-shadow:none;
}

.dropdown-menu>li>a {
	padding:0;
	color:#fff;
	font-family: 'Jura';
	font-weight:300;
	font-style:normal;
	font-size:22px;
	text-align:center;
	line-height:24px;
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
	color:#008d98;
	background:none;
}

#slider:before,
#mapWrap:before {
	content:"";
	position:absolute;
	width:100%;
	height:10px;
	left:0;
	top:-10px;
	pointer-events:none;
	background:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_8cda95f5da.png) center bottom no-repeat;
}

#slider {
	position:relative;
	height:330px;
	z-index:1;
}

#slider:after,
#mapWrap:after {
	content:"";
	position:absolute;
	width:100%;
	height:21px;
	left:0;
	bottom:-21px;
	pointer-events:none;
	background:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_3e150f8ab1.png) center top no-repeat;
}

body#home #slider {
	height:550px;
}

body#contact-us #slider {
	display:none;
}

a.prev, a.next {
	display:none;
	position:absolute;
	width:36px;
	height:35px;
	top:50%;
	margin-top:-18px;
	text-indent:-99999%;
	z-index:100;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

body#home a.prev, body#home a.next {
	display:block;
}

a.prev {
	background:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_3b85b295f1.png) no-repeat;
	left:10px;
}

a.next {
	background:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_b54957d223.png) no-repeat;
	right:10px;
}

a.prev:hover {
	background-image:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_b3f71f9e7a.png);
}

a.next:hover {
	background-image:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_c1d9a9c7a9.png);
}

#paginations {
	position:absolute;
	width:100%;
	height:11px;
	bottom:12px;
	display:none;
}

body#home #paginations {
	display:inline-block;
}

#paginations ul {
	text-align:center;
}

.pagination {
	width:11px;
	height:11px;
	background:#b7b7b7;
	border-radius:999px;
	-webkit-border-radius:999px;
	-moz-border-radius:999px;
	margin:0 2px;
	cursor:pointer;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.pagination.active, .pagination:hover {
	background:#632564;
}

#cta {
	color:#ded9a6;
	font-family: 'Jura';
	font-weight:300;
	font-style:normal;
	font-size:36px;
	text-transform:uppercase;
	line-height:36px;
	padding-top:30px;
	padding-bottom:30px;
	background:url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_4fc4bf6609.jpg) repeat;
}

body#contact-us #cta {
	display:none;
}

#cta span {
	color:#fff;
}

#cta a:before {
	content:"";
	position:absolute;
	width:17px;
	height:17px;
	left:10px;
	top:50%;
	margin-top:-8px;
	pointer-events:none;
	background:url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_9e0696f546.png) no-repeat;
}

#cta a {
	position:relative;
	display:inline-block;
	width:276px;
	color:#fff;
	font-family: 'Jura';
	font-weight:500;
	font-style:normal;
	font-size:22px;
	text-transform:uppercase;
	line-height:26px;
	padding:15px 0 11px 26px;
	margin-top:10px;
	background:url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_010f52d460.png) center center no-repeat;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#cta a:hover {
	background-image:url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_b86e0130c7.png);
}

.pageTitle {
	overflow:hidden;
}

.rightRepeat {
	position:relative;
	display:block;
	color:#393939;
	font-family: 'Raleway';
	font-weight:400;
	font-style:normal;
	font-size:23px;
	text-transform:uppercase;
	line-height:24px;
	margin:0 0 10px 0;
}

.rightRepeat:after {
	content:"";
	position:absolute;
	width:100%;
	height:15px;
	top:50%;
	margin-top:-8px;
	pointer-events:none;
	margin-left:15px;
	background:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_03d6ea62e2.png) repeat-x;
}

#intro:before {
	content:"";
	position:absolute;
	width:100%;
	height:100%;
	left:0;
	top:0;
	z-index:-1;
	pointer-events:none;
	background:rgba(0,141,152,0.8);
}

#intro {
	position:relative;
	padding-top:70px;
	padding-bottom:80px;
	color:#fff;
	font-family: 'Raleway';
	font-weight:400;
	font-style:normal;
	font-size:22px;
	line-height:normal;
}

#intro p {
	margin-bottom:30px;
}

#intro a {
	color:#632564;
}

#intro a:hover {
	color:#fff;
}

#content {
	padding-top:50px;
	padding-bottom:80px;
}

.contentBox {
	overflow:hidden;
	position:relative;
	margin-bottom:40px;
}

.contentBox:last-child {
	margin-bottom:0;
}

.contentImage {
	margin-top:30px;
}

.contentImage img {
	display:inline-block;
}

h2.moduleTitle {
	position:absolute;
	width:100%;
	left:0;
	top:0;
	color:#ded9a6;
	font-family: 'Raleway';
	font-weight:700;
	font-style:normal;
	font-size:20px;
	line-height:normal;
	margin:0 0 0 0;
	background:center center no-repeat rgba(99,37,100,0.69);
	padding:5px 15px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

img.moduleImage {
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
}

.moduleText {
	position:relative;
	width:100%;
	height:100%;
	left:0;
	top:0;
	padding:20px 15px;
	background:rgba(222,217,166,0.9);
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.contentBox:hover .moduleText {
	top:0;
}

.moduleText ul,
.moduleText p {
	margin-bottom:20px;
}

.mCSB_scrollTools {
	background:#c0ba82;
	border-radius:999px;
	-webkit-border-radius:999px;
	-moz-border-radius:999px;
}

#homeThumbs {
	padding-top:45px;
	padding-bottom:40px;
}

.ht {
	margin-bottom:40px;
}

#htRow2 .ht:last-child {
	margin-bottom:0;
}

#htRow2 {
	margin-top:0;
}

.homeThumb {
	color:#1a1a1a;
	font-family: 'Raleway';
	font-weight:400;
	font-style:normal;
	font-size:16px;
	line-height:normal;
}

.htImage:before {
	content:"";
	position:absolute;
	width:100%;
	height:100%;
	left:0;
	top:0;
	pointer-events:none;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	background:rgba(0,0,0,0.4);
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.htImage {
	position:relative;
	margin-bottom:15px;
}

.htImage:after {
	content:"";
	position:absolute;
	width:40px;
	height:40px;
	left:10px;
	top:10px;
	pointer-events:none;
	background:url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_741b4b5f16.png) no-repeat;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#homeThumbs a:hover .htImage:before,
#homeThumbs a:hover .htImage:after {
	opacity:0;
}

.homeThumb h3 {
	color:#008d98;
	font-family: 'Raleway';
	font-weight:600;
	font-style:normal;
	font-size:24px;
	text-transform:uppercase;
	line-height:normal;
	margin:0 0 10px 0;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#homeThumbs a:hover .homeThumb h3 {
	color:#632564;
}

.footer {
	position:relative;
	padding-top:12px;
	padding-bottom:9px;
	background:#ded9a6;
	color:#1a1a1a;
	font-family: 'Raleway';
	font-weight:400;
	font-style:normal;
	font-size:14px;
	line-height:25px;
}

.footer h3 {
	color:#1a1a1a;
	font-family: 'Raleway';
	font-weight:400;
	font-style:normal;
	font-size:24px;
	text-transform:capitalize;
	line-height:31px;
	margin:0 0 10px 0;
}

#footerRight {
	position:absolute;
	width:50%;
	height:100%;
	right:0;
	top:0;
	padding-left:175px;
}

#footerRight > div {
	width:100%;
	height:100%;
	background:url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_4fc4bf6609.jpg) repeat;
}

#copyright {
	color:#000;
	font-family: 'Raleway';
	font-weight:400;
	font-style:normal;
	font-size:13px;
	letter-spacing:0.04em;
	line-height:20px;
	margin-top:25px;
}

#footerLogo img {
	display:inline-block;
}

#footerContact h3 {
	color:#ded9a6;
}

#footerContact address {
	color:#ded9a6;
	font-size:16px;
	line-height:normal;
	margin-bottom:24px;
	padding-left:30px;
}
#footerContact address:last-child {
	margin-bottom:0;
}

.footerPhone {
	background:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_583e949d44.png) left 2px no-repeat;
}

.footerAddress {
	background:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_885024776f.png) left 2px no-repeat;
}

.footerMail {
	background:url(http://cdn.myld.com.au/2/869/dynamic-dental-486-hilliar-and-driver-dental_63ca1bbf0b.png) left 3px no-repeat;
}

#footerContact address a {
	color:#ded9a6;
}

#footerContact address a:hover {
	color:#008d98;
}

#footerBrands {
	margin-top:14px;
}

.footerInline {
	display:inline-block;
}

#mapWrap {
	position:relative;
	z-index:1;
}

#map-canvas {
	height:200px;
}

ul, ol {
	margin:0 0 10px -18px;
}

dt, dd, ul li, ol li {
	line-height:inherit;
}

dd {
	margin-left:0;
	margin-bottom:10px;
}

.break {
	word-break:break-all;
}

label, input, button, select, textarea {
	font-family:inherit !important;
	font-size:inherit !important;
	font-weight:inherit !important;
	line-height:inherit !important;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
	border-radius:0 !important;
	-webkit-border-radius:0 !important;
	-moz-border-radius:0 !important;
	background:#f2f2f2 !important;
	border:1px solid #d9d9d9;
}

input[type="file"] {
	height:auto !important;
}

.btn {
	background:#008d98;
	border-radius:0 !important;
	-webkit-border-radius:0 !important;
	-moz-border-radius:0 !important;
	border:1px solid #d9d9d9;
	color:#fff;
	box-shadow:none;
	text-shadow:none !important;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.btn:hover {
	color:#008d98;
	background:#fff;
}

#schema, .schema-address {
	display:none;
}

p:last-child,
p.last {
	margin-bottom:0 !important;
}

a.fancybox.thumbnail {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

a.fancybox.thumbnail:hover {
	opacity:0.6;
	filter: alpha(opacity=60);
	border-color:#ddd;
}

.firefox .isotope,
.firefox .item {
	max-width:100%;
	margin-left:auto;
	margin-right:auto;
}

blockquote {
	border-left:solid 5px #008d98;
}

/* @media queries
-----------------*/
@media (min-width: 1200px) {
	.container {
		width:1140px;
	}
}

@media (min-width: 992px) {
	#map-canvas {
		height:330px;
	}
	
	#header {
		border-bottom-width:16px;
	}
	
	.moduleText {
		position:absolute;
		top:-100%;
		padding-left:25px;
		padding-right:25px;
	}
	
	h2.moduleTitle {
		font-size:26px;
	}
}

@media (max-width: 991px) { /*beginning of default fixed menu bar*/ }

@media (min-width: 768px) {
	#htRow2 {
		margin-top:55px;
	}
	
	.ht {
		margin-bottom:0;
	}
	
	h2.moduleTitle {
		background-image:url(http://cdn.myld.com.au/2/868/dynamic-dental-486-hilliar-and-driver-dental_8366bd6b97.png);
	}
	
	.contentImage {
		margin-top:0;
	}
}

@media (max-width: 767px) {
	.contactInfo {
		margin-top:30px;
	}
}

@media (max-width: 568px) {...}

@media (max-width: 480px) {
	#logo {
		background-size:100% 100%;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	#map-canvas {
		height:320px;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.dropdown-menu {
		left:-16px !important;
	}
	
	#footerRight {
		padding-left:160px;
	}
}

/* Device specific media queries ----------- */
/* Tablets */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {...}

/* iPads (landscape) */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
	.moduleText {
		position:relative;
		top:0%;
	}
}

/* iPads (portrait) */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {...}

/* iPhone */
@media only screen  
and (max-device-width : 568px) {...}