/*
  Theme Name: StalMasrterRu
  Description: Special for StalMAster (Based on HTML5 Blank WordPress Theme)
  Version: 0.1 (alpha)
  Author: Steffnomidi & Todd Motto (@toddmotto)
  Tags: Blank, HTML5, CSS3, Bootstrap 4
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
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;
}
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;
}
/* global box-sizing */
*,
*:after,
*:before {
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  -webkit-font-smoothing:antialiased;
  font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
  font-size:62.5%;
}
body {
  font:400 15px/1.4 'Roboto', Helvetica, Arial, sans-serif;
  /*color:#444;*/
}
strong{font-weight:600}
.grecaptcha-badge{
z-index: -100
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
  max-width:100%;
  vertical-align:bottom;
}
a {
  color:#444;
  text-decoration:none;
}
a:hover {
  color:#444;
}
a:focus {
  outline:0;
}
a:hover,
a:active {
  outline:0;
}
input:focus {
  outline:0;
  border:1px solid #04A4CC;
}

.container article h1 {
  line-height: 200%;
  font-size: 40px;
}
.container article h2 {
  line-height: 200%;
  font-size: 25px;
  clear: both;
}
.container article p {
  line-height: 200%;
  font-size: 18px;
  line-height: 1.4;
  padding-bottom: .4em;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {

}
/* header */
.header {
  padding: 30px 0 23px;
  background-color: #CE0A0A;
  color: #fff;
}
.header .container>.row {
  min-height: 80px;
}
.header ul {
  list-style: none;
  display: flex;
  margin: 0 auto 10px;
  gap: 10px;
/* 	flex-wrap: wrap; */
}
.header ul li a {
  font-size: 13.5px;
  text-transform: lowercase;
}
.header a {
  color: #fff;
}
.header .buttons {
  padding-top: 22px;
  text-align: center;
}
.header .phone a {
  font-size: 24px;
  font-weight: bold;
}
.header form.search {
  position: relative;
}
.header form.search input {
  font-size: 12px;
  padding-left: 20px;
  padding-right: 20px;
  background: url(img/search.svg) -10px center no-repeat #E8E8E8;
  border-radius: 15px;
  background-position: right 8px top 5px;
}
.header form.search button {
  top: 0;
  right: 0;
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* logo */
.logo {
  padding-top: 10px;
}
.logo-img {
  width: 300px;
}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */

.footer {
  padding-bottom: 10px;
  font-weight: 400;
  font-size: 14px;
  line-height: 200%;
}
.footer h4 {
  font-weight: 600;
  font-size: 24px;
  line-height: 200%;
}
#footer-columns > div {
  padding-bottom: 20px;
}



/*------------------------------------*\
    HOME PAGE SECTIONS
\*------------------------------------*/

#hero {
  min-height: 400px;
  max-height: 100vh;
  background: linear-gradient(103.96deg, rgba(244, 244, 244, 0.95) 40%, rgba(165, 165, 165, 0.98) 135%), url('img/back-low.jpg');
  background-position: center;
  background-size: cover;
  padding: 50px 0;
}
#hero h1 {
  font-size: xxx-large;
  font-weight: bold;
  line-height: 105%;
}
#hero p {
  font-size: 20px;
}
#hero .buttons {
  margin: 30px 0 5vw;
}

#spec .nav,
#term .nav {
    min-width: 30px;
    height: inherit;
    background: url(img/icons/left.svg) 50% no-repeat;
    cursor: pointer;
}
#spec .nav:hover,
#term .nav:hover {
  background-color: rgba(0,0,0,.05);
}
#spec .nav.right,
#term .nav.right {
  background-image: url(img/icons/right.svg);
}
#spec .owl-carousel,
#term .owl-carousel {
    width: calc( 100% - 80px );
    margin: auto;
}

#about .back {
  color: #000;
  font-weight: 400;
  font-size: 18px;
  padding: 44px 0 78px;
  background: linear-gradient(103.96deg, rgba(244, 244, 244, 0.95) 40%, rgba(165, 165, 165, 0.98) 135%), url('img/back.jpg') 50%;
  background-size: cover;
}

#catalog .card {
  font-size: 14px;
  font-weight: 400;
  padding: 20px;
  border-radius: 10px;
  border: none;
  background: #f5f5f5;
  height: 100%;
  color: #5F6772;
  transition: color .3s;
}
#catalog .card a {
  color: #5F6772;
}
#catalog .categories .card {
  border: 1px solid transparent;
  font-weight: bold;
  display: flex;
  justify-content: center;
  text-align: center;
  transition: border-color .3s;
}
#catalog .categories .card:hover,
#catalog .categories .card.active {
  border-color: #FB9259;
  cursor: pointer;
}
#catalog .categories .card:hover,
#catalog .categories .card:hover a,
#catalog .categories .card.active,
#catalog .categories .card.active a {
  color: #000;
}
#catalog .card.subcategories {
  padding: 15px 0;
  line-height: 1.1em;
}
#catalog .card.subcategories a {
  color: #000;
}

