* {
  font-family: "Shantell Sans", cursive;
  font-weight: 300;
}

#vinkies {
  display: none;
}

#vinkies img {
  width: 40px;
}

#vinky {
  width: 40px;
  height: 40px;
}

.vinky {
  float: right;
  width: 40px;
}

.hint {
  position: absolute;
  font-weight: bold;
  background: #63c4c4;
  border-radius: 10%;
  padding: 3px;
}

#dream-theme {
  display: flex;
}

#dream-theme:hover, #publish_dream_cancel:hover, #publish_dream:hover, #vinkies img:hover {
  cursor: pointer;
}

h1 {
  font-size: 1.5em;
}

h2 {
  font-size: 1.17em;
}

.content-list {
  font-weight: bold;
  font-style: italic;
}

.content-list a {
  text-decoration: none;
}

.d1, .d5 {
  background-color: #e6c9dc;
}

.d1:hover {
  background-color: #e6c9dc99;
}

.d2 {
  background-color: #b8f1e1;
}

.d2:hover {
  background-color: #b8f1e122;
}

.d3 {
  background-color: #eaf18d;
}

.d3:hover {
  background-color: #eaf18d99;
}

.d4 {
  background-color: #878bc1;
}

.d4:hover {
  background-color: #878bc199;
}

/*--comenting--*/
.textarea {
  text-align: left;
  margin-left: 10%;
  padding: 5px;
  border: 2px solid #cdbdec;
  background-color: white;
}

/*.textarea-block {*/
/*display: none;*/
/*}*/

.app-button {
  color: #000;
  text-decoration: none;
  padding: 5px;
  display: inline-block;
  background-color: #e0dc61;
  border-radius: 5px;
  cursor: pointer;
  text-indent: 0;
  margin-right: 10px;
}

.comment-publishing-block {
  text-align: right;
}

.comment-block {
  margin-left: 10%;
  margin-top: 30px;
  /*display: flex;*/
}

.under-comment-block {
  margin-left: 20%;
  margin-top: 30px;
  /*display: flex;*/
}

.comment {
  padding: 5px;
  border-left: 2px solid #cdbdec;
}

/*upvote*/
.upvote-block {
  text-align: right;
}

.comment-list {
  text-align: center;
}

.dream-item-container {
  margin-top: 1.5rem;
}

.shadow {
  box-shadow: 0px 0px 15px #544f4c;
  border: 1px solid #ADADAD;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 5px;
}

.art {
  float: left;
  margin-right: 10px;
  height: 100px;
  width: 100px;
}

.comment p {
  margin: 0.2rem;
}

.shadow p {
  margin: 0.2rem;
}

.dictionary-item a {
  display: inline-block;
  text-decoration: none;
  color: #551a8d;
  margin: 0 0.5rem;
}

#login_box {
  border: 1px solid #000;
  position: relative;
  border-radius: 10px;
  background-color: #fbfae2;
  margin: auto;
  padding: 10px;
  width: 300px;
  height: 300px;
  margin-top: 140px;
  text-align: center;
}

.agreements {
  color: #1f1d1d;
  font-style: italic;
  position: absolute;
  font-size: 1rem;
  bottom: 10px;
}

/**/
.more {
  display: inline-block;
  padding: 5px;
  background-color: #50bfbf;
}

#more_block {
  text-align: center
}

.user-photo {
  margin: 0 10px 0 0;
  float: left;
  width: 50px;
  height: 50px;
}

.user-photo img {
  width: 50px;
  height: 50px;
}

.user-name {
  color: #4343ec;
}

.related a {
  vertical-align: text-top;
  text-indent: 0;
  display: block;
  padding: 3px;
  text-decoration: none;
  border-radius: 5px;
}

.main-nav img {
  width: 144px;

  margin: 22px;
}

.main-nav div {
  padding: 40px 0;
}

.r-item {
  float: left;
  text-align: center;
  margin: 5px;
  width: 80px;
  font-size: 1rem;
  min-height: 220px;
  font-family: '' !important;
}

.dream-head {
  overflow: hidden;
}

