@import url('https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700&subset=cyrillic');

body {
  position: static;

  min-width: 1200px;
  margin: 0;
  padding: 0;

  font-weight: bold;
  font-size: 14px;
  line-height: 24px;
  font-family: "PT Sans Narrow", "Arial", sans-serif;
  color: black;
  text-transform: uppercase;

  background-color: black;
  background-image: url(../img/background-pic.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: auto;
}

h1 {
  font-size: 30px;
  line-height: 42px;
}

h2 {
  font-size: 24px;
  line-height: 30px;
}

.not-index-page-background,
.index-content {
  background-image: url(../img/index-content-background.jpg);
  background-repeat: repeat;
  /*Here is took .jpg background image because of smaller size of file instead of .png*/
  background-position: top left;
}

.clearfix::after {
  content: "";

  display: table;
  clear: both;
}

.container {
  width: 960px;
  margin: 0 auto;
}

.main-header {
  background-color: black;
}

.main-navigation {
  display: block;
  float: left;
  margin: 0 10px;
}

.main-navigation ul {
  display: block;
  margin: 0;
  padding: 0;

  list-style: none;
}

.main-navigation li {
  position: relative;

  display: block;
  float: left;
}

.user-block {
  float: right;
  margin-right: 10px;
}


.main-navigation li:hover,
.user-block:hover {
  background-color: rgb(36, 36, 36);
}

.main-navigation a,
.login {
  display: block;
  padding: 24px 20px 28px;

  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: white;
  text-decoration: none;
}

.login {
  padding: 26px 23px;
  padding-left: 53px;
  position: relative;

  opacity: 1;
}

.login:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 25px;
  width: 15px;
  height: 15px;
  background: transparent url('../img/login-icon.png') no-repeat center;
  opacity: .3;
}

.login:hover:after {
  opacity: 1;
}

a.current-main-nav-name {
  margin: 0 20px;
  padding: 24px 0 24px;

  border-bottom: 4px solid white;
  cursor: default;
}

/* the value 23 of right-left padding is for perfect pixel comparing with layout

  Default values is 20px;
*/

.shop-logo {
  display: block;
  align-items: center;
  float: left;
  width: 121px;
  height: 49px;
  margin-left: 10px;
  padding: 23px 0 0 20px;
}

.shop-logo a {
  display: block;

  font-size: 0;
  line-height: 0;
}

.index-logo {
  width: 378px;
  height: 204px;
  margin: auto;
  margin-top: 60px;
  padding-left: 20px;
}

.features {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-content: center;
  width: 940px;
  height: auto;
  margin: 20px 10px 0;
}

.features-item {
  box-sizing: border-box;
  width: 300px;
}

.features-name,
.index-content-title {
  font-size: 30px;
  line-height: 42px;
}

.features-name {
  margin: 0;

  text-align: center;
  color: white;
}

.features-name::after {
  content: "";

  display: block;
  width: 20px;
  height: 20px;
  margin: auto;
  margin-top: 12px;

  background-color: white;
  transform: rotate(45deg);
}

/*Here is pixel perfecting */
.features-item:first-child .features-name {
  padding-right: 3px;
}

.features-item:nth-child(2) .features-name {
  padding-right: 1px;
}

.features-item:last-child .features-name {
  padding-right: 1px;
}

.features-item:first-child p {
  padding-right: 5px;
}

.features-item:nth-child(2) p {
  padding-left: 1px;
}

.features-item:last-child p {
  padding-right: 5px;
}
/*Ending of pixel perfecting*/

.features p {
  margin-top: 27px;
  margin-bottom: 44px;

  text-align: center;
  color: white;
}


.breadcrumbs {
  margin: 0;
  padding: 0;

  list-style: none;
}

.breadcrumbs li {
  float: left;
  margin-left: 15px;
}

.page-header {
  margin: 0 10px 0;
}

.page-header h1 {
  margin: 55px 0 21px;

  line-height: 1;
}

/*3-level tag nesting*/
.breadcrumbs li > * {
  padding-left: 25px;

  color: black;
  text-decoration: none;
}

.breadcrumbs > li:first-child > * {
  padding-left: 0;
}

