.menu-btn,
.custom_topmenu > table > tbody > tr > td[valign='top'] > div:nth-child(1),
.blog_strichka div#people-more,
.smila-main > tbody > tr td[style="padding:0 30px;"]:nth-child(1) {
	display: none;
}

@media (max-width: 1200px) {

	html, body {
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
    }

    table.smila-main,
    table.shapka-ck {
    	width: 100% !important;
    }

    .shapka-ck > tbody > tr {
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	-webkit-box-align: center;
    	    -ms-flex-align: center;
    	        align-items: center;
    	-webkit-box-pack: justify;
    	    -ms-flex-pack: justify;
    	        justify-content: space-between;
    	padding: 0 10px;
    }

    .shapka-ck > tbody > tr > td {
    	width: auto !important;
    }

    div.custom_topmenu > table {
    	width: 100% !important;
    	height: auto !important;
    }

    div.custom_topmenu > table tr {
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	-webkit-box-orient: vertical;
    	-webkit-box-direction: normal;
    	    -ms-flex-direction: column;
    	        flex-direction: column;
    	-webkit-box-align: center;
    	    -ms-flex-align: center;
    	        align-items: center;
    	padding-bottom: 10px;
    }

    #menu {
    	height: auto !important;
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	    -webkit-box-pack: center;
	        -ms-flex-pack: center;
	            justify-content: center;
	    padding: 0 10px !important;
    }

    #menu li {
    	float: none;
    }

    #menu a {
    	float: none !important;
    	margin: 0 10px !important;
    	display: block;
    }

    .smila-main > tbody > tr {
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	-webkit-box-orient: vertical;
    	-webkit-box-direction: normal;
    	    -ms-flex-direction: column;
    	        flex-direction: column;
    	-webkit-box-align: center;
    	    -ms-flex-align: center;
    	        align-items: center;
    }

    .smila-main > tbody > tr td {
    	width: 100% !important;
    }

    .smila-main > tbody > tr td .custom {
    	text-align: center;
    }

    .smila-main > tbody > tr td #image1 {
    	margin: 0 auto;
    }

    div.custom_socials table {
    	height: auto !important;
    }

    div.custom_socials table tr {
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	-webkit-box-orient: vertical;
    	-webkit-box-direction: normal;
    	    -ms-flex-direction: column;
    	        flex-direction: column;
    }

    div.custom_socials table tr td,
    div.custom_socials table tr td > div {
    	width: 100% !important;
    }

    #footer {
    	min-width: 100px !important;
    	height: auto !important;
    }

    #footer table {
    	width: 100% !important;
    	height: auto !important;
    }

    #footer .custom > table > tbody > tr {
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	-webkit-box-orient: vertical;
    	-webkit-box-direction: normal;
    	    -ms-flex-direction: column;
    	        flex-direction: column;
    }

    #footer .custom > table[style="width: 1150px; margin: 0 auto; height: 50px; text-align: left; margin-top: 10px; margin-bottom: 8px; text-transform: uppercase; font-size: 14px; font-weight: 300;"] > tbody > tr td {
    	padding-left: 0 !important;
    	margin: 0 auto;
    	width: 280px !important;
    }

    div#footer-menu-all {
    	width: 100% !important;
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	-webkit-box-pack: center;
    	    -ms-flex-pack: center;
    	        justify-content: center;
    	-ms-flex-wrap: wrap;
    	    flex-wrap: wrap;
    }

    div#footer-menu {
    	float: none !important;
    	margin: 0 20px !important;
    }

    .lof-ass {
    	display: none;
    }

    .cols-2 .column-1,
    .cols-2 .column-2 {
    	width: 100% !important;
    	float: none !important;
    	box-sizing: border-box;
    	margin-bottom: 25px !important;
    }

    .blog-featured .items-row div.item p img {
    	width: 100% !important;
    	max-width: 325px;
    	display: block;
    }

    .blog_people {
    	border-left: none !important;
    	border-right: none !important;
    }

    div.custom_socials {
    	display: none;
    }

    div#slogin-buttons,
    .jlslogin .slogin-buttons a {
    	margin: 0 auto !important;
    	display: block !important;
    	float: none !important;
    	margin-top: 10px !important;
    }

    .jlslogin .slogin-buttons span {
    	margin: 0 auto;
    }

    tr td[colspan="3"] > .custom > table > tbody > tr {
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
	    -webkit-box-orient: vertical;
	    -webkit-box-direction: normal;
	        -ms-flex-direction: column;
	            flex-direction: column;
	    -webkit-box-align: center;
	        -ms-flex-align: center;
	            align-items: center;
	    -webkit-box-pack: center;
	        -ms-flex-pack: center;
	            justify-content: center;
    }

    tr td[colspan="3"] > .custom > table > tbody > tr div {
    	width: 100% !important;
    }

    .blog_porazdelam div.item img {
    	display: block;
    	margin: 0 auto;
    	margin-bottom: 15px;
    }

    #strichka-data p {
    	text-align: center !important;
    }

    div#copyrights {
    	height: auto !important;
    	padding: 0 10px;
    	padding-bottom: 14px;
    }

    div#new-article {
    	margin: 0 auto;
    }

    .custom_topmenu > table > tbody > tr > td {
		width: 100% !important;
		text-align: center;
	}

	ul.jcomments-latest_posledkomment {
		border-left: 0 !important;
		border-right: 0 !important;
	}

	.item {
		box-sizing: border-box;
	}

	.word {
		margin: 0;
		box-sizing: border-box !important;
	}

	.word input {
		margin: 0 !important;
		max-width: 270px;
    	width: 100%;
	}

	.word button.button {
		margin-left: 0;
	}

	.phrases {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		margin-bottom: 20px !important;
	}

	.phrases-box {
	    width: 100% !important;
	    float: none !important;
	}

	.ordering-box {
	    width: 100% !important;
	    float: none !important;
	    margin-top: 20px !important;
	}

	.smila-main > tbody > tr td[style="padding:0 30px;"]:nth-child(1) {
		display: block;
	}

	.smila-main > tbody > tr td[style="padding:0 30px;"]:nth-child(3) {
		display: none;
	}

	.blog h1 {
		text-align: center;
	}

	.blog div.item img,
	.item-page img {
		display: block;
		max-width: 325px;
		width: 100% !important;
		height: auto !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	div.pagination ul li {
		float: none;
		display: block;
    	margin: 10px 0;
	}

	div.pagination ul {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	    -webkit-box-pack: center;
	        -ms-flex-pack: center;
	            justify-content: center;
	}

	.pagination {
		margin-bottom: 10px;
		padding: 0 10px;
	}

	#comments-form p, #comments-form #comments-form-buttons, #comments-form #comments-form-error, #comments-form #comments-form-captcha-holder {
		margin-left: 0 !important;
	}

	#comments-form input {
		margin: 0 auto;
		box-sizing: border-box;
		display: block;
	}

	#comments-form textarea {
		width: 100%;
		padding: 10px;
		box-sizing: border-box;
	}

	#comments-form img.captcha {
		max-width: 121px !important;
		height: auto !important;
		margin: 0 auto !important;
		display: block;
	}

	#comments-form input.captcha {
	    margin: 0 auto;
	    margin-top: 10px;
	}

	ul.pagenav li.pagenav-next {
		float: none;
	}

	.item-page {
		padding: 0 10px;
		box-sizing: border-box;
	}

	ul.pagenav li.pagenav-prev {
		float: none;
	}

	.item-page .pagenav {
		margin-top: 20px !important;
	}

	div.pagination ul li span.pagenav,
	div.pagination ul li a.pagenav {
		margin-top: 0 !important;
	}

	div.pagination {
		margin: 20px 0 !important;
	}

	.formResponsive input[type="text"], .formResponsive input[type="password"], .formResponsive textarea, .formResponsive select {
		max-width: 330px;
		box-sizing: border-box;
	}

	div#oformlenie-begenec .formControls {
		padding: 0 10px;
	}

	div#oformlenie-begenec img {
		width: 48px !important;
	}

	ul.jcomments-latest_posledkomment {
		box-sizing: border-box !important;
	}

	iframe {
		max-width: 560px;
		width: 100% !important;
	}

	#comments .comments-list {
		margin-left: 0 !important;
	}

}/*1200*/



