/*
Theme Name: Galleria Michela Rizzo Theme
Author: Ivorystudio
Author URI: http://www.ivorystudio.it
Description: Tema Wordpress per Galleria Michela Rizzo 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Code licensed under the Apache License v2.0.
For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/*  Fonts  */

@font-face {
    font-family: DinMedium;
    src: url(fonts/DINAlternateMedium.ttf);
/* font-weight: 100;*/
}

@font-face {
    font-family: DinLight;
    src: url(fonts/DINLight.ttf);
}

.lng-active{
font-weight:bold;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
 padding-top: 70px;
     font-size: 14.4px;
}

h1,h2,h3{

}
h6{
font-size: 16px;
/*font-size: 18px;*/
    font-family: DInMedium;
}
.font14px{
	font-size:14px;
}
#eventiesterni h6{
margin-top: -5px;
}
p { 
font-size: 18px;
}

.textwidget {
margin-right: 21px;
}
.textwidget p {
font-family: DINLight;
}

a{
color:#000;
}
a:focus, a:hover{
text-decoration:none;
color:#000;
}

.icon-set a{
color:#000;
}

.icon-set {
    position: absolute;
    float: right;
    right: 50px;
    top: 30px;
    font-size: 16px;
}

.nav-bar{
color:transparent;
margin-top: -60px;
}

.navbar .nav {
    padding: 15px 0;
}

.navbar .navbar-brand {
    padding: 0 15px;
}
.navbar-nav>li>a {
    padding-bottom: 0px;
}

.menu{
float:right;
margin-top: 30px;
margin-bottom: 15px;
margin-right: 13px;
}

.menu li{
display:inline;
}

.menu>li>a{
margin-top: 0px;
font-family: DinMedium;
font-size: 18px;
color:#000 !important;
margin: 0px 0px 0px 50px;
margin-right: 25px;
border-bottom:3px solid #fff;
}
.contentMostre{
margin-left: 10px;
}
.right-menu{
/*margin-right:50px;*/
float: right;
}

.right-menu>li>a{
font-family: DinMedium;
font-size: 18px;
color:#000 !important;
float: right;
margin-top: 10px;
margin-right: 50px;
border-bottom:3px solid #fff;
}
 
.right-menu>li>a>span:hover, .menu>li>a:hover {
border-bottom:2px solid #000;
text-decoration:none;
}

.activate, .current-menu-item>a{
border-bottom:2px solid #000 !important;
}

.lin-bold{
font-weight:bold;
}

.logo{
width:370px;
/* width:400px; */
height:auto;
margin-left: 55px;
/* margin-left: 45px; */
}

.carousel-caption{
display:none;
}

#search {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.9);;
    
    -webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;

    -webkit-transform: translate(0px, -100%) scale(0, 0);
-moz-transform: translate(0px, -100%) scale(0, 0);
-o-transform: translate(0px, -100%) scale(0, 0);
-ms-transform: translate(0px, -100%) scale(0, 0);
transform: translate(0px, -100%) scale(0, 0);
    
    opacity: 0;
}

#search.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
-o-transform: translate(0px, 0px) scale(1, 1);
-ms-transform: translate(0px, 0px) scale(1, 1);
transform: translate(0px, 0px) scale(1, 1); 
    opacity: 1;
}

#search input[type="search"] {
    position: absolute;
    top: 50%;
    width: 100%;
    color: #000;
    background: rgba(0, 0, 0, 0);
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    border: 0px;
    margin: 0px auto;
    margin-top: -51px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
}
#search .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 61px;
    margin-left: -45px;
}
#search .close {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #000;
opacity: 1;
padding: 10px 17px;
font-size: 27px;
}

#search .search {
    position: fixed;
    top: 15px;
    left: 15px;
    color: #000;
opacity: 1;
padding: 10px 17px;
font-size: 27px;
}

.contatti {
margin-top: 10px;
padding: 0px 20px 0px 0px;
}

.box {
    margin-bottom: 20px;
    padding: 15px 10px;
    background: #fff;
    background: rgba(255,255,255,0.9);
}

.titolo {
font-family: DinMedium;
padding: 0px 0px 0px 39px;
margin-top: -20px;
margin-bottom: 20px;
}

.titolo h2{
font-size:20px;
}

.padding30x10{
    padding: 0px 30px 0px 10px;
}

.titolo h2 span{
text-decoration:uppercase;
font-weight:bold;
}
.spider_popup_wrap {
    background-color: rgba(0, 0, 0, 0.65) !important;
}

