/*   
Theme Name: 1404_11
Theme URI: http://nkrf-job.ru
Author: NKRF
*/

body {
	font: 12px/18px 'Roboto' ,Arial, sans-serif;
	width: 100%;
	background:#fff;
	 
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1270px;
  }
}

.wow {visibility: hidden;}
.header_bg {
	background:#ffffff;
	
}
.header_page_bg.header_bg_bt {
  height:auto;
}
.header_bg_bt {
  height:634px;
  width:100%;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center center;
  position:relative;
}
.header_bg_bt:after {
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  content:'';
  display:block;
}
#header_slider {
  position:relative;
  z-index:3;
  padding:130px 60px 130px 0;
  color:#fff;
  height:470px;
}
#header_slider .carousel-control_div {
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  margin:auto;
  height:120px;
  width:47px;
}
#header_slider .carousel-control {
  width:47px;
  height:47px;
  background:url(img/arrow.png);
  opacity:0.6;
  position:absolute;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
#header_slider .carousel-control:hover {
  opacity:1;
}
#header_slider .carousel-control.left {
  bottom:0;
  top:initial;
}
#header_slider .carousel-control.right {
  top:0;
  bottom:initial;
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.header_slider_title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size:42px;
  line-height:40px;
  margin:0 0 16px;
  font-weight:bold;
}
.header_slider_text {
  font-size:19px;
  margin:0 0 40px;
}
.header_slider_more {
  -webkit-border-radius: 8px;
  border-radius: 8px;
  background:#f7f7f7;
  width:260px;
  height:66px;
  font-size:25px;
  color:#a6a6a6;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight:900;
  text-transform:uppercase;
  text-indent:50px;
  line-height:66px;
  display:block;
  position:relative;
}
.header_slider_more:hover {
  text-decoration:none;
}
.header_slider_more span {
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  height:66px;
  width:56px;
  text-align:center;
  font-size:25px;
  color:#21954c;
  line-height:66px;
  text-indent:0;
  background:#2ebe63;
  display:block;
  -webkit-border-radius: 0 8px 8px 0;
  border-radius: 0 8px 8px 0;
}
.header {
  padding-top:10px;
  padding-bottom:10px;
}
.header p {
  margin:0;
}
.header > .row {
  font-size:0;
}
.header > .row > div {
 
    display: inline-block;
   
}
.header_position_1 a:hover {
  text-decoration:none;
} 
#modal .modal-title {
  float:left;
  font-size: 1.4em;
}
#modal .input-group {
  margin:0 auto;
}
#modal .ajax-loader {
  position: absolute;
}
.navbar {
  border:0;
  height:70px;
  border-radius:0;
  z-index: 4;
  margin:0;
  background:rgba(52,93,202,0.9);
}
.navbar-header {
  height:70px;
}
.navbar .header_nav .btn {
  float:right;
  -webkit-border-radius: 0 0 8px 8px;
  border-radius: 0 0 8px 8px;
  height:90px;
  width:244px;
  position:absolute;
  right:-100px;
  top:0;
  font-size:16px;
  padding:0;
  font-weight:bold;
  color:#fff;
  background:#2ebe63;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.navbar .header_nav .btn:hover {
  background:#315cc9;
}
.navbar .header_nav ul.navbar-nav,
.navbar .header_nav {
  padding:0;
  position:relative;
}
.navbar .header_nav ul.navbar-nav > li > a {
  text-transform:uppercase;
  color:#fff;
  font-weight:300;
  font-size:16px;
  padding:25px 20px;
  font-family: 'Roboto Condensed', sans-serif;
  position:relative;
  font-weight:bold;
  border-right:1px solid #1f4cbe;
}
.navbar .header_nav ul.navbar-nav > li:last-child > a {
  border:0;
}
.navbar .header_nav ul.navbar-nav > li > a:hover,
.navbar .header_nav ul.navbar-nav > li.open > a {
  color:#fff;
}
.navbar .nav>li>a:focus,
.navbar .nav>li>a:hover,
.navbar .nav .open>a,
.navbar .nav .open>a:focus,
.navbar .nav .open>a:hover,
body .navbar-default .navbar-nav>.active>a, 
body .navbar-default .navbar-nav>.active>a:focus, 
body .navbar-default .navbar-nav>.active>a:hover {
    background-color: transparent;
    color:initial;
}
.dropdown-menu>li>a {
    padding: 8px 20px;
    color: #aaa;
    font-size: 16px;
}
.dropdown-submenu>.dropdown-menu {
    background: rgba(52,93,202,0.9);
}
.dropdown-submenu>.dropdown-menu a {
  color:#fff;
}
ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;    
}
.navbar .header_nav ul.navbar-nav {
  margin:0;
}
.navbar .navbar-header .navbar-toggle {
  margin-top:18px;
  margin-bottom:18px;
}
/* To Dropdown navbar dropdown on hover */
.dropdown-submenu { position: relative;}.dropdown-submenu>.dropdown-menu { top: 0; left: 100%; margin-top: -6px; margin-left: -1px; -webkit-border-radius: 0 6px 6px 0px; -moz-border-radius: 0 6px 6px 0; border-radius: 0 6px 6px 0px;}.dropdown-submenu:hover>.dropdown-menu { display: block;}.dropdown-submenu>a:after { display: block; content: " "; float: right; width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 5px 0 5px 5px; border-left-color: #ccc; margin-top: 5px; margin-right: -10px;}.dropdown-submenu:hover>a:after { border-left-color: #fff;}.dropdown-submenu.pull-left { float: none;}.dropdown-submenu.pull-left>.dropdown-menu { left: -100%; margin-left: 10px; -webkit-border-radius: 6px 0 6px 6px; -moz-border-radius: 6px 0 6px 6px; border-radius: 6px 0 6px 6px;}

/* ------------------ about ---------------------- */

.f_about {
  position:relative;
  margin-bottom:70px;
}
.f_about .col-md-3 {
  padding-left:0;
}
.about_ico {
  margin:0 0 10px;
  height:70px;
  display:table;
  width:100%;
}
.about_ico_t {
  font-size:19px;
  background:#315ecb;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight:bold;
  text-align:center;
  height:70px;
  -webkit-border-radius: 8px 0 0 8px;
  border-radius: 8px 0 0 8px;
  display:table-cell;
  vertical-align:middle;
  width:200px;
  color:#fff;
  line-height: 25px;
  text-transform:uppercase;
}
.about_ico_i {
  text-align:center;
  -webkit-border-radius: 0 8px 8px 0;
  border-radius: 0 8px 8px 0;
  height:70px;
  background:#2ebe63;
  display:table-cell;
  vertical-align:middle;
  width:76px;
}
.f_about .col-md-9 {
  padding-right:0;
}
.about_title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size:35px;
  margin:0 0 16px;
  font-weight:bold;
  line-height: 32px;
}
.about_content {
  font-weight:300;
  font-size:19px;
  line-height: 24px;
}


