/*  
Theme Name: Tortik
Theme URI: 
Description: Великолепная тема для сайта по продаже тортов на заказ «Торты от Анжелики» 
Version: 1.3
Author: lilumi
Author URI: http://lilumi.org.ua
Tags: ням-ням, тортик, пирожные, lilumi, gallery
*/

/* Css Reset */
html{color:#000;background:#fdfdfc;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
/* clearfix */
.clearfix:after {
        content: ".";
        display: block;
        clear: both;
        visibility: hidden;
       line-height: 0;       
       height: 0;
}
.clearfix {
        display: inline-block;
}
html[xmlns] .clearfix {
        display: block;
}
* html .clearfix {
        height: 1%;
}

/* basic elements */
html, body { height: 100%; width: 100%; }
body { color: #2f190b; font: 12px tahoma, sans-serif; background: #fdfdfc url(img/fon.gif) repeat-x; min-width: 1000px;}


.red {color: #e20d76;}
img{ border: none; }
.all{ min-height: 100%; margin: 0 auto 120px auto; width: 1009px; }


.container{ width: 100%; }
.clear{ clear: both; height: 0; overflow: hidden; }

table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; padding:10px;}
a img { border: none; }
input,textarea { margin: 0; }

/* Removes Firefox imposed outline */
a { text-decoration: underline; color: #ce0d6a; outline: none; }
a:hover { text-decoration: none; }
/* Headings
-------------------------------------------------------------- */
h1, h2, h3{ font-size: 24px; line-height: 30px; padding: 10px 0; font-weight: normal;}
h1 {text-transform: uppercase;}
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; margin-bottom: 1.5em; }
h6 { font-size: 1em; }


/* Текстовая часть контента сайта
-------------------------------------------------------------- */
.post p, .post ul, .post ol, .post blockquote {text-align: justify; line-height: 22px; padding-right:25px;}
.indention p {line-height: 22px; margin-bottom:1.4em;}
.indention p span {font-weight: bold; color: #807D7D;}
.indention ul { list-style-type: circle; /* margin-bottom: 1.5em; */}
.indention ol { list-style-type: decimal; /* margin-bottom: 1.5em; */}

.indention dl { margin: 0 0 1.5em 0; }
.indention dl dt { font-weight: bold; }
.indention dl dd { margin-left: 1.5em; }
.indention table { border-collapse: separate; border:2px solid #edecda; -moz-border-radius: 6px; border-radius:6px; margin:10px 0; }
.indention table th,  .indention table thead{background:#f2f1e4;}
.indention table tr {background: url(img/t.gif) repeat-x 0 100%; }

.indention abbr, .indention acronym { border-bottom: 1px dotted #000; }
.indention address { margin-top: 1.5em; font-style: italic; }
.indention del { color: #000; }

.indention blockquote { margin: 1.5em; }
.indention strong { font-weight: bold; color: #807D7D; }
.indention em{ font-style: italic; }
.indention pre, .indention code { margin: 1.5em 0; white-space: pre; font: 1em monospace; line-height: 1.5;}
.indention img.alignleft {border: 1px solid #edecda; padding:4px; background-color:#FFFFFF; margin:4px 0 4px 5px;}
.indention .wp-smiley {border:none; background:transparent; padding:0; margin:0;}
.indention a img:hover {border-color: #ce0d6a;}
.indention blockquote, .skidka {padding: 20px; -moz-border-radius: 6px; border-radius: 6px; background: #f2f1e4; margin: 15px 0;}
.indention a strong, a:visited strong { font-weight:normal; color:#ce0d6a; }
.indention a:visited {color:#ce0d6a;}
.indention ul li{ padding: 0; background: url(img/t.gif) no-repeat 2px 100%; }
.indention ul li a{ padding: 8px 0 10px 10px; display:block; }


/* Заголовок */
.header{ position: absolute; top: 0; left: 0; width: 100%; height: 286px; background: url(img/nebo2.png) no-repeat center 0; min-width: 1000px; z-index:55;}
.hdf{  background: url(img/headr.png) repeat-x center 100%; height: 286px;}
.lenta {background:transparent url(img/lenta.png) no-repeat scroll 22px 0;
height:165px;
left:875px; 
position:absolute;
top:0;
width:300px;
z-index:100;}

.header-content {margin: 0 auto; width: 1000px; height: 286px;}
.top {height: 118px;}
a.logo{
background: url(img/logo.png) no-repeat; 
display:block;
float:left;
height:61px;
left:12px;
position:relative;
text-indent:-9999px;
top:20px;
width:326px;}
.tel {float: right; padding: 30px 0 0 0; font-size: 30px;} /*width: 180px; */
.tel span{ font-size: 12px;}
.tel b{ display: block; font-size: 12px; }

.top-menu{ list-style: none;/* margin:0 80px 0 380px; */
float: right;
overflow:hidden;
padding:30px 0 0 5px;
width:420px;}
.top-menu li{ float: left; width:140px;}
.top-menu a { text-decoration: underline; color: #2f190b; line-height: 26px;}
.top-menu a:hover, .top-menu .current_page_item a { color: #e40d75; text-decoration: none;}

.tort {margin: 0 auto; width: 985px; list-style: none; padding: 0 0 0 25px; overflow: hidden;}
.tort li{float: left;}
.tort li a{display: block; padding: 125px 0 0 0; text-align: center; color: #e40d75;}
.tort li a:hover, .tort li.current_page_item a{color: #fff; text-decoration: none;}
.tort li a span{display: block; padding: 0 10px 0 0;}
.tort li a:hover span, .tort li.current_page_item a span{ background: url(img/rr.gif) no-repeat 100% 0;}
.tort li a span span{line-height: 25px; height: 25px; padding: 0 0 0 8px;}
.tort li a:hover span span, .tort li.current_page_item a span span{background: url(img/rl.gif) no-repeat;}

.tort .page-item-119 a {width: 115px; background: url(img/sv.png) no-repeat 0 0; }
.tort .page-item-119 a span {margin-left: -12px;} /* чтобы визуально торт свадебный был по центру */
.tort .page-item-114 a {width: 117px; background: url(img/pr.png) no-repeat; }
.tort .page-item-15 a {width: 110px; background: url(img/de.png) no-repeat; }
.tort .page-item-145 a {background: url(img/sf.png) no-repeat; width:120px;}
.tort .page-item-115 a {width: 140px; background: url(img/dr.png) no-repeat; }
.tort .page-item-128 a{width: 100px; background: url(img/ft.png) no-repeat; }
.tort .page-item-282 a {width: 109px; background: url(img/pi.png) no-repeat; }
.tort .page-item-112 a {width: 139px; background: url(img/ko.png) no-repeat; }
.tort .page-item-809 a {width: 130px; background: url(img/premium.png) no-repeat; }
/* Конец заголовка */

/* start sidebar */
.sidebar{ float: left; margin: 0 0 0 -100%; width: 294px; padding: 286px 0 0 5px;}
.zakaz{background: url(img/zakaz-f.gif) repeat-y 2px 0; width: 275px; position: relative; margin: 0 0 20px 0;}
.la{position: absolute; background: url(img/la.jpg) no-repeat; width: 70px; height: 114px; top: 76px; left: -68px;}
.lb{background:transparent url(img/lb.gif) no-repeat scroll 2px 0px;
height:30px;
left:240px;
position:absolute;
top:-9px;
width:42px;
z-index:45;}
.menu{background: url(img/menu-up.jpg) no-repeat; padding: 30px 0 0 0;}
.menu p{color: #fff; text-transform: uppercase; font-size: 18px; padding: 12px 0 12px 25px; position: relative;}
.menu ul{list-style: none; background: url(img/down.gif) no-repeat 2px 100%; padding: 0 35px 10px 14px;}
.menu li{ padding:0; background: url(img/t.gif) no-repeat 2px 100%; }
.menu .last{ background: none;}
.menu a{ color: #36362b; padding: 8px 0 10px 10px; display:block;}
.menu a:hover, .menu li.current_page_item a{ text-decoration: none; color: #e40d75; background: url(img/arrow.gif) no-repeat 0 15px;}

a.qwe{display: block; background: url(img/qwe.gif) no-repeat; color: #fff; font-size: 21px; padding: 32px 0 0 70px; height: 62px; text-decoration: none;}
a.qwe:hover {text-decoration: underline;}
.zag, .widgettitle, sidebar h2 {font-size: 18px; padding: 10px;}
.random {list-style: none; }
.random  a{border: 1px solid #edecda; display: block; position: relative;float: left; width: 120px; margin: 5px 5px 0 0; /*height: 90px; */}
.random  a:hover{border: 1px solid #000;}
.random  a img{border: 4px solid #fff;}

.accessory {background: url(img/zakaz-f.gif) repeat-y 21px 0; clear: left; position: relative; top: 40px; margin: 0 0 40px 0; left:-20px;}
.accessory div{background: url(img/sh.gif) no-repeat;}
.accessory div p{color: #fff; text-transform: uppercase; font-size: 18px; padding: 18px 5px 12px 0; text-align: center; }
.accessory ul{list-style: none; background: url(img/down.gif) no-repeat 21px 100%; padding: 0 35px 10px 35px; }
.accessory li{ padding:0; background: url(img/t.gif) no-repeat 2px 100%; }
.accessory .last{ background: none;}
.accessory a{ color: #36362b; padding: 8px 0 10px 10px; display:block;}
.accessory a:hover, .accessory li.current_page_item a { text-decoration: none; color: #e40d75; background: url(img/arrow.gif) no-repeat 0 15px;}

/* end sidebar */

/* start content */
.content{ float: left; width: 100%; }
.indention{ padding: 310px 5px 0 315px;}
.homecontent {margin-left: -43px;}
strong.red {margin-left: 30px; text-transform:none; font-size:24px;font-weight:normal;line-height:30px;padding:10px 0;}
.zak {background: url(img/zak.png) no-repeat 0 45px; height: 400px; position: relative; width: 400px; float: left}
a.zt, a.zt:visited{display: block; color: #fff; width: 191px; height: 51px;  background: url(img/zakaz.png) no-repeat; text-decoration: none;padding: 15px 0 0 75px; font-size: 18px; position: absolute; top: 190px; left: 190px; float: left; text-indent:-999px;}
a.zt.vb {background: url(img/vubor.png) no-repeat;}

/* Отзывы */
.otziv {float: left; width: 315px;}
.otziv p{font-size: 24px; padding: 5px 10px 0 38px;}
.otziv p a{float: right; color: #2f190b; font-size: 12px; position: relative; top: 3px;}
.comm {width: 312px; background: url(img/comm.gif) repeat-y 100% 0; margin: 0 0 20px 0;line-height:22px;}
.comm div{ background: url(img/comm-u.gif) no-repeat; }
.comm div div{  background: url(img/comm-d.gif) no-repeat 100% 100%; padding: 15px 15px 15px 40px;}
.comm span{ display: block; font-weight: bold;}
.comm span span{ color: #a7a7a7; display: inline; padding: 0 0 0 5px; font-weight:normal;}
.otziv .comm p{font-size: 12px; padding: 4px 0;}
.commentlist, .faqpage {margin-left:-26px;}

/* Отзывы, ФАКи и форма заказа*/
.widecomm {width: 680px; background: url(img/widecomm.gif) repeat-y 100% 0; margin: 0 0 20px 0;}
.widecomm div{ background: url(img/widecomm-t.gif) no-repeat; }
.widecomm div div{  background: url(img/widecomm-b.gif) no-repeat 100% 100%; padding: 15px 15px 15px 40px;}
.widecomm span{ display: block; font-weight: bold;}
.widecomm span span{ color: #a7a7a7; display: inline; padding: 0 0 0 10px;}
.widecomm em.date, .widecomm .faq_date {color: #a7a7a7; font-style: normal; display: inline; font-weight:normal;}
#commentform input, #commentform textarea, .wpcf7-form input, .wpcf7-form textarea, .faq input, .faq textarea {width: 370px; border-color: #757575 #cecece #d2d2d2; border-width: 1px; border-style: solid; padding: 2px;}
#commentform label {padding-left: 6px;}
#commentform .send{background: url(img/send.png) no-repeat; width: 167px; height: 51px; border: none; margin: 5px 0 5px 5px;}
#commentform, #respond {margin-left: -8px;}

/* end content */

/* Faq */
.white, .faq_form_input {padding:4px; background: #fff; width: 378px; margin-bottom: 4px;}
p.faq_form_input {background: none}
.faq .faq_required {display: none;}

.faqpage .widecomm {margin-bottom: 5px;}
.faq .send {background: url(img/send.png) no-repeat; width: 167px; height: 51px; border: none; margin: 5px 0 5px 5px; text-indent: -9999px;}
.widecomm .faq_question {padding: 0; background: none;}
.faq_answer {margin:0 45px 15px 40px;}
.faq .capt {width: 120px; margin-left: 4px }
.faq .imgcapt {float: left; border: none; padding: 0; margin-top:0;}
.faq .faq_form_text, .faq_build_title {margin-left: 4px;}
.faq .faq_form_input.f4 {margin-top: -4px}
/* end faq */

/*start button write otzyv*/
.button_otzyv {
	height:150px;
	width:30px;
	right:0;
	position:fixed;
	top:385px;
}
/*end button*/

/* start footer */
.clear-down{ clear: both; height: 1px; }
.footer{ height: 90px; padding-top:30px; color: #7b7b7b; background: url(img/foot.png) repeat-x; margin-top:-90px;}
.foot {width: 1000px; margin:0 auto;}
.foot-left{float: left; width: 290px;  padding: 0 0 0 10px;}
.counter {list-style: none; padding: 20px 0 0 0;}
.counter li{list-style: none; padding: 0 10px 0 0;}
.foot-right {margin: 0 0 0 315px;}
.foot-menu li{ display: inline; padding: 0 30px 0 0; list-style: none;}
.foot-menu li a{ color: #7b7b7b;}
.foot-menu li.current_page_item a {text-decoration: none;}
.copyright{font-size: 11px; padding: 8px 0 0 0; color: #a7a7a7;}


/* end footer */
/* Форма Заказа */
.wpcf7-form .submitzakaz {background: url(img/zakaz.png) no-repeat; width: 191px; height: 51px; border: none; margin: 5px 0 5px 5px; text-indent:-9999px;}
.wpcf7-form .send {background: url(img/send.png) no-repeat; width: 167px; height: 51px; border: none; margin: 5px 0 5px 5px; text-indent: -9999px;}
.wpcf7-form p {line-height:12px;margin:0;padding-top:4px; }
.wpcf7-form label {padding-left: 8px;}
.wpcf7-form .formtitle {padding-left:8px;}

/* Базовые елементы вордпреса */
img.alignleft {
float:left;
margin:0 1em 0.5em 0;
}
img.alignright {
float:right;
margin:0 1em 0.5em 0;
}

ul.commentlist li {background-repeat: repeat-x;}
.navigation { height: 35px; margin: 5px; padding: 5px; text-align: center; line-height: 35px}
.navigation a, .navigation strong {padding:2px 6px; margin: 0 3px;}
a.next {background: url(img/larr.png) no-repeat; text-decoration: none;margin:0 5px;
padding:5px 15px;}
a.prev {background: url(img/rarr.png) no-repeat; text-decoration: none;margin:0 5px;
padding:5px 15px;}

/* Страница тортов */
.tortcategory {overflow: hidden; margin:10px 0; border-top: 1px solid #edecda; padding-top:10px;}
.tort-thumb {float:left; margin-right:15px;}
.tort-thumb img:hover {border-color: #ce0d6a;}
.tort-title { padding: 0 0 8px 0;}
.tort-title a {font-size: 24px; color:#000; text-decoration:none;}
.tortcategory img {border: 1px solid #edecda; padding:4px; background-color:#FFFFFF; margin:4px 0 4px 5px;}

/* Страницы галлерей */
.tort-gallery-thumbnail span {
color:#808080;
display:block;
font-size:90%;
margin:0px 6px 0 0;
text-align:center;
}

.tort-gallery-thumbnail {
border:1px solid #edecda;
float:left;
margin:10px 0 0 10px !important;
padding:4px;
}
.tort-gallery-thumbnail:hover { border-color: #009cff; }
.tort-gallery-thumbnail img {border: none; margin: 0; padding: 0;}
.ngg-galleryoverview {margin-bottom:30px;}
.ngg-navigation a.page-numbers, .ngg-navigation a.next, .ngg-navigation a.prev, .ngg-navigation span.page-numbers, .ngg-navigation span.next, .ngg-navigation span.prev {border: none !important; padding:5px 10px !important; }

.ngg-navigation a.next {background: url(img/rarr.png) no-repeat; color:#fff;text-decoration: none;padding:5px 15px !important;}
.ngg-navigation a.prev {background: url(img/larr.png) no-repeat; color: #fff;text-decoration: none;padding:5px 15px !important;}
.ngg-navigation a.next:hover {background:transparent url(img/rarr.png) no-repeat !important;}
.ngg-navigation a.prev:hover {background:transparent url(img/larr.png) no-repeat !important;}

.ngg-gallery-thumbnail  {display: inline;}


.alignleft {float:left;}
.alignright {float:right;}
.wpcf7-form input.cc {width:100px; font-size:21px;}
