/* reset( */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, main {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    font-weight: inherit;
    outline: 0;
    font-style: inherit;
    font-family: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
	display: block;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
    line-height: 1;
    color: black;
    background: white;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
}
/* HTML5 */
input:not([type=checkbox]):not([type=radio]),
textarea, 
select {
  appearance: none;
}
/*  */
input, label, select, button, textarea {
    margin: 0;
    border: 0;
    outline: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    background: 0;
    color: #000000;
}
input:focus {
    outline: 0
}
input, textarea {
    box-sizing: content-box;
}
button, input[type=reset], input[type=button], input[type=submit], input[type=checkbox], input[type=radio], select {
    box-sizing: border-box;
}
input[type=radio]{
    margin: 0px 5px 0 2px;
    accent-color: #777777;
    transform: scale(1.1);
}
input[type=checkbox]{
    margin: 0 5px 2px 2px;
    accent-color: #777777;
    transform: scale(1.1);
}
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
select,
select:focus,
textarea {
  font: 16px Arial, sans-serif;
  color: #454545;
}
/* reset) */

/* <general> */
.clear {
    clear: both;
}

strong, b {
    font-weight: bold;
}

#wrapper {
    margin: 0 auto;
	min-width: 320px; /* min-width */
    font: 13px Verdana, Arial, sans-serif;
	text-align: justify;
    color: #000000;
    background: #FFFFFF; 
}

#main {
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 10px 0 10px 0;
    box-shadow: 0px 0px 5px -2px #646478;
    background: #FFFFFF;
}

#content_wrapper {
    padding: 0 10px 0 10px;
}

h1{
    font-size: 17px;
    font-weight: bold;
}

h2{
    font-size: 15px;
    font-weight: bold;
}

h3{
    font-size: 14px;
    font-weight: bold;
}

hr {
    border: none;
    border-bottom: 1px dashed #D2D2D7;
    margin: 7px 0;
}

a {
    color: #4D5164;
    text-decoration: none;
}

a:hover {
    color: #000000;
}

.no_link {
  pointer-events: none;
}

.show_block {
    opacity: 0; 
    transition: 1s; 
    animation: show_block 1s 1; 
    animation-fill-mode: forwards; 
    animation-delay: 1s;
}
@keyframes show_block {0%{opacity:0;}100%{opacity:1;}}

/* <ul_li> */
ul.ul_none {
    list-style-position: inside;
    list-style-type: none;
	padding: 3px 0 3px 3px;
}

ul.ul_none li {
	padding: 1px 0;
}

ul.ul_disc {
    list-style-position: inside;
    list-style-type: disc;
	padding: 3px 0 3px 3px;
}

ul.ul_disc li {
	padding: 1px 0;
}

ul.ul_decimal {
    list-style-position: inside;
    list-style-type: decimal;
	padding: 3px 0 3px 3px;
}

ul.ul_decimal li {
	padding: 1px 0;
}
/* </ul_li> */

/* Загрузка */
.loading {
    width: 64px;
    height: 64px;	
    display: inline-block;
    background: url("../images/loading.gif") no-repeat center center;
    background-size: cover;
}

/* <buttons> */
.button_edit {
    display: block;
	width: 17px; 
	height: 17px; 
    margin: 2px;
	background: url("../images/buttons_edit.png") no-repeat top center; 
}

.button_edit:hover {
    background: url("../images/buttons_edit.png") no-repeat bottom center;
}

.button_settings {
    cursor: pointer;
    display: block;
	width: 22px; 
	height: 22px;
    margin: 0 1px 0 0;
    float: right;
	background: url("../images/button_settings.png") no-repeat center center;
    background-size: cover;
    opacity: 0.8;
}

.button_settings:hover {
    opacity: 1; 
}

.button_fav {
    display: block;
    cursor: pointer;
	width: 19px; 
	height: 17px; 
    margin: 2px;
	background: url("../images/buttons_fav.png") no-repeat top left; 
}

.button_fav:hover {
    background: url("../images/buttons_fav.png") no-repeat top right; 
}

.button_fav_1 {
    display: block;
    cursor: pointer;
	width: 19px; 
	height: 17px; 
    margin: 2px;
	background: url("../images/buttons_fav.png") no-repeat bottom left; 
}

.button_fav_1:hover {
    background: url("../images/buttons_fav.png") no-repeat bottom right; 
}

