/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 5000px) {
	.news_img a img {
		width: 180px;
	}
	.bttm_border {
		border-bottom: 0;
	}
	#page {
		height: 490px;
		background: rgba(51, 51, 51, 0.78);
		overflow: hidden;
	}
	#slideshow {
		width:100%;
		height:520px;

		/*IE bugfix*/
		padding:0;
		margin:0;
	}
	.rhino-item a img {
		height: 720px;
		/*margin: 0 0px 150px 0px;*/
		display: block;
		position: relative;
		bottom: 100px;
	}
}
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
	.news_img a img {
		width: 160px;
	}
	#page {
		height: 400px;
		overflow: hidden;
	}
	#slideshow {
		width:100%;
		height:450px;

		/*IE bugfix*/
		padding:0;
		margin:0;
	}
	.rhino-item a img {
		height: 590px;
		display: block;
		position: relative;
		bottom: 100px;
	}
	.maian_mnu ul li a {
		padding: 15px 47px;
	}
	.maian_mnu ul li a:hover {
		padding: 15px 47px;
	}
	.maian_mnu ul li a:active {
		padding: 15px 47px;
	}
	.bttm_border {
		border-bottom: 0;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.line1 {
		display: none;
	}
	.news_img, .news_opis {
		margin-top: 15px;
	}
	.news_img a img {
		width: 140px;
	}
	#page {
		height: 370px;
		overflow: hidden;
	}
	#slideshow {
		width:100%;
		height:420px;

		/*IE bugfix*/
		padding:0;
		margin:0;
	}
	.rhino-item a img {
		height: 520px;
		display: block;
		position: relative;
		bottom: 70px;
	}

	.feedform {
		text-align: left;
	}
	.tth_gall {
		text-align: center;
	}
	.logo {
		margin: 0;
		padding: 0;
	}
	.logo_img img {
		height: 100px;
	}
	.head_info img {
		display: none;
	}
	.maian_mnu ul li {
		padding: 0;
		border-right: 0;
	}
	.bttm_border {
		border-bottom: 0;
	}
	.sell_right .button {
		margin: 15px auto;
		float: none;
		max-width: 250px;
	}
	.sell_descr {
		text-align: center;
	}

	.maian_mnu ul {
		background-color: #97999A;
		display: none;
		position: absolute;
		width: 100%;
		margin: 50px -15px;
	}
	.maian_mnu ul li {
		display: block;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.news_img a img {
		width: 160px;
	}
	#page {
		height: 320px;
		overflow: hidden;
	}
	#slideshow {
		width:100%;
		height:370px;

		/*IE bugfix*/
		padding:0;
		margin:0;
	}
	.rhino-item a img {
		height: 420px;
		display: block;
		position: relative;
		bottom: 50px;
	}
	.feedform {
		text-align: center;
	}
	.tth_gall {
		text-align: center;
		margin: 0 auto;
		position: relative;
		display: table;
	}
	.logo ul li a {
		font-size: 28px;
	}
	.logo ul li p {
		font-size: 15px;
	}
	.maian_mnu ul li {
		padding: 0;
		border-right: 0;
	}
	.top_links {
		background-color: #585d61;
		display: none;
		margin-top: 15px;
		padding: 14px;
		position: absolute;
		vertical-align: middle;
		width: 100%;
	}
	.logo {
		text-align: center;
	}
	.head_info {
		text-align: center;
	}
	.table-responsive {
		width: 100%;
		margin-bottom: 15px;
		overflow-y: hidden;
		-ms-overflow-style: -ms-autohiding-scrollbar;
		border: 1px solid #dddddd;
	}
	.table-responsive > .table {
		margin-bottom: 0;
	}
	.table-responsive > .table > thead > tr > th,
	.table-responsive > .table > tbody > tr > th,
	.table-responsive > .table > tfoot > tr > th,
	.table-responsive > .table > thead > tr > td,
	.table-responsive > .table > tbody > tr > td,
	.table-responsive > .table > tfoot > tr > td {
		white-space: nowrap;
	}
	.table-responsive > .table-bordered {
		border: 0;
	}
	.table-responsive > .table-bordered > thead > tr > th:first-child,
	.table-responsive > .table-bordered > tbody > tr > th:first-child,
	.table-responsive > .table-bordered > tfoot > tr > th:first-child,
	.table-responsive > .table-bordered > thead > tr > td:first-child,
	.table-responsive > .table-bordered > tbody > tr > td:first-child,
	.table-responsive > .table-bordered > tfoot > tr > td:first-child {
		border-left: 0;
	}
	.table-responsive > .table-bordered > thead > tr > th:last-child,
	.table-responsive > .table-bordered > tbody > tr > th:last-child,
	.table-responsive > .table-bordered > tfoot > tr > th:last-child,
	.table-responsive > .table-bordered > thead > tr > td:last-child,
	.table-responsive > .table-bordered > tbody > tr > td:last-child,
	.table-responsive > .table-bordered > tfoot > tr > td:last-child {
		border-right: 0;
	}
	.table-responsive > .table-bordered > tbody > tr:last-child > th,
	.table-responsive > .table-bordered > tfoot > tr:last-child > th,
	.table-responsive > .table-bordered > tbody > tr:last-child > td,
	.table-responsive > .table-bordered > tfoot > tr:last-child > td {
		border-bottom: 0;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 550px) {
	.news_img a img {
		width: 100px;
	}
	.block_cat {
		display:none;
	}
	#page {
		height: 250px;
		overflow: hidden;
	}
	#slideshow {
		width:100%;
		height:290px;

		/*IE bugfix*/
		padding:0;
		margin:0;
	}
	.rhino-item a img {
		height: 330px;
		display: block;
		position: relative;
		bottom: 20px;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	#page {
		height: 220px;
		overflow: hidden;
	}
	#slideshow {
		width:100%;
		height:270px;

		/*IE bugfix*/
		padding:0;
		margin:0;
	}
	.rhino-item a img {
		height: 290px;
		bottom: 5px;
		display: block;
		position: relative;
	}
	.block_cat {
		display:none;
	}
	.feedform {
		text-align: center;
	}
	.tth_gall {
		margin: 0 auto;
		position: relative;
		display: table;
	}
	.logo_foot {
		margin: 0;
		padding: 0;
	}
	.logotip {
		font-size: 27px;
	}
	.size3 img {
		width: 200px;
	}
	.size2 img {
		width: 200px;
	}
	.logo {
		text-align: center;
		padding: 10px 0;
	}
	.head_info {
		text-align: center;
	}
	.bttm_border {
		border-bottom: 1px solid #fff;
	}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
	#page {
		height: 220px;
		overflow: hidden;
	}
	#slideshow {
		width:100%;
		height:250px;

		/*IE bugfix*/
		padding:0;
		margin:0;
	}
	.rhino-item a img {
		height: 250px;
		bottom: 5px;
		display: block;
		position: relative;
	}
	.feedform {
		text-align: center;
	}
	.tth_gall {
		text-align: justify;
	}
	.logo_foot {
		margin: 0;
		padding: 0;
	}
	.logotip {
		font-size: 22px;
	}
	.size3 img {
		width: 200px;
	}
	.size2 img {
		width: 200px;
	}
	.logo {
		text-align: center;
		padding: 10px 0;
	}
	.logo ul li a {
		font-size: 22px;
	}
	.head_info {
		text-align: center;
	}
	.bttm_border {
		border-bottom: 1px solid #fff;
	}
}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
	.bttm_border {
		border-bottom: 1px solid #fff;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
	.bttm_border {
		border-bottom: 1px solid #fff;
	}
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
	.bttm_border {
		border-bottom: 0;
	}
	.top_links {
		display: inline-block !important;
	}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
	.bttm_border {
		border-bottom: 0;
	}
	.maian_mnu ul {
		display: block !important;
	}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}