#catalog .card.subcategories li{
  font-weight: 500;
  margin-bottom: 16px;
  color: #000;
}
#catalog .card.calc {
  background: #FB9259;
}
#catalog .card .card {
  padding: 15px 30px 0;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/
.badge {
  width: fit-content;
}
article.page img {
  height: auto;
}


ul.childrens {
  padding: 0;
  word-wrap: normal;
}
ul.childrens li {
  display: inline-block;
}
ul.childrens li a {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 15px;
  text-decoration: none!important;
  border: 1px solid transparent;
  border-radius: 3px;
}
ul.childrens li a:hover {
  border: 1px solid #FB9259;
  background: #fff;
}
ul.childrens li.current_page_item a {
  border: 1px solid #FB9259;
  background: #F5F5F5;
}

/* FORMS */

form,
form .form-control{
  margin-bottom: 12px;
  font-size: 16px;
}
form input[type="checkbox"]{
  transform: scale(1.4);
  margin-right: 12px;
  margin-left: 3px;
}
form .wpcf7-list-item {
  margin: 0 0 10px;
}
.thank {
  color: #CE0A0A;
  font-size: 22px;
  text-align: center;
  font-weight: 600;
}

/* CALCULATOR */

#calculator {
  background: url("img/calc-back.svg") calc( 50% - 25vw ) 50% no-repeat;
}
#calculator .door {
  padding: 50px 0;
  text-align: center;
}
#calculator .door svg {
  max-height: 80vh;
}

#calculator .calc {
  padding: 50px 0;
}
#calculator h1 {
  font-weight: 900;
  font-size: 31px;
  margin-bottom: 30px;
}
#calculator table td {
  font-size: 14px;
  padding: 8px;
}
#calculator table td.name {
  font-weight: 400;
}
#calculator table td .summ {
  font-weight: 900;
  font-size: 31px;
}
#calculator table td.val,
#calculator table td.name {
  cursor: pointer;
}
#calculator table td.name div>div,
#calculator table td.name span{
  font-weight: 300;
  margin-bottom: 6px;
  margin-top: 3px;
  line-height: 105%;
}
#calculator table tr:hover td.val,
#calculator table tr:hover td.name {
  background: rgba(0, 0, 0, 0.05);
}


.item.active .card {
  background: #fff;
  position: relative;
  box-shadow: 0 0 17px rgba(0, 0, 0, 0.4);
}
.item .card .card-body,
.item .card img {
  position: relative;
  background: #fff;
}
.item .card:before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 0px;
  left: 15px;
  right: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
  z-index: 0;
}


#gallery_view {
  margin-bottom: 15px;
}
#gallery_view .item {
  max-height: 70vh;
  background: #F8F8F8;
  padding: 10px;
}
#gallery_view .item img {
  max-height: inherit;
  width: auto;
  margin: auto;
}
#gallery_preview .item{
  background: #F8F8F8;
  padding: 2px;
}

#gallery_preview .current img {
  opacity: .4;
}

/*------------------------------------*\
FAQ
\*------------------------------------*/

#faq h3 {
  font-size: 20px;
  font-weight: bold;
  display: inline;
}
#faq h3::before {
  content: '';
  display: inline-block;
  margin: 8px 20px 7px 0;
  height: 0;
  width: 6%;
  border-bottom: 1px solid #000;
}
#faq p {
  padding: 20px 0 40px 0;
  font-weight: 400;
}

/*------------------------------------*\
    MODALS
\*------------------------------------*/

.modal-content {
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.30);
  z-index: 2;
  position: relative;
}
.modal-content .modal-header,
.modal-content .modal-body,
.modal-content .modal-footer {
  background: #fff;
  position: relative;
}
.modal-content:before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 0px;
  left: 40px;
  right: 40px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.40);
  z-index: 0;
}
.modal .modal-title {
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
}
.modal-backdrop {
  background: rgba(255, 255, 255, 1);
}
.modal-backdrop.show {
  opacity: .65;
}

#locks .item {
  cursor: pointer;
}
#locks .item .card .price {
  font-size: 18px;
  font-weight: 400;
}

#locks .item.disabled {
  opacity: 50%;
  cursor: default;
}
#changeColor .modal-dialog {
  max-width: 800px;
}

/*------------------------------------*\
    CATALOG
\*------------------------------------*/

#catalog-list {
  padding: 20px 0;
}

/*------------------------------------*\
    PRODUCT
\*------------------------------------*/

