/*stylelint-disable*/
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */ }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none; }

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */ }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */ }

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none; }

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none; }

  @font-face {
    font-family: 'Gotham Pro';
    src: url('GothamPro-Medium.eot');
    src: local('Gotham Pro Medium'), local('GothamPro-Medium'),

      url('../fonts/GothamPro/GothamPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
  }
  
  
  @font-face {
    font-family: 'Gotham Pro';
    src: url('GothamPro.eot');
    src: local('Gotham Pro'), local('GothamPro'),
      
      url('../fonts/GothamPro/GothamPro.woff') format('woff');

    font-weight: normal;
    font-style: normal;
  }
  

body {
  font-family: 'Gotham Pro', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  margin: 0;
  padding: 0;

  }

img {
  width: 100%; }

.visually-hidden,
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  white-space: nowrap;
  border: 0;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%); }


body {
  width: 1249px;
  margin: 0 auto;
  position: relative;
}

.page-header {
  width: 1181px;
  margin: 0 auto;
  padding-left: 34px;
  padding-right: 34px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.page-main {
  width: 1181px;
  margin: 0 auto;
  padding-left: 34px;
  padding-right: 34px;
  display: flex;
  padding-bottom: 35px;
}

.main-navigation_list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation_item {
  display: block;
  box-sizing: border-box;
  width: 158px;
  text-align: center;
  position: relative;
  margin: auto 0;
}

.main-navigation_item--borderer {
  width: 180px;
  height: 40px;
  border: 2px solid;
  border-color: rgba(14,19,24,.15);
  border-radius: 5px;
}

.main-navigation_item--borderer:hover {
  border-color: rgba(14,19,24,.45);
}

.main-navigation_item a {
  text-decoration: none;
  color: #000;
  display: block;
  padding-top: 9px;
  padding-bottom: 7px;
}

.editor {
  flex-basis: 14%;
}

.container {
  /*width: 1920px;
  min-height: 1080px;*/
  margin-left: auto;
  position: relative;
}

.container--full-width {
  width: 1249px;
  margin: 0 auto;
}

/* .container  {
  background-color: #f2f7f7;
} */

.image_loader {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.image_loader input {
  display: none;
}

.image_loader label{
  width: 25%;
  height: 20%;
  background-image: url('../img/plus.png');
  display: block;
  background-position: center;
  background-size: 35px;
  cursor: pointer;
  background-repeat: no-repeat;
}
.modal_crop {
  width: 500px;
  display: none;
  position: fixed;
  top: 60px;
  left: 32%;
  background-color: #fff;
  flex-direction: column-reverse;
}

.modal_crop--show {
  display: flex;
  z-index: 10000;
}

.modal_crop_footer {
  display: flex;
  justify-content: space-between;
}


.crop_image {
  max-width: 100%;
}

.overlay {
  display: none;
  z-index: 100;
  
}

.overlay--show {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: whitesmoke;
  opacity: 0.8;
}

 /* .input_bg-image {
  display: none;
}
 
.editor_item--background div {
  display: none;
} */

.main-navigation_item--back {
  text-align: left;
  padding-left: 34px;
  
}

.main-navigation_item--back .main-navigation_link::before {
  content: '';
  width: 8px;
  height: 10px;
  position: absolute;
  top: 14px;
  left: 21px;
  background-image: url('../img/leftarr.png');
  background-repeat: no-repeat;
}

.main-navigation_item--save a {
  background-color: #f17758;
  color: #fff;
  border-radius: 4px;
  
}

.main-navigation_item--save {
  margin-left: 18px;
}

.main-navigation_item--right {
  margin-left: auto;
}

.main-navigation_item--my-boards {
  text-align: right;
  width: 96px;
}

canvas {
  border-radius: 6px;
  background-color: #f2f7f7;
}

.editor_before-text {
  padding-left: 19px;
}

.editor_list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.editor_item {
  position: relative;
}

.editor_item .editor_item-title {
  margin: 0;
  vertical-align: middle;
  height: 37px;
  padding-top: 9px;
  padding-left: 44px;
  position: relative;
  box-sizing: border-box;
  margin-bottom: 9px;
}

.editor_item-title {
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 18px 12px;
}

.editor_item div {
  display: none;
}

.editor_item--background .editor_item-title{
  background-image: url('../img/background.png');
}

.editor_item--text .editor_item-title{
  background-image: url('../img/text.png');
}

.editor_item--stickers .editor_item-title{
  background-image: url('../img/sticker.png');
}

.editor_item--active .editor_item-title {
  background-color: #fdf6ee;
}

.editor_item--active .editor_item-title::before {
  content: "";
  width: 8px;
  height: 36px;
  background-color: #f17758;
  position: absolute;
  left: 0;
  top: 0;
}

.editor_item--active  div{
  display: block;
}

.editor_item--active .text-editor {
  display: none;
}

.editor_item--active .text-editor--show {
  display: flex;
  flex-wrap: wrap;
}



.text-editor_font-size {
  width: 75px;
  margin-right: 17px;
}

.jscolor {
  width: 63px;
  font-size: 13px;
  border-radius: 7px;
  box-shadow: none;
  border: 1px solid transparent;
  text-align: center;
}

.editor_background-image-input {
  display: none;
}

.editor_background-image-label {
  display: block;
  margin-top: 13px;
  margin-bottom: 12px;
  border: 1px solid #f17758;
  text-align: center;
  border-radius: 20px;
  width: 129px;
}

.editor_background-image-delete {
  display: block;
  margin-top: 13px;
  margin-bottom: 12px;
  border: 1px solid #f17758;
  text-align: center;
  border-radius: 20px;
  width: 129px;
}

.button {
  display: block;
  margin-top: 13px;
  margin-bottom: 12px;
  border: 1px solid #f17758;
  text-align: center;
  border-radius: 20px;
  width: 129px;
  background-color: #fff;
}

.button_dont-crop {
  position: absolute;
  right: -136px;
  top: 66px;
  display: none;
}

.button_crop {
  position: absolute;
  right: -136px;
  top: 20px;
}

#font-picker {
  width: 160px;
  margin-bottom: 10px;
}

.registration,
.authorization {
  width: 296px;
  margin: 0 auto;
  margin-top: 30px;
  position: relative;
}

.registration__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.registration__item {
  display: flex;
}

.registration__button,
.authorization__button {
  display: block;
  text-decoration: none;
  color: rgba(14,19,24,1);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  border: 2px solid;
  border-color: rgba(14,19,24,.15);
  border-radius: 5px;
  margin-bottom: 10px;
  font-size: 16px;
  background-repeat: no-repeat;
  background-position: 10px 8px;
}

.registration__button--blue,
.authorization__button--blue {
  background-color: #00c4cc;
  color: #fff;
  border: none;
}

.registration__button--orange,
.authorization__button--orange {
  background-color: #f17758;
  color: #fff;
  border: none;
}

.registration__button:hover,
.authorization__button:hover {
  border-color: rgba(14,19,24,.45);
}

.registration__button--blue:hover,
.authorization__button--blue:hover {
  background-color: #00d9e1;
}

.registration__button--orange:hover,
.authorization__button--orange:hover {
  background-color: #f17758;
}

.registration__button--facebook,
.authorization__button--facebook {
  background-image: url("../img/facebook.svg");
  border: 1px solid;
  border-color: #f17758;
}

.registration__button--google,
.authorization__button--google {
  background-image: url("../img/google.svg");
  border: 1px solid;
  border-color: #f17758;
}

.registration__login-link,
.authorization__registration-link {
  margin: 0;
  font-size: 14px;
  margin-left: 3px;
  color: rgba(14,19,24,.7);
}

.registration__login-link a,
.authorization__registration-link a {
  color: #f17758;
  margin-left: 2px;
}

.registration__title,
.authorization__title {
  font-weight: 700;
  font-size: 25px;
  line-height: 31px;
  margin: 0;
  margin-bottom: 10px;
}

.registration__text {
  color: rgba(14,19,24,.7);
  font-weight: 400;
  margin: 0;
  margin-bottom: 10px;
}

.registration__input,
.authorization__input {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  background: #fff;
  border: 1px solid;
  border-color: #f17758;
  border-radius: 4px;
  padding: 9px 12px 10px;
  cursor: text;
  color: #0e1318;
  margin: 0;
  margin-bottom: 10px;
}

.registration__input:focus,
.authorization__input:focus {
  border-color: #f17758;
}

.registration__input:hover,
.authorization__input:hover {
  border-color: rgba(14,19,24,0.45);
}

.registration__password-verification-text {
  margin: 0;
  margin-bottom: 10px;
  color: rgba(14,19,24,.7);
}

.g-recaptcha {
  margin-bottom: 10px;
}

.registration__term-of-use {
  font-size: 12px;
  margin-left: 3px;
  color: rgba(14,19,24,.7);
}

.registration__term-of-use a {
  color: inherit;
}

.registration__term-of-use a:hover {
  color: #f17758;
}

.authorization__separator {
  position: relative;
  display: block;
  text-align: center;
  color: rgba(14,19,24,.25);
  line-height: 1.6;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.authorization__separator::before {
  content: "";
  width: 111px;
  height: 1px;
  position: absolute;
  left: 16px;
  top: 8px;
  background-color: rgba(14,19,24,.07);
}

.authorization__separator::after {
  content: "";
  width: 111px;
  height: 1px;
  position: absolute;
  right: 16px;
  top: 8px;
  background-color: rgba(14,19,24,.07);
}

.authorization__forgot-pswd-link {
  color: rgba(14,19,24,.7);
  text-decoration: none;
  font-size: 14px;
  margin-left: 3px;
}

.templates-slider {
  position: relative;
  overflow: hidden;
  width: 1200px;
}

.templates-slider__wrapper {
  display: flex;
  transition: transform 0.6s ease;
}

.templates-slider__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
  padding: 0 10px;
}

.templates-slider__control {
  position: absolute;
  top: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  color: #fff;
  text-align: center;
  opacity: 0.5;
  height: 50px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .5);
}