#bwg_container1_10 #bwg_container2_10 .bwg_standart_thumbnails_10 {
    text-align: right !important;
}

.bwg_standart_thumbnails_0 {
    text-align: right !important;
}
.bwg_standart_thumbnails_1 {
    text-align: right !important;
}

.bwg_image_info {
    background: none !important;
	width: 100% !important;
	margin-top: 100%;
}

.bwg_image_title, .bwg_image_title * {
    color: #000!important;
    font-family: DINMedium !important;
    font-weight: normal !important;
    text-align: center !important;
	position: fixed !important;
	font-size: 16px !important;
}
.bwg_popup_image {
    height: 70% !important;
}
.post{

}

.img-artista{
width: 100%;
}

.img-search{
padding: 0px;
}

.img-search a img{
width:100%;
}

.img-full {
    min-width: 100%;
    padding: 0px 30px 0px 40px;
}

.titolo-artista{
margin-top: 0px;
    margin-bottom: 5px;
}
.titolo-opere-mostre{
margin-top: 0px;
    margin-bottom: 5px;
}
.city{
font-size:20px;
font-family:DinLight;
}

.list-arstisti{
margin-bottom:5px;
}

.list-artist{
font-size:18px;
}

.list-artist li{
margin-bottom:30px;
}

.list-artist>li>a{
   font-family: DinMedium;
border-bottom: 1px solid #fff;
text-decoration: none;
}
.list-artist>li>a:hover,.list-artist>li>a:focus,.list-artist>li>a:visited,{
text-decoration: none;
}

#a2010,#a2011,#a2012,#a2013,#a2014,#a2015,#a2016{
text-decoration: none;
}
.menu-artista {
display: inline;
}
.future-img img{
margin-bottom:15px;
padding-left: 2px;
height: 300px;
}
.mostra-singola img{
	text-align: center;
    width: 100%;
    height: auto;
}
.mostra {
	margin-bottom: 20px;
	min-height: 350px;
	padding: 5px;
}
.mostra img{
/* margin-bottom:10px; */
/* padding-left: 2px; */
/* height: auto; */
/* width: auto; */
}
.img-mostre{
margin-bottom:15px;
padding-left: 2px;
height: 300px;
}
.img-evidenza-mostra img{
height: 300px;
width: auto;
max-width: 100%;
margin-bottom: 10px;

}

.future-img div{
margin-top: -20px;
}
.img-evidenza img{
width: 385px;
    height: 255px;
}
.opere-mostre img{
   width: 100%;
    height: auto;
}

.future-img{
padding: 0px -1px 0px 0px;
}

.titolo-mostra{
font-family:DINMedium;
font-size:24px;
margin-top: 15px;
}

.info-mostre {
margin-top: -10px;
font-family: DINLight;
}
.up5{
    margin-top: -5px;
}
.up10{
    margin-top: -10px;
}
.up20{
    margin-top: -20px;
}
.up30{
    margin-top: -30px;
}
#bio p{
/* text-align: justify; */
}

.bio{
font-size:18px; /*24px*/
margin-top: 15px;
}
.bio span{
font-family:DINLight;
}
.bio-light, #bio p{
font-family:DINLight;
font-size:20px; /*24px*/
margin-top: -10px;
}
.entry-content p {
font-family:DINLight;
font-size:20px; /*24px*/
/* text-align: justify;*/
}

.titolo-mostre{
font-size:23px;
margin-top: 15px;
}
 .future-img p{
font-size: 23px 
color: #000;
}

.bio-mostre, .entry-content p{
font-size:18px; /*24px*/
margin-top: 5px;
color: #000;
}

.bio-mostre-light{
font-family:DINLight;
font-size:18px; /*24px*/
margin-top: -10px;
}

#immaginiEvento p, #immaginiEvento, #menuContentMostra{
font-family:DINMedium;
font-size:18px; /*24px*/
}

.bio-eventi, #immaginiEvento p strong, #immaginiEvento strong, .autore-pubb{
font-family:DINLight;
font-size:25px; 
font-weight:bold;
margin-top: -15px;
}
.custom_field{
margin-top: 15px;
}

.custom_field_opere{
margin-top: 15px;
margin-bottom: 50px;
}

.bio-artisti,#artisti strong{ 
margin-top: -10px;
    margin-bottom: 40px;
}

.titolo-eventi{
font-family:DINMedium;
font-size:25px;
/*text-transform:uppercase;*/
}

.titolo-pubb{
font-family:DINMedium;
font-size:25px;
text-transform:uppercase;
}

.indirizzo{
font-size:25px;
margin-top: -20px;
}

