.clearfix:before, .clearfix:after {content:""; display:table;}
.clearfix:after {clear:both;}
.clearfix {zoom:1;} /* For IE 6/7 (trigger hasLayout) */

em.right, em.align-right{display:block;text-align:right}


/* fonts */
.bdaia-post-title .entry-title,
.bdaia-site-content .bdaia-post-content h2,
.bdaia-site-content .bdaia-post-content h3,
.bdaia-site-content .bdaia-post-content h4,
.bdaia-blocks.bdaia-block6 h3,
.bdaia-wb-wrap .entry-title
{font-family:Rubik,Roboto,Helvetica,sans-serif !important;}

.float-left {float:left;}
.float-right {float:right;}
.noborder{border:none !important}.noborder tr,.noborder th,.noborder td{border:none !important}

.button{
  display: block;
  padding: 8px;
  background: #d20;
  text-align: center;
  color: #fff !important;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 17px;
}
.button:hover{color: #fff;background-color:#b10;}

body.ny:before {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '' !important;
  background: url(landings/ny/snow.jpg);
  opacity: 0.8;
  z-index: -1;
}
body.ny #navigation .logo a:before{
  content:' ';display:block;position:absolute;
  top:3px;right:0;width:40px;height:27px;
  background:url(landings/ny/hat.png) center center no-repeat;
}


.bdaia-header-default #navigation{z-index:200;}
.bdaia-header-default #navigation .primary-menu ul{margin:0 -100% 0 0;}
#navigation #header-subscribe{
  display:block;
  height:42px;
  line-height:28px;
  background-color:#666;
  box-shadow:0 0 20px rgba(0,0,0,0.7);
  margin:0 -10% 4px;
}
#navigation #header-subscribe:hover, #navigation #header-subscribe:focus{background-color:#d20}
@media (min-width:521px){
  #navigation #header-subscribe{display:none}
}


#navigation .primary-menu #menu-primary>li>a{padding:0 12px !important;}
@media (min-width:901px){
  #navigation .primary-menu{position:absolute;width:100%;overflow:hidden;}
}
.bdaia-header-default #navigation .primary-menu #menu-primary>li.red>a,
.bdaia-header-default #navigation .primary-menu #menu-primary>li.red>a>*{color:#f21 !important;}
.bdaia-header-default #navigation .primary-menu #menu-primary>li.blue>a,
.bdaia-header-default #navigation .primary-menu #menu-primary>li.blue>a>*{color:#2ad !important;}
.bdaia-header-default #navigation .primary-menu #menu-primary>li.sep{margin-left: 10px;}
.bdaia-header-default #navigation #menu-tags>li.red>a,
.bdaia-header-default #navigation #menu-tags>li.red>a>*{color:#f21 !important;}
.bdaia-header-default #navigation #menu-tags>li.blue>a,
.bdaia-header-default #navigation #menu-tags>li.blue>a>*{color:#2ad !important;}
.bdaia-header-default #navigation #menu-tags>li.sep{margin-left: 10px;}


