/*@import url('reset.css');*/
@import url('init.css');

.gx-btn,
.gx-btn[type=submit],
.gx-btn:hover,
.gx-btn:focus {
  display: block;
  position: relative;
  width: 100%;
  z-index: 1;
  cursor: pointer;
  margin: 0;
  padding: 10px 10px;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background: #ffc405;
  border: 1px solid #ffc405;
  border-radius: 4px;
  outline: 0;
  transition: all .2s ease;
}



.gx-form-control,
.gx-form-control:hover,
.gx-form-control:focus {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 42px;
  margin: 0;
	padding: 0 15px;
  font-family: inherit;
  font-size: 18px;
  line-height: 20px;
  color: #111;
  background: #fff;
  border: 1px solid #000;
	transition: all .2s ease;
  box-shadow: none;
  outline: 0;
	resize: none;
	box-sizing: border-box;
}
.gx-form-control:focus {
	border-color: #999;
}
.gx-form-control::placeholder {
	color: #ccc;
}
.gx-form-control:disabled {
  opacity: .5;
  background: #eee;
}
.gx-form-control.small,
.gx-form-control.small:hover,
.gx-form-control.small:focus {
  height: 32px;
  padding: 5px 10px;
  font-size: 14px;
  line-height: 20px;
}

.gx-check {
  position: relative;
  margin: 0;
  padding: 0;
}
.gx-check label {
  cursor: pointer;
  position: relative;
  z-index: 1;
  text-align: left;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
  letter-spacing: 0;
}
.gx-check input,
.gx-check input[type=radio],
.gx-check input[type=checkbox] {
  display: none;
}
.gx-check input[type=radio] + label,
.gx-check input[type=checkbox] + label {
  padding-left: 20px;
}
.gx-check input[type=radio] + label span,
.gx-check input[type=checkbox] + label span {
  display: block;
  position: absolute;

  left: 0;
  width: 14px;
  height: 14px;
  margin: 0;
  background: #fff;
	box-shadow: inset 0 0 0 1px #ccc;
  border-radius: 50%;
  transition: all .2s ease;
}
.gx-check input[type=checkbox] + label span {
  border-radius: 0;
}
.gx-check input[type=radio] + label span::before,
.gx-check input[type=checkbox] + label span::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -4px;
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 50%;
  transition: all .2s ease;
}
.gx-check input[type=radio]:checked + label span,
.gx-check input[type=checkbox]:checked + label span {
  box-shadow: inset 0 0 0 1px #333;
}
.gx-check input[type=checkbox] + label span::before {
  border-radius: 0;
}
.gx-check input[type=radio]:checked + label span::before,
.gx-check input[type=checkbox]:checked + label span::before {
  background: #ffc405;
}
.gx-check input:disabled + label {
  opacity: .5;
}

.gx-form-group {
  margin: 0 0 15px 0;
  padding: 0;
}
.gx-form-group label {
  display: block;
  margin: 0 0 5px 0;
  padding: 0;
  font-size: 11px;
  line-height: 15px;
  font-weight: bold;
  color: #3b3b3b;
	text-transform: uppercase;
  letter-spacing: 1px;
}
.gx-form-group .gx-form-control {
  min-height: 42px;
  padding: 5px 10px;
  font-size: 14px;
  line-height: 20px;
}
.gx-form-group .gx-form-time {
  display: flex;
  flex-flow: row nowrap;
	align-items: center;
}
.gx-form-group .gx-form-time .hour-select {
  order: 1;
  flex: 1 1 auto;
}
.gx-form-group .gx-form-time .min-select {
  order: 3;
  flex: 1 1 auto;
}
.gx-form-group .gx-form-time::before {
  content: ':';
  order: 2;
  flex: 0 0 auto;
  display: block;
  margin: 0 5px;
  padding: 0;
}

