@font-face {
  font-family: 'FrisansM';
  src: url(/wp-content/themes/whitesquare/fonts/FiraSans-Medium.ttf);
}

@font-face {
  font-family: 'FrisansB';
  src: url(/wp-content/themes/whitesquare/fonts/FiraSans-Bold.ttf);
}

@font-face {
  font-family: 'FrisansL';
  src: url(/wp-content/themes/whitesquare/fonts/FiraSans-Light.ttf);
}

@font-face {
  font-family: 'Exo2EB';
  src: url(/wp-content/themes/whitesquare/fonts/Exo2.0-ExtraBold.otf);
}

@font-face {
  font-family: 'Exo2SB';
  src: url(/wp-content/themes/whitesquare/fonts/Exo2.0-SemiBold.otf);
}

@font-face {
  font-family: 'Exo2T';
  src: url(/wp-content/themes/whitesquare/fonts/Exo2.0-Thin.otf);
}

@font-face {
  font-family: 'Exo2R';
  src: url(/wp-content/themes/whitesquare/fonts/Exo2.0-Regular.otf);
}

* {
  margin: 0;
  padding: 0;
}

/*menu-top*/

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  height: 50px;
}

nav li {
  flex: 1;
  display: flex;
}

a {
  text-decoration: none;
}

nav a {
  font-family: 'FrisansM';
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: #000;
  font-size: 14px;
  padding: 0 10px;
}

.header-wrap {
  max-width: 1170px;
  margin: 0 auto;
}

header.header .menu {
  border-bottom: solid 1px;
  border-color: rgb(0, 0, 0, 0.1);
}

.fixed-head {
  position: fixed;
  width: 100%;
  background: #fff;
  z-index: 11;
}

.fixed-head nav ul {
  height: 35px;
}

/*second*/

.el-logo {
  font-family: 'Exo2EB';
}

.second-title {
  font-family: 'FrisansL';
  display: block;
}

.menu2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 5px;
}

.info-head a {
  font-family: 'FrisansB';
  color: #000;
  font-size: 20px;
}

.callbackform .form-send [name='agree'],
.form-bottom-wrapper [name='agree'] {
  width: auto;
  display: inline-block;
  vertical-align: top;
  height: auto;
}

.callbackform .form-send span,
.form-bottom-wrapper span {
  display: inline-block;
  font-family: 'FrisansL';
  font-size: 14px;
  vertical-align: top;
  padding-left: 5px;
}

.form-bottom-wrapper p span {
  color: #fff;
}

.form-bottom-wrapper .callback-header {
  margin-top: 16px;
}

.logodiv {
  display: block;
}

.callback-header {
  background-color: rgb(212, 43, 49);
  box-shadow: 0px 5px 20px 0px rgb(212 43 49 / 43%);
  top: 58px;
  width: 256px;
  height: 44px;
  justify-content: center;
  align-items: center;
  border-radius: 52px;
  font-family: 'Exo2SB';
  text-align: center;
  line-height: 44px;
  color: #fff;
}

.callback-header:hover {
  cursor: pointer;
  box-shadow: 0px 5px 20px 3px rgb(212 43 49 / 43%);
}

.menu2 .callback-header {
  position: relative;
  top: 9px;
}

.info-head a:nth-of-type(2) {
  padding-left: 15px;
}

.labeltime {
  font-family: 'FrisansB';
}

.info-head {
  padding-top: 8px;
}

.valtime {
  font-family: 'FrisansL';
}

.logodiv div {
  flex: 1;
  display: flex;
}

.logo-label {
  padding-left: 10px;
}

.work-time {
  padding-top: 3px;
}

.logodiv a {
  font-size: 36px;
  color: rgb(251, 78, 45);
  line-height: 1.2;
  text-align: left;
}

.logo-label,
.logo-label-img {
  display: inline-block !important;
  vertical-align: top;
}

.some-info-block {
  background: url('/wp-content/themes/whitesquare/images/bg.png');
  min-height: 520px;
}

