@font-face{
  font-family: 'lato';
  src:url('../font/lato.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display:swap;
}

a {
    color: #000;
    text-decoration: none;
}
body{
  background-color: #fafafa;
  margin: 0;
  color: #263646;
  font-family: lato,arial;
  font-size: 14px;
  padding: 80px 0 100px;
  animation-name: fade;
  animation-duration: .5s;
  -moz-user-select:none;
  -webkit-user-select:none;
  -ms-user-select:none;
  user-select: none;
}

pre {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
}

pre {
    display: block;
    font-size: 87.5%;
    color: #212529;
    font-weight: bold;
}
.hidden{
  display: none!important;
}
/* Header */
.header {
    width: 100%;
    line-height: 50px;
    height: 50px;
    z-index: 2;
    background-color: #fff;
    box-shadow: 0 5px 10px 0 rgba(0,64,128,.05);
    position: fixed;
    top: 0;
}

.wrap {
    max-width: 1640px;
    margin: 0 auto;
    position: relative;
}

#logo {
    padding-left: 50px;
    padding-right: 10px;
    font-size: 20px;
    display: inline-block;
}
#logo img {
    width: 25px;
    height: 22px;
    position: absolute;
    top: 13px;
    left: 12px;
}

.header .language{
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 10px;
  cursor: pointer;
}

.header .language .icon{
  width: 25px;
  height: 25px;
  margin-top: 12.5px;
}

.header .language .list{
  right: 10px;
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
  font-size: 14px;
  display: block;
  animation-name: drop;
  animation-duration: .2s;
  transform-origin: top;
  border-top: 1px solid #e9f2f9;
  z-index: 100;
  top: 50px;
  box-shadow: 0 10px 40px -10px rgba(0,64,128,.2);
  transition: box-shadow .3s;
  background-color: #fff;
}
.header .language .list a{
  text-align: left;
  display: block;
  line-height: 36px;
  padding: 0 80px 0 20px;
  margin: 0;
  border-radius: 0;
  border: none;
  position: relative;
}
.header .language .list a.selected{
  color: #899bb3;
}

/* Header End */

/* Container */
.container{
  direction: rtl;
  text-align: left;
}

.main{
  margin-right: 240px;
  direction: ltr;
}



.main .item{
  border-radius: 6px;
  width: 260px;
  margin: 0 8px;
  vertical-align:top;
  /*margin-top: 20px;*/
  padding: 15px;
  text-align: left;
  position: relative;
  box-sizing: border-box;
  animation-name: item;
  animation-duration: .4s;
  display: inline-block;
  background-color: #fff;
  animation-fill-mode: backwards;
  /*box-shadow: 0 10px 40px -10px rgba(0,64,128,.2);*/
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: box-shadow .3s;

}
.main .item.single{
  width: 97.4%;
}
.main img{
  vertical-align: middle;
}
.main .item.single{
  /*width: 97.5%;*/
  display: block;
}
.main .item.single .breadcrumb{
  display: inline-block;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  padding-inline-start: 0px!important;
  margin-block-start: 0px!important;
}
.main .item.single .comments{
  color: #999;
  width: 50px;
  font-size: 14px;
  margin-left: 5px;
  line-height: 35px;
  display: inline-block;
  border-radius: 4px;
  cursor: pointer;
  transition: all .1s;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  border: 1px solid #eee;
  position: relative;
}
.main .item.single .comments.active{
  color: #1BB1DC;
  border: 1px solid #1BB1DC;
}
.main .item.single .tag {
  margin-top: 20px;
  color: #a9bdd3;
  font-size: 14px;
  margin-left: 5px;
  line-height: 35px;
  padding: 0 12px;
  display: inline-block;
  border-radius: 4px;
  cursor: pointer;
  transition: all .1s;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  border: 1px solid #eee;
  position: relative;
}

.main .item.single .save,.main .item.single .link {
  color: #1BB1DC;
  font-size: 14px;
  margin-left: 5px;
  margin-bottom: 20px;
  line-height: 35px;
  padding: 0 12px;
  display: inline-block;
  border-radius: 4px;
  cursor: pointer;
  transition: all .1s;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  border: 1px solid #1BB1DC;
  position: relative;
}

.main .item.single .save img,.main .item.single .link img{
  width: 16px;
  margin-right: 8px;
  position: relative;
  top: 2px
}

.palette{
  max-width: 100%;
  padding-bottom: 75%;
  border-radius: 6px;
  position: relative;
  display: block;
}
.main .item.single .palette{
  padding-bottom: 50%;
}

.palette .block {
    position: absolute;
    height: 100%;
    animation-name: block;
    transform-origin: left;
}
.palette .block a{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
}

