/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
	.page-id-3632 #page-header {
		background: url(assets/images/sfondo_header_2_flip.jpg) 78% 0!important;
	}
	.hide-mobile{
		display:none;
	}
	.page-id-3632 #page-header, .page-id-3766 #page-header, .page-id-199 #page-header, .page-id-1130 #page-header, .page-id-1135 #page-header,
	.page-id-1476 #page-header, .page-id-1478 #page-header {
		background: url(assets/images/sfondo_header_2_flip.jpg) 77% 0!important;
	}
	.logo img {
		max-width: 50%;
	}
	.page-id-3632 .container-center, .page-id-3766 .container-center {
		margin-top: 20px;
	}
	.page-id-3632 .img-2, .page-id-3766 .img-2 {
		float:left;
	}
	.page-id-3632 .blocco-testo-2, .page-id-3766 .blocco-testo-2{
		float:right;
	}
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) {
    .logo{
        width: 100%;
    }
    .logo img{
        display: block;
        width: 100%;
        margin:0 auto;
    }
    .header-inner-wrapper #container-languages{
        float:left;
    }
    .header-inner-wrapper #social-icons-wrapper-header, .header-inner-wrapper #container-img-lang{
        float:left;
        left:0;
        position: relative;
        top:0;
    }
    .header-inner-wrapper #social-icons-wrapper-header{
        margin:15px 0 0 20px;
    }
    .header-wrapper{
        padding:15px 0;
    }
    .header-style-1 .header-wrapper{
        padding-bottom: 10px;
    }
    .grid-item-large, .grid-item{
        padding:10px;
        width:100%;
    }
    .yacht-block-content .details{
        width:100%;
    }
    .yacht-block .yacht-tonnage, .yacht-block .yacht-guests, .yacht-block .yacht-cabins{
        width: 33.3333%;
    }
    .yacht-tonnage img, .yacht-tonnage .yacht-details-block,
    .yacht-guests img, .yacht-guests .yacht-details-block,
    .yacht-cabins img, .yacht-cabins .yacht-details-block,
    .yacht-modal .details .yacht-details-block{
        clear: both;
        display: block;
        float: none;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }
    .grid-item-large .yacht-info-details{
        width: 100%;
    }
    .header-wrapper{
        padding: 10px 0;
    }
    .header-style-1 .header-wrapper {
        padding-bottom: 10px;
    }
    .img-logo-eys .vc_figure{
        margin: -75px auto!important;
        width: 100%;
    }
    .img-logo-eys{
        width:100%;
    }
    .first-rows-eys h3{
        text-align: center;/*left;*/
        width: 100%;
    }
    .eys-next-prev .fa{
        font-size: 32px;
        line-height: 69px;
    }
    .yacht-crew-bg, .yacht-jetski-bg,
    .yacht-sunbathing-areas-bg, .yacht-wifi-bg,
    .yacht-waiters-bg, .yacht-tv-bg{
        clear: both;
        display: block;
        float: none;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }
    .page-id-2114 #page-header, .page-id-2127 #page-header,
    .page-id-2133 #page-header, .page-id-2146 #page-header{
        background-repeat: no-repeat!important;
        background-size: auto 130px!important;
        height:130px!important;
    }
    .page-id-2114 #page-header h1, .page-id-2127 #page-header h1,
    .page-id-2133 #page-header h1, .page-id-2146 #page-header h1{
        margin-right:unset;
        margin-top:35px;
    }
	.hide-mobile{
		display:none;
	}
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) {}

@media only screen and (min-device-width : 480px) and (max-device-width : 768px){
	.hide-mobile{
		display:none;
	}
	.page-id-3632 #page-header, .page-id-3766 #page-header, .page-id-199 #page-header, .page-id-1130 #page-header, .page-id-1135 #page-header,
	.page-id-1476 #page-header, .page-id-1478 #page-header {
		background: url(assets/images/sfondo_header_2_flip.jpg) 77% 0!important;
	}
	.logo img {
		max-width: 30%;
	}
	.page-id-3632 .container-center, .page-id-3766 .container-center {
		margin-top: 20px;
	}
}

