/*
	Theme Name: BeneFoto
	Theme URI: http://www.qiwit.ru
	Description: BeneFoto themes.
	Author: Vera Merkulova the team Qiwit Media
	Author URI: http://www.qiwit.ru
	Version: 1.0
	
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html

*/


/* Set the image to fill its parent and make transparent */

div.bene-image-single-one > img {width: 960px !important;}
.post table:not(.yap-list) {
  border: 1px solid rgba(235,235,235,1);
  border-collapse: collapse;
  margin: 1% 10%;
}
.post table:not(.yap-list) p {
  margin: 0;
  text-indent: 0;
  padding: 0 0;
}
.post table:not(.yap-list) td {
  border: 0;
  padding: 5px;
  border: 1px dashed rgba(235,235,235,1);
  background-color: rgba(235,235,235,.0);
}
.post table:not(.yap-list) tr:first-child {
  color: black;
  text-align: center;
  background-color: rgba(235,235,235,1);
}
.post table:not(.yap-list) tr:first-child td:not(:last-child), .post table:not(.yap-list) tr:first-child th:not(:last-child) {
  border-right: 1px dashed white;
}
.post table:not(.yap-list) tr:not(:first-child):nth-child(2n+1){
  /*background-color: rgba(68,89,105,.1);*/
}


.post .wp-caption {
  margin: 1% 10%;
  position: relative;
  background-color: rgba(0,0,0,.07);
}
.post .wp-caption img {
  border: 0;
  width: 100%;
  padding: 0;
  padding-top:4px;
}
.post .wp-caption p {
  border-bottom: 2px dashed rgba(0,0,0,.3);
  position: relative;
  text-align: center;
  font-size: 16px;
  line-height: 18px;
  margin: 0;
  padding: 10px;
}
.post img.aligncenter {
  margin-right: auto;
}
.wp-caption-text {
  background-color: rgba(152,194,42,.15)
  border-radius: 0 0 3px 3px;
}
.post div + ul, .post div + ol {
  width: 50%;
}
.post ul:not([style^="float:left"]) li, .post ol li {
  list-style-type: none;
  position: relative;
  padding-left: 15px !important;
  line-height: 1.7em;
}
.post ol li {
  padding-left: 15px;
}
.post ul:not([style^="float:left"]) li:before {
  content:'✽';
  font-size: 2em;
  line-height: 1em;
  position: absolute;
  top: 0;
  left: -15px;
  color: transparent;
  background-color: rgba(0,0,0,.3);
  -webkit-mask-image: url(images/li_o.svg);
  mask-image: url(images/li_o.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.post ol {
  counter-reset: subsection;  
}
.post ol li:after {
  counter-increment: subsection;
  content: counters(subsection,".") " ";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  line-height: 1.2em;
  position: absolute;
  top: 3px;
  left: -10px;
  width: 15px;
  height: 15px;
  text-align: center;
  color: white;
  background-color: transparent;
  border-radius: 100%;
}
.post ol li:before {
  content:'✽';
  font-size: 2.5em;
  vertical-align: top;
  margin-left: -40px;
  position: absolute;
  top: 0px;
  color: transparent;
  background-color: rgba(0,0,0,.3);
  -webkit-mask-image: url(images/li2.svg);
  mask-image: url(images/li2.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.post ul:not([style^="float:left"]) li:nth-child(2n):before {
  -webkit-mask-image: url(images/li.svg);
  mask-image: url(images/li.svg);
}
.post ul:not([style^="float:left"]) li:nth-child(2n):before, .post ol li:nth-child(2n):before {
  background-color: rgba(0,0,0,.3);
}
.post table:not(.yap-list) {
  border: 1px solid rgba(235,235,235,1);
  border-collapse: collapse;
  margin: 1% 10%;
}
.post table:not(.yap-list) p {
  margin: 0;
  text-indent: 0;
  padding: 0 0;
}
.post table:not(.yap-list) td {
  border: 0;
  padding: 5px;
  border: 1px dashed rgba(235,235,235,1);
  background-color: rgba(235,235,235,.0);
}
.post table:not(.yap-list) tr:first-child {
  color: white;
  text-align: center;
  background-color: rgba(235,235,235,1);
}
.post table:not(.yap-list) tr:first-child td:not(:last-child), .post table:not(.yap-list) tr:first-child th:not(:last-child) {
  border-right: 1px dashed white;
}
.post blockquote {
  margin: 20px 0 !important;
  padding: 10px 10px 10px 15px;
  position: relative;
  border-left: 0;
  border-top: 2px dashed rgba(0,0,0,.3);
  border-bottom: 2px dashed rgba(0,0,0,.3);
  min-height: 30px;
  background: transparent url(images/q_bg.jpg) repeat;
}
.post blockquote p {
  padding: 0;
  margin: 0;
  font-size: 1em;
  line-height: 1.2;
}
.navigation {
  border: 0;
  background-color: #F5DB86 !important;
  height: 50px !important;  
}
.navigation .alignleft, .navigation .alignright {
  margin: 0;
}
.navigation .alignleft a {
  padding: 15px 0 15px 5px !important;
  margin: 0 1px 0 0 !important;
  border-right: 0 !important;
  border-left: 20px solid rgba(0,0,0,.1) !important;
}
.navigation .alignright a {
  padding: 15px 5px 15px 0 !important; 
  border-left: 0 !important;
  border-right: 20px solid rgba(0,0,0,.1) !important;
}
.navigation .pagenavi {
  padding: 0px;      
  height: 100%;
}
.navigation .pagenavi a {
  display: inline-block;
  line-height: 35px;
  width: 18px;
  height: 50px;
  padding: 0 10px;
  margin: 0;
  font-size: 17px;
  vertical-align: top;
  border-left: 2px solid rgba(0,0,0,.1);
  background: transparent url(images/pag.svg) bottom center no-repeat;
}
.navigation .pagenavi a:last-child {}
.navigation .pagenavi .current {
  color: #003cff;
  display: inline-block;
  width: 18px;
  height: 50px;
  line-height: 35px;
  padding: 0 10px;
  font-size: 19px;
  border-left: 2px solid rgba(0,0,0,.1);
  background: transparent url(images/pag_c.svg) bottom right no-repeat;
}
