/* fix logo z-index */
.logo {
  z-index: 1;
}

body:not(.path-frontpage) {
  background-image: url(../img/bg600.jpg);
  background-position: top center;
  background-repeat: repeat;
}

header .search-orders {
  margin: .5em 0;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 100;
}

header .search-orders a {
  background-color: #95110f;
  border-radius: 10px;
  color: #fff;
  padding: .25em .75em;
}

body:not(.path-frontpage) .slogan {
  padding: 90px 0 25px;
}

body:not(.path-frontpage) .content {
  display: block;
  margin-bottom: 80px;
}

div[data-drupal-messages] {
	margin: .5em 0 1.25em;
}

.messages {
	padding: 15px 20px;
	word-wrap: break-word;
	border: 1px solid;
	border-radius: 2px;
	background: no-repeat 10px 17px;
	overflow-wrap: break-word;
}

.messages--status {
  color: #325e1c;
  border-color: #c9e1bd;
  background-color: #f3faef;
}

.messages--warning {
  color: #734c00;
  border-color: #f4daa6;
  background-color: #fdf8ed;
}

.messages--error {
	color: #a51b00;
	border-color: #f9c9bf;
	background-color: #fcf4f2;
}

.payment-button {
  background: #b51e25;
  color: #fff;
  cursor: pointer;
  margin-bottom: .5em;
}

.submit-red-button {
  background: #95110f;
  color: #fff;
  cursor: pointer;
}

table {
  width: 100%;
  margin: 0 0 10px;
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid #a7a9ab;
}

table.red-rounded {
  border-collapse: unset;
  border-radius: 10px;
  border-spacing: 0;
  border: 3px solid #95110f;
  overflow: hidden;
}

table.red-rounded thead th {
  color: #fff;
  background: #95110f;
  font-weight: normal;
  text-transform: uppercase;
}

table.red-lined tr {
  border-bottom: 1px solid #95110f;
}

td, th {
  vertical-align: middle;
}

th {
  padding: 10px 12px;
  text-align: left;
}

td {
  padding: 10px 12px;
  text-align: left;
}

.action-info {
  border: 3px solid #95110f;
  border-radius: 10px;
  padding: .5em;
  text-align: center;
  margin-bottom: 1em;
}

.action-feature {
  color: #b51e25;
  font-weight: bold;
}

.action-countdown {
  font-size: 1.5em;
  font-weight: bold;
  color: #b51e25;
}

/**
 * Frontpage form.
 */

.personal--name {
  justify-content: center;
}

.popular-form__age:first-child {
  margin-left: 0;
}

.popular-button,
.catalog-letters__button {
  cursor: pointer;
}

.input-confirm-personal {
  margin: 1em 0;
}

.input-confirm-personal label {
  color: #fff;
	font-family: 'Calligraph', 'Comic Sans MS', Cursive;
	font-size: 22px;
  margin-left: .5em;
}

.input-confirm-personal label a,
.input-confirm-personal label a:visited {
	color: #5595ff;
}


/**
 * Order form.
 */

.scroll-bottom.popular-button {
  display: none;
  background: #95110f;
  color: #fff;
  font-size: 2em;
  width: auto;
  padding: .25em .5em;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
}

.order-form-section {
  border: 5px dashed #95110f;
  padding: 1em 2em 2em;
  margin-bottom: 2.5em;
}

.order-form-section h2.description__title {
  color: #95110f;
  text-align: center;
  padding: 0;
  margin-bottom: .25em;
}