.banner-title {
  font-size: 50px;
  font-family: 'Exo2EB';
  color: rgb(255, 255, 255);
  font-weight: bold;
  line-height: 1.2;
}

.some-info-block-wrapper {
  max-width: 1170px;
  margin: 0 auto;
  padding-top: 110px;
}

.banner-second-title {
  font-size: 25px;
  font-family: 'Exo2T';
  color: rgb(255, 255, 255);
  line-height: 1.2;
  text-align: left;
  margin: 35px 0px;
}

.banner-title:before {
  content: url(/wp-content/themes/whitesquare/images/line.png);
  position: absolute;
  margin-left: -110px;
  line-height: 30px;
}

.some-catalog-elems-title {
  font-size: 35px;
  font-family: 'Exo2EB';
  color: rgb(0, 0, 0);
  font-weight: bold;
  padding-top: 50px;
  padding-bottom: 25px;
}

.some-catalog-item-title {
  font-size: 20px;
  font-family: 'FrisansL';
  color: rgb(1, 1, 1);
  line-height: 1.2;
  text-align: center;
}

.some-catalog-item-price {
  font-family: 'FrisansB';
  font-size: 20px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}

.some-catalog-item {
  border-style: solid;
  border-width: 1px;
  border-color: rgb(230, 230, 230);
}

.some-catalog-elems {
  max-width: 1117px;
  margin: 0 auto;
}

.some-catalog-item {
  width: 354px;
  text-align: center;
}

.some-catalog-item-in .callback-header {
  margin: 0 auto;
}

.some-catalog-item-img {
  margin-bottom: 15px;
  padding-top: 15px;
}

.some-catalog-item-title {
  margin-bottom: 15px;
  min-height: 48px;
}

.some-catalog-item-price {
  margin-bottom: 15px;
}

.some-catalog-item-in {
  padding-bottom: 25px;
}

.some-catalog-item-img img {
  max-width: 100%;
}

.some-catalog-item {
  display: inline-block;
  vertical-align: top;
}

.some-catalog-item:nth-of-type(2),
.some-catalog-item:nth-of-type(5) {
  margin: 0 19px;
}

.some-catalog-item {
  margin-bottom: 25px;
}

.wrap-in-cast {
  background: url('/wp-content/themes/whitesquare/images/bg1.png');
  height: 445px;
}

.form-bottom-wrapper {
  background: url('/wp-content/themes/whitesquare/images/bg-form.png');
  height: 445px;
}

.wrap-in-cast-wrapper-item {
  font-size: 17px;
  font-family: 'FrisansL';
  color: rgb(255, 255, 255);
  line-height: 1.2;
  text-align: left;
}

.wrap-in-cast-wrapper {
  max-width: 1117px;
  margin: 0 auto;
}

.wrap-in-cast-wrapper-item {
  display: inline-block;
  width: 330px;
  vertical-align: top;
}

.wrap-in-cast-wrapper-item:nth-of-type(2),
.wrap-in-cast-wrapper-item:nth-of-type(5) {
  margin: 0 35px;
}

.wrap-in-cast-wrapper-item img,
.wrap-in-cast-wrapper-item span {
  display: inline-block;
}

.wrap-in-cast-wrapper-title {
  font-size: 35px;
  font-family: 'Exo2EB';
  color: #fff;
  font-weight: bold;
  padding-top: 50px;
  padding-bottom: 40px;
}

.wrap-in-cast-wrapper-title:before,
.some-catalog-elems-title:before {
  content: url(/wp-content/themes/whitesquare/images/line.png);
  position: absolute;
  margin-left: -110px;
  line-height: 30px;
}

.wrap-in-cast-wrapper-item span {
  position: relative;
  bottom: 42px;
  padding-left: 20px;
  margin-bottom: 50px;
}

.footer-address a,
.footer-address2 a {
  font-family: 'FrisansB';
  font-size: 22px;
  display: block;
  color: rgb(1, 1, 1);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 10px;
}

.footer-address span,
.footer-address2 span {
  font-family: 'FrisansL';
  display: block;
}

