@import url('https://fonts.googleapis.com/css?family=Nunito:400,600,700&display=swap');

@import "reset.css";

/*------------------------Global------------------------*/

* {
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  line-height: 1.45;
  font-size: 16px;
  color: #000;
  background: linear-gradient(to top, #fff 50%, #2D8ACD);
  background: #2D8ACD;
  overflow-x: hidden;
  letter-spacing: normal;
}

.clearfix {
  clear: both;
}

a {
  color: #2d8acd;
  text-decoration: none;
}

img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

input,
button,
select,
textarea {
  font-family: 'Nunito', sans-serif;
  color: #000;
  font-size: 16px;
  border-radius: 4px;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
}

input[type="text"]:hover,
input[type="password"]:hover,
textarea:hover {
  border-color: #2D8ACD !important;
}

::placeholder {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
}

b, strong {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.container {
  max-width: 1320px;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
}

.btn {
  border: none;
  background: none;
  padding: 9px 15px;
  color: #fff;
  border-radius: 8px;
  transition: 0.2s;
  cursor: pointer;
  font-size: 16px;
  margin-right: 10px;
}

.btn:last-child {
  margin-right: 0;
}

.btn:hover {
  opacity: 0.8;
}

.btn-big {
  padding: 12px 25px;
  font-size: 18px;
  font-weight: 600;
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

.btn-green {
  background: #78c300;
}

.btn-border {
  border: 2px solid #78c300;
  color: #000;
  line-height: 14px;
  height: 40px;
}
.search-box .bbcodes {
  border: none;
  background: #78c300;
  padding: 9px 15px;
  color: #fff;
  border-radius: 8px;
  transition: 0.2s;
  cursor: pointer;
  font-size: 16px;
  margin-right: 10px;
  width:auto !important;
  line-height: 1;
}

#dofullsearch {
  display: none;
}

.overlay {
  background: #000;
  opacity: 0.7;
  position: fixed;
  width:100%;
  height: 100%;
  z-index: 9998;
  display: none;
}
.overlay.active {
  display: block;
}

.alert {
  background: #fce5ba;
  color: #a76846;
  padding: 15px;
  border-radius: 5px;
  margin: 15px 0;
}

.title-page {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 24px;
}

.page-box {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 28px 0 rgb(0 0 0 / 10%), 0 2px 4px 0 rgb(0 0 0 / 0%), inset 0 0 0 1px rgb(60 60 60 / 12%);
}

.speedbar {
  background: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  margin: 0 0 15px;
}

.speedbar a {
  color: #4378bb;
}

hr {
  background-color:#eee;
  border:0;
  height:1px;
  clear:both;
  margin: 20px 0;
}

.box {
  margin-top: 20px;
}

.clear {
  clear: both;
}
/*-------------------------------------Header-------------------------------------*/

.head {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-gap: 50px;
  padding: 15px 0 35px;
  align-items: center;
}

.head .head-info {
  display: flex;
  gap: 30px;
}

.topnews {
  position: relative;
  padding: 30px;
  border-bottom: 1px solid #f7f7f7;
}

.topnews .topnews-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 30px;
}

.topnews .topnews-cat{
  display: inline-block;
  color: #AFAFB8;
  font-size: 14px;
}

.topnews .topnews-story{
  font-size: 15px;
  color: #636363
}

.topnews .topnews-title {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #000;
  letter-spacing: 1px;
  font-size: 20px;
}


.topnews .topnews-item .topnews-name {
  display: block;
  color: #000;
  font-weight: 600;
  font-size: 18px;
}

.bar-box {
  padding: 15px;
  background: #fff;
  display: none;
}


.bar-box .bar {
  display: inline-flex;
  gap: 5px;
  font-size: 18px;
  align-items: center;
  box-shadow: 0 6px 18px 0 rgb(0 35 90 / 9%), 0 0 2px 0 rgb(0 35 90 / 5%);
  padding: 5px 20px;
  border: 1px solid #93c7ef;
  border-radius: 8px;
  cursor: pointer;
}

.mobile-bar-btn {
  display: none;
}

/*-------------------------------------Search-------------------------------------*/

.search_box {
  position: relative;
  align-self: flex-start;
  flex-grow: 1;
}

.search_box input{
  padding: 10px 45px 10px 15px;
  border-radius: 5px;
  background: #fff;
  color: #000;
  border: 0;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  box-shadow: 0 6px 18px 0 rgb(0 35 90 / 8%), 0 0 2px 0 rgb(0 35 90 / 6%);
}

.search_box input:focus,
.search_box input:hover {
  box-shadow: 0 6px 18px 0 rgb(0 35 90 / 16%), 0 0 2px 0 rgb(0 35 90 / 6%);
}

.search_box button {
  position: absolute;
  border: 0;
  width: 32px;
  right: 10px;
  top: 14px;
  z-index: 10;
  cursor: pointer;
  background: none;
}

.searchtable {
  margin: 0 -15px 0 -30px;
}
.search fieldset {
  margin: 15px 25px 0!important;
  padding: 15px 5px;
}

.search select,
.search input[type="text"] {
  margin-bottom: 10px;
  width: 100%;
}

.search tr{
  vertical-align: top
}

.search .search-btn-box {
  padding: 15px 30px;
}

.search .group-label {
  margin-right: 15px;
}
/*------------------------ Top Content ------------------------*/

.top-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-gap: 30px;
  margin-bottom: 30px;
}

