@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);
@import 'https://fonts.googleapis.com/css?family=Assistant:200,300,400,600,700,800&subset=hebrew';
@import 'https://fonts.googleapis.com/css?family=Lato:400,700';

/*
 * Alef Hebrew (Hebrew) http://www.google.com/fonts/earlyaccess
 */

 @font-face {
     font-family: 'Alef';
     src: url('fonts/Alef-Webfont/Alef-Bold.eot');
     src: url('fonts/Alef-Webfont/Alef-Bold.eot?#iefix') format('embedded-opentype'),
          url('fonts/Alef-Webfont/Alef-Bold.woff') format('woff'),
          url('fonts/Alef-Webfont/Alef-Bold.ttf') format('truetype'),
          url('fonts/Alef-Webfont/Alef-Bold.svg#alefbold') format('svg');
     font-weight: bold;
     font-style: normal;

 }




 @font-face {
     font-family: 'Alef';
     src: url('fonts/Alef-Webfont/Alef-Regular.eot');
     src: url('fonts/Alef-Webfont/Alef-Regular.eot?#iefix') format('embedded-opentype'),
          url('fonts/Alef-Webfont/Alef-Regular.woff') format('woff'),
          url('fonts/Alef-Webfont/Alef-Regular.ttf') format('truetype'),
          url('fonts/Alef-Webfont/Alef-Regular.svg#alefregular') format('svg');
     font-weight: normal;
     font-style: normal;

 }



body, html {
  padding: 0;
  margin: 0;
  height: 100%;
}

body {
  direction: rtl;
  text-align: center;
}

* {
  font-family: Lato, Assistant;
}

a {
    text-decoration: none;
}

#menu {
  background-color: rgba(0, 0, 0, 0.85);
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
  width: 100%;
  position: fixed;
  top: 0;
  height: 60px;
  z-index: 1001;

    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

#menu #container {
  /* max-width: 1000px; */
  padding: 0 20px;
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  bottom: 0;
  margin: 0 auto;
  text-align: center;
}

#menu .logo {
  display: inline-block;
  line-height: 60px;
  float: right;
}

#menu .logo img {
    max-height: 38px;
    margin-top: 14px;
    z-index: 1010;
}

#menu nav {
  margin: 0;
  height: 60px;
  line-height: 60px;
  display: inline-block;
  position: relative;
}

#menu nav a {
  margin: 0;
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.4px;
  font-weight: bold;
  display: inline-block;
  box-shadow: inset 0 0 0 0 white;
  transition: 0.3s;
}

#menu nav li {
    display: inline-block;
}

#menu nav a:hover {
    color: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

#menu nav a.active {
      color: #ffffff;
      box-shadow: inset 0 -3px 0 #ffffff;
      pointer-events: none;
}

#menu nav a.active:hover {
    text-shadow: 0 0 20px rgba(217, 87, 83, 0.5);
}

#menu #userinfo {
      float: left;
      line-height: 60px;
      cursor: pointer;
      display: inline-block;
      -webkit-backface-visibility: hidden;
      -webkit-perspective: 1000;
}

#menu #login {
    float: left;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    background: #4b72d4;
    color: white;
    position: relative;
    padding: 15px 20px 17px 20px;
    box-shadow: 0 0 30px rgba(59, 87, 157, 0.7);
}

#menu #login:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: -7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 7px 7px;
    border-color: transparent transparent transparent #3d5aa2;
}

#menu #login:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: -7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 7px 7px 0;
    border-color: transparent #3d5aa2 transparent transparent;
}

#menu #login p {
    margin: 0;
    font-weight: 600;
    font-size: 11px;
    opacity: 0.5;
}

#menu #userinfo .userimg {
  height: 40px;
  width: 40px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.2);
  display: inline-block;
  background-size: cover;
  vertical-align: middle;
  background-position: 50% 50%;
}

#menu #userinfo .username {
  display: inline-block;
  color: white;
  margin-left: 10px;
}

#menu .popup {
  position: absolute;
  top: 70px;
  width: 250px;
  left: 5px;
  z-index: 1500;
}

.popup {
    box-shadow: 0 17px 50px 0 rgba(0,0,0,.19),0 12px 15px 0 rgba(0,0,0,.24);
    display: none;
    border-radius: 5px;
    background: white;
}

#menu .usermenu * {
  display: block !important;
}

#menu .usermenu .name {
  background: #d95753;
  position: relative;
  color: white;
  border-radius: 5px 5px 0 0;
  line-height: 250px;
  background-size: cover !important;
  text-shadow: 0px 2px 0 black, 0 0 10px black;
}

#menu .popup a {
  color: rgba(0, 0, 0, 0.8);
  text-align: right;
  line-height: 45px;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: inset 0 0 0 #d95753;
  text-align: center;
  display: block;
}

#menu .popup a:hover {
    box-shadow: inset -5px 0 0 #d95753, inset 5px 0 0 #d95753;
    color: #d95753;
}

#menu .usermenu a[onclick="logoutUser();"] {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0 0 5px 5px;
}

#menu .usermenu a[onclick="logoutUser();"]:hover {
    box-shadow: inset -5px 0 0 #d95753, inset 5px 0 0 #d95753;
    color: #d95753;
}

#menu .popup a[href="signup.php"] {
    color: #d95753;
    font-weight: bold;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
}



#menu .upload {
    /* text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3), 0px 5px 10px rgba(0, 0, 0, 0.3); */
    display: inline-block;
    color: #64eae5;
    transition: 0.2s;
}

#menu .upload:hover {
    box-shadow: inset 0 -3px 0 #64eae5;
    color: #64eae5;
    text-shadow: 0 0 20px rgba(100, 234, 229, 0.5);
}

#closemenu { /* X */
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    color: white;
    z-index: 900;
    cursor: pointer;
}

body {
    background: url('images/noisy-texture-100x100-o4-d10-c-f0f0f0-t0.png') fixed;
    /*background: #f5f5f5; */
}

/* PAGE */
#pagecontent {
    width: 1000px;
    margin: 60px auto;
    display: inline-block;
    padding: 20px;
    height: auto !important;
    height: 100%;
    min-height: calc( 100% - 100px ); /* SUM OF MARGIN-TOP 60, PADDING-TOP 20, PADDING-BOTTOM 20 */
    margin-bottom: -80px;
}

@media only screen and (max-width: 1050px) {
    #pagecontent {
        width: calc(100% - 40px);
    }
}

@media only screen and (max-width: 925px) {
    #like.floating-like {
        display: none !important;
    }
}

#pagecontent #stats .hideShadow:not(.popular) {
    box-shadow: none;
}

#pagecontent div#stats-container {
    float: left;
    display: -webkit-box;
    width: 330px;
}

#pagecontent #stats {
    width: 330px;
    line-height: 0;
}

#pagecontent #stats.sticky {
    position: fixed;
    top: -650px;
}
#pagecontent #stats.sticky.guest {
    top: -548px;
}

#stats.postpagestats {
    /* position: fixed; */
}

#pagecontent #stats > div {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 20px;
    display: inline-block;
    margin: 20px 0;
    overflow: hidden;
    line-height: normal;
}

#pagecontent #stats .topposters {
    position: relative;
    padding: 0;
    display: block;
}

#pagecontent #stats .topposters .bigview {
    display: table-cell;
    background: #ed8174;
    vertical-align: middle;
    padding: 20px;
    text-align: center;
    border-radius: 0 3px 3px 0;
}

#pagecontent #stats .topposters .bigview:after {
    content: "";
    background: url(images/pedobear.png);
    position: absolute;
    bottom: 10px;
    right: 0;
    display: block;
    width: 27px;
    height: 44px;
    background-size: cover;
}