/* ------------------ advantages ---------------------- */


.f_advantages {

}
.f_advantages_top_title {
  margin:0 0 70px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size:35px;
  text-align:center;
  font-weight:bold;
  text-transform:uppercase;
}
.f_advantages_item {
  padding:30px;
  border:1px solid #b5b5b5;
  margin:0 0 30px;
  position:relative;
  height:250px;
}
.f_advantages_item:before {
  content:'';
  display:block;
  width:28px;
  height:28px;
  position:absolute;
  background: #fff;
  border:1px solid #b5b5b5;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.f_advantages_1 .f_advantages_item:before  {
  right: -14px;
  top:0;
  bottom:0;
  margin:auto;
  background: #2ebe63;
  border-color:#2ebe63;
}
.f_advantages_2 .f_advantages_item:before  {
  bottom: -14px;
  right:180px;
}
.f_advantages_3 .f_advantages_item:before  {
  bottom: -14px;
  left:130px;
}
.f_advantages_4 .f_advantages_item:before  {
  left: -14px;
  top:0;
  bottom:0;
  margin:auto;
}
.f_advantages_5 .f_advantages_item:before  {
  right: -14px;
  top:0;
  bottom:0;
  margin:auto;
}
.f_advantages_6 .f_advantages_item:before  {
  bottom: -14px;
  right:180px;
}
.f_advantages_item:after {
  content:'';
  display:block;
  width:50px;
  height:50px;
  position:absolute;
  background:#fff;
}
.f_advantages_1 .f_advantages_item:after {
  display:none;
}
.f_advantages_2 .f_advantages_item:after {
  right:170px;
  bottom:0;
}
.f_advantages_3 .f_advantages_item:after {
  left:120px;
  bottom:0;
}
.f_advantages_4 .f_advantages_item:after {
  left:0;
  top:0;
  bottom:0;
  margin:auto;
}
.f_advantages_5 .f_advantages_item:after {
  right:0;
  top:0;
  bottom:0;
  margin:auto;
}
.f_advantages_6 .f_advantages_item:after {
  right:170px;
  bottom:0;
}
.f_advantages_block {
  position:relative;
}
.f_advantages .col-md-5 {
  padding-left:0;
}
.f_advantages .col-md-7 {
  padding-right:0;
}
.f_advantages_1 .f_advantages_item {
  background:#2ebe63;
  border-color:#2ebe63;
  color:#fff;
}
.f_advantages_ico {
  position:relative;
  z-index:2;
  float:left;
  margin:0 20px 0 0;
}
.f_advantages_title {
  font-size:30px;
  font-weight:900;
  line-height:32px;
  text-transform:uppercase;
  margin:0 0 30px;
  font-family: 'Roboto Condensed', sans-serif;
  position:relative;
  z-index:2;
}
.f_advantages_text {
  font-size:16px;
  position:relative;
  z-index:2;
  line-height: 24px;
}
.f_advantages_6 .f_advantages_item { 
  padding:30px 60px;
}
.f_advantages_6 .f_advantages_title {
  color:#315ecb;
  width:420px;
  text-align:center;
  float:right;
  margin-top:30px;
  font-family: 'Roboto', sans-serif;
}
.f_advantages_6 .f_advantages_text {
  font-family: 'Roboto Condensed', sans-serif;
  font-size:25px;
  text-align:center;
  font-weight:bold;
  width:420px;
  text-align:center;
  float:right;
}
.f_advantages_form {
  background:url(img/adv_bg.jpg) no-repeat center center;
  position:relative;
  padding:30px 0;
  margin:0 0 70px;
}
.f_advantages_form:before {
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  width:100%;
  height:100%;
  content:'';
  display:block;
  background:rgba(49,190,99,0.9);
}
.f_advantages_form:after,
.f_advantages_form .wpcf7:after {
  clear:both;
  display:block;
  content:'';
}
.f_advantages_form .input-group {
  float:left;
}
.f_advantages_form input[type="text"] {
  background:#eaeaea;
  border:0;
  width:320px;
  height:70px;
  padding:0 20px;
  margin:0 40px 0 0;
  font-size:16px;
  -webkit-border-radius: 8px !important;
  border-radius: 8px !important;
}
.f_advantages_form input[type="submit"] {
  background:#315ecb;
  color:#fff;
  font-weight:bold;
  font-size:19px;
  width:450px;
  height:70px;
  border:0;
  cursor:pointer;
  -webkit-border-radius: 8px !important;
  border-radius: 8px !important;
}
.f_advantages_form div.wpcf7 .ajax-loader {
  position:absolute;
}
.f_advantages_form .wpcf7-not-valid-tip {
  display:none;
}
.f_advantages_form .wpcf7-not-valid {
  -webkit-box-shadow:inset 0 0 5px 1px #FF0000;
  box-shadow:inset 0 0 5px 1px #FF0000;
}
.f_advantages_form .wpcf7-response-output {
  position: absolute;
  z-index: 3;
  bottom: -30px;
  left: 0;
  right: 0;
  margin: 0;
  padding: 1px;
  text-align: center;
  background: #fff;
}
.f_advantages_form .wpcf7 {
  position:relative;
}

