.mb-space {
  margin-bottom: 20px;
}
.textures {
  position: relative;
  font-family: 'Open Sans', sans-serif;
}
.textures-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
.textures-list li {
	overflow: hidden;
	width: 33.3%;
	max-width: 33.3%;
	min-width: 33.3%;
	flex-basis: 33.3%;
}

.textures-single {
  position: relative;
  transition: .3s;
  cursor: pointer;
  padding: 0 10px;
}
.textures-single a {
  width: 100%;
  display: block;
  line-height: 0;
}
.customBtn {
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 5px;
  background: #042a63;
  color: #fff;
  margin: 20px 0 10px;
  display: inline-block;
  transition: .3s;
  font-size: 14px;
  border: none;
  min-width: 152px;
  text-align: center;
}
.customBtn a {
  color: #fff;
}
.customBtn:hover {
  opacity: 0.8;
  color: #fff;
}
.textures-single a img {
  max-width: 100%;
  line-height: 0;
  width: 100%;
}
.textures-single-caption {
  bottom: 0;
  pointer-events: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
  width: auto;
  text-align: center;
  color: #fbfbfb;
  font-weight: 700;
  padding: 15px 0;
  font-size: 18px;
  left: 10px;
  right: 10px;
  transition: .4s;
}
.textures-single:hover .textures-single-caption {
  opacity: 0;
  visibility: hidden;
}
.textures-single:hover .textures-single-hover {
  visibility: visible;
  opacity: 1;
  height: 100%;
}
.textures-single-hover {
  opacity: 0;
  visibility: hidden;
  height: 0%;
  top: 0;
  position: absolute;
  left: 10px;
  right: 10px;
  text-align: center;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fbfbfb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}
.textures-single-hover-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 40px;
}
.textures-single-hover-subtitle {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}
.textures-single-hover-btn {
  padding: 12px 22px;
  width: 113px;
  height: 41px;
  color: #fbfbfb;
  background-color: #9c3;
  font-size: 15px;
  display: inline-block !important;
  line-height: 1!important;
  margin-top: 25px;
}
.textures-single-hover-btn:hover {
  color: #fbfbfb;
  background-color: #9c3;
}
/* texture images */
.textures-images {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}
.textures-images ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
}
.textures-images ul li {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  margin: 10px 5px;
  width: 350px;
  padding: 20px 15px;
  border: 1px solid #eee;
  border-radius: 5px;
}
.textures-images ul li .texture-link-hover {
  display: inline-block;
}
.textures-images ul li .texture-link-hover img {
  width: 100%;
}
.textures-images ul li .texture-link-title {
  padding: 10px;
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #121212;
}
.textures-images ul li .texture-link-preview {
  display: none;
}
.textures-images ul li .texture-link-hover {
  overflow: hidden;
}
.textures-images ul li .texture-link-hover img {
  transition: .3s;
}
.textures-images ul li .texture-link-hover:hover img {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
}
.btn-more {
  background: #042a63;
  border-radius: 3px;
  color: white;
  display: inline-block;
  padding: 10px 30px;
  transition: all 0.25s ease-out;
  -webkit-font-smoothing: antialiased;
}
.btn-more:hover,
.btn-more:focus {
  background: #042a63;
  color: white;
}
.file-upload-input {
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
}
.file-upload-btn,
.submit-btn {
  background: #042a63;
  border-radius: 3px;
  color: white;
  display: inline-block;
  padding: 15px 30px;
  transition: all 0.25s ease-out;
  -webkit-font-smoothing: antialiased;
  border: none;
  font-size: 14px;
}
.file-upload-btn:hover,
.submit-btn:hover,
.file-upload-btn:focus,
.submit-btn:focus {
  background: #042a63;
  color: white;
}
#page_iedit .img_area {
  width: 100%;
  float: none;
}
#page_iedit .data_box {
  width: 100%;
  float: none;
}
#page_iedit .img_box {
  margin: 0 auto 15px;
}
.data_box .instruction {
  font-family: inherit;
}
.parametrs_border {
  border: none;
  border-radius: 0;
}
.data_box table input.size {
  color: #47506d;
  background-color: #e9f4f7;
  font-style: normal;
  font-weight: 300;
  border-color: transparent;
  font-size: 14px;
  padding: 15px 30px;
  line-height: normal;
  outline: none;
  border-width: 1px;
  border-style: solid;
  -webkit-appeareance: none;
  height: 60px;
  display: block;
  width: 100%;
}
.parametrs_border .moto-widget-contact_form-group:not(:last-child) {
  margin-bottom: 20px;
}
#page_iedit {
  background: #f9f9f9;
  border: 1px solid #f0f0f0;
  display: flex;
  padding: 20px;
  font-family: 'Open Sans', sans-serif;
}
#edit_data {
  padding: 0 10px 0px 30px;
  display: flex;
  flex-direction: column;
  width: 80%;
}
.base_list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
}
.parametrs_block {
  padding: 0;
  max-width: 378px;
}
.base_list li {
  display: flex;
  flex-wrap: wrap;
  width: 20%;
  float: none;
  flex-direction: column;
}

