/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.hp-banner-content h2 {
	    font-size: 40px;
	}

	.ip-magaz-title {
	    font-size: 12px;
	}

	.ci-field.ci-birthday span {
	    margin-right: 10px;
	}

	.ci-field.ci-label {
	    font-size: 15px;
	    width: 30%;
	}

	.ci-field,
	.ci-field.ci-label-warning {
	    width: 30%;
	}

	.steps-btn a {
	    width: 115px;
	    margin-right: 10px;
	}

	.ip-magaz-controls span {
		font-size: 11px;
	}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	
	/* The following are used on inner pages. Please edit carefully. */

	.inner {
	    width: 100%;
	}
	#content-sidebar, #content-full {
	    width: 100%;
	}	
	.outer{
		width: 100%;
		min-width: 100%;
	}
	#content-sidebar #content{
		width: 100%;
	}

	.header-links {
	    text-align: center;
	}

	.user-links {
	    margin: 0 27px;
	}

	.hp-banner-content {
	    display: block;
	}

	/* .hp-banner-content img {
	    width: 51.6%;
	    margin: 30px auto 0;
	} */

	.hp-banner-content h2 {
	    margin-right: 0;
	}

	/* .hp-banner-content {
	    padding: 30px 30px 35px;
	} */

	.subscribe-text span {
	    font-size: 20px;
	}

	.subscribe-text p {
	    font-size: 13px;
	}

	.sf-field {
	    display: block;
	    width: 100% !important;
	}

	.sf-label {
	    text-align: center;
	}

	.sf-form {
	    width: 100%;
	}

	.footer-links {
	    text-align: center;
	}

	.footer-contacts {
	    text-align: center;
	    margin-top: 40px;
	}

	.footer-smi {
	    text-align: center;
	}

	.footer-smi a {
	    margin: 0 5px;
	}

	.footer-newsletter {
	    margin-top: 30px;
	}

	.footer-title {
	    text-align: center;
	}

	.newsletter-form {
	    max-width: 100%;
	}

	.news-l-text {
	    text-align: center;
	}

	.nl-form-btn.nl-field {
	    width: 92px;
	    margin: 0 auto;
	}

	.nl-form {
	    max-width: 500px;
	    margin: 15px auto 0;
	}

	footer.main-footer {
	    padding: 50px 0 18px;
	}

	.ip-cat-title {
	    width: 100%;
	    text-align: center;
	}

	.ip-cat-sort-holder {
	    display: block;
	    width: 100%;
	    text-align: center;
	}

	.ip-cat-sort {
	    margin-left: 0;
	    justify-content: center;
	}

	.ip-cat-sort-list {
	    margin: 0 15px;
	}

	.ip-cat-text {
	    text-align: center;
	}

	.ip-magaz-list {
	    width: calc(100% / 3);
	}

	.ip-magaz-details {
	    text-align: center;
	}

	.ip-cat-det-main-photo {
	    max-width: 500px;
	    margin: 23px auto 0;
	}

	.ip-cat-det-thumbs{
		display: none;
	}

	.ip-cat-details-area {
	    text-align: center;
	}

	.ip-cat-det-addcart a {
	    margin: 20px auto 0;
	}

	.ip-cat-det-desc ul {
	    display: flex;
	    flex-direction: column;
	    align-items: center;
	}

	.ip-cat-det-seeinside a {
	    margin: 31px auto 0;
	}

	.ip-cat-det-share a {
	    margin: 0 auto;
	}

	.ip-cat-more-collection {
	    margin-top: 40px;
	    text-align: center;
	}

	.page-template-template-catalog-details .ip-magaz-list {
	    width: calc(100% / 3);
	}

	.ip-cat-steps-label-holder {
	    text-align: center;
	}

	.ip-cat-wizzard-text {
	    text-align: center;
	}

	.ci-field {
	    display: block;
	    width: 100% !important;
	    padding: 0 !important;
	}
			
	.sf-field .ajax-loader {
		right: auto;
		left: 50%;
		top: 110%;
		transform: translate(-50%, 0);
	}
	.cart-bottom > div {
		width: 100%;
		margin-bottom: 20px;
	}
	.subtotal-row span {
		width: 49%;
	}
	.school-list {
		width: 100%;
		left: 0;
	}
	.ip-cat-all-process-holder {
		margin-bottom: 200px;
	}
	.gift-preview {
		max-width: 100%;
	}
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .ip-banner .container{
        width: 100%;
    }

    .hp-banner-content h2 {
	    font-size: 30px;
	}

	/* .hp-banner-content img {
	    width: 60%;
	} */

	.subscribe-form-inner {
	    padding: 27px 15px;
	}

	.ip-magaz-list,
	.page-template-template-catalog-details .ip-magaz-list {
	    width: calc(100% / 2);
	}

	.ip-magazines-list-holder {
		max-width: 560px;
		text-align: center;
	    margin: 0 auto;
	}

	.page-template-template-catalog-details .ip-magazines-list-holder {
	    margin: 0 auto 18px;
	}

	.ip-cat-steps-label-holder span {
	    font-size: 18px;
	}

	.ip-cat-prod-field {
	    display: block;
	    width: 100% !important;
	    text-align: center;
	}

	.ip-prod-price {
	    text-align: center;
	}

	div#ip-cat-step-5 .steps-btn {
	    text-align: center;
	}

	div#ip-cat-step-5 .steps-btn a {
	    width: 120px;
	    margin: 0 5px;
	}

	.ip-cat-wizzard-summary {
	    text-align: center;
	}
	.cart-table-wrap {
		overflow: scroll;
	}
	.cart-table td {
		width: 80px !important;
		padding-left: 10px;
	}
	.ip-cat-sort-field {
		width: 120px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	/* .hp-banner-content {
	    padding: 30px 15px 35px;
	} */

	/* .hp-banner-content img {
	    width: 80%;
	} */

	.ip-cat-sort-list, .ip-cat-sort {
	    flex-direction: column;
	}

	.ip-cat-sort-list {
	    margin: 0 15px 15px;
	}

	.ip-cat-text {
	    margin-top: 20px;
	}

	.ip-cat-sort-list span {
	    margin-bottom: 5px;
	}

	.ip-magaz-list {
	    width: 100%;
	    max-width: 250px;
	    margin: 0 auto;
	    display: block;
	}

	.ip-magaz-list, .page-template-template-catalog-details .ip-magaz-list {
	    width: 100%;
	}

	.ip-cat-steps-label-holder span {
	    display: block;
	}

	span.step-arrow {
		margin: 5px auto;
		transform: rotate(90deg);
	}

	.ip-cat-sort-field {
		width: 150px;
	}

	.ip-cat-det-addcart span {
		margin-left: 0;
	}

}