/* ------------------ service ---------------------- */

.f_service.container {
  margin-top:-96px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  overflow:hidden;
  padding:10px 5px;
  background:#f1f1f1;
  margin-bottom:70px;
position:relative;
z-index:2;
}
.f_service_block {
  color:#fff;
  background:#f1f1f1;
  padding:0 5px;
}
.f_service_block_in {
  text-align:center;
  padding:0 0 70px;
  position:relative;
}
.f_service_block:nth-child(1) .f_service_block_in,
.f_service_block:nth-child(5) .f_service_block_in {
  -webkit-border-radius: 8px 0 0 8px;
  border-radius: 8px 0 0 8px;
  overflow:hidden;
}
.f_service_block:nth-child(4) .f_service_block_in,
.f_service_block:nth-child(8) .f_service_block_in {
  -webkit-border-radius: 0 8px 8px 0;
  border-radius: 0 8px 8px 0;
  overflow:hidden;
}
.f_service_block:nth-child(1) .f_service_block_in,
.f_service_block:nth-child(4) .f_service_block_in,
.f_service_block:nth-child(5) .f_service_block_in,
.f_service_block:nth-child(8) .f_service_block_in {
  background:#315ecb;
}
.f_service_block:nth-child(2) .f_service_block_in,
.f_service_block:nth-child(3) .f_service_block_in,
.f_service_block:nth-child(6) .f_service_block_in,
.f_service_block:nth-child(7) .f_service_block_in {
  background:#2ebe63;
}
.f_service_img {
  width:100%;
  height:180px;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center center;
  margin:0 0 12px;
}
.f_service_title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size:21px;
  font-weight:bold;
  line-height:25px;
  padding:0 25px;
  margin: 0 0 8px;
}
.f_service_text {
  font-size:12px;
  font-weight:300;
  padding:0 25px;
}
.f_service_block a {
  position:absolute;
  left:0;
  right:0;
  bottom:20px;
  width:166px;
  margin:auto;
  text-decoration:none;
  height:36px;
  color:#fff;
  font-size:14px;
  line-height:36px;
  font-weight:bold;
  text-transform:uppercase;
  opacity:0.8;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.f_service_block a:hover {
  opacity:1;
  text-decoration:none;
}
.f_service_block:nth-child(1) .f_service_block_in a,
.f_service_block:nth-child(4) .f_service_block_in a,
.f_service_block:nth-child(5) .f_service_block_in a,
.f_service_block:nth-child(8) .f_service_block_in a {
  background:#234db4;
}
.f_service_block:nth-child(2) .f_service_block_in a,
.f_service_block:nth-child(3) .f_service_block_in a,
.f_service_block:nth-child(6) .f_service_block_in a,
.f_service_block:nth-child(7) .f_service_block_in a {
  background:#21954c;
}

/* ------------------ reviews ---------------------- */


.f_reviews,
.f_news  {
  padding:16px 60px;
  text-align:center;
  color:#fff;
}
.f_reviews {
  background:#2ebe63;
}
#f_reviews_slider .item,
#f_news_slider .item {
  padding: 0 0 30px;
}
.f_reviews_block_title,
.f_news_top_title {
  font-size:30px;
  line-height:36px;
  padding:0 0 12px;
  margin:0 0 12px;
  text-transform:uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  position:relative;
  font-weight:bold;
}
.f_reviews_block_title:after,
.f_news_top_title:after {
  content:'';
  display:block;
  height:1px;
  background:#fff;
  width:60px;
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  margin:auto;
}
#f_reviews_slider .carousel-control,
#f_news_slider .carousel-control {
  background:none !important;
  width: 50px;
}
#f_reviews_slider .glyphicon,
#f_news_slider .glyphicon {
  font-size: 40px;
  line-height: 50px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  height: 50px;
  left: 0px;
}
.f_reviews_title,
.f_news_title {
  font-size:19px;
  font-weight:bold;
  margin:0 0 14px;
}
.f_reviews_text,
.f_news_text {
  font-size:16px;
  color:#fff;
  line-height:22px;
  padding:0 60px;
}