#pagecontent #stats .topposters .bigview h1, #pagecontent #stats .topposters .bigview h2  {
    margin: 0;    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    color: white;
}

#pagecontent #stats .topposters .bigview h1 {
    font-size: 44px;
    font-weight: 400;
}

#pagecontent #stats .topposters .bigview h2 {
    margin-top: -15px;
    font-size: 18px;
    font-weight: 600;
}

#pagecontent #stats .topposters .list {
    display: table-cell;
    padding: 10px 20px;
    list-style-type: none;
    vertical-align: middle;
    width: 100%;
}

#pagecontent #stats .topposters .list li {
    margin: 10px 0;
    text-align: right;
    position: relative;
    transition: 0.3s;
}

#pagecontent #stats .topposters .list li a {
    display: inline;
    margin: 5px 10px;
    color: black;
    font-weight: bold;
    font-size: 14px;
}

#pagecontent #stats .topposters .list li .userimage {
    height: 50px;
    width: 50px;
    background-size: cover;
    vertical-align: middle;
    display: inline-block;
    background-position: 50% 50%;
    border-radius: 100%;
    transition: 0.3s;
    box-shadow: inset 0 0 0 2px white;
}

#pagecontent #stats .topposters .list li .userimage:hover {
    transform: scale(1.1);
}

#pagecontent #stats .topposters .list .userimage {
    position: relative;
}

#pagecontent #stats .topposters .list .userimage::before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    margin: auto;
    display: block;
    border-radius: 100%;
    z-index: 1;
}

#pagecontent #stats .topposters .list .userimage::after {
    content: "";
    text-align: center;
    height: 20px;
    width: 20px;
    position: absolute;
    bottom: -2px;
    box-shadow: 0 0 0 2px white;
    display: block;
    border-radius: 100%;
    right: -2px;
}

#pagecontent #stats .topposters .list .userimage .number {
    z-index: 2;
    font-size: 14px;
    position: absolute;
    bottom: 0px;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    right: 4px;
    color: white;
}

#pagecontent #stats .topposters .list p.score {
    position: absolute;
    top: 17px;
    margin: 0;
    font-weight: 600;
    left: 0;
    font-size: 10px;
    color: rgba(0, 0, 0, 0.3);
}

#pagecontent #stats .topposters .list .first a {color: #f39c12;}
#pagecontent #stats .topposters .list .first .userimage::before {box-shadow: 0 0 0 2px #f39c12;}
#pagecontent #stats .topposters .list .first .userimage::after {background: #f39c12;}

#pagecontent #stats .topposters .list .second a {color: #a9a8a6;}
#pagecontent #stats .topposters .list .second .userimage::before {box-shadow: 0 0 0 2px #a9a8a6;}
#pagecontent #stats .topposters .list .second .userimage::after {background: #a9a8a6;}

#pagecontent #stats .topposters .list .third a {color: #a46628;}
#pagecontent #stats .topposters .list .third .userimage::before {box-shadow: 0 0 0 2px #a46628;}
#pagecontent #stats .topposters .list .third .userimage::after {background: #a46628;}

#overlay {
    position: fixed;
    display: none;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#stats .bigview {
    color: white;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    text-align: right;
    padding: 10px 20px;
    border-radius: 3px 3px 0 0;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.15);
}

#stats .bigview:before {
    font-family: FontAwesome;
    font-weight: normal;
    font-size: 45px;
    position: absolute;
    transform: rotate(-30deg);
    text-shadow: none;
    top: 0;
    left: 0;
    color: black;
    opacity: 0.15;
}


/* FACEBOOK */

#stats .facebook {
    padding: 0 !important;
}

#stats .facebook .bigview {
    background-color: #3b579d;
}

#stats .facebook .bigview:before {
    content: "\f230";
    transform: rotate(-10deg);
    opacity: 0.3;
}

#stats .facebook .iframe {
    padding: 20px;
}

/* ADS */

#stats .ads {
    padding: 0 !important;
    padding-bottom: 10px !important;
}

.ads a {
    display: inline-block;
    width: 100%;
}

#stats .ads .bigview {
    background-color: #7db620;
}

#stats .ads .bigview:before {
    content: "\f0d6";
}

#stats .ads img {
    padding: 15px 0;
}

#stats .ads img + img{
    padding-top: 0;
}

#stats .ads img:last-child {
    padding-bottom: 10px;
}

/* POPULAR */

#stats .popular {
    padding: 0 !important;
    width: 100%;
}

#stats .popular .bigview {
    background-color: #ffa201;
}

#stats .popular .bigview:before {
    content: "\f1e2";
    transform: none;
    top: 5px;
    left: -2px;
}

#stats .popular .body .post {
    display: table;
    width: 100%;
    margin: 0;
}

#stats .popular .body .post div {
    display: table-cell;
    height: 170px;
    background-size: cover !important;
    vertical-align: bottom;
    color: white;
    text-align: right;
    font-weight: bold;
    margin
    font-size: 15px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    padding: 10px;
}

#stats .popular .body a + a {
    margin-top: 2px;
    display: block;
}

#stats .popular .body a:last-child div div {
    border-radius: 0 0 3px 3px;
}

/* POSTS */

#posts {
    width: 460px;
    float: right;
}

.post {
    background: white;
    margin: 20px 0 40px 0;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    position: relative;

}

#posts .post {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.post h1 {
    font-size: 18px;
    text-align: right;
    padding: 10px 20px 0 20px;
    color: black !important;
    word-wrap: break-word;
}

.post .actions {
    text-align: right;
    display: inline-block;
    width: calc(100% - 40px);
    padding: 13.5px 20px;
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    /* padding-top: 14px; */
    border-radius: 0 0 3px 3px;
}

.post .actions *:not(i) {
    display: inline-block;
    -webkit-margin-before: 0em;
    margin: 0;
    -webkit-margin-after: 0em;
    vertical-align: top;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
}

.postPage .post .actions *:not(i) {
    vertical-align: middle !important;
}

.postPage .fb-comments {
    margin-bottom: 15px;
}

.post .actions p {
    margin-left: 30px;
    direction: ltr;
}

.post .actions .time {
    direction: rtl;
}

.post .actions i, .post #like {
    display: inline-block;
    /* font-size: 20px; */
    color: rgba(0, 0, 0, 0.3);
    margin-left: 5px;
    transition: 0.15s;
    /* cursor: pointer; */
    vertical-align: text-bottom;
}

.post .actions i.selected, .post i.selected {
    color: #d95753 !important;
}

@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    transform: scale3d(.3, .3, .3);
  }

  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    transform: scale3d(.9, .9, .9);
  }

  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    transform: scale3d(.97, .97, .97);
  }

  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

body .post #like.floating-like.selected {
    animation: bounceIn 1s 1;
}

.post i#like {
    cursor: pointer;
}

.post i#like:active {
    transform: scale(0.8);
    transition: 0.1s;
}

.post .actions a i:hover {
    color: rgba(0, 0, 0, 0.6);
}

.post .actions a.userinfo {
    float: left;
}

.postPage .post .actions a.userinfo {
    float: none !important;
    position: absolute;
    left: 2px;
    bottom: -2px;
}

.postPage .post .actions {
    padding: 0 20px;
    position: absolute;
    padding-top: 0;
    /* border-radius: 0; */
    height: 52px;
    line-height: 52px;
}

.postPage .post .actions.normal {
    margin-bottom: 0;
}

/* .post .actions .userpic {
    height: 40px;
    width: 40px;
    border-radius: 3px 0 100% 0;
    background-size: cover !important;
    vertical-align: middle;
    position: absolute;
    top: 0;
    left: 0;
} */