.parametrs_block .moto-widget-contact_form-group {
  padding-bottom: 20px;
}

.parametrs_block .moto-widget-contact_form-group .moto-widget-contact_form-field {
  height: 45px;
  padding: 10px 30px!important;
  background: transparent;
  border-width: 1px!important;
  border-color: #ddd!important;
  border-radius: 0px!important;
}
.parametrs_block .moto-widget-contact_form-group .moto-widget-contact_form-field-type {
  position: absolute;
  bottom: 13px;
  right: 0;
  font-size: 14px;
  line-height: 41px;
  width: 40px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  text-align: center;
  bottom: 21px;
  top: 23px;
  padding: 0;
}
.parametrs_block {
  margin: 10px 0;
}
.jcrop-holder {
  z-index: 1;
}
.parametrs_block .checkbox_label {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-right: 0;
  font-size: 14px;
  padding: 5px 0px 5px 25px;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.parametrs_block input[type="checkbox"] ,
.parametrs_block input[type="radio"] {
  display: none;
}

.parametrs_block .checkbox_label:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  position: absolute;
  left: 0;
  top: 50%;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ccc;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
.parametrs_block input[type="checkbox"]:checked + .checkbox_label:before {
  content: "\2713";
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  color: #f3f3f3;
  text-align: center;
  line-height: 15px;
  background-color: #28A7E1;
  border-color: #28A7E1;
}
.parametrs_block input[type="radio"]:checked + .checkbox_label:before {
  content: "\2713";
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  color: #f3f3f3;
  text-align: center;
  line-height: 15px;
  background-color: #28A7E1;
  border-color: #28A7E1;
}
.parametrs_block input[type="checkbox"]:checked + .checkbox_label {
  color: #262626;
}

#page_iedit .img_box img {
    max-width: 440px; 
    max-height: 440px;
}

#attention_box {
  background: transparent;
  padding: 20px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
#attention_box p {
  text-indent: 0;
  font-size: 14px;
}
.bottombuts {
  text-align: right;
  max-width: 1080px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  /*padding: 0 30px;*/
  font-family: 'Open Sans' , sans-serif;
  flex-direction: row;
  /*display: flex;*/
}
#page_iedit {
  max-width: 1080px;
  margin: 0 auto;
}
.preview-block,
.form-results {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  font-size: 14px;
  margin: 20px 0;
}
.form-results ul {
  list-style-type: none;
}
.form-results ul li:not(:last-child) {
  margin-bottom: 20px;
}
.preview-block p {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.form-results span {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
  display: block;
}
.corners {
  display: flex;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  justify-content: space-between;
}
.corners div {
  display: flex;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 5px;
  align-items: center;
  justify-content: center;
  flex: 1;
  
}
.corners div:not(:last-child) {
  border-width: 0 1px 0 0;
  border-style: solid;
  border-color: #fff;
}
.imagepreview {
  display: inline-flex;
  position: relative;
  width: auto;
  height: auto;
}
.imagepreview img {
  width: 100%;
}
.form-results ul {
  text-align: left;
}
.form-results ul li {
  padding: 10px;
  background: #f2f2f2;
  color: #000;
  font-weight: 700;
}
#page_iedit .img_box {
  width: auto!important;
}

#customCalendarEvent .customCalendarEventList {
  display: flex;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  list-style-type: none;
  /* justify-content: center; */
}

#customCalendarEvent .customCalendarEventList .item {
  width: 350px;
  padding: 20px 15px;
  position: relative;
  margin: 20px 5px;
  border: 1px solid #eee;
  text-align: center;
  font-size: 14px;
  border-radius: 5px;
}