#f_reviews_slider .item a {
  font-size:16px;
  font-weight:500;
  color:#fff;
}

/* ------------------ news ---------------------- */

.f_news {
  background:#315ecb;
  margin-bottom:70px;
}
.f_news .item {

}


/* ------------------ entry ---------------------- */

.f_map {
  clear: both; 
}
.f_map > .col-md-5,
.f_map > .col-md-7,
.f_map #YMapsID {
  height:400px;
  padding:0;
}
.f_map .col-md-5 {
  background:#454545;
  color:#fff;
}
.f_map .container {

}
.f_map .container .cont_in {
  position:absolute;
  height:400px;
  padding: 0 60px 0 0;
  color:#fff;
  font-size:22px;
  line-height:26px;
  display:table;
}
.f_map .container .cont_in > div {
  display:table-cell;
  vertical-align:middle;
}
.f_map .container .cont_in a {
  color:#fff;
}

/* ------------------ entry ---------------------- */

.entry {
  font-size: 16px;
  line-height: 22px;
}
.entry .aligncenter,
.entry div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}
.entry .alignleft {
   float: left;
   margin:0 10px 0 0;
}
.entry .alignright {
   float: right;
   margin:0 0 0 10px;
}
.entry .wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}
.entry .wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}
.entry .wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}


