/*
Theme Name: IMS Basic
Description: IMS Basic WordPress Theme
Version: 2.0
Author: IMS DESIGN
Author URI: //ims-design.ru/
*/

/*---Normalize--------------------------------------------------------------------------- */

body, html {
    height: 100%;
}

body {
    margin: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

article, footer, header, main, nav, section, div, input, textarea {
    display: block;
}

a, a:active, a:focus, button, button:focus, button:active, .btn, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn.focus:active, .btn.active.focus {
    outline: none !important;
    outline: 0 !important;
}

input::-moz-focus-inner {
    border: 0 !important;
}

*, *:after, *:before {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

a:hover, a:active, button:focus, button:hover, button:active, input:focus, input:hover, input:active {
    outline: 0 !important;
}

a:focus {
    outline: 0 !important;
}

b, strong {
    font-weight: bold;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

button, input {
    line-height: normal;
}

button, select {
    text-transform: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
	width: 100%;
	height: auto;
	border: 0;
    display: block;
}

/*---Basic-Structure--------------------------------------------------------------------- */

body {
    font-family: 'Open Sans', sans-serif;
    color: #555;
    font-size: 16px;
    background: #f5f5f5;
}

main {
	max-width: 1920px;
	min-height: 100vh;
	overflow: hidden;
	padding-top: 70px;
	margin: 0 auto;
    background: #fff;
}

section, .section {
    position: relative;
    padding-top: 60px !important;
}

.wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    z-index: 2;
}

.overlay {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
}

.awesome:before {
	content: '';
	font-family: 'Font Awesome 5 Free';
	position: absolute;
	left: 0; top: 0;
	height: 100%;
	display: flex;
 	align-items: center;
	justify-content: center;
	font-weight: 900;
    color: currentColor;
}

.fas.scrolltop {
    position: fixed;
    bottom: 17px;
    left: 10px;
    color: #ff7c00;
    font-size: 36px;
    z-index: 9;
    transition: color .5s ease;
    cursor: pointer;
    display: none;
}

.fas.scrolltop:hover {
    color: #ffb066;
}

/*---Flexbox----------------------------------------------------------------------------- */

.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-wrapper, .loop-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 60px 0;
}

.flex-block {
    position: relative;
    border: 1px solid #ececec;
    padding: 20px;
    margin-bottom: 20px;
}

.x2 {
    width: 48%;
}

.x3 {
    width: 32%;
}

.x4 {
    width: 24%;
}

/*---Basic-Typography-------------------------------------------------------------------- */

h1, h2, h3, h4, .popup-title {
    font-family: 'Oswald', sans-serif;
	font-weight: 600;
    margin: 0;
    color: #ff7c00;
}

h1, .site-title, .page-title {
    font-size: 1.8em;
    margin: 0;

}

h2, .section-title, .popup-title {
	font-size: 2em;
	text-transform: uppercase;
	text-align: center;
    margin: 0;
}

h3, .block-title {
	font-size: 1.4em;
    margin: 0;
}

.site-title {
	font-size: 2.3em;
	text-transform: uppercase;
}

.subtitle {
    font-family: 'Open Sans', sans-serif;
	font-size: 1.8em;
	color: #fff;
}

.subtitle i {
	font-size: 8px;
	transform: translatey(-7px);
	padding: 0 10px;
}

.section-title {
	color: #555;
}

.page-title {
	margin: 10px 0 15px;
	text-align: center;
	text-transform: uppercase;
	color: #555;
}

.popup-title {
	margin-bottom: 15px;
	color: #555;
	font-size: 1.6em;
}

a {
    position: relative;
    transition: all .3s ease;
    color: #ff7c00;
}

a:hover {
    color: #ffb066;
}

p {
    margin: 5px 0;
}

label {
    margin: 5px 0;
}

/*---Header------------------------------------------------------------------------------ */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 70px;
    border-bottom: 1px solid #ffd7b3;
    background: #fff;
    transition: all .3s ease;
    z-index: 5;
}

header.animate {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}

.logo {
    width: 170px; height: 100%;
}

.header-flex {
	width: calc(100% - 170px);
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.tel {
    position: relative;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 600;
    padding-left: 31px;
}

.tel:before {
	content: '\f3cd';
	height: 36px;
	width: 36px;
	font-size: 21px;
	transform: translatey(1px);
}

.tel a {
    color: currentcolor;
    white-space: nowrap;
}

.tel a span {
    color: #ff7c00;
}

.main-nav {
    flex-grow: 1;
}

.main-nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    gap: 15px;
    width: 100%;
}

.main-nav ul a {
	text-align: center;
	font-size: 15px;
    font-weight: 600;
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
	color: #ff7c00;
    transition: all .3s ease;
}

.main-nav ul a:hover {
	color: #555;
}

.menu-toggle {
    display: none !important;
}

.social-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-left: 10px;
}

.social-wrapper .fab {
    width: 48px;
    height: 48px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
}