.breadcrumbs li:not(:first-child)::before {
  content: "";
  position: absolute;

  display: block;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  margin-left: 1px;

  background-color: black;
  transform: rotate(45deg);
}

span.current-breadcrumbs-item {
  color: rgb(171,169, 167);

  cursor: default;
}


.breadcrumbs li:first-child {
  margin-left: 0;
}

/*Pixel-perfecting starts*/
.breadcrumbs li:nth-child(3n),
.breadcrumbs li:nth-child(4n) {
  margin-left: 19px;
}

.breadcrumbs li:nth-child(3n) > * {
  padding-left: 26px;
}

.breadcrumbs li:nth-child(4n) > * {
  padding-left: 27px;
}
/*Pixel-perfecting ends*/


/*HERE IS STARTING CATALOG PAGE ITEMS FLOATING */


.filter-box {
  float: left;
  width: 220px;
  margin-left: 10px;
}

.filter-box > div {
  width: auto;
  min-height: 260px;
  /*margin-top: 55px;*/
}

/*Pixel-perfecting starts*/
.filter-manufecturer {
  margin-top: 50px;
}

.filter-categories {
  margin-top: 52px;
}

/*Pixel-perfecting ends*/

.filter-box h2 {
  margin: 0;
  margin-bottom: 28px;

  line-height: 1;
}

/*Pixel-perfecting starts*/
.filter-categories h2 {
  margin-bottom: 28px;
}
/*Pixel-perfecting ends*/

.shop-items-container {
  float: right;
  max-width: 700px;
  margin-top: 53px;
  margin-right: 10px;
  margin-bottom: 49px;
}
.shop-item {
  float: left;
  width: 220px;
  min-height: 286px;
  margin-right: 20px;
  margin-bottom: 20px;

  background-color: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.shop-item:nth-child(3n) {
  margin-right: 0;
}

.shop-item:nth-child(n+4) {
  margin-bottom: 0;
}

.shop-item p {
  margin: 0 16px 0;

  line-height: 18px;
  color: black;
}
.shop-item a.item-name-link {
  text-decoration: none;
}
.shop-item p:first-of-type {
  margin-top: 6px;

  text-transform: none;
}


.price-and-buy {
  width: 187px;
  height: 44px;
  margin: 13px auto 15px;
}

/*.price-and-buy > a.btn {
  float: right;
  width: 78px;
}*/

.item-price {
  display: inline-block;
  width: 109px;
  height: 34px;
  padding-top: 10px;

  text-align: center;
  color: black;

  background-color: rgb(229, 229, 229);
}

/*pp starts*/
.item-price {
  width: 106px;
  height: 34px;
  padding-top: 9px;
  padding-left: 3px;
}



.shop-item:first-child .item-price,
.shop-item:nth-child(6n) .item-price,
.item-information .item-price {
  width: 105px;
  padding-left: 4px;
}

.shop-item:first-child .item-price::first-letter,
.shop-item:nth-child(6n) .item-price::first-letter,
.item-information .item-price::first-letter {
  letter-spacing: 3px;
}


.price-and-buy .btn {
  float: right;
  width: 76px;
  padding-top: 9px;
  padding-left: 2px;
}
/*pp ends*/

.pagination {
  display: block;
  float: left;
  margin: 45px 0 0;
  padding: 0;

  list-style: none;
  line-height: 1;
  text-align: left;
}

.pagination li {
  float: left;
  margin-right: 7px;
}

.pagination .btn {
  display: block;
  float: left;
  width: 43px;
  height: 27px;
  padding: 14px 0 2px;

  font-size: 14px;
  line-height: 1;
  text-align: center;
  color: white;

  background-color: black;
}

.current-page {
  filter: invert(100%);
}

/*HERE IS ENDING CATALOG PAGE ITEMS FLOATING */

/*HERE IS CHECKBOXES AND RADIOBTNS STYLE
  И ДОПИЛИ ПЕРЕНОС СТРОК, Т.К. В ШАБЛОНЕ ПОЛНАЯ ХРЕНЬ С ЭТИМ
*/
.filter-box input[type="checkbox"],
.filter-box input[type="radio"],
.filter-box label {
  display: block;
  margin-left: 0;
}

.filter-box label {
  margin-top: 10px;
  margin-left: 0;

  font-weight: bold;
  font-size: 14px;
  line-height: 27px;
  font-family: "PT Sans Narrow", "Arial", sans-serif;
  color: black;
  text-transform: uppercase;
}

/*pp starts*/

.filter-categories label {
  display: block;
  position: relative;
  width: 125px;
  margin: 0;
  padding-left: 43px;
  line-height: 18px;
}

.filter-categories__item label:after,
.filter-categories__item label:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 5px;
  border: 2px solid black;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-sizing: border-box;
}