/* ------------------ footer ---------------------- */

footer {
  line-height:22px;
}
footer p {
  color:#fff;
}
footer .menu.nav.navbar-nav {
  
}
footer .menu.nav.navbar-nav a {
  font-size:16px !important;
  color:#fff !important;
}
footer .menu.nav.navbar-nav ul,
footer .dropdown-toggle {
  display:none !important;
}
footer .nav>li>a:focus, footer .nav>li>a:hover {
    text-decoration: underline;
    background-color: transparent;
}

/* ------------------ other ---------------------- */

textarea:hover, 
input:hover, 
textarea:active, 
input:active, 
textarea:focus, 
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active
{
    outline:0px !important;
    -webkit-appearance:none;
}
.pagination .page-numbers.current{
  background: rgba(93, 93, 93, 0.12);
}
.container > li {
  list-style:none;
}
.clear {
  clear:both;
  display:block;
   position: fixed;
  
}
.container-page {
  min-height:150px;
  margin-bottom:30px;
}
#top-link-block.affix-top {
    position: absolute; /* allows it to "slide" up into view */
    bottom: 30px;
    left: 30px;
    opacity:0;
}
#top-link-block.affix {
    position: fixed; /* keeps it on the bottom once in view */
    bottom: 30px;
    left: 30px;
    opacity:1;
}
#f_about_slider,
#f_about_slider .bx-wrapper,
#f_about_slider .bx-viewport,
#f_about_slider .carousel-inner {
  height:100% !important;
}
@media screen and (max-width: 1024px) {
  .f_advantages_form input[type="text"] {width: 250px;}
  .f_advantages_form input[type="submit"] {width:390px;}
  .f_advantages_6 .f_advantages_text {width:298px;}
}
@media screen and (max-width: 782px) {
.header_position_4 p {text-align:center !important;}
.f_advantages_item:before {display:none;}
.f_advantages .col-md-7,
.f_advantages .col-md-5 {padding:initial;}
.f_advantages_6 .f_advantages_text {width: 420px;}
.f_advantages_form .input-group {width:100%;margin:0 auto 10px;}
.f_advantages_form input[type="text"] {width:100%;}
.f_advantages_form input[type="submit"] {width:100%;}
.about_title {margin-top:30px;}
.f_map .col-md-5 {display:none;}
.f_map .container  {    background: #454545;}
.f_map .container .cont_in {position: relative;height: auto;width:100%;text-align:center;padding:20px 0;}
  .menu-header .navbar-nav.menu,
  .menu-header ul.nav li.dropdown > ul.dropdown-menu {
  background:rgba(52,93,202,0.9);
  }
  .navbar-default .navbar-nav .open .dropdown-menu>li>a {
    color:#fff !important;
  }
  .navbar-default .navbar-nav .open .dropdown-menu>li>a {
  
  }
  .header > .row > div {
    margin: 10px 0;
    display: block;
    vertical-align: middle;
    width: 100%;
    text-align: center;
  }
  .header > .row > div table {
    margin:auto;
    float: none;
  }
  .f_service_block {
    display:block;
  }
  .f_reviews_block {
    display:block;
  }
.container-page {
  min-height:50px;
}
  footer,footer p {text-align:center !important;}
}
@media screen and (max-width: 480px) {
  .navbar .header_nav .btn {display:none;}
  .header_slider_more {width: 217px;text-indent: 15px;}
  .header_slider_title {font-size:31px;}
  .f_advantages_top_title {line-height:36px;}
  .header_slider_text {line-height: 24px;}
  .f_advantages_item {padding:30px 10px;height:auto;}
  .f_advantages_text {font-size: 14px;line-height: 19px;}
  .f_advantages_6 .f_advantages_title {float:none;text-align:center;width:auto;}
  .f_advantages_6 .f_advantages_ico {float:none;margin:0 auto 20px;display:block;}
  .f_advantages_6 .f_advantages_text {width:auto;float:none;text-align:center;}
  .f_advantages_6 .f_advantages_item {padding:30px 10px;}
  .f_advantages_form div.wpcf7 .ajax-loader {position:relative;}
  .f_reviews_text, .f_news_text {padding:0 10px;}
  #f_news_slider .carousel-control .glyphicon-chevron-right,
  #f_reviews_slider .carousel-control .glyphicon-chevron-right {left:40px !important;}
  #f_news_slider .carousel-control .glyphicon-chevron-left,
  #f_reviews_slider .carousel-control .glyphicon-chevron-left {left: -30px !important;}
 
  #headerMain {
  width:920px;
  height: 195px;
  margin:0px auto;
  z-index:0;
}

#header {
  width:920px;
  height: 195px;
  background: url(../img/bg-header.jpg) no-repeat;
  position: fixed;
  z-index: 9999;
}
.test {
 position: fixed;
}
}
* {box-sizing: border-box;}
.decor {
  position: relative;
  max-width: 400px;
  margin: 50px auto 0;
  background: white;
  border-radius: 30px;
}
.form-left-decoration,
.form-right-decoration {
  content: "";
  position: absolute;
  width: 50px;
  height: 20px;
  background: #5dce29;
  border-radius: 20px;
}
.form-left-decoration {
  bottom: 60px;
  left: -30px;
}
.form-right-decoration {
  top: 60px;
  right: -30px;
}
.form-left-decoration:before,
.form-left-decoration:after,
.form-right-decoration:before,
.form-right-decoration:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 20px;
  border-radius: 30px;
  background: white;
}
.form-left-decoration:before {top: -20px;}
.form-left-decoration:after {
  top: 20px;
  left: 10px;
}
.form-right-decoration:before {
  top: -20px;
  right: 0;
}
.form-right-decoration:after {
  top: 20px;
  right: 10px;
}
.circle {
  position: absolute;
  bottom: 80px;
  left: -55px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
}
.form-inner {padding: 50px;}
.form-inner input,
.form-inner textarea {
  display: block;
  width: 100%;
  padding: 0 20px;
  margin-bottom: 10px;
  background: #E9EFF6;
  line-height: 40px;
  border-width: 0;
  border-radius: 20px;
  font-family: 'Roboto', sans-serif;
}
.form-inner input[type="submit"] {
  margin-top: 30px;
  background: #5dce29;
  border-bottom: 4px solid #5dce29;
  color: white;
  font-size: 14px;
}
.form-inner textarea {resize: none;}
.form-inner h3 {
  margin-top: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #707981;
}

