/* Large Devices, Wide Screens */

/*==============================HEIGHT MEDIA===================================*/

@media only screen and (min-height:951px) and (max-height: 1100px){

	.left-part .links{
		margin:25px 0;
	}

	.photo-gallery-wrapp{
		max-height: 700px;
	}

}

@media only screen and (min-height:951px) and (max-height: 1000px){

	#owl-slider.owl-carousel{
		max-height: 500px;
	}

}

@media only screen and (min-height:751px){

	#owl-small-slider img {
		height: 100px;
	}

}


@media only screen and (min-height:720px) and (max-height: 750px){

	#owl-small-slider img {
		height: 90px;
	}

}

@media only screen and (min-height:700px) and (max-height: 719px){

	#owl-small-slider img {
		height: 70px;
	}

	.blog-wrapper{
		height: 80%;
	}

}

@media only screen and (min-height:550px) and (max-height:699px){

	#owl-slider.owl-carousel{
		max-height: 330px;
	}

	#owl-small-slider img {
		height: 70px;
	}

}

@media only screen and (min-height:500px) and (max-height:600px){

	.messages-wrapp{
		height: 70%;
	}

}

/*==============================END HEIGHT MEDIA===================================*/

@media only screen and (min-width: 1700px) {
	#feed_block_main.blog-wrapper {
		max-width: 630px !important;
	}
	.blogs-post-wrapper .user-photo {
		margin-left: 10px;
	}
	.new_post_block #feed_photo div {
		margin-left: 10px;
	}
}

@media only screen and (min-width: 1801px){

	.main-content .left-part{
		max-width: 435px!important;
	}

	.main-content.active {
		max-width: 459px;
	}

}

@media only screen and (min-width: 1700px) and (max-width: 1800px){

	.main-content .left-part {
		max-width: 410px!important;
	}

	.main-content.active {
		max-width: 434px;
	}

}

@media only screen and (max-width: 1700px){

	.central-part{
		max-width: 586px;
	}

}

@media only screen and (max-width: 1600px){

	.central-part{
		left: 50%;
	}

}

@media only screen and (max-width: 1500px){

	.central-part{
		max-width: 560px;
	}

}


@media only screen and (min-width: 1700px){

	.top-menu form#top-menu-form {
		text-align: left;
	}

	.top-menu form#top-menu-form input,
	.top-menu form#top-menu-form select {
		max-width: 350px;
	}

	ul.drop-list li {
		width: 183px;
	}

	.top-menu .links ul a{
		margin:0 8px!important;
	}

}

@media only screen and (min-width: 1500px){

	.personal-info h3 {
		font-size: 20px;
	}

	.personal-info span.number {
		font-size: 22px;
		width: 45px;
		height: 45px;
	}

	.personal-info span.town,
	.personal-info li {
		font-size: 14px;
	}

	.main-content .links li img {
		max-width: 22px;
		max-height: 22px;
	}

}

@media only screen and (min-width: 1500px) and (max-width: 1699px){

	.top-menu form#top-menu-form {
		text-align: center;
	}

	.main-content .left-part {
		max-width: 380px!important;
	}

	.main-content.active {
		max-width: 404px;
	}

}

@media only screen and (min-width: 1450px) and (max-width: 1500px){

	.main-content .left-part {
		max-width: 360px!important;
	}

	.main-content.active {
		max-width: 382px;
	}

}

@media only screen and (min-width:1400px) and (max-width: 1449px) {

	.main-content .left-part {
		max-width: 330px!important;
	}

	.main-content.active {
		max-width: 355px;
	}

}


@media only screen and (min-width: 1400px){

	/***HEAD***/

	.top-menu .logo{
		padding-left: 35px;
		margin-right: 6%!important;
	}

	.top-menu .user-name img {
		width: 43px;
		height: 43px;
	}

	.top-menu .user-name h4 {
		font-size: 18px;
	}

	.top-menu form#top-menu-form {
		width: 43%;
	}

	.top-menu .links {
		text-align: center;
	}

	.top-menu .links ul a{
		margin:0 6px;
	}

	/***END HEAD***/

	.main-content{
		width: 72%;
		max-width: 100%;
	}

	.messages-wrapp .message {
		max-width: 350px;
	}

}

