/*  
Theme Name: mrmacaroon
Theme URI:
Description:
Version: 1.0
Author:
Author URI: 
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
  background-color: #fff;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}
img {
  border: 0;
}
body {
  font-family: 'Open Sans', sans-serif;
  color: #000;
}
a {
  text-decoration: none;
  color: #000;
}
button,
input,
textarea {
  border: 0;
  outline: 0;
}
/* Alignment */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.625em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.625em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
/*  ����������� ������� */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFUZ0e.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOVuhs.ttf) format('truetype');
}
@font-face {
  font-family: 'Rounds Black Regular';
  src: url('fonts/RoundsBlack.eot');
  src: url('fonts/RoundsBlack.eot?#iefix') format('embedded-opentype'), url('fonts/RoundsBlack.woff') format('woff'), url('fonts/RoundsBlack.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
h1,
h2,
h3 {
  font-family: 'Rounds Black Regular';
  color: #272424;
}
/*  ����������� ������� */
#menu div > ul > li > ul.sub-menu > li {
  position: relative;
  width: auto;
  z-index: 999;
  display: none;
}
#menu div > ul > li:hover > ul.sub-menu > li {
  display: block;
}
#menu {
  position: relative;
}
ul.sub-menu {
  position: absolute;
  top: 17px;
  right: 0;
}
ul.sub-menu li {
  background-color: #fff;
  padding: 0 20px;
  margin: 10px 0;
  color: #000;
}
ul.sub-menu li a {
  color: #000;
  text-shadow: none;
}
button,
input[type="submit"] {
  border-radius: 10px;
}
/* ����������� ����*/
#pop-up-bg {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  -ms-align-items: center;
  align-items: center;
  background-color: rgba(252, 161, 179, 0.47);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9;
}
#pop-up-bg .pop-up-block {
  padding: 50px;
  background-color: #fff;
  position: relative;
  border-radius: 10px;
  max-width: 650px;
  -webkit-flex: 1px;
  -moz-flex: 1px;
  -ms-flex: 1px;
  -o-flex: 1px;
  flex: 1px;
  max-height: 90%;
}
#pop-up-bg .pop-up-block h3 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Rounds Black Regular';
  color: #272424;
}
#pop-up-bg .pop-up-block input[type="text"],
#pop-up-bg .pop-up-block input[type="tel"] {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid #CACACA;
  margin-bottom: 10px;
}
#pop-up-bg .pop-up-block textarea {
  width: 100%;
  height: 160px;
  padding: 15px;
  border: 1px solid #CACACA;
  margin-bottom: 70px;
}
#pop-up-bg .pop-up-block input[type="submit"]{
  height: 52px;
  width: 210px;
  background-color: #FFA2B5;
  font-size: 24px;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0 auto;
  display: block;
}