.content{
width:1000px;
margin: 0 auto;
}
.left{
width:400px;
}
.center{
width:500px;
}
.right{
width:100px;
}
.left, .center, .right{
     float: left;
}

/* ==========================================
   CF7 Acceptance
   ========================================== */

.checkbox {
    margin: 20px 0;
}

.checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    margin: 0;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.55;
    color: #555;
    font-weight: 400;
}

.checkbox br {
    display: none;
}

/* скрываем стандартный чекбокс */
.checkbox .wpcf7-form-control-wrap {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    inset: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/* рисуем квадратик */
.checkbox .wpcf7-form-control-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #c8c8c8;
    border-radius: 4px;
    background: #fff;
    transition: .2s;
    box-sizing: border-box;
}

/* галочка */
.checkbox .wpcf7-form-control-wrap::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: .2s;
}

/* выбран */
.checkbox input[type="checkbox"]:checked + *,
.checkbox input[type="checkbox"]:checked {
}

.checkbox input[type="checkbox"]:checked ~ * {
}

.checkbox input[type="checkbox"]:checked + span {
}

.checkbox input[type="checkbox"]:checked {
}

.checkbox input[type="checkbox"]:checked + * {
}

/* меняем псевдоэлементы */
.checkbox input[type="checkbox"]:checked {
}

.checkbox .wpcf7-form-control-wrap:has(input:checked)::before {
    background: #2d7ef7;
    border-color: #2d7ef7;
}

.checkbox .wpcf7-form-control-wrap:has(input:checked)::after {
    transform: rotate(45deg) scale(1);
}

/* hover */
.checkbox label:hover .wpcf7-form-control-wrap::before {
    border-color: #2d7ef7;
}