.bio-contact{
font-size:15px; /*24px*/
margin-top: 35px;
}

.img-artist{
padding: 1px 30px 0px 75px;
}

.img-sitoweb{
height: 500px;
}

.iframe-sito-artista {

padding-top: 20px;
} 

.form-control{
padding: 6px 6px;
}

.section{
font-family: DinMedium;
padding: 10px 35px 0px 50px;
text-align: left;
min-height: 600px;
}

.section a{
color:#000;
text-decoration: none;
}
/*
.section a:hover{
border-bottom:2px solid #333;
}
*/
#titoloMostraSingola{padding: 0px 0px 0px 75px;}
#comunicatoStampa{margin-top: -25px;padding: 0px 0px 0px 75px;}
#immaginiEvento img{
width: 100%;
height: auto;
padding:8px;
}

.red{
    color:red;
    }
.form-area
{
    background-color: #FAFAFA;
padding: 10px 40px 60px;
margin: 10px 0px 60px;
border: 1px solid GREY;
}
.space{
margin-top:100px;
}
.entry-title{
font-family:DinMedium;
}
.attachment-post-thumbnail, .size-post-thumbnail, .wp-post-image{
width:99%;
height:auto;
}
.news .attachment-post-thumbnail, .news .size-post-thumbnail, .news .wp-post-image{
width:870px;
height:430px;
}
#pubblicazioni .attachment-post-thumbnail, #pubblicazioni .size-post-thumbnail, #pubblicazioni .wp-post-image{
width: auto;
height: 200px;
max-width:100%;
}

.news-title{
margin-left: 135px;
font-family:DINLight;
font-size:29px;
font-weight:bold;
margin-top: 15px;
}
.news img{
text-align:center;
}
.comunicato-img{
font-family: DINLight;
    font-size: 1.2em;
    margin-top: -10px;
}

.titolo-fiere{
font-family: DINMedium;
    font-size: 1.5em;
    /* font-weight: bold; */
    margin-top: -15px;
    margin-bottom: 20px;
}
.eventoSingolo{
margin-bottom: 40px;
}
.panel-grid-cell .panel-cell-style {
width:100%;
}
.padding0{
padding: 0px;
}
.padding10mostre {
    padding: 0px 15px 0px 10px;
}
footer {
    padding: 30px 0;
   width: 100%;
   height: 100px;
   top: auto;
   right: 0;
   bottom: 0;
   left: 0;
    margin-top: 50px;
text-align:center;
}

.copyright{
font-family:DINLight;
font-size: 15px;
margin-top: 70px;
}

.portfolio-item {
    margin-bottom: 25px;
}

#sito{
margin-top: -30px;
}
#bio{
margin-top: 10px;
}
#opere{    
margin-top: 5px;
}
#mostre{
margin-top: -15px;
}
#immaginiMostra{
margin-top: 12px;
}
#immaginiMostra img{
width: 100%;
height: auto;
padding: 0px 0px 0px 75px;
}

/* MIN1900*/
@media(min-width:1900px) { 
.right-menu {
margin-top: 0px;
     }
 
.future-img{
padding: 0px 30px 0px 0px;
}
	h6 {
  font-size: 18px; 
    font-family: DInMedium;
}
}

/* MIN1700 - MAX1900*/
@media screen and (min-width:1700px) and (max-width: 1900px){
	h6 {
  font-size: 18px; 
    font-family: DInMedium;
}
.right-menu, .menu>li>a {
margin: 0px 0px 0px 40px;
margin-right: 30px;
}
.right-menu>li>a {
font-size: 18px;
margin-right: 40px;
margin-top: 0px;
     }

}

/* MIN1400 - MAX1700*/
@media screen and (min-width:1400px) and (max-width: 1700px){
.icon-set {
    right: 70px;
}
.menu {
    margin-right: 25px;
}
.logo{
width:300px;
margin-left: 62px;
}
.right-menu {
margin-right: 8px;
}
.menu>li>a {
font-size: 18px;
margin: 0px 0px 0px 30px;
margin-right: 30px;
}
.right-menu>li>a {
font-size: 16px;
margin-right: 25px;
     }
#immaginiMostra img{
margin-right: 0px;
}
}

/* MIN1400 - MAX1430*/
@media screen and (min-width:1422px) and (max-width: 1431px){
.logo{
width:200px;
}
}

/* MIN1260 - MAX1450*/
@media screen and (min-width:1360px) and (max-width: 1422px){
.logo{
width:200px;
}
.titolo-opere-mostre{
font-size: 19px;
}

}