#navigation .logo a{position:relative}
#navigation .bdaia-alert-new-posts span.n{letter-spacing:-3px}
#navigation .bdaia-alert-new-posts span.t{padding:0 28px 0 0}
#navigation .bdaia-alert-new-posts span.t>small:after{top:10px}
.bdaia-alert-new-posts-content .bdaia-alert-new-posts-inner{
  -webkit-transform: scaleY(1);
      -ms-transform: scaleY(1);
       -o-transform: scaleY(1);
          transform: scaleY(1);
  text-align:center;
  color:#fff;
  background-color: #23282d;
  border-top-color: #dd2200 !important;
}
.bdaia-alert-new-posts-inner, .bdaia-alert-new-posts-inner *{color:#fff}
.bdaia-alert-new-posts-inner:before, .bdaia-alert-new-posts-inner:after{
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
  content:' ';
  display:block !important;
  position:absolute;
  top:-4px;
  width:1000px;
  height:100%;
  background-color:#23282d;
  border-top:solid 4px #d20;
}
.bdaia-alert-new-posts-inner:before{left:-1000px}
.bdaia-alert-new-posts-inner:after{right:-1000px}
.bdaia-alert-new-posts-inner .bdaia-anp-inner{overflow:visible}

.bdaia-alert-new-posts-inner .bdaia-io-angle-double-left{
  position:absolute;display:block;top:0;left:-300px;width:340px;height:100%;
  background-color:#23282d;
  z-index:1
}
.bdaia-alert-new-posts-inner .bdaia-io-angle-double-left:before{position:relative;display:block;top:43%;font-size:3em;text-align:right;padding-right:12px;opacity:0.2;}
.bdaia-alert-new-posts-inner .bdaia-io-angle-double-left:after{
  content: ' ';
  display: block;
  position: absolute;
  top: 0;
  right: -20px;
  width: 20px;
  height: 100%;
  background: linear-gradient(to right, #23282d, transparent);
  background: -webkit-linear-gradient(left, #23282d 0%, rgba(35,40,45,0.6) 50%, transparent 100%);
         background: -webkit-gradient(left top, right top, color-stop(0%, #23282d), color-stop(50%, rgba(35,40,45,0.6)), color-stop(100%, transparent));
     background: -moz-linear-gradient(left, #23282d 0%, rgba(35,40,45,0.6) 50%, transparent 100%);
      background: -ms-linear-gradient(left, #23282d 0%, rgba(35,40,45,0.6) 50%, transparent 100%);
       background: -o-linear-gradient(left, #23282d 0%, rgba(35,40,45,0.6) 50%, transparent 100%);
          background: linear-gradient(to right, #23282d 0%, rgba(35,40,45,0.6) 50%, transparent 100%);
}
.bdaia-alert-new-posts-inner .bdaia-io-angle-double-left:hover:before{color:#fff;opacity:0.6}
.bdaia-alert-new-posts-inner .bd-col-md-2{float:right;height:100%;padding:15px}
.bdaia-alert-new-posts-inner .bd-col-md-2 a{position:relative;overflow:hidden;display:block}
.bdaia-alert-new-posts-inner .bd-col-md-2 a:hover{background-color:rgba(0,0,0,0.05);box-shadow:0 0 20px #789}
.bdaia-alert-new-posts-inner .bd-col-md-2 .title{pointer-events:none;position:absolute;left:-1000px;right:-1000px;bottom:-15px;font-size:14px;opacity:0;}
.bdaia-alert-new-posts-inner .bd-col-md-2 .img-wrap:hover .title{opacity:1}
.bdaia-alert-new-posts-inner .bd-col-md-2 img{min-height:100px}
.bdaia-alert-new-posts-inner .bd-col-md-2 .img-wrap:hover img{
  -webkit-filter: contrast(1.1);
          filter: contrast(1.1);
}
.bdaia-alert-new-posts-inner .current_issue a:after{
  -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
       -o-transform: rotate(45deg);
          transform: rotate(45deg);
  content: 'New';
  display:block;
  position:absolute;
  top:-10px;right:-35px;
  width:100px;
  background-color:#f00;
  color:#fff !important;
  font-weight:bold;
  padding: 23px 0 7px
}
.bdaia-alert-new-posts-inner .current_issue a:hover{box-shadow:0 0 20px #f20}
.bdaia-alert-new-posts-inner .sub .desc{position:absolute;left:0;right:0;font-size:100%;line-height:130%;padding:5px}
.bdaia-alert-new-posts-inner .sub a{border:solid 1px #fff;opacity:0.8}
.bdaia-alert-new-posts-inner .sub .desc img{display:block;width:45%;min-height:0 !important;margin:16% auto 12%;opacity:0.2}
.bdaia-alert-new-posts-inner .sub a:hover{opacity:1}
.bdaia-alert-new-posts-inner .sub a:hover .desc img{opacity:0.5}
.bdaia-alert-new-posts-inner .sub .desc strong{font-size:200%;line-height:1.1}
.bdaia-alert-new-posts-inner .sub-year .desc{background:url(/wp-content/plugins/xakep-core/images/sub-year-bg.png) center bottom no-repeat}
.bdaia-alert-new-posts-inner .sub-gift a,
.bdaia-alert-new-posts-inner .sub-gift a:hover{background-color:transparent;opacity:1}
.bdaia-alert-new-posts-inner .sub-gift .gift {position: absolute;min-width:100%;min-height:100%;}
#sub-help {position:absolute;right:35px;bottom:10px}
#sub-help a{color:#fff;opacity:0.6}
#sub-help a:hover{color:#fff;opacity:1}

/* discount */
#xpwdh {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 3px 25px;
}
#xpwdh, #xpwdh a {
  display: block;
  background-color: #d20;
  color: #fff;
}

.starburst {
  display:inline-block !important;
  position:absolute !important;
  overflow:visible !important;
  width:40px;
  height:40px;
  background-color:#d20;
  color:#fff !important;
  border:none !important;
  font-size:14px;
  line-height:40px;
  font-weight:bold;
  text-align:center;
  text-decoration:none;
  -webkit-transform:rotate(-40deg);
  -moz-transform:rotate(-40deg);
  rotation:-40deg;
  opacity: 1 !important;
}
.starburst span {
  display:block;
  overflow:visible;
  width:40px;
  height:40px;
  background-color:#d20 !important;
  color:#fff !important;
  border:none !important;
  -webkit-transform:rotate(22.5deg);
  -moz-transform:rotate(22.5deg);
  rotation:22.5deg;
}
.starburst:hover, .starburst:hover span {background-color:#0d0 !important;color:#fff !important;}
.bdaia-alert-new-posts-content .sub .starburst {right:0;top:5px;}
#current_issue_box .starburst {margin:-20px 0 0 11px;}
#issue-head .bdaia-post-featured-image .starburst {top: -20px;right: -20px;}

.striked{
  display:block;
  position:relative;
  white-space:pre;
}
.striked:after{
  content:'';
  position:absolute;
  display:block;
  top:45%;
  left:0;
  right:0;
  width:100%;
  height:0;
  color:red;
  border-bottom:2px solid red;
  transform:rotate(-4deg);
}

nav#profile{text-align:center;font-size:13px;background-color:#23282d;color:#fff;border-bottom:solid 1px #223;padding:5px 150px;}
nav#profile *{position:relative;}
nav#profile form>input{width:35%;max-width:140px;padding:3px 5px 2px;}
nav#profile button{top:-1px;text-transform:capitalize;padding:2px 8px;}
nav#profile a{display:inline-block;color:#fff;text-decoration:underline;margin:0 6px;}
nav#profile .avatar{width:20px;height:20px;border-radius:50%}
nav#profile form, nav#profile label, nav#profile span, nav#profile .links{display:inline-block;}
nav#profile .langs{position:absolute;top:0;right:0}
nav#profile #lang{height:30px;background-color:rgba(35,40,45,0.9);color:#ddd;padding:6px;}
nav#profile #lang option{background-color:rgba(35,40,45,0.9);}
@media(max-width:768px){
  nav#profile{padding:5px;}
  nav#profile form, nav#profile .links{display:block;margin-top:10px;}
}
@media(max-width:580px){
  nav#profile .langs span{display:none;}
}
@media(max-width:360px){
  nav#profile .langs{display:none;}
}

body.home .bdaia-alert-new-posts-content .bdaia-alert-new-posts-inner,
.bdaia-alert-new-posts-open .bdaia-alert-new-posts-inner{position:relative;visibility:visible;opacity:1}

.bdaia-alert-new-posts-inner .sub {position:relative;}
@media(max-width:1100px){
  .bdaia-alert-new-posts-inner .sub .desc{line-height:120%}
}
@media(max-width:991px){
  .bdaia-alert-new-posts-inner .bd-col-md-2:nth-child(6),
  .bdaia-alert-new-posts-inner .bd-col-md-2:nth-child(7){display:none}
}
@media(max-width:767px){
  .bdaia-alert-new-posts-inner .bd-col-md-2:nth-child(5){display:none}
}
@media(max-width:560px){
  /*.bdaia-alert-new-posts-inner .sub .desc{line-height:110%}*/
  .bdaia-alert-new-posts-inner .sub .desc img{margin:12% auto 8%}
}
@media(max-width:520px){
  .bdaia-alert-new-posts-content .bdaia-alert-new-posts-inner{display:none}
}


h4.block-title{height:auto; background-color:transparent;}



.xakep-paywall, .xakep-advert{
  display:block !important;
  position:absolute !important;
  top:10px;
  line-height:normal;
  color:#fff !important;
  padding:4px 8px;
  z-index:1;
}
.xakep-paywall{left:10px;background-color:#c00}
.xakep-advert{right:10px;background-color:#0bf}
.bdaia-post-style7-head .bd-cat-3510{background-color:#0bf}
.bdaia-block6 .bd-cat-3510{display:none}
.xakep-user-content.news{color:#4caf50;}
.xakep-user-content.article{color:#2196f3;}
.xakep-user-content.exploit{color:#ff5722;}

#content .bdaia-post-content .lead,
#content .bdaia-post-content .excerpt{font-size:20px;border-bottom:dotted 1px #ddd;padding-bottom:26px;margin-bottom:26px;}
#content .bdaia-post-content .catcher{display:none;}

#content .bdaia-post-content .t2c, #content .bdaia-post-content .t2c th, #content .bdaia-post-content .t2c td{border:none}
#content .bdaia-post-content .t2c th, #content .bdaia-post-content .t2c td{padding:10px}
#content .bdaia-post-content .t2c td:first-of-type{padding-left:10px}
#content .bdaia-post-content .t2c td:last-of-type{padding-right:10px}
#content .bdaia-post-content .t2c .wp-caption-text{margin-bottom:0}

#content .bdaia-post-content table.c2,
#content .bdaia-post-content table.c3,
#content .bdaia-post-content table.c4,
#content .bdaia-post-content table.c5{width:100%; margin-top: 25px;}
#content .bdaia-post-content table.c2, #content .bdaia-post-content table.c2 th, #content .bdaia-post-content table.c2 td,
#content .bdaia-post-content table.c3, #content .bdaia-post-content table.c3 th, #content .bdaia-post-content table.c3 td,
#content .bdaia-post-content table.c4, #content .bdaia-post-content table.c4 th, #content .bdaia-post-content table.c4 td,
#content .bdaia-post-content table.c5, #content .bdaia-post-content table.c5 th, #content .bdaia-post-content table.c5 td{border:none !important}
#content .bdaia-post-content table.c2 .wp-caption,
#content .bdaia-post-content table.c3 .wp-caption,
#content .bdaia-post-content table.c4 .wp-caption,
#content .bdaia-post-content table.c5 .wp-caption{width:95% !important; max-width:95% !important; height:auto !important; margin:0 auto !important;}
#content .bdaia-post-content table.c2 .wp-caption-text,
#content .bdaia-post-content table.c3 .wp-caption-text,
#content .bdaia-post-content table.c4 .wp-caption-text,
#content .bdaia-post-content table.c5 .wp-caption-text{display:none !important}
#content .bdaia-post-content table.c2 .l,
#content .bdaia-post-content table.c3 .l,
#content .bdaia-post-content table.c4 .l,
#content .bdaia-post-content table.c5 .l{text-align:center;font-style:italic;color:#999;}
#content .bdaia-post-content table.c2 th, #content table.c2 td{width:50% !important;padding:0}
#content .bdaia-post-content table.c3 th, #content table.c3 td{width:33% !important;padding:0}
#content .bdaia-post-content table.c4 th, #content table.c4 td{width:25% !important;padding:0}
#content .bdaia-post-content table.c5 th, #content table.c5 td{width:20% !important;padding:0}
#content .bdaia-post-content table.c2 td:last-child,
#content .bdaia-post-content table.c3 td:last-child,
#content .bdaia-post-content table.c4 td:last-child,
#content .bdaia-post-content table.c5 td:last-child{text-align:right;}

#content .bdaia-post-content p:empty{display: none !important;}

#content .bdaia-post-content>a>img,
#content .bdaia-post-content>p>a>img {margin:0 auto 20px;}

/*#content .bdaia-post-content p pre{display:inline;font:normal 18px/26px Arial,sans-serif;padding:0;margin:0;}*/
#content .bdaia-post-content blockquote .bdaia-p-inline-e3-desktop{display:none !important}
#content .bdaia-post-content blockquote p{margin: 5px 0 !important}
#content .bdaia-post-content blockquote strong {font-weight: bold;}
#content .bdaia-post-content .pretty,
#content .bdaia-post-content .prettyprint{font-size:15px;background-color:#f5f5f5;padding:10px;margin:15px auto}
#content .bdaia-post-content p>code,
#content .bdaia-post-content p>pre>code,
#content .bdaia-post-content li>code,
#content .bdaia-post-content li>pre>code,
#content .bdaia-post-content .panel>code,
#content .bdaia-post-content .panel>pre>code,
#content .bdaia-post-content .prettyprint code{font-family: 'Courier New',Courier,monospace;font-size:100%;padding:0}
#content .bdaia-post-content .regex{
  font-family: 'Courier New',Courier,monospace;
  font-size: 15px;
  background-color: #f5f5f5;
  border: 1px solid #888;
  overflow: auto;
  word-wrap: normal;
  padding: 10px;
  margin: 15px auto;
}
#content .bdaia-post-content ol p:last-of-type,
#content .bdaia-post-content ul p:last-of-type{margin-bottom:0;}
#content .bdaia-post-content ol ol,
#content .bdaia-post-content ol ul,
#content .bdaia-post-content ul ol,
#content .bdaia-post-content ul ul{margin:8px 0;}
#content .bdaia-post-content table>thead>tr>th {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border: 1px solid #ddd;
  background-color:#eec;
}
#content .bdaia-post-content .panel {
  border: 0;
  border-left: 7px solid #2795b6;
  font-size:16px;
  background-color: #eee;
  margin-bottom: 20px;
  padding: 22px 20px 20px;
}
#content .bdaia-post-content .panel p{margin:20px 0 5px}
#content .bdaia-post-content .panel h1+p,
#content .bdaia-post-content .panel h2+p,
#content .bdaia-post-content .panel h3+p{margin-top:0}
#content .bdaia-post-content .panel>p:first-of-type:empty+p,
#content .bdaia-post-content .panel>p:first-of-type:empty+h4{margin-top:0}
#content .bdaia-post-content .panel p:empty,
#content .bdaia-post-content .panel .bdaia-p-inline-e3-desktop,
#content .bdaia-post-content .panel.default br{display:none !important}
#content .bdaia-post-content .panel ul{margin:0}
#content .bdaia-post-content .panel>*:not(:empty):first-child,
#content .bdaia-post-content .panel>h2:first-of-type,
#content .bdaia-post-content .panel>h3:first-of-type,
#content .bdaia-post-content .panel>div>*:not(:empty):first-child,
#content .bdaia-post-content .panel>div>h2:first-of-type,
#content .bdaia-post-content .panel>div>h3:first-of-type{margin-top:0 !important}

#content .bdaia-post-content .panel.warning,
#content .bdaia-post-content .panel.alert,
#content .bdaia-post-content .panel.www,
#content .bdaia-post-content .panel.info,
#content .bdaia-post-content .panel.greeting {
  padding: 0;
  color: #000;
  background-color: #fff;
  border: 0;
  margin-bottom: 10px;
  box-shadow: none;
}
#content .bdaia-post-content .panel.warning ul,
#content .bdaia-post-content .panel.warning ol,
#content .bdaia-post-content .panel.alert ul,
#content .bdaia-post-content .panel.alert ol,
#content .bdaia-post-content .panel.www ul,
#content .bdaia-post-content .panel.www ol,
#content .bdaia-post-content .panel.info ul,
#content .bdaia-post-content .panel.info ol,
#content .bdaia-post-content .panel.greeting ul,
#content .bdaia-post-content .panel.greeting ol {list-style: none !important; padding: 0}
#content .bdaia-post-content .panel.warning ul li,
#content .bdaia-post-content .panel.warning ol li,
#content .bdaia-post-content .panel.alert ul li,
#content .bdaia-post-content .panel.alert ol li,
#content .bdaia-post-content .panel.www ul li,
#content .bdaia-post-content .panel.www ol li,
#content .bdaia-post-content .panel.info ul li,
#content .bdaia-post-content .panel.info ol li,
#content .bdaia-post-content .panel.greeting ul li,
#content .bdaia-post-content .panel.greeting ol li {list-style: none !important; padding: 0}
#content .bdaia-post-content .panel .warning-inner,
#content .bdaia-post-content .panel .alert-inner,
#content .bdaia-post-content .panel .www-inner,
#content .bdaia-post-content .panel .info-inner,
#content .bdaia-post-content .panel .greeting-inner {
  margin: 0 auto;
  text-align: center;
  padding: 30px 15px;
  border: solid 1px #ddd;
  border-radius: 15px;
  max-width: 750px;
}
#content .bdaia-post-content .panel>img {
  display: block;
  width: 81px;
  margin: 0px auto;
  position: relative;
  top: 15px;
}
#content .bdaia-post-content .panel.warning img,
#content .bdaia-post-content .panel.alert img,
#content .bdaia-post-content .panel.www img,
#content .bdaia-post-content .panel.info img,
#content .bdaia-post-content .panel.greeting img {
  margin-bottom: 15px;
}
#content .bdaia-post-content .panel figure {margin-top: 15px;}
#content .bdaia-post-content .panel figure img {margin-bottom:0 !important;}

@font-face{
    font-family: 'Source Code Pro';
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    src: url('vendors/SourceCodePro/Regular.eot') format('embedded-opentype'),
         url('vendors/SourceCodePro/Regular.woff2') format('woff2'),
         url('vendors/SourceCodePro/Regular.woff') format('woff'),
         url('vendors/SourceCodePro/Regular.otf') format('opentype'),
         url('vendors/SourceCodePro/Regular.ttf') format('truetype');
}
#content .bdaia-post-content .panel.term{color:#0f0;background-color:#111;border:none;padding:15px 10px;overflow:auto;white-space:pre-wrap;}
#content .bdaia-post-content .panel.term *{color:#0f0;font:normal 15px/18px 'Source Code Pro','Courier New',Courier,monospace!important;line-height:18px;padding:0;margin:0;}
#content .bdaia-post-content .panel.term .term-inner>p{display:block;margin:-8px 0;}
#content .bdaia-post-content .panel.term pre{background-color:transparent;}
/*#content .bdaia-post-content .panel.term code{display:block;}*/
#content .bdaia-post-content .panel.term br{display:none !important;}

#content .bdaia-post-content .tablesaw-bar .tablesaw-advance-dots{padding:0;margin:0}
#content .bdaia-post-content .tablesaw *{font-size:12px;line-height:1.2}
#content .bdaia-post-content .tablesaw th, #content .bdaia-post-content .tablesaw td{text-align:center;padding:0;margin:0}
#content .bdaia-post-content .tablesaw th>span, #content .bdaia-post-content .tablesaw td>span{display:block;min-width:130px;text-align:left;padding:8px}

.download-warning {
  display: block !important;
  width: 90% !important;
  max-width: 270px !important;
  text-align: center !important;
  font: normal 13px/15px "Helvetica Neue",Helvetica,Arial,sans-serif !important;
  padding: 14px 10px 12px !important;
  margin: 10px auto !important;
}
.download-button, .subscribe-button {
  display: block !important;
  width: 90% !important;
  max-width: 220px !important;
  text-align: center !important;
  font: normal 14px/18px "Helvetica Neue",Helvetica,Arial,sans-serif !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  color: #666 !important;
  background-color: #eee !important;
  background-repeat: repeat-x !important;
  border-radius: 4px !important;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4) !important;
  padding: 14px 10px 12px !important;
  margin: 10px auto !important;
  z-index: 9 !important;
}
.download-button:hover, .subscribe-button:hover {
  text-decoration: none !important;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.8) !important;
  background-color: #ddd !important;
  color: #333 !important;
}
.download-button span, .subscribe-button span {
  position: relative !important;
  right: -5px !important;
  display: inline-block !important;
  width: 16px !important;
  height: 17px !important;
  background-size: cover !important;
  margin-bottom: -3px !important;
  margin-right: 10px !important;
}
.download-button {background-image: url(images/button_bar.jpg)}
.download-button span {background-image: url(images/pdf.png)}
.subscribe-button {color: #333 !important; background-image: url(images/button_bar_subscribe.png)}
.subscribe-button:hover {color: #000 !important}

.buy-buttons {text-align: center; vertical-align: bottom; margin: 20px 0;}
.buy-buttons .subscribe-button, .buy-buttons .gumroad-button {display: inline-block !important; vertical-align: bottom; margin-bottom: 5px;}
.buy-buttons .subscribe-button {width: 180px !important; padding: 14px 0 12px !important; margin-right: 6px !important}
.buy-buttons .gumroad-button {width: 160px !important; margin-right: 1px !important}

.xakep-for-devices {position: relative; top: 1px; display: inline-block; text-align: center; width: 300px; max-width: 100%; margin: 0 0 10px;}
.xakep-for-devices a {display: inline-block; width: 69%}
.xakep-for-devices a img {max-width:100%}

.container-fluid.type-issue .content-panel .image-container {max-width: 300px; margin: 0 auto;}
.overlay-panel.issue {overflow: hidden;}
.overlay-panel.issue .overlay-link {top: -90px;}
.overlay-panel.issue .article-title {text-align: center; font-weight: bold; color: #000;}


.bar-label .label-text a {color: #333;}
.bar-label .label-text a:hover {text-decoration: underline;}

body.subscriber .bd-sidebar .guest{display: none !important}

.widget_b .content-inner .load-more-wrapper {margin: 0 -15px;}
.widget>div:not(.bar-header) .row {margin: 0 -20px;}
.widget[id^="xakep-last-issue"] {padding: 13px 15px 18px !important;margin: 0 auto;}
.widget[id^="xakep-last-issue"] .issue-link {display: block; text-align: center;}
.widget[id^="xakep-last-issue"] ul {padding: 13px 0 18px !important;margin:0 15px !important;}
.widget[id^="xakep-last-issue"] ul li {list-style-image: url(/wp-content/themes/engine/images/icons/li.png); margin-left: 12px;}
.widget[id^="xakep-last-issue"] ul li a {display:inline}
.widget[id^="xakep-last-issue"] h2 {font-weight:bold;text-align:center;margin-top:10px}
.widget[id^="xakep-last-issue"] h3 {font-size:16px;line-height:1.3;margin-top:15px}
.widget[id^="xakep-last-issue"] a {color:#3498db}
.widget[id^="xakep-last-issue"] ul.inline-list {border-top: dashed 1px #ddd; border-bottom: dashed 1px #ddd; text-align: center; margin: 15px 0 !important; padding: 10px 0 !important;}
.widget[id^="xakep-last-issue"] ul.inline-list li {display: inline-block; list-style: none; padding: 3px; margin: 0;}
.widget[id^="xakep-last-issue"] center {display:block;text-align:center;margin-top:15px;}

div[id^=div-gpt-ad] {text-align: center; margin: 0 auto;}
.post-left .advert {overflow-x: hidden;}


#dfp-single{position:absolute;width:300px;height:500px;opacity:1.0;}
#dfp-single:hover{opacity:1.0}
#dfp-single iframe{
  -webkit-transition: all 0.2s ease-in-out;
     -moz-transition: all 0.2s ease-in-out;
       -o-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
  position:absolute;
  left:0;
}
#dfp-single.right{right:-300px;}
@media all and (min-width:768px){
  #dfp-single.right{right:-290px}
}
@media all and (max-width:1320px){
  #dfp-single.right:hover iframe{left:-240px}
  #dfp-single.right:hover iframe[width^="3"]{left:-300px}
}


#xakep-socials {position: relative; text-align: center; margin: 0 -3.7% -2%;}
#xakep-socials a {display: inline-block; width: 21%; margin: 0 1%; opacity: 0.8;}
#xakep-socials a:hover, #xakep-socials a:focus {opacity: 1;}

.video-container {height: initial !important; padding-bottom: 0 !important;}
.video-container .twitter-tweet {min-height: 200px !important; margin: 10px auto !important;}



.bdaia-header-default .header-wrapper{border-top:none !important}
.bdaia-header-default .topbar .top-nav > li a:hover, .bdaia-header-default .topbar .top-nav > li.current-menu-item a{background-color:transparent;text-decoration:underline}
.bdaia-header-default #navigation{border-top:none !important;padding:0 !important}
.bdaia-header-default div.header-wrapper.bdaia-hibryd-menu div.logo{padding-right:10px}

.bdaia-post-template-style7 .bdaia-post-style7-head, div.bdaia-footer{z-index:110}
.bdaia-post-template-style7 .bdaia-post-author-name:after{content:','}
.bdaia-post-template-style7 .bdaia-post-date{margin-left:2px}
.bdaia-post-template-style7 .bdaia-post-time-read{margin-left:8px}

.bdaia-blocks.bdaia-block6 .block-article{margin-bottom:50px}
.bdaia-blocks.bdaia-block6 .block-article .block-info-cat{margin-right:-20px}
.bdaia-blocks.bdaia-block3 .block-article .block-article-img-container{min-height:5px}
.bdaia-blocks.bdaia-block6 .bd-block-row{margin-bottom:40px}
.bdaia-blocks.bdaia-block6 .bd-block-row:last-child{margin-bottom:0}
.bdaia-blocks.bdaia-block6 .bd-block-row .block-article{margin-bottom:0}
.bdaia-blocks.bdaia-block6 .block-article.bd-col-md-6 .block-article-img-container{min-height:190px;margin-left:auto;margin-right:auto;}
.bdaia-blocks.bdaia-block6 .block-article.bd-col-md-6 .block-article-content-wrapper{margin:-56px 20px 0 20px}
.bdaia-blocks.bdaia-block6 .block-article.bd-col-md-6 h3{font-size:20px;line-height:24px}
@media only screen and (max-width: 991px){
  .bdaia-blocks.bdaia-block6 .block-article.bd-col-md-6{margin-bottom:30px}
  .bdaia-blocks.bdaia-block6 .block-article.bd-col-md-6:last-child{margin-bottom:0}
  .bdaia-blocks.bdaia-block6 .block-article.bd-col-md-6 .block-article-content-wrapper{margin-right:14px;margin-left:14px}
}
.bdaia-blocks.bdaia-block6 .block-article.bd-col-md-6 .vid-play{right:20px;top:20px;left:auto;margin:0}

#amp-link{display:none}
@media (max-width: 768px){
  #amp-link{display:block;text-align:center;font-size:13px;margin:-15px 10px 15px}
  #amp-link a{color:#08f}
}

#toc{color:#aaa;background-color:#eee;padding:10px 30px;margin-bottom:20px;}
#toc h3, #toc ul{margin:10px 0}
#toc h3{text-align:center}
#toc ul,#toc li{list-style-type:none !important;padding:0;margin:0;}
#toc li:before{content:attr(data-id);position:absolute;font-size:80%;text-align:right;margin:1px 0 0 -23px;}
#toc li.h3{margin-left:25px;font-size:80%;}
#toc li.h3:before{width:35px;margin-left:-40px;}
#toc li a.cut{filter:alpha(opacity=50);opacity:0.5}
#content .toch{display:block;height:0}

#content .bdaia-post-content{padding-bottom:20px;margin:0;}
#content .bdaia-post-content br{display:block !important}
#content .wp-caption.alignnone, #content .wp-caption.aligncenter, #content img.size-full{display:inline-block;width:100% !important;text-align:center;margin:0 auto}
#content .caption-left, #content .caption-right{width:130px !important; max-width:130px !important; text-align:center; margin-bottom:30px;}
#content .caption-left, #content .caption-right, #content .caption-left p, #content .caption-right p{
  font:normal 14px/17px 'HelveticaNeue','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif !important;
  font-style:italic;
  color:#444;
}
#content .caption-left p:empty, #content .caption-right p:empty{display:none;}
#content .caption-left .wp-caption, #content .caption-right .wp-caption{width: auto !important; max-width: 100% !important; margin: 0 0 5px !important;}
#content .caption-left .wp-caption-text, #content .caption-right .wp-caption-text{display:none !important;}
#content .caption-left{float:left; margin-left:-160px; margin-right:30px;}
#content .caption-right{float:right; margin-right:-160px; margin-left:30px;}
footer .tagcloud{text-align:center}
.tagcloud a, .tagcloud span{float:none}
footer .tagcloud a:hover{color:#fff}
.bdaia-footer-area a{text-decoration:underline}


.bdaia-author-box{margin: 0 0 20px 0;}
.bdaia-author-box .authorBlock-header-bio{font-size:13px;line-height:150%;}
.bdaia-author-box .bdaia-social-io-colored .bdaia-io-url-home{color:#111;font:normal 13px Roboto,sans-serif !important;}
.bdaia-author-box .bdaia-social-io-colored .bdaia-io-url-home:hover{color:#d20;}
.bdaia-author-box .bdaia-social-io-colored .bdaia-io-url-home .bdaia-io{float:none;}
.bdaia-author-box .bdaia-social-io-colored .bdaia-io-url-home .bdaia-io:before{background:transparent;}

@media (max-width: 600px){
  #content .bdaia-post-content,#content .bdaia-post-content p{font-size:15px;line-height:22px;}
  #content .bdaia-post-content li,#content .panel{font-size:14px;line-height:22px;}
}


@media (min-width: 1024px){
  .bdaia-post-next-prev>div{
    position:fixed;
    top:42%;
    width:40px !important;
    height:85px;
    overflow:hidden;
    background-color:rgba(255,255,255,0.1);
    border:solid 1px rgba(200,200,200,0.5);
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.4);
       -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.4);
            box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.4);
    padding:0 !important;
  }
  .bdaia-post-next-prev>div a{display:flex;justify-content:center;flex-direction:column;width:300px;height:100%;padding:10px;margin:0}
  .bdaia-post-next-prev>div span{position:absolute;display:block;top:0;bottom:0;width:40px;color:transparent;margin:0}
  .bdaia-post-next-prev>div span:before{
    position:absolute;
    display:block;
    top:0;
    bottom:0;
    width:40px;
    font: normal 30px/82px serif;
    text-align:center;
    color:#ccc;
  }
  .bdaia-post-next-prev>div:hover{width:300px !important;background-color:rgba(255,255,255,0.7)}
  .bdaia-post-next-prev>div a:hover{color:#333;}
  .bdaia-post-next-prev>div a:hover span:before{color:#d20;}

  .bdaia-post-next-prev .bdaia-post-prev-post{
    left:0;
    border-left:none;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-right-radius:5px;
       -moz-border-radius-topright:5px;
       -moz-border-radius-bottomright:5px;
            border-top-right-radius:5px;
            border-bottom-right-radius:5px;
  }
  .bdaia-post-next-prev .bdaia-post-next-post{
    right:0;
    border-right:none;
    -webkit-border-top-left-radius:5px;
    -webkit-border-bottom-left-radius:5px;
       -moz-border-radius-topleft:5px;
       -moz-border-radius-bottomleft:5px;
            border-top-left-radius:5px;
            border-bottom-left-radius:5px;
  }
  .bdaia-post-next-prev .bdaia-post-prev-post a{float:left;padding-left:50px}
  .bdaia-post-next-prev .bdaia-post-next-post a{float:right;padding-right:50px}
  .bdaia-post-next-prev .bdaia-post-prev-post span{left:0;}
  .bdaia-post-next-prev .bdaia-post-prev-post span:before{content:'<';}
  .bdaia-post-next-prev .bdaia-post-next-post span{right:0;}
  .bdaia-post-next-prev .bdaia-post-next-post span:before{content:'>';}
}
.bdaia-pagination a,.bdaia-pagination>span{margin-right:5px}
.bdaia-posts-grid-post .bbd-post-cat-content{font-size:13px;}

.share_buttons{text-align:center;margin-bottom:40px;}
.share_text{color:#333;font-size:85%;margin-bottom:10px;}


#bookmark{cursor:pointer;}
#bookmark:hover span{text-decoration: underline;}
#bookmark .del i{color:#d20;}

#comments{margin:120px auto 40px;}
#comments a, #respond a{text-decoration:underline;}
#comments .comment img.avatar{width:40px;height:40px;margin-right:10px;}
#comments .comment .comment-body{margin-top:5px;}
#comments .comment .comment-body,#comments .comment .comment-body *, #comments #comment{font-size:16px;line-height:24px}
#comments .comment .tm-js-reply{margin-top:5px;}
#comments .comment blockquote{border-left:solid 4px #ccc;color:#666;margin:19px 20px;padding:5px 10px;}
#comments ul.children{margin-top:15px;}
#respond .comment-form p label{display:inline-block;}
#respond #cnns_subscribe{position:relative;top:2px;}

div.widget.bd-login .login_user .login_list li{font-size:15px;line-height:11px;}


#issues .block-article{text-align:center;margin:15px 0}
#issues .block-article h3{text-align:center;font-size: 18px;margin:24px auto 6px}

article.issue .bdaia-post-featured-image{max-width:400px;margin:0 auto}

/*polls*/
.wp-polls{padding:15px;margin-bottom:26px;background-color:#eee;border:solid 1px #ccc}
.wp-polls p{margin-bottom:15px}
.wp-polls ul{padding:0 30px 10px !important;margin:0 !important}
.wp-polls ul>li{
  position: relative;
  display: block;
  min-height:32px;
  line-height: 32px;
  border: 1px solid rgba(158,158,158,0.5);
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
  padding:5px;
  margin-bottom: 10px;
  overflow:hidden;
}
.wp-polls ul>li label{
  display: block;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  line-height: 20px;
  padding:0 0 0 25px;
}
.wp-polls ul>li:before{
  content:' ';
  display:block;
  position:absolute;
  left:7px;top:10px;
  width:10px;height:10px;
  border-radius:10px;
  border:solid 1px rgba(158,158,158,0.7);
}
.wp-polls ul>li input{display:none;}
.wp-polls ul>li:hover{background-color:rgba(158,158,158,0.2);}
.wp-polls ul>li:hover:before{border-color:rgba(158,158,158,0.9);background-color:rgba(255,255,255,0.5)}
.wp-polls ul>li:hover label{cursor:pointer;color:#d20;}
.wp-polls .submit{display:none}
.wp-polls-loading{position:absolute;right:40px;margin-top:-50px}

.wp-polls ul>li.answer{
  -webkit-border-bottom-left-radius: 0;
     -moz-border-radius-bottomleft: 0;
          border-bottom-left-radius: 0;
}
.wp-polls ul>li.answer:before{display:none}
.wp-polls ul>li.answer .pollbar{
  position: absolute;
  left: -1px;
  bottom: -1px;
  height: 4px;
  margin:0;
}


/* scroll */
.bdaia-post-template-style7 #content .bdaia-post-style7-head{margin:20px -100px;}
.bdaia-post-template-style7 #content .bdaia-post-style7-head .bd-container{height: auto;}
.bdaia-post-template-style7 #content .bdaia-post-style7-head .bdaia-post-header{position:relative;}
.bdaia-post-template-style7 #content .bdaia-post-style7-head .bdaia-meta-info{margin:0;}
.bdaia-site-content #loading{
  display:none;
  width:48px;height:48px;
  background:transparent url(images/ellipsis.gif) center center no-repeat;
  margin: 10px auto;
}


/* ninja optin */
.snp-newtheme1{padding:0 !important}
.snp-newtheme1 .snp-newsletter-content{padding:35px 15px !important}
.fancybox-overlay{background:rgba(0,0,0,0.9) !important}



@media print {
  #snppopup-welcome,
  .header-wrapper, .topbar, #navigation,
  .bdaia-post-sharing, .bdaia-post-next-prev, #dfp-single, .comment-respond, #reading-position-indicator,
  .share_buttons,
  .bdaia-footer{
    display: none !important;
  }
}


#content .prettyprint .text *{color:#000 !important;}
/*fix for overflow shifting on mobile screen*/
body .bdaia-header-default #page{width:100% !important;overflow-x:hidden !important;}

.mc-layout__modalContent{border-radius:15px !important;box-shadow: 0 0 30px #000 !important;}
.mc-layout__modalContent iframe{border-radius:15px;margin:0 !important;}