#customCalendarEvent .customCalendarEventList .item .texture-preview {
  overflow: hidden;
  cursor: pointer;
}
#customCalendarEvent .customCalendarEventList .item p {
  margin: 10px 0;
}
#customCalendarEvent .customCalendarEventList .item {
  font-family: 'Open Sans' , sans-serif;
}
#customCalendarEvent .customCalendarEventList .item .texture-preview img {
  max-width: 100%;
  height: 300px;
}
#customCalendarEvent .customCalendarEventList .item .texture-info {
  display: none;
  padding: 10px 30px;
  font-family: 'Open Sans';
  position: absolute;
  font-size: 13px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  bottom: 50%;
  z-index: 1;
  background: #fff;
  left: 0%;
  border-radius: 5px;
  opacity: 0.9;
  min-width: 320px;
}
.customCalendarEventList .item .texture-info .btn-close {
    width: 25px;
    height: 25px;
    right: 5px;
    top: 5px;
    display: inline-block;
    position: absolute;
    line-height: 23px;
    text-align: center;
    font-size: 25px;
}
#customCalendarEvent .customCalendarEventList .item select {
  height: 45px;
  padding: 10px 10px!important;
  background: transparent;
  border-width: 1px!important;
  border-color: #ddd!important;
  border-radius: 0px!important;
  font-size: 14px;
  line-height: normal;
  outline: none;
  display: block;
  width: 80%;
  margin: 5px auto;

}

#customCalendarEvent .customCalendarEventList .item .checkbox_label {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-right: 0;
  font-size: 14px;
  padding: 5px 0px 5px 25px;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#customCalendarEvent .customCalendarEventList .item input[type="radio"] {
  display: none;
}

#customCalendarEvent .customCalendarEventList .item .checkbox_label:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  position: absolute;
  left: 0;
  top: 50%;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ccc;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
#customCalendarEvent .customCalendarEventList .item input[type="checkbox"]:checked + .checkbox_label:before {
  content: "\2713";
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  color: #f3f3f3;
  text-align: center;
  line-height: 15px;
  background-color: #28A7E1;
  border-color: #28A7E1;
}
#customCalendarEvent .customCalendarEventList .item input[type="radio"]:checked + .checkbox_label:before {
  content: "\2713";
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  color: #f3f3f3;
  text-align: center;
  line-height: 15px;
  background-color: #28A7E1;
  border-color: #28A7E1;
}
#customCalendarEvent .customCalendarEventList .item input[type="checkbox"]:checked + .checkbox_label {
  color: #262626;
}
#customCalendarEvent .customCalendarEventList .item .facture-title,
#customCalendarEvent .customCalendarEventList .item .facture-price {
  font-weight: 700;
}

._hide {
  display: none!important;
}

#showPreview {
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 5px;
    background: #042a63;
    color: #fff;
    margin: 20px 0 10px;
    display: inline-block;
    transition: .3s;
}
#showPreview:hover {
  opacity: 0.8;
  color: #fff;
}
#customCalendarEvent .customCalendarEventList .item  .texture-full {
  position: fixed;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);
  padding: 30px 35px;
  background: rgba(0,0,0,0.6);
  border-radius: 0;
  max-width: 600px;
  max-height: 600px;
  margin: auto;

}
#customCalendarEvent .customCalendarEventList .item  .texture-full img {
  max-width: 100%;
}
#customCalendarEvent .customCalendarEventList .item  .texture-full .preview-close {
  width: 25px;
  height: 25px;
  right: 5px;
  top: 5px;
  display: inline-block;
  position: absolute;
  line-height: 23px;
  text-align: center;
  font-size: 25px;
  color: #fff;
}
@media screen and (min-width: 768px) and (max-width: 1240px) {
  .textures-images ul li {
    width: 48%;
  }
  .textures-images ul {
    justify-content: flex-start;
  }
  .bottombuts {
    padding: 0 14px;
  }
  #customCalendarEvent .customCalendarEventList .item {
    width: 48%;
  }
  .textures-list li {
  	width: 50%;
    max-width: 50%;
    min-width: 50%;
    flex-basis: 50%;
  }
}
@media screen and (max-width: 767px) {
  .textures-images ul li {
    width: 100%;
  }
  .customBtn {
    min-width: 146px;
  }
  .change_image .file-upload-btn {
    padding: 15px 9px;
  }
  #customCalendarEvent .customCalendarEventList .item {
    width:100%;
  }
  #page_iedit {
    padding: 10px;
    display: block;
  }
  #page_iedit .img_area {
    width: 100%;
    margin: 0 0 10px;
  }
  #edit_data {
    width: 100%;
    padding: 0;
  }
  .textures-list li {
  	width: auto;
    max-width: none;
    min-width: auto;
    flex-basis: auto;
  }
  .textures-list {
  	max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}