@media (max-width: 989px) {

	a[href='/index.php'] img {
		width: 280px !important;
		height: auto !important;
	}

	#menu a {
		margin: 0 5px !important;
	}

	#menu {
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}

}/*989*/



@media (max-width: 768px) {

	.menu-btn {
	    display: inline-block !important;
	    margin: 3px;
	    cursor: pointer;
	    position: absolute;
	    right: 0;
	}

	.custom_topmenu > table > tbody > tr > td[valign="top"] > ul#menu {
		display: none;
		text-align: center !important;
	}

	.custom_topmenu > table > tbody > tr > td {
		text-align: left;
	}

	.expand {
		display: block !important;
	}

	.menu-btn span {
		display: block;
		width: 35px;
		height: 4px;
		margin: 5px 10px;
		background: #000;
		border-radius: 10px;
		z-index: 99;
	}

	.formResponsive input[type="submit"] {
		font-size: 12px !important;
	}

	#menu li {
		float: none !important;
	}

	#menu a.active {
		border-bottom: none !important;
	}

	#menu a {
		padding: 20px 10px !important;
	}

	.shapka-ck > tbody > tr {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	.shapka-ck > tbody > tr > td:nth-child(1) {
		display: block !important;
	}

	.shapka-ck > tbody > tr > td:nth-child(3) {
		display: none !important;
	}

	.shapka-ck > tbody > tr > td:nth-child(2) {
		padding: 20px 0;
    	text-align: center !important;
	}

	div.custom_topmenu > table tr {
		position: relative;
	}

	div.custom_topmenu > table tr {
		padding-bottom: 0;
	}

	.custom_topmenu > table > tbody > tr > td[valign='middle'] {
		display: none;
	}

	.custom_topmenu > table > tbody > tr > td[valign='top'] > div:nth-child(1) {
		display: inline-block;
		width: 123px;
		margin-left: 10px;
	}

	.pagenav {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}

	ul.pagenav li.pagenav-prev {
		margin-bottom: 20px !important;
	}

}/*768*/



@media (max-width: 380px) {
	.item-page {
		font-size: 12px;
	}

	.item-page h2 {
		font-size: 21px !important;
	}
}/*380*/