.footer-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 1117px;
  height: 150px;
  margin: 0 auto;
}

.footer-wrapper > div {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

footer {
  border-top: solid 1px;
  border-color: rgba(0, 0, 0, 0.102);
}

.letters-title {
  font-size: 35px;
  font-family: 'Exo2EB';
  color: #000;
  font-weight: bold;
  padding-top: 50px;
}

.letters.clients {
  border-top: solid 1px;
  border-color: rgb(0, 0, 0, 0.1);
}

.letters-title:before {
  content: url(/wp-content/themes/whitesquare/images/line.png);
  position: absolute;
  margin-left: -110px;
  line-height: 30px;
}

.form-send input {
  background-color: rgba(0, 0, 0, 0);
  border-style: solid;
  border-width: 1px;
  border-color: rgb(230, 230, 230);
  width: 259px;
  height: 43px;
  border-radius: 42px;
  font-family: 'FrisansL';
  color: #fff;
  padding-left: 19px;
  font-size: 17px;
  outline: none;
}

.form-send input::-webkit-input-placeholder {
  /* Chrome */
  color: #fff;
  font-size: 17px;
}

.form-send input:-ms-input-placeholder {
  /* IE 10+ */
  color: #fff;
  font-size: 17px;
}

.form-send input::-moz-placeholder {
  /* Firefox 19+ */
  color: #fff;
  font-size: 17px;
}

.form-send input:-moz-placeholder {
  /* Firefox 4 - 18 */
  color: #fff;
  font-size: 17px;
}

.form-bottom-wr {
  max-width: 1117px;
  margin: 0 auto;
}

.form-send .input-text {
  display: inline-block;
}

.banner-second-title2 {
  font-family: 'FrisansM';
  font-size: 20px;
  color: rgb(255, 255, 255);
  line-height: 1.4;
}

.form-bottom-wrapper .banner-title {
  padding-top: 50px;
  padding-bottom: 20px;
  font-size: 35px;
}

.input-text {
  margin-bottom: 40px;
  margin-top: 40px;
}

.letters-wrap {
  display: flex !important;
  flex-direction: column;
}

.slick-dots {
  order: -1;
}

.letters-item {
  background: url(/wp-content/themes/whitesquare/images/krug.png);
  width: 262px;
  height: 356px;
  background-repeat: no-repeat;
  background-position: center center;
}

.letters-item {
  background: none;
}

.clients .letters-item {
  background: url(/wp-content/themes/whitesquare/images/krug1.png);
  background-repeat: no-repeat;
  background-position: center center;
  height: 109px;
  display: flex !important;
  align-items: center;
}

.letters-item {
  margin: 0 10px;
}

.clients .letters-item img {
  display: block;
  margin: 0 auto;
  vertical-align: middle;
  top: 1px;
  left: 5px;
  position: relative;
  max-width: 130px;
  max-height: 95px;
}

.letters {
  max-width: 1117px;
  margin: 0 auto;
}

.letters .slick-dots {
  position: static !important;
  text-align: right;
}

.letters-item img {
  display: block;
  margin: 0 auto;
  vertical-align: middle;
  top: 30px;
  position: relative;
}

.letters-item {
  outline: none;
  padding: 30px 0px;
}

.letters ul.slick-dots li {
  margin: 0;
}

.slick-dots li img:nth-child(1) {
  display: block;
}

.slick-dots li img:nth-child(2) {
  display: none;
}

.slick-dots li.slick-active img:nth-child(1) {
  display: none;
}

.slick-dots li.slick-active img:nth-child(2) {
  display: block;
}

.dots img {
  position: relative;
  top: 4px;
}

.dots {
  text-align: right;
}

.slick-dots li.slick-active button:before {
  color: rgb(250, 169, 82);
  opacity: 1;
}

.slick-dots li button:before {
  font-size: 10px;
}

.license-text p {
  font-family: 'FrisansL';
}

.license-text span {
  font-family: 'Exo2SB';
  font-size: 17px;
  display: block;
  margin-bottom: 20px;
}

.license-text svg {
  padding-right: 20px;
  position: relative;
  bottom: 3px;
}

.license-text p {
  margin: 10px 0;
}

.license {
  max-width: 1117px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
}

.l-img {
  width: 44%;
  display: inline-block;
  vertical-align: top;
  position: relative;
  left: 70px;
}

.license-text {
  width: 55%;
  display: inline-block;
  vertical-align: top;
}

.photo-lic {
  z-index: 1;
  position: relative;
  right: 65px;
  top: 40px;
}

.photo-lic-back {
  position: absolute;
}

.letters-title {
  text-align: center;
}

.our-works p {
  margin: 24px 0px;
}

.callbackform .input-text {
  display: block;
}

.callbackform .form-send input {
  color: rgb(179, 179, 179);
}

.callbackform .form-send input::-webkit-input-placeholder {
  /* Chrome */
  color: rgb(179, 179, 179);
  font-size: 17px;
}

.callbackform .form-send input:-ms-input-placeholder {
  /* IE 10+ */
  color: rgb(179, 179, 179);
  font-size: 17px;
}

.callbackform .form-send input::-moz-placeholder {
  /* Firefox 19+ */
  color: rgb(179, 179, 179);
  font-size: 17px;
}

.callbackform .form-send input:-moz-placeholder {
  /* Firefox 4 - 18 */
  color: rgb(179, 179, 179);
  font-size: 17px;
}

.callbackform-title {
  font-size: 35px;
  font-family: 'Exo2EB';
  color: rgb(0, 0, 0);
  font-weight: bold;
  line-height: 1.2;
}

.callbackform .form-send input {
  width: 324px;
}

.callbackform .input-text {
  margin: 18px 0px;
}

.callback-form-div .form-send p {
  margin-bottom: 5px;
}

.callbackform {
  display: none;
  position: fixed;
  width: 100%;
  top: 0px;
  height: 100vh;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.902);
  z-index: 111;
}

