/*   
Theme Name: Cyclone-NTK.com
*/



/* Post Grid function styling */
		.custom-post-grid{
			padding-top: 1rem;
			padding-bottom: 1rem;
		}
        .custom-post-grid__item {
            position: relative;
            overflow: hidden;
            min-height: 380px;
            color: #fff;
            text-decoration: none !important;
			margin: 0.5rem;
  			border-radius: 1rem;
        }

        .custom-post-grid__bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: transform 0.5s ease;
        }

        .custom-post-grid__item:hover .custom-post-grid__bg {
            transform: scale(1.05);
        }

        .custom-post-grid__content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            min-height: 380px;
        }

        .custom-post-grid__title {
            font-size: 21px;
            line-height: 1;
            margin-bottom: 15px;
            color: #fff;
			text-align: right;
  padding-left: 1rem;
  padding-right: 1rem;
        }

        .custom-post-grid__excerpt {
            font-size: 15px;
            line-height: 1.6;
            color: rgba(255,255,255,0.9);
        }

		.no-padding{
			padding-left: 0;
			padding-right: 0;
		}

        @media (max-width: 767px) {

            .custom-post-grid__item,
            .custom-post-grid__content {
                min-height: 300px;
            }

            .custom-post-grid__title {
                font-size: 22px;
            }
        }

/* =Fonts
-------------------------------------------------------------- */
.text-light{
	color:#fff;
}
ul.list-blue{
	padding-left: 1rem;
	padding-top: 0.5rem;
	list-style: none;
}
ul.list-blue li{
	background-image: url("img/list-blue.svg");
	background-repeat: no-repeat;
	background-position: 0 8px;
	padding-left: 2rem;
}

h1 {
	font-size: 4rem;
	font-weight: bold;
	font-family: "PT Sans", sans-serif;
}

h1.wp-block-heading {
	font-size: 3rem;
	font-weight: bold;
	font-family: "PT Sans", sans-serif;
}

h2 {
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
	font-weight: bold;
	font-family: "PT Sans", sans-serif;
}

h2.wp-block-heading {
	font-size: 3rem;
	font-weight: bold;
	font-family: "PT Sans", sans-serif;
	color: #436120;
}



h3 {
	text-align: center;
	font-size: 1.6rem;
	margin-bottom: 2rem;
	font-family: "PT Sans", sans-serif;
}

span.counter{
	font-size: 3rem;
	font-weight: bold;
}

h1.page-heading {
    font-weight: bold;
    font-size: 2rem;
    width: 100%;
    text-align: center;
    padding-bottom: 2rem;
	font-family: "PT Sans", sans-serif;
	letter-spacing: 5%;
	color: #3a521e;
}

header ul{
	list-style: none;
	padding-left:0;
}

ul.wp-block-list {
	
}


/* Buttons */


/* =WordPress Core
-------------------------------------------------------------- */

html, body {
	position: relative;
	height: 100%;
}

body{
	display: flex;
	flex-direction: column;
}

section.content {
    flex: 1 0 auto;
}


footer  {
  flex: 0 0 auto;
}

.alignnone {
    margin:0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
	margin-right: 4px;
}

a img.alignright {
    float: right;
    margin: 10px;
}

a img.alignnone {
    margin: 10px;
}

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%; /* Image does not overflow the content area */
    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 p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}



/* =Onepage structure
-------------------------------------------------------------- */

.mobile-fallback-img{
	display: none;
}

.mainpage-block{
	padding-top:30px;
	padding-bottom:30px;
	}

section {
	background-position: top center;
}


.carousel-indicators li {
    background-color:#B0B0B0;
}

.carousel-indicators .active {
    background-color:#000;
}



.cell-text{
	font-size: 1rem;
	color: #fff;
}

.cell-text h5{
	font-weight: bold;
	font-size: 1.2rem;
}

