/*
Theme Name: Rieltor
Description: Theme
Version: 
Author: 
Author URI: 
*/

/*---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 {
	height: auto;
	border: 0;
    display: block;
}

/*---Basic-Structure--------------------------------------------------------------------- */

body {
    font-family: 'Open Sans', sans-serif;
    color: #444;
    font-size: 16px;
    line-height: 1.5;
    background: #f5f5f5;
}

main {
	max-width: 1920px;
	min-height: 100vh;
	overflow: hidden;
	padding-top: 80px;
	margin: 0 auto;
    background: #fff;
}

section, .section, .wp-block-group {
    position: relative;
}

.wrapper, .wp-block-group__inner-container, .wp-block-kadence-rowlayout .wp-block-kadence-column {
    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 {
    position: relative;
}

.awesome:before, .main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before {
	content: '';
	font-family: 'Font Awesome 5 Free';
	position: absolute;
	top: 0;
	height: 100%;
	font-weight: 900;
    color: currentColor;
}

.awesome:before {
    left: 0;
}

.main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before {
	right: 0;
}

.fas.scrolltop {
    position: fixed;
    bottom: 10px;
    left: 10px;
    color: #005fa1;
    font-size: 32px;
    z-index: 9;
    transition: color .5s;
    cursor: pointer;
    display: none;
}

.fas.scrolltop:hover {
    color: #0077cc;
}

.content-wrapper {
    padding: 60px 0;
}

/*---Flexbox----------------------------------------------------------------------------- */

.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex-between, .main-nav > ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center, .btn, .fab, .main-nav ul a, .awesome:before, .main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before, .main-nav > ul li ul.sub-menu, .wp-block-kadence-column, .wrapper-02 .item .number {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.flex-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.flex-wrapper, .stretch {
	align-items: stretch;
}

.item {
    position: relative;
    padding: 20px;
    border-radius: 6px;
}

.x2 {
    width: calc(50% - 10px);
}

.x3 {
    width: calc((100% - 40px) / 3);
}

.x4 {
    width: calc((100% - 60px) / 4);
}

.item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
}

/*---Kadence-Blocks---------------------------------------------------------------------- */

.wp-block-kadence-rowlayout :is(.kt-row-layout-inner, .kt-row-column-wrap, .wp-block-kadence-column, .kt-inside-inner-col) {
    height: 100% !important;
}

.wp-block-kadence-rowlayout .kt-row-column-wrap {
	max-width: 1280px;
	margin: 0 auto;
}

.wp-block-kadence-iconlist ul {
    margin: 0 !important;
}

.wp-block-kadence-accordion .kt-accordion-header-wrap .kt-blocks-accordion-header {
	cursor: pointer;
}

/*---Basic-Typography-------------------------------------------------------------------- */

h1, h2, h3, h4, .popup-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

h1 {
    font-size: 3.2em;
    margin: 0;
}

h2, .popup-title {
	font-size: 1.7em;
    margin: 0;
}

h3 {
	font-size: 1.3em;
    margin: 0;
}

h4 {
	font-size: 1.1em;
    margin: 0;
}

.page-title {
    margin: 10px 0 34px;
}

.popup-title {
    margin: 0 0 30px;
}

.popup-title, .page-title {
    text-align: center;
}

a {
    position: relative;
    transition: all .3s;
    color: #005fa1;
}

a:hover {
    color: #0077cc;
}

p, label {
    margin: 0;
}

/*---Header------------------------------------------------------------------------------ */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    border-bottom: 1px solid #ececec;
    background: #fff;
    transition: all .3s;
    z-index: 5;
}

header.animate {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}

.logo {
    width: 460px; height: 100%;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    text-transform: uppercase;
}