.filter-categories__item label:before {
  display: none;
  left: 11px;
  border: none;
  width: 8px;
  height: 8px;
  background-color: black;
}

.filter-categories__item input:checked ~ label:before {
  display: block;
}

.filter-categories__item input:disabled ~ label,
.filter-categories__item input:disabled ~ label:hover,
.filter-categories__item input:disabled ~ label:after {
  border-color: #dddad8;
  color: #dddad8;
}


.filter-categories__item input:disabled ~ label:before {
  background-color: #dddad8;
}

.filter-categories__item:first-of-type label,
.filter-categories__item:nth-of-type(2n) label {
  margin-bottom: 16px;
}

.filter-categories__item:nth-of-type(3n) label {
  padding-top: 4px;
}
/*pp ends*/

.filter-manufecturer__item label {
  position: relative;
}

.filter-manufecturer__item label::before {
  content: "";
  position: relative;

  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  margin-right: 23px;
  margin-left: 0;

  border: 2px solid black;
}

.filter-manufecturer__item input {
  visibility: visible;
}

.filter-manufecturer__item label:after {
  display: none;
  content: "";
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M11.12 2a.4.4 0 0 1 0 .57L8 5.71a.4.4 0 0 0 0 .57l3.14 3.14a.4.4 0 0 1 0 .57L10 11.13a.41.41 0 0 1-.57 0L6.27 8a.41.41 0 0 0-.57 0l-3.14 3.12a.41.41 0 0 1-.57 0L.85 10a.4.4 0 0 1 0-.57L4 6.28a.4.4 0 0 0 0-.57L.85 2.57a.4.4 0 0 1 0-.57L2 .86a.41.41 0 0 1 .57 0L5.7 4a.4.4 0 0 0 .57 0L9.41.87a.41.41 0 0 1 .57 0z'/%3E%3C/svg%3E");
  position: absolute;
  top: 50%;
  left: 4px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.filter-manufecturer__item input:checked ~ label:after {
  display: block;
}

.filter-manufecturer__item input:disabled ~ label,
.filter-manufecturer__item input:disabled ~ label:hover,
.filter-manufecturer__item input:disabled ~ label:after,
.filter-manufecturer__item input:disabled ~ label:before {
  color: rgba(0, 0, 0, 0.3);
  opacity: 0.31;
}

.filter-manufecturer label:hover,
.filter-categories label:hover  {
  color: rgb(102, 61, 21);
}

.filter-box input[type="checkbox"],
.filter-box input[type="radio"] {
  display: none;
}


/*HERE IS ENDING CHECKBOXES AND RADIOBTNS STYLES*/

.index-content {
  max-width: 940px;
  margin: 35px 10px 0;
  padding: 45px 80px 50px 80px;

  background-color: white;
}

.index-content:last-child {
  margin-bottom: 65px;
}

.index-content-left {
  float: left;
  width: 385px;
}

.index-content-right {
  float: right;
  width: 300px;
  padding-left: 95px;

  background-image: url(../img/index-content-shadow.png);
  background-repeat: no-repeat;
  background-position: left, center;
  background-size: auto;
}

.news-preview {
  margin: 0 0 28px 1px;
  padding: 0;

  list-style: none;
}

.index-content-title {
  margin: 0 0 20px;;
}

/*PP starts */
div.index-content .index-content-right .index-content-title {
  padding-left: 3px;
}

.index-content-left .index-content-title {
  margin-left: 1px;
}

/*PP ends*/

.index-content p,
.index-content time {
  margin: 0;
}

.index-content time {
  text-transform: lowercase;
}

.index-content li {
  margin: 0 0 21px;
}

.gallery-content {
  display: block;
  margin: 0;
  margin-bottom: 40px;
  padding: 0;
}

.gallery-content img {
  width: 143px;
  height: 82px;
  margin-right: 5px;
}

.gallery-live {
  position: relative;

  height: 260px;
}

.gallery-live .gallery-content {
  height: 164px;

  background-color: #ccc;
  border: 7px solid #fff;
}

.gallery-live .gallery-content a {
  position: absolute;
  top: 7px;
  left: 7px;
}

.gallery-live .gallery-content img {
  width: 286px;
  height: 164px;
}

.gallery__img {
  display: none;
}

.gallery__img--show {
  display: block;
}

.btn {
  display: inline-block;
  width: 140px;
  padding: 10px 0;

  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  vertical-align: middle;
  text-align: center;
  color: rgb(255, 255, 255);
  text-transform: inherit;
  text-decoration: none;

  background-color: black;
  border: none;
}


.filter-submit {
  margin-top: 48px;
  padding: 9px 27px 10px 33px;
}

.index-content:nth-child(3n) > .index-content-left > .btn {
  margin-top: 1px;
}

.index-content:nth-child(4n) > .index-content-left > .btn {
  margin-top: 3px;
  padding-top: 9px;
}

.index-content:nth-child(4n) > .index-content-left > .btn:nth-child(5) {
  margin-left: 18px;
}

.footer-copyright .btn {
  padding-top: 9px;
}
/*pp ends*/

.btn:hover {
  background-color: #663300;
  cursor: pointer;
}

.btn:disabled,
.btn:disabled:hover {
  background-color: #000;
  opacity: 0.3;
  cursor: auto;
}

.current-page:hover {
  background-color: black;
  cursor: default;
}

/*nothing about customizing outlines for input buttons */
.btn:focus {
  outline: none;
}

.gallery-next {
  float: right;
}

.index-content-left > p {
  margin-left: 1px;
  padding-bottom: 20px;
}

/*3-level tag nesting, should i fix it?*/
.index-content:last-child > .index-content-left > a:last-child {
  margin-left: 20px;
}

/*Pixel perfecting*/
.index-content:last-child > .index-content-right {
  width: 301px;
  padding-left: 94px;
}

.index-content:last-child > .index-content-right > p {
  padding-left: 3px;
}
/*Pixel perfecting end*/

.index-content-right > p {
  padding-bottom: 22px;
}

/*PP starts*/
.appointment-form {
  padding-left: 1px;
}
/*PP ends*/

.appointment-form input {
  float: left;
  width: 121px;
  height: 37px;
  margin-bottom: 18px;
  padding-left: 15px;

  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
  text-align: left;
  text-transform: inherit;

  border: 2px solid black;
}

/*Pixel perfecting*/
.appointment-form input:nth-child(n+3) {
  margin-top: 2px;
  margin-bottom: 20px;
}
/*Pixel perfecting end*/

.appointment-form input::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 1);
}

