@import url('https://fonts.googleapis.com/css?family=Cuprum:400,700|Roboto+Condensed:300,400,700&subset=cyrillic-ext');

* {
  position: relative;
}

html {
  width: 100%;
  min-height: 100%;
  margin: 0px;
  padding: 0px;
}

body {
  background-image: url(https://images.vikremonti.info/homegarden/data_background.jpg);
  background-size: auto 100%;
  background-position-y: -200px;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #fff;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
}

/* /////////////////////////////////////////////////// START NAV /////////////////////////////////////////////////// */

body .nav-wrap {
  font-family: roboto condensed, arial ,sans-serif;
  font-weight: lighter;
  background-color: slategrey;
  width: 100%;
  height: 60px;
  margin: 0px;
  padding: 0px;
}
body .nav-wrap a:hover,
body .nav-wrap span:hover {
  color: white;
}

body .nav-list {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  line-height: 60px;
  text-align: center;
  list-style: none;
}

body .nav-list a {
  margin: 0px 20px;
}

body .user-panel {
  left: 10px;
  line-height: 60px;
  cursor: pointer;
  position: absolute;
  z-index: 2;
}

body .user-panel-exit {
  right: 10px;
  line-height: 60px;
  position: absolute;
  z-index: 2;
}

body .user-panel a {

}

body a[href='logout.php']:hover {
  color: #ba050a !important;
}

/* /////////////////////////////////////////////////// START NAV /////////////////////////////////////////////////// */


body .listing-title-wrap {
  text-transform: capitalize;
}

body .listing-img-wrap {

}

body .listing-img-wrap:after {
  content: "";
  display: table;
  clear: both;
}

body .listing-article-wrap {

}

body .item-container-wrap {
  background-color: #fff;
  padding: 70px 0px;
  width: 100%;
  margin: 0px auto;
}

body h1.listing-title {
  color: cornflowerblue;
  font-family: roboto condensed, arial, sans-serif;
  font-size: 34px;
  margin-top: 0px;
  border-bottom: 1px solid grey;
}

body.listings h1.listing-title {
  color: cornflowerblue;
  font-family: roboto condensed, arial, sans-serif;
  font-size: 34px;
  margin-top: 0px;
  border-bottom: 0px solid grey;
}

body h1.listing-title a {
  text-decoration: none;
  color: inherit;
}

body h1.listing-title a:hover {
  color: royalblue;
}

body .listing-article {
  font-family: roboto condensed, cuprum, arial, sans-serif;
  font-size: 20px;
}

body.listings .listing-article {
  padding: 0px 100px;
}

body .listing-date {
  color: grey;
  font-style: italic;
  text-transform: capitalize;
}

body .listing-tags {
  background-color: lightblue;
  width: 70%;
  margin: 30px auto;
  padding: 10px;
  border-radius: 10px;
  font-family: arial;
  font-size: 18px;
  word-wrap: break-word;
}

body .listing-container {
  /*background-color: #dedede;*/
  width: 80%;
  margin: 150px auto;
  padding: 10px;
  /*border: 2px solid #cacaca;*/
  border-spacing: 10px 0px;
  text-align: center;
}

body .listing-container img.listing-img {
  width: 400px;
}

body h1.big {
  color: white;
  font-family: roboto condensed, arial, sans-serif;
  font-size: 70px;
  font-weight: lighter;
  text-align: center;
  text-transform: capitalize;
}

body .edit-button {
  width: 50px;
  height: 50px;
  right: 0px;
  cursor: pointer;
  position: absolute;
  z-index: 2;
}

body .page-controls {
  margin: 20px 0px;
  text-align: center;
}

body .page-button {
  color: white;
  font-family: arial;
  font-size: 20px;
  background-color: grey;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  display: inline-block;
  transition: 0.5s ease;
  -webkit-transition: 0.5s ease;
}

body .page-button:hover {
  background-color: #bbb;
  transition: 0.5s ease;
  -webkit-transition: 0.5s ease;
}

body .page-a {
  display: inline-block;
  margin: 0px 2px;
}

body .next-page,
body .prev-page {
  margin: 0px;
  padding: 0px;
  display: inline-block;
}

body input[name="page"] {
  color: white;
  font-family: arial, sans-serif;
  font-size: 20px;
  background-color: #4caf50;
  width: 50px;
  height: 50px;
  padding: 0px;
  margin: 10px auto;
  border: 0px;
  text-align: center;
  box-sizing: border-box;
  vertical-align: bottom;
  display: block;
}

body form.page-controls-console button[type="submit"] {
  color: white;
  font-family: arial, sans-serif;
  font-size: 15px;
  background-color: #4caf50;
  width: auto;
  height: 40px;
  padding: 0px 20px;
  margin: 0px auto;
  border: 0px;
  cursor: pointer;
}

body a {
  text-decoration: none;
  color: inherit;
}

body .current-page-button {
  color: white;
  font-family: arial;
  font-size: 20px;
  background-color: #bbb;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  display: inline-block;
  transition: 0.5s ease;
  -webkit-transition: 0.5s ease;
}

body form[action="listing_handler.php"] {
  width: 100%;
  text-align: center;
}

body input[name='listing_title'],
body input[name='listing_tags'],
body input[name='listing_location'],
body input[name='listing_category'],
body label {
  font-family: cuprum, roboto condensed, arial, sans-serif;
  margin: 20px 0px;
  display: block;
}

body input[name='listing_title'],
body input[name='listing_tags'],
body input[name='listing_location'],
body input[name='listing_category'] {
  font-family: cuprum, roboto condensed, arial, sans-serif;
  font-size: 27px;
  background-color: #fff;
  width: 50%;
  margin: 20px auto;
  height: 30px;
  padding: 5px 10px;
  border: 1px solid black;
  border-radius: 4px;
  cursor: pointer;
  display: block;
}

body textarea[name='listing_content'] {
  font-family: cuprum, roboto condensed, arial, sans-serif;
  font-size: 27px;
  background-color: #fff;
  border: 1px solid black;
  border-radius: 4px;
  padding: 5px;
  cursor: pointer;
}

body button[type='submit'] {
  width: 150px;
  height: 60px;
  display: block;
  margin: 20px auto;
  background-color: #4caf50;
  border: none;
  color: white;
  font-family: cuprum;
  font-size: 25px;
  cursor: pointer;
}

body .align-left {
  text-align: left;
  vertical-align: top;
}

body .align-bottom {
  vertical-align: bottom;
}

body.listings .item-container {
  text-align: center;
}

body.listings h1 {
  text-align: center;
  text-transform: capitalize;
}

body .contact-list {
  font-family: roboto condensed, cuprum, arial ,sans-serif;
  font-size: 20px;
  margin: 50px 0px;
}

body .map {
  width: 100%;
  height: 600px;
}

body .periodic-ad {
  width: 90%;
  margin: 0px auto;
  text-align: center;
  display: block;
}

body .periodic-ad img {
  width: 100%;
  display: block;
}

body .search-box {
  text-align: center;
}

body .search-box input[name="search-main-input"] {
  color: cornflowerblue;
  font-family: roboto condensed, arial, sans-serif;
  font-weight: bold;
  font-size: 20px;
  width: 80%;
  height: 50px;
  padding: 0px 10px;
  margin: 0px 10px;
  line-height: 50px;
}

body .search-box img.search-icon {
  height: 40px;
  margin: 5px;
  right: 10%;
  border: 2px solid transparent;
  cursor: pointer;
  position: absolute;
}

body .search-box label {
  display: inline-block !important;
  vertical-align: super;
}

body .search-box input[type="radio"] {
  width: 25px;
  height: 25px;
}

body .search-box .advanced-options {
  height: 0px;
  overflow: hidden;
  user-select: none;
  transition: 0.5s ease;
  -webkit-transition: 0.5s ease;

}

body .search-box .advanced-options-dropdown {
  color: grey;
  font-family: roboto condensed;
  font-size: 12px;
  margin: 10px;
  cursor: pointer;
  user-select: none;
  display: inline-block;
}

footer {
  font-family: roboto condensed, cuprum, arial, sans-serif;
  font-size: 30px;
  font-weight: lighter;
  background-color: slategrey;
  width: 100%;
  height: 80px;
  line-height: 80px;
  text-align: center;
}

.align-center {
  text-align: center;
}

.display-block {
  display: block !important;
}

.height-60 {
  height: 60px !important;
}

.tooltip {
  color: white;
  font-family: roboto condensed, arial, sans-serif;
  font-size: 14px;
  background-color: #000;
  width: 200px;
  padding: 10px;
  border-radius: 10px;
  visibility: hidden;
  position: absolute;
  display: inline-block;
  z-index: 2;
}

.delete-listing {
  font-family: roboto condensed;
  color: #ba050a;
  border: 2px solid #ba050a;
  cursor: pointer;
}


/*///////////////////////////////////////////////////////// register ////////////////////////////////////////////////////////////////////////*/

body table.register-table {
  width: 100%;
}

body table.register-table tr td {
  width: 50%;
  height: 100%;
  vertical-align: top;
}

body form.register-form {
  width: 100%;
  margin: 10px 0px;
}

body form.register-form label {
  font-family: "neucha" , 'gabriela' , arial , sans-serif;
  font-size: 20px;
}

body form.register-form input[type="text"],
form.register-form input[type="password"],
form.register-form input[type="email"] {
  color: #000;
  font-family: arial , sans-serif;
  font-size: 22px;
  /*font-weight: bold;*/
  /* background-color: rgba(0, 0, 0, 0.5); */
  width: 65%;
  padding: 10px 10px;
  margin: 15px auto;
  outline: none;
  border: 0px;
  border-bottom: 2px solid #000;
  /* text-shadow: 1px 1px 10px black; */
  line-height: 40px;
  transition: 0.5s ease;
  -webkit-transition: 0.5s ease;
}

body form.register-form input[type="text"]:focus,
form.register-form input[type="password"]:focus,
form.register-form input[type="email"]:focus {
  color: #4caf50;
  border-bottom: 2px solid #4caf50;
  transition: 0.5s ease;
  -webkit-transition: 0.5s ease;
}

body form.register-form input[type="submit"] {
  color: black;
  font-family: arial , sans-serif;
  font-size: 22px;
  background-color: transparent;
  width: 350px;
  margin: 30px auto;
  border: 2px solid black;
  border-radius: 5px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  outline: none;
  display: block;
}

body form.register-form input[type="submit"]:hover {
  background-color: cornflowerblue;
}

body form.register-form fieldset {
  width: 80%;
  background-color: transparent;
  margin: 0px auto;
  padding-bottom: 30px;
  border: 0px solid #aaa;
  border-radius: 2px;
  /*box-shadow: 0px 0px 2px black;*/
}

body form.register-form legend {
  font-family: 'gabriela' , arial , sans-serif;
  font-size: 22px;
}

body table.register-table div.register-tips {
  color: black;
  width: 80%;
  height: 100%;
}

body table.register-table div.register-tips div {
  color: black;
  font-family: arial , sans-serif;
  margin: 50px 0px;
}

body div.register-redirect-log-in {
  margin-top: 60px;
  text-align: center;
}

body div.register-redirect-log-in a {
  text-align: center;
  cursor: default;
}

body div.register-redirect-log-in a button {
  color: white;
  font-family: 'gabriela' , arial , sans-serif;
  font-size: 22px;
  background-color: transparent;
  width: 50%;
  margin: 0px auto;
  border: 2px solid white;
  border-radius: 5px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  outline: none;
}

body div.register-redirect-log-in a button:hover {
  border: 2px solid #ffffff;
  background-color: #800080;
}

body .pass_verify_messenger {
  background-color: rgba(255, 255, 255, 0.5);
  width: 80%;
  right: 10%;
  bottom: -15%;
  position: absolute;
  border-radius: 2px;
  text-align: center;
}

body .pass_verify_messenger p {
  color: #ba050a;
  font-family: cuprum, roboto condensed, arial, sans-serif;
  font-size: 19px;
  display: inline-block;
  padding: 0px 20px;
}

body p.messenger {
  color: red;
  font-family: cuprum , open sans, gabriela, arial , sans-serif;
  font-size: 24px;
  padding: 10px 10%;
  margin: 0px;
  text-align: center;
}

input:disabled,
textarea:disabled {
  color: #ccc;
  background-color: #ccc;
  border-radius: 5px;
  cursor: not-allowed !important;
}


/*///////////////////////////////////////////////////////// end register ////////////////////////////////////////////////////////////////////////*/

@media screen and (max-width: 940px) /* Mobile */ {
  body .listing-img {
    width: 90% !important;
    margin: 0px auto;
  }

  body .listing-img img {
    width: 100%;
  }

  body table.listing-container {
    width: 100% !important;
    padding: 0px !important;
    word-break: break-word;
    word-wrap: break-word;
  }

  body table.listing-container td {
    display: block;
  }

  body h1.listing-title {
    width: 100% !important;
  }

  body .listing-article-wrap {
    width: 100% !important;
  }

  body .listing-title-wrap {
    width: 100% !important;
  }

}