.post .actions .userpic {
    height: 40px;
    width: 40px;
    border-radius: 100%;
    background-size: cover !important;
    vertical-align: middle;
    position: absolute;
    bottom: 3px;
    left: 3px;
    background-position: 50% 50% !important;
}

.post .actions h6.username {
    padding-left: 30px;
}

#posts.postPage .post .deletepost {
    color: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    display: inline-block;
    background: rgba(0, 0, 0, 0.1);
    margin: 10px;
    border-radius: 3px;
}

#posts.postPage .post .deletepost i {
    margin-left: 5px;
    vertical-align: middle;
}

.post img {
    width: 100%;
    /* border-radius: 0 0 5px 5px; */
    vertical-align: bottom;
}

.post .image {
    position: relative;
}

.post .gifOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: table;
    margin: auto;
}

.post .gifOverlay .gifButton {
    display: inline;
    vertical-align: middle;
    padding: 25px;
    border-radius: 100%;
    background: white;
    box-shadow: 0 17px 50px 0 rgba(0,0,0,.19),0 12px 15px 0 rgba(0,0,0,.24);
    font-weight: bold;
    color: #ff6347;
    font-size: 18px;
    transition: 0.6s cubic-bezier(0.3, 0, 0, 1);
}

.post .gifOverlay:hover .gifButton {
    padding: 20px;
    font-size: 15px;
}

#pagecontent #stats .upload {
    background: #3498DB;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 20px 0;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3), 0px 5px 10px rgba(0, 0, 0, 0.3);
    display: inline-block;
    color: white;
    margin: 20px 0;
    width: 100%;
    line-height: normal;
    transition: 0.2s;
}

#pagecontent #stats .upload:hover {
    background: #2980B9;
    letter-spacing: 1px;
}

/* POSTPAGE */

#posts.postPage {
    /* margin: 0 auto; */
    width: 600px;
    /* float: none; */
}


#posts.postPage .post img {
    width: 100%;
    cursor: zoom-in;
    border-radius: 0 0 3px 3px;
}

#posts.postPage .post .actions .userpic {
    position: relative;
    border-radius: 100%;
    margin-right: 10px;
}

#posts.postPage .post .actions h6.username {
    direction: ltr;
    padding-left: 0;
}

#posts.postPage .post {
    margin: 20px 0;
}

#posts.postPage .post-source {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
    text-align: right;
    word-wrap: break-word;
}

#posts.postPage .post-source b {
    color: rgba(0, 0, 0, 0.8);
}

#postnav {
    display: table;
    width: 100%;
    border-spacing: 10px;
}

#postnav div {
    display: table-cell;
    background: #d95753;
    border-radius: 3px;
    color: white;
    padding: 20px;
    margin: 10px;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 0 0 #d95753;
}

#postnav div:hover {
    /* box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); */
    box-shadow: 0 0 0 2px #d95753, 0 3px 10px rgba(0, 0, 0, 0.2);
}

#postnav .disabled {
    cursor: auto;
    pointer-events: none !important;
}

#postnav .disabled div {
    background: transparent;
    color: rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}

#postnav i {
    margin: 0 8px;
    vertical-align: text-bottom;
}

#postView {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1003;
    overflow-y: auto;
    display: none;
    white-space: nowrap;
    cursor: zoom-out;
}

#postView img {
    vertical-align: middle;
    max-width: 90%;
    box-shadow: 0 17px 50px 0 rgba(0,0,0,.19),0 12px 15px 0 rgba(0,0,0,.24);
}

#postView .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#postView .info {
    position: fixed;
    bottom: 5px;
    left: 5px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

body::-webkit-scrollbar {
    background-color: rgba(0, 0, 0, 0.86);
    background: url(images/blacknoise.png);
    width: 10px;
}

body::-webkit-scrollbar-thumb {
    background: #D95753;
}

body::-webkit-scrollbar-button:vertical:decrement {
    height: 60px;
    background: #232323;
}

body::-webkit-scrollbar-button:vertical:increment {
    height: 80px;
    background: url(images/blacknoise.png);
}

#postView::-webkit-scrollbar {
    background: rgba(0, 0, 0, 0.1);
    width: 10px;
}

#postView::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
}

::selection {
    background: #d95753;
    color: white;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
}

#uploadPost input {
    color: rgba(0, 0, 0, 0.8);
    transition: 0.3s;
    /* box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2); */
    border-radius: 4px;
    text-align: center;
    display: block;
    border: 0;
    width: 300px;
    outline: 0;
    font-size: 16px;
    padding: 15px 0;
    margin: 10px auto;
}

#uploadPost input#source {
    font-size: 14px;
    font-weight: 600;
}

#uploadPost label .fa {
    vertical-align: middle;
    margin-left: 20px;
}

#uploadPost input#file {
    width: 0.1px;
    padding: 0;
    height: 0.1px;
    opacity: 0;
    position: absolute;
    overflow: hidden;
    z-index: -1;
}

#uploadPost input#file + label {
    /* cursor: pointer;
    background: #d95753;
    padding: 15px 25px;
    display: inline-block;
    color: white;
    margin: 10px;
    min-width: 250px;
    border-radius: 4px; */
    cursor: pointer;
    height: auto;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.05);
    padding: 15px 25px;
    display: inline-block;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 600;
    margin: 10px;
    /* min-width: 250px; */
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

#uploadPost input#file:focus + label {
    background: #A74643;
}

#menu .popup.login {
    background: #E6E6E6;
}

#menu .login #closemenu {
    color: rgba(0, 0, 0, 0.8);
}

#uploadPost input[type="submit"] {
    display: block;
    cursor: pointer;
    margin: 10px auto;
    border: 0;
    background: #2ECC71;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    outline: 0;
    width: 300px;
    box-shadow: none;
    transition: 0.2s;
}

#uploadPost input[type="submit"].loading {
    pointer-events: none;
    background: rgb(208, 208, 208);
    color: rgba(0, 0, 0, 0.51);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

#uploadPost input[type="submit"]:hover, #uploadPost input[type="submit"]:focus {
    background: #27AE60;
}

#uploadPost input[type="submit"]:active {
    background: #256540;
}

#deleteProfilePicture input[type="submit"] {
    display: block;
    cursor: pointer;
    margin: 10px auto;
    border: 0;
    background: #B9B9B9;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    outline: 0;
    width: 200px;
    box-shadow: none;
    transition: 0.2s;
}

#deleteProfilePicture input[type="submit"]:hover, #deleteProfilePicture input[type="submit"]:focus {
    background: #A5A5A5;
}

#deleteProfilePicture input[type="submit"]:active {
    background: #808080;
}

div#uploadError {
    box-shadow: 0 0 0 1px #d95753, 0 0px 20px rgba(217, 87, 83, 0.26);
    padding: 0 10px;
    border-radius: 4px;
    margin-top: 10px;
    background: #F7F7F7;
    display: none;
    margin-bottom: 20px;
}

#uploadError h1 {
    margin: 0;
    font-size: 16px;
    border-bottom: 1px solid #d95753;
    color: #d95753;
    padding: 10px 20px;
    min-width: 240px;
}

#uploadError h6, #uploadError h5, #uploadError h4, #uploadError h3, #uploadError h2, #uploadError p {
    margin: 15px;
    display: none;
    font-weight: bold;
    font-size: 13px;
}

form .title-counter {
    position: absolute;
    bottom: 1px;
    left: 3px;
    font-size: 12px;
    color: rgba(0,0,0,0.6);
}

.post .actions.normal {
    position: relative;
    /* margin-top: -5px; */
    margin-bottom: -6px;
}