.callback-form-div {
  width: 430px;
  height: 282px;
  text-align: center;
  background: #fff;
  padding-top: 2px;
  position: relative;
  left: 25px;
  bottom: 25px;
}

.callback-form-form {
  background: url('/wp-content/themes/whitesquare/images/bg copy.png');
}

.callbackform .callback-header {
  margin: 0 auto;
}

.callbackform .callbackform-title {
  margin: 16px 0;
}

.close-form-class {
  cursor: pointer;
  float: right;
  position: absolute;
  right: -65px;
  top: -65px;
}

.callback-form-form {
  position: relative;
}

.close-div-modal {
  display: none;
}

.thanks .close-div-modal {
  display: block;
}

.thanks .form-send,
.thanks .callbackform-title {
  display: none;
}

.close-div-modal-title {
  font-size: 35px;
  color: rgb(212, 43, 49);
  font-family: 'Exo2EB';
  padding-top: 60px;
}

.close-div-modal-text-s {
  font-size: 25px;
  font-family: 'Exo2EB';
  color: rgb(0, 0, 0);
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 20px;
}

.close-div-modal-text-s2 {
  font-size: 20px;
  font-family: 'Exo2R';
  color: rgb(0, 0, 0);
  line-height: 1.2;
  text-align: center;
}

#tToTop {
  position: fixed;
  bottom: 25px;
  right: 35px;
  width: 40px;
  height: 40px;
  display: none;
  z-index: 999;
  background-color: rgb(212, 43, 49);
  -webkit-transition: opacity 0.2s ease-in-out 0s;
  transition: opacity 0.2s ease-in-out 0s;
  opacity: 1;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  border-radius: 3px;
}
#tToTop:hover {
  box-shadow: rgb(212, 43, 49, 50%) 0px 10px 20px 0;
}

.photo-lic {
  width: 459px;
}

.photo-lic-back {
  height: 605px;
  width: 442px;
}
.page {
  padding-top: 40px;
  padding-bottom: 40px;
}
.page h1 {
  margin-top: 20px;
  margin-bottom: 20px;
}
