
/* --------------------------------------------- */
/* -------------  320PX  ----------------------- */
/* -------------------------------------------- */

@media (min-width: 1px) and (max-width: 359px) { 

#wrap {
	width: 97%; /* ширина гибкая */
}

#contentbox {
	width: 100%;
	margin-right: 0;
}

#sidebar {
	display: none; /* сайдбар отключен */
}

#headbar {
	height: 40px; /* двойная строка главного меню */
	font-size: 10px;
}

.headbar_site_desc {
	display: none; /* описание отключено */
}

#headbar2 {
	height: 60px; /* высота уменьшена на 30 */
}

.logo2 {
	display:none; /* теги-логотипы отключены */
}

.logo {
	width: 77px;
	height: 60px; /* высота уменьшена на 30 */
	margin-left: 3px; /* итого 80 */
}

.logo img {
	width: 77px;
	height: 40px;
}

.searchform {
	display:none; /* поиск отключен */
}

.headbar-buttons {
	width: 230px; /* ширина уменьшена */
	height: 60px; /* высота уменьшена на 30 */
}

.middleline {
	height: 27px; /* высота уменьшена на 6 */
}

.adline {
	margin-right: 7px; /* минимальный отступ справа для надписи */
}

.cab-buttons {
	text-transform: none;
	margin-right: 5px;
}

div#MainCatBar {
	display: none;  /* меню категорий отключено */
}

div#SubCatBar {
	display: none;  /* меню подкатегорий отключено */
}

#navbar {
	overflow: hidden;
}

.news-upcoming {
	display: none; /* голосование отключено */
}

.news-upcoming2 {
	display: none; /* голосование отключено для белых */
}

.top {
    	margin: 0 0 0 0px; /* нет сдвига от голосования */
}

.image_upload {
    margin: 0 0px 0 0; /* отступ у миниатюр справа не нужен */
}

.pagination {
	font-size: 10px;
}

.footer-blocks {
	float: none;
	width: 100%;
	height: auto;
	border-right: 0 !important;
}

/* story */

.fun_img_above_text {
	display: block;
}

.fun_img_above_text img {
	width: 100% !important;
	height: auto !important;
}

.big_funny_img {
	width: 100% !important;
	height: auto !important;
}

.news-body-text img {
	width: 100% !important;
	height: auto !important;
}

.news-body-text iframe {
	width: 100% !important;
	height: auto !important;
}

.news-body-text object {
	width: 100% !important;
	height: auto !important;
}

.cab {
    height: 30px;
}

.cab span {
	margin-left: 3px; /* минимальный отступ между кнопок */
	width: 100px; /* три кнопки влезет */
	height: 30px;

}

.t_related_block {
	width: 99%;
	display: block;
}

.t_related_text {
	width: 180px;
	padding: 20px 10px 0 5px;
}

/* story text */

.overflow_table {
	overflow-x: auto; /* для дивов вокруг таблиц */
	background: url(/templates/yget/images/hand_table_dot_2.png) no-repeat center bottom;
	padding: 0 0 25px 0;
}

table.cool td {
    padding: 5px;
}

/* user profile */

#personal_info {
    width: 100%;
    float: left;
}

#stats {
	width: 100%;
	float: none;
}

/* content */

.ContentPage {
    margin-left: 20px;
    margin-right: 20px;
    border-left: 0;
    padding-left: 0;
}

.ContentPage img {
	width: 100% !important;
	height: auto !important;
}

/* budget */

#contentbox .mb-summary-grid { grid-template-columns: 1fr 1fr; }
#contentbox .mb-budget-field { grid-column: 1 / -1; }
#contentbox .mb-table-head { display: none; }
#contentbox .mb-expense-row { position: relative; grid-template-columns: 1fr 1fr; padding: 7px 34px 9px 0; }
#contentbox .mb-field > span { display: block; margin-bottom: 2px; }
#contentbox .mb-field-name { grid-column: 1 / -1; }
#contentbox .mb-remove { position: absolute; right: 0; bottom: 10px; }

} /* ------------------------------------------------------- */

/* -------------------------------------------------------- */
/* -------------  360-375-412-414PX  ---------------------- */
/* ------------------------------------------------------- */

@media (min-width: 360px) and (max-width: 767px) { 

#wrap {
	width: 97%; /* ширина гибкая */
}

#contentbox {
	width: 100%;
	margin-right: 0;
}

#sidebar {
	display: none; /* сайдбар отключен */
}

#headbar {
	height: 40px; /* двойная строка главного меню */
	font-size: 10px;
}

.headbar_site_desc {
	display: none; /* описание отключено */
}

#headbar2 {
	height: 60px; /* высота уменьшена на 30 */
}

.logo2 {
	display:none; /* теги-логотипы отключены */
}

.logo {
	width: 97px;
	height: 60px; /* высота уменьшена на 30 */
	margin-left: 3px; /* итого 100 */
}

.logo img {
	width: 97px;
	height: 50px;
}

.searchform {
	display:none; /* поиск отключен */
}

.headbar-buttons {
	width: 240px;
	height: 60px; /* высота уменьшена на 30 */
}

.middleline {
	height: 27px; /* высота уменьшена на 6 */
}

.adline {
	margin-right: 7px; /* минимальный отступ справа для надписи */
}

.cab-buttons {
	text-transform: none;
	margin-right: 5px;
}

div#MainCatBar {
	display: none;  /* меню категорий отключено */
}

div#SubCatBar {
	display: none;  /* меню подкатегорий отключено */
}

#navbar {
	overflow: hidden;
}

.news-upcoming {
	display: none; /* голосование отключено */
}

.news-upcoming2 {
	display: none; /* голосование отключено для белых */
}