.postPage .post .actions.normal {
    margin-top: 0;
    bottom: 0;
}

.post .click-to-full {
    display: inherit;
    max-height: 300px;
    overflow: hidden;
    transition: 0.5s;
}

.post .click-to-full:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 300px;
    background: linear-gradient(rgba(255, 255, 255, 0.298039), rgba(0, 0, 0, 0.498039));
    border-radius: 0 0 3px 3px;
}

.post .click-to-full:after {
    content: "לחץ כאן כדי לראות את הפוסט המלא";
    position: absolute;
    width: 100%;
    bottom: 46px;
    right: 0;
    display: block;
    color: white;
    font-weight: bold;
    background: rgba(0,0,0,0.35);
    padding: 10px 0;
}

.postPage .post .click-to-full {
        cursor: zoom-in;
        position: relative;
}

.post > .container {
    position: relative;
    padding-bottom: 6px;
}

.postPage .post > .container {
    padding-bottom: 0;
}

/* MOBILE SUPPORT */

#menu-button {
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    cursor: pointer;
    z-index: 1010;
    padding: 19px 20px 20px 20px;
    -webkit-tap-highlight-color: rgba(217, 87, 83, 0.2);
}

#mobile #menu-button {
    display: block;
}

#menu-button .bar1, #menu-button .bar2, #menu-button .bar3 {
    width: 22px;
    height: 2px;
    margin: 4px 0;
    display: block;
    transition: 0.7s cubic-bezier(0.3, 0, 0, 1);
    background: white;
}

.toggle .bar1 {
    transform: rotate(45deg) translate(4.5px, 4px);
	background-color: black;
}

.toggle .bar2 {
    transform: scaleX(0);
	background-color: black;
}

.toggle .bar3 {
    transform: rotate(-45deg) translate(4px, -4px);
	background-color: black;
}

#mobile #menu-button.toggle + #all-menu-elements {
    transform: translateY(0);
}

body#mobile #all-menu-elements {
    transform: translateY(-500px);
}

#mobile #posts {
    width: 100%;
}

#mobile #pagecontent {
    width: 100%;
    padding: 20px 0;
}

#mobile #menu .logo {
    position: absolute;
    left: 0;
    right: 0;
}

#mobile #menu #container {
    padding: 0;
    top: 0;
}

#mobile #all-menu-elements {
    background: rgba(20, 20, 20, 0.9);
    top: 60px;
    position: absolute;
    /* box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2); */
    width: 100%;
    z-index: 1000 !important;
    display: block !important;
    border-radius: 0 !important;
}

#mobile #menu nav a {
    display: block;
}

#mobile #menu #userinfo {
    display: block;
    float: none;
    box-shadow: 0 -1px 0 0 rgba(255, 255, 255, 0.1);
}

#mobile #menu .popup {
    left: 0;
    right: 0;
    margin: 0 auto;
}

#mobile #stats.postpagestats {
    position: relative;
}

#mobile #pagecontent div#stats-container {
    float: none;
    display: inline-block;
    width: 100%;
}

#mobile #menu nav {
    height: auto;
}

#mobile #menu .logo img {
    max-height: 38px;
    margin-top: 14px !important;
    z-index: 1010;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#mobile #menu nav {
    line-height: 48px;
    width: 100%;
}

#mobile .post #like.floating-like {
    display: block !important;
    position: static;
    bottom: auto;
    left: 0 !important;
    width: auto;
    background: #f9f9f9 !important;
    padding: 20px;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 0 10px 0;
}

#mobile .post #like.floating-like.selected {
    color: white !important;
    background: #d95753 !important;
}

#mobile .post #like.floating-like:after {
    display: none;
}

#mobile #stats .upload,
#mobile #stats .topposters,
#mobile #stats .facebook,
#mobile #stats .popular,
#mobile #stats .last-likes,
#mobile #stats .ads {
    display: none;
}

#mobile #postnav div {
    display: inline-block;
    width: 66px;

}

#mobile #stats .userview {
    margin: 20px 0 0 0;
    height: 100vw;
    border-radius: 0;
}

#mobile #pagecontent #stats {
    width: auto;
}

#mobile .post {
    border-radius: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
    width: 100%;
}

#mobile .postPage .post .actions {
    padding: 0 10px;
}

#mobile .post .actions {
    padding: 3px 10px;
    width: calc(100% - 20px);
    border-radius: 0;
    height: calc(200 * 100vw / 2311);
    line-height: calc(200 * 100vw / 2311);

}

#mobile .post .actions .userpic {
    display: none;
}

#mobile .post .actions h6.username {
    padding-left: 0;
}

#mobile .post .actions *:not(i) {
    font-size: 13px;
    bottom: auto;
}

#mobile .post .actions i, #mobile .post #like {
    margin-left: 2px;
    vertical-align: text-bottom;
}

#mobile .post .actions p {
    margin-left: 15px;
}

#mobile #menu nav a {
    box-shadow: inset 0 0 0 rgb(217, 87, 83);
}

#mobile #menu nav a.active {
    color: #ffffff;
    font-size: 15px;
    box-shadow: inset 0 -48px 0 rgba(255, 255, 255, .15);
    pointer-events: none;
}

#mobile #menu nav a:hover {
    color: #ffffff;
    box-shadow: inset 0 -48px 0 rgb(217, 87, 83);
    text-shadow: 0 0 20px rgb(255, 255, 255);
}

#mobile #menu .upload {
    box-shadow: inset 0 0 0 0 #64eae5;
}

#mobile #menu .upload:hover {
    box-shadow: inset 0 -48px 0 #64eae5;
    color: black;
    text-shadow: 0 0 20px rgb(255, 255, 255);
}


#mobile #menu #login {
    float: none;
    width: 100%;
    padding: 15px 0;
    box-shadow: none;
}

#mobile #footer .info {
    width: 100%;
    display: table;
}

#mobile #footer .homepage-link {
    display: block;
}

#mobile #footer .info a {
    display: table-cell;
}

#mobile #menu a.search-icon {
    display: none !important;
}

#mobile #menu .searchbar {
    position: static;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
    display: block;
    margin-top: 0;
    box-shadow: none;
    line-height: 60px;
}

#mobile #menu .searchbar button {
    color: rgba(255, 255, 255, 0.4);
}

#mobile #choose-mode div, #mobile #choose-mode a {
    display: block;
    margin: 20px 0px;
    border-radius: 0px;
    width: auto;
}

#mobile #choose-mode .selected {
    transform: none;
    padding: 20px 20px;
    text-shadow: 0 0 50px;
}

#mobile #menu .usermenu .name {
    line-height: 80px;
}

#mobile #menu .searchbar input {
    width: 50%;
    font-size: 14px;
    color: white;
}

#mobile #meme-options {
    display: block;
}

#mobile #meme-options > div {
    display: block;
    margin: 0 auto;
}

#mobile #meme-options #finish {
    display: block;
}

#mobile #meme-options canvas#c {
    width: 100%;
}

#mobile .card .template form > * {
    display: block;
    margin: 5px auto;
    width: 50%;
}

#mobile .card.wide .template {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#mobile .card .template img {
    /* width: 50%; */
}

#mobile .card .template button {
    display: inline-block;
    margin: 10px 5px;
}

#mobile .card .template .controls {
    width: auto;
}

#mobile #scroll-to-top {
    display: none !important;
}

#mobile h5.online-users {
    display: none;
}

#mobile h6.online-status {
    margin: 0;
    border-radius: 0;
}

/*  END MOBILE ------------------------- */

#stats .userview {
    width: 100%;
    height: 330px;
    overflow: hidden;
    background-size: cover !important;
    background-position: 50% 50% !important;
    padding: 0 !important;
    position: relative;
}

