/*
Theme Name: WPDMI News
Theme URI: https://anton.sawko.com/
Author: Anton A. Sawko, Andrey Corwin
Author URI: https://anton.sawko.com/
Version: 1.0
Text Domain: wpdminews
License: 
License URI:
Description:
Requires at least: 4.9.6
Requires PHP: 5.2.4
Tags:
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@import url('assets/css/header.css');
@import url('assets/css/nav.css');
@import url('assets/css/layout.css');
@import url('assets/css/title.css');
@import url('assets/css/card.css');
@import url('assets/css/singular.css');
@import url('assets/css/archive.css');
@import url('assets/css/search.css');
@import url('assets/css/modal.css');
@import url('assets/css/footer.css');

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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  min-height: 0;
  min-width: 0;
}

article, aside, details, figcaption, figure, footer,
header, main, nav, section {
	display: block;
}

html, body {
	width: 100%;
	min-height:100%;
  min-width: 320px;
	font-size:16px;
  line-height: 24px;
  font-family: 'Roboto', sans-serif;
  background-color:#ffffff;
  color: #000000;
}

a {
  color:#9b302a;
  text-decoration: none;
}

a:hover, .single-category a:hover {
  color: #9b9b9b;
}

/* */

/* */

.wpdmi-logo .wrapper{display:inline-block;width:100%;height:100%;vertical-align:top;cursor:pointer;position:relative}@media only screen and(max-width:1149px){}.wpdmi-logo .item{height:inherit;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;-o-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform .6s;-moz-transition:-moz-transform .6s;-ms-transition:-ms-transform .6s;-o-transition:-o-transform .6s;transition:transform .6s}.wpdmi-logo .item:hover{-webkit-transform:translateZ(-25px)rotateX(90deg);-moz-transform:translateZ(-25px)rotateX(90deg);-ms-transform:translateZ(-25px)rotateX(90deg);-o-transform:translateZ(-25px)rotateX(90deg);transform:translateZ(-25px)rotateX(90deg)}.wpdmi-logo .item:hover img{box-shadow:none;border-radius:0px}.wpdmi-logo .item:hover .information{border-radius:0px}.wpdmi-logo .item img{display:block;position:absolute;top:0;border-radius:0px;-webkit-transform:translateZ(25px);-moz-transform:translateZ(25px);-ms-transform:translateZ(25px);-o-transform:translateZ(25px);transform:translateZ(25px);-webkit-transition:all .6s;-moz-transition:all .6s;-ms-transition:all .6s;-o-transition:all .6s;transition:all .6s}.wpdmi-logo .item .information{display:block;position:absolute;top:0;height:53px;width:155px;border-radius:0px;box-shadow:none;-webkit-transform:rotateX(-90deg)translateZ(25px);-moz-transform:rotateX(-90deg)translateZ(25px);-ms-transform:rotateX(-90deg)translateZ(25px);-o-transform:rotateX(-90deg)translateZ(25px);transform:rotateX(-90deg)translateZ(25px);-webkit-transition:all .6s;-moz-transition:all .6s;-ms-transition:all .6s;-o-transition:all .6s;transition:all .6s}.wpdmi-logo .information strong{display:block}

/* */

.ads {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.ads img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ads-archive {
  width: 100%;
  padding: 10px 0;
}

.ads-archive .g {
  padding: 0 10px;
  width: 20%;
  max-width: 20%;
}

.ads-desktop {
  display: flex;
  width:100%;
}

.ads-mobile {
  display: none;
}

.archive .ads-archive {
  padding: 20px 0;
}

.ads ins {
  min-width: 300px;
  min-height: 50px;
  margin: 0 auto;
}

/*@media only screen and (max-width: 1024px) {*/
@media only screen and (max-width: 1149px) {
  .ads-desktop {
    display: none!important;
  }

  .ads-mobile {
    display: flex;
  }
  
  .ads-archive .g {
    width: 50%;
    max-width: 50%;
  }
  
  .ads-archive .g-col {
    float: none;
    margin: 0 auto;
  }
  
  .home .ads-archive {
    display: flex;
    justify-content: center;
  }
  
  /*.ads-archive .g:not(:first-child:nth-child(2)) {
    display: none;
  }*/
  
  .home .ads-archive img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height:auto;
  }
}