#mat_rating_block .button_fav {
    display: block;
    cursor: pointer;
	width: 34px; 
	height: 32px; 
    margin: 0;
	background: url("../images/buttons_fav_big.png") no-repeat top left; 
}

#mat_rating_block .button_fav:hover {
    background: url("../images/buttons_fav_big.png") no-repeat top right; 
}

#mat_rating_block .button_fav_1 {
    display: block;
    cursor: pointer;
	width: 34px; 
	height: 32px;
    margin: 0; 
	background: url("../images/buttons_fav_big.png") no-repeat bottom left; 
}

#mat_rating_block .button_fav_1:hover {
    background: url("../images/buttons_fav_big.png") no-repeat bottom right; 
}
/* <mat_rating_like> */
#mat_rating_block {
    text-align: center;
    font-size: 20px;
    margin: 0 0 5px 0;
}

.mat_rating {
    color: #A0A0C3;
    cursor: help; 
    vertical-align: middle; 
}

.mat_buttons_rating {
    width: 34px; 
	height: 32px;
    display: inline-block;
    vertical-align: middle; 
}
/* </mat_rating_like> */
/* </buttons> */

/* <Блок с информацией> */
.info_block {
    border-radius: 5px;
    padding: 7px;
    background: #E5E5E5;
    background: linear-gradient(to top, #F0F0F0, #E5E5E5);
    text-align: left; 
}

.info_block div {
    font-weight: bold;
    padding-bottom: 5px;
}

.info_block li {
    padding-bottom: 5px;
    list-style-position: inside;
    list-style-type: decimal;
}

.info_block_errors {
    background: #FFC0CB;
    background: linear-gradient(to top, #FFD2E0, #FFC0CB);
}

.info_block_ok {
    background: #EBF8A4;
    background: linear-gradient(to top, #F2FFAB, #EBF8A4);
}
/* </Блок с информацией> */
/* </general> */

/* <admin> */
.admin_cat {
    margin: 15px 0;
    padding: 5px 5px 3px 5px;
    border: 1px solid #D2D2D7;  
    border-radius: 5px; 
    background-color: #DCFFFF; 
    background: linear-gradient(to top, #DCFFFF, #E6FFFF)
}

.admin_cat_name {
    margin-bottom: 3px;
    padding-bottom: 3px;
    font-weight: bold;
    border-bottom: 1px dashed #D2D2D7;
}

.admin_cat_bottom {
    margin-top: 3px;
    padding-top: 3px;
    font-size: 12px;
    border-top: 1px dashed #D2D2D7;
}

/* </admin> */

/* <header> */ 
#header_top_wrapper {
    min-height: 50px;
	overflow: hidden;
    color: #FFFFFF;
    background: #00AAFF; 
    background: linear-gradient(to bottom left, #00AAFF, #00B9FF);
    text-align: center;
}

#header_top {
    max-width: 990px; 
    margin: 0 auto; 
}

#header_top_left {
    padding: 7px 0 0 7px;
    width: 1px;
    float: left;
    text-align: center; 
}

#header_top_right {
    padding: 7px 7px 0 0;
    width: 120px;
    float: right;
    text-align: center;  
}

#header_top_center {
    padding: 16px 0 0 0;
    margin: 0 85px 0 14px;
    text-transform: uppercase;
    text-align: left;  
    font-size: 16px;
    font-weight: bold;
}

#header_top_title{
    color: #FFFFFF; 
    text-decoration: none; 
    display: inline-block;
    text-shadow: 1px 1px 2px #646478;
}

#header_top_title:hover {
    color: #FFFFFF;
    text-decoration: none;
    text-shadow: 1px 1px 1px #646478;  
}

.button_menu {
    cursor: pointer;
    display: block;
	width: 36px; 
	height: 36px;
    float: right;
	background: url("../images/menu_sprite.png") no-repeat top left; 
}

.button_menu:hover {
    background: url("../images/menu_sprite.png") no-repeat top right;
}

.button_search {
    display: block;
	width: 36px; 
	height: 36px;
    float: right;
    margin-right: 3px;
	background: url("../images/menu_sprite.png") no-repeat center left;
}

.button_search:hover {
    background: url("../images/menu_sprite.png") no-repeat center right;
}

.button_menu_fav {
    display: block;
	width: 36px; 
	height: 36px;
    float: right;
    margin-right: 3px;
	background: url("../images/menu_sprite.png") no-repeat bottom left;
}