#stats .userview .userprofile {
    display: inline-block;
    vertical-align: middle;
}

#stats .userview .userprofile .image {
    height: 100px;
    margin: 0 auto;
    border-radius: 100%;
    background-size: cover !important;
    background-position: 50% 50% !important;
    width: 100px;
}

#stats .userview .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#stats .userview .userprofile h3 {
    color: white;
}

#stats .last-likes {
    padding: 0 !important;
    width: 100%;
}

#stats .last-likes .post {
    box-shadow: none;
    margin: 0;
    padding: 10px;
    border-radius: 0 0 3px 3px;
}

#stats .userview i {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0 3px 0 5px;
    background: rgba(0, 0, 0, 0.15);
    padding: 10px;
    color: gold;
}

#stats .userview i.banned-user {
    color: rgba(255, 255, 255, 0.7);
}

#stats .userview i:after {
    content: "מנהל";
    font-family: Assistant;
    font-size: 13px;
    margin-right: 5px;
}

#stats .userview i.banned-user:after {
    content: "מורחק מהאתר";
}

#stats .userview i.respect {
    color: #ffb7f2;
}

#stats .userview i.respect:after {
    content: "משתמש כבוד";
}

#stats .userview i:before {
    vertical-align: middle;
}

#stats .userview i.basta {
    background: #08C1C6;
    color: white;
    font-style: normal;
    box-shadow: 0 0 0 2px white;
    border-radius: 0 0 0 3px;
}

#stats .userview i.basta:after {
    content: "חבר בבסטה";
    vertical-align: top;
    margin-top: 1px;
    display: inline-block;
}

#stats .userview i.basta:before {
    content: "";
    width: 37px;
    display: inline-block;
    height: 12px;
    background-size: contain;
    background-image: url("/images/mustache.png");
    /* background-position: 50% 50%; */
    background-repeat: no-repeat;
}

#stats .last-likes h4 {
    margin: 20px 0 10px 0;

}

#stats .last-likes a + a .post {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#stats .last-likes .image {
    height: 50px;
    width: 50px;
    background-position: 50% 50% !important;
    display: table-cell;
    background-size: cover !important;
    border-radius: 4px;
}

#stats .last-likes .text {
    display: table-cell;
    padding: 0 10px;
    font-size: 14px;
    color: rgba(0, 0 ,0, 0.8);
    text-align: right;
}

#stats .last-likes .text span {
    font-weight: 700;
    color: #D95753;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    padding: 0px 3px;
}

#stats .last-likes .text span:before {
    font-family: FontAwesome;
    font-size: 12px;
    margin-right: 2px;
    content: "\f004";
}

#stats .userview .date {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    color: rgb(255, 255, 255);
    font-size: 11px;
    font-weight: bold;
}

.post .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.post .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(images/imagepreview.png);
    background-size: cover;
    background-position: 50% 50%;
}

#posts .post .video-container iframe {
    background: url(images/video.png) 50% 50%;
}

body:not(#mobile) .post #like.floating-like {
    position: absolute;
    bottom: 30px;
    left: -75px;
    font-size: 30px;
    background: white;
    padding: 20px 14px 16px 14px;
    border-radius: 100%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.post #like.floating-like:active {
    transform: scale(1);
}

body:not(#mobile) .post #like.floating-like:active {
    /* box-shadow: 0 0px 0 10px rgba(0, 0, 0, 0.1) !important; */
    transform: scale(0.9);
}

.post #like.floating-like:after {
    content: "";
    height: 20px;
    border-radius: 100%;
    width: 20px;
    background: rgb(255, 255, 255);
    display: block;
    position: absolute;
    bottom: -65px;
    top: 0;
    opacity: 0.75;
    right: -8px;
    margin: auto;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

div#footer {
    background: url(images/blacknoise.png);
    padding: 15px;
    height: 50px;
}

#footer .credit-text {
    height: 30px;
}

#footer  a {
    color: white;
    opacity: 0.6;
    font-size: 13px;
    transition: 0.2s;
    margin: 0 20px;
}

#footer a:hover {
    opacity: 0.9;
}

div#pagecontent:after {
    content: "";
    height: 78px;
    display: block;
    width: 100%;
    float: left;
}

.about .paragraph {
    text-align: right;
    max-width: 500px;
    margin: 0 auto;
    padding:  10px 20px;
    margin-bottom: 30px;
    font-size: 16px;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    /* white-space: pre-line; */
}

.about.terms .paragraph {
    max-width: 800px;
}

.about .paragraph h1 {
    margin: 0;
    font-size: 16px;
    color: #d95753;
}

/* .about .paragraph p {
    white-space: pre-line;
} */

.keyboardkey {
    width: 30px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    vertical-align: middle;
    font-family: "Lucida Console", Assistant;
    margin: 5px;
    transition: 0.2s;
    box-shadow: 0 2px 0 2px #B14845;
    background: #d95753;
    color: white;
    border-radius: 5px;
}

.keyboardkey:hover {
    box-shadow: 0 0px 0 2px #9C4442;
    transform: translateY(2px);
    background: #B14845;
}

.keyboardkey:active {
    box-shadow: 0 0px 0 2px #000000;
    transform: translateY(2px);
    background: #232323;
}

.about li {
    margin: 5px 0;
}

.about img {
    height: 50px;
    opacity: 0.7;
    margin: 30px 0 0 0;
}

.post.upload-preview {
    width: 460px;
    margin: 0 auto;
}

.post.upload-preview .actions h6.username {
    float: left;
}

.post.upload-preview .actions i {
    vertical-align: middle;
}

.post.upload-preview .actions {
    position: static;
}

.post.upload-preview img {
    border-radius: 0;
    cursor: pointer;
}

.post.upload-preview > .container {
    padding-bottom: 0;
}

#uploadPost input[type="text"] {
    width: 100%;
    margin: 0;
    padding: 15px 20px;
    text-align: right;
    font-weight: bold;
}

#uploadPost .title-container {
    display: block;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#choose-mode div, #choose-mode a {
    width: 100px;
    background: #ffffff;
    display: inline-block;
    margin: 15px 5px;
    border-radius: 3px;
    cursor: pointer;
    padding: 15px 20px;
    transition: 0.2s;
}

#choose-mode .youtube {
    color: #D95753;
    background: #ffefef;
    box-shadow: 0 0 0 1px #D95753;
}

#choose-mode .url {
    color: #27AE60;
    box-shadow: 0 0 0 1px #27AE60;
    background: #f2fff7;
}

#choose-mode .image {
    color: #2980B9;
    box-shadow: 0 0 0 1px #2980B9;
    background: #ecf8ff;
}

#choose-mode a {
    color: #8E44AD;
    box-shadow: 0 0 0 1px #8E44AD;
    background: #fdf7ff;
}

#choose-mode div i, #choose-mode a i {
    vertical-align: middle;
    display: block;
    margin: 0 auto;
}

#upload {
    display: none;
}

#choose-mode .selected {
    transform: scale(1.142);
    pointer-events: none;
}

div#image-info {
    position: absolute;
    font-size: 12px;
    top: 10px;
    cursor: pointer;
    border-radius: 10px;
    right: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 0;
}

form.video #link {
    position: absolute;
    font-size: 12px;
    bottom: 56px;
    border-radius: 10px;
    right: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    width: calc(100% - 20px);
}

form.url #url {
    position: absolute;
    font-size: 12px;
    top: 10px;
    border-radius: 10px;
    right: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    width: calc(100% - 20px);
}

/* input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 100px white rgba(0, 0, 0, 0.6) !important;
} */

form.url .post.upload-preview img {
    cursor: auto;
}