.top-content .top-card .card {
  display:block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.top-content .top-card .card img {
  display:block;
}

.top-content .top-card .card:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15,15,15,1) 30%,rgba(15,15,15,0) 100%);
  opacity: 0.8;
  z-index: 1;
}

.top-content .top-card .card .title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  color: #fff;
  padding: 15px;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top-content .top-list .item{
  margin-bottom: 15px;
}

.top-content .top-list .item .toplist-cat{
  margin-bottom: 5px;
  color: #AFAFB8;
}

.top-content .top-list .item .toplist-cat .pos{
  font-weight: 700;
  margin-right: 5px;
  font-size: 18px;
  color: #000;
}

.top-content .top-list .item .toplist-title a{
  color: #000;
  margin-left: 32px;
  font-weight: 600;
}

/*------------------------Content------------------------*/

.wrapper {
  overflow:hidden;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 0px 8px 0px rgb(0 0 0 / 7%);
}

.content-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-top: 1px solid #d6edff;
}

.content {
  padding: 30px;
  background: #F9F9FB;
  overflow: hidden;
}

.sidebar {
  padding: 20px;
  background: #fff;
}

.sidebar .close-sidebar{
  display: none;
}

.sidebar.active .close-sidebar{
  display: block;
}

.title-box {
  margin: 0 0 25px;
  text-transform:uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 18px;
}

.sidebar .sidebar-item:not(:last-child){
  margin-bottom: 20px;
}

.sidebar .catmenu{
  margin: 0 -20px;
}

.sidebar .catmenu i{
  cursor: pointer;
  padding: 3px 6px;
  background: #e9f6ff;
  border-radius:3px;
}

.sidebar .catmenu .dropmenu > a{
  display: flex;
  justify-content: space-between;
}

.sidebar .catmenu .dropmenu .submenu{
  display: none;
}

.sidebar .catmenu a{
  display: block;
  color: #878787;
  padding: 15px 25px;
  font-weight: 600;
  line-height: 1;
  border-left: 3px solid transparent;
  transition: 0.2s;
  border-bottom: 1px solid #f1f5ff;
}

.sidebar .catmenu .dropmenu a.active,
.sidebar .catmenu a:hover {
  color: #4598E9;
  background: #f1f5ff;
  border-left: 3px solid #2483f1;
}

.sidebar .catmenu a:hover {
  color: #000;
}

.sidebar .submenu a{
  padding: 15px 35px 15px 40px;
  display: flex;
  justify-content: space-between;
}

.sidebar .submenu-2{
  display: none;
}

.sidebar .dropmenu-2 a.active{
  background: #eeffd3 !important;
  border-left: 3px solid #78c300 !important;
  color: #446F00 !important;
}

.sidebar .submenu-2 a{
  padding: 15px 35px 15px 55px;
}