.palette .block.b1 {
    width: 25%;
    animation-duration: 1s;
    border-radius: 4px 0 0 4px;
}

.palette .block.b2 {
    width: 50%;
    animation-duration: .6s;
    border-radius: 20px 0 0 20px;
}
.palette .block.b3 {
    width: 75%;
    animation-duration: .2s;
    border-radius: 20px 0 0 20px;
}
.palette .block.b4 {
    width: 100%;
    animation-duration: 0s;
    border-radius: 20px 4px 4px 20px;
}

.main .item .like{
  margin-top: 15px;
  line-height: 35px;
  padding: 0 12px;
  display: inline-block;
  border-radius: 4px;
  cursor: pointer;
  transition: all .1s;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  border: 1px solid #e9f2f9;
  font-size: 14px;
  position: relative;
}

.main .item .like img {
    width: 15px;
    margin-right: 5px;
    position: relative;
    top: 2px;
    animation-name: heart;
    animation-duration: .5s;
    animation-delay: .3s;
    animation-fill-mode: backwards;
}

.main .item .like:hover img{
  filter:brightness(150%);
}

.main .item .like span {
    animation-name: fade;
    animation-duration: 1s;
    animation-delay: .3s;
    animation-fill-mode: backwards;
}
.main .item.liked .like {
    background-color: #f5fcff;
    color: #70a1d4;
}
.main .item.liked .like img {
    filter: brightness(300%);
}
.main .item .date {
  font-size: 12px;
  position: absolute;
  right: 20px;
  bottom: 26px;
  color: #899bb4;
  animation-name: fade;
  animation-duration: 1s;
  animation-fill-mode: backwards;
}
.side{
  width: 220px;
  bottom: 20px;
  overflow-y: scroll;
  position: fixed;
  top: 78px;
  font-size: 14px;
  direction: ltr;
  margin-right: 10px;
  animation-name: fade;
  animation-duration: 1s;
}

.side .search {
    margin-bottom: 20px;
    position: relative;
}
.side .search input{
    line-height: 36px;
    padding: 0 12px;
    border-radius: 4px;
    transition: all .1s;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #e9f2f9;
    width: 100%;
    font-size: 14px;
    font-family: lato;
    outline: none;
}

.side .search img{
    width: 17px;
    position: absolute;
    top: 11px;
    right: 10px;
}
.side .search_result {
    width: 100%;
    top: 40px;
    max-height: 272px;
    overflow-y: scroll;
    box-shadow: 0 10px 40px -10px rgba(0,64,128,.2);
    transition: box-shadow .3s;
    position: absolute;
    border-radius: 6px;
    /*overflow: hidden;*/
    display: block;
    font-size: 14px;
    animation-name: drop;
    animation-duration: .2s;
    transform-origin: top;
    border-top: 1px solid #e9f2f9;
    z-index: 100;
}
.side .search_result a {
    padding-left: 33px;
    cursor: pointer;
    transition: all .1s;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 14px;
    text-align: left;
    display: block;
    line-height: 36px;
    padding: 0 80px 0 20px;
    margin: 0;
    border-radius: 0;
    border: none;
    position: relative;
}
.side .search_result a::after {
    display: block;
    content: " ";
    position: absolute;
    left: 10px;
    top: 11px;
    width: 14px;
    height: 14px;
    border-radius: 14px;
    box-sizing: border-box;
}
.side .search_result a .icon {
    border-radius: 7px;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid #f1f1f1;
    margin-right: 10px;
    transform: translateY(2px);
}

.side .tags{
  margin-bottom: 25px;
}

.side .tags div{
  border: 1px solid #e9f2f9;
  font-size: 14px;
  text-align: center;
  box-sizing: border-box;
  border-radius: 4px;
  display: inline-block;
  padding: 0 12px;
  line-height: 35px;
  margin-top: 5px;
  margin-left: 5px;
}

.side .tags div.active{
  background-color: #f5fcff;
  color: #70a1d4;
}

.side .likes{
  margin-bottom: 25px;
  box-sizing: border-box;
  display: none;
}
.side .likes-list{
  margin:10px -4px 0;
  overflow-y: scroll;
  width: 233px;
  transition: all .5s;
}

.side .likes .palette{
  width: 47px;
  height: 47px;
  display: inline-block;
  padding-bottom: 0;
  animation-duration: .4s;
  margin: 2px 4px;
  transform-origin: top right;
  position: relative;
  border: 1px solid #061a51;
  border-radius: 0;
}



.side .likes .palette .block{
  border-radius: 0;
}