#product h1 {
  margin-top: 10px;
  font-weight: 900;
  font-size: x-large;
  line-height: 1.3;
  margin-bottom: 10px;
}

#product .images {
  width: 100%;
}
#product .images .image {
  width: 100%;
}
#product .images .item {
  max-height: 70vh;
  background: #F8F8F8;
  padding: 10px;
}
#product .images .image img {
  display: block;
  max-height: calc( 70vh - 20px);
  width: auto;
  margin: 0 auto 0;
}
#product .images .thumbnails {
  max-width: 110px;
}
#product .images .thumbnails .item {
  margin-left: 20px;
  margin-bottom: 10px
}
#product .images .thumbnails .item.active img {
  opacity: .4;
}
#product .old-price {
  margin-top: 10px;
  font-weight: 300;
  font-size: 18px;
  text-decoration: line-through;
  line-height: 1.3;
}

#product .price {
  margin-top: 10px;
  font-weight: 900;
  font-size: x-large;
  line-height: 1.3;
}


#search-results .item {
  margin-bottom: 15px;
  padding: 5px 0;
}
#search-results .item h3 {
  font-size: 20px;
  font-weight: 400;
}
.description-product  h3{
  font-weight: 500;
  margin: 5px 0;
}
.description-product ul{

}
.description-product ol{

}
.description-product li{
list-style: initial;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
  TYPOGRAPHY
\*------------------------------------*/

/* @font-face {
  font-family:'Font-Name';
  src:url('fonts/font-name.eot');
  src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
    url('fonts/font-name.woff') format('woff'),
    url('fonts/font-name.ttf') format('truetype'),
    url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
} */


/*------------------------------------*\
    MISC
\*------------------------------------*/
p.reserve,
.container article p.reserve {
  font-size: 80%;
  line-height: 1.4;
  padding: 10px 0 15px;
}

.pagination {
  display: block;
  text-align: center;
}

.pagination>* {
    display: inline-block;
    padding: 4px 6px;
    margin-right: 4px;
    font-size: 21px;
}

::selection {
  background:#04A4CC;
  color:#FFF;
  text-shadow:none;
}
::-webkit-selection {
  background:#04A4CC;
  color:#FFF;
  text-shadow:none;
}
::-moz-selection {
  background:#04A4CC;
  color:#FFF;
  text-shadow:none;
}

.redline {
  margin: 50px 0 40px;
  display: flex;
  min-height: 60px;
  position: relative;
  justify-content: center;
  align-items: center;
  clear: both;
}
.redline h1.title,
.redline h2.title {
  font-size: 25px;
  font-weight: 47px;
  color: #BA1111;
  font-weight: bold;
  text-align: center;
}
.redline>* {
  padding-left: 20px;
  padding-right: 20px;
  background: #fff;
  position: relative;
  z-index: 1;
}
.redline::before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  height: 0px;
  width: 100%;
  left: 0;
  border-bottom: 1px solid#2D385E;
}

