/* XXS */
@media only screen and (max-width: 500px) {
	.welcome-register {
		margin: 40 auto;
		width: 350px;
	}

	.welcome-login {
		width: 360px;
	}

	.footer-copy,
	.footer-nav {
		text-align: center;
	}
}

/* XS & SM */
@media only screen and (max-width: 759px) {
	.header-login-user {
		float: none !important;
		margin-right: 0 !important;
	}

	.book-selector {
		text-align: left;
	}

	.bookshelf-book-item {
		width: 100%;
	}

	.first_time-tooltip {
		margin-top: 20px;
	}

	.first_time-tooltip:before {
		top: 0;
		left: 50px;
		border-style: solid;
		border-width: 0 15px 20px 15px;
		border-color: transparent transparent #FEEEC1 transparent;
	}

	body {
		min-width: 500px;
	}

	h3 {
		text-align: center;
	}

	.header-search-form {
		margin-top: 20px;
		padding: 20px 0;
	}
	.header-search-form-label {
		text-align: left;
	}

	.header-search-form-but {
		text-align: right;
	}

	.header-login-user {
		float: left;
		margin-right: 30px;
	}

	.header-login-user-first_time {
		float: right !important;
		margin-right: 30px !important;
	}

	.header-search-form {
		display: none;
	}

	.header-login {
		padding-left: 40px;
	}

	.nav-tabs-item-bookshelf {
		text-align: right;
		padding: 0px 15px;
	}

	.nav-tabs-item-bookshelf.active a {
		border-top-left-radius: 0px;
		border-top-right-radius: 0px;
		border-bottom-left-radius: 3px;
		border-bottom-right-radius: 3px;
	}

	.books-nav-tabs {
		padding: 0;
	}

	.books-nav-tabs ul {
		padding: 0 15px;
	}

	.books-nav_line {
		margin: -78px 0 79px 0;
		border-bottom: 1px solid #DDD;
	}

	.main_nav {
		position: absolute;
		top: 0;
		left: 0;
		min-width: 500px;
		width: 100%;
		padding: 15px 10px 10px 10px; 
		text-align: center;
		border: 1px solid #DDD;
		background: #FFF;
		z-index: 20;
	}

	.main_nav_xs-icon {
		display: inline-block;
		padding-left: 30px;
		background: url('../img/ham.png') no-repeat left 50%;
		-webkit-background-size: 21px 16px;
		background-size: 21px 16px;
	}

	.main_nav_xs-link {
		font-size: 16px;
	}

	.main_nav_xs-check:checked ~ .main_nav-list {
		display: block;
		margin: 0 auto 50px auto;
		width: 300px;
	}

	.main_nav-list {
		display: none;
	}

	.main_nav-list-item {
		font-size: 16px;
	}

	.breadcrumbs {
		text-align: center;
		margin-bottom: 30px;
	}

	.main_nav_cabinet {
		text-align: center;
	}

	.nav_cabinet-list-item {
		display: inline-block;
		margin-right: 20px;
	}

	.cabinet-time {
		text-align: center;
		margin-bottom: 20px;
	}

	.cabinet-profile-submit {
		text-align: center;
		margin-top: 20px;
	}

	.cabinet-action-option-link {
		float: none; 
		display: block;
		margin-bottom: 20px;
	}

	.mybook_one-statistic-control {
		text-align: center;
	}

	.mybook_one-form-cover {
		margin-bottom: 30px;
	}

	.author-info-ava,
	.book-info-ava {
		margin-bottom: 30px;
	}

	.author-info-ava-img,
	.book-info-ava-img {
		margin: 0 auto;
	}

	.author-more-control,
	.book-more-control {
		text-align: center;
	}

	.main_content-pages {
		text-align: center;
		margin-bottom: 30px;
	}

	.main_content-more {
		text-align: center;
	}


	.main_content-author_search-selector,
	.main_content-author_search-submit {
		padding-top: 0;
	}

	.section-control {
		text-align: center;
	}

	.cabinet-header-org-name {
		text-align: center;
	}

	.subscribe-position-preview {
		text-align: center;
	}

	.cabinet-action-options-label {
		float: none;
		display: block;
		margin-bottom: 10px;
	}

	.search-filter-title {
		float: none;
	}

	.search-filter-selector {
		display: block;
		margin: 10px 0 !important;
	}

	.search-filter-tags-list-item a {
		margin: 10px 0;
	}

	.main_content-first_time-info {
		width: 80%;
	}

	.welcome {
		margin-top: -300px;
		width: 360px;
		margin-left: -180px;
	}

	.welcome-container {
		min-width: 500px;
		min-height: 970px;
	}

	.welcome-container_tall {
		position: relative;
		min-width: 500px;
		min-height: 1020px;
	}

	.welcome-login {
		width: auto;
	}

	.welcome-register {
		min-height: 500px;
	}

	.welcome-library {
		width: 360px;
	}

	.subscribe-name-form-group input {
		width: 100% !important;
	}

	.blog_post-gallery-body-nav-prev {
		width: 7%;
	}

	.blog_post-gallery-body-nav-next {
		width: 7%;
	}

	.blog_post-gallery-body-content {
		width: 86%;
	}

	.blog_post-more-control .but-info-more {
		width: 150px;
	}

	.blog_post-modal {
		width: 96%;
	}

	.news-post-info-pic {
		display: none;
	}

	.news-post-info h1 {
		margin: 0;
	}

	.news-list-nav ul li {
		font-size: 16px;
	}

	.news-list-footer {
		margin-bottom: 20px;
		text-align: center;
	}

}


/* WELCOME ONLY  */
@media only screen and (min-width: 760px) and (max-width: 900px) {
	.welcome {
		max-width: 740px;
		margin-left: -370px;
	}
}


/* MD */
@media only screen and (max-width: 1256px) {
	.but-show {
		float: none;
	}
	.cabinet-action-options-label {
		display: block;
	}
	.bookshelf-book-item-cover {
		max-width: 140px;
	}

}


/* MD & LG */
@media only screen and (min-width: 768px) {
	.cabinet-action-options-label {
		margin-bottom: 10px;
		margin-top: 0;
	}

	.cabinet-action-option-link-icon {
		width: 20px;
		height: auto;
	}

	.cabinet-action-option-link span {
		display: inline-block;
		margin-top: 2px;
	}

}















