@font-face {
  font-family: "p55-settings";
  src: url("../fonts/p55-settings.eot");
  src: url("../fonts/p55-settings.eot#iefix") format("embedded-opentype"), url("../fonts/p55-settings.woff") format("woff"), url("../fonts/p55-settings.ttf") format("truetype"), url("../fonts/p55-settings.svg") format("svg");
}

.p55-settings * {
  box-sizing: border-box;
  outline: none;
}
.p55-settings svg:not(:root) {
  overflow: hidden;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
}
.p55-settings [class*="icon--"] {
  display: inline-block;
  fill: currentColor;
  width: 1em;
  height: 1em;
}
/* 
    Style
----------------------------*/
.p55-settings {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.p55-settings__content {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: #ffffff;
  padding: 15px;
  border-radius: 3px;
}
.p55-settings input[type="text"] {
	width: 100%;
	    padding: 8px;
    -webkit-box-shadow: inset 0 1px 0 0 #ccc, inset 0 0 0 1px #dedede, inset 0 1px 2px 1px #e6e6e6;
    box-shadow: inset 0 1px 0 0 #ccc, inset 0 0 0 1px #dedede, inset 0 1px 2px 1px #e6e6e6;
    background: #f0f0f0;
    border-radius: 3px;
    border: 0;
	margin-bottom: 10px;
		  color: #222;
}
.p55-settings textarea {
  width: 100%;
  height: 150px;
  resize: vertical;
   -webkit-box-shadow: inset 0 1px 0 0 #ccc, inset 0 0 0 1px #dedede, inset 0 1px 2px 1px #e6e6e6;
    box-shadow: inset 0 1px 0 0 #ccc, inset 0 0 0 1px #dedede, inset 0 1px 2px 1px #e6e6e6;
    background: #f0f0f0;
    border-radius: 3px;
	margin-bottom: 10px;
	  color: #222;
}
.p55-settings__error,
.p55-settings__thanks {
  display: none;
}
.p55-settings__error {
  text-align: right;
  color: #e93f11;
  margin-bottom: 10px;
}
.p55-settings__thanks {
  color: #78bf57;
  font-size: 20px;
  line-height: 25px;
  text-align: center;
}
.p55-settings__thanks .icon {
  display: block !important;
  width: 100%;
  font-size: 100px;
  margin: 0 auto 15px auto;
}
.p55-settings__send/*,
.p55-settings__button */{
  display: inline-block;
  vertical-align: top;
  text-align: center;
  font-size: 14px;
  padding: 7px 20px;
  cursor: pointer;
}
.p55-settings__send:active,
.p55-settings__button:active {
  -webkit-transform: translateY(3px);
      -ms-transform: translateY(3px);
          transform: translateY(3px);
}
/*.p55-settings__button {
  margin-top: 10px;
}*/
.p55-settings__send {
 display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: inherit;
  height: 40px;
  border: 1px solid;
  padding: 0 30px;
  font-size: 16px;
  background: #ffffff;
  border-radius: 0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  text-align: center;
  white-space: nowrap;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: color 0.12s, background 0.12s, border-color 0.12s;
  transition: color 0.12s, background 0.12s, border-color 0.12s;
  float: right;
}

.p55-settings__content {
    opacity: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.p55-settings--open {
    visibility: visible;
    opacity: 1;
}
.p55-settings--open .p55-settings__content {
    opacity: 1;
}

.p55-settings__title {
	width: 100%;
	font-size: 22px;
	font-weight: bold;
	text-align: center;
}

.p55-settings__title--sub {
	width: 100%;
	font-size: 16px;
	text-align: center;
	margin: 10px 0 20px 0;
}
.p55-settings__close {
  cursor: pointer;
}
.p55-settings__close:before {
  content: "\e900";
  font-family: "p55-settings";
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transform: translatez(0);
      -ms-transform: translatez(0);
          transform: translatez(0);
  color: #ffffff;
  margin-right: -30px;
  margin-top: -40px;
  cursor: pointer;
  float: right;
  font-size: 14px;
}
.p55-settings__close:hover {
  opacity: .8;
}
.p55-settings__close:active {
  -webkit-transform: translatey(3px);
      -ms-transform: translatey(3px);
          transform: translatey(3px);
}
/* 
	Fix z-index in .product-details-image
------------------------------------------*/
.j-z-index {
  z-index: 0 !important;
}
/* 
	Responsive
----------------------------*/
@media (max-width: 480px) {
  .p55-settings__content {
    max-width: 340px;
  }
  .p55-settings textarea {
  width: 100%;
  height: 100px;
  resize: vertical;
   -webkit-box-shadow: inset 0 1px 0 0 #ccc, inset 0 0 0 1px #dedede, inset 0 1px 2px 1px #e6e6e6;
    box-shadow: inset 0 1px 0 0 #ccc, inset 0 0 0 1px #dedede, inset 0 1px 2px 1px #e6e6e6;
    background: #f0f0f0;
    border-radius: 3px;
	margin-bottom: 10px;
}
#p55-settings > div > div.p55-settings__wrapper > div.c-form__block {font-size: 14px;
display: inline-flex;

}
.p55-settings--open .p55-settings__content {
    opacity: 1;
    margin-top: 40px!important;
}
  
}
.p55-settings__content {
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.p55-settings--open {
  visibility: visible;
  opacity: 1;
}
.p55-settings--open .p55-settings__content {
  opacity: 1;
}

.p55-settings textarea::-webkit-input-placeholder { padding:5px; }
.p55-settings textarea { padding:5px; }


.p55-settings__send:hover {
  color: #ffffff;
  background: #000000;
}



/* Анимация кнопки */
/*.p55-settings__button{display:inline-block;vertical-align:top;text-align:center;font-size:16px;cursor:pointer;color:#FFFFFF;padding:3px 5px;webkit-animation:rainbow 3s linear 3s infinite;animation:rainbow 3s linear 3s infinite;}

@-webkit-keyframes rainbow{0%{background:#46e197;}
25%{background:#82f2bd;}
50%{background:#6C6AB2;}
75%{background:#f1bac8;}
100%{background:#c60034;}
}
@keyframes rainbow{0%{background:#46e197;}
25%{background:#82f2bd;}
50%{background:#6C6AB2;}
75%{background:#f1bac8;}
100%{background:#c60034;}
}