@media only screen and (max-width:1400px) {

	.main-content{
		width: 72%;
		max-width: 100%;
	}

	.main-content .left-part{
		max-width: 280px;
	}

	.main-content.active .left-part{
		width: 100%;
		max-width: 280px;
	}



	.album-item:nth-child(3n+3){
		margin-right: 0;
	}

	.album-item:nth-child(4n+4){
		margin-right: .8%;
	}

	.album-name .name{
		text-align: left;
		padding-left: 10px;
	}

	.central-part{
		max-width: 500px;
	}

	.blogs-post-wrapper .post-content footer a.comments,
	.blogs-post-wrapper .post-content footer a.share,
	.blogs-post-wrapper .post-content footer a.take-in{
		display: block;
		position: static;
		text-align: right;
		padding-right: 10px;
		margin:1px 0;
		font-size: 14px;
		transform:translate(0,0);
	}

	.messages-wrapp{
		height: 73%;
	}

	.top-menu form#top-menu-form input,
	.top-menu form#top-menu-form select{
		max-width: 200px;
	}

	.friend-item {
		width: 25%;
		height: 15vh;
	}

		.friend-item img {
			min-height: 15vh;
		}

}

@media only screen and (min-width:1280px) and (max-width:1499px){

	.blog-wrapper{
		left:-10.6%;
	}

}

/**__--1280--__**/

@media only screen and (max-width:1280px) {

	.main-content.active{
		max-width: 279px;
	}

	.main-content.active .left-part{
		width: 100%;
		max-width: 255px;
	}

	.main-content .left-part{
		width: 32%;
		max-width: 255px;
	}

	.central-part{
		max-width: 450px;
		left: 50%;
	}

	#owl-small-slider img{
		height: 60px;
	}

}

/**__--1160--__**/

@media only screen and (max-width:1160px) {

	.top-menu .links{
		width: 25%;
		float: left;
		right: 30px;
	}

	.top-menu .links a{
		margin:0 3px;
	}

	/*.top-menu .links li img{
		max-width: 22px;
		max-height: 22px;
	}*/

}

/**__--1100--__**/

@media only screen and (max-width:1101px) {

	.main-content.active{
		max-width: 260px;
	}

	.main-content.active .left-part{
		max-width: 240px;
	}

	.central-part {
		max-width: 420px;
		left: 50%;
	}

	.personal-info h3 {
		font-size: 17px;
	}

	.personal-info span.town {
		font-size: 12px;
	}

	.personal-info li {
		font-size: 12px;
	}

	.links {
		margin: 10px 0px 15px;
	}

	.links li a{
		margin:0 2px;
	}

	.links li img {
		max-width: 17px;
		max-height: 17px;
		vertical-align: middle;
	}

	.feeds-wrapper-tabs .tab {
		width: 90px;
		font-size: 15px;
		padding: 6px 0;
	}

		.feeds-wrapper-tabs .tab:after {
			width: 90px;
		}

}

/**__--1000--__**/

@media only screen and (max-width:1000px) {

	.main-content.active{
		max-width: 250px;
	}

	.main-content.active .left-part{
		max-width: 230px;
	}

}


/* Medium Devices, Desktops */

/**__--992--__**/

@media only screen and (min-width:769px) and (max-width:1280px){

	.blog-wrapper{
		left:-10.9%;
	}

}