.button_menu_fav:hover {
    background: url("../images/menu_sprite.png") no-repeat bottom right; 
}
/* </header> */

/* <sidebar> */
.sidebar { 
	max-width: 1000px; 
    margin: 0 auto 10px auto;  
    box-shadow: 0px 0px 5px -2px #646478; 
}

/* <menu> */
.ul_menu { 
    background: #FFFFFF; 	
}

.ul_menu li a { 
    display: block;
	position: relative;
	padding: 10px;
    cursor: pointer;
    background: #FFFFFF; 	
    text-decoration: none;
    font-weight: bold;
	border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #D2D2D7;
	font-size: 13px; 
	text-shadow: 0px 1px 0px #FAFAFF;
}

.ul_menu li:first-child a { 
    border-top: none;
}

.ul_menu li:last-child a { 
	border-bottom: none;
}

.ul_menu li a:hover { 
	background: #F2F2FF; 
    background: linear-gradient(to bottom left, #F2F2FF, #F5F5FF);
}
/* </menu> */

/* <form_search_sidebar> */
#form_search_sidebar {
    padding: 10px 0;
    text-align: center;
}

#form_search_sidebar .input {
    width: 70%;
    height: 29px;
    line-height: 22px;
    padding: 0 5px 0 5px;
    border: 1px solid #D2D2D7;
    border-radius: 3px 0 0 3px;
}

#form_search_sidebar .input:focus { 
    border: 1px solid #BEBEC3;
}

#form_search_sidebar .button {
    font-size: 13px;
    font-weight: normal;
    width: 62px;
    height: 31px;
    border: 1px solid #D2D2D7;
    border-left: none;
    border-radius: 0 3px 3px 0;
    background: #EAEAEB;
    background: linear-gradient(to top, #EAEAEB, #FEFEFF);
}

#form_search_sidebar .button:hover {
    cursor: pointer;
    border: 1px solid #BEBEC3;
    border-left: none;
    background: #EAEAEB;
    background: linear-gradient(to top, #EAEAEB, #F5F5F5);
}
/* </form_search_sidebar> */
/* </sidebar> */

#content {
    
}

/* <content> */
#content h1 {
    max-width: 500px;
    margin: 3px auto 5px auto;
    text-align: center;
    font-size: 17px;
}

#content p {
	margin-top: 10px;
    text-indent: 20px;
    text-align: left; 
    font-size: 15px;
}
/* </content> */

#inf {
    margin: 0 0 7px 0;
}

#inf h2 {
    width: 500px;
    margin: 20px auto;
    text-align: center;
}

.text_bottom {
    text-indent: 20px;
}

/* <content_body> */
/* <mat> */
.mat {
	margin: 8px 0 0 0;
    padding: 0 0 9px 0;
    border-bottom: 1px dashed #D2D2D7;
}

.mat_div_img {  
    float: left; 
	margin: 2px 6px 0 0; 
    position: relative;
    max-width: 240px;
    min-width: 150px;
    width: 24%;
    line-height: 0;
}

.mat_img {
    min-width: 150px;
    min-height: 84px;
    width: 100%; 
    border-radius: 10px;
}

.mat_img_duration {
    position: absolute;
    bottom: 4px;
    right: 7px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px #646478; 
    font: 13px Arial, sans-serif;
    font-weight: bold;
}

.icon_download {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: url("../images/sprite_button.png") no-repeat 0px 0px;
}

.icon_like {
    display: inline-block;
    width: 14px;
    height: 10px;
    background: url("../images/sprite_button.png") no-repeat -10px 0px;
}

.icon_views {
    display: inline-block;
    width: 18px;
    height: 10px;
    background: url("../images/sprite_button.png") no-repeat -47px 0px;
}

.icon_date {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: url("../images/sprite_button.png") no-repeat -36px 0px;
}

.icon_size {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: url("../images/sprite_button.png") no-repeat -24px 0px;
}

.mat_desc {
    padding: 0px;
}

.mat_desc_img {
    padding: 0px;
}

.mat_desc_top {
    padding-top: 1px;
    min-height: 16px;
    text-align: left;
}

.mat_desc_top_img {
    padding-top: 1px;
    min-height: 16px;
    text-align: left;
}

.mat_desc_center { 
    padding: 3px 0;       
}

#content p.mat_desc_center {
    text-indent: 0;
	margin-top: 0;
}

.mat_desc_bottom {
    text-align: left;
    font-size: 12px;          
}