/* =Single page structure
-------------------------------------------------------------- */
section.page-content {
	padding-top: 1rem;
	flex: 1 0 auto;
}
.page-container {
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.wp-block-image img{
	border-radius: 10px;
}
article{
	width: 100%;
}

@media (min-width: 1200px) {
  .page-container {
    max-width: 800px;
  }
}
@media (min-width: 992px) {
  .page-container {
    max-width: 800px;
  }
}

/* =Top Menu Nav
-------------------------------------------------------------- */
a.navbar-brand {
	color: #fff;
	transition: 0.3s;
}

a.navbar-brand:hover {
	color: #fff;
	color: #fbb02c;
}

/* Set the border color */
.custom-toggler.navbar-toggler {
	border-color: white;
}
/* Setting the stroke to green using rgb values (0, 128, 0) */
.custom-toggler .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
	border: none;
	border-radius: 0rem;
    border-bottom: 1px solid #ced4da;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


header {
	border-top: 1px solid rgba(0,0,0,0.075);
	border-bottom: 1px solid rgba(0,0,0,0.075);
	background-color: #fff;
}

header .menu {
    padding-top: 15px;
}

header li a {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    color: #476f00;
    transition: 0.3s;
    font-weight: bold;
}

header.dark-header li a {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    color: #000;
}

.link-white{
	color: #fff !important;
}

header li a:hover {
    color: #005580;
}
header li.active a{
	color: #fff;
}
header li.active a:hover {
    color: #005580;
}

header li.active {
	background-color: #eca809;
  border-radius: 8px;
}

header p {
    color: #fff;
    margin-top: 8px !important;
    font-family: 'ClearSansBold';
}

header .navbar-text {
	padding-top: 0;
	padding-bottom: 0;
}

.header-top{
	color:#fff;
	background-color:#000;
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: bold;
	padding-top: 5px;
	padding-bottom: 5px;	
}

.header-top a{
	color: #fff;
	padding-right: 0.25rem;
	padding-left: 0.25rem;
}

.header-tail{
	color:#fff;
	background-color:#D92222;
	text-transform: uppercase;
	font-size: 1.2rem;
	font-weight: bold;
	padding-top: 15px;
	padding-bottom: 15px;
}

/* Side menu mobile only */
/* Стили бокового меню */
    .offcanvas-collapse {
      position: fixed;
      top: 0;
      left: -250px; /* скрыто */
      width: 80%;
      height: 100%;
      background: #f0f0f0;
      padding: 60px 20px 20px;
      transition: left 0.2s ease;
      z-index: 1045;
		overflow-y: scroll;
    }

    .offcanvas-collapse.show {
      left: 0; /* выезжает */
    }

    .offcanvas-collapse a {
		font-weight: bolder;
  color: #616161;
    }

    .offcanvas-collapse a.active {
  		color: #fff;
		  background-color: #eca809;
		border-radius: 8px;
    }
    .offcanvas-collapse a:hover {
      color: #17a2b8;
    }

#sideMenu ul{
	list-style: none;
	padding-left: 0;
}
#sideMenu ul li {
	margin-bottom: 0.5rem;
}

    /* Кнопка "закрыть" */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 2rem;
      color: #325cae;
      background: none;
      border: none;
      outline: none !important;
    }

    /* Оверлей */
    .overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5);
      opacity: 0;
      visibility: hidden;
      transition: 0.2s;
      z-index: 1040;
    }
    .collapse.show ~ .overlay {
      opacity: 1;
      visibility: visible;
    }


.navbar-toggler {
  background-color: #f69b0d
}

span.custom-toggler{
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
	 background-color: #f69b0d;
}
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
    background-image: none;
    background-size: auto;
  background-size: 100% 100%;
}


/* Slider */

.cpt-swiper-slider {
    width: 100%;
	height: 90vh;
    position: relative;
    overflow: hidden;
}

/* Slide */

.cpt-slide {
    position: relative;
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

/* Background image */

.cpt-slide-image {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0.35;
}

/* Dark overlay */

.cpt-slide-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.35);
}

/* Content */

.cpt-slide-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    padding: 40px;
    color: #fff;
}

.cpt-slide-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.cpt-slide-text {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 30px;
}

.cpt-slide-text h2 {
	font-size: 4rem;
	line-height: 1;
	padding-bottom: 2rem;
}

.cpt-slide-button {
    display: inline-block;

    padding: 14px 28px;

    background-color: #ba8b1d;
    color: #fff;

    text-decoration: none;
    font-weight: 400;

    border-radius: 4px;

    transition: 0.3s;
}

.cpt-slide-button:hover {
    opacity: 0.85;
}

a.cpt-slide-button:hover{
	text-decoration: none;
	color: #000;
}

/* Responsive */

@media (max-width: 768px) {
	
	.cpt-slide-text h2 {
	font-size: 2.5rem;
		padding-bottom: 0;
	}

    .cpt-slide {
        min-height: 400px;
    }

    .cpt-slide-title {
        font-size: 28px;
    }

    .cpt-slide-text {
        font-size: 16px;
    }

}

/* Swiper */

    .swiper-container {
        width: 100%;
        height: 100vh;
        margin-left: auto;
        margin-right: auto;
    }
    .swiper-slide {
        background: #fff;
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }
.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
	background:#FFF;
	border-radius: 0;
}
.swiper-pagination-bullet-active{
	opacity: 1;
	background-color:#FFF;
}


.slide-inner-content .btn-primary {
	color:#fff;
	background-color:#ffffff24;
	border-color:#dfe0e1;

}
.slide-inner-content .btn-primary:hover {
	background-color:#62626224;
}
.slide-inner-content .btn-primary:focus {
	box-shadow:none;
}



.swiper-button-n, .swiper-button-p {
    width: 27px;
    height: 44px;
    z-index: 10;
    cursor: pointer;
    background-size: 27px 44px;
    background-position: center;
    background-repeat: no-repeat;
}
/*   1.2 Elements forms   */