/*------------------------ShortStory------------------------*/
.search-resalt,
.grid-card,
.grid-card-cat #dle-content{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  margin-bottom: 30px;
}

.grid-card .clear{
  display: none;
}

.shortstory-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 8px 0 rgb(0 0 0 / 7%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.search-box .shortstory-item {
  margin-bottom: 30px;
}

.shortstory-item .shortstory {
  display: grid;
  grid-template-columns: 155px 1fr;
  grid-gap: 30px;
  padding: 15px;
}

.shortstory-item .shortstory-cat {
  grid-template-columns: 1fr;
}

.shortstory-item .shortstory .poster{
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  align-self: start;
}

.shortstory-item .shortstory .poster:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15,15,15,0.6) 30%,rgba(15,15,15,0) 100%);
  opacity: 0.7;
  z-index: 1;
}

.shortstory-item .shortstory .poster img{
  display: block;
  border-radius: 5px;
  transition: 0.2s;
  width: 100%;
}

.shortstory-item:hover .shortstory .poster img {
  transform: scale(1.1)
}

.shortstory-item .shortstory .title {
  margin-bottom: 8px;
}

.shortstory-item .shortstory .title a{
  font-size: 17px;
  font-weight: 700;
  transition: 0.2s;
  color: #000;
}

.shortstory-item .shortstory .title a:hover{
  color: #006cb9;
}

.shortstory-item .shortstory .story {
  font-size: 15px;
  color: #636363;
}

.shortstory-item .shortstory .story span,
.full-story span {
  font-family: 'Nunito', sans-serif !important;
  line-height: 1.45 !important;
  font-size: 16px !important;
}

.shortstory-item .short-footer {
  background: #f9f9fb;
  display: flex;
  border-top: 1px solid #eaeaea;
  padding: 5px;
}

.shortstory-item .short-footer .sf-item{
  padding: 5px 10px;
  opacity: 0.6;
  font-size: 14px;
}

.shortstory-item .short-footer .sf-item a{
  color: #000;
}

.shortstory-item .short-footer .sf-item img{
  width: 18px;
}

/*------------------------Blog Box------------------------*/

.blog-box {
  padding: 30px;
  margin: -30px -30px 30px;
  background: #f4f9fd;
  border-bottom: 1px solid #e0eef9;
}

.blog-box .blog-title {
  position: relative;
  margin-bottom: 30px;
}

.blog-box .blog-title span {
  position: relative;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 28px;
  padding: 0 30px 0 0;
  background: #f4f9fd;
  z-index: 1;
}

.blog-box .blog-title:after {
  content: "";
  height: 1px;
  position: absolute;
  right: 0;
  top: 14px;
  width: 100%;
  background: #c1ddfd;
  z-index: 0;
}

.blog-item {
  background: #fff;
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-gap: 15px;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 0 8px 0 rgb(0 0 0 / 5%);
}

.blog-item .blog-image{
  width: 100px;
  height:100px;
  overflow: hidden;
  border-radius: 10px;
}

.blog-text {
  overflow: hidden;
}

.blog-item .blog-name a{
  font-weight: 700;
  color: #000;
  font-size: 18px;
}

.blog-item .blog-link {
  position: relative;
  margin: 3px 0;
}

.blog-item .blog-link a{
  position: relative;
  color: #7d7d7d;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  overflow: hidden;
}
/*------------------------Login------------------------*/

