.btn {
  padding: 7px 9px !important;
  font-size: 1.5em;
}
.btn:visited {
  color: #fff;
}
.btn:link {
  color: #fff;
}
.mediumm {
  padding: 10px 18px;
  font-size: 1.15em;
}
/* http://codecanyon.net/item/fancy-buttons/full_screen_preview/10769256 */
/* Basic Styles */
.fancy-button,
.btn {
  position: relative;
  color: #fff;
  border: 1px solid;
  margin: 5px;
  padding: 10px 25px;
  text-decoration: none;
  display: block;
  outline: none;
  line-height: 100%;
  overflow: hidden;
  height: 40px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}
.fancy-button:hover,
.btn:hover {
  text-decoration: none;
}
.fancy-button .icon,
.btn .icon {
  float: right;
}
.fancy-button.icon,
.btn.icon {
  display: inline-block;
}
.fancy-button:active .icon,
.fancy-button:focus .icon,
.btn:active .icon,
.btn:focus .icon {
  -webkit-transform: scale(0.75);
  -moz-transform: scale(0.75);
  -o-transform: scale(0.75);
  transform: scale(0.75);
}
.asbestos,
.btn {
  background-color: #7f8c8d;
}
.asbestos:hover,
.btn:hover {
  color: #7f8c8d;
  background-color: #fff;
}
.half-right-rounded,
.btn {
  -webkit-border-bottom-left-radius: 15px;
  -moz-border-bottom-left-radius: 15px;
  -o-border-bottom-left-radius: 15px;
  border-bottom-left-radius: 15px;
  -webkit-border-top-right-radius: 15px;
  -moz-border-top-right-radius: 15px;
  -o-border-top-right-radius: 15px;
  border-top-right-radius: 15px;
  -webkit-border-bottom-right-radius: 5px;
  -moz-border-bottom-right-radius: 5px;
  -o-border-bottom-right-radius: 5px;
  border-bottom-right-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  -moz-border-top-left-radius: 5px;
  -o-border-top-left-radius: 5px;
  border-top-left-radius: 5px;
}
body {
  margin: 0px;
}
@media only screen and (max-width: 630px) {
  #user-buttons {
    text-align: center;
  }
  #user-buttons-bg {
    text-align: center;
  }
}
@media only screen and (min-width: 630px) {
  #user-buttons {
    text-align: center;
    display: inline-block;
    padding-left: 120px;
    padding-right: 120px;
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 1%, #ffffff 14%, #ffffff 52%, #ffffff 87%, rgba(255, 255, 255, 0) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 1%, #ffffff 14%, #ffffff 52%, #ffffff 87%, rgba(255, 255, 255, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 1%, #ffffff 14%, #ffffff 52%, #ffffff 87%, rgba(255, 255, 255, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#00ffffff', GradientType=1);
  }
  #user-buttons-bg {
    text-align: center;
    background-image: url("https://sms.priv.pl/sms.szyderca.com/images/bramka_op6.png");
    background-repeat: repeat-x;
  }
}
@media only screen and (max-width: 670px) {
  #archiwum-button-mobile {
    display: none;
  }
}
@media only screen and (min-width: 1000px) {
  #adblock_image {
    width: 842px;
    height: 534px;
    margin-top: 30px;
  }
  #adblock_opis {
    display: none;
  }
}
@media only screen and (max-width: 1000px) {
  #adblock_image {
    display: none;
  }
  #adblock_opis {
    font-size: 16pt;
    margin-top: 30px;
  }
}
@media only screen and (max-width: 905px) {
  #linki {
    display: none;
  }
  #news {
    display: none;
  }
  #komentarze {
    display: none;
  }
  #fanpage {
    margin-right: auto;
    margin-left: auto;
    width: 95vw;
    max-width: 500px;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  #zamknij_big {
    vertical-align: text-top;
  }
  #zamknij_small {
    display: none;
  }
}
@media only screen and (min-width: 905px) {
  #linki {
    font-size: small;
    margin-left: auto;
    margin-right: auto;
  }
  #linki ul li {
    list-style-type: none;
    display: inline;
  }
  #linki ul {
    margin-top: 0;
  }
  #linki li {
    margin-left: 5px;
    margin-right: 5px;
  }
  #news {
    position: absolute;
    top: 195px;
    right: 50px;
    max-width: 200px;
    font-size: 7pt;
    COLOR: #666666;
    FONT-FAMILY: TAHOMA, sans-serif, serif;
  }
  #fanpage {
    position: absolute;
    top: 210px;
    left: 10px;
    max-width: 240px;
    width: 240px;
    font-size: 7pt;
    COLOR: #666666;
    FONT-FAMILY: TAHOMA, sans-serif, serif;
  }
  #komentarze {
    position: fixed;
    top: 110px;
    left: 50px;
    max-width: 175px;
  }
  #zamknij_big {
    display: none;
  }
  #zamknij_small {
    display: block;
  }
}
#debug {
  position: fixed;
  left: 0px;
  width: 100vw;
  max-height: 40vh;
  overflow: scroll;
  bottom: 0;
  top: initial;
  z-index: 9999999999999;
  background-color: #000000;
  max-width: 100vw;
  font-size: 8pt;
  text-align: left;
  COLOR: #666666;
  FONT-FAMILY: TAHOMA, sans-serif, serif;
}
.alert {
  color: red;
}
#user-messages {
  display: flex;
  display: -webkit-flex;
  width: 97vw;
}
#news ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
  font-size: 9pt;
  text-align: justify;
}
#news ul a {
  font-size: 10pt;
  FONT-WEIGHT: bold;
  text-decoration: none;
}
#archiwum-placeholder {
  position: fixed;
  z-index: 999;
  background: rgba(25, 25, 25, 0.5);
  width: 100vw;
  height: 100vh;
  display: none;
}
#archiwum-placeholder0 {
  position: fixed;
  left: 50%;
  z-index: 9999;
  text-align: center;
}
#archiwum-placeholder3 {
  overflow-y: scroll;
  max-height: 510px;
}
#archiwum-placeholder3 tr:nth-child(even) {
  background-color: #e0e0e0;
}
#archiwum-placeholder2 {
  position: relative;
  left: -50%;
  border: solid #7f8c8d 3px;
  border-radius: 10px;
  width: 100vw;
  height: 100vh;
  max-width: 500px;
  max-height: 570px;
  background-color: #fafafa;
}
@media only screen and (min-height: 600px) {
  #archiwum-placeholder2 {
    margin-top: 10vh;
  }
}
#archiwum_powrot {
  display: -webkit-inline-flex;
  display: inline-flex;
  margin-bottom: 10px;
}
#ksiazka-placeholder {
  position: fixed;
  z-index: 999;
  background: rgba(25, 25, 25, 0.5);
  width: 100vw;
  height: 100vh;
  display: none;
}
#ksiazka-placeholder0 {
  position: fixed;
  left: 50%;
  z-index: 9999;
  text-align: center;
}
#ksiazka-placeholder2 {
  position: relative;
  left: -50%;
  border: solid #7f8c8d 3px;
  border-radius: 10px;
  width: 100vw;
  height: 100vh;
  max-width: 500px;
  max-height: 600px;
  background-color: #fafafa;
}
@media only screen and (min-height: 600px) {
  #ksiazka-placeholder2 {
    margin-top: 10vh;
  }
}
#ksiazka_edit_select_safarimobile {
  height: 75vh;
  max-height: 535px;
  width: 90vw;
  max-width: 350px;
  font-size: x-large;
}
#ksiazka_edit_buttons {
  display: -webkit-inline-flex;
  display: inline-flex;
  margin-bottom: 10px;
}
#ksiazka_edit_one {
  margin-top: 20px;
}
#ksiazka_edit_one ul {
  color: red;
  list-style-type: none;
  font-size: 1.5em;
}
.multilineselect {
  border: none;
}
#ksiazka_edit {
  margin-right: auto;
  max-width: 350;
  margin-left: auto;
}
.sms_message {
  position: relative;
}
label.sms_message {
  position: absolute;
  top: 10px;
  left: 3px;
  z-index: 2;
  font-size: 8px;
}
.multilineselect li {
  border-top: 1px solid #000000;
  min-height: 50px;
  border-radius: 10px;
}
#powitanie-sync {
  display: none;
  margin-left: auto;
  margin-right: 0px;
}
#user-menu {
  margin-bottom: 10px;
}
#archiwum-button {
  display: none;
}
#ksiazka-edycja-button {
  display: none;
}
#login-button {
  display: none;
}
#google-authorize-button {
  display: none;
}
#logout-button {
  display: none;
}
#login-form-button {
  margin: auto;
  margin-top: 15px;
}
#login-form {
  text-align: center;
  max-width: 250px;
  display: none;
  border: solid #7f8c8d 3px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  position: absolute;
  background-color: #ffffff;
  z-index: 9999;
  -webkit-transition: opacity 0.5s ease-in;
  -moz-transition: opacity 0.5s ease-in;
  -o-transition: opacity 0.5s ease-in;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 5px;
}
#login-form div {
  padding-top: 1px;
}
#wysylanie {
  text-align: center ;
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
  width: 85vw;
  border: solid #7f8c8d 3px;
  left: 0;
  right: 0;
  position: absolute;
  background-color: #ffffff;
  z-index: 9999;
  -webkit-transition: opacity 0.5s ease-in;
  -moz-transition: opacity 0.5s ease-in;
  -o-transition: opacity 0.5s ease-in;
  border-radius: 10px;
}
#ksiazka-empty {
  max-width: 39vw;
  display: inline-block;
}
#wysylanie.fade-out {
  opacity: 0;
  display: none;
}
#zamknij {
  margin-left: 0;
  margin-right: 100%;
  margin-bottom: 30px;
  white-space: nowrap;
}
#ksiazka_select {
  margin-top: 10px;
  width: 40vw;
  max-width: 150px;
  float: right;
}
#bramka_div {
  margin-top: 10px;
  width: 85vw;
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
}
#google_gora {
  max-width: 730px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  text-align: center;
}
#google_dol {
  margin-top: 25px;
  text-align: center ;
  margin-bottom: 20px;
}
#message {
  width: 85vw;
  max-width: 400px;
  height: 50vw;
  max-height: 200px;
  margin-top: 10px;
}
#number {
  margin-top: inherit;
}
footer {
  text-align: center ;
}
#send_button button {
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
#android_app {
  text-align: center ;
  margin-top: 35px;
  margin-bottom: 20px;
}
#big-error {
  color: #ff0000;
  font-weight: bold;
  font: 25pt Tahoma, sans-serif, serif;
}
#big-error ul li {
  list-style-type: none;
}
#big-error ul {
  -webkit-padding-start: 0px;
  -webkit-margin-before: 0px;
}
#small-error {
  color: #ff0000;
  font-weight: bold;
  font: 15pt Tahoma, sans-serif, serif;
}
#big-ok {
  color: #ff0000;
  font-weight: bold;
  font: 25pt Tahoma, sans-serif, serif;
}
#logowanie {
  display: inline;
  font: 5pt Tahoma, sans-serif, serif;
}
#counter {
  font-size: 7pt;
  float: right;
}
#token_submit {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}
#sync_instr {
  display: block;
  border: solid #7f8c8d 3px;
  border-radius: 10px;
  padding: 5px;
}
#facebook {
  margin-left: auto;
  margin-right: 0px;
}
#header {
  display: flex;
  display: -webkit-flex;
  width: 97vw;
}
::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #dcdcdc;
}
:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #dcdcdc;
  opacity: 1;
}
::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #dcdcdc;
  opacity: 1;
}
:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #dcdcdc;
}
BODY,
TD {
  /*    background : white;  nie dziala podswitlanie row */
  font: 8pt Tahoma, sans-serif, serif;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
}
SELECT,
TEXTAREA,
INPUT {
  font: 12px Tahoma, sans-serif, serif;
  font-size: 12pt;
  FONT-FAMILY: TAHOMA, Verdana, sans-serif, serif;
  color: #666666;
  text-align: left;
}
INPUT,
select,
textarea {
  font: 12pt Tahoma, sans-serif, serif;
  text-align: center;
}
TABLE,
.text,
form {
  FONT-WEIGHT: normal;
  font: 8pt Tahoma, sans-serif, serif;
  color: #666666;
}
b {
  FONT-WEIGHT: bold;
  FONT-SIZE: 8pt;
  COLOR: #666666;
  FONT-FAMILY: TAHOMA, sans-serif, serif;
}
.textb2 {
  FONT-SIZE: 8pt;
  COLOR: #666666;
  FONT-FAMILY: TAHOMA, sans-serif, serif;
}
p {
  FONT-WEIGHT: bold;
  FONT-SIZE: 8pt;
  COLOR: #666666;
  FONT-FAMILY: TAHOMA, sans-serif, serif;
}
a:link {
  COLOR: #777777;
}
a:hover {
  COLOR: #30FF30;
}
a:visited {
  COLOR: #777777;
}