@media screen and (max-width: 800px) {
  .not-found {
    margin: auto;
    display: block;
    border-radius: 25px;
    width: 100%;
    max-width: 500px;
  }

  #ads {
    margin: 10px 0;
    clear: both;
  }

  body {
    font-size: 1.1rem;
  }

  .main-nav a {
    text-decoration: none;
    color: #000;
    height: 188px;
    width: 99%;
    display: flex;
  }

  #predict_block {
    width: 80%;
    position: absolute;
    background-color: ivory;
    border: 1px solid #000;
  }

  .predict {
    padding: 0 3px;
  }

  .photo_item {
    float: left;
    text-align: center;
    margin: 5px;
    width: 140px;
    min-height: 220px;
    font-family: '' !important;
  }

  .img-meaning { /* float:left;*/
    margin: 10px;
    width: 330px;
    width: 98%;
  }

  header {
    flex-direction: column;
    background-color: rgb(98, 140, 85);
    display: flex;
    background: linear-gradient(to bottom, #4c5d71 0%, #3c4049 100%);
  }

  .central {
    display: flex;
    flex-direction: column;
    flex: 20;
  }

  #logo_block {
    flex: 1;
    display: flex;
    /*helloween*/
    justify-content: space-between;
    margin-top: 20px;
  }

  .name {
    padding: 1.5rem;
    color: aqua;
    /*helloween*/
    background-repeat: no-repeat;
    /*background-image: url(/img/tmp.png);*/
  }

  #search_block {
    margin: 10px;
    position: relative;
  }

  #search_block input {
    width: 80%;
    margin-right: 10px;
  }

  .search_word {
    min-height: 42px;
  }

  p + img {
    width: 90%;
    max-width: 400px;
  }
}

@media screen and (min-width: 801px) {
  .not-found {
    margin: auto;
    display: block;
    border-radius: 25px;
  }

  .fb-widjet-container {
    margin-left: 1rem;
    float: left;
    min-width: 300px;
  }

  body {
    font-size: 1.25rem;
  }

  .main-nav {
    margin: 1rem;
    overflow: hidden;
  }

  .main-nav a {
    text-decoration: none;
    color: #000;
    height: 188px;
    width: 48%;
    float: left;
    display: flex;
  }

  .in-shadow {
    display: inline-block;
  }

  #predict_block {
    width: 80%;
    position: absolute;
    background-color: ivory;
    border: 1px solid #000;
  }

  .predict {
    padding: 0 3px;
  }

  header {
    background-color: rgb(98, 140, 85);
    display: flex;
    background: linear-gradient(to bottom, #4c5d71 0%, #3c4049 100%);
  }

  .name {
    color: aqua;
    margin-bottom: 10px;
  }

  #search_block {
    flex: 10;
    padding: 2rem 1rem;
    position: relative;
  }

  .main {
    display: flex;
    flex-direction: row;
  }

  p + img {
    float: left;
    margin: 10px;
  }

  #ads {
    padding: 10px;
    flex: 1;
    border: 1px solid #f1eded;
    height: 620px;
    max-width: 170px;
    min-width: 170px;
  }

  .inads {
    clear: both;
  }

  .img-meaning {
    float: left; /*margin:10px;*/
    margin: 10px 20px 10px 10px;
    width: 330px;
    clear: both;
  }

  .img-ext {
    width: 530px;
    float: right;
  }

  .photo_item {
    text-align: center;
    margin: 5px;
    width: 140px;
    float: left;
    height: 220px;
    font-family: '' !important;
  }

  .distal {
    flex: 1;
  }

  .central {
    display: flex;
    flex-direction: row;
    flex: 20;
  }

  #logo_block {
    flex: 1;
    margin-left: 20px;
    margin-top: 20px;
  }

  #search_block input {
    width: 80%; /*margin-right:10px;*/
  }
}

body {
  box-sizing: content-box;
  margin: 0;
  background-color: ivory;
  background: #f3eeeb;
}

