

/* OVERRIDE w3css*/
.border-aqua, .hover-border-aqua:hover {
    border-color: #c3c3c3!important;
}
.small{
  font-size: 14px!important;
}
p, i, a, div, span, quote, b, strong, h1, h2, h3, h4 {
  /* user-select: none; */
}
input, textarea {
    user-select: text;
}
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none !important;
}
a.underline:hover{
  text-decoration: none;
}
html, body {
  position: relative;
  background: #dcd4ce;
}
html, body, p, i, a, div, span, b, quote {
  font-family: 'Open Sans', 'Verdana', sans-serif;
}
span:not(.fas, .ui-datepicker-month, .ui-datepicker-year){
  font-size: 16px;
}
body{
  padding: 0;
}
header {
  background: url(../img/fond.jpg), no-repeat;
  background-size: cover;
  background-position: 0% 54%;
  font-size: 16px;
  padding: 10px;
  height: 23rem;
  position: relative;
}
#header_bar {
  text-align: right;
  display: inline-block;
  vertical-align: top;
  float: right;
  margin: 0px 0 16px;
}
#header_bar .button, #header_bar .btn {
  color: #3a3a3a!important;
}
#block_title {
  margin: 2px 0 0 8px;
}
h1 {
  vertical-align: top;
  margin: 0px 0px 4px 6px;
  font-size: 30px;
}
quote {
  font-size: 17px;
  color: dimgrey;
}
#sidebar {
  font-size: 18px;
  width: 300px;
  padding: 16px 16px 0;
  background: gray;
  position: absolute;
  display: none;
  top: 10px;
  right: 12px;
  z-index: 10;
  animation-duration: 0.4s;
  animation-delay: 0s;
  background: #dcd4ce;
}
#open_sidebar, #open_login, #open_registration {
  margin: 10px 12px 0px 0;
  font-size: 14px;
  color: #6f6f6f !important;
  border: 1px solid #b3b3b3 !important;
  vertical-align: inherit;
}
nav#sidebar span, nav#sidebar a, nav#sidebar button {
  margin-bottom: 16px;
  background: rgba(77, 86, 83, 0.9);
  color: #fff;
}
#shortcuts {
  bottom: 10px;
  position: absolute;
}
#shortcuts button {
  margin: 0 8px 0 0;
  color: #3a3a3a!important;
}
#cats_list a, #vendors_list a {
  margin: 4px 10px 4px 0;
  font-size: 17px;
}
#cats_list, #vendors_list, #user_cats_list {
  display: none;
  position: absolute;
  z-index: 10;
  background: white;
  padding: 10px;
  width: 97%;
  font-weight: bold;
}
#user_cats_list {
  padding: 10px 10px 0;
}
#user_cats_list a {
    margin: 0 0 10px 8px;
}
#sort_block {
  font-size: 16px;
}
#center_page {
  /* width: 100%;
  height: -webkit-fill-available; */
  -webkit-animation-duration:.6s;
  animation-duration:.6s;
}
#mess_render {
    z-index: 30;
    position: fixed;
    top: -600px;
    left: 0;
    width: 100%;
    padding: 35px 0;
}
footer i {
  color: #00bcd4!important;
}
/* ANNOUNCEMENT */
#ad {
  height: 50px;
  line-height: 20px;
  font-size: 14px;
  text-align: center;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* PRODUCTS CSS */
