/* ----------- iPhone 5 and 5S ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-device-pixel-ratio: 2) {
/*@media only screen 
and (min-width: 320px) 
and (max-width: 568px){*/	
	.main-logo{
		text-align:center;
		padding:10px;
	}	
	.login-container{
    	width: 98.8%;
    }
    .links-container{
    	background: none;
    	background-color: #E3E3E3;
    }
    .links-title{
    	font-size: 16px;
    	margin-bottom:10px;
    }
    .website-border{
		margin-left:0px;
	}
    .site-pages-links{
    	text-align:left;
    }
    .site-links{
    	padding-left:10px;
    	height:95px;
    	margin-bottom: 15px;
    	margin-top: 14px;
    }
    .site-links li a{
    	font-size: 12px;
    }
    .site-pages-links,.my-account-links{
    	padding-right:2px;
    }
    .buying-links,.product-links{
    	padding:0px;
    }
    .pages-links, .account-links{
    	border:none;
    }
	.secure-links{
		border-right:none;
		padding-left:15px;
	}
	.account-links{
		padding-left:20px;
	}
	.footer-info-right{
		margin-bottom:10px;
	}
	.continue-shopping-btn{
		display: none;
	}
	.main-container{
		text-align:center;
	}
	.cart-subtot, .order-total, .cart-do, .cart-delivery, .grand-total, #userRegisterForm{
		text-align:left;
	}
	.paypal-icon{
		text-align:center;
	}
	.signUpBtn{
		float:none;
	}
	.customer-submit{
		text-align: center;
	}
	.cart-table .cart-text-left{
		text-align:center;
	}
	.customer-input, .checkout-input, .customer-input .login-input{
		width:100%;
	}
	.cart-button-cs{
		width: unset !important;
	}
}

/* Portrait */
@media only screen 
and (min-device-width: 320px) 
and (max-device-width: 568px)
and (-webkit-device-pixel-ratio: 2)
and (orientation: portrait) {
/*@media only screen 
and (min-width: 320px) 
and (max-width: 568px){*/	
	.thumbs img{
		margin-left:8px;
	}
	.prod-params{
		width:100%;float:left;
	}
	.order-selection{
		height:260px;
	}
	select.form-control, .p-price{
		margin: 6px 10px;
	}
	.prod-shape, .prod-colour, .prod-liner, .prod-handles, .prod-qty, .p-price{
		width:92%;			
	}
	.add-to-order{
		margin: 6px 50px;
	}	
	.cart-qty{
		width:35%;
	}
	
	#voucher{
		margin-bottom:5px;
	}
	
	.galleries-tab .img-responsive{
		display:none;
	}
	.galleries-tab .img-non-responsive{
		display: block;
		max-width: 283px !important;
	}
	.galleries-tab .title{
		font-size:14px;
		margin-top:2px;
		margin-left: 13%;
	    padding-top: 0.3%;
	}
	.prod-desc-container {
		float:left;
	}
	.order-note{
		height:32px;
	}
	.options-content, .options-image, .options-content, .handles-image{
		width:95%;
	}
	.handles-image{
		float:none !important;
		text-align:center;
	}
	.handles-image img{
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
	.checkout-text{
		width:35%;
	}
	.footer-iphone{
		width:100%;
		text-align:center;
	}
	.footer-info{
		padding-bottom:10px;
	}
	.footer-info-right{
		margin:0px !important;
		padding: 0px 0px 10px;
	}
	.text-right{
		text-align:center;
	}
	#NewsLetter{
		line-height:11px !important;
	}
	div#popupContainer{
		left:66% !important;
	}
	#popupContainer #popupDiv{
		max-width:300px !important;
		min-width: 300px !important;
	}
	.checkout-nospace{
		width:0%;
	}
	.newsletter-links{
		border-right: none;
	}
	#carouselButtons{
		bottom: -7%;
	}
}

/* Landscape */
@media only screen 
and (min-device-width: 320px) 
and (max-device-width: 568px)
and (-webkit-device-pixel-ratio: 2) 
and (device-aspect-ratio: 40/71) 
and (orientation:landscape) {
/*and (min-width: 481px) 
and (max-width: 568px){*/
    .prod-shape-colour{
    	margin-left: 2px;
    }
    .order-selection{
		height: 60px;
	}
    select.form-control{
		margin-bottom: 5px;
	}
	.p-price{
		width:14%;
	}
	.prod-price, .image-wrapper h3, .add-to-cart{
		text-align: center;
	}
	.footer-info-right{
		margin-right: 4%;
	}
	.asterisk-space{
		width:17px;		
	}
	#carouselButtons{
		bottom: -2%;
	}
	/*.glyphicon-chevron-right{
		right: 26% !important;
	}
	.carousel-pagination{
		width: 87%;
	}
	.glyphicon-chevron-left{
		margin-left: 1% !important;
	}*/
}