@media only screen and (max-width:992px) {

	.top-menu form#top-menu-form {
    width: 100%;
    text-align: left;
    padding-left: 20px;
    top: 5px;
    transform: translate(0,0);
    margin-top: 5px;
	}

	.main-content{
		width: 95%;
	}

	.main-content.active{
		width: 246px;
	}

	.main-content.active .left-part,
	.main-content .left-part{
		width: 225px;
		height: 83vh;
		overflow-y: auto !important;
	}

	.central-part {
		max-width: 450px;
		left: 60%;
		top: 80px;
	}

	.right-part{
		display: none;
		width: 300px;
	}

	.right-part.active{
		display: block;
		position: absolute;
		top: 60px;
		right: 0;
		padding: 10px;
		height: 100%;
		background-color: rgba(0,0,0,.8);
		z-index: 9999;
	}

		.messages-wrapp {
			height: 60%;
		}

		form.type-message {
			width: 280px;
		}

	a.toggle-chat-button{
		display: block;
		z-index: 10000;
	}

	.top-menu {
		height: 73px;
	}

	/*.top-menu form#top-menu-form{
		width: 100%;
		text-align: left;
		padding-left: 20px;
		top:5px;
		transform:translate(0,0);
		margin-top: 5px;
	}*/

	.top-menu .logo,
	.top-menu .user-name{
		top:5px;
		transform:translate(0,0);
	}

	.top-menu .logo{
		width: 15%;
	}

	.top-menu .user-name{
		width: 20%;
		white-space: nowrap;
	}

	.top-menu .user-name img{
		vertical-align: top;
	}

	.top-menu .user-name h4{
		position: relative;
		top: 5px;
	}

	.top-menu .links{
		position: absolute;
		top: 38px;
		transform:translate(0,0);
		background-color: #727270;
		text-align: center;
		white-space: normal;
		width: 50px;
	}

	.top-menu .links li{
		display: block;
	}

	.top-menu .links li a{
		padding: 8px 5px;
		display: block;
	}

	ul.top-menu-links{
		display: none;
		margin-left: 0;
	}

	ul.top-menu-links.active{
		display: block;
		margin-left: 0;
	}

	a.links-toggle-button{
		display: block;
	}

	.photo-gallery-item img{
		height: 170px;
	}

	#search_filters {
		top: 73px !important;
	}

	a.links-toggle-button {
		top: 27%;
	}

	.top-menu .logo a {
		position: relative;
		top: 2px;
	}

	.modal-one-group-wrapp {
		top: 74px;
		right: 50% !important;
		transform: translate(50%,0) !important;
		height: 82vh;
		width: 100%;
		max-width: 530px;
	}

	.main-content {
		top: 73px;
	}

	#owl-slider.owl-carousel {
		max-height: 220px;
	}

	.modal-one-group-wrapp .searchableSelectPluginElement  {
		width: 100%;
		display: block;
	}

	.modal-one-group-wrapp #fishing_search {
		width: 100% !important;
	}

	.modal-one-group-wrapp .lures-pecks-item .date {
		right: 15px;
		float: none;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

	#feed_block_main.blog-wrapper {
		width: 100% !important;
		max-width: 530px !important;
		height: 82vh !important;
		overflow-y: auto !important;
		top: 74px !important;
	}

	.chat.right-part.mycontrol.messages {
		display: block;
		height: 82vh !important;
		max-width: 530px;
		width: 100%;
		top: 74px;
		overflow-y: auto;
		right: 50% !important;
		transform: translate(50%, 0);
	}

	.messages_box {
    width: 100% !important;
    max-width: 530px !important;
    margin: 0 auto;
    right: 50% !important;
    transform: translateX(50%);
    height: 82vh !important;
	}

	.notices {
    position: absolute !important;
    top: 50px !important;
    right: 0 !important;
    width: 100% !important;
	}

}


/* Small Devices, Tablets */

/**__--800--__**/

@media only screen and (max-width : 800px) {

	.top-menu form#top-menu-form input,
	.top-menu form#top-menu-form select{
		padding-left: 4px;
		font:normal 12px "HelveticaLight",sans-serif;
	}

	/*.top-menu form#top-menu-form button {
		top: -1px;
	}*/

	.chat.right-part.mycontrol.messages {
		max-width: 320px;
		right: 0 !important;
		transform: translate(0, 0) !important;
		margin: 0 auto;
	}

}

/**__--768--__**/