.social-wrapper .fab.fa-whatsapp {
    background: #25d366;
}

.social-wrapper .fab.fa-viber {
    background: #8f5db7;
}

.social-wrapper .fab.fa-telegram-plane {
    background: #08c;
}

/*---Home-Page--------------------------------------------------------------------------- */

.sec-01 {
    padding: 0 !important;
    height: 768px;
    background: url('/wp-content/themes/ims-basic/img/pictures/background-01.jpg') center;
    background-size: cover;
}

.sec-01.gas {
	background: url('/wp-content/themes/ims-basic/img/pictures/background-01-gas.jpg') center;
}

.sec-01.water {
	background: url('/wp-content/themes/ims-basic/img/pictures/background-01-water.jpg') center;
}

.sec-01.switch {
	background: url('/wp-content/themes/ims-basic/img/pictures/background-01-switch.jpg') center;
}

.sec-01 .wrapper {
    flex-direction: column;
    align-items: stretch;
}

.sec-01 .intro {
    text-align: center;
}

.sec-01 .intro .icon {
    margin: 0 auto;
    width: 80px;
    height: 80px;
    background: url('/wp-content/themes/ims-basic/img/pictures/sprite-01.png');
}

.sec-01 .intro .icon.gas {
	background-position: 160px;
}

.sec-01 .intro .icon.water {
	background-position: 80px;
}

.sec-01 .overlay, .sec-05 .overlay, .sec-07 .overlay, .sec-09 .overlay {
    background: rgba(18,17,14,.8) url('/wp-content/themes/ims-basic/img/pictures/subtle-carbon.png');
}

.sec-01 .flex-block {
    text-align: center;
    background: rgba(255,255,255,.85);
}

.sec-01 .flex-block .icon {
    margin: 0 auto;
    width: 40px;
    height: 40px;
    background: url('/wp-content/themes/ims-basic/img/pictures/sprite-02.png');
}

.sec-01 .flex-block:nth-of-type(2) .icon {
    background-position: 120px;
}

.sec-01 .flex-block:nth-of-type(3) .icon {
    background-position: 80px;
}

.sec-01 .flex-block:nth-of-type(4) .icon {
    background-position: 40px;
}

.sec-02.switch {
    text-align: center;
}

.sec-02.switch img {
    max-width: 480px;
    margin: 0 auto;
}

.sec-02 .switch-desc {
    max-width: 1024px;
    margin: 20px auto 60px;
}

.sec-02 .desc-block {
	position: relative;
	min-height: 66px;
	margin-bottom: 10px;
	border: 1px dotted;
	padding: 10px 10px 10px 60px;
    transition: all .3s ease;
}

.sec-02 .desc-block.animate {
	background: #ffd7b3;
}

.sec-02 .desc-block .number {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
    width: 60px;
	font-size: 2em;
	color: #ff7c00;
	font-family: 'Oswald', sans-serif;
}

.sec-02 .desc-block p {
	display: block;
	width: 100%;
	text-align: left;
}

.sec-02 .device.x2 {
	width: 600px;
}

.sec-02 .description.x2 {
	width: calc(100% - 630px);
}

.wp-block-video figcaption {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	text-align: center;
	color: #fff;
	background: #ff7c00;
	padding: 10px;
}

.sec-02 .device .device-inner {
    position: relative;
	padding-bottom: 86.669%;
    background: url('/wp-content/themes/ims-basic/img/pictures/pult.png');
    background-size: contain;
}

.sec-02 .device.water .device-inner {
    background: url('/wp-content/themes/ims-basic/img/pictures/water.png');
}

.sec-02 .device.gas .device-inner {
    background: url('/wp-content/themes/ims-basic/img/pictures/gas.png');
}

.sec-02 .bonus-wrapper {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 220px;
	height: 210px;
}

.sec-02 .device.gas .bonus-wrapper {
	height: 230px;
}

.sec-02 .bonus {
	position: absolute;
	left: 50%;
	top: 10px;
    transform: translatex(-50%);
	width: 100%;
	height: 200px;
	background: url('/wp-content/themes/ims-basic/img/pictures/magnet.jpg');
    background-size: contain;
}

.sec-02 .device.gas .bonus {
	top: 30px;
}

.sec-02 .bonus-wrapper p {
	position: absolute;
	width: 100%;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	text-align: center;
	font-size: 1.4em;
	margin: 0;
	top: 0;
	z-index: 2;
	color: #ff7c00;
}

.sec-02 .device.gas .bonus-wrapper p {
	font-size: 1.5em;
	line-height: 1.1;
}

.sec-02 .device .block {
    position: absolute;
	height: 60px;
    width: 230px;
}

.sec-02 .device .block .number {
    position: relative;
    width: 60px;
    height: 60px;
    background: #ffd7b3;
    border-radius: 50%;
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: 1.4em;
    padding-bottom: 4px;
    display: inline-flex !important;
    cursor: pointer;
}