.gx-form-row {
  position: relative;
  margin: 0;
  padding: 0;
}
.gx-form-row.icon::before {
  content: '';
  display: block;
  position: absolute;
  top: 20px;
  left: 0;
  width: 40px;
  height: 40px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.gx-form-row.icon.air::before {
  background-image: url('../img/icon_air.png');
}
.gx-form-row.icon.train::before {
  background-image: url('../img/icon_train.png');
}

.gx-form-row.final {
  margin: 20px -20px 0 0;
  padding: 30px 20px 10px 55px;
  background: #eee;
}

.gxrt-section {
  display: flex;
  flex-flow: row nowrap;
  position: relative;
  z-index: 3;
  margin: 0px 0 40px 0;
  padding: 80px 0px 20px 0;
  font-size: 14px;
  line-height: 20px;
  flex-wrap: wrap;
}
.gxrt-section::before,
.gxrt-section::after {
  content: '';
  display: block;
  position: absolute;
}

.gxrt-result {
  flex: 0 0 auto;
  display: block;
  margin: 20px 0 0 0;
  padding: 15px 0px;
  border-radius: 10px;
}

.gx-result-item {
	display: flex;
	flex-flow: row nowrap;
	margin: 0;
	padding: 2px 0;
	font-size: 15px;
	line-height: 20px;
}
.gx-result-item .title {
	flex: 1 1 auto;
}
.gx-result-item .result {
  flex: 0 0 auto;
  font-weight: 700;
  line-height: 22px;
  color: #000000;
}

.gx-route-form {
  position: relative;
  z-index: 2;
  flex: 0 0 40%;
  margin: 0 60px 0 0;
  flex-basis: 30%;
}
.gx-route-form .gxrt-result {
  margin: 0 0 10px 0;
}


.gxr.gx-route-block {
  position: relative;
  z-index: 9999;
  flex: 0 0 40%;
  margin: 0 0 0 0;
  flex-basis: 100%;
}

.gxrt-map-box {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
}

.gxrt-map {
	flex: 1 1 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin: 0 0 30px;
	padding: 0;
  height: 400px;
  border-radius: 20px;
}
.gxrt-map .gx-loading {
	display: flex;
	visibility: hidden;
	position: absolute;
	align-items: center;
	justify-content: center;
	z-index: 10;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,.3);
	border: 1px solid #eee;
	border-radius: 5px;
	opacity: 0;
	transition: all .5s ease;
}
.gxrt-map.load .gx-loading {
	visibility: visible;
	opacity: 1;
	backdrop-filter: blur(5px) grayscale(100%);
}

.gxrt-nav {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0px;
  right: 10px;
  margin: 0;
  padding: 0;
}
.gxrt-nav-link {
  cursor: pointer;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  text-align: center;
  color: #000000;
  padding: 9px 15px;
  border: 1px solid #000;
}
.gxrt-nav-link.active, .gxrt-nav-link:hover {
  background: #FFC405;
  border: 1px solid #FFC405;
}


.gxrt-nav-forward {
  display: flex;
  flex-flow: row;
  justify-content: center;
  margin: 0 0 20px 0;
  padding: 10px 0 10px 0;
}

.gx-route {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
}
.gx-route-item {
  display: block;
  position: relative;
  margin: 0;
  padding: 0 0 20px 0;
}
.gx-route-item:first-child {
  padding-bottom: 10px;
}

.gx-route-item:first-child::before {
  content: 'Откуда';
  margin: 0 0 10px;
}
.gx-route-item:last-child::before {
  content: 'Куда';
  margin: 0 0 10px;
}
.gx-route-item:first-child::after {
  z-index: 1;
  top: 20px;
  bottom: 15px;
  left: 20px;
  width: 2px;
  margin: 0 -1px;
  background: #ffc405;
}


.gx-route-item .route_top {
  display: block;
  position: absolute;
  z-index: 10;
  top: -30px;
  right: 0;
  width: 20px;
  height: 20px;
  background: url('../img/icon_route-arrows.png') no-repeat center;
  background-size: contain;
  opacity: .7;
  transition: all .2s ease;
}
.gx-route-item .route_top:hover,
.gx-route-item .route_top:focus {
  opacity: 1;
}
.gx-route-item:first-child .route_top {
  display: none;
}

.gx-route-item .gx-check-row {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  margin: 0;
  padding: 5px 0;
}
.gx-route-item .gx-check-row .gx-check {
  margin-right: 20px;
}
.gx-route-item .gx-route-item-sub {
  margin: 0;
  padding: 0;
}

.gxtf-section-header {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  flex: 1 1 100%;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
}
.gxtf-section-header h2{
  margin: 0;
}
.gxtf-section-header h1 {
	display: block;
	position: relative;
	margin: 0 0 20px 0;
	padding: 0;
	font-size: 30px;
	line-height: 40px;
	font-weight: bold;
	text-transform: uppercase;
}
.gxtf-section-header h1::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 100px;
	height: 4px;
	margin: 0 -50px;
	padding: 0;
	background: #ffc405;
}