h1.title {
    font-size: 18px;
    border-bottom: 1px solid #b1b1b1;
    width: auto;
    margin: 0 auto;
    margin-bottom: 25px;
    padding: 10px 20px;
    display: table;
    color: #585858;
}

.card {
    background: white;
    display: inline-block;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 5px;
    position: relative;
    vertical-align: top;
}

.card.wide {
    display: block;
}

.card.wide p.total {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    color: rgba(0, 0, 0, 0.4);
}

.card.wide .template {
    display: table;
    table-layout: fixed;
    width: 100%;
    border-spacing: 10px;
}

.card.wide textarea {
    padding: 6px 10px;
    border: 0;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    transition: 0.2s;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    outline: 0;
}

.pane {
    display: none;
}

.card.wide textarea:focus {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.card .template img {
    display: table-cell;
    width: 100%;
    border-radius: 3px;
    vertical-align: top;
}

.card .template form {
    display: table-row !important;
}

.card .template form > * {
    display: table-cell;
    font-size: 16px;
    color: rgba(0, 0 ,0, 0.8);
    text-align: right;
    vertical-align: middle;
}

.card .template .controls {
    width: 10%;
    text-align: center;
    vertical-align: bottom;
}

.card .controls button {
    height: 33px;
    width: 32px;
    padding: 0;
    cursor: pointer;
    box-shadow: inset 0 -2px rgba(0, 0, 0, 0.3);
    border-radius: 33px;
    margin: auto;
    display: block;
    color: white;
    background: #53c0d9;
    margin-top: 10px;
    border: 0;
    outline: 0;
    transition: 0.15s;
}

.card .controls button:active {
    box-shadow: inset 0 0 rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
    -webkit-filter: brightness(0.9);
}

.card .controls button[name="reject"] {
    background: #D95753;
}

.card .controls button[name="keep"] {
    background: #F39C12;
}

.card .controls button[name="approve"] {
    background: #27AE60;
}

.card .controls p {
    font-size: 14px;
    display: block;
    margin: 0 auto;
    word-wrap: break-word;
    text-align: center;
    font-weight: 600;
}

.card .controls p.id {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}

.card input[type="text"], .card input[type="number"] {
    padding: 6px 10px;
    border: 1px solid rgba(0, 0 ,0, 0.15);
    border-radius: 3px;
    outline: 0;
    transition: 0.2s;
}

.card input[type="text"]:focus, .card input[type="number"]:focus {
    border-color: rgba(0, 0, 0, 0.35);
}

.card button {
    background: #f5f5f5;
    padding: 5px 10px;
    border: 1px solid rgba(0, 0 ,0, 0.2);
    border-radius: 3px;
    transition: 0.2s;
    outline: 0;
    cursor: pointer;
}

.card button:active {
    background: #f0f0f0;
    border-color: rgba(0, 0, 0, 0.35);
}

#menu .searchbar {
    margin-top: 10px;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    position: absolute;
    left: -20px;
    line-height: 40px;
    top: 60px;
    display: none;
}

#menu .searchbar form {
    margin: 0;
}

#menu .searchbar input {
    padding: 0 20px;
    line-height: 40px;
    border: 0;
    background: transparent;
    outline: 0;
    width: 230px;
    border-radius: 0 100px 100px 0;
}

#menu .searchbar button {
    background: transparent;
    border: 0;
    outline: 0;
    border-radius: 100px 0 0 100px;
    line-height: 40px;
    padding-left: 20px;
    cursor: pointer;
}

#menu .searchbar button * {
    line-height: 40px;
}

#menu .search-icon.toggle {
    color: #8E8E8E;
    box-shadow: inset 0 -3px 0 #8E8E8E;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

#pagecontent.error {
    background: url(images/404bg.png);
    background-position-y: 120px;
}

#pagecontent.error img {
    margin-top: 30px;
}

#pagecontent.error h1 {
    color: #283544;
    text-shadow: 1px 1px 0px #4fafd5;
}

#pagecontent.error a, a.homepage-button {
    padding: 10px 20px;
    margin: 20px;
    display: inline-block;
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px;
    font-weight: bold;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    transition: 0.2s linear;
}

#pagecontent.error a:hover, a.homepage-button:hover {
    padding: 10px 25px;
    color: rgba(0, 0, 0, 1);
    border-color: rgba(0, 0, 0, 0.3);
}

.hr {
    display: inline-block;
    width: 60%;
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
}

.input-container {
    display: inline-block;
    margin: 0 auto;
    position: relative;
}

.input-counter {
    position: absolute;
    bottom: 1px;
    left: 3px;
    font-size: 12px;
    color: rgba(0,0,0,0.6);
}

.register input[type="text"] {
    padding: 10px 20px;
    text-align: center;
    margin-top: 10px;
    background: white;
    transition: 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.2);
    outline: 0;
}

.register input[type="text"]:focus {
    border-color: rgba(0, 0, 0, 0.35);
}

.register input[type="submit"]:hover, .register input[type="submit"]:focus {
    background: #27AE60;
}

.register input[type="submit"]:active {
    background: #256540;
}

.register input[type="submit"] {
    padding: 10px 20px;
    text-align: center;
    transition: 0.2s;
    cursor: pointer;
    margin-top: 10px;
    background: #2ECC71;
    border: 0;
    outline: 0;
    color: white;
    border-radius: 3px;

}


/* MEME GENERATOR */


#templates {
    width: 100%;
    margin-top: 10px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px #b3b3b3;
    padding-bottom: 5px;
    background: white;
}

#templates > .title {
    background-color: #f5f5f5;
    color: black;
    text-align: right;
    padding: 15px 25px;
    position: relative;
    font-weight: 600;
    border-radius: 3px 3px 0 0;
}

#templates .title #meme-search {
    margin-right: 10px;
    padding: 6px 10px;
    border: 1px solid rgba(0, 0 ,0, 0.15);
    border-radius: 3px;
    width: 30%;
    transition: 0.2s;
    position: absolute;
    top: 11px;
    outline: 0;
}

#templates .title #meme-search:focus {
    border-color: rgba(0, 0, 0, 0.35);
}

#templates #memes-wrapper, #templates #bgs-wrapper {
    padding: 20px 20px 15px 20px;
    background: white;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 0 0 3px 3px;
}

#templates #memes, #templates #bgs {
    text-align: right;
    font-size: 0;
    border-radius: 3px;
}

.meme.active, .bg.active {
    transform: scale(1.1);
}

#templates #memes .meme {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    /* animation: movingBackground 3s infinite cubic-bezier(0.5, 0, 0.5, 1);
    animation-direction: alternate; */
}

/* @keyframes movingBackground {
    0% {background-position-y: 0%;}
    100% {background-position-y: 100%;}
} */

#templates #memes .meme, #templates #bgs .bg {
    display: inline-block;
    transition: 0.3s;
    margin: 4px;
    -webkit-tap-highlight-color: transparent;
    width: 110px;
    height: 110px;
    cursor: pointer;
    background-size: cover !important;
    background-position: 50% 50% !important;
    border-radius: 10px;
    vertical-align: top;
}

#templates #memes .meme.add-new {
    background: #d95753;
    color: white;
    text-align: center;
    display: inline-table;
    font-size: 18px;
}

#templates #memes .meme.add-new i {
    display: table-cell;
    vertical-align: middle;
    color: white;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

#templates #memes .meme.add-new i p {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
}

#templates .title .meme.add-new {
    color: #d95753;
    cursor: pointer;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    padding: 11px 20px;
    font-size: 18px;
}

#templates .title .meme.add-new i {
    vertical-align: middle;
    transform: translateY(2px);
}