.sec-02 .device .block .number:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: #ff7c00;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate3d(-50%, -50%, 0);
    transition: all .3s ease;
}

.sec-02 .device .block:hover .number:before {
    background: #ffb066;
}

.sec-02 .device .block .number span {
    position: relative;
    z-index: 2;
}

.sec-02 .block.num-02 {
	top: 21%;
}

.sec-02 .block.num-03 {
	top: 46.5%;
	width: 290px;
}

.sec-02 .block:after {
	content: '';
	width: calc(100% - 62px);
	top: 50%;
	height: 1px;
	border-top: 2px dotted #c6c6c6;
	position: absolute;
}

.sec-02 .block.num-02:after, .sec-02 .block.num-03:after {
	right: 0;
}

.block.num-05 {
	right: 0;
	top: 21%;
	text-align: right;
}

.sec-02 .block.num-05:after {
	left: 0;
}

.sec-02 .flex-wrapper:nth-of-type(2) {
	padding: 0 !important;
}

.sec-02 .flex-block {
	border: 1px solid #ffd7b3;
	text-align: left;
	height: 60px;
	padding: 0 0 0 80px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.sec-02 .flex-block .icon {
	position: absolute;
    left: 0;
    width: 60px;
	height: 60px;
    background: url('/wp-content/themes/ims-basic/img/pictures/sprite-03.png');
}

.sec-02 .flex-block:nth-of-type(2) .icon {
	background-position: 300px;
}

.sec-02 .flex-block:nth-of-type(3) .icon {
	background-position: 240px;
}

.sec-02 .flex-block:nth-of-type(4) .icon {
	background-position: 180px;
}

.sec-02 .flex-block:nth-of-type(5) .icon {
	background-position: 120px;
}

.sec-02 .flex-block:nth-of-type(6) .icon {
	background-position: 60px;
}

.sec-03 .wrapper {
	z-index: 4;
}

.sec-03 .loop-wrapper {
    padding: 60px 0 40px;
}

.sec-04 {
	padding-top: 0 !important;
}

.sec-04 .wrapper {
	z-index: 3;
}

.sec-05 {
    background: url('/wp-content/themes/ims-basic/img/pictures/background-02.jpg') center;
    background-size: cover;
}

.sec-05 h2, .sec-07 h2, .sec-09 h2 {
    color: #ff7c00;
}

.sec-05 .flex-block {
    text-align: center;
    background: rgba(255,255,255,.85);
}

.sec-05 .flex-block .icon {
    margin: 0 auto;
    width: 40px; height: 40px;
    background: url('/wp-content/themes/ims-basic/img/pictures/sprite-04.png');
}

.sec-05 .flex-block:nth-of-type(2) .icon {
    background-position: 120px;
}

.sec-05 .flex-block:nth-of-type(3) .icon {
    background-position: 80px;
}

.sec-05 .flex-block:nth-of-type(4) .icon {
    background-position: 40px;
}

.sec-06 .column {
    flex-direction: column;
}

.sec-06 .column h3 {
    margin-bottom: 20px;
}

.sec-06 .flex-block {
    padding: 0 0 0 70px;
    border: 0;
    min-height: 76px;
}

.sec-06 .flex-block .icon {
    position: absolute;
    top: 50%; left: 0;
    transform: translatey(-50%);
    width: 60px; height: 60px;
    background: url('/wp-content/themes/ims-basic/img/pictures/sprite-05.png');
}

.sec-06 .column:nth-of-type(1) .flex-block:nth-of-type(2) .icon {
    background-position: 300px;
}

.sec-06 .column:nth-of-type(1) .flex-block:nth-of-type(3) .icon {
    background-position: 240px;
}

.sec-06 .column:nth-of-type(2) .flex-block:nth-of-type(1) .icon {
    background-position: 180px;
}

.sec-06 .column:nth-of-type(2) .flex-block:nth-of-type(2) .icon {
    background-position: 120px;
}

.sec-06 .column:nth-of-type(2) .flex-block:nth-of-type(3) .icon {
    background-position: 60px;
}

.sec-06 .column img {
    max-width: 480px;
    margin: 20px auto 0;
}

.sec-07, .sec-09 {
    background: url('/wp-content/themes/ims-basic/img/pictures/background-03.jpg') center;
    background-size: cover;
}

.sec-07 .flex-wrapper {
    padding: 60px 0 0 !important;
}

.sec-07 .curious {
    height: 500px;
    width: 531px;
    background: url('/wp-content/themes/ims-basic/img/pictures/curious.png');
    background-size: contain;
}

.sec-07 .accordion {
	width: calc(100% - 600px);
}

.sec-07 .question {
    position: relative;
	font-weight: 600;
	background: #fff;
	height: 42px;
	justify-content: flex-start;
	padding-left: 60px;
	border-left: 8px solid #ffd7b3;
    cursor: pointer;
    margin-bottom: 5px;
}

.sec-07 .question.two-lines {
	height: 54px;
}

.sec-07 .question:before {
	content: '\f067';
    width: 42px;
    height: 100%;
    background: #ffb066;
    color: #fff;
    transition: all .3s ease;
}

.sec-07 .question.animate:before {
	content: '\f068';
}

.sec-07 .question:hover:before {
    background: #ff7c00;
}

.answer {
	color: #fff;
	padding: 5px 10px 10px 60px;
}

.answer ~ .answer {
	display: none;
}

.answer p {
	margin: 0;
}

.sec-09 {
    color: #fff;
    padding-bottom: 20px !important;
}

.sec-09 a {
    color: #ff7c00;
}

.sec-09 p {
    text-align: center;
}

.sec-09 .field-wrapper {
	display: flex;
	gap: 20px;
	justify-content: space-between;
	align-items: center;
    margin-bottom: 15px;
}

.sec-09 .field-wrapper .wpcf7-form-control-wrap {
	margin: 0 !important;
    border: 0 !important;
}

.sec-contacts {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
    border-bottom: 8px solid #ffd7b3;
}

.sec-contacts .c-block {
	width: 50%;
    background: #fff;
    padding-left: calc((100% - 1280px) / 2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #444;
}

.sec-contacts .c-block a {
    color: #444;
}

.sec-contacts .c-block > div {
    width: 100%;
}

.sec-contacts .c-block h2 {
    text-align: left;
    color: #444;
}

.sec-contacts .c-block .kt-svg-icon-list-text strong {
	font-family: 'Oswald', sans-serif;
	letter-spacing: .03em;
	font-size: 1.2em;
}

.sec-contacts .c-block .social-wrapper {
	justify-content: flex-start;
    margin: 0;
}

.sec-contacts .c-block .social-wrapper a {
	color: #fff !important;
}

.sec-contacts .map-wrapper {
    min-height: 400px;
    width: 50%;
    position: relative;
}

.map-wrapper p {
    margin: 0 !important;
}

.caution-wrapper {
	padding: 60px 0 40px;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.caution-wrapper p {
	font-size: 13px;
    margin-bottom: 20px !important;
    color: #a4a4a4;
}

/*---Footer------------------------------------------------------------------------------ */

footer {
    position: relative;
	width: 100%;
	margin: 0 auto;
 	overflow: hidden;
	background: #262626;
	color: #fff;
    border-top: 8px solid #ffd7b3;
}

footer a {
	color: #fff;
}

.bottom {
    width: 100%;
    background: #2c2a24;
    height: 70px;
    border-bottom: 1px solid #ff7c00;
}

.bottom .wrapper {
    max-width: 1024px;
}

.bottom p {
    margin: 0;
}

.bottom img {
    max-width: 195px;
}

.address, .phone {
    position: relative;
    padding-left: 52px;
}

.address:before {
    content: '\f015';
    width: 48px; height: 48px;
    font-size: 32px;
    color: #ff7c00;
}

.phone:before {
    content: '\f3cd';
    width: 48px; height: 48px;
    font-size: 32px;
    color: #ff7c00;
}

.address .title, .phone .title {
	font-weight: 600;
	font-family: 'Oswald', sans-serif;
	letter-spacing: .03em;
	font-size: 1.1em;
}

/*---Pages------------------------------------------------------------------------------- */

.bread-box {
	border-bottom: 1px solid #ffd7b3;
	background: #fffaf5;
	padding: 3px 0;
}

.breadcrumbs {
    margin: 0 auto;
    padding: 0 5px;
    font-size: .8em;
    opacity: .8;
}

.breadcrumbs a {
    color: currentColor;
    font-weight: 600;
}

.sec-page {
    height: 100%;
    padding-top: 0 !important;
    padding-bottom: 30px !important;
}

.sec-page article {
    border: 1px solid #ffd7b3;
    width: 100%;
    padding: 10px 15px;
    min-height: calc(100vh - 170px);
}

.sec-404 {
    min-height: calc(100vh - 60px);
    text-align: center;
}

/*---Loop-------------------------------------------------------------------------------- */

.loop-post {
	width: 24%;
	margin-bottom: 20px;
	color: #555;
	border: 1px solid #ffd7b3;
	border-bottom: 0;
    padding-top: 10px;
}

.three-rows .loop-post {
	width: 32%;
}

.three-rows .loop-post img {
	max-width: 320px;
    margin: 0 auto;
}

.flex-filler {
	width: 24%;
}

.loop-title {
	text-align: center;
    color: currentColor;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.4em;
}

.loop-post img {
	padding: 10px;
}

.loop-post .chars {
    padding: 10px 20px 15px;
    border-top: 1px solid #ffd7b3;
    background: #fffaf5;
    font-size: .9em;
}

.loop-post .chars .price {
	font-weight: 600;
	font-size: 1.4em;
}

.loop-post .chars .type.space {
	font-size: .9em;
}

.btn.order-toggle {
    width: 100%;
}

.pagination {
    text-align: center;
}

.pagination-inner {
    display: inline-flex;
    justify-content: flex-between;
}

.pagination span, .pagination a {
    color: #555;
    border: 1px solid #ececec;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 2px;
    height: 36px;
    width: 36px;
}

.empty-cat {
	text-align: center;
	width: 100%;
}

/*---Posts------------------------------------------------------------------------------- */
/*---Editor-Styles----------------------------------------------------------------------- */

.sec-page article ul, .sec-page article ol {
    padding: 0;
    list-style: none;
}

.sec-page article ul li, .sec-page article ol li {
    position: relative;
    padding-left: 22px;
}

.sec-page article ul li:before {
	content: '\f111';
  	font-family: 'Font Awesome 5 Free';
	position: absolute;
	left: 0; top: 0;
	width: 22px; height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
 	font-size: 10px;
	font-weight: 900;
	color: currentColor;
}

.sec-page article ul li > ul li:before {
    font-weight: 400;
}

.sec-page article ol li:before {
	position: absolute;
    left: 0; top: 0;
	width: 22px; height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 600;
	color: currentColor;
}

.sec-page article ol li:nth-of-type(1):before {
	content: '1.';
}

.sec-page article ol li:nth-of-type(2):before {
	content: '2.';
}

.sec-page article ol li:nth-of-type(3):before {
	content: '3.';
}

.sec-page article ol li:nth-of-type(4):before {
	content: '4.';
}

.sec-page article ol li:nth-of-type(5):before {
	content: '5.';
}

.sec-page article ol li:nth-of-type(6):before {
	content: '6.';
}

.sec-page article ol li:nth-of-type(7):before {
	content: '7.';
}

.sec-page article ol li:nth-of-type(8):before {
	content: '8.';
}

.sec-page article ol li:nth-of-type(9):before {
	content: '9.';
}

.sec-page article ol li:nth-of-type(10):before {
	content: '10.';
}

.sec-page article ol li:nth-of-type(11):before {
	content: '11.';
}

.sec-page article ol li:nth-of-type(12):before {
	content: '12.';
}

.sec-page article ol li:nth-of-type(13):before {
	content: '13.';
}

.sec-page article ol li:nth-of-type(14):before {
	content: '14.';
}

.sec-page article ol li:nth-of-type(15):before {
	content: '15.';
}

.sec-page article ul.wp-block-gallery li {
    padding-left: 0;
}

.sec-page article ul.wp-block-gallery li:before {
    display: none;
}

.sec-page article blockquote {
    position: relative;
	border: 1px solid #ececec;
	margin: 1em 0;
    padding: 5px 10px 25px 60px;
	background: #fafafa;
}

.sec-page article blockquote:before {
	content: '\f10e';
	font-family: 'Font Awesome 5 Free';
	position: absolute;
	left: 5px; top: 5px;
	width: 30px; height: 30px;
	display: flex;
 	align-items: center;
	justify-content: center;
 	font-size: 22px;
	font-weight: 900;
	color: #ececec;
}

.sec-page article blockquote cite {
    float: right;
    font-size: .8em;
    margin-top: 5px;
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid currentColor;
}

article h2 {
	font-size: 1.5em;
	text-align: left;
}

/*---Popup------------------------------------------------------------------------------- */

.btn {
    position: relative;
    width: 240px; height: 48px;
    cursor: pointer;
    transition: all .3s ease;
    margin: 0 0 0 10px;
    color: #fff;
    background: #ff7c00;
    text-transform: uppercase;
    font-size: 14px;
}

.btn.right {
    border-right: 8px solid #ffd7b3;
}

.btn.center {
    border-right: 8px solid #ffd7b3;
    border-left: 8px solid #ffd7b3;
    margin: 0 auto;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn.right:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background: #ffb066;
    transition: all .3s ease;
    pointer-events: none;
}

.btn.right:hover:after {
    width: 100%;
}

.btn.center:before, .submit-wrapper:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background: #ffb066;
    transition: all .3s ease;
    pointer-events: none;
}

.btn.center:hover:before, .submit-wrapper:hover:before {
    width: 50%;
}

.btn.center:after, .submit-wrapper:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background: #ffb066;
    transition: all .3s ease;
    pointer-events: none;
}

.btn.center:hover:after, .submit-wrapper:hover:after {
    width: 50%;
}

header .btn {
    width: 200px;
    margin-left: 20px;
}

.backdrop, .order-backdrop {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(18,17,14,.9);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    transition: opacity .3s;
}

.backdrop.animate, .order-backdrop.animate {
    opacity: 1;
    pointer-events: auto;
}

.callback-popup, .order-popup {
	position: fixed;
	left: 50%; top: 50%;
 	transform: translatex(-50%) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: 100%;
 	max-width: 768px;
    height: 400px;
	background: rgba(255,255,255,.95);
	z-index: 11;
	padding: 10px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
    border-left: 8px solid #ffd7b3;
    border-right: 8px solid #ffd7b3;
}

.callback-popup.animate, .order-popup.animate {
	opacity: 1;
    pointer-events: auto;
 	transform: translatex(-50%) translatey(-50%) scale3d(1, 1, 1);
}

.popup-close {
	position: absolute;
	right: 0; top: 0;
	height: 30px; width: 30px;
 	cursor: pointer;
    z-index: 20;
}

.popup-close:before {
	display: flex;
	justify-content: center;
 	align-items: center;
	position: absolute;
	left: 0; top: 0;
	width: 100%;
	height: 100%;
	color: #555;
    font-family: 'Font Awesome 5 Free';
	font-weight: 900;
    font-size: 20px;
    content: '\f00d';
    transition: all .3s ease;
}

.form-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    margin: 60px auto 0;
}