footer {
  background: linear-gradient(to bottom, #4c5d71 0%, #3c4049 100%);
  padding: 1rem;
}

footer a {
  display: block;
  padding: 5px;
  border-radius: 5px;
  color: #fff8f8;
  text-decoration: none;
}

footer a:hover {
  background: #a7ab57;
  cursor: pointer;
}

policy_container > div {
  border-bottom: 1px solid #000;
}

h1, h2, h3, h4, h5 {
  text-align: center;
  font-style: italic;
}

q {
  font-style: italic;
}

.photo_item a {
  text-decoration: none;
  color: #3c4049;
}

.container {
  display: flex;
  flex-direction: column; /*min-width:1200px;*/
  margin: auto;
}

main {
  min-height: 400px;
  /*flex: 4;*/
  padding: 10px;
  /*flex-wrap: wrap;*/
}

.photo_item img {
  background-color: #fff;
  border-radius: 10%;
  width: 140px;
  height: 140px;
}

.r-item img {
  background-color: #fff;
  border-radius: 50%;
  width: 80px;
}

ul {
  clear: right;
}

p {
  text-indent: 2rem;
}

.fb-dist {
  flex: 1;
}

#search_block a {
  display: inline-block;
  text-decoration: none;
  color: #fff8f8;
  border-radius: 5px;
  padding: 5px;
}

#login_btn {
  display: inline-block;
  color: #cfec55;
  cursor: pointer;
  border-radius: 5px;
  padding: 5px;
}

#search_block a:hover {
  background: #a7ab57;
  cursor: pointer;
}

.dictionary-item h3 {
  margin-left: 2rem;
  text-align: left;
}

#my-signin2 {
  margin-top: 20px;
  display: inline-block;
}

/*dream source*/
.dream_source_show {
  border-bottom-color: #b2ef6c !important;
  border-bottom-width: 2px !important;
  color: #000 !important;
}

#dream_source, textarea {
  margin-top: 10px;
  /*color: #7e8a95;*/
  padding: 0 5px;
  font-size: 1.2rem;
  width: 98%;
  border: 0;
  border-bottom: 1px solid #000;
  background: none;
}

#add_dream_btn_block {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

#add_dream_btn_block div {
  margin: 10px;
  padding: 5px;
}

#publish_dream, #publish_dream_cancel {
  background-color: #e0dc61;
  border-radius: 0.2rem;
}

#login_containter {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  z-index: 99;
}

/*offer to share*/
.offer {
  font-weight: bold;
  font-style: italic;
}

/*progress*/
.progress {
  text-align: center;
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  background-color: #bbecc1;
  top: 0;
  /*opacity: 0.6;*/
  z-index: 999;
}

.anim {
  position: relative;
  top: 50%;
}

#publish_dream_cancel + div {
  display: none;
}

.tipbox {
  display: inline-block;
  text-align: center;
}

.tipbox form {
  margin: 20px;
}

.tipbox button {
  width: 100%;
}

.tipbox-container {
  text-align: center;
}

.tipbox-link {
  color: #f1a61f !important;
  font-weight: bold;
}

.store-link {
  color: #cfec55 !important;
  font-weight: bold;
  /*display: none !important;*/
}

/*cabinet*/
.cab_tab {
  display: none;
  position: relative;
}

/*#search_block b*/
.search_block b:hover {
  background: #a7ab57;
}

.cab_nav {
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  color: #fff8f8;
  border-radius: 5px;
  padding: 10px 5px;
}

.offer_msg {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: bold;
}

.pay-logos {
  margin: auto;
  display: flex;
  max-width: 250px;
  justify-content: space-around;
}

.edit-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.status {
  font-weight: bold;
}

.published-date {
  font-weight: bold;
  font-style: italic;
}

.user-block {
  display: flex;
}

/*edit status*/
.status-widjet {
  text-align: center;
  width: 90%;
  padding: 20px;
  position: absolute;
}

.edit-status-container {
  display: inline-block;
  padding: 20px 10px;
  border: 2px solid #336b25;
  border-radius: 5px;
  background-color: #bbecc1;
}

.span-frame {
  border: 1px solid #000;
  border-radius: 5px;
  padding: 5px;
}

#payplace {
  margin: auto;
  text-align: center;
  width: 250px;
}

.reply-to-block {
  background-color: #e2d9cd;
  font-size: smaller;
}

.reply-to-img {
  width: 15px;
  height: 15px;
}