#pop-up-bg .pop-up-block .close {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 25px;
  height: 25px;
  cursor: pointer;
}
header {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  -ms-align-items: center;
  align-items: center;
  max-width: 1230px;
  margin: 0 auto;
  padding: 65px 15px 0;
}
header .logo {
  width: 176px;
  height: 56px;
  background: url(img/logo_mac.png) 0 0 no-repeat;
}
header .logo:hover {
  background: url(img/logo_mac_hover.png) 0 0 no-repeat;
}
header .phone {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  -ms-align-items: center;
  align-items: center;
  font-size: 24px;
	padding-left:80px;
}
.phone img {
    margin-right: 7px;
}
header .phone .phone-img {
  width: 44px;
  height: 44px;
  background: url(img/phone.png) 0 0 no-repeat;
}
header .phone .phone-img:hover {
  background: url(img/phone-red.png) 0 0 no-repeat;
}
header .phone a.tel {
  margin-left: 12px;
}
header nav ul li {
  float: left;
}
header nav ul li a {
  padding: 20px 30px;
  font-size: 18px;
}
header nav ul li a:hover {
  text-decoration: underline;
}
.top {
  max-width: 1230px;
  margin: 0 auto;
  padding: 190px 15px 0;
  height: 500px;
  background: #fff url(img/header-bg.png) top right no-repeat;
  position: relative;
}
.top h1 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  max-width: 560px;
  color: #272424;
}
.top h1 span {
  color: #FF164A;
}
.top button {
  height: 52px;
  width: 210px;
  background-color: #FFA2B5;
  font-size: 24px;
  text-transform: uppercase;
  margin-top: 40px;
  cursor: pointer;
}
.top button:hover {
  border: 1px solid #FF174A;
  background-color: #fff;
  color: #FF174A;
}
.top .fly {
  position: absolute;
  left: 215px;
  top: -80px;
  -webkit-animation: myOrbit 4s linear infinite;
  /* Chrome, Safari 5 */
  -moz-animation: myOrbit 4s linear infinite;
  /* Firefox 5-15 */
  -o-animation: myOrbit 4s linear infinite;
  /* Opera 12+ */
  animation: myOrbit 4s linear infinite;
  /* Chrome, Firefox 16+, 
            IE 10+, Safari 5 */
}
@-webkit-keyframes myOrbit {
  from {
    -webkit-transform: rotate(0deg) translateX(20px) rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-360deg) translateX(20px) rotate(360deg);
  }
}
@-moz-keyframes myOrbit {
  from {
    -moz-transform: rotate(0deg) translateX(20px) rotate(0deg);
  }
  to {
    -moz-transform: rotate(-360deg) translateX(20px) rotate(360deg);
  }
}
@-o-keyframes myOrbit {
  from {
    -o-transform: rotate(0deg) translateX(20px) rotate(0deg);
  }
  to {
    -o-transform: rotate(-360deg) translateX(20px) rotate(360deg);
  }
}
@keyframes myOrbit {
  from {
    transform: rotate(0deg) translateX(20px) rotate(0deg);
  }
  to {
    transform: rotate(-360deg) translateX(20px) rotate(360deg);
  }
}
#about {
  min-height: 520px;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px 0;
  background: #fff url(img/about-bg.png) top left no-repeat;
}
#about .block-about {
  max-width: 510px;
  float: right;
}
#about .block-about h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 37px;
}
#about .block-about h2 span {
  font-size: 36px;
}
#about .block-about p {
  font-size: 15px;
  color: #959595;
  margin-bottom: 40px;
  line-height: 19px;
}
#about .block-about .block-number {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
}
#about .block-about .block-number .number {
  font-family: 'Rounds Black Regular';
  color: #272424;
  font-size: 45px;
}
#about .block-about .block-number p {
  font-size: 18px;
  color: #272424;
  font-family: 'Rounds Black Regular';
  margin-bottom: 0;
}
.advantage {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0px 15px 50px;
}
.advantage h2 {
  font-size: 30px;
  font-weight: 700;
  color: #191C24;
  margin-bottom: 50px;
}
.advantage .block-advantage {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}
.advantage .block-advantage .advantage-item {
  width: 33%;
  margin-bottom: 25px;
}
.advantage .block-advantage .advantage-item .advantage-item-header {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  margin-bottom: 5px;
}
.advantage .block-advantage .advantage-item .advantage-item-header .block-img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background-color: #E5E5E5;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  margin-right: 24px;
  -webkit-flex: none;
  -moz-flex: none;
  -ms-flex: none;
  -o-flex: none;
  flex: none;
}
.advantage .block-advantage .advantage-item .advantage-item-header h3 {
  font-size: 20px;
  color: #191C24;
  padding-right: 20px;
  font-weight: 700;
}
.advantage .block-advantage .advantage-item p {
  font-size: 15px;
  color: #959595;
  line-height: 21px;
  padding-right: 20px;
}
.advantage .block-advantage .advantage-item:hover > .advantage-item-header .block-img {
  background-color: #FFA2B5;
}
#capcakes {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0px 15px 84px;
  position: relative;
}
#capcakes h2 {
  font-size: 30px;
  color: #191C24;
  font-weight: 700;
  margin-bottom: 50px;
}
#capcakes #cap_cat_select {
  position: absolute;
  top: 8px;
  right: 15px;
  height: 40px;
  padding: 0 10px 0 20px;
  display: none;
}
#capcakes #cap_cat_select option {
  height: 40px;
}
#capcakes .capcakes-block {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}
#capcakes .capcakes-block .capcakes-item {
  width: 25%;
  height: 420px;
  position: relative;
}
#capcakes .capcakes-block .capcakes-item .capcakes-img img {
  max-width: 100%;
  height: auto;
}
#capcakes .capcakes-block .capcakes-item .capcakes-text {
  /*display: none;*/
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background-color: rgba(182, 44, 83, 0.85);*/
  text-align: center;
  color: #fff;
  padding: 23px;
}
#capcakes .capcakes-block .capcakes-item .capcakes-text h3 {
  font-size: 20px;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
}
#capcakes .capcakes-block .capcakes-item .capcakes-text .kod {
  font-size: 16px;
  margin-top: 5px;
}
#capcakes .capcakes-block .capcakes-item .capcakes-text .sostav {
  font-size: 16px;
  margin-bottom: 17px;
  margin-top: 30px;
  line-height: 19px;
}
#capcakes .capcakes-block .capcakes-item .capcakes-text .price {
  position: absolute;
  font-size: 36px;
  width: 150px;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 75px;
  color: #555555;
}
#capcakes .capcakes-block .capcakes-item .capcakes-text .price span {
  font-size: 20px;
  margin-left: 6px;
}
#capcakes .capcakes-block .capcakes-item .capcakes-text button {
  font-size: 18px;
  color: #000;
  text-transform: uppercase;
  width: 70%;
  height: 39px;
  background-color: #F7B6C5;
  border: 1px solid #fff;
  border-radius: 10px;
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}
#capcakes .capcakes-block .capcakes-item .capcakes-text button:hover {
  opacity: 0.8;
}
#capcakes .capcakes-block .capcakes-item:hover .capcakes-text {
  display: block;
}
#capcakes .capcakes-block .cap-more {
  width: 100%;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}