.appointment-form input:-ms-input-placeholder {
  color: rgba(0, 0, 0, 1);
}

.appointment-form input::-ms-input-placeholder {
  color: rgba(0, 0, 0, 1);
}

.appointment-form input::-moz-placeholder {
  color: rgba(0, 0, 0, 1);
}

.appointment-form input::placeholder {
  color: rgba(0, 0, 0, 1);
}

.appointment-form input:nth-child(2n) {
  float: right;
}

.appointment-form input:focus,
.appointment-form input:hover {
  outline: 0;
  border-color: #663300;
}

.appointment-form > .btn {
  width: 300px;
  padding-bottom: 9px;
}

.item-photo-gallery,
.item-information {
  float: left;
  width: 460px;
  margin: 0 10px 49px;
}

.item-photo-gallery {
  margin-top: 54px;
}

.item-photo-gallery img {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/*Two uses of :(not), if they used separated by commas, dosnt work*/

.item-photo-gallery img:not(:first-child) {
  float: left;
  margin: 14px 20px 0 0;
}

.item-photo-gallery img:last-child {
  float: right;
  margin-right: 0;
}

.item-information {
  box-sizing: border-box;
  margin-top: 73px;
  padding-left: 70px;
}

.item-article {
  display: inline-block;
  float: right;
  margin-right: 12px;

  color: rgb(174, 174, 174);
}

.item-information p {
  margin-top: 29px;
}

.item-information .price-and-buy {
  margin: 0;
  margin-top: 36px;
  margin-bottom: 64px;
}

.item-information h2 {
  margin: 0;
  margin-bottom: 30px;

  line-height: 1;
}

.item-information__list {
  margin: 0;
  padding: 0;

  list-style: none;
}

.item-information__list li {
  display: block;
}

.item-information__list li::before {
  content: "";

  display: block;
  float: left;
  width: 7px;
  height: 7px;
  margin: 9px 12px 0 2px;

  background-color: black;
  transform: rotate(45deg);
}

.main-footer {
  color: white;

  background-color: rgb(36, 36, 36);
  background-image: url(../img/footer-background.jpg);
  background-repeat: repeat;
  /*Here is took .jpg background image because of smaller size of file instead of .png*/
  background-position: top left;
}

.alternative-footer {
  box-shadow: inset 0 25px 50px -10px black;
}

.main-footer a {
  color: white;
}

.main-footer p {
  margin: 0;
  margin-bottom: 19px;
  padding: 0;

  line-height: 100%;
  text-align: center;
}

/*PP Starts*/

.footer-copyright p,
.footer-social p {
  margin-bottom: 20px;
}
.footer-social p {
  margin-left: 1px;
}
/*PP ends*/

.footer-contacts {
  float: left;
  width: 310px;
  margin: 58px 11px 45px 11px;
}

.footer-contacts p {
  padding: 0;

  line-height: 24px;
  text-align: left;
}

.footer-social {
  float: left;
  margin: 63px 10px 53px 78px;
}


.footer-copyright {
  float: right;
  margin: 63px 10px 53px;
}

.social-btn {
  position: relative;
  display: block;
  float: left;
  width: 43px;
  height: 43px;
  margin-right: 6px;
  overflow: hidden;

  font-size: 0;
}

.social-btn:after,
.social-btn:before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  display: block;
  width: 100%;
  height: 100%;

  background-color: black;
}