.btn-login {
  background: #93c7ef;
  box-shadow: 0 0 8px 0 rgb(0 0 0 / 7%);
  padding: 12px 15px 13px;
  display: flex;
  gap: 5px;
  align-items: center;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

.btn-login img{
  height: 25px;
}

.mod-log {
  display: none;
  position: fixed;
  z-index: 9999;
  width: 310px;
  top: 80px;
  left: calc(50% - 150px);
  color: #000;
  transition: 0.5s;
}

.modal-content {
  border-radius: 2px;
  box-shadow: 0 8px 40px -10px rgba(0, 0, 0, 0.3);
  background: #fff;
  background-clip: padding-box;
  border: 8px solid rgba(0, 0, 0, 0.2);
}

.modal-content a {
  border-bottom: 0;
}

.mod-log .modal-header {
  position: relative;
  background: #1e1e2a;
  color: #fff;
  padding: 15px 15px;
  border: 0;
}

.mod-log .modal-header p {
  margin: 0;
  padding: 0;
  line-height: 16px;
}

.mod-log .modal-header .modal-title {
  font-size: 18px;
}

.mod-log .mod-close {
  position: absolute;
  top: 13px;
  right: 15px;
  cursor: pointer;
  color: #fff;
}

.tr-active {
  display: block;
  transition: 0.5s;
}

.user-profile-heading {
  background: linear-gradient(to left, #2d8acd, #5ab0ef);
  padding: 10px 15px;
  color: #fff;
}

.user-profile-heading a {
  color: #fff;
}

.user-profile-heading div {
  font-size: 16px;
  margin-bottom: 0;
  margin-top: 3px;
  font-weight: 500;
}

.user-left {
  padding-right: 20px;
  display: table-cell;
  vertical-align: top;
}

.user-left img {
  width: 60px;
  border-radius: 100%;
  border: 2px solid #fff;
}

.user-body {
  display: table-cell;
  vertical-align: middle;
}

.prof-list i {
  color: #878686;
  width: 20px;
  text-align: center;
}

.prof-list > li {
  width: 100%;
  padding: 0;
  font-size: 16px;
}

.prof-list > li > a {
  display: block;
  width: 100%;
  font-weight: 400;
  padding: 6px 15px;
  border-bottom: 0;
  color: #000 !important;
}

.prof-list > li:hover a {
  border-bottom: 0;
}

.prof-list > li:nth-child(odd) {
  background: #fafafa;
}

.prof-list > li:hover {
  background: #eee;
}

.login-panel {
  padding: 15px 10px;
}

.login-panel a {
  color: #f26739;
}

.mod-log .fc {
  background: #f7f7f7;
  width: 100% !important;
  border: 0;
  border-bottom: 1px solid #dadada;
  box-shadow: 0;
  color: #000;
}

.mod-log .fc:focus {
  outline: 0;
  -webkit-box-shadow: 0;
  box-shadow: 0;
}

.input-group-lg {
  position: relative;
}

.mod-log a.lost-pass {
  position: absolute;
  right: 10px;
  top: 12px;
}

.btn-in {
  display: inline-block;
  padding: 6px 15px;
  margin-bottom: 0px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4285;
  text-align: center;
  border: 0;
  cursor: pointer;
  user-select: none;
  background: #49ab29;
  color: #fff;
  border-radius: 4px;
}

.login-social {
  border-top: 1px solid #eee;
  margin-top: 10px;
  padding-top: 10px;
}

/*-------------------------------------Full-Story-------------------------------------*/

.full-story h1 {
  font-size: 22px;
  font-weight: 700;
  background: #fbfcff;
  padding: 15px;
  margin: -20px -20px 0;
  border-radius: 10px 10px 0 0;
}

.full-story .full-info-head {
  margin: 0 -20px 15px;
  background: #f6f8ff;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #f1f5ff;
  border-bottom: 1px solid #f1f5ff;
  padding: 5px;
}

.full-story .full-info-head li {
  padding: 5px 10px;
  opacity: 0.6;
  font-size: 14px;
}

.full-story .full-info-head li a,
.emotions .title a {
  color: #003eff;
  border-bottom: 1px dotted;
}

.full-story .full-info-head li img {
  width: 18px;
}

.emotions {
  margin-bottom: 5px;
  padding: 5px;
  background-color: #f6f8ff;
  border: 1px solid #f1f5ff;
}

.emotions .title,
.emotions .info {
  margin-bottom: 5px;
}

.emotions .buttons {
  display: flex;
  flex-wrap: wrap;
}

.emotions .buttons li {
  margin: 0 5px 5px 0;
}

.emotions .buttons button {
  cursor: pointer;
  border: none;
  border-radius: 0;
  background-color: #c5c5c5;
  padding: 5px;
  font-size: 14px;
  color: #303e50;
}

.emotions .buttons button:hover {
  background-color: #1c89df;
}

.emotions .buttons button.selected {
  background-color: #eb2320;
}

.rating-sf {
  display: inline-block;
}

.rating-sf::before, .rating-sf::after {
  content: "";
  display: inline-block;
  background-image: url('/uploads/1301814513_1301738485_4.gif');
  width: 17px;
  height: 22px;
  vertical-align: middle;
}

.rating-sf::before {
  margin-right: 5px;
}

.rating-sf::after {
  margin-left: 5px;
}

/* -------------------------------Рейтинги----------------------------- */
.nblockbg {
    background: #f8f8f8;
    font-family: Tahoma;
    font-size: 11px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd
}

.ntabss, .ntabss2 {
    background: url("../images/nbut.gif") repeat-x;
    float: left;
    padding: 8px;
    margin-right: 10px;
    font-size: 13px;
    color: #fff;
    text-shadow: 0px 1px 0px #567186;
    border-left: 1px solid #7393aa;
    border-right: 1px solid #7393aa;
    cursor: pointer;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px
}

.ntabss:hover, .ntabss2:hover {
    background: url("../images/nbuth.gif") repeat-x;
}

.ntabactive {
    background: url("../images/nbuta.gif") repeat-x;
}

.ntabactive:hover {
    background: url("../images/nbuta.gif") repeat-x;
}

.npad {
    padding: 15px;
}

.nonenews {
    padding: 7px;
    padding-left: 17px;
    font-size: 11px
}

.nonenews:hover {
    background: #fff
}

.nonenews a {
    color: #000;
    text-decoration: none;
    float: left;
    padding-top: 3px
}

.nonenews a:hover {
    text-decoration: underline
}

.nonenews a span {
    color: #777
}

.nhr {
    background: #fff;
    border-top: 1px solid #dcdadb;
    height: 1px
}

.nprogbg {
    float: right;
    width: 150px;
    background: url("../images/proc1.gif") repeat-x;
    text-align: center;
    height: 19px;
    padding-top: 2px;
    border-left: 1px solid #e1dbc3;
    border-right: 1px solid #e1dbc3;
    color: #444;
    font-size: 13px
}

.nprogbg2 {
    position: absolute;
    color: #555;
    width: 150px;
    text-align: center
}

.nprog2 {
    background: url("../images/proc2.gif") repeat-x;
    width: 10px;
    height: 19px;
    position: absolute;
    margin-top: -2px;
    border-left: 1px solid #ca2825;
    margin-left: -1px;
    border-right: 1px solid #ca2825;
    margin-right: -1px
}

.nmore {
    padding: 10px
}

.nmore a {
    background: #d7092b;
    color: #fff;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
    float: right;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    text-shadow: 0px 1px 0px #810a1d;
    width: 130px;
    text-align: center
}

.no_display {
    display: none
}

/* -------------------------------Профиль------------------------------ */

.fx-row {
  background: #fff;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: 0 2px 28px 0 rgb(0 0 0 / 10%), 0 2px 4px 0 rgb(0 0 0 / 0%), inset 0 0 0 1px rgb(60 60 60 / 12%);
}

.left-log {
  background: #f1f5ff;
  position: relative;
  padding: 15px;
}

.userinfo_top {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-gap:15px;
}

.userinfo_top .u-online{
  display:block;
  margin-bottom: 15px;
}

.userinfo_top .u-online span{
  background:#029E07;
  padding:5px 10px;
  text-align:center;
  border-radius: 4px;
  color:#fff;
}

.userinfo_top .avatar {
  display: block;
  width: 100px;
  height: 100px;
  padding: 5px;
  border-radius: 8px;
  border: 1px dashed #4a4a4a;
  overflow: hidden;
  box-shadow: 0px 0px 18px 0px rgba(255,255,255,0.1);
}

.userinfo_top .avatar img {
  width: 100px;
  border-radius: 8px;
}

.userinfo_top li a{
  display: block;
  background: #2d8acd;
  color: #ffffff;
  padding: 5px 15px;
  text-align: center;
  margin: 6px 0;
  border-radius: 4px;
  transition: 0.3s;
}

.userinfo_top li a:hover{
  background:#45abf5;
  color:#fff;
}

#comment-editor {
  padding-bottom: 10px;
}

.form-group {
  margin:8px 0;
}

.userinfo_top .u-stat{
  display: flex;
  color: #929292;
  padding: 0 0 15px;
}

.userinfo_top .u-stat .u-stat_item{
  margin-right: 25px;
}

.userinfo_top .u-stat span{
  font-size:18px;
  font-weight:500;
}

.userinfo_top .u-stat .u-s-next{
  font-size:12px;
}

.userinfo_top .u-stat .u-s-next a{
  color: #929292;
  border-bottom: 1px dotted;
}

.profile_feedback {
  display:flex;
}

.profile_feedback li{
  margin-right: 10px;
}

.usinf {
  list-style: none;
}

.usinf > li {
  display: flex;
  border-bottom: 1px solid #d2d2d2;
}

.usinf li:first-child { border-top-width: 0; }

.ui-c1,
.ui-c2 {
  font-size:14px;
  display: inline-block;
  vertical-align: top;
  padding: 13px 15px;
  box-sizing: border-box;
  word-spacing:0;
}
.ui-c1 {
  width: 178px;
  word-wrap: break-word;
}

.ui-c2 .rating{
  margin-top:-1px;
}

#userinfo ~ .short-box {
  display:none
}