.mat_desc_bottom ul li {
    float: left; 
	background: url("../images/mat_li_bg.png") no-repeat right 2px center; 
	margin: 3px 0 0 0; 
    vertical-align: bottom;
	padding: 0 8px 0 3px;
}

.mat_desc_bottom ul li:first-child {
	padding-left: 0;
}

.mat_desc_bottom ul li:last-child {
	padding-right: 0;
	background: none;
}

.mat_all_desc_bottom {
    min-height: 15px;
    border-top: 1px dashed #D2D2D7;
    border-bottom: 1px dashed #D2D2D7;
    text-align: left;
    font-size: 12px;           
}

.mat_all_desc_bottom  div.cats {
    min-height: 15px;
    border-bottom: 1px dashed #D2D2D7;
    text-align: left;
	padding: 5px 0;
    line-height: 1.6;
}

.mat_all_desc_bottom ul li {
    float: left; 
	background: url("../images/mat_li_bg.png") no-repeat right 2px center; 
	margin: 5px 0; 
	padding: 0 8px 0 3px;
}

.mat_all_desc_bottom ul li:last-child {
	padding-right: 0;
	background: none;
}

.mat_all_message {
    padding: 10px 0 10px 0;
    text-align: center;
}

.mat_all_message iframe, .mat_all_message .photo {
    border: 1px solid #D2D2D7;
    border: 1px solid #FFFFFF;
    border-radius: 10px;
   	width: 94%;
    min-width: 304px;
    min-height: 171px;
    max-width: 512px;
    max-height: 288px;
    aspect-ratio: 16/9;
}

.mat_all_message .photo {
    display: none;
}

.mat_all_author_site {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
}

/* <print> */
#print {
    text-align: center;
	padding: 3px 0 5px 0;
}

.print2 {
    text-align: center;
	width: 50%;
	float: left;
}
/* </print> */

/* <rk> */
.rk_name {
    margin: 5px 0 0 0;
	font-weight: bold;
}

ul.rk_ingr {
    list-style-position: inside;
    list-style-type: disc;
	padding: 3px 0 3px 3px;
}

.hrecipe ul  li.ingredient {
	padding: 1px 0;
}

.hrecipe ul.instructions {
    list-style-position: inside;
    list-style-type: decimal;
	padding: 3px 0 3px 3px;
}

.hrecipe ul.instructions  li.instruction {
	padding: 5px 0;
}

.hrecipe .summary, .hrecipe .summary1 {
    padding: 3px 0 3px 3px;
}

.hrecipe .summary1 {
    margin: 0 0 7px 0;
}
/* </rk> */
/* </mat> */

.category_n {
    font-size: 12px;
    color: #7D7D7D; 	
}

/* <categories> */
.categories {  
    text-align: center;
}

.categories strong {
    font-weight: normal;
}

.categories a { 
    text-decoration: none;
    display: inline-block;
    padding: 5px 10px; 
    margin: 5px;
    border-radius: 15px; 
    background-color: #FCFCFF;
    border: 1px solid #DCDCEB;
    transition: 0.1s linear;
}

.categories a:hover {
    background-color: #F2F2FF; 
    box-shadow: 0px 0px 3px -2px #646478;
}

.categories a.active {
    background-color: #F2F2FF; 
    box-shadow: 0px 0px 3px -2px #646478;
}
/* </categories> */

/* <nav_page> */
.nav_page {
    text-align: center;
    font-size: 13px;
}

.nav_page a { 
    border-radius: 10px;
    display: inline-block; 
    padding: 8px 4px 8px 4px;
    min-width: 26px;
    margin: 0 3px;
	background-color: #FCFCFF;
    border: 1px solid #DCDCEB;
    transition: 0.1s linear;
}

.nav_page a:hover {
    background-color: #F2F2FF; 
    text-decoration: none;
    box-shadow: 0px 0px 3px -2px #646478;
}

.nav_page b { 
    background-color: #F2F2FF; 
    border-radius: 10px;
    display: inline-block; 
    padding: 8px 4px 8px 4px;
    min-width: 26px;
    margin: 0 3px;
    font-weight: normal;
    border: 1px solid #DCDCEB;
    box-shadow: 0px 0px 3px -2px #646478;
}

.nav_page1 {
    text-align: left;
	width: 50%;
	float: left;
}

.nav_page2 {
    text-align: right;
	width: 50%;
	float: left;
}
/* </nav_page> */
/* </content_body> */