.social-btn:after {
  transition: 0.2s ease top;
}

.social-btn:before {
  filter: invert(100%);
  top: 100%;
  transition: 0.2s ease top;
}

.social-btn:last-child {
  margin: 0;
}

.social-btn-vk:after,
.social-btn-vk:before {
  background-image: url(../img/vk-logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto;
}

.social-btn-fb:after,
.social-btn-fb:before {
  background-image: url(../img/facebook-logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto;
}

.social-btn-inst:after,
.social-btn-inst:before {
  background-image: url(../img/insta-logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto;
}

.social-btn:hover:after {
  top: -100%;
}

.social-btn:hover:before {
  top: 0;
}

/*inversing htmlacademy btn has a blue background*/

.footer-copyright a.btn:hover {
  color: black;

  background-color: white;
}

.price {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: 15px;
}

.price__heading {
  font-size: 48px;
  margin: 60px 10px 75px;
  text-align: center;
  width: 100%;
  font-weight: bold;
  position: relative;
}

.price__heading:after,
.price__heading:before {
  content: '';
  display: block;
  height: 2px;
  width: 160px;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: #000;
}

.price__heading:before {
  left: auto;
  right: 0;
}

.price__block {
  width: 460px;
  padding: 0 10px;
  margin-bottom: 68px;
}

.price__block-heading {
  width: 240px;
  margin: 0 0 40px;
}

.price__product-list  li{
  margin-bottom: 18px;
}

.price__pricies {
  border-collapse: collapse;
}

.price__pricies thead {
  display: none;
}

.price__pricies td {
  border: 2px solid black;
  padding: 8px 0 8px 18px;
  width: 230px;
  box-sizing: border-box;
  line-height: 24px;
}

.price__pricies td:nth-child(2) {
  text-align: center;
}

.price__pricies td:nth-child(2):after {
  content: '';
}


.price__pricies-heading {
  width: 180px;
}

.price__about-us {
  align-self: flex-end;
}

.price__about-us p {
  width: 380px;
}

/* Login modal form */

.login-modal {
  display: none;
  position: fixed;
  top: 120px;
  left: 50%;
  margin-left: -230px;
  width: 300px;
  padding: 50px 80px;

  color: #000000;

  background: #f8f3f0 url("img/pattern-white.jpg");
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.7);
}

.login-modal__close,
.map-modal__close {
  position: absolute;
  top: 0;
  right: -34px;
  width: 22px;
  height: 22px;

  font-size: 0;

  background-color: transparent;
  border: 0;
  cursor: pointer;
}

.login-modal__close::before,
.login-modal__close::after,
.map-modal__close:before,
.map-modal__close:after {
  content: "";
  position: absolute;
  top: 9px;
  left: 1px;

  width: 19px;
  height: 3px;
  background-color: #d0d0d0;
  border-radius: 1px;
}

.login-modal__close::before,
.map-modal__close::before {
  transform: rotate(45deg);
}

.login-modal__close::after ,
.map-modal__close::after {
  transform: rotate(-45deg);
}

.login-modal__heading {
  margin: 0;
  margin-bottom: 20px;

  font-size: 30px;
  line-height: 42px;
}

.login-modal__info {
  margin: 0;
  margin-bottom: 14px;
}

.login-modal__form {
  margin-top: 30px;
  margin-bottom: 10px;
}

.login-modal__form input[type="text"],
.login-modal__form input[type="password"] {
  width: 241px;
  margin: 0;
  margin-bottom: 10px;
  padding: 10px 15px;
  padding-right: 40px;

  font-size: 14px;
  line-height: 24px;
  font-family: "PT Sans Narrow", "Arial", sans-serif;
  color: #000000;
  text-transform: uppercase;

  background-color: #f9f6f3;
  border: 2px solid #000000;
}

.login-modal__form input:focus {
  border-color: #663d15;
}

.login-modal__form input.icon-user {
  background-image: url("../img/icon-user.png");
  background-repeat: no-repeat;
  background-position: 95% center;
}

.login-modal__form input.icon-password {
  background-image: url("../img/icon-password.png");
  background-repeat: no-repeat;
  background-position: 95% center;
}

.login-modal__form .restore {
  float: right;

  color: #000000;
}

.login-modal__form .btn {
  width: 100%;
  margin-top: 15px;
}

.login-checkbox input[type="checkbox"] {
  display: none;
}

.login-checkbox {
  position: relative;

  padding-left: 30px;

  cursor: pointer;
}

.login-checkbox:hover {
  color: #663d15;
}

.login-checkbox input[type="checkbox"] + .checkbox-indicator {
  position: absolute;
  top: -1px;
  left: 0;

  width: 17px;
  height: 17px;

  border: 2px solid #000000;
}

.login-checkbox input[type="checkbox"]:checked + .checkbox-indicator::before,
.login-checkbox input[type="checkbox"]:checked + .checkbox-indicator::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;

  width: 15px;
  height: 2px;

  background-color: #000000;
}

.login-checkbox input[type="checkbox"]:checked + .checkbox-indicator::before {
  transform: rotate(45deg);
}

.login-checkbox input[type="checkbox"]:checked + .checkbox-indicator::after {
  transform: rotate(-45deg);
}

.map-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 20;

  width: 766px;
  height: 561px;
  margin-top: -280px;
  margin-left: -390px;

  background: #e9e5dc url("../img/map.jpg");
  border: 7px solid white;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.7);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.5);
}

/* Login animation */

@keyframes bounce {
  0%   {
    transform: translateY(-2000px);
  }
  70%  {
    transform: translateY(30px);
  }
  90%  {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-10px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(10px);
  }
}

.modal--show {
  display: block;
  animation: bounce 0.6s;
}

.modal-error {
  animation: shake 0.6s;
}