.us-prof .addform {
  padding: 15px;
}

.us-prof .addform .style_check label{
  margin-left: 5px;
}

.ui-form .form-group .login_check {
  position: relative;
}

.ui-form .form-group .btn_valid {
  position: absolute;
  top: 3px;
  right: 4px;
  background: #78C300;
}

.userinfo {
  display: flex;
  font-size: 14px
}

.userinfo .avatar{
  width: 100px;
  height: 100px;
  margin-right: 15px;
}
/*------------------------Subscription------------------------*/

.subscribe-box {
  color: #fff;
  padding: 40px 0;
}

.subscribe-box .subscribe-wrap{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.subscribe-box .title-section {
  font-size: 26px;
  margin-bottom: 5px;
  font-weight: 700;
}

.subscribe-box .social-list{
  display: flex;
}

.subscribe-box .social-list li{
  margin-left: 30px;
}

/*------------------------Footer------------------------*/

.footer {
  position: relative;
  background: #323645;
}

.footer .footer-pattern {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

.footer .footer-head {
  position: relative;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 120px 0;
  z-index: 1;
}

.footer .footer-head p {
  margin: 40px 0;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.7);
}

.footer .footer-box {
  padding: 80px 0 60px;
  color: #fff;
}

.footer .footer-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr) 2fr;
  grid-gap: 30px;
}