/* MIN1300 - ARTISTI*/
@media screen and (min-width:1300px) {
    .box:after {
        content: '';
        display: table;
        clear: both;
    }
.artists a h2{
margin-left: 65px;
}
.artists-col-2 a h2{
margin-left: 85px;
}
}
@media screen and (min-width:1400px) and (max-width: 1580px){
.titolo-opere-mostre{
font-size: 20px;
}
}

@media screen and (min-width:1390px) and (max-width: 1550px){
.menu>li>a{
   margin: 0px 0px 0px 20px;
   margin-right: 30px;
}
.titolo-mostre {
font-size: 18px;
}
.info-mostre {
font-size: 16px;
margin-top: -10px;
}

}
/* MIN1260 - MAX1450*/
@media screen and (min-width:1260px) and (max-width: 1400px){
.icon-set{
right: 50px;
}
.logo{
width:200px;
margin-left: 60px;
}
.navbar-nav>li {
width: auto;
}
.navbar-nav>li>a {
width: auto;
}
.menu{
margin-right: 10px;
margin-top: 40px;
}
.menu>li>a{
   margin: 0px 0px 0px 15px;
   margin-right: 30px;
   font-size: 15px;
}
h2 {
font-size: 25px;
}
#titoloMostraSingola{
padding: 0px 0px 0px 60px;
}
#comunicatoStampa{
margin-top: -25px;
padding: 0px 0px 0px 60px;
}
.img-artist{
padding: 1px 22px 0px 75px;
}
 
.img-mostre, .future-img img{
height:200px;
}
.titolo-opere-mostre{
font-size: 18px;
}
}

/* MIN1260 - MAX1400*/
@media screen and (min-width:1318px) and (max-width: 1450px){
.logo{
width:225px;
}
.menu{
/* margin-right: 30px; */
}
.right-menu>li>a {
font-size: 14px;
margin-right: 30px;
     }
}

/* Responsive Menu Max1360*/
@media screen and (max-width:1360px) {
.logo{
width:250px;
}
.right-menu>li>a {
font-size: 14px;
margin-top: 0px;
margin-right: 15px;
     }
 
.right-menu {
margin-right: 25px;
margin-top: 2px;
}
.list-artist {
font-size: 14px;
}
.img-mostre, .future-img img {
height: 200px;
}
.img-artist img, .img-artist p{
margin-left:7px;
}
.bio {
font-size: 14px;
margin-top: 15px;
}
.bio-light, #bio p, #comunicatoStampa p {
font-size: 14px;
}
.titolo-mostre{
font-size:18px;
}
.bio-mostre, .future-img p, .bio-mostre-light, #immaginiEvento p {
font-size: 14px;
}
.bio-eventi, #immaginiEvento strong, .autore-pubb, .autore-pubb, .titolo-eventi{
font-size: 18px;
}
.titolo-pubb {
font-size: 18px;
}
.titolo h2{
font-size:16px;
}
.box {
margin-bottom: 20px;
padding: 4px 10px;
background: #fff;
background: rgba(255,255,255,0.9);
}

}
@media screen and (min-width:1000px) and (max-width: 1280px) {
 .titolo-opere-mostre{
font-size: 16px;
}
}
/* Max1093*/
@media screen and (max-width:1093px) {
.logo{
width:200px;
}
.right-menu>li>a {
font-size: 14px;
margin-top: 10px;
margin-right: 20px;
     }
.right-menu {
margin-top: -20px;
}
.attachment-post-thumbnail, .size-post-thumbnail, .wp-post-image, .news .wp-post-image{
width:100%;
height:auto;
}
.img-evidenza-mostra img {
height: 150px;
/* width: 100%; */
}
}

/* MAX979*/
@media screen and (min-width:980px) and (max-width:1400px) {
.logo{
width: 210px;
margin-top: 10px;
}
.attachment-post-thumbnail, .size-post-thumbnail, .wp-post-image, .news .wp-post-image{
width:100%;
height:auto;
}
.img-evidenza-mostra img {
height: 150px;
/* width: 100%; */
}
}