.templates-slider__control--left {
  left: 0;
  -webkit-transform: rotate(180deg) translateY(50%);
    -moz-transform: rotate(180deg) translateY(50%);
    -ms-transform: rotate(180deg) translateY(50%);
    -ms-transform: rotate(180deg) translateY(50%);
    -o-transform: rotate(180deg) translateY(50%);
    transform: rotate(180deg) translateY(50%);
}

.templates-slider__control--right {
  right: 0;
}

.templates-slider__control::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
}

.templates-slider__control--left::before {
  background-image: url("../img/arrow.svg");
}

.templates-slider__control--right::before {
  background-image: url("../img/arrow.svg");
}

.templates-slider__control--show {
  display: flex;
}

.templates-slider__item a {
  text-align: center;
  color: #000;
  text-decoration: none;
}

.boards__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.boards__item {
  width: 220px;
  padding: 0 10px;
  margin-bottom: 20px;
  position: relative;
}

.boards__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000;
  text-decoration: none;
}

.boards__item a span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 220px;
}

.boards__dots {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(14,19,24,.7);
  cursor: pointer;
  top: 0;
  opacity: 0;
  transition: top .2s ease-in-out;
  transition: opacity .2s ease-in-out;
  right: 20px;
  background-image: url("../img/dots.svg");
  background-repeat: no-repeat;
  background-position: center;
  display: none;
}