.footer .footer-menu .menu-title {
  color: #fff;
  font-size: 18px;
  margin-bottom: 25px;
}

.footer .footer-menu .menu-list li {
  margin: 15px 0;
}

.footer .footer-menu .contacts {
  color: #fff;
}

.footer .footer-menu .contacts li.icon-menu {
  display: flex;
  color: #fff;
  font-weight: 600;
  font-size: 19px;
  align-items: center;
  opacity: 0.7;
}

.footer .footer-menu .contacts li.icon-menu img {
  width: 26px;
  margin-right: 8px;
}

.footer .footer-menu .contacts .schedule {
  padding: 10px 0 10px 34px;
  opacity: 0.7;
  border-bottom: dotted 1px #767986;
  margin-bottom: 10px;
}

.footer .footer-menu .menu-list li a {
  color: #fff;
  opacity: 0.7;
  transition: 0.3s;
}

.footer .footer-menu .menu-list li a:hover {
  opacity: 1;
}

.footer .copyright {
  color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  text-align: center;
  background: #2a2e3c;
}

/*------------------------Owl carousel------------------------*/

.owl-carousel {
  position:relative;
}

.owl-item {
  padding: 0 10px;
}

.project-box {
  background: #f2f9ff;
  padding: 15px 30px;
}

.project-slider {
  padding: 0 25px;
}