#products_view {
    text-align: center;
}
.box_gen {
    font-size: 18px;
    width: 262px;
    display: inline-block;
    vertical-align: top;
    margin: 0 0.5vw 20px;
    text-align: left;
    background: white;
    padding: 4px 8px 4px;
    border-radius: 6px;
}
.box_product {
    position: relative;
    margin: 0 auto 0;
}
div.show_info_product {
  position: relative;
  overflow: hidden;
  margin: 5px auto 0;
  width: fit-content;
}
div.show_info_product:hover div.more {

    top: -10px;
    left: -28px;
    transition: top 0.2s, left 0.2s;
    transition-timing-function: cubic-bezier(0.45, 0.05, 0.55, 0.95);
    transition-delay: 0s;
}
.more {
    position: absolute;
    top: -50px;
    left: -50px;
    background: rgba(99, 99, 99, 0.6);
    color: white;
    text-align: center;
    padding: 15px 30px 4px;
    line-height: 22px;
    transform: rotate(-44deg);
    transition: top 0.2s, left 0.2s;
    transition-timing-function: cubic-bezier(0.45, 0.05, 0.55, 0.95);
    transition-delay: 0s;
}
.prod_title {
    display: inline-block;
    font-size: 20px;
    margin: 10px 0 6px 0px;
    color: #424242;
}
.prod_infos {
    padding: 4px 0 0 0;
    margin: 4px 0 6px 4px;
}
.cart {
    background: deepskyblue;
    margin: 10px 0 0px 0;
    border: 1px solid #bbbbbba6;
    position: inherit;
    text-align: left;
    border-radius: 4px;
    color: #fff;
}
.info_product {
    color: white;
    background: #2e2e2e5e;
    padding: 0px 8px 2px;
    border-radius: 4px;
    font-size: 14px;
}
.content_imgs_sup {
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
img.first_img {
    cursor: pointer;
    margin: 0px auto;
    max-width: 100%;
    max-height: 300px;
    display: block;
}
img.other_imgs {
    width: 100px;
    margin: 0 10px 0px 0px;
    cursor: -webkit-grab;
}
.text-khaki {
  color: #607f9e !important;
}

#announce h2, #announce h3, #info_vendors h2, #about_us h2 {
    font-size: 24px;
    margin-left: 16px;
}
#announce p, #info_vendors p, #about_us p {
    font-size: 18px;
    padding: 0 16px;
    margin-left: 36px;
}
/* ADJUSTMENTS */
hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 0px 0;
}
.check {
    width: 20px;
    height: 20px;
    position: relative;
    top: 4px;
}
.radio {
  -webkit-appearance: checkbox;
  width: 24px;
  height: 24px;
}
#to_top {
    margin-left: -50px;
    bottom: 20px;
    position: sticky;
    text-align: center;
    padding: 5px 12px 6px;
    font-size: 15px;
}
.modal-content {
    margin: 0 auto;
    width: 80%;
    max-width: 800px;
}
.cont_large_form  {
    width: 80%;
    margin: 0 auto;
}
.inputs_large_form {
    display: inline-block;
    min-width: 250px;
    /* width: 45%; */
    vertical-align: top;
    margin: 0 0 10px 0;
}
/* media querys */
@media all and (max-width: 993px) {

    /* #block_shop {
      display: block;
      padding: 8px 8px 4px;
      margin: 0 auto;
    } */


}
@media all and (max-width: 768px) and (min-width: 552px) {
    .inputs_large_form {
        width: 98% !important;
    }

}
@media all and (max-width: 900px) {

    header {
      height: 140px;
      position: relative;
      background: url(../img/fond-min.jpg), no-repeat;
      background-size: cover;
    }
    #header_bar {
      float: none;
      position: absolute;
      bottom: 5px;
      right: 6px;
      margin: 0;
      width: 100%;
    }
    #block_title {
      position: absolute;
      top: 8px;
      left: 2px;
    }
    #block_title h1 {
      vertical-align: top !important;
      margin: -1px 0px 0 8px;
      font-size: 26px;
    }
    #block_title img {
      width: 36px !important;
    }
    #header_bar button {
      margin: 0 !important;
    }
    #weather_top {
      vertical-align: top;
      position: absolute;
      left: 12px;
      bottom: 40px;
    }
    #weather_top button {
      background: rgba(255, 255, 255, 0.7) !important;
      padding: 3px 3px 4px 8px !important;
    }
    #weather_top_descr {
      display: none;
    }
    #cart_block {
      margin: 0 !important;
    }
    #menu {
      margin: 4px 0 0 !important;
    }
    #cats_list a, #vendors_list a {
      display: table;
    }
    .box_gen {
        width: 96%;
        margin: 0 auto 20px;
        max-width: inherit;
        padding: 10px;
    }
    #shortcuts {
      display: none;
    }
    .modal-content{
      width: 90% !important;
    }
    .inputs_large_form {
        width: 98% !important;
    }
    #sort_block div, #sort_block button, #center_page button {
      margin: 1px 0 4px 0;
      vertical-align: middle;
    }

    #carpool_list {
      padding: 0 !important;
    }
    #carpool_list button {
      display: block !important;
    }


}
/* // end media querys */