.header-flex {
    width: calc(100% - 260px);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header .btn {
	margin: 0;
}

.kt-svg-icon.kt-svg-icon-fa_whatsapp {
	padding: 14px 13px 14px 15px !important;
}

/*---Home-Page--------------------------------------------------------------------------- */

.wrapper-01 {
    align-items: center;
    gap: 60px;
}

.wrapper-01 .text-wrapper {
    width: calc(100% - 400px);
}

.wrapper-01 .text-wrapper .btn {
    margin-left: 0;
}

.price-wrapper {
	background: #fff;
	padding: 10px 0 30px;
	max-width: 640px;
	margin: 0 auto;
	box-shadow: 0 3px 10px 5px rgba(0,0,0,.05);
	border-radius: 6px;
}

.wrapper-02 {
    flex-wrap: nowrap;
}

.wrapper-02 .item {
    background: #f8f8f8;
    border: 1px solid #efefef;
    width: calc(100% / 3);
}

.wrapper-02 .item .number {
	border-radius: 100%;
	color: #fff;
	background: #005fa1;
	font-size: 1.2em;
	font-family: 'Montserrat', sans-serif;
	width: 60px;
	height: 60px;
    margin: 0 auto;
    font-weight: 700;
}

.wrapper-02 .fas {
    color: #005fa1;
    font-size: 1.4em;
}

.wrapper-03 .item {
    background: #fff;
    box-shadow: 0 3px 10px 5px rgba(0,0,0,.05);
}

.wrapper-03 .item .icon {
    background: url('/wp-content/uploads/sprite.png');
}

.wrapper-03 .item:nth-of-type(2) .icon {
    background-position: 120px;
}

.wrapper-03 .item:nth-of-type(3) .icon {
    background-position: 60px;
}

.contacts {
    border-top: 1px solid #efefef;
}

.contacts .c-block {
	width: 50%;
	max-width: 640px;
	margin-left: calc((100vw - 1280px) / 2);
}

.contacts .map-wrapper {
	width: 50%;
	height: 400px;
	border-left: 1px solid #efefef;
}

.contacts .social {
	display: flex;
	fap: ;
	gap: 10px;
	justify-content: flex-start;
	align-items: center;
}

/*---Footer------------------------------------------------------------------------------ */

footer {
    position: relative;
	width: 100%;
	margin: 0 auto;
 	overflow: hidden;
	color: #fff;
    background: #444;
    padding: 18px 0;
}

footer a {
    color: #fff;
}

/*---Pages------------------------------------------------------------------------------- */

.breadcrumbs {
    margin: 0 auto;
    font-size: 0.813em;
    opacity: .9;
}

.breadcrumbs a {
    color: currentColor;
}

.sec-page {
    height: 100%;
    padding-top: 0;
    padding-bottom: 30px;
}

.sec-page article {
    border: 1px solid #ececec;
    width: 100%;
    padding: 30px;
    border-radius: 2px;
}

.sec-404 {
    min-height: calc(100vh - 60px);
    text-align: center;
}

/*---Loop-------------------------------------------------------------------------------- */

.loop-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.loop-post {
	width: 100%;
	margin-bottom: 20px;
    color: #444 !important;
}

.loop-post h3 {
    color: currentColor;
}

.loop-post .meta {
	justify-content: flex-start;
}

.loop-post .meta .awesome {
	margin-right: 5px;
	padding-left: 24px;
}

.wp-pagenavi span, .wp-pagenavi a {
	height: 42px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #ececec;
	min-width: 42px;
	padding: 0 6px;
	margin: 0 3px 0 0;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	background: #f5f5f5;
	border: 1px solid #d9d9d9;
}

.wp-pagenavi span.pages {
    display: none;
}

/*---Posts------------------------------------------------------------------------------- */
/*---Editor-Styles----------------------------------------------------------------------- */

article :is(p, h2, h3, h4, .wp-block-image, .wp-block-table, .wp-block-kadence-iconlist, .wp-block-kadence-tabs, .wp-block-kadence-accordion) {
    margin: 0 0 24px !important;
}

article > ul, article > ol {
    margin: 0 0 24px !important;
}

.wp-block-table tr {
    transition: all .3s;
}

.wp-block-table tr th, .wp-block-table tr td {
    border: 1px solid #ececec;
    padding: 10px;
}

.sec-page article > *:last-child, .wp-block-image {
    margin: 0 !important;
}

/*---Popup------------------------------------------------------------------------------- */

.btn {
    width: 100%;
    max-width: 220px;
    height: 52px;
    background: #005fa1;
    color: #fff; 
    cursor: pointer;
    transition: all .3s;
    margin: 0 auto;
    border-radius: 26px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.btn:hover {
    background: #0077cc;
}

.backdrop {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(0,0,0,.75);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    transition: opacity .3s;
}

.backdrop.animate {
    opacity: 1;
    pointer-events: auto;
}

.ims-popup {
	position: fixed;
	left: 50%; top: 50%;
	transform: translatex(-50%) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: 100%;
 	max-width: 768px;
	background: rgba(255,255,255,.95);
	z-index: 11;
	padding: 50px 10px;
    opacity: 0;
    transition: all .3s;
    flex-direction: column;
    border-radius: 2px;
}

.ims-popup.animate {
	opacity: 1;
    pointer-events: auto;
 	transform: translatex(-50%) translatey(-50%) scale3d(1, 1, 1);
}

.ims-popup, .ims-popup * {
    pointer-events: none !important;
}

.ims-popup.animate, .ims-popup.animate * {
    pointer-events: auto !important;
}

.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: #444;
    font-family: 'Font Awesome 5 Free';
	font-weight: 900;
    font-size: 20px;
    content: '\f00d';
    transition: all .3s ease;
}

.popup-close:hover:before {
	color: #777;
}
/*---Forminator-------------------------------------------------------------------------- */

.forminator-custom-form {
	max-width: 480px;
    margin: 0 auto !important;
}

.forminator-button.forminator-button-submit {
	padding: 0 !important;
	display: flex !important;
	justify-content: center;
	align-items: center;
	height: 52px !important;
	width: 100% !important;
	box-shadow: none !important;
    font-size: 1rem !important;
    transition: all .3s !important;
    border-radius: 26px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    font-size: 14px !
}

.forminator-response-message {
	border-radius: 0 !important;
	padding: 10px 16px !important;
}

.forminator-response-message .screen-reader-only {
    display: none !important;
}

/*---Slick-Slider------------------------------------------------------------------------ */
.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
}