.blog-slider {
  padding: 0 25px;
}

.owl-buttons .owl-prev,
.owl-buttons .owl-next {
  position: absolute;
  top: calc(50% - 25px);
  width: 50px;
}

.owl-buttons .owl-prev {
  left: -15px;
}

.owl-buttons .owl-next {
  right: -15px;
}

/*------------------------PM Page------------------------*/

#pm-menu {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

#pm-menu a{
  margin-right: 15px;
  padding: 8px 20px;
  border-radius: 25px;
  transition: 0.2s;
  color: #000;
  background: #f1f5ff;
}

#pm-menu a:hover{
  color: #fff;
  background: #2D8ACD;
}

.pm_status {
  padding: 25px;
  background-color: #fafafa;
  border-radius: 2px;
}

.pm_progress_bar {
  background-color: #e5dbcc;
  margin-bottom: 10px;
  border-radius: 2px;
}

.pm_progress_bar span {
  background: #e85319;
  font-size: 0;
  height: 20px;
  border-radius: 2px;
  display: block;
  overflow: hidden;
}
.pm-no-messages {
  display:block;
  background: #fce5ba;
  color: #a76846;
  padding: 15px;
  border-radius: 5px;
  margin: 15px 0;
}

/*------------------------Comments------------------------*/

.title_section {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 15px;
}

.comm_box{
  border-radius: 6px;
  background: #fafafa;
  padding: 5px 15px 25px;
  margin: 0 -10px;
}

.comm{
  margin: 15px 0;
  font-size: 15px;
  background: #fff;
  padding: 15px;
}

.comments-tree-list {
  margin-left: 15px;
}

#dle-comments-list > .comments-tree-list {
  margin-left: 0;
}

.comm_head {
  display: grid;
  grid-template-columns: 40px 1fr 70px;
  grid-gap: 15px;
  align-items: center;
  margin-bottom: 10px;
}

.comm .comm_avatar{
  height:40px;
  width:40px;
  padding: 5px;
  border-radius: 5px;
  border: 1px dashed #4a4a4a;
  overflow: hidden;
  box-shadow: 0px 0px 18px 0px rgba(255,255,255,0.1);
}

.comm .comm_avatar img{
  display:block;
  border-radius: 5px;
}

