/* 
Document: main
Description:
    main css style
*/

/* ================== Reset ================== */

html, body, ul, ol, li, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, blockquote, form, fieldset, legend, table, td, th, div, pre {
    margin: 0;
    padding: 0;
}
div:after, form:after, ul:after, ol:after, dl:after, dt:after, dd:after, h1:after, h2:after, h3:after, h4:after, p:after, .columns:after {
    content: '';
    display: block;
    clear: both;
}
img {
    border: medium none;
}
ul {
    list-style-type: none;
}

/* ================== *** ================== */

html, body {
    font-size: 100.01%;
    height: 100%;
}

body {
    background: url('/themes/recipe/images/d/bg.png') repeat-x #fffbef;
    color: #000;
    font-family: Arial,Helvetica,sans-serif;
    font-size: .9em;
    line-height: 1.55;
}

/* ================== Headers ================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 1.3;
}

h1 {
    color: #803300;
    font-size: 230%;
    margin-bottom: .5em;
}

h2 {
    color: #803300;
    font-size: 195%;
    margin: .8em 0 .4em;
}
h2 a {
    color: #803300;
}

h3 {
    font-size: 170%;
    margin: .7em 0 .3em;
}

h4 {
    font-size: 150%;
    margin: .6em 0 .3em;
}

h5 {
    font-size: 120%;
    margin-bottom: .3em;
}

h6 {
    font-size: 110%;
    margin-bottom: .3em;
}

/* ================== Links ================== */

a:link, a:visited {
    color:#a05a2c;
}
a:hover {
    color: #b03f3f;
    border-color: #b03f3f;
}


/* ================== Text ================== */

p {
    margin-bottom: 1.2em;
}

/* ================== Helpers ================== */

.clear {
    clear:both;
    font-size:0;
    height:1px;
    width:100%;
}

/* ================== Mlayout and #content ================== */

.mlayout {
    margin: auto;
    max-width: 1500px;
    min-width: 1065px;
}

/* ================== Header ================== */

#header {
    color: #fff;
    height: 100px;
    margin-bottom: 1.5em;
    position: relative;
    z-index: 2;
}

#header #bun {
    float: left;
    margin-left: 4%;
    margin-top: 20px;
}

#header #logo {
    float: left;
    margin-top: 35px;
    margin-left: 10px;
    position: relative;
}

#header #logo a {
    outline: none;
}

/*
 * Menu top	
 */

#header #toppermenublock {
    color: #fff;
    left: 49%;
    position: absolute;
    top: 10px;
}

#menutop a {
    color: #fff !important;
    height: 35px;
}
/* --no-optimize */
#menutop ul {
    float: left;
    
	height: 35px;
	background: #b25518; /* Old browsers */
	background: -moz-linear-gradient(top,  #b25518 0%, #6e361a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b25518), color-stop(100%,#6e361a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #b25518 0%,#6e361a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #b25518 0%,#6e361a 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #b25518 0%,#6e361a 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #b25518 0%,#6e361a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b25518', endColorstr='#6e361a',GradientType=0 ); /* IE6-9 */
}

#menutop ul li {
    float: left;
    font-size: 1.1em;
    height: 35px;
    text-align: center;
    line-height: 35px;
    padding: 0 15px 0;
}

#menutop ul li.active,
#menutop ul li.active a,
#menutop ul li a.active,
#menutop ul li.active a.active {
    color: #fff;
}
/* --no-optimize */
#menutop ul li.active {
	background: #c17f45; /* Old browsers */
	background: -moz-linear-gradient(top, #c17f45 0%, #844920 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c17f45), color-stop(100%,#844920)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #c17f45 0%,#844920 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #c17f45 0%,#844920 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #c17f45 0%,#844920 100%); /* IE10+ */
	background: linear-gradient(to bottom, #c17f45 0%,#844920 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c17f45', endColorstr='#844920',GradientType=0 ); /* IE6-9 */
}
#menutop a:hover,
#menutop ul li a:hover {
    color: #FBFABB !important;
}

/* Search form */
#search {
	width: 300px;
	margin-bottom: 10px;
	left: 100%;
	position: relative;
	margin-left: -300px;
	height: 20px;
}
#search #ya-site-form0 .ya-site-form__search-input {
	padding: 0 !important;
}


/* ================== Navigation ================== */

.navcont {
    margin-left: 1%;
    margin-right: 1%;
}

.navcont .nav {
    /*background: #efefef;*/
    float: left;
    font-size: 1.1em;
    margin: 0 -100% 0 0;
    width: 16%;
}

.nav ul {
    list-style-type: none;
    margin-top: .15em;
    margin-left: 1em;
}

.nav ul li {
    line-height: 1.2em;
    margin-bottom: .4em;
}

/* --no-optimize */
.nav ul li a.active,
.nav ul li span.active {
    background: #AB6B32;
    color: #fff;
    padding: 2px;

    -moz-border-radius: 2px;
    -khtml-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}