.gxtf-section {
  margin: 0;
  padding: 0;
  flex-basis: calc( 70% - 60px );
  /* flex-basis: calc( 63% - 30px ); */
}
.gxtf-section-block {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.gxtf-item:not(tr) {
  display: flex;
  flex: 0 1 calc( 50% - 30px );
  /* flex-flow: column; */
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0 3px 15px 3px;
  padding: 15px 10px;
  text-align: center;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  flex-wrap: wrap;
  border: 1px solid #000;
}
.gxtf-item:nth-child(2n){
  margin: 0 3px 15px 3px;
}
.gxtf-item:not(tr)::before {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px;
  padding: -5px;
  background: #ffc405;
  opacity: 0;
  transition: all 1s ease;
  box-shadow: 0 0 0 0 #ffc405;
  border-radius: 5px;
}
.gxtf-item.active:not(tr)::before {
  box-shadow: 0 0 0 300px #ffc405;
  transition: opacity .2s ease, box-shadow .5s ease;
  opacity: 1;
}
.gxtf-item:not(tr) .gxtf-item-block {
  flex-basis: 66%;
  text-align: initial;
  padding: 0 0 0 11px;
}
.gxtf-item:not(tr) .cover {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  flex-basis: 40%;
}
.gxtf-item:not(tr) .cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: 100px;
}
.gxtf-item:not(tr) .title {
  display: block;
  flex: 0 0 auto;
  margin: 5px 0;
  padding: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.gxtf-item:not(tr) .text {
  display: block;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 14px;
  font-weight: normal;
}



.gx-form-row input.wpcf7-form-control.has-spinner.wpcf7-submit.btn.btn_lg {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: #000000;
  background: #FFC405;
  width: 100%;
  padding: 10px;
  border: none;
  cursor: pointer;
  margin: 0;
}
.gx-form-row input.wpcf7-form-control.has-spinner.wpcf7-submit.btn.btn_lg:hover{
  background: #e9b302;
}


@media(max-width: 768px) {
  .gxtf-item:not(tr) {
    flex: 0 1 33.33333%;
    min-height: 140px;
  }
  .gxtf-section-block {
    overflow: scroll;
  }
  .gxtf-item-group-el{
    width: 1500px;
    display: flex;
    justify-content: left;
  }
  .gxtf-item-group {
    width: 100%;
    min-width: 250px;
  }
  .gxtf-item:nth-child(2n) {
    margin: 0 7px 15px 0;
  }
}
@media(max-width: 550px) {
  .gxtf-item:not(tr) {
    flex: 0 1 50%;
  }
}
@media(max-width: 350px) {
  .gxtf-item:not(tr) {
    flex: 1 1 100%;
  }
}

@media(max-width: 992px) {
  .gxrt-section,
  .gx-route-section,
  .gx-form-section {
    flex-flow: column;
  }
  .gxrt-map-box {
    order: 1;
    height: 300px;
    margin: -20px 0 40px 0;
  }
  .gxrt-map-box .gxrt-result {
    display: none;
  }
  .gx-route-map {
    flex: 1 1 350px;
    margin: 0 -20px 20px -20px;
  }
  .gxr.gxrt-map{
    flex: 1 1 auto;
    order: 2;
  }
  .gx-route-form {
    flex: 1 1 auto;
    order: 1;
    margin: 0;
    padding: 0;
  }
  .gx-route-form .gxrt-result {
    display: block;
  }
  .gx-form {
    flex: 1 1 auto;
    order: 2;
  }
  .gx-result {
    flex: 1 1 auto;
    order: 1;
    margin: 0 0 40px 0;
  }

}
@media(max-width:500px){

}

.gxrt-form {
  margin: 0 0 50px 0;
  padding: 20px;
  background: #eee;
  border-radius: 10px;
}
.gxrt-form textarea {
  display: none;
  visibility: hidden;
}
.gxrt-form .gxcol {
  margin-bottom: 10px;
}
.gxrt-form .gx-check label {
  color: #777;
}


.gx-form-control-comment {
  height: 75px;
}
.textarea-341 {
  display: none;
}
.tarif_item-price {
  margin: 5px 0 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 27px;
  color: #000000;
}
.pos-r {
  position: relative;
}
.w-full {
  width: 100%;
}
.gx-route-item > div > ymaps {
  max-width: 100%;
}
.main-title,
.roadmap-section {
  width: 100%;
  overflow: hidden;
}







textarea#calculator-text{
  display: none;
}

.gxtf-section-header h2 {
    margin: 0 0 10px !important;
}

#tooltiptext {
    color: red;
}