/* focus */
.checkbox input[type="checkbox"]:focus + * {
}

.checkbox .wpcf7-form-control-wrap:has(input:focus-visible)::before {
    box-shadow: 0 0 0 3px rgba(45,126,247,.18);
}

/* текст */
.checkbox span:last-child {
    flex: 1;
}

/* ссылки */
.checkbox a {
    color: #2d7ef7;
    text-decoration: none;
    transition: .2s;
}

.checkbox a:hover {
    color: #1559c6;
    text-decoration: underline;
}

/* ==========================================
   Cookie notice
   ========================================== */

.cookie-notice {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 99999;

    width: calc(100% - 50px);
    max-width: 560px;

    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

.cookie-notice.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.cookie-notice.is-closing {
    visibility: visible;
    opacity: 0;
    transform: translateY(20px);
}

.cookie-notice__inner {
    display: flex;
    align-items: center;
    position: relative;

    padding: 20px 58px 20px 20px;

    background: #ffffff;
    border: 1px solid rgba(53, 99, 204, 0.18);
    border-radius: 10px;

    box-shadow:
        0 12px 35px rgba(25, 39, 72, 0.18),
        0 3px 10px rgba(25, 39, 72, 0.08);

    box-sizing: border-box;
}

.cookie-notice__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;

    width: 48px;
    height: 48px;
    margin-right: 16px;

    color: #ffffff;
    background: #2fc16d;
    border-radius: 8px;
}

.cookie-notice__icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

.cookie-notice__content {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 20px;
}

.cookie-notice__title {
    margin: 0 0 5px;

    color: #252525;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.cookie-notice__text {
    margin: 0;

    color: #555555;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
}

.cookie-notice__text a {
    color: #3563cc;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;

    transition: color 0.2s ease;
}

.cookie-notice__text a:hover,
.cookie-notice__text a:focus {
    color: #2fc16d;
    text-decoration: underline;
}

.cookie-notice__button {
    flex: 0 0 auto;

    min-width: 105px;
    min-height: 42px;
    padding: 10px 18px;

    color: #ffffff;
    background: #3563cc;
    border: 0;
    border-radius: 5px;

    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow: none;
    outline: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cookie-notice__button:hover,
.cookie-notice__button:focus {
    color: #ffffff;
    background: #2fc16d;

    box-shadow: 0 5px 14px rgba(47, 193, 109, 0.25);
    transform: translateY(-1px);
}

.cookie-notice__button:active {
    transform: translateY(0);
    box-shadow: none;
}

.cookie-notice__close {
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 10px;
    right: 10px;

    width: 32px;
    height: 32px;
    padding: 0;

    color: #8c8c8c;
    background: transparent;
    border: 0;
    border-radius: 50%;

    font-family: Arial, sans-serif;
    font-size: 25px;
    line-height: 1;

    cursor: pointer;
    outline: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.cookie-notice__close span {
    display: block;
    position: relative;
    top: -1px;
}

.cookie-notice__close:hover,
.cookie-notice__close:focus {
    color: #3563cc;
    background: rgba(53, 99, 204, 0.08);
}

/* На случай агрессивных старых стилей Bootstrap */
.cookie-notice button,
.cookie-notice button:hover,
.cookie-notice button:focus,
.cookie-notice button:active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   Mobile
   ========================================== */

@media (max-width: 767px) {
    .cookie-notice {
        right: 12px;
        bottom: 12px;

        width: calc(100% - 24px);
        max-width: none;
    }

    .cookie-notice__inner {
        display: block;
        padding: 18px;
        padding-top: 20px;
    }

    .cookie-notice__icon {
        width: 42px;
        height: 42px;
        margin: 0 0 12px;
    }

    .cookie-notice__icon svg {
        width: 25px;
        height: 25px;
    }

    .cookie-notice__content {
        padding-right: 0;
    }

    .cookie-notice__title {
        padding-right: 28px;
        font-size: 16px;
    }

    .cookie-notice__text {
        font-size: 14px;
        line-height: 1.5;
    }

    .cookie-notice__button {
        width: 100%;
        min-height: 44px;
        margin-top: 15px;
    }

    .cookie-notice__close {
        top: 9px;
        right: 9px;
    }
}
