:root {
	--gin-link-decoration-style: underline;
	--gin-color-primary-rgb: #01579e;
}

.details-wrapper > .clearfix::after {
  display: inline;
}

#field-examination-pass-values td {
	max-width: 100px;
}

.block-language {
	width: 100%;
}


main {
	display: block;
	flex: 75%;
}

.layout-container {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 40px;
}

 .layout-container .region-pre-content {
    max-width: 350px;
    flex: 22%;
}

@media(max-width:1800px) {
	.layout-container {
	  display: block;
	}

 .layout-container .region-pre-content {
 	  max-width: 100%;
	  display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 40px;
	}
}

.gin--edit-form .page-wrapper__node-edit-form .block-local-tasks-block,
.gin--edit-form .page-wrapper__node-edit-form .block-system-main-block,
.gin--edit-form .page-wrapper__node-edit-form .messages-list,
.gin--edit-form .page-wrapper__node-edit-form .node-form,
.gin--edit-form .page-wrapper__node-edit-form .node-confirm-form,
.gin--edit-form .page-wrapper__node-edit-form .admin-list,
.gin--edit-form .page-wrapper__node-edit-form .help {
    max-width: 100%;
}
.block-local-tasks-block {
	padding-bottom: 20px
}

#block-gin-secondary-local-tasks {
	margin-bottom:15px
}
#block-gin-primary-local-tasks {
		margin-bottom:15px
}

.form-type--name .name-widget-wrapper {
	  display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

#block-gin-local-actions {
	margin-right:40px;
}

.view-footer {
	margin-top: 20px;
}

.language-switcher-language-url ul.links {
    display: flex;
    gap: 10px;
    margin: 0;
}

.language-switcher-language-url ul.links li {
	display: block;
}

.views-form table.syncscroll {
	/* fix gin bug - increasing views table width on empty data */
	display:none;
}

.region-sticky__items__inner {
	/*padding-bottom: 40px;*/
	margin-top: -20px;
}

.region-sticky--is-sticky .region-sticky__items__inner {
    position: relative;
    margin-top: 0;
}

@media(min-width:1024px) and (max-width:1800px) {
  .region-sticky--is-sticky .region-sticky__items__inner {
      position: relative;
      top: -15px;
  }
}

@media(max-width:1024px) {
	.region-sticky--is-sticky .region-sticky__items__inner {
    top: 25px;
    padding-bottom: 0;
    padding-left: 10px;
    background: #fff;
	}

	.region-sticky--is-sticky .region-sticky__items__inner .block-page-title-block {
		display: none;
	}
}

@media (max-width: 440px) {
  .region-sticky__items__inner {
    top: 35px;
  }
}

@media(min-width:1000px) {
	.block-language {
	    margin-top: 20px;
	}
}


.gin--dark-mode ul.links a.is-active {
	color: #fff;
}

                  /*не работает:


				/* Если вы используете вертикальный сайдбар, может понадобиться и этот селектор: */
				/*.gin--dark-mode .gin-sidebar-nav a.is-active,
				.gin--dark-mode .gin-sidebar-nav a.active {
				    color: #f00 !important;
				}
				
				*/



			/* Для активной ссылки в Главном меню (toolbar) в Темном режиме */

				/*.gin--dark-mode #toolbar-administration .toolbar-menu-administration a.is-active,
				.gin--dark-mode #toolbar-administration .toolbar-menu-administration a.active {
    			/* Используйте здесь желаемый цвет. Например, ярко-белый */
  			/*  color: #fff !important;
    			/* !important может быть необходим, чтобы переопределить стили Gin */
					/*}	*/





a:visited {
  color: #551A8B;
}

.gin--dark-mode a:visited {
  color: #C499E5;
}