/* <form> */
#form {
    margin: 15px auto;
    text-align: left;
}


#form legend{
    padding: 0 3px;
}

#form fieldset {
    padding: 0 22px 10px 10px;
    border: 1px solid #D2D2D7;
    border-radius: 3px;
}

#form .question {
    font-weight: bold;
    margin: 10px 0 5px 0;
}

#form textarea {
	width: 100%;
	height: 250px;
    padding: 5px;
}

#form .input {
	width: 100%;
    height: 30px;
    line-height: 27px;
    padding: 0 5px 0 5px;
}

#form .input_datetime {
    height: 30px;
    padding: 0 5px 0 5px;
    width: 200px;
}

#form .div_checkbox {
    padding: 10px 0 5px 0;
}

#form .div_block_radio_checkbox {
    overflow: auto;
    width: 100%;
    height: 250px; 
    padding: 5px 5px 5px 5px; 
}

#form .div_block_checkbox {
    overflow: auto;
    width: 100%; 
    padding: 2px 3px 3px 3px; 
}

#form select {
    width: 100%;
    height: 30px;
    line-height: 30px;
    padding: 0 0 0 5px;
}

#form .button {
    font-size: 13px;
    font-weight: normal;
    margin: 10px 5px 0 5px;
    padding: 5px 15px;
    border: 1px solid #D2D2D7;
    border-radius: 3px;
    background: #EAEAEB;
    background: linear-gradient(to top, #EAEAEB, #FEFEFF);
}

#form .button:hover {
    cursor: pointer;
    border: 1px solid #BEBEC3;
    background: #EAEAEB;
    background: linear-gradient(to top, #EAEAEB, #F5F5F5);
}

#form .imageButton {
	width: 224px;
	height: 65px;
    margin: 1px 5px 0 0;
}

#form .imageButton:hover {
    margin: 0 5px 1px 0;
}

#form .input, #form .input_datetime, #form textarea, #form select, #form .div_block_radio_checkbox, #form .div_block_checkbox { 
    border: 1px solid #D2D2D7;
    border-radius: 3px;
}

#form .input:focus, #form .input_datetime:focus, #form textarea:focus, #form  select:focus, #form .div_block_radio_checkbox:focus, #form .div_block_checkbox:focus  { 
    border: 1px solid #BEBEC3;
}

#form label {
    cursor: pointer;
}

#form .div_block_checkbox div {
    padding: 3px 0 3px 3px; 
    font-size: 14px;
    line-height: 22px;
}

#form .small_centre {
	font: 11px Arial, sans-serif;
    text-align: center;
}
/* </form> */

/* <pin> */
#pin_widget {
    width: 300px;
    margin: 50px auto 5px auto;
    font: 16px Arial, sans-serif;
    user-select: none;
    -webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

#pin_title {
    font-size: 16px;
    color: #555555;
    text-align: center;
}

#pin_info {
    font-size: 15px;
    color: #888888;
    height: 15px;
    height: 20px;
    margin: 35px 0 35px 0;
    text-align: center;
}

.pin_circles {
    height: 20px;
    margin: 35px 0 35px 0;
    text-align: center;
}

.pin_circles div {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 14px;
    margin: 2px 10px;
    background-color: #E7E7E7;
    transition: 0.1s linear;
}

.pin_circles div.pin_circle_active {
    background-color: #418DF1;
}

.pin_circles div.pin_circle_yes {
    background-color: #418DF1;
    width: 18px;
    height: 18px;
    border-radius: 18px;
    margin: 0 10px;
}

.pin_circles div.pin_circle_no {
    background-color: #FF0000;
    width: 18px;
    height: 18px;
    border-radius: 18px;
    margin: 0 10px;
}

.pin_numbers {
    text-align: center;
    font-size: 38px;
    padding: 0 0 0 8px;
}

.pin_numbers div {
    float: left;
    display: block;
    width: 65px;
    height: 65px;
    margin: 10px 15px;
    border-radius: 55px;
    background-color: #FFFFFF;
    line-height: 65px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#pin_number_10 {
    font-size: 15px;
    color: #888888;
}

#pin_number_11 span {
    display: inline-block;
    width: 65px;
    height: 65px;
    background: url("../images/button_delete.png") no-repeat center center;
    background-size: 55px 55px;
    opacity: 0.7;
}

.pin_numbers div.pin_numbers_active {
    background-color: #F1F1F1;
}
/* </pin> */
/* </block_content> */