.callback-popup .form-wrapper, .order-popup .form-wrapper {
    margin: 0 auto;
}

/*---Contact-Form-7---------------------------------------------------------------------- */

.wpcf7-form {
    position: relative;
    padding-bottom: 32px;
}

.wpcf7-form-control-wrap, .submit-wrapper {
    position: relative;
	margin: 5px 0 15px;
}

.wpcf7-form-control-wrap {
	border: 1px solid #ececec;
	background: #fff;
    overflow: hidden;
    display: block;
}

.wpcf7-form-control-wrap.focus {
	box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
}

.wpcf7-form-control-wrap .wpcf7-text {
	border: 0;
	background: transparent;
 	height: 42px; width: 100%;
    font-size: 15px;
}

.wpcf7-form-control-wrap .wpcf7-text, .wpcf7-form-control-wrap .wpcf7-textarea {
	padding: 15px 5px 0;
}

.wpcf7-form-control-wrap.your-textarea textarea {
	width: 100%;
	border: 0;
}

.wpcf7-form-control-wrap.your-textarea .placeholder {
	height: 28px;
	bottom: auto;
}

.wpcf7-form-control-wrap.your-acceptance {
	background: transparent;
	border: 0;
 	height: auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 5px 0 10px;
}

.wpcf7-form-control-wrap.your-acceptance .wpcf7-list-item label {
 	display: flex;
	justify-content: space-around;
	width: 100%;
}