.top {
    	margin: 0 0 0 0px; /* нет сдвига от голосования */
}

.image_upload {
    margin: 0 0px 0 0; /* отступ у миниатюр справа не нужен */
}

.pagination {
	font-size: 10px;
}

.footer-blocks {
	float: none;
	width: 100%;
	height: auto;
	border-right: 0 !important;
}

/* story */

.fun_img_above_text {
	display: block;
}

.fun_img_above_text img {
	width: 100% !important;
	height: auto !important;
}

.big_funny_img {
	width: 100% !important;
	height: auto !important;
}

.news-body-text img {
	width: 100% !important;
	height: auto !important;
}

.news-body-text iframe {
	width: 100% !important;
	height: auto !important;
}

.news-body-text object {
	width: 100% !important;
	height: auto !important;
}

.cab {
    height: 30px;
}

.cab span {
	margin-left: 3px; /* минимальный отступ между кнопок */
	width: 100px; /* три кнопки влезет */
	height: 30px;

}

.t_related_block {
	width: 99%;
	display: block;
}

.t_related_text {
}

/* story text */

.overflow_table {
	overflow-x: auto; /* для дивов вокруг таблиц */
	background: url(/templates/yget/images/hand_table_dot_2.png) no-repeat center bottom;
	padding: 0 0 25px 0;
}

table.cool td {
    padding: 5px;
}

/* user profile */

#personal_info {
    width: 100%;
    float: left;
}

#stats {
	width: 100%;
	float: none;
}

/* content */

.ContentPage {
    margin-left: 20px;
    margin-right: 20px;
    border-left: 0;
    padding-left: 0;
}

.ContentPage img {
	width: 100% !important;
	height: auto !important;
}

/* budget */

#contentbox .mb-summary-grid { grid-template-columns: 1fr 1fr; }
#contentbox .mb-budget-field { grid-column: 1 / -1; }
#contentbox .mb-table-head { display: none; }
#contentbox .mb-expense-row { position: relative; grid-template-columns: 1fr 1fr; padding: 7px 34px 9px 0; }
#contentbox .mb-field > span { display: block; margin-bottom: 2px; }
#contentbox .mb-field-name { grid-column: 1 / -1; }
#contentbox .mb-remove { position: absolute; right: 0; bottom: 10px; }

} /* --------------------------------------------- */

/* ---------------------------------------------- */
/* -------------  768 PX  ----------------------- */
/* --------------------------------------------- */

@media (min-width: 768px) and (max-width: 1023px) { 

#wrap {
	width: 97%; /* ширина гибкая */
}

#contentbox {
	width: 100%;
	margin-right: 0;
}

#sidebar {
	display: none; /* сайдбар отключен */
}

#headbar {
	font-size: 11px;
}

.logo2 {
	display:none; /* теги-логотипы отключены */
}

.logo {
}

.logo img {
}

.searchform {
}

.headbar-buttons {
}

.middleline {
}

.adline {
}

.cab-buttons {
}

div#MainCatBar {
}

div#SubCatBar {
}

#navbar {
	overflow: hidden;
}

.news-upcoming {
}

.news-upcoming2 {
}

.top {
}

.image_upload {
    margin: 0 0px 0 0; /* отступ у миниатюр справа не нужен */
}

.pagination {
	font-size: 10px;
}

/* story */

.fun_img_above_text {
	display: block;
}

.fun_img_above_text img {
	width: 100% !important;
	height: auto !important;
}

.big_funny_img {
	width: 100% !important;
	height: auto !important;
}

.news-body-text img {
	width: 100% !important;
	height: auto !important;
}

.news-body-text iframe {
	width: 100% !important;
	height: auto !important;
}

.news-body-text object {
	width: 100% !important;
	height: auto !important;
}

.cab {
}

.cab span {
}

.t_related_block {
}

.t_related_text {
}

/* story text */

.overflow_table {
}

table.cool td {
}

/* user profile */

#personal_info {
}

#stats {
}

/* content */

.ContentPage {
}

.ContentPage img {
}

} /* --------------------------------------------- */

/* ---------------------------------------------- */
/* -------------  1920 PX  ----------------------- */
/* --------------------------------------------- */

@media (min-width: 1920px) { 

#wrap {
	width: 1050px;
}

.logo2 {
	width: 616px;
}

body {
	font-size: 14px;
	line-height: 17px;
}

#navbar {
	font-size: 12px;
}

.cb-def {
	width: 760px;
}

.cb-submit {
	width: 800px;
}

.news-submitted {
	font-size: 12px;
}

.ls_adminlinks {
	width: 320px;
}

.news-body-text {
	font-size: 14px;
}

.linkshare {
	font-size: 14px;
}

.navigation-help {
	font-size: 14px;
}

.ContentPage {
	font-size: 14px;
}

.comment-body {
	font-size: 14px;
}

.toptitle h1 {
	font-size: 20px;
}

.toptitle h4 {
	font-size: 20px;
}

.news-body-text img {
	width: 670px !important;
	height: auto !important;
}

.footer {
	font-size: 12px;
}



/* submit */

.titleinput {
	font-size: 20px;
}

.summarydiv textarea {
	font-size: 14px;
}

input {
	font-size: 14px;
}

select {
	font-size: 14px;
}

input.log2 {
	font-size: 14px;
}

/* comments */

#comment-head {
	font-size: 12px;
}

#comment-info {
	font-size: 12px;
}

a.vote-text {
	font-size: 12px;
}

textarea#comment { /* коммент */
	font-size: 14px;
}

.comment-info textarea { /* ответ на коммент */
	font-size: 14px;
}



} /* --------------------------------------------- */