input::placeholder {
  opacity: 0.8;
}

   input::-moz-placeholder {
    color: #fff;opacity: 0.8; /* Цвет подсказывающего текста */
   }
   input::-webkit-input-placeholder { color: #fff;opacity: 0.8; }
   input:-ms-input-placeholder { color: #fff;opacity: 0.8; }
   input::-ms-input-placeholder { color: #fff;opacity: 0.8;}
   input::placeholder { color: #fff;opacity: 0.8; } 

   textarea::-moz-placeholder {
    color: #fff;opacity: 0.8; /* Цвет подсказывающего текста */
   }
   textarea::-webkit-input-placeholder { color: #fff;opacity: 0.8; }
   textarea:-ms-input-placeholder { color: #fff;opacity: 0.8; }
   textarea::-ms-input-placeholder { color: #fff;opacity: 0.8; }
   textarea::placeholder { color: #fff;opacity: 0.8; } 

.contact-top {
	padding: 1rem;
}

div.wpcf7 .ajax-loader {
    display: none;
}

.btn-submit {
	width: 100%;
	background-color: #ba8b1d;
	border-color: #fff;
	font-weight: bold;
	padding: 5px;
	font-size: 16px;
	border-radius: 10px;
}

.proposal-field {
    width: 100%;
    background: transparent;
	border: 1px solid #fff;
	border-radius: 10px;
    outline: none;
    font-size: 16px;
    border-bottom: 1px solid #fff;
    padding: 5px;
    color: #fff;
}

.btn-contacts {
	color:#fff;
	background-color:#ffffff24;
	border-color:#dfe0e1;

}
.btn-contacts:hover {
	background-color:#62626224;
}
.btn-contacts:focus {
	box-shadow:none;
}

.contact-bottom form{
	background-color: #fff;
	padding: 10px;
	box-shadow: 4px 4px 2px #779b53;
}

.contact-bottom form .proposal-field {
    width: 100%;
    background: transparent;
    font-size: 1em;
    border: 1px solid #dddddd;
    padding: 9px 40px 8px 40px;
    color: #7d7d7e;
}

.contact-bottom form .btn-primary {
	font-size: 14px;
	font-weight: bolder;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #ecb929;
	padding: 6px 38px 5px;
	transition: 0.4s;
	margin-top: 8px;
	display: inline-block;
	border: none;
	border-bottom-color: currentcolor;
	border-bottom-style: none;
	border-bottom-width: medium;
	border-bottom: 3px solid #a77e08;
}
.contact-bottom form .btn-primary:hover {
	background: #000;
	color: #ffffff;
}
.contact-bottom form .btn-primary:focus {
	box-shadow:none;
}

/*   1.2.1 Elements forms - ContactForm7 Plugin styles*/
.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #f00;
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: absolute;
	top: 20%;
	left: 20%;
	z-index: 100;
	border: 1px solid #ff0000;
	background: #fff;
	padding: .2em .8em;
}

span.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

span.wpcf7-list-item-label::before,
span.wpcf7-list-item-label::after {
	content: " ";
}

div.wpcf7 .ajax-loader {
	visibility: hidden;
	display: inline-block;
	background-image: url('img/ajax-loader.gif');
	width: 16px;
	height: 16px;
	border: none;
	padding: 0;
	margin: 0 0 0 4px;
	vertical-align: middle;
}

div.wpcf7 .ajax-loader.is-active {
	visibility: visible;
}

div.wpcf7 div.ajax-error {
	display: none;
}

div.wpcf7 .placeheld {
	color: #888;
}

div.wpcf7 input[type="file"] {
	cursor: pointer;
}

div.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

div.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}


/*   1.3 Blocks items   */
.cell-head-red{
	background-color: #D92222;
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
	margin-bottom: 1rem;
}

.cell-head-red h3{
	margin-bottom: 0px;
}

/* =Contacts block on main page
-------------------------------------------------------------- */
h2.h2-contacts{
	font-size: 3rem;
	font-weight: bold;
	padding-bottom: 3rem;
}

.wp-block-contact-form-7-contact-form-selector{
	padding: 1rem;
  background-color: #364c25;
  border-radius: 1rem;
}
/* =Footer
-------------------------------------------------------------- */


footer.main-footer, footer.page-footer{
  background-color: #2c2c2c;
  width:100%;
  color:#FFF;
}


span.copyright{
	font-weight:300;
	font-size: 12px;
}

span.copyright a {
	color: #FFF !important;
}

.scrollTop {
  opacity: 0;
  transition: all 0.4s ease-in-out 0s;
  	line-height:50px;
	font-weight:300;
}

.scrollTop a {
  font-size: 14px;
  color: #fff;
}


.blockquote {
    font-size: 1rem;
    margin-bottom: 2rem;
}
/*Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 768px) {
	header{
		padding-top: 0.5rem;
	}
	.swiper-container{
	}
	
	.swiper-slide {
		background-image: none !important;
	}
	.mobile-fallback-img{
		width: 100%;
		height: auto;
		display: block !important;
	}
	.mobile-fallback-img img {
		width: 100%;
		height: auto;
	}
	.proposal-field {
		margin-bottom: 5px;
}
	section.page-content{
		padding-left: 1rem;
		padding-right: 1rem;
	}
}	