@media only screen and (min-device-width : 480px) and (max-device-width : 768px) and (orientation : landscape) {
    .logo{
        width: 100%;
    }
    .logo img{
        display: block;
        width: 100%;
        margin:0 auto;
    }
    .header-inner-wrapper #container-languages{
        float:left;
    }
    .header-inner-wrapper #social-icons-wrapper-header, .header-inner-wrapper #container-img-lang{
        float:left;
        left:0;
        position: relative;
        top:0;
    }
    .header-inner-wrapper #social-icons-wrapper-header{
        margin:15px 0 0 20px;
    }
    .header-wrapper{
        padding:15px 0;
    }
    .header-style-1 .header-wrapper{
        padding-bottom: 10px;
    }
    .grid-item-large, .grid-item{
        padding:10px;
        width:100%;
    }
    .yacht-block-content .details{
        width:100%;
    }
    .yacht-block .yacht-tonnage, .yacht-block .yacht-guests, .yacht-block .yacht-cabins{
        width: 33.3333%;
    }
    .yacht-tonnage img, .yacht-tonnage .yacht-details-block,
    .yacht-guests img, .yacht-guests .yacht-details-block,
    .yacht-cabins img, .yacht-cabins .yacht-details-block,
    .yacht-modal .details .yacht-details-block{
        clear: both;
        display: block;
        float: none;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }
    .grid-item-large .yacht-info-details{
        width: 100%;
    }
    .header-wrapper{
        padding: 10px 0;
    }
    .header-style-1 .header-wrapper {
        padding-bottom: 10px;
    }
    .img-logo-eys .vc_figure{
        margin: -75px auto!important;
        width: 100%;
    }
    .img-logo-eys{
        width:100%;
    }
    .first-rows-eys h3{
        text-align: center;/*left;*/
        width: 100%;
    }
    .eys-next-prev .fa{
        font-size: 32px;
        line-height: 69px;
    }
    .yacht-crew-bg, .yacht-jetski-bg,
    .yacht-sunbathing-areas-bg, .yacht-wifi-bg,
    .yacht-waiters-bg, .yacht-tv-bg{
        clear: both;
        display: block;
        float: none;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }
    .page-id-2114 #page-header, .page-id-2127 #page-header,
    .page-id-2133 #page-header, .page-id-2146 #page-header{
        background-repeat: no-repeat!important;
        background-size: auto 130px!important;
        height:130px!important;
    }
    .page-id-2114 #page-header h1, .page-id-2127 #page-header h1,
    .page-id-2133 #page-header h1, .page-id-2146 #page-header h1{
        margin-right:unset;
        margin-top:35px;
    }
	.page-id-3632 #page-header, .page-id-3766 #page-header, .page-id-199 #page-header, .page-id-1130 #page-header, .page-id-1135 #page-header,
	.page-id-1476 #page-header, .page-id-1478 #page-header {
		background: url(assets/images/sfondo_header_2_flip.jpg) 78% 0!important;
	}
	.hide-mobile{
		display:none;
	}
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
    /* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
    /* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    .logo{
        width: 100%;
    }
    .logo img{
        display: block;
        width: 100%;
        margin:0 auto;
    }
    .header-inner-wrapper #container-languages{
        float:left;
    }
    .header-inner-wrapper #social-icons-wrapper-header, .header-inner-wrapper #container-img-lang{
        float:left;
        left:0;
        position: relative;
        top:0;
    }
    .header-inner-wrapper #social-icons-wrapper-header{
        margin:15px 0 0 20px;
    }
    .header-wrapper{
        padding:15px 0;
    }
    .header-style-1 .header-wrapper{
        padding-bottom: 10px;
    }
    .grid-item-large, .grid-item{
        padding:10px;
        width:100%;
    }
    .grid-item .yacht-info-details {
        width: 50%;
        float: right;
    }
    .page-id-2114 #page-header, .page-id-2127 #page-header,
    .page-id-2133 #page-header, .page-id-2146 #page-header{
        background-repeat: no-repeat!important;
        background-size: auto 130px!important;
        height:130px!important;
    }
    .page-id-2114 #page-header h1, .page-id-2127 #page-header h1,
    .page-id-2133 #page-header h1, .page-id-2146 #page-header h1{
        margin-right:unset;
        margin-top:35px;
    }
	.caption-1{
		margin-top:50px!important;
	}
	.caption-2{
		margin-top:50px!important;
	}
	.page-id-3632 #page-header, .page-id-3766 #page-header, .page-id-199 #page-header, .page-id-1130 #page-header, .page-id-1135 #page-header,
	.page-id-1476 #page-header, .page-id-1478 #page-header {
		background: url(assets/images/sfondo_header_2_flip.jpg) 78% 0!important;
	}
	.logo img {
		max-width: 25%;
	}
	.hide-mobile{
		display:none;
	}
	.page-id-3632 .container-center, .page-id-3766 .container-center {
		margin-top: 20px;
	}
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    /* Styles */
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    /* Styles */
}