.comm .comm_time a{color: #fba234;}
.comm .comm_time {
  font-size: 13px;
  color: #c7c7c7;
}

.comm .comm_time i{padding:0 15px;}
.comm .comm_time time{color:#a0a0a0;}

.comm .comm_text h4{
  padding:0 0 10px;
}

.comm .comm_option {
  border-top: 1px solid #eee;
  margin-top: 6px;
  padding-top: 6px;
}

.comm .comm-rating {
  display:flex;
  align-items: center;
}

.comm .comm-rating a{
  color: #757575;
  font-size: 20px;
  position: relative;
  top: 2px;
}

.comm .comm-rating a:hover{
  color:#fba234;
}

.comm .comm-rating .rating_num .ratingtypeplusminus{
  padding: 1px 11px 0px 11px;
  border-radius: 4px;
  font-size: 13px;
  color: #9c9c9c;
}

.comm .comm_option .link-a a{
  margin-right: 8px;
  font-size: 13px;
  color: #8d8d8d
}

.comm .comm_option .link-a .reply a{
  color:#7aad35;
}

.comm .comm_option .link-a a:hover{
  color:#fba234;
}

.comm_box .mass_comments_action {
  display: none;
}

.comments-num {
  padding: 4px 11px 3px 11px;
  border-radius: 6px;
  color: #9c9c9c;
  background: #383838;
}

.title-comm {
  margin-bottom: 10px;
}

.title-comm a {
  border-bottom: 1px dotted;
  color: #2d8acd;
}

/*-------------------------------------Pagination-------------------------------------*/

.pagi-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
  text-align:center;
  grid-column: 1 / 3;
}
.pagi-nav>span {
  vertical-align: top
}
.pnext a, .pprev a {
  display: inline-block;
  padding: 0 11px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border-radius: 14px;
  margin: 0 2px 2px 0;
}


.navigation {
  grid-column: 1 / 3;
  padding: 0 3px;
}

.pprev span,
.pnext span {
  padding: 0 15px;
}
.navigation a, .navigation span {
  display: inline-block;
  padding: 5px 11px;
  text-align: center;
  border-radius: 5px;
  margin: 0 0 2px 0;
  color: #000;
}

.navigation a:hover{
  background: #c4e4c5;
}

.navigation span {
  background: #04a50c;
  color: #fff;
}

.navigation span.nav_ext {
  box-shadow: none
}
.dle-comments-navigation .pagi-nav {
  margin-bottom: 0;
  padding-bottom: 20px
}
.navigation a span, .navigation span span {
  display: none
}

/*----------------Other style---------------------*/

.community-tab .tab-head {
  display: flex;
  margin-bottom: 15px;
}

.community-tab .tab-head li{
  background: #e9f6ff;
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 5px;
  cursor: pointer;
}

/*------------------------Adaptive------------------------*/

@media (max-width: 996px) {
.container{
    padding: 0px;
}
.head {
  grid-template-columns: 200px 1fr;
  margin: 0 15px;
}
.wrapper {
    border-radius: 0px;
}
.top-content {
  grid-template-columns: 1fr;
}
.search-resalt,
.grid-card {
  grid-template-columns: 1fr;
}
.navigation {
  grid-column: 1;
  padding: 0 3px;
}

.npad .views {
  display: none;
}

.nonenews a {
  display: block;
  float: none;
  margin-bottom: 5px;
}

.nprogbg {
  float: left;
}

.vlr_social {
  display: none;
}
}

@media (max-width: 768px) {
.topnews {
  display: none;
}
.head {
  grid-template-columns: 1fr;
  grid-gap: 20px;
}
.logo {
  width: 250px;
  margin: 0 auto;
}

.btn-login span{
  display: none;
}    

.content-wrap {
  grid-template-columns: 1fr;
}

.content {
  padding: 0px;
}

.page-box {
  border-radius: 0px;
}

.full-story h1 {
  border-radius: 0px;
}

.bar-box {
  display: flex;
  justify-content: space-between;
}

.sidebar {
  width: 280px;
  height: 100%;
  padding: 20px;
  background: #fff;
  position: fixed;
  left: -280px;
  top: 0;
  z-index: 9999;
  transition: 0.2s;
  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar.active {
  left: 0;
}

.sidebar .close-sidebar {
  display: none;
  position: absolute;
  right: -40px;
  top: 15px;
  cursor: pointer;
}

.sidebar.active .close-sidebar {
  display: block;
}
.subscribe-box .subscribe-wrap {
  display: block;
  text-align: center;
}
.subscribe-box .social-list {
  justify-content: center;
  margin-top: 20px;
}
.footer .footer-menu {
  grid-template-columns: 1fr;
}
.footer .footer-box {
  padding: 30px 15px;
}
.footer .footer-menu .menu-title {
  margin-bottom: 15px;
}
.footer .footer-menu .menu-list li {
  margin: 8px 0;
}
.search td {
  display: block;
  width: 100%;
}
.userinfo_top {
  grid-template-columns: 1fr;
}
.userinfo_top .avatar {
  margin: 0 auto;
}
.profile_feedback {
  flex-wrap: wrap;
}
.project-box,
.blog-box {
  display:none;
}
.mobile-bar-btn {
  display: flex;
}
.bar-box .mobile-p-b {
  gap: 5px;
  font-size: 18px;
  align-items: center;
  box-shadow: 0 6px 18px 0 rgb(0 35 90 / 9%), 0 0 2px 0 rgb(0 35 90 / 5%);
  padding: 8px 20px;
  border: 1px solid #93c7ef;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 10px;
  transition: 0.2s;
}
.bar-box .mobile-p-b:hover {
  background:#2D8ACD;
  color:#fff;
}
}

@media (max-width: 500px) {
.shortstory-item .shortstory {
  grid-template-columns: 1fr;
}
.blog-item {
  grid-template-columns: 60px 1fr;
}
.blog-item .blog-image {
  width: 60px;
  height: 60px;
}
}