.side .likes .remove {
  position: absolute;
  right: 2px;
  top:2px;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background-color: rgba(0,0,0,.2);
  cursor: pointer;
  opacity: 0;
  transition: scale(0);
  color: #fff;
  font-size: 8px;
  line-height: 22px;
  text-align: center;
  box-sizing: border-box;
  transition: all .3s;
}

.side .likes .palette:hover .remove{
  opacity:1;
  transform: scale(1)
}

.side .likes .remove:hover {
  background-color: rgba(0,0,0,.5);
}

/* Container End */

/*Scrollbar*/
.scroll::-webkit-scrollbar{
  width: 4px;
  height: 100px;
  background: rgba(0,0,0,.0);
}
.scroll::-webkit-scrollbar-thumb{
  background-color: #999;
  /*border-radius: 1px;*/
}
.scroll::-webkit-scrollbar-track{
  background:rgba(200,200,200,.1);
}
/*Scrollbar End*/



/*Tip*/

.tip{
  background-color: #263646;
  padding: 0 14px;
  line-height: 30px;
  position: absolute;
  border-radius: 4px;
  z-index: 100;
  color: #fff;
  font-size: 12px;
  animation-name: tip;
  animation-duration: .6s;
  animation-fill-mode: both;
}

.tip:before{
  content: "";
  background-color: #263646;
  height: 10px;
  width: 10px;
  position: absolute;
  display: block;
  transform: rotate(45deg);
  top: -4px;
  left: 17px;
}

.copied {
  animation-name: come_and_leave;
  animation-duration: 1s;
  animation-fill-mode: both;
  bottom: -40px;
  left: -7px;
}

/*Tip End*/

.beian{
  margin-top: 100px;
}
.beian a{
  color: #aaa;
}

.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    direction: ltr;
    position: fixed;
    bottom: 0;
    right: 0;
    margin-right: 240px;
    left: 0;
    background: rgba(250,250,250,.8);
    padding: 20px;
    margin-bottom: 0;
}


.pagination {
    justify-content: center;
}
.pagination > li > a {
    background-color: white;
    color: #413e66;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}
.pagination > .active > a {
    color: white;
    background-color: #413e66 !Important;
    border: solid 1px #413e66 !Important;
}


.comment{
  display: inline-block;
}
.comment .icon{
  width: 25px;
  height: 25px;
  margin-top: 12.5px;
  display: none;
  vertical-align: middle;
}

.generate{
  height: 45px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1BB1DC;
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  margin-top: 2px;
  font-size: 16px;
}


/*Anim*/
@keyframes item{
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes drop{
  0%{
    transform: scaleY(.5);
    opacity: 0
  }
}
@keyframes fade{
  0%{
    opacity:0;
  }
}
@keyframes block{
  0%{
    transform: scaleX(1.2);
    filter: brightness(300%);
    filter: hue-rotate(50deg);
  }
}
@keyframes heart{
  0%{
    transform:scale(0);

  }
  50%{
    transform: scale(1.1);
  }
}
@keyframes come_and_leave{
  0%{
    transform: translateY(-10px);
    opacity: 0;
  }
  20%{
    transform: translateY(0px);
    opacity: 1;
  }
  80%{
    transform: translateY(0px);
    opacity: 1;
  }
  100%{
    transform: translateY(10px);
    opacity: 0;
  }
}
@keyframes tip{
  from{
    transform: translateY(-10px);
    opacity: 0;
  }
}
/*Anim End*/



@media screen and (max-width: 1640px){
  .wrap {
    max-width: 1360px;
  }

}

@media screen and (max-width: 1360px){
  .wrap {
    max-width: 1080px;
  }
}

@media screen and (max-width: 1080px){
  #logo {
    font-size: 14px;
    padding-right: 4px;
  }
  .pagination{
    margin-right: 0;
  }
  .main {
    margin: 0;
    text-align: center;
  }
  .main .item {
    width: 240px;
    padding: 15px;
  }
  .main .item.single{
    width: 92%;
    display: block;
    margin: 0 auto 20px;
  }
  .side {
    display: none;
  }
  
}

@media screen and (max-width: 800px) {

}

@media screen and (max-width: 530px) {
  .item{
    width:92%;
    /*width:calc(100%-24px);*/
  }
  .main .item.single{
    width: 92%;
  }

  .block span, .link{
    display: none;
  }
  .breadcrumb{
    width: 200px;
  }

  .breadcrumb .comments{
    margin-bottom: 8px;
  }
  
  
}

@media screen and (max-width: 360px){
  .date{
    display: none;
  }
}

@media screen and (max-height: 800px){
  .side .likes-list{
    max-height: 150px
  }

}

@media screen and (min-height: 800px){
  .side .likes-list{
    max-height: 250px;
  }

}