@media only screen and (max-width: 560px) {
  .ads-archive .g {
    max-width: 100%;
    width: 100%;
  }
  
  .home .ads-archive .g-col {
    margin: 0 auto;
    float: none;
  }

  .ads-archive .g:not(:first-child) {
    display: none;
  }
  
}

.ads-h {
  /*height:90px;*/
  margin: 0 20px;
}

.ads-v {
  width: 100%;
  /*height:335px;*/
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-black {
  color: #000000;
}

.text-default {
  font-size: 16px;
}

.bg-default {
  background-color: #9b302a;
}

.bg-white {
  background-color: #ffffff;
}

.bg-dark {
  background-color: #363636;
}

.shadow {
  -webkit-box-shadow: 0px 0px 5px 1px rgba(149,148,148,0.3);
  -moz-box-shadow: 0px 0px 5px 1px rgba(149,148,148,0.3);
  box-shadow: 0px 0px 5px 1px rgba(149,148,148,0.3);
}

/* Button */

.wpdmi-button {
  height:38px;
  line-height: 38px;
  text-align: center;
  font-weight: bold;
  color: #9b302a;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 20px;
}

.wpdmi-button-border {
  border: 1px solid #9b302a;
  line-height: 36px;
}

.wpdmi-button-bg {
  background-color: #9b302a;
  color: #ffffff;
} 

.wpdmi-button-bg  > *, .wpdmi-button-border > * {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.wpdmi-button:hover {
  color: #ffffff;
  background-color: #9b302a;
}

.wpdmi-button-border:hover { 
  border: 1px solid #9b302a;
}

.wpdmi-button:hover > * {
  color: #ffffff;
}

/* Post like/dislike */

.wpdmi-posts-like-dislike {
  margin-bottom: 20px;
}

.pld-like-dislike-wrap {
  border-radius: 8px;
  background-color: #9b302a;
  padding: 10px 20px;
  color: #ffffff;
  display: flex;
  max-width: 180px;
  justify-content: center;
  margin: 0 auto;
}

.pld-like-dislike-wrap a {
  color: #ffffff;
}

.pld-like-dislike-wrap a:hover {
  color: #9b9b9b;
}

.pld-like-dislike-wrap .fas {
  font-size: 20px;
  line-height: 25px;
  vertical-align: middle;
}

.pld-like-wrap {
  padding-right: 10px;
  border-right:1px solid #ffffff;
}

.pld-dislike-wrap {
  padding-left: 10px;
}

.pld-count-wrap {
  font-size: 14px;
}

.pld-common-wrap {
  margin-right: 0!important;
  display: flex;
  align-items: center;
  
}

/* Group Messenger Buttons */

.wpdmi-group-buttons {
  max-width: 760px;
  padding-top: 15px;
  border-top: 2px solid #d4d4d4;
  /*display:flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;*/
  margin: 0 auto 20px;
  font-size: 18px;
  font-weight: 700;
}

.wpdmi-group-buttons img {
  max-width: 100%;
  height: auto;
}

.wpdmi-group-buttons a {
  /*margin: 0 10px 10px 10px;*/
}

@media only screen and (max-width: 768px) {
  .wpdmi-group-buttons {
    /*flex-direction: column;*/
  }
  
  /*.wpdmi-group-buttons a:last-child {
    margin-bottom: 0;
  }*/
}

/* Scrollbar */

* {
  scrollbar-width: thin;
  scrollbar-color: #f3f3f3 #c6c6c6;
}

/* Works on Chrome, Edge, and Safari */

.wpdmi-col::-webkit-scrollbar, .jq-selectbox__dropdown ul::-webkit-scrollbar, .menu ul.sub-menu.menu-items-hidden-links::-webkit-scrollbar {
  width: 6px;
}

.wpdmi-col::-webkit-scrollbar-track, .jq-selectbox__dropdown ul::-webkit-scrollbar-track, .menu ul.sub-menu.menu-items-hidden-links::-webkit-scrollbar-track {
  background: #f3f3f3;
}

.wpdmi-col::-webkit-scrollbar-thumb, .jq-selectbox__dropdown ul::-webkit-scrollbar-thumb, .menu ul.sub-menu.menu-items-hidden-links::-webkit-scrollbar-thumb {
  background-color: #c6c6c6;
  border-radius: 0;
  border: none;
}

/* Live */

.livecounter {
  display: none;
}

/* Ya */

.ya-m {
  width: 88px; 
  height: 40px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* Flex */

.d-flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-content-start {
  justify-content: flex-start;
}

.justify-content-end {
  justify-content: flex-end;
}

.justify-content-center {
	justify-content:center;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-end {
  align-items: flex-end;
}

.align-items-center {
  align-items: center;
}

.align-items-baseline {
  align-items: baseline;
}

.align-items-stretch {
  align-items: stretch;
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

.mt-4 {
  margin-top: 40px;
}

.mt-5 {
  margin-top: 50px;
}

.mt-6 {
  margin-top: 60px;
}

.mt-7 {
  margin-top: 70px;
}

.mt-8 {
  margin-top: 80px;
}

.mt-9 {
  margin-top: 90px;
}

.mt-10 {
  margin-top: 100px;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mb-4 {
  margin-bottom: 40px;
}

.mb-5 {
  margin-bottom: 50px;
}

.mb-6 {
  margin-bottom: 60px;
}

.mb-7 {
  margin-bottom: 70px;
}

.mb-8 {
  margin-bottom: 80px;
}

.mb-9 {
  margin-bottom: 90px;
}

.mb-10 {
  margin-bottom: 100px;
}

.ml-1 {
  margin-left: 10px;
}

.ml-2 {
  margin-left: 20px;
}

.mr-1 {
  margin-right: 10px;
}

.mr-2 {
  margin-right: 20px;
}

.p-0  {
  padding:0!important;
}

.px-0 {
  padding-left:0;
  padding-right:0;
}

.py-0 {
  padding-top: 0!important;
  padding-bottom: 0!important;
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.pl-0 {
  padding-left: 0;
}

.pr-0 {
  padding-right: 0;
}

.px-1 {
  padding-left:10px;
  padding-right:10px;
}

.px-2 {
  padding-left:20px;
  padding-right:20px;
}

.px-3 {
  padding-left:30px;
  padding-right:30px;
}

.px-4 {
  padding-left:40px;
  padding-right:40px;
}

.px-5 {
  padding-left:50px;
  padding-right:50px;
}

.overflow-hidden {
  overflow: hidden;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

input, textarea, select {
  font-weight: normal;
  font-style: normal;
}


/* Table */

.single-content-table.table-container {
  overflow-x: auto;
}

.single-content table {
  width: 100%!important;
  border: 1px solid #d4d4d4;
  border-collapse: collapse;
}

.single-content table td {
  border: 1px solid #d4d4d4;
  font-size: 15px;
  padding: 5px 10px;
}

/* Video JS */
.video-js {
  width:100%;
  height:350px;
}

.video-js .vjs-big-play-button {
  line-height: 60px!important;
  height: 60px;
  width: 60px;
  top: 50%!important;
  left: 50%!important;
  margin-top: -30px;
  margin-left: -30px;
  border: none!important;
  background-color: transparent!important;
  border-radius: 0!important;
}
      
.video-js:hover .vjs-big-play-button, .video-js .vjs-big-play-button:focus {
  border-color: transparent!important;
  background-color: transparent!important;
  transition: all 0s!important;
}

/*@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');*/