.wpcf7-form-control-wrap.your-acceptance .wpcf7-list-item-label {
	margin-left: 5px;
 	text-transform: uppercase;
	font-size: 11px;
}

.submit-wrapper {
    position: relative;
    background: #ff7c00;
    transition: all .3s ease;
	border-right: 8px solid #ffd7b3;
	border-left: 8px solid #ffd7b3;
}

.submit-wrapper .wpcf7-submit {
    position: relative;
	background: transparent;
	border: 0;
	width: 100%;
	height: 46px;
 	cursor: pointer;
	text-transform: uppercase;
	color: #fff;
    z-index: 2;
}

.wpcf7-form-control-wrap span.wpcf7-not-valid-tip, div.wpcf7 .submit-wrapper .ajax-loader, .wpcf7-spinner {
 	display: none !important;
    pointer-events: none !important;
}

.wpcf7-form-control-wrap .wpcf7-not-valid {
    background: rgba(255,40,0,.15);
}

.wpcf7-form-control-wrap .placeholder {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    text-align: left;
    padding-left: 5px;
    color: #b3b3b3;
    font-size: 14px;
    transition: all .3s ease;
    pointer-events: none;
}

.wpcf7-form-control-wrap .placeholder.scaled {
	transform: translatey(-11px);
    font-size: 12px;
    color: #555;
}

