@media (max-width: 1299px) {
	.header__wrap {padding: 1rem 0;}
}


/* Landscape tablets and medium desktops */
@media (max-width: 1199px) {
	header {/*height:500px;background-color:#353054;*/}
	.bxslider-header {height:500px;}
	/*.bxslider-header li {height:500px;opacity:0.8;}
	.bxslider-header li.slide-1 {background:url(../images/bg-header-1-min.jpg) center bottom no-repeat;background-size:cover;}
	.bxslider-header li.slide-2 {background:url(../images/bg-header-2-min.jpg) center bottom no-repeat;background-size:cover;}
	.bxslider-header li.slide-3 {background:url(../images/bg-header-3-min.jpg) center bottom no-repeat;background-size:cover;}*/
	header .bx-controls {position:relative;}
	header .bx-controls .bx-pager {position:absolute;bottom:30px;}

	.pp-logo {max-width:113px;height:auto;}
	.ec-logo {width:100%;max-width:812px;height:auto;}
	
	.authors-holder {display:flex;width:auto;height:auto;margin:0 auto;justify-content: space-evenly;}
	.authors-holder .wendy {position:static;font:18px Open Sans;text-transform:uppercase;}
	.authors-holder .richard {position:static;font:18px Open Sans;text-transform:uppercase;}
	
	.custom.book-block {padding:2rem;}
	.cell-cover,
	.book-block.invert .cell-cover {width:50%;padding:1rem;vertical-align:middle;}
	.cell-cover a.cover {position:static;width:auto;height:auto;}
	.cell-cover div.cover-box {display:none;}
	.moduletable.book-block .cover-block {text-align:center;}
	.moduletable.book-block .cover-block img {width:100%;max-width:359px;height:auto;}
	
	.cell-desc,
	.book-block.invert .cell-desc {width:50%;padding: 0 0 2rem 0;}
	.product-buttons .btn.btn-primary.button {padding: 0 2rem;background:#f6aa7d;}
	.footer__wrapper {flex-direction: column;align-items: center;}
	.footer__cell, .footer__cell_right {text-align:center;}
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// */
@media (max-width: 1024px) {
	.bxslider-slide__inner {width:50%;}
	.product-buttons .btn.btn-primary.button {width:100%;padding:0 1rem;font: 600 1.2rem/70px Open Sans, sans-serif;}


	.bowie__params_inner {flex-wrap: wrap;}
	.bowie__param-item {width: 30%;margin-top:2rem;}
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// */
/* Portrait tablets and small desktops */
@media (max-width: 991px) {
	.social__wrapper {justify-content:center;}
	.social__col {margin:1rem;}
	.moduletable.category-products .latest_products {justify-content:center;}
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// */
/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	/*header {height:400px;}*/
	
	.moduletable_menu {display:none;}
	.hamburger {display:block !important;}
	.bxslider-header {height:400px;overflow:hidden;}
	.bxslider-header li {height:400px;}
	
	header ul.menu li a {margin-left:0px;}
	
	.cell-cover,
	.book-block.invert .cell-cover	{width:35%;}
	.cell-desc,
	.book-block.invert .cell-desc {width:65%;}
	
	.cell-cover {padding-left:0;}
	.book-block.invert .cell-cover	{padding-right:0;}
	
	#comjshop {padding: 20px 10px;}
	.jshop_list_product .product-item-left {width:auto;padding-right:1rem;}
	
	#comjshop .product {display:flex;flex-direction:column;}
	.product-item-left {margin-bottom:1rem;}
	
	.jshop.productfull .product-table {display:flex;flex-direction:column-reverse;}
	.jshop.productfull .product-left-col {display:block;width:auto;padding-right:0;}
	#list_product_image_middle a img {width:100%;height:auto;}
	.footer__wrapper {flex-direction:column;}
	.footer__cell {text-align:center !important;}
	
	#jshop_menu_order {table-layout:auto;}
	.jshop.cart {width:100%;}
	.jshop.cart tr:first-child {display:none;}
	.jshop_prod_cart {display:flex;flex-direction:column;}
	.jshop.cart td {display:block;padding: 0.1rem;text-align:center !important;border:0;}
	.jshop.cart tr td:last-child {border-bottom:1px solid #aaa;}
	.address_block .control-group .name {width:30%;padding:0.5rem 1rem 0.5rem 0;}
	.address_block .control-group .controls {padding:0.5rem;}
	.address_block .control-group .controls input[type='text'] {width:100%;}
	.address_block .control-group .controls select {width:100%;}

	.footer__col {width:100%;padding:1rem 0 0;text-align:center;}
	.footer__col_left {width:auto;padding:0;text-align:left;}


	.bowie__header-wrap {flex-direction: column-reverse;padding: 1rem 1rem 4rem !important;}
	.bowie__header-wrap-right {text-align: center;}
	.bowie__header-wrap-left {width:auto !important;text-align: center;}

	.bowie__book-row {margin-top: -7rem !important;}
	.bowie__book-row-inner {background: url(../images/bg-row-end.png) right center no-repeat !important;background-color:#ed1c25 !important;}

	.bowie__about {border-bottom: 1px solid #000 !important;}
	.bowie__param-item {width: 45%;}

	.bowie__authors-inner {flex-direction: column;}
	.bowie__authors-right {padding-left: 0 !important;}

}

/* Portrait phones and smaller */
@media (max-width: 640px) {
	.header__wrap {display:flex;flex-direction:row;flex-wrap:nowrap;width:100%;/*height:300px;*/max-width: 1200px;margin: 0 auto;align-items:center;}
	.block-1 {width:70px;}
	.block-2 {width:100%;}
	.block-3 {width:100%;height:auto;}
	.block-1 a span {display:none;}
	
	.header__icons {position:absolute;top:22px;right:60px;}
	
	.bxslider-slide__inner {width:100%;flex-direction: column-reverse;justify-content: center;}
	.bxslider-slide__inner .bxslider-slide_desc {margin-top:1rem;text-align:center;}
	.bxslider-slide__inner .bxslider-slide__cover {width:100%;text-align:center;}
	.bxslider-slide__inner .bxslider-slide__cover img {max-width: 120px;min-width:auto;margin:0 auto;}
	.bxslider-slide_button {margin-top:1rem;}
	
	.overlay-mode .sprocket-grids-b-title {margin:0;font-size: 1.2rem;line-height:1.4;}
	.moduletable.category-products .block_item {max-width:40%;}
	
	.main .blog-featured {padding: 40px 10px;}
	.main dd.category-name {margin: 0 0 0 70px;}
	.main dd.category-name a {}
	.main dd.category-name:before {left: -70px;top: -10px;}
	p.mobile-hidden {display:none;}
	.pos-f-t {display:block;}
	
	#comjshop {padding:0 1rem 1rem 1rem;}
	.parameters-block {margin:0rem;padding:0rem 1rem 1rem;overflow: hidden;}
	.jshop_prod_description {margin-top:2rem;}
	.mobile-book-cover {display:block;max-width:200px;width:100%;margin:0 auto;}
	.product-left-col {margin-top:2rem;}
	
	.book-block .table {flex-direction:column;}
	.book-block.invert .table {flex-direction:column-reverse;}
	.book-block .cell {width:100% !important;}
	
	.book-name1 {font: 400 30px/32px Open Sans;}
	.book-name2 {font: 700 30px/32px Open Sans;}
	
	.jshop_prod_paymethods img, .jshop_prod_deliverymethods img {max-height:50px;}
	
	.moduletable.about-authors {padding: 40px 10px;}
	.moduletable.about-authors h4.category {margin: 0 0 0 70px;}
	.moduletable.about-authors h4.category:before {left: -70px;top: -10px;}
	.moduletable.about-us {padding: 40px 10px;}
	.moduletable.about-us h4.category {margin: 0 0 0 70px;}
	.moduletable.about-us h4.category:before {left: -70px;top: -10px;}

/* ///////////////////////////////// */
@media (max-width: 480px) {
	.header__wrap {justify-content:space-between;}
	.block-1 {width:70px;height:auto;}
	.block-1 a {max-width:70px;}
	.block-1 img {max-width:70px;}
	.block-2 {width:100%;height:auto;}
	header ul.menu li a {display:inline-block;padding:0;font: 400 14px/26px Open Sans;}
	.block-3 {width:100%;height:auto;}
	
	header ul.menu {display:flex;flex-direction:column;width:auto;}
	header ul.menu li {}
	header .logo a {}
	
	.main h2 {margin: 15px 0 35px;font: 400 25px/28px Open Sans;}
	.main p {font: 400 16px/22px Open Sans;}
	
	.custom.book-block {padding:1rem;}
	.moduletable.book-block .cover-block img {max-width:250px;}
	.book-block a.button {margin-top:20px;}
	
	footer .wrapper.table {flex-direction:column;justify-content:center;}
	footer .wrapper.table .cell {text-align:center;}
	footer .wrapper.table .cell.right {margin-top:1rem;text-align:center !important;}


	.bowie__header-wrap-right img {max-width:250px;width:100%;}
	.bowie__header-wrap-name {font-size:7rem;}
	.bowie__about-inner {padding:1rem !important;}
	.bowie__param-medium {font: 700 1.6rem Montserrat Regular;}
	.bowie__authors {padding: 0 1rem;}
	.bowie__authors-item {margin-top:1rem !important;}
	.bowie__authors-item-left {width:150px !important;}
	.bowie__authors-item-left img {width:100%;}
	.bowie__reviews {padding: 0 1rem;}

	.bowie__cast-person {
    	width: 150px;
    	padding: 0.5rem;
    	text-align: center;
	}
	.bowie__cast-person-pic {
    	width: 100%;
    }
}

/* Iphone 5 */
@media (max-width: 480px) {
	html {font-size: 12px;}
}