.boards__item:hover .boards__dots {
  display: block;
  top: 10px;
  opacity: 1;
}



.boards__dots ul {
  border-radius: 4px;
  padding: 0;
  margin: 0;
  background-color: #fff;
  width: 200px;
  position: absolute;
  bottom: -68px;
  left: 0;
  list-style: none;
  z-index: 99;
  box-shadow: 0 0 0 1px rgba(14,19,24,.07), 0 2px 12px rgba(14,19,24,.2);
  display: none;
}

.boards__dots--show ul {
  display: block;
}

.boards__dots li {
  text-align: center;
  min-height: 25px;
  position: relative;
}

.boards__question-mark {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: orange;
}

.boards__modal {
  width: 300px;
  height: 148px;
  position: fixed;
  top: 169px;
  left: 40%;
  border: 1px solid orange;
  border-radius: 6px;
  background-color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.boards__modal-close-btn{
  position: absolute;
  top: 3px;
  right: 7px;
  cursor: pointer;
}

.boards__modal--show {
  display: flex;
}
.boards__modal-close-btn{
  position: absolute;
  top: 3px;
  right: 7px;
  cursor: pointer;
}

.boards__modal {
  width: 300px;
  height: 148px;
  position: fixed;
  top: 169px;
  left: 40%;
  border: 1px solid orange;
  border-radius: 6px;
  background-color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.boards__modal-close-btn{
  position: absolute;
  top: 3px;
  right: 7px;
  cursor: pointer;
}

.isDisabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.isDisabled > a {
  color: currentColor;
  pointer-events: none;
  text-decoration: none;
}

.image_logo {
  width: 128px;
  display: block;
}

.skeleton {
  position: absolute;
}


.skeleton:hover .image_loader  {
  visibility: visible;
}