.wpcf7 .wpcf7-response-output {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    margin: 0;
    padding: 3px 0;
    border: 1px solid #555 !important;
    text-align: center;
    font-size: 14px;
}

.wpcf7-form div.wpcf7-display-none {
    display: none;
    pointer-events: none;
}

.wpcf7-form div.wpcf7-validation-errors, .wpcf7-form div.wpcf7-acceptance-missing {
    border: 1px solid #ff7c00;    
}

.wpcf7-form div.wpcf7-mail-sent-ok {
    border: 1px solid #fff;
}

.wpcf7-form-control-wrap.inputname {
	display: none;
}

/*---Strong-Testimonials----------------------------------------------------------------- */

.strong-view {
	padding: 60px 0;
}

.strong-content {
	padding: 0 60px;
}

.testimonial {
	border: 1px solid #ffd7b3;
	margin: 0 10px;
	padding: 20px;
}

.testimonial-image {
	margin: 0 auto 20px;
	max-width: 120px;
	border-radius: 100%;
	overflow: hidden;
}

.testimonial-heading {
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 10px;
	color: #555;
    font-size: 1.2em;
}

.testimonial p {
	font-size: .9em;
    display: block;
    min-height: 152px;
}

.testimonial-client {
	background: #fffaf5;
    border-top: 1px solid #ffd7b3;
	margin: 0 -10px;
	padding: 10px;
	text-align: center;
}