/* ================== Content ================== */

.navcont .content {
    /* background: #ddd; */
    float: left;
    left: 19%;
    position: relative;
    /*margin:0 -100% 0 0;*/
    width: 81%;
    z-index: 1;
}

.navcont .content .wrap {
    margin: 0 0 1.5em 0;
    width: 74%;
}

.navcont .content-s {
    float: left;
    left: 19%;
    margin: 0 -100% 0 0;
    position: relative;
    width: 60%;
}

.navcont .pupers {
    clear: right;
    float: left;
    left: 82%;
    position: relative;
    width: 18%;
}

/* ================== Page ================== */
.page {
    margin-left: 4%;
}
.page .wrap {
    width: 70%;
}

/* ================== Footer ================== */

#footer {
    border-top: 1px solid #916F6F;
    clear: both;
    color: #916F6F;
    margin-top: 3em;
    padding: 1em 45px;
    
}

#footer #copy {
    background: url("/themes/recipe/images/d/cup.png") no-repeat scroll 0 0 transparent;
    float: left;
    font-size: 1.55em;
    height: 60px;
    padding-left: 70px;
    padding-top: 12px;
}

#footer #subscr {
    float: right;
}

/* ================== Meta info ================== */

.meta {
    clear: both;
    font-size: 90%;
    margin-top: 5px;
    width: 100%;
}
.meta a {
    color: #555;
}
.meta .comCount {
    background: url('/themes/recipe/images/i/commentio.png') no-repeat 0 0;
    float: left;
    margin-right: 1em;
    padding: 0 0 0 22px;
}

/* ================== Pager ================== */

ul.pager {
    clear: both;
    width: 100%;
}
ul.pager li {
    display: inline;
    margin: 0 .1em;
    padding: .5em;
    font-size:1.1em;
}
/* --no-optimize */
ul.pager li.selected {
    background: #A05A2C;
    
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
ul.pager li.selected a {
    color: #fff;
}
ul.pager li a {
    padding: .5em;
}
ul.pager li.selected a {
    text-decoration: none;
}
ul.pager li.hidden {
    display: none;
}



.content .descr {
    color: #803300;
    font-size: .9em;
    margin-bottom: 20px;
}


.blnazak {
    left: 50%;    position: absolute;    text-align: right;    top: 67px;    width: 476px;
}
.blnazak ul li.active {
    color: #A05A2C;
}



/* FORM ============================== */

/* --no-optimize */
div.errorSummary
{
    background: rgb(223, 63, 63);
    display: inline-block;
    margin-bottom: 1.5em;
    padding: 12px;
    color: #fff;
    margin-top: 10px;
    
    -moz-border-radius: 7px;
    -khtml-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
}

div.errorSummary ul
{
    margin: 0;
    padding: 0 0 0 1.1em;
}

div.errorSummary ul li
{
    list-style: square;
}

div.form td {
    vertical-align: top;
}

div.form .w95 {
    width: 95%;
}

div.form .hint {
    color: #777;
    margin-bottom: 0;
    font-size: .9em;
}

div.form .errorMessage,
div.form span.required,
div.form label.error,
div.form span.error
{
    color: #C00;
}

div.form input.error,
div.form textarea.error,
div.form select.error
{
    background: #FEE;
    border-color: #C00;
}

/* --no-optimize */
div.form input[type="text"], div.form textarea {
    border: 1px solid #aaa;
    padding: 3px 4px;
    font-size: 1.2em;
    color: #503E32;
    -moz-border-radius: 7px;
    -khtml-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    margin: 0 20px 0 0;
}

/* --no-optimize */
.confirm {
    background: rgb(165, 119, 50);
    margin: 10px 0 20px;
    padding: 12px;
    color: #fff;
    display: inline-block;
    -moz-border-radius: 7px;
    -khtml-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    
}




/* Bottom admin line */
.adminbline {
    padding: 1em 1em 1em 4%;
    background: #333;
    color: #fff;
    font-size: 90%;
}

.adminbline a {
    color: #fef3a3;
}






/* ================== Bread ================== */

.bread {
    color: #803300;
    font-size: .9em;
    position: absolute;
    top: -1.3em;
    left: -3px;
}
.bread a {
    color: #803300;
    padding: 0 3px;
}
.bread a:hover {
    color: #b03f3f;
    border-color: #b03f3f;
}
.breads .bread {
    position: static;
}


/* Share */
.share {

}





.refkfield {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}



/* --no-optimize */
.teaser .recipeImage img,
img.nimg {
    border: 1px #ccc solid;
    padding: 5px;
    
    -moz-box-shadow: 1px 1px 5px #999;
	-webkit-box-shadow: 1px 1px 5px #999;
    box-shadow: 1px 1px 5px #999;
    
    margin-bottom: 5px;
}