#templates .title .meme.add-new p {
    font-size: 13px;
    vertical-align: middle;
    font-weight: 600;
    display: inline-block;
    margin-right: 10px;
    margin: 0;
}

#templates #memes .meme .info {
    background: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    color: white;
    transition: 0.2s;
}

#templates #memes .meme .info::-webkit-scrollbar {
    background: transparent;
    width: 5px;
}

#templates #memes .meme .info::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #D95753;
}

#templates #memes .meme:hover .info {
    opacity: 1;
}

#templates #memes .meme .info .title {
    font-weight: 600;
    padding: 7px 10px 0 10px;
    font-size: 15px;
}

#templates #memes .meme .info .description {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    padding: 7px 10px;
    font-size: 12px;
}

#templates #bgs .bg {
    background-size: 200% !important;
    animation: RainbowBG 20s linear infinite;
    -webkit-filter: contrast(4);
    /* width: 95px;
    height: 95px; */
    transition: 0.2s;
    background-color: #de8b88 !important;
}

#templates #bgs .bg:hover {
    transform: scale(1.1);
}

@keyframes RainbowBG {
    0% {-webkit-filter: contrast(4) hue-rotate(0deg);}
    100% {-webkit-filter: contrast(4) hue-rotate(360deg);}
}

#templates #memes-wrapper::-webkit-scrollbar, #templates #bgs-wrapper::-webkit-scrollbar {
    background: transparent;
    height: 10px;
    border-radius: 0 0 3px 3px;
}

#templates #memes-wrapper::-webkit-scrollbar-thumb, #templates #bgs-wrapper::-webkit-scrollbar-thumb {
    background: #505050;
    width: 20px;
    border-radius: 10px;
}

#templates #memes-wrapper::-webkit-scrollbar-button, #templates #bgs-wrapper::-webkit-scrollbar-button {
    width: 20px;
    background-size: contain !important;
    background-position: 50% 50% !important;
}

#templates #memes-wrapper::-webkit-scrollbar-button:horizontal:increment, #templates #bgs-wrapper::-webkit-scrollbar-button:horizontal:increment {
    background: url(/images/arrows/arrow-right.png) no-repeat;
}

#templates #memes-wrapper::-webkit-scrollbar-button:horizontal:decrement, #templates #bgs-wrapper::-webkit-scrollbar-button:horizontal:decrement {
    background: url(/images/arrows/arrow-left.png) no-repeat;
}

#meme-options {
    margin-top: 20px;
    margin-bottom: 50px;
    border-radius: 3px;
    background: white;
    width: calc(100% - 20px);
    padding: 10px;
    display: table;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    table-layout: fixed;
}

#meme-options > div {
    display: table-cell;
    vertical-align: top;
}

#meme-options canvas#c {
    /* box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); */
    border-radius: 3px;
    margin: 10px 0;
    width: calc(100% - 30px);
}

#meme-options .textbox {
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
}

#meme-options .textbox input {
    display: block;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: 0.2s;
    outline: 0;
    border-radius: 3px;
    padding: 10px 20px;
}

#meme-options .textbox input:focus {
    border: 1px solid rgba(0, 0, 0, 0.4);
}

#meme-options .parameters button, #meme-options .parameters label {
    height: 32px;
    transition: 0.1s;
    width: 32px;
    margin: 3px 0;
    border: 0;
    outline: 0;
    cursor: pointer;
    /*box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);*/
    border-radius: 5px;
    background-size: contain !important;
    background-position: 50% 50% !important;
    vertical-align: middle;
}



input[type=color] {
    width: 0px;
    height: 0px;
    padding: 0;
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

#meme-options .parameters > span {
    margin: 5px 25px;
    display: inline-block;
}

#meme-options .parameters label {
    display: inline-block;
    transition: 0s;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
    padding: 5px 5px 5px 20px;
    /* background: url(/images/memecontrols/droplet.png); */
}

#meme-options .parameters label img {
    width: 100%;
    border-radius: 3px;
    background: #ebebeb;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

#meme-options .parameters label.backgroundcolor {
    /* display: none; */
    /* background: url(/images/memecontrols/bgcolor.png); */
}

#meme-options .parameters label.fontcolor {
    /* background: url(/images/memecontrols/textcolor.png); */
}

#meme-options .text-shadow {
    background: url(/images/memecontrols/textshadow.png) #ebebeb;
}

#meme-options .text-outline {
    background: url(/images/memecontrols/textoutline.png) #ebebeb;
}

#meme-options .text-light-fontweight {
    background: url(/images/memecontrols/light-fontweight.png) #ebebeb;
}

#meme-options .text-larger {
    background: url(/images/memecontrols/bigfont.png) #ebebeb;
}

#meme-options .text-smaller {
    background: url(/images/memecontrols/smallfont.png) #ebebeb;
}

#meme-options .text-rtl {
    background: url(/images/memecontrols/dirright.png) #ebebeb;
}

#meme-options .text-ltr {
    background: url(/images/memecontrols/dirleft.png) #ebebeb;
}

#meme-options .text-center {
    background: url(/images/memecontrols/dirmiddle.png) #ebebeb;
}

#meme-options button.active, #meme-options button:active {
    background-color: #cbcbcb !important;
}

#meme-options #finish {
    padding: 10px 20px;
    background: #27AE60;
    border-radius: 3px;
    color: white;
    display: inline-block;
    transition: 0.3s;
    cursor: pointer;
    margin: 20px;
    text-shadow: 0 10px 0 rgba(0, 0, 0, 0);
}

#meme-options #finish:hover, #meme-options #finish:focus {
    padding: 10px 30px;
    background: #259c57;
    text-shadow: 0px 0px 0 rgba(255, 255, 255, 0.5);
}

h6.note {
    padding: 10px 15px;
    display: inline-block;
    margin: 10px;
    border-radius: 5px;
    border: 1px solid #D95753;
    background: #eac6c5;
    color: #963a37;
    font-weight: 600;
    font-size: 12px;
}

h6.note:before {
    content: "\f12a";
    margin-left: 1em;
    font-family: FontAwesome;
}

h6.help {
    padding: 10px 15px;
    display: inline-block;
    margin: 10px;
    border-radius: 5px;
    border: 1px solid #e6c522;
    background: #fbf0bc;
    color: #7d7614;
    font-weight: 600;
    font-size: 12px;
}

h6.help:before {
    content: "\f128";
    margin-left: 1em;
    font-family: FontAwesome;
}

#upload-meme {
    background: #f2f2f2;
    position: relative;
    display: none;
    border-radius: 3px;
    padding: 20px;
    margin: 30px auto;
}

#upload-meme .closepopup {
    position: absolute;
    cursor: pointer;
    left: 0;
    top: 0;
    padding: 5px;
}

.admin-navigation {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 10px;
}

.admin-navigation > div {
    display: table-cell;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.2s;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
}

.admin-navigation > div.active {
    background: white;
    cursor: default;
    color: #d95753;
    border-color: #d95753;
}

.all-templates, .new-templates {
    overflow-y: auto;
    max-height: 400px;
}

.all-templates button, .all-posts button {
    height: 20px !important;
    width: 20px !important;
    display: inline-block !important;
    font-size: 10px;
}

.all-templates .image {
    width: 15%;
}

.card::-webkit-scrollbar {
    background: transparent;
    width: 10px;
}

.card::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #d95753;
}

#scroll-to-top {
    position: fixed;
    bottom: 95px;
    cursor: pointer;
    right: 15px;
    display: none;
    width: 50px;
    padding: 5px;
    border-radius: 3px;
    height: 50px;
    background: white;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    z-index: 1;
}

#scroll-to-top i {
    display: block;
}