.slick-arrow {
    position: absolute;
    top: 0;
    bottom: 0;    
    z-index: 2;
    cursor: pointer;
    border: 0;
    font-size: 0;
    transition: all .3s;
    background: transparent;
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}

.slick-prev:hover {
    left: 3px;
}

.slick-next:hover {
    right: 3px;
}

.slick-prev:before, .slick-next:before {
    font-family: Font Awesome\ 5 Free;
    font-size: 32px;
    font-weight: 900;
    color: #444;
    transition: all .3s;
    top: 50%;
    transform: translatey(-50%);
}

.slick-prev:hover:before, .slick-next:hover:before {
    color: #777;
}

.slick-prev:before {
    content: '\f053';
}

.slick-next:before {
    content: '\f054';
}

/*---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, .wp-block-group__inner-container, .wp-block-kadence-rowlayout .wp-block-kadence-column {
    padding: 0 2%;    
}

.contacts .c-block {
	margin-left: 2%;
}
}

@media only screen and (max-width: 1170px) {
}

@media only screen and (max-width: 1080px) {
header .btn {
    position: relative;
	width: 52px;
	font-size: 0;
}

header .btn:before {
    content: '\f095';
 	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: 20px;
	font-weight: 900;
	color: currentColor;
}

.x4 {
    width: calc(50% - 10px);
}

h1 {
	font-size: 2.7em;
}

h2, .popup-title {
	font-size: 1.5em;
}

h3 {
	font-size: 1.2em;
}
}

@media only screen and (max-width: 810px) {
.ims-popup {
	left: 2%; right: 2%;
	transform: translatex(0) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: auto;
}

.ims-popup.animate {
	transform: translatex(0) translatey(-50%) scale3d(1, 1, 1);
}

.wrapper-02 .fas {
	display: none !important;
}

.wrapper-01, .wrapper-02, .wrapper-03, .contacts {
    flex-direction: column;
}

.wrapper-02 .item, .wrapper-03 .item {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.wrapper-01 .text-wrapper {
    width: 100%;
    text-align: center;
}

.wrapper-01 .text-wrapper .btn {
    margin-left: auto;
}

.contacts > * {
	width: 100% !important;
	margin: 0 !important;
	max-width: 100% !important;
}

.contacts .c-block {
    padding-left: 3%;
}
}

@media only screen and (max-width: 640px) {
body {
    font-size: 14px;
}

.wrapper, .wp-block-group__inner-container, .wp-block-kadence-rowlayout .wp-block-kadence-column {
    padding: 0 3%;    
}

.x2, .x3, .x4 {
    width: 100%;
}
}

@media only screen and (max-width: 480px) {
.logo {
	width: 140px;
	font-size: 1.1em;
}

.header-flex {
	width: calc(100% - 140px);
}

.wp-block-kadence-rowlayout p {
    font-size: 1em !important;
}

h1 {
	font-size: 2em;
	line-height: 1;
}

.wrapper-01 .wp-block-image {
    max-width: 260px;
    margin: 0 auto;
}
}

@media only screen and (max-width: 360px) {

}