.strong-rating span.star:before, .strong-rating span.star:last-child:before {
	color: #ff7c00 !important;
}

/*---Slick-Slider------------------------------------------------------------------------ */

.slick-main {
    overflow: hidden;
}

.slick-arrow {
    position: absolute;
    top: 0;
    bottom: 0;    
    z-index: 2;
    cursor: pointer;
    border: 0;
    font-size: 0;
    transition: all .3s ease;
    background: transparent;
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}

.slick-prev:hover {
    left: 5px;
}

.slick-next:hover {
    right: 5px;
}

.slick-prev:before, .slick-next:before {
    font-family: Font Awesome\ 5 Free;
    font-size: 32px;
    font-weight: 900;
    color: #555;
    transition: all .3s ease;
    top: 50%;
    transform: translatey(-50%);
}

.slick-prev:hover:before, .slick-next:hover:before {
    color: #ff7c00;
}

.slick-prev:before {
    content: '\f053';
}

.slick-next:before {
    content: '\f054';
}

.slick-dots {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translatex(-50%);
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.slick-dots li {
    position: relative;
    overflow: hidden;
    border-radius: 100%;
    box-shadow: inset 0 0 0 2px #555;
    margin: 0 5px;
    width: 20px; height: 20px;
}

.slick-dots li:after {
    content: '';
    position: absolute;
    z-index: 2;
    background: #555;
    bottom: 0; left: 0; right: 0; top: 100%;
    transition: all .3s ease;
    pointer-events: none;
}

.slick-dots li.slick-active:after {
    bottom: 0; left: 0; right: 0; top: 0;
}

.slick-dots li button {
    border-radius: 100%;
    font-size: 0;
    background: transparent;
    width: 20px; height: 20px;
    border: 0;
    cursor: pointer;
    transition: all .3s ease;
    position: absolute;
    top: 0; left: 0;
}

.slick-dots li button:hover {
    background: rgba(68, 68, 68, .3);
}

.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
}

/*---Adaptive-Design--------------------------------------------------------------------- */

@media only screen and (min-width : 1980px) {
main {
	border-left: 1px solid #ececec;
	border-right: 1px solid #ececec;
}
}

@media only screen and (max-width: 1280px) {
.wrapper {
    padding: 0 2%;    
}

.sec-01 {
    height: 720px;
}

.main-nav ul a {
	font-size: 14px;
}

.testimonial p {
	min-height: 190px;
}

.menu-toggle {
	display: flex !important;
    justify-content: center;
    align-items: center;
	font-size: 22px;
	margin-left: 20px;
	width: 22px;
    cursor: pointer;
 	height: 48px;
    width: 48px;
    color: #fff;
    background: #ff7c00;
}

.main-nav ul {
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	flex-direction: column;
	align-items: center;
	padding: 60px 0;
	background: rgba(0,0,0,.85);
	z-index: 2;
	transition: all .3s ease;
	opacity: 0;
	pointer-events: none;
	display: flex;
	justify-content: space-around;
}

.main-nav ul.animate {
    opacity: 1;
    pointer-events: auto;
    top: 70px;
}

.main-nav ul a {
	font-size: 20px;
}

.main-nav ul a:hover {
	color: #fff !important;
}

.sec-contacts .c-block {
    padding-left: 2%;
}
}

@media only screen and (max-width: 1170px) {

.sec-01 .flex-block p {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
}

.sec-02 .flex-wrapper:nth-of-type(1) {
    flex-direction: column;
}

.sec-02 .device {
    margin-bottom: 20px;
}

.sec-02 .description {
    width: 100% !important;
    max-width: 640px;
}

.loop-title {
	font-size: 1em;
}

.loop-post .chars {
	text-align: center;
}

.sec-05 .flex-block p {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 66px;
}

.sec-07 .curious {
	height: 400px;
	width: 424px;
}

.sec-07 .accordion {
	width: calc(100% - 460px);
}

.sec-07 .question {
	height: 48px;
	font-size: 14px;
}

.answer p {
	font-size: 14px;
}

.strong-content {
	padding: 0;
}

.testimonial p {
	min-height: 170px;
}

.callback .btn {
    position: relative;
	width: 48px;
	font-size: 0;
    border-right: 0
}

.callback .btn:after {
    width: 0;
}

.callback .btn:before {
    content: '\f2a0';
 	font-family: 'Font Awesome 5 Free';
	position: absolute;
	left: 0; top: 0;
	width: 100%; height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
 	font-size: 22px;
	font-weight: 900;
	color: currentColor;
    transform: rotatez(-35deg);
    z-index: 2;
}

.spacer, .main-nav {
    width: calc(100% - 560px);
}
}