.btn {
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 300;
  text-transform: lowercase;
}
.btn.btn-red {
  background-color: #CE0A0A;
  color: #fff;
}
.btn.btn-out {
  background-color: transparent;
  border: 1px solid #393939;
}
.btn.btn-out-white {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn.btn-out-red {
  background-color: transparent;
  border: 1px solid #CE0A0A;
  color: #CE0A0A;
}
.cat-items .item {
  padding: 20px 0;
}
.cat-items .item .image {
  height: 266px;
  max-height: 266px;
  background: #F8F8F8;
  position: relative;
  padding: 10px;
}
.cat-items .item .image img {
  opacity: 0;
  transition: opacity .3s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-height: 246px;
}
.cat-items .item .image img.active {
  opacity: 1;
}
.cat-items .is-double.item:hover .image img {
  opacity: 1;
}
.cat-items .is-double.item:hover .image img.active {
  opacity: 0;
}
.cat-items .item .bullits {
  padding: 12px 0;
  text-align: center;
  letter-spacing: 2px;
}
.cat-items .item .bullits .bullit {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 3.5px;
  background: #C4C4C4;
  transition: background-color .3s;
}
.cat-items .item .bullits .bullit.active {
  background: #E12424;
}
.cat-items .item:hover .bullits .bullit {
  background: #E12424;
}
.cat-items .item:hover .bullits .bullit.active {
  background: #C4C4C4;
}

.cat-items .item .title {
  font-weight: bold;
  font-size: 18px;
}

.cat-items .item .price {
  padding: 15px 10px 30px;
  font-weight: bold;
  font-size: 20px;
  color: #BA1111;
}
.cat-items .item .price .old-price {
  color: #4D4D4D;
  padding: 0 10px;
  font-weight: 300;
  font-size: 18px;
  text-decoration: line-through;
}

.form-control-range {
  height: 16px;
}
table.table.catalog-single-content-table {
  width: 100%!important;
}

#breadcrumbs {
  margin-top: 35px;
}
#breadcrumbs .breadcrumb_last {
  font-weight: 600;
}
#breadcrumbs_after {
  margin-bottom: -35px;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
  margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display:block;
  margin:5px auto 5px auto;
}
.alignright {
  float:right;
  margin:5px 0 20px 20px;
}
.alignleft {
  float:left;
  margin:5px 20px 20px 0;
}
a img.alignright {
  float:right;
  margin:5px 0 20px 20px;
}
a img.alignnone {
  margin:5px 20px 20px 0;
}
a img.alignleft {
  float:left;
  margin:5px 20px 20px 0;
}
a img.aligncenter {
  display:block;
  margin-left:auto;
  margin-right:auto;
}
.wp-caption {
  background:#FFF;
  border:1px solid #F0F0F0;
  max-width:96%;
  padding:5px 3px 10px;
  text-align:center;
}
.wp-caption.alignnone {
  margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin:5px 20px 20px 0;
}
.wp-caption.alignright {
  margin:5px 0 20px 20px;
}
.wp-caption img {
  border:0 none;
  height:auto;
  margin:0;
  max-width:98.5%;
  padding:0;
  width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
  font-size:11px;
  line-height:17px;
  margin:0;
  padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
  * {
    background:transparent !important;
    color:#000 !important;
    box-shadow:none !important;
    text-shadow:none !important;
  }
  a,
  a:visited {
    text-decoration:underline;
  }
  a[href]:after {
    content:" (" attr(href) ")";
  }
  abbr[title]:after {
    content:" (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content:"";
  }
  pre,blockquote {
    border:1px solid #999;
    page-break-inside:avoid;
  }
  thead {
    display:table-header-group;
  }
  tr,img {
    page-break-inside:avoid;
  }
  img {
    max-width:100% !important;
  }
  @page {
    margin:0.5cm;
  }
  p,
  h2,
  h3 {
    orphans:3;
    widows:3;
  }
  h2,
  h3 {
    page-break-after:avoid;
  }
}






/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {
  .header .col-center {
    min-width: 746px;
  }
  .footer {
    font-size: 18px;
  }
}
@media only screen and (max-width:480px) {
	#hero h1{
		font-size: large;
	}
}
@media only screen and (min-width:768px) {
  .redline>* {
    padding-left: 50px;
    padding-right: 50px;
  }
	.redline h2.title,
  .redline h1.title {
    font-size: 40px;
  }
  .btn {
    padding: 11px 31px;
    border-radius: 5px;
    font-size: 18px;
  }
  #gallery_preview .item{
    padding: 10px;
  }
}
@media only screen and (min-width:1024px) {
  #faq p {
    padding: 20px 30% 40px 12%;
  }
}
@media only screen and (min-width:1140px) {
  .modal-lg {
      max-width: 1024px;
  }
  .modal-xl {
      max-width: 1024px;
  }

  ul.childrens li a {
    margin-left: -15px;
  }
}
@media only screen and (min-width:1280px) {
  .modal-lg {
      max-width: 1024px;
  }
  .modal-xl {
      max-width: 1200px;
  }
}
@media only screen and (min-width:1480px) {
  .container {
    max-width: 1396px;
  }
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
     only screen and (min-resolution:144dpi) {

}

#wprmenu_bar {
  z-index: 999;
}
html body .wprm-overlay.active {
  z-index: 999;
}

.home .seo__content ul,
.home .seo__content ol,
body.archive .description ul,
body.archive .description ol {
	margin-bottom: 5px;
}
.home .seo__content ul li,
body.archive .description ul li {
	list-style-type: disc;
	list-style-position: inside;
}
.home .seo__content ol li,
body.archive .description ol li {
	list-style-type: numeric;
	list-style-position: inside;
}
.home .seo__content li,
.home .seo__content p,
body.archive .description li,
body.archive .description p {
	margin-bottom: 10px;
}
.home .seo__content p strong,
body.archive .description p strong {
	font-weight: 700;
}
.home .seo__content h2,
body.archive .description h2 {
	margin-bottom: 15px;
	font-weight: 700;
	font-size: 20px;
	line-height: 25px;
	margin-top: 20px;
}
.home .seo__content h3,
body.archive .description h3 {
	margin-bottom: 10px;
	font-weight: 700;
	font-size: 18px;
	line-height: 22px;
	margin-top: 15px;
}
.home .seo__content h4,
body.archive .description h4 {
	margin-bottom: 10px;
	font-weight: 700;
	font-size: 16px;
	line-height: 20px;
	margin-top: 15px;
}
.seo__content a{
  color:#CE0A0A;
  text-decoration: underline;
}