/* iPad 3 */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {}
/* Desktops and laptops ----------- */
@media only screen and (min-width : 1025px) and (max-width : 1200px){
	.page-id-3632 .container-center, .page-id-3766 .container-center {
		margin-top: 50px;
	}
}
@media only screen  and (min-width : 1201px) and (max-width : 1600px) {
    /* Styles */
    .details .eys-icons-small-box{
        width:45px;
    }
    .grid-item-large .yacht-info-details{
        width:30%;
    }
    .grid-item .yacht-block-content{
        padding:3px 20px 13px !important;
    }
    .grid-item .yacht-block-content h3{
        padding:20px 0 0;
    }
    .eys-big-img-fea{
        height: 333px;
        overflow:hidden;
    }
    .eys-big-img-fea img{
        vertical-align: middle;
    }
    .grid-item .title-block-small{
        width:100%;
    }
    .grid-item-large .yacht-block-image img{
        max-width:none;
        width:auto;
    }
    .our-yachts-sections .yacht-block-content p{
        margin: 0 0 7px 0;
    }
    .grid-item-large .details {
        width: 70% !important;
    }
    .grid-item-large .yacht-tonnage, .grid-item-large .yacht-guests, .grid-item-large .yacht-cabins{
        width:33.33%;
    }
    .yacht-details-block h5{
        font-size:11px;
    }
    .grid-item-large .yacht-details-block{
        clear:none;
    }
    .title-block-small{
        font-size:18px!important;
    }
	.caption-1{
		margin-top:50px!important;
	}
	.caption-2{
		margin-top:50px!important;
	}
	.page-id-3632 .container-center, .page-id-3766 .container-center {
		margin-top: 50px;
	}
}
@media only screen  and (min-width : 1601px) and (max-width : 1920px) {
    /* Styles */
    .details .eys-icons-small-box{
        width:45px;
    }
    .grid-item .yacht-block-content h3{
        padding:20px 0 0;
    }
    .eys-big-img-fea{
        height: 378px;
        overflow:hidden;
    }
    .eys-big-img-fea img{
        vertical-align: middle;
    }
    .grid-item .title-block-small{
		float:left;
        width:100%;
    }
	.caption-1{
		margin-top:50px!important;
	}
	.caption-2{
		margin-top:50px!important;
	}
}

/* Large screens ----------- */
@media only screen  and (min-width : 1921px) {
    /* Styles */
}

/* iPhone 4 ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
    /* Styles */
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
    /* Styles */
}

/* iPhone 5 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
    /* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
    /* Styles */
}

/* iPhone 6 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
    /* Styles */
}

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
    /* Styles */
}

/* iPhone 6+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
    /* Styles */
}

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
    /* Styles */
}

/* Samsung Galaxy S3 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
    /* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
    /* Styles */
}

/* Samsung Galaxy S4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
    /* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
    /* Styles */
}

/* Samsung Galaxy S5 ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
    /* Styles */
}

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
    /* Styles */
}