@media only screen and (max-width: 1024px) {
.site-title {
	font-size: 1.8em;
}

.subtitle {
	font-size: 1.4em;
}

.section-title {
	font-size: 1.5em;
}

.loop-post {
	width: 48.4%;
}

.sec-06 .column {
	width: 100% !important;
}

.sec-06 .column:nth-of-type(1) {
	margin-bottom: 40px;
}

.sec-06 .flex-block {
	width: 100%;
	justify-content: flex-start;
}

.sec-07 {
	padding-bottom: 60px !important;
}

.sec-07 .curious {
	display: none;
}

.sec-07 .accordion {
	width: 100%;
}

.sec-contacts {
    flex-direction: column;
}

.sec-contacts > * {
    width: 100% !important;
}

.sec-contacts .c-block {
    padding-top: 60px;
    padding-bottom: 60px;
}
}

@media only screen and (max-width: 768px) {
.callback-popup {
	left: 2%; right: 2%;
	transform: translatex(0) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: auto;
}

.callback-popup.animate {
	transform: translatex(0) translatey(-50%) scale3d(1, 1, 1);
}

.x4 {
    width: 48%
}

.spacer, .main-nav {
	width: calc(100% - 480px);
}

.tel {
	font-size: 20px;
	padding-left: 28px;
}

.tel:before {
	height: 30px;
	width: 30px;
	font-size: 20px;
}

.sec-01 {
	height: auto;
	background: url('/wp-content/themes/ims-basic/img/pictures/background-03.jpg') center !important;
    background-size: cover !important;
    padding: 60px 0 !important;
}

.sec-01 .flex-block p {
	min-height: 0;
}

.bottom {
	height: auto;
	padding: 10px 0;
}

.bottom .wrapper {
	flex-direction: column;
	align-items: flex-start;
	padding-left: 80px;
}

.address {
	margin-bottom: 20px;
}

.bottom img {
	display: none;
}

.fas.scrolltop {
	bottom: 40px;
	font-size: 28px;
}

.sec-02.switch img {
    display: none;
}
}

@media only screen and (max-width: 640px) {
body {
    font-size: 14px;
}

.wrapper {
    padding: 0 3%;    
}

section, .section {
    position: relative;
    padding-top: 40px !important;
}

.flex-wrapper {
    padding: 40px 0;
}

.sec-01 {
	padding: 40px 0 !important;
}

.sec-07 .flex-wrapper {
	padding: 40px 0 0 !important;
}

.strong-view {
	padding: 40px 0;
}

.sec-02 .switch-desc {
    margin: 20px auto 40px;
}

.sec-02 .flex-wrapper:nth-of-type(2) {
    margin-top: 40px;
}

.x2, .x3, .x4 {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 20px;
}

.x2:last-of-type, .x3:last-of-type, .x4:last-of-type {
    margin: 0 auto;
}

.callback .btn {
	width: 38px;
	height: 38px;
}

.callback .btn:before {
	font-size: 18px;
}

.logo {
	display: none;
}

.header-flex {
    width: 100%;
}

.menu-toggle {
	font-size: 20px;
	margin-left: 0;
}

.tel {
	font-size: 18px;
}

.tel:before {
	height: 26px;
	width: 26px;
}

.subtitle {
	font-size: 1em;
}

.subtitle i {
	font-size: 6px;
	transform: translatey(-2px);
	padding: 0 5px;
}

.testimonial p {
	min-height: 140px;
}

.three-rows .loop-post {
	width: 100%;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

.caution-wrapper {
	padding: 60px 3% 40px;
}

.caution-wrapper p {
	text-align: justify;
}

.sec-contacts .c-block {
    padding-top: 40px;
    padding-bottom: 40px;
}

.map-wrapper:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    with: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.sec-02 .device {
	margin: 0 0 20px;
	width: 100% !important;
}

.sec-02 .device .wp-block-video {
    margin: 0 !important;
}
}

@media only screen and (max-width: 480px) {
.wpcf7-form-control-wrap.your-acceptance .wpcf7-list-item-label {
	font-size: 9px;
}

.section-title {
	font-size: 1.3em;
}

.loop-post {
	width: 100%;
}

.tel {
	font-size: 16px;
	padding-left: 22px;
}

.tel:before {
	height: 21px;
	width: 21px;
	font-size: 16px;
}

.callback {
	display: none;
}

.logo {
	display: none;
}

.header-flex {
    width: 100%;
}

.menu-toggle {
	font-size: 16px;
	transform: translateY(2px);
}

.sec-07 .question {
	font-size: 13px;
	font-weight: 400;
    padding-right: 10px;
}

.sec-09 .field-wrapper {
	flex-direction: column;
}

.menu-toggle, .social-wrapper .fab {
    width: 42px;
    height: 42px;
}
}

@media only screen and (max-width: 360px) {
body {
    font-size: 13px;
}

.menu-toggle, .social-wrapper .fab {
    width: 36px;
    height: 36px;
}

.tel {
	font-size: 13px;
}

.tel a {
	padding-top: 1px;
	display: block;
}
}