#fc {
  width: 5rem;
  transition-property: width;
  transition-duration: 1s;
}

.cookie-container, .poll-widjet {
  text-align: center;
  min-height: 5rem;
  clear: both;
  border: 1px solid #7b5d5d;
  padding: 1rem;
  margin: 1rem;
  border-radius: 1rem;
  box-shadow: 2px 2px 5px #7b5d5d;
}

#fortune {
  transition-property: opacity;
  transition-duration: 2s;
  opacity: 0;
}

.cflex {
  min-height: 5rem;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.p-answer {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  margin-bottom: 5px;
  text-align: left;
  border-bottom: 1px solid #e4cdcd
}

.user-rate {
  display: inline-block;
  color: #2a5a2b;
}

.user-rate img {
  width: 12px;
}

.my-date {
  float: right;
}

.date-block {
  overflow: hidden;
  padding: 10px;
}

.hint-block {
  position: absolute;
  font-weight: bold;
  background: #c5dcdc;
  border-radius: 10px;
  padding: 5px;
}

[id^="amzn_assoc"] {
  overflow: hidden;
  clear: both;
}

.read {
  background-color: #e4e4d2;
  border: 1px solid #000;
  padding: 5px;
}


/*amz*/
@media screen and (max-width: 640px) {
  .pic, a[rel] > img {
    width: 100%;
    max-width: 400px;
    float: left;
    margin: 10px 10px 10px 0;
    box-shadow: 2px 2px 7px black;
    clear: both;
  }

  a[rel] {
    display: block;
    overflow: hidden;
  }

  .pa-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #b0b4be;
    padding: 10px 5px;
    max-width: 600px;
    margin: 10px 0;
  }

  .pa-item img {
    background-color: #fff;
    width: 100%;
    box-shadow: 2px 2px 7px black;
  }

  .head-img {
    width: 100%;
  }

  .pa-item-info {
    padding: 10px;
  }

}

@media screen and (min-width: 641px) {
  .pic, a[rel] > img {
    width: 100%;
    max-width: 400px;
    float: left;
    margin: 10px 10px 10px 0;
    box-shadow: 2px 2px 7px black;
    clear: both;
  }

  .pa-item {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #b0b4be;
    padding: 10px 5px;
    max-width: 1024px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .pa-item img {
    background-color: #fff;
    width: 95%;
    max-height: 225px;
    box-shadow: 2px 2px 7px black;
  }

  .head-img {
    width: 300px;
  }

  .pa-item-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 98%;
  }
}

.aa {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.pager_inactive {
  opacity: 0.5;
}

.page {
  padding: 10px;
}

.pager {
  background-color: #e4e4e4;
  padding: 5px 10px;
  margin: 10px;
  border-radius: 5px;
  color: black;
  box-shadow: 2px 2px 7px black;
  font-weight: bold;
  font-style: italic;
  background: #FCC;
  margin-left: 7px;
  text-decoration: none;
}

pre {

}

.thumb {
  width: 3rem;
}

button.of-like {
  border-radius: 50%;
}

#map {
  height: 600px;
  margin: 0 0 5px 5px;
}

.map-img {
  float: none;
}

.map-link {
  display: block;
  color: #000;
  font-weight: bold;
}

ins {
  clear: both;
}

.rvkin {
  display: flex;
  flex-direction: row;
  justify-content: end;
  font-style: italic;
  font-weight: bold;
  font-size: smaller;
}

#page-top-point div {
  background-color: #c5ceb8;
}

#preview_list {
  min-height: 600px;
}

/**/
.main {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 10px;
  gap: 10px;
}

.article {
  display: flex;
  flex-direction: column;
}

.Joke {
  display: flex;
  flex-direction: column;
}

.Joke-Content {
  white-space: pre-wrap;
  border: 1px solid #dab3b3;
  padding: 15px;
  background-color: beige;
}

.Joke-Like {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.center {
  display: flex;
  justify-content: center;
}


.JokeImg {
  width: 350px;
  margin: 0 10px 10px 0;
  box-shadow: 2px 2px 7px black;
}

.fb-like-container {
  display: flex;
  flex-direction: row;
  justify-content: end;
}