.order-form-section .subtitle {
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

.order-form-section .sets-list,
.order-form-section .video-sets-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.order-set {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  width:48%;
}

.order-set h3 {
  font-size: 1.5em;
}

.order-set .set-image {
  position: relative;
}

.order-set .set-image img {
  position: relative;
  z-index: -2;
}

.order-set p.description {
  flex-grow: 1;
}

.order-set .order-set-checkbox {
  display: none;
}

.order-set label.catalog-letters__button {
  display: block;
  margin: 0 0 1em;
  text-align: center;
}

.order-set .order-set-checkbox:not(:checked) + label.catalog-letters__button {
  background: #fff;
  color: #95110f;
  box-shadow: inset 0 0 0 3px #95110f;
}

.video-sets-intro {
  position: relative;
}

.video-sets-intro .video-sets-intro-image {
  position: relative;
  z-index: -2;
}

.order-video-set {
  width: 48%;
  margin-top: .75em;
}

.order-video-set .form-item {
  position: relative;
  padding-left: 1.25em;
}

.order-video-set .form-item input {
  position: absolute;
  left: 0;
  top: .4em;
}

.order-video-set .form-item label {
  font-weight: bold;
}

.order-video-set .form-item .description {
  margin-top: .5em;
}

.order-form-section .set-price::before {
	content: "";
	background-image: url(../img/price-red.png);
	position: absolute;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 100%;
	width: 125px;
	height: 125px;
	bottom: -53px;
	right: -16px;
	z-index: -1;
}

.order-form-section .set-price {
	color: #fff;
	font-family: 'Calligraph', 'Comic Sans MS', Cursive;
	font-size: 42px;
	letter-spacing: 3px;
	text-align: right;
	position: absolute;
	right: 0;
}

.personal-data {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.personal-data h3 {
  font-size: 1.5em;
  width: 100%;
}

.personal-data .form-item {
  display: flex;
  border: 2px solid #95110f;
  border-radius: 5px;
  flex-wrap: wrap;
  margin-bottom: 1em;
  overflow: hidden;
  width: 48%;
}

.personal-data .form-item label {
  background: #95110f;
  color: #fff;
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
  font-size: 1.25em;
  padding: .25em;
  width: 50%;
}

.personal-data .form-item input,
.personal-data .form-item select {
  width: 50%;
  border: none;
  padding: .25em;
}

.contact-data {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-data h3 {
  font-size: 1.5em;
  width: 100%;
}

.contact-data .form-item {
  display: flex;
  border: 2px solid #95110f;
  border-radius: 5px;
  flex-wrap: nowrap;
  margin-bottom: 1em;
  overflow: hidden;
  width: 100%;
}

.contact-data .form-item label {
  background: #95110f;
  color: #fff;
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
  font-size: 1.25em;
  padding: .25em;
  min-width: 8em;
  width: 30%;
}

.contact-data .form-item input {
  border: none;
  flex-grow: 1;
  padding: .25em;
}

.contact-data .js-form-type-textarea div {
  width: 70%;
}

.contact-data .form-item textarea {
  border: none;
  padding: .25em;
  width: 100%;
}

.delivery-data h3 {
  font-size: 1.5em;
  width: 100%;
}

.delivery-data .delivery-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.delivery-data .delivery-item {
  border: 2px solid #95110f;
  border-radius: 8px;
  margin-bottom: 1em;
  width: 31%;
}

.delivery-data .delivery-item input {
  display:none;
}

.delivery-data .delivery-item label {
  display: block;
  cursor: pointer;
  height: 100%;
  padding: .25em .75em;
}

.delivery-data .delivery-item input:not(:checked) + label:hover {
  background: #95110f22;
}

.delivery-data .delivery-item input:checked + label {
  background: #95110f;
  color: #fff;
}

.delivery-data .delivery-item h4 {
  margin: .25em 0 0;
  margin-left: 60px;
  position: relative;
}

.delivery-data .delivery-item .item-number {
  color: #000;
  display: block;
  position: absolute;
  border-radius: 25px;
  background: #fff;
  box-shadow: 1px 1px 8px 0;
  font-size: 1.75em;
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
  line-height: 45px;
  left: -60px;
  top: -15px;
  text-align: center;
  width: 50px;
  height: 50px;
}

.delivery-data .delivery-item p {
  font-size: .75em;
  line-height: 1.2;
}

form#ms-order-form .form-actions {
  text-align: center;
}

.order-form-section .input-confirm-personal {
  text-align: center;
  margin: 1em 0 0;
}

.order-form-section .input-confirm-personal label {
  color: #262121;
	font-family: 'Calligraph', 'Comic Sans MS', Cursive;
	font-size: 22px;
  margin-left: .5em;
}

@media (max-width: 850px) {
  .personal-data .form-item {
    width:100%;
  }

  .delivery-data .delivery-item {
    width:48%;
  }

  .order-form-section .set-price::before {
    width: 100px;
    height: 100px;
    right: -10px;
    bottom: -42px;
  }
  .order-form-section .set-price {
    font-size: 35px;
    margin: 0;
  }
}

@media (max-width: 660px) {
  .order-set,
  .order-video-set,
  .delivery-data .delivery-item {
    width:100%;
  }
}