/* MAX979*/
@media screen and (max-width:979px) {
.logo{
width:200px;
}
.menu>li>a {
font-family: DinMedium;
font-size: 16px;
margin: 0px 0px 0px 1px;
}
 
.list-artist li{
display: inline;
margin-left: 10px;
}
.attachment-post-thumbnail, .size-post-thumbnail, .wp-post-image, .news .wp-post-image{
width:100%;
height:auto;
}
}
/* DIMENSIONE IPAD LANDSCAPE*/
@media screen and (min-width:950px) and (max-width: 1285px){
.icon-set{
right: 50px;
}
.menu {
margin-right: 18px;
}
.menu>li>a{
   margin: 0px 0px 0px 0px;
margin-right: 20px;
font-size: 1em;
}
.contentMostre{
margin-left: 15px;
}
.custom_field p {
font-size: 15px;
}
#titoloMostraSingola {
    padding: 0px 0px 0px 55px;
}
#comunicatoStampa{
	margin-top: -25px;
    padding: 0px 0px 0px 55px;
}
}

/* MIN768*/
@media(min-width:768px) {
    body {
        padding-top: 100px; 
    }

    .navbar .navbar-brand {
        padding: 15px 0;
    }
.navbar-nav>li {
width: auto;
/*width: 149px;*/
}
}

/* MAX768*/
@media(max-width:768px) {
.icon-set{
	margin-right: -10px;
font-size: 18px;
margin-bottom: 40px;
/*top: 40px;*/
}
.icon-set ul{
text-align: center;;
}
.nav-bar{
        margin-top:20px;
    }
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
border-bottom: 1px solid #000;
}
.right-menu{
text-align:center;
float:none;
}
.menu>li{
padding: 0px 20px 0px 0px;
}
.menu>li>a {
margin-right: 0px;
}
.logo{
width:250px;
margin-top:10px;
margin-left: 25px;
}
.img-full {
padding: 0px 25px 0px 25px;
}
.img-artist{
padding: 0px;
}
.attachment-post-thumbnail, .size-post-thumbnail, .wp-post-image, .news .wp-post-image{
width:100%;
height:auto;
}
.img-evidenza-mostra img {
/* width: 100%; */
}
.news-title{
margin-left: 0px;
}
footer{
}
}

/* Mobiles in Potrait mode */
@media only screen
and (max-width : 768px) {
    ul#menu-menu-1.nav-menu-mobile {
padding: 0px;
-webkit-padding-start: 0px;
    }
.nav_menu-mobile{
        display: block;
}
.nav-menu-mobile>li{
        padding: 10px 0px 15px 0px;
text-align: center;
    }
    .nav-menu-mobile>li>a{
       margin: 0px;
    }
    .nav-menu {
        display:none;
    }
 
}


@media screen and (min-width: 960px) and (max-width: 1300px) /* Desktop */ {

}

@media screen  and (max-width: 979px) /* Tablet */ {

}

@media screen and (max-width: 500px) /* Mobile */ {
  
} 

/* ----------- Laptop Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1200px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 1) { 
  
.logo{
width:300px;
}
.navbar-nav>li {
/*width: 90px;*/
width: auto;
}
.right-menu>li>a {
font-size: 14px;
     }
}

/* ----------- Laptop Retina Screens ----------- */
@media screen 
  and (min-device-width: 1200px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
 
.logo{
width:300px;
}
.navbar-nav>li {
/*width: 90px;*/
width: auto;
}
.right-menu>li>a {
font-size: 14px;
     }
.future-img{
padding: 0px 20px 0px 0px;
}
}

/* ----------- iPad mini ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
 
.logo{
width:200px;
margin-left:45px;
}
.navbar-nav>li {
/*width: 90px;*/
width: auto;
}
.right-menu>li>a {
font-size: 10px;
margin-right: 0px;
margin-top: 16px;
}
 
.img-sitoweb{
height: 350px;
}
.titolo {
    padding: 0px 0px 0px 23px;
}
.titolo-mostre {
    font-size: 15px;
}
.info-mostre {
	font-size: 15px;
}
#immaginiEvento img {
    margin-left: 20px;
}
}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
 
 .logo{
width:230px;
margin-left:62px;
}
.menu {
    margin-top: 35px;
}
.navbar-nav>li {
/*width: 90px;*/
width: auto;
}
.right-menu>li>a {
font-size: 14px;
margin-right: 0px;
margin-top: 12px;
}
 
.right-menu {
margin-right: 50px;
}
 
.img-sitoweb{
height: 350px;
}

#immaginiMostra img {
    padding: 0px 0px 0px 40px;
    margin-left: 15px;
}

#immaginiEvento img {
	margin-left: 5px;
}
.padding10mostre {
    padding: 0px 15px 0px 15px;
}
}

/* ----------- iPad 1 and 2 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* ----------- iPad 3 and 4 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* ----------- iPhone 4 and 4S ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {

}

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {

}

/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 

}

/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 

}

/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) { 

}

/* ----------- iPhone 6+ ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 

}

/* Portrait */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 

}

/* Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 

}