#capcakes button.more-cap {
  display: block;
  margin: 90px auto 0;
  width: 282px;
  height: 53px;
  font-size: 24px;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid #000;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
}
#capcakes button.more-cap:hover {
  color: #fff;
  background-color: #FF174A;
  border: 1px solid transparent;
}
.design {
  width: 100%;
  background-color: #FF7893;
}
.design .design-block {
  max-width: 1230px;
  margin: 0 auto;
  padding: 50px 15px;
  background: url(img/design-bg.png) top 80px right no-repeat;
}
.design .design-block h2 {
  max-width: 675px;
  text-align: center;
  margin: 0 auto;
  font-size: 30px;
  color: #fff;
  font-weight: 700;
}
.design .design-block div#wpcf7-f8-o1 {
  max-width: 675px;
  margin: 45px auto 0;
}
.design .design-block div#wpcf7-f8-o1 .file_upload {
  display: block;
  position: relative;
  overflow: hidden;
  font-size: 1em;
  height: 2em;
  line-height: 2em;
  width: 100%;
  height: 40px;
  border: 1px solid #fff;
  background-color: transparent;
  border-radius: 10px;
  margin-bottom: 10px;
}
.design .design-block div#wpcf7-f8-o1 .file_upload br {
  display: none;
}
.design .design-block div#wpcf7-f8-o1 .file_upload .button,
.design .design-block div#wpcf7-f8-o1 .file_upload > mark {
  display: block;
  cursor: pointer;
  text-align: center;
  color: #FFFFFF;
  font-size: 15px;
}
.design .design-block div#wpcf7-f8-o1 .file_upload .button {
  float: right;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 8em;
  height: 100%;
  text-align: center;
  display: none;
}
.design .design-block div#wpcf7-f8-o1 .file_upload > mark {
  background: transparent;
  padding-left: 1em;
}
.design .design-block div#wpcf7-f8-o1 .file_upload input[type=file] {
  position: absolute;
  top: 0;
  opacity: 0;
}
.design .design-block div#wpcf7-f8-o1 textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  border: 1px solid #fff;
  margin-bottom: 30px;
  padding: 10px;
}
.design .design-block div#wpcf7-f8-o1 .duble-form {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}
.design .design-block div#wpcf7-f8-o1 .duble-form span {
  width: 48%;
}
.design .design-block div#wpcf7-f8-o1 .duble-form input {
  width: 100%;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  border: 1px solid #fff;
  padding: 10px;
}
.design .design-block div#wpcf7-f8-o1 input[type="submit"] {
  width: 395px;
  height: 70px;
  background-color: #fff;
  color: #000;
  text-transform: uppercase;
  font-size: 24px;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  cursor: pointer;
}
.design .design-block div#wpcf7-f8-o1 input[type="submit"]:hover {
  color: #fff;
  background-color: #FF174A;
}
.slice {
  width: 100%;
  background: url(img/slice.png) top 111px center no-repeat, url(img/slice-bg.png) top center repeat-y;
  -webkit-background-size: auto, cover;
  background-size: auto, cover;
  position: relative;
}
.slice .slice-block {
  max-width: 1230px;
  margin: 0 auto;
  padding: 70px 15px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}