@media only screen and (max-width : 768px) {

	.pub_news {
		min-height: 40px !important;
	}

	.transparent_box_link_line {
		position: relative;
		top: 3px;
	}

	a.toggle-button,
	a.close-button{
		display: none;
	}

	.main-content{
		height: auto;
		padding-left: 0;
		top: 0;
		position: relative;
		z-index: 2;
		margin-left: 0;
		width: 100%;
	}

	.main-content .left-part{
		float: none;
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
	}

	.central-part{
		width: 100%;
		max-width: 100%;
		height:auto;
		position: relative;
		z-index: 1;
		padding: 10px 20px 0px;
		left: 0;
		background-color: #898989;
		transform:translate(0,0);
		margin: 0 auto;
	}

	.albums-wrapper{
		position: relative;
	}

	.blogs-post-wrapper .post-content header p {
		left: 45px;
	}

	.blogs-post-wrapper {
    position: relative;
	}

	/*.blog-wrapper{
		position: static;
	}*/

	.blogs-post-wrapper .user-photo{
		float: none;
		position: absolute;
		left: 53px;
		top: 0;
		margin: 0;
		z-index: 99;
	}

	#owl-small-slider {
		margin-bottom: 35px;
	}

	.personal-info h3 {
		font-size: 20px;
	}

	.personal-info span.town,
	.personal-info li{
		font-size: 15px;
	}

	.links{
		margin:25px auto;
	}

	.links li img {
		max-width: 25px;
		max-height: 25px;
	}

	.right-part{
		display: none;
		width: 250px;
	}

	.top-menu {
		height: 73px;
	}

	/*.top-menu form#top-menu-form{
		width: 100%;
		text-align: left;
		padding-left: 20px;
		top:5px;
		transform:translate(0,0);
		margin-top: 5px;
	}*/

	.top-menu .logo,
	.top-menu .user-name{
		top:5px;
		transform:translate(0,0);
	}

	.top-menu .logo{
		width: 15%;
	}

	.top-menu .user-name{
		width: 20%;
		white-space: nowrap;
	}

	.top-menu .user-name img{
		vertical-align: top;
	}

	a.links-toggle-button {
		top: 5px;
		transform:translate(0,0);
	}

	ul.drop-list li{
		font-size: 12px;
		width: 129px;
	}

	.feeds-tabs{
		max-width: 360px;
		margin: auto;
	}

	.photo-gallery-wrapp{
		margin:80px auto 0;
	}

	.photo-gallery-item img{
		height: 140px;
	}
	
	.modal-one-group-wrapp {
		max-width: 320px;
	}

	.modal-one-group-wrapp .lures-pecks-item .item-text {
    max-width: 180px !important;
	}

	.modal-one-group-wrapp .lures-pecks-item .date {
    right: 5px;
		float: none;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

	.line_for_photo {
		z-index: 5;
	}

	.line_for_photo #feed_photo {
		left: 0;
		margin: 0;
	}

	#feed_block_main.blog-wrapper {
		left: 46% !important;
	}


}

/**__--550--__**/

@media only screen and (max-width : 550px) {

	.blogs-post-wrapper .post-content footer a.comments,
	.blogs-post-wrapper .post-content footer a.share,
	.blogs-post-wrapper .post-content footer a.take-in{
		font-size: 13px;
	}

	.photo-gallery-item{
		width: 32%;
	}

}

/* Extra Small Devices, Phones */

/**__--480--__**/