#meme-options #user-image {
    width: 0.1px;
    padding: 0;
    height: 0.1px;
    opacity: 0;
    position: absolute;
    overflow: hidden;
    z-index: -1;
}

#meme-options #user-image + label {
    cursor: pointer;
    height: auto;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.05);
    padding: 15px 25px;
    display: inline-block;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 600;
    margin: 10px;
    min-width: 250px;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

#meme-options #user-image + label p {
    display: block;
    margin: 0;
    font-size: 12px;
    opacity: 0.5;
}

#meme-options #user-image:focus + label {
    background: #A74643;
}

.all-posts {
    max-height: 400px;
    overflow-y: auto;
}

.all-posts form {
    margin: 0;
}

.all-post {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 10px;
}

.all-post > div {
    display: table-cell;
    font-size: 16px;
    color: rgba(0, 0 ,0, 0.8);
    text-align: right;
    vertical-align: middle;
}

.all-post .image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    width: 10%;
    transform-origin: right;
    transition: 0.2s;
    border-radius: 3px;
    height: 90px;
}

.all-post .image:hover {
    transform: scale(3);
}

.all-post textarea {
    width: 100%;
    height: 100px;
    padding: 6px 10px;
}

.all-post .controls {
    width: 15%;
    text-align: center;
    /* vertical-align: bottom; */
}

.contact-wrapper {
    max-width: 600px;
}

.contact-wrapper table {
    table-layout: fixed;
    width: 100%;
}

.contact-wrapper table td {
    padding: 10px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
}

.contact-wrapper table tr td:first-child {
    width: 20%;
}

.contact-wrapper {
    display: inline-block;
    background: white;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    margin: 5px;
}

.contact-wrapper input, .contact-wrapper select, .contact-wrapper textarea {
    padding: 6px 10px;
    font-size: 14px;
    width: 100%;
    box-shadow: 0 1px 0 0 rgba(0, 0 ,0, 0.15);
    border: 0;
    outline: 0;
    transition: 0.2s;
}

.contact-wrapper input:focus, .contact-wrapper select:focus, .contact-wrapper textarea:focus {
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.35);
}

.contact-wrapper select {
    width: calc(100% + 22px);
}

.contact-wrapper button {
    display: block;
    cursor: pointer;
    margin: 10px auto;
    border: 0;
    background: #2ECC71;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    outline: 0;
    width: 300px;
    box-shadow: none;
    transition: 0.2s;
}

.contact-wrapper button:hover, #uploadPost button:focus {
    background: #27AE60;
}

.contact-wrapper button:active {
    background: #256540;
}

.thankyou h1.title {
    color: #1b5f38;
    margin-bottom: 10px;
    border-color: #27AE60;
}

.thankyou {
    color: #1b5f38 !important;
    border: 1px solid #27AE60;
    display: inline-block;
    padding: 20px 25px;
    border-radius: 4px;
    background: #eefff5;
    box-shadow: 0 0px 20px 0 rgba(39, 174, 96, 0.3);
}

.settings-page .card h1.title {
    margin-bottom: 0;
}

.paragraph.fast-navigation .links div, .paragraph span.backtotop {
    cursor: pointer;
    /* display: inline-block; */
    line-height: 32px;
    transition: 0.2s;
}

.paragraph.fast-navigation .links div:hover, .paragraph span.backtotop:hover {
    transform: translateX(-6px);
}

.paragraph.fast-navigation .links div:hover::before, .paragraph span.backtotop:hover::before {
    transform: translateX(3px);
}

.paragraph span.backtotop {
    background: rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 13px;
    line-height: normal;
}

.paragraph span.backtotop:hover {
    padding-right: 10px;
}

.paragraph.fast-navigation .links div:before, .paragraph span.backtotop:before {
    content: "";
    background: url('/images/arrows/arrow-left.png');
    width: 15px;
    height: 10px;
    transition: 0.2s;
    background-size: contain;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
}

.about.terms .paragraph a {
    color: #d95753;
}

.paragraph.fast-navigation {
    background: white;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    width: auto !important;
    min-width: 250px;
    display: inline-block;
}

.about.terms .paragraph.fast-navigation h1 {
    cursor: pointer;
}

.paragraph.fast-navigation i {
    position: absolute;
    cursor: pointer;
    padding: 13px;
    left: 0;
    transition: 0.4s;
    top: 0;
}

.paragraph.fast-navigation i.open {
    transform: rotate(-180deg);
}

.paragraph.fast-navigation .links {
    display: none;
}

#attention-popup {
    position: fixed;
    bottom: 10px;
    left: 10px;
    color: rgb(255, 255, 255);
    background: #d95753;
    border-radius: 3px;
    font-size: 13px;
    padding: 10px 15px;
    letter-spacing: 0.3px;
    text-align: right;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.47);
    font-weight: 600;
    z-index: 99999;
}

#attention-fullscreen {
    position: fixed;
    z-index: 9999;
    top: 0;
    width: 100%;
    height: 100%;
    display: table;
    right: 0;
    bottom: 0;
    left: 0;
    /* background: rgba(217, 87, 83, 0.9); */
    background: rgba(0, 0, 0, 0.9);

}

#attention-fullscreen .content {
    display: table-cell;
    vertical-align: middle;
    line-height: 30px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

#attention-fullscreen .content i {
    color: #d95753;
}

h6.online-status {
    padding: 6px;
    line-height: normal;
    color: white;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    background: #A0A0A0;
    /* margin: -10px 0; */
    margin: 0;
    display: block;
}

h6.online-status.online {
    background: #7DB620;
}

h5.online-users {
    position: fixed;
    right: 0;
    top: 60px;
    z-index: 1;
    margin: 10px;
    padding: 10px 15px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    color: rgba(0, 0, 0, 0.7);
}

noscript .enable-js-button {
    padding: 6px 15px;
    margin: 20px;
    display: inline-block;
    color: #d9a453;
    background: rgba(217, 164, 83, 0.15);
    font-size: 14px;
    font-weight: bold;
    text-shadow: none;
    box-shadow: 0 0 0 1px #d9a453;
    border-radius: 3px;
    transition: 0.4s cubic-bezier(0.3, 0, 0, 1);
}

noscript .enable-js-button:hover {
    padding: 6px 25px;
    letter-spacing: 0.7px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 0 0 1px white;
}

.userview .score {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    background: rgb(216, 86, 82);
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.25);
    padding: 6px 10px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    font-size: 14px;
    border-radius: 3px 0 3px 0;
}

/* - - - B A S T A - - - */

.basta:not(i) {
    padding: 0 !important;
    width: 100%;
}

.basta ::selection {
    background: #08C1C6;
}

.basta .basta-title {
    padding: 2em 0 1.5em 0;
    background: #08C1C6;
    color: white;
}

.basta .basta-title * {
    margin: 0;
}

.basta .basta-title img {
    width: 100px;
    opacity: 0.7;
    margin-bottom: 0.5em;
    animation: moving-mustache 3s infinite ease-in-out;
}

@keyframes moving-mustache {
    40% {transform: rotate(0deg);}
    45% {transform: rotate(-5deg);}
    55% {transform: rotate(5deg);}
    60% {transform: rotate(0deg);}
}

.basta .basta-title h6 {
    font-size: 16px;
    font-weight: 300;
}

.basta .basta-title h5 {
    font-size: 30px;
    margin-top: -0.3em;
    font-weight: 600;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.25);
}

.basta hr {
    width: 80%;
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
}

.basta > h5 {
    margin: 0.8em 0 0.9em 0;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
}

.basta a {
    color: #229396;
    text-shadow: 0 0 10px rgba(8, 193, 198, 0.4);
}