.slice .slice-block .sb-left {
  width: 50%;
  padding-right: 200px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-direction: column;
  /*justify-content: space-around;*/
}
.slice .slice-block .sb-left p {
  font-size: 24px;
  color: #7F7F7F;
  cursor: default;
  border-bottom: 1px solid transparent;
  padding-bottom: 10px;
  margin-bottom: 13px;
}
.slice .slice-block .sb-left p:hover {
  border-bottom: 1px solid #000;
  color: #000;
}
.slice .slice-block .sb-right {
  width: 50%;
  padding-left: 200px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.slice .slice-block .sb-right h3 {
  font-size: 24px;
  color: #272424;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
  margin-bottom: 10px;
}
.slice .slice-block .sb-right h3:hover {
  color: #FF174A;
  cursor: default;
}
.slice .slice-block .sb-right p {
  font-size: 24px;
  color: #737373;
  line-height: 25px;
  margin-bottom: 50px;
}
.otziv {
  max-width: 1230px;
  margin: 0 auto;
  padding: 70px 15px;
}
.otziv h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 65px;
}
.otziv .slider {
  width: 100%;
}
.otziv .slider .owl-item {
  width: 33%;
  text-align: center;
  padding: 30px;
}
.otziv .slider .owl-item .otziv-item {
  text-align: center;
  width: 100%;
}
.otziv .slider .owl-item .otziv-item img {
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto 50px;
}
.otziv .slider .owl-item .otziv-item p {
  font-size: 15px;
  line-height: 36px;
  color: #5D5D5D;
}
.otziv .slider .owl-item .otziv-item p:hover {
  color: #272424;
}
.otziv .slider .owl-item .otziv-item h3 {
  font-size: 18px;
  line-height: 36px;
  margin-top: 50px;
  color: #272424;
}
.zakazat {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0px 15px 90px;
  background: url(img/zakaz-bg.png) top 35px right no-repeat;
}
.zakazat h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 50px;
}
.zakazat input[type="text"],
.zakazat input[type="tel"] {
  width: 545px;
  height: 52px;
  padding: 0 20px;
  margin-bottom: 33px;
  background-color: #F2F2F2;
}
.zakazat textarea {
  width: 545px;
  height: 160px;
  padding: 20px;
  background-color: #F2F2F2;
  margin-bottom: 30px;
}
.zakazat input[type="submit"] {
  width: 230px;
  height: 65px;
  color: #000;
  text-transform: uppercase;
  font-size: 24px;
  background-color: #FFA2B5;
  cursor: pointer;
  border: 1px solid transparent;
}
.zakazat input[type="submit"]:hover {
  border: 1px solid #FF174A;
  background-color: #fff;
  color: #FF174A;
}
footer {
  text-align: center;
  width: 100%;
  padding: 0 15px 50px;
}
footer p {
  color: #9D9D9D;
  margin-bottom: 35px;
}
footer .tel {
  font-size: 24px;
  margin-bottom: 35px;
  color: #9D9D9D;
  display: inline-block;
}
footer .adres {
  font-size: 18px;
}
/* ���� ������ */
.order-cap .name {
  font-size: 18px;
  margin-bottom: 20px;
  color: #7f7f7f;
  text-align: center;
}
.order-cap .col-dat {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  -ms-align-items: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.order-cap .col-dat input {
  height: 50px;
  width: 150px;
  border: 1px solid #CACACA;
  padding: 15px;
  margin-left: 30px;
}
.order-cap .col-dat input::-webkit-inner-spin-button,
.order-cap .col-dat input::-webkit-outer-spin-button {
  opacity: 1;
}
.order-cap .col-dat input[type="date"]::-webkit-calendar-picker-indicator {
  color: rgba(0, 0, 0, 0);
  opacity: 1;
  display: block;
  background: url(img/date.png) no-repeat;
  width: 19px;
  height: 19px;
  border-width: thin;
  cursor: pointer;
}
.order-cap .col-dat .cd-left {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
}
.order-cap .col-dat .cd-left input[type="number"] {
  width: 70px;
}
.order-cap .col-dat .zak-date::-webkit-inner-spin-button {
  display: none;
  -webkit-appearance: none;
}
.order-cap textarea {
  resize: none;
}
.order-cap .buttons {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  -ms-align-items: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}
.order-cap .buttons button {
  text-transform: uppercase;
  font-size: 16px;
  color: #FF174A;
  background-color: #fff;
  border: 1px solid #FF174A;
  width: 265px;
  height: 50px;
  cursor: pointer;
}
.order-cap .buttons button:hover {
  background-color: #FF174A;
  border: 1px solid #FF174A;
  color: #fff;
}
.order-cap .buttons .order-but2 {
  background-color: #FFA2B5;
  border: 1px solid #FFA2B5;
}
/* ������� */
#cart {
  position: fixed;
  top: 194px;
  right: 10px;
  cursor: pointer;
  z-index: 8;
}
#cart .cart-count {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  top: 20px;
  text-align: center;
}
#cart .cart-count p.cart-num {
  font-size: 30px;
}
.order-cart {
	position:relative;
}
.order-cart #itog {
  text-align: right;
  margin-bottom: 30px;
}
.order-cart table {
  width: 100%;
  margin-bottom: 30px;
}
.order-cart table th {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 10px;
}
.order-cart table th,
.order-cart table td {
  padding: 10px;
  border: 1px solid #CACACA;
  text-align: center;
}
.order-cart table td:first-child {
  text-align: left;
}
.order-cart table .cart_item_del {
  cursor: pointer;
}
.order-cart .sentorder2 {
  width: 153px;
    height: 35px;
    color: #000;
    text-transform: uppercase;
    font-size: 17px;
    background-color: #FFA2B5;
    cursor: pointer;
    border: 1px solid transparent;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
}
.order-cart .sentorder {
  width: 153px;
    height: 35px;
    color: #000;
    text-transform: uppercase;
    font-size: 17px;
    background-color: #FFA2B5;
    cursor: pointer;
    border: 1px solid transparent;
    display: block;
    margin: 0 auto;
}
@media screen and (max-width: 1000px) {
  .top {
    background: #fff url(img/header-bg.png) top right -317px no-repeat;
  }
  #about {
    background: #fff url(img/about-bg.png) top left -254px no-repeat;
  }

  header .phone {
    position: absolute;
    top: 30px;
    right: 28px;
  }
}
@media screen and (max-width: 768px) {
  .top h1 {
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    max-width: 380px;
  }
  .top .fly {
    position: absolute;
    left: 215px;
    top: 17px;
    width: 99px;
    height: auto;
  }
  header nav ul li a {
    padding: 20px 14px;
    font-size: 14px;
  }
  header {
    position: relative;
  }
  header .phone {
    position: absolute;
    top: 30px;
    right: 28px;
  }
  #about .block-about h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  #about .block-about h2 span {
    font-size: 30px;
  }
  #about .block-about p {
    font-size: 12px;
    line-height: 15px;
  }
  #about .block-about .block-number .number {
    font-family: 'Rounds Black Regular';
    color: #000;
    font-size: 36px;
  }
  #about .block-about .block-number p {
    font-size: 14px;
    color: #000;
    font-family: 'Rounds Black Regular';
    margin-bottom: 0;
  }
  #about .block-about {
    max-width: 330px;
    float: right;
  }
  .top {
    background: #fff url(img/header-bg.png) bottom 134px right no-repeat;
    background-size: 450px;
  }
  #about {
    background: #fff url(img/about-bg.png) top left no-repeat;
    background-size: 350px;
    min-height: auto;
  }
  .advantage .block-advantage .advantage-item .advantage-item-header h3 {
    font-size: 15px;
    color: #191C24;
    padding-right: 20px;
    font-weight: 700;
  }
  .advantage .block-advantage .advantage-item .advantage-item-header .block-img {
    margin-right: 8px;
  }
  .advantage .block-advantage .advantage-item p {
    font-size: 12px;
    color: #959595;
    line-height: 16px;
    padding-right: 20px;
  }
  #cart {
    position: fixed;
    top: 175px;
    right: 10px;
    cursor: pointer;
    z-index: 8;
  }
}
@media screen and (max-width: 720px) {
    header .phone .phone-img {
    width: 20px;
    height: 20px;
    background: url(img/phone.png) 0 0 no-repeat;
    background-size: cover;
}
header .phone a.tel {
    margin-left: 3px;
    font-size: 14px;
	width: 105px;
}
header .logo {
    width: 100px;
    height: 42px;
    background: url(img/logo_mac.png) 0 0 no-repeat;
    background-size: contain;
    position: relative;
    top: 12px;

}
  header .logo:hover {
    width: 100px;
    height: 42px;
    background: url(img/logo_mac_hover.png) 0 0 no-repeat;
    background-size: contain;
    position: relative;
    top: 12px;
  }

  .slice {
    background: url(img/slice-bg.png) top center repeat-y;
  }
  .slice .slice-block .sb-left {
    padding-right: 10px;
  }
  .slice .slice-block .sb-right {
    padding-left: 10px;
  }
  .zakazat input[type="text"],
  .zakazat input[type="tel"],
  .zakazat textarea {
    width: 100%;
  }
  .advantage .block-advantage .advantage-item {
    width: 100%;
  }
  .design .design-block div#wpcf7-f8-o1 input[type="submit"] {
    width: 100%;
  }
  .top .fly {
    display: none;
  }
  .top {
    background: #fff url(img/header-bg.png) bottom right no-repeat;
    background-size: 100%;
    padding: 30px 15px 0px;
    height: 500px;
    margin-bottom: 30px;
  }
  #about {
    background: #fff url(img/about-bg.png) bottom left no-repeat;
    background-size: 100%;
    min-height: 715px;
    margin-bottom: 35px;
  }
  .advantage h2 {
    font-size: 18px;
    font-weight: 700;
    color: #191C24;
    margin-bottom: 5px;
  }
  #capcakes .capcakes-block .capcakes-item {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  #capcakes h2 {
    font-size: 18px;
    margin-bottom: 50px;
  }
  #capcakes #cap_cat_select {
    top: 0;
  }
  .slice .slice-block .sb-left p {
    font-size: 14px;
  }
  .slice .slice-block .sb-right p {
    font-size: 14px;
    color: #737373;
    line-height: 16px;
    margin-bottom: 26px;
  }
  .design .design-block h2 {
    font-size: 18px;
  }
  footer .adres {
    font-size: 18px;
    line-height: 27px;
  }
  nav {
    display: none;
  }
  .logo img {
    width: 100px;
  }
  header .phone {
    position: relative;
    top: 7px;
    right: 15px;
	  padding-left:0;
  }
  .phone img {
    width: 15px;
  }
  header .phone p {
    margin-left: 6px;
    font-size: 13px;
  }
  header {
    position: relative;
    padding-top: 10px;
  }
  .otziv .slider .owl-item .otziv-item p {
    font-size: 15px;
    line-height: 20px;
    color: #5D5D5D;
  }
  .otziv .slider .owl-item .otziv-item h3 {
    font-size: 18px;
    line-height: 18px;
    margin-top: 14px;
    color: #000;
  }
  #cart {
    position: fixed;
    top: auto;
    right: 10px;
    cursor: pointer;
    z-index: 8;
    bottom: 10px;
  }
  #cart img {
    width: 70px;
  }
  #cart .cart-count {
    top: 15px;
  }
  #cart .cart-count p.cart-num {
    font-size: 24px;
  }
  #pop-up-bg .pop-up-block input[type="text"],
  #pop-up-bg .pop-up-block input[type="tel"] {
    width: 100%;
    height: 28px;
    padding: 0 15px;
    border: 1px solid #CACACA;
    margin-bottom: 6px;
  }
  #pop-up-bg .pop-up-block textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid #CACACA;
    margin-bottom: 10px;
  }
  #pop-up-bg .pop-up-block h3 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Open Sans', sans-serif;
  }
  #pop-up-bg .pop-up-block {
    padding: 22px;
  }
  #pop-up-bg .pop-up-block input[type="submit"] {
    height: 40px;
    width: 169px;
    background-color: #FFA2B5;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    margin: 0 auto;
    display: block;
  }
  .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
    display: none!important;
  }
  span.wpcf7-not-valid-tip {
    font-size: 10px;
  }
  .order-cap .col-dat .cd-left {
    margin-bottom: 25px;
    width: 100%;
  }
  .order-cap .buttons button {
    margin-bottom: 20px;
  }
  .order-cap .buttons button:last-child {
    margin-bottom: 0;
  }
  .order-cart table th,
  .order-cart table td {
    font-size: 7px;
  }
  .zakazat {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0px 15px 203px;
    background: url(img/zakaz-bg.png) top 520px center no-repeat;
    background-size: 222px;
  }
}
#perezvonim {
  position: fixed;
  right: 10px;
  top: 299px;
  cursor: pointer;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