@media only screen and (max-width : 480px) {

	.main-content .left-part{
		float: none;
		width: 100%;
		max-width: 280px;
		margin: 0 auto;
	}

	.central-part {
		padding: 10px 10px 0px;
	}

	.blog-wrapper{
		left: 0%;
	}

	/*.blogs-post-wrapper .user-photo{
		float: left;
	}*/

	.right-part.active{
		position: fixed;
		top: 74px;
	}

	.right-part{
		top: 0;
		position: fixed;
		max-height: 100%;
		height: auto;
	}

	a.toggle-chat-button{
		position: fixed;
	}

	.top-menu form#top-menu-form {
		padding-left: 4px;
	}

	.top-menu form#top-menu-form input,
	.top-menu form#top-menu-form select {
		max-width: 140px;
	}

	.feeds-wrapper-tabs .tab{
		width: 90px;
		font-size: 15px;
	}

	.feeds-wrapper-tabs .tab:after{
		top: -1px;
		width: 90px;
	}

	#feed_block_main.blog-wrapper {
		max-width: 320px !important;
		left: 50% !important;
	}

	.blogs-post-wrapper .post-content header .link-wrapp {
		right: -5px;
	}

	/*.blogs-post-wrapper .post-content header p {
		max-width: 225px !important;
		overflow: hidden !important;
		white-space: nowrap !important;
		-ms-text-overflow: ellipsis !important;
		text-overflow: ellipsis !important;
	}*/

	.album-item:nth-child(2n+2){
		margin-right: 0;
	}

	.album-item:nth-child(3n+3),
	.album-item:nth-child(4n+4){
		margin-right: .8%;
	}

	.blogs-post-wrapper .post-content{
		width: 100%;
	}

	.blogs-post-wrapper .user-photo {
		left: 0;
	}

	.photo-gallery-item img{
		height: 120px;
	}

	.friend-item {
		width: 25% !important;
		height: 12vh !important;
	}

		.friend-item img {
			min-height: 12vh !important;
		}

}

/**__--400--__**/

@media only screen and (max-width : 400px) {

	#feed_block_main.blog-wrapper,
	.news_block {
		min-width: 320px !important;
	}

	.blogs-post-wrapper .post-content .post-info .masonry-item {
		margin: .5% !important;
	}

	.blogs-post-wrapper .post-content header .link-wrapp {
		right: 0;
	}

	.blogs-post-wrapper .post-content header p {
		font-size: 13px;
	}

	.blogs-post-wrapper .post-content .post-info {
		height: 170px;
		padding: 5px;
	}

	.blogs-post-wrapper .post-content footer {
		height: 50px;
	}

	.post_likes .sum_block {
		font-size: 13px;
		margin-left: 2px;
	}

	.photo-gallery-item{
		width: 31.5%;
	}

	.photo-gallery-item img{
		height: 100px;
	}

	.blogs-post-wrapper .post-content header p span {
		margin: 0;
		display: block;
	}

}

/**__--380--__**/

@media only screen and (max-width : 380px) {

	a.links-toggle-button {
		right: 15px;
	}

	.top-menu .user-name {
    width: 48%;
  }

  .top-menu .user-name h4 {
  	top: -2px;
  	white-space: normal;
  }

	.blogs-post-wrapper .post-content footer a.comments,
	.blogs-post-wrapper .post-content footer a.share,
	.blogs-post-wrapper .post-content footer a.take-in {
		padding-right: 0;
	}

	.post_likes .sum_block {
		font-size: 11px;
	}

	.blogs-post-wrapper .post-content .post-info .masonry-item.w50 {
		width: 48% !important;
	}

	.feeds-wrapper-tabs .tab {
    width: 70px;
    font-size: 12px;
    padding: 9px 0;
	}

		.feeds-wrapper-tabs .tab:after {
			width: 70px;
		}

	.top-menu form#top-menu-form {
		margin-top: 0;
	}

	.top-menu .logo {
		padding-left: 5px;
	}

}

@media only screen and (max-width : 360px) {

	#feed_block_main.blog-wrapper, .news_block {
    min-width: 310px !important;
    max-width: 310px !important;
	}

	#close_it.feed_block_main.news_block_ajax {
		left: 91% !important;
		top: 69px !important;
		z-index: 9999 !important;
	}

	.blogs-post-wrapper .post-content .comments-wrapp form textarea {
    padding: 11px 90px 0 4px;
    font-size: 13px;
	}

	.blogs-post-wrapper .post-content .comments-wrapp a {
		top: 47%;
	}


	/*.blogs-post-wrapper .post-content .comments-wrapp {
		padding: 2px;
		height: 45px;
		position: relative;
		top: 7px;
	}*/

}

/**__--320--__**/

@media only screen and (max-width : 320px) {

	/*#feed_block_main.blog-wrapper,
	.news_block {
		min-width: 320px !important;
		max-width: 320px !important;
	}*/

	.blog-wrapper{
		left: 10px;
	}

	.main-content{
		float: none;
	}

	.photo-gallery-item img{
		height: 80px;
	}

}
