/*
Theme Name: astra-child
Template: astra
*/
@import url("../astra/style.css");

@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0;
    }
}
header.entry-header .entry-title {
	display: none;
}

.gform-theme--foundation .gform_page_footer {
	margin-bottom: 40px;
}
/* лайкерт  */
tr:has(input:checked) input{
    border-color: rgb(104, 110, 119) !important;
}

.gform-theme--framework table.gsurvey-likert td:first-child {
	width: 30%;  
	padding: 7px!important;
	line-height: 1.4!important;
}
table.gsurvey-likert  th.gsurvey-likert-choice-label {
	font-size: 16px !important;
}

table.gsurvey-likert td.gsurvey-likert-row-label {
	font-size: 16px !important;
	font-weight: normal !important;
}
@media (max-width: 1024px) {
	/* Сделать таблицу блочной */
	.special-likert table.gsurvey-likert {
		display: block !important;
	}

	/* Скрыть заголовки */
	.special-likert table.gsurvey-likert thead {
		display: none !important;
	}

	/* Сделать tbody блочным */
	.special-likert  table.gsurvey-likert tbody {
		display: block !important;
	}

	/* Каждая строка - отдельный блок */
	table.gsurvey-likert tbody tr {
		display: block !important;
		margin-bottom: 20px;
		padding: 15px;
		border: 1px solid #ddd;
		border-radius: 5px;
		background: #f9f9f9;
		text-align: left !important;
	}

	/* Название критерия - полная ширина сверху */
	.special-likert  table.gsurvey-likert
	.special-likert td.gsurvey-likert-row-label {
		display: block !important;
		width: 100% !important;
		margin-bottom: 15px;
		padding: 0 !important;
		background: none !important;
		border: none !important;
		font-weight: bold;
		text-align: left !important;
	}

	/* Цифры - горизонтально под названием */
	table.gsurvey-likert td.gsurvey-likert-choice {
		display: inline-block !important;
		margin: 5px 8px 5px 0;
		padding: 8px 12px;
		border: 1px solid #ccc;
		border-radius: 3px !important;
		background: white;
		text-align: center;
		cursor: pointer;
		transition: all 0.2s ease;
	}

	/* Стили для наведения и выбора */
	table.gsurvey-likert td.gsurvey-likert-choice:hover {
		background-color: #e3f2fd;
		border-color: #2196f3;
	}

	table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-selected {
		background-color: #2196f3;
		color: white;
		border-color: #1976d2;
	}

	/* Скрыть оригинальные радио кнопки */
	table.gsurvey-likert td input {
		position: absolute !important;
		left: -9999px !important;
	}
}

@media (max-width: 1024px) {
	.gform-theme--foundation .gform_fields table.gsurvey-likert td::after {
		content: attr(data-label);
		display: inline-block;
		padding: 0;
		font-size: 16px;
	}
}
@media (max-width: 1024px) {
	.gform-theme--framework table.gsurvey-likert td.gsurvey-likert-choice:first-child {
		width: 46px;
	}
	.gform-theme--framework table.gsurvey-likert td.gsurvey-likert-row-label:first-child {
		width: 100%;
	}
}

@media (max-width: 1024px) {
	.gform-theme--foundation table.gsurvey-likert td.gsurvey-likert-choice {
	text-align: center!important;
 }
}

.gform-theme--foundation .gform_fields{
	row-gap: 0 !important;
}

table.gsurvey-likert td.gsurvey-likert-choice{
	padding: 8px;
	min-width: 36px;
	padding-top: 5px!important;
}

.gform-theme--framework .gfield--type-choice .gchoice {
	align-items: center;
}
.no-likert-head thead {

	display: none!important;
}

.special-likert .no-likert-head {

	margin-top: -21px;
}


/*logo-footer, logo-header*/
.ast-container {
	height: 100vh;
}

#primary {
	display: flex;
	height: 100%;
}

.site-main {
	display: flex;
	width: 100%;
}

.ast-article-single {
	display: flex;
	width: 100%;
}

.entry-content {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.entry-content[data-ast-blocks-layout] > *{
	margin: 0;
}

.logo-footer{
	padding-top: 20px;
	margin-top: auto!important;
}

.editor-styles-wrapper, .entry-content {
	margin: 50px 0;
}

.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
	padding-bottom: 50px!important;
}

/*validation, required */

.validation_message {

	display: none!important;
}

.gform_wrapper.gravity-theme .gfield_required {
	
	display: none!important;
}

.gfield_required .gfield_required_text {
	display:none;

}

/*english form */
#gform_wrapper_16 .gf_progressbar_title,
#gform_wrapper_15 .gf_progressbar_title {
        position: relative!important;
}

#gform_wrapper_16 .gf_progressbar_title:before,
#gform_wrapper_15 .gf_progressbar_title:before {
        content: "Progress";
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        color: #585e6a;
        background-color: #fafafa;
        width: 56px;
        height: calc(100% + 4px);
}

@media screen and (max-width: 921px) {
#gform_wrapper_16 .gf_progressbar_title:before,
#gform_wrapper_15 .gf_progressbar_title:before {
         width: 62px!important;
         background-color: #fff;
}
}

#gform_wrapper_16 .gf_progressbar_title .gf_step_current_page,
#gform_wrapper_15 .gf_progressbar_title .gf_step_current_page {
      position: relative;
      margin-right: 6px;
}

#gform_wrapper_16 .gf_progressbar_title .gf_step_current_page:after,
#gform_wrapper_15 .gf_progressbar_title .gf_step_current_page:after {
      content: "of";
      position: absolute;
      left: calc(100% + 3px);
      height: 100%;
      background-color: #fafafa;
}

@media screen and (max-width: 921px) {
#gform_wrapper_16 .gf_progressbar_title .gf_step_current_page:after,
#gform_wrapper_15 .gf_progressbar_title .gf_step_current_page:after {
       background-color: #fff;
}
}