#perezvonim:hover {
  position: fixed;
  right: 10px;
  top: 285px;
  cursor: pointer;
}

#coffe {
  position: fixed;
  right: 16px;
  top: 88px;
  cursor: pointer;
}
.coffeImgM{
  z-index: 2;
  position: relative;
}

.coffeHoverM{
  position: absolute;
  top: 8px;
  left: 100px;
  z-index: 1;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#coffe:hover .coffeHoverM{
  left: -108px;
}

#pop-up-bg .pop-up-block .coffe-form h3 {
  font-size: 24px;
  margin-bottom: 25px;
}

#pop-up-bg .pop-up-block .coffe-form p {
  text-align: center;
  line-height: 1.2;
}

#pop-up-bg .pop-up-block .coffe-form a {
  text-align: center;
  display: block;
  margin-top: 25px;
  font-size: 25px;
}

.callBackM{
  padding: 5px;
  margin: 0 auto;
  margin-top: 20px;
  display: block;
  width: 253px;
  line-height: 1.7;
  text-align: center;
  border-radius: 10px;
  height: 52px;
  background-color: #FFA2B5;
  font-size: 24px;
  text-transform: uppercase;
  cursor: pointer;
}

@media screen and (max-width: 460px) {
  #pop-up-bg .pop-up-block h3 {

      padding-top: 50px;
  }
	.order-cart .sentorder2 {
		right:0;
	}
}

.dopiM img{
  max-width: 100%;
  height: auto;
  margin-bottom: 50px;
}

.capcakes-text .kod, .capcakes-text h3, .capcakes-text .sostav, .capcakes-text .mask {
  display: none;
}

#capcakes .capcakes-block .capcakes-item:hover .capcakes-text {
  background-color: rgba(182, 44, 83, 0.85);
}

.capcakes-item:hover .capcakes-text .mask, .capcakes-item:hover .capcakes-text .kod, .capcakes-item:hover .capcakes-text h3, .capcakes-item:hover .capcakes-text .sostav {
  display: block;
}
#capcakes .capcakes-block .capcakes-item:hover .capcakes-text .price {
  color: #ffffff;
}
