/* variables */

:root {
   /* color */
   --basecolor: #272727;
   --textcolor: #464646;;
   --linkcolor: #006e81;
   --whitecolor: #ffffff;
   --greycolor: #4c4c4c;
   --bordercolor: #cccccc;
   --bgcolor: #f6f7f8;
   --orangecolor: #d85919;
   --bluecolor: #009ec3;
   --redcolor: #ff0000;
   --blackcolor: #000000;
   --shadowcolor: #bababa;
   --linkcolorhover: #01869d;
   --orangecolorhover: #eb6f2d;
   --lightgrey: #eceef0;
   --lightgreyhover: #dbdfe0;
   ;
   /* breakpoint */
   --canvas: 1920px;
   --pc: 1180px;
   --tablet: 971.98px;
   --mobile: 747.98px;
   --mobilesmall: 459.98px;
   /* font */
   --font-family: "Open Sans", Arial, Verdana, sans-serif;
   --font-form-family: Georgia, "Times New Roman", Times, serif;
   --normal: 16px;
   --small: 14px;
   --medium: 18px;
   --large: 24px;
   /* indent */
   --little: 5px;
   --radius: 4px;
   --safe: 10px;
   --standart: 20px;
   --big: 30px;
}

/* null */

html.js input.form-autocomplete {
   background-position: 98% center;
}

* {
   padding: 0px; 
   margin: 0px; 
   border: 0px;}
*,
*:before, *:after {
	box-sizing: border-box;
}
:focus, :active {
	outline: none;
}
a:focus, a:active {
	outline: none;
}
html, body {
	height: 100%;
	min-width: 320px;
}
body {
   font-weight: 400;
   font-size: var(--small);
   font-family: var(--font-family);
   color: var(--basecolor);
   background: url(../images/common/bg-light.png) repeat;
	line-height: 1;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767.98px){
   body {
      font-size: 13px;
   }
}

input, button, textarea {
	font-size: inherit;
}
button {
	cursor: pointer;
	color: inherit;
	background-color: inherit;
}
a {
	color: inherit;
   text-decoration: underline;
}

a:hover {
	text-decoration: none;
}
ul li {
	list-style: none;
}
img {
	vertical-align: top;
}

.node-page img{
   max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
}

.caption{
   font-size: var(--small);
   line-height: 24px;
   color: var(--linkcolor);
   font-weight: bold;
}


/* selectors */

/* Large desktops and laptops */
[class*="__container"] {
   margin: 0 auto;
   box-sizing: content-box;
   max-width: var(--pc);
   padding: 0 var(--safe);
}
/* Landscape tablets and medium desktops */
@media (max-width: 1200px){
   [class*="__container"]{
      max-width: var(--tablet);
   }
}
/* Portrait tablets and small desktops */
@media (max-width: 991.98px){
   [class*="__container"]{
      max-width: var(--mobile);
   }
}
/* Landscape phones and portrait tablets */
@media (max-width: 767.98px){
   [class*="__container"]{
      max-width: var(--mobilesmall);
   }
}
/* Portrait phones and smaller */
@media (max-width: 479.98px){
   [class*="__container"]{
      max-width: none;
   }
}

[class*="-ibg"] {
	position: relative;
}

[class*="-ibg"] img {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		object-fit: cover;
	}

[class*="-ibg_contain"] img {
	object-fit: contain;
}

/* base */
a{ 
   color: var(--linkcolor);
   text-decoration: underline;
}
a:hover{
   text-decoration:none;
}

p{
   margin-bottom: var(--safe); 
   font-size: var(--small);
   line-height: var(--standart);
   color: var(--textcolor);
}

@media (max-width: 767.98px){
   p{
      font-size: 13px;
      line-height: 18px;
   }
}

p:last-child{margin-bottom: 0;}

h1{
   margin: var(--big) 0 var(--standart);
   font: bold 24px/30px var(--font-family); 
}

h2{
   margin: var(--standart) 0;
   color: var(--greycolor);
   font: bold 18px/24px var(--font-family); 
}

h3{
   margin: var(--standart) 0;
   color: var(--greycolor);
   font: bold 16px/20px var(--font-family);  
}

h4{
   margin: var(--standart) 0;
   color: var(--greycolor);
   font: bold 14px/18px var(--font-family); 
}

ul{
   list-style: none;
   color: var(--textcolor);
   padding: var(--little) 0;
}

li{
   padding: var(--little) 0;
}

ol{
   list-style:decimal inside;
   color: var(--textcolor);
   padding: var(--little) 0;
}

.blc{
   text-align: center;
}

table {
   margin: 5px 0;
   width: 100%;
   border: 1px solid var(--bordercolor);
   border-collapse: collapse;
   background: var(--whitecolor);
}



table tbody {
   border-top: 1px solid var(--bordercolor);
}

table th {
   border-bottom: 2px solid var(--bordercolor);
   padding: 10px;
   text-align: left;
   background: #e4f6fe;
}

table th a{
   font-weight:bold;
}

table td{
   padding:10px;
   border: 1px solid var(--bluecolor);
   border-collapse: collapse;
}

table td p{
   margin: 0;
}

table tr.odd {
   background: var(--whitecolor);
}

tr.even {
   background: #f9f9f9;
}

.tablesmall{font-size: 12px;}

.tablesmall td{
   padding: 8px 1px;
}

hr {
   border: none;
   border-top: 1px solid var(--shadowcolor) !important;
   height: 1px;
   margin-bottom: 15px;
}


/* wrapper */
.wrapper {
   border-top: 2px solid var(--linkcolor);
	min-height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.wrapper	> .main {
	flex: 1 1 auto;
}

.wrapper	> * {
	min-width: 0;
}

/* tabs */

ul.contextual-links{
   font-size:14px;
   line-height:14px;
   font-style:normal;
   list-style: none;
}

ul.contextual-links li.block-configure{
   list-style: none;
   padding: 0;
}

ul.tabs{font-family: Tahoma, Arial, sans-serif;
   font-size: 13px;
   line-height: 18px;
   margin: 0 0 20px 0;
   padding: 10px 0 0 5px;
   overflow: hidden;
}

ul.tabs li{
   margin: 0 0 0 5px;
   padding: 0;
   border: 0;
}

ul.tabs li a:link, ul.tabs li a:visited{
   display: inline;
   background: #F7F7F7;
   color: #BBBBBB;
   border: 1px solid #C5C5C5;
   border-top-left-radius: 3px;
   -moz-border-radius-topleft: 3px;
   border-top-right-radius: 3px;
   -moz-border-radius-topright: 3px;
   padding: 2px 9px 1px 10px;
   margin: 0;
   border-bottom:none;
} 

ul.tabs li a:hover, ul.tabs li a:active{
   color: #5F5F5F;
   background: #F9F9F9;
} 

ul.tabs li a.active:link, ul.tabs li a.active:visited{
   border-bottom-color: white;
   background: transparent;
   color: #515151;
} 

ul.tabs.secondary{
   position: relative;
   top: -10px;
}

.messages{
   background-position: 8px 8px;
   background-repeat: no-repeat;
   border: 1px solid;
   margin: 30px 0 20px;
   padding: 10px 10px 10px 50px;
}

/* inputs */

label{
   padding-bottom: 7px;
}

input[type="submit"], .btn{
   cursor:pointer;
   text-decoration:none;
   text-align:center;
   padding:6px 14px;
   border:solid 1px #de791b;
   white-space: nowrap;
   -webkit-border-radius:var(--radius);
   -moz-border-radius:var(--radius);
   border-radius: var(--radius);
   font-size:var(--small);
   font-family: var(--font-family);
   color:var(--whitecolor);
   background-color: var(--orangecolor);
   -webkit-box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px var(--whitecolor);
   -moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px var(--whitecolor);
   box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px var(--whitecolor);
   -webkit-transition: all 0.8s 0s ease;
   -moz-transition: all 0.8s 0s ease;
   -o-transition: all 0.8s 0s ease;
   transition: all 0.8s 0s ease;
}

@media (max-width: 767.98px){
   input[type="submit"], .btn{
      font-size:13px;
   }
}

input[type="submit"]:hover, .btn:hover{
   background-color: var(--orangecolorhover);
   -webkit-transition: all 0.8s 0s ease;
   -moz-transition: all 0.8s 0s ease;
   -o-transition: all 0.8s 0s ease;
   transition: all 0.8s 0s ease;
} 

input[type="checkbox"]{
   padding:0
}

input[type="text"]{
   background:var(--whitecolor);
   border: 1px solid var(--greycolor);
   color: var(--basecolor);
   font-style: italic;
   font-size: var(--small); 
   -webkit-border-radius: var(--radius);
   -moz-border-radius: var(--radius);
   border-radius: var(--radius);
   font-family: var(--font-form-family);
}

input {
   border: 1px solid var(--greycolor);
   padding: 5px;
   font-size: var(--small);
   color: var(--basecolor);
   border-radius: var(--radius);
   -moz-border-radius: var(--radius);
   -webkit-border-radius: var(--radius);
   background: var(--whitecolor);
}

select, textarea{
   padding: 5px;
   font-size: var(--small); 
   background: var(--whitecolor);
   color: var(--textcolor);
   border-radius: var(--radius);
   -moz-border-radius: var(--radius);
   -webkit-border-radius: var(--radius);
   border: 1px solid var(--greycolor);
}

.form-select-field, .form-select{
   width: 260px;
}


@media (min-width: 992px){
   .node-webform input[type="text"], .node-webform input[type="email"], .entityform input[type="text"]{
      width: 460px;
   }

   #user-login input[type="text"], #user-login input[type="password"]{
      width: 460px;
   }
}

@media (max-width: 991.98px){
   .node-webform input[type="text"], .node-webform input[type="email"], .entityform input[type="text"]{
      width: 360px;
   }

   #user-login input[type="text"], #user-login input[type="password"]{
      width: 360px;
   }
}

@media (max-width: 479.98px){
   .node-webform input[type="text"], .node-webform input[type="email"], .entityform input[type="text"]{
      width: 260px;
   }

   #user-login input[type="text"], #user-login input[type="password"]{
      width: 260px;
   }
}

.node-webform input[type="text"][name="captcha_response"], #user-login input[type="text"][name="captcha_response"]{
   width: 50px;
}

input[type="file"]{
   width: 100%;
}

.webformspisok label{
   border-bottom:1px solid #6c6c6c;
   padding-bottom:5px;
   margin-bottom:10px
}

.webformspisok .form-item{
   width:200px;
   display: inline-block
}

.webformspisok .form-item label{
   border: none;
   padding:0;
   margin:0
}

.field-name-field-form-gal1, .field-name-field-form-gal3, .field-name-field-form-gal5{
   background: #f7f8f8;
}

.field-name-field-form-gal1 .fieldset-legend, .field-name-field-form-gal3 .fieldset-legend, .field-name-field-form-gal5 .fieldset-legend{
   background: #f7f8f8 !important;
}

.entityform .field-type-taxonomy-term-reference label{
   border-bottom:1px solid #6c6c6c;
   padding-bottom:5px;
   margin-bottom:10px
}
.entityform .form-checkboxes{
   display: flex;
   flex-wrap: wrap;
   width: 100%;
}

.entityform .form-checkboxes .form-item{
   width:33%;
}

@media (max-width: 1199.98px){
   .entityform .form-checkboxes .form-item{
      width:100%;
   }
}

.entityform .form-required, .redrequired{
   font-size: 18px;
   color: #ff0000;
}


.entityform label.option{
   border: none;
   line-height: 1.4;
}

.form-item .description {
   font-size: 12px;
   padding: 8px 0;
   line-height: 16px;
}

.form-managed-file input[type="submit"]{
   margin-left: 5px;
}

.webform-client-form, .entityform{
   border: 1px solid var(--greycolor);
   padding: 10px 20px;
   margin: 20px 0;
   background: var(--whitecolor);
}

.entityform div.image-widget-data {
   display: flex
}

legend{
   font-weight: bold;
}

.findelem{
   width:100%;
   text-align: center;
   margin-top:5px;
   margin-bottom:20px;
   font: bold 16px/20px Arial, Helvetica, sans-serif;
   color:var(--greycolor);
   box-sizing: content-box;
}

.findelem span{
   color:#ff5500;
}

fieldset {
   margin: 5px;
   padding: 5px;
}

.webform-client-form fieldset, .entityform fieldset{
   padding: 10px 10px 1px;
   margin: 10px 0;
   border: 1px solid var(--greycolor);
}

.webform-client-form .fieldset-legend, .entityform .fieldset-legend{
   display: block;
   padding: 0 5px;
   background: var(--whitecolor);
}


.webform-client-form .webform-progressbar, .entityform .webform-progressbar{
   display: none;
}




/* buttons */

.btn-blue{
   cursor:pointer;
   text-decoration:none;
   text-align:center;
   white-space: nowrap;
   padding:6px 14px;
   border:solid 1px #066f82;
   -webkit-border-radius:var(--radius);
   -moz-border-radius:var(--radius);
   border-radius: var(--radius);
   color: var(--whitecolor);
   background-color:var(--linkcolor);
   -webkit-box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px var(--whitecolor);
   -moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px var(--whitecolor);
   box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px var(--whitecolor);
   -webkit-transition: all 0.8s 0s ease;
   -moz-transition: all 0.8s 0s ease;
   -o-transition: all 0.8s 0s ease;
   transition: all 0.8s 0s ease;
}

.btn-blue:hover{
   background-color:var(--linkcolorhover);
   -webkit-transition: all 0.8s 0s ease;
   -moz-transition: all 0.8s 0s ease;
   -o-transition: all 0.8s 0s ease;
   transition: all 0.8s 0s ease;
}


.btn-grey{
   cursor:pointer;
   white-space: nowrap;
   text-decoration:none;
   text-align:center;
   padding:6px 14px;
   border:solid 1px #f9f9f9;
   -webkit-border-radius:var(--radius);
   -moz-border-radius:var(--radius);
   border-radius: var(--radius);
   color: var(--textcolor);
   background-color: var(--lightgrey);
   -webkit-box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px var(--whitecolor);
   -moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px var(--whitecolor);
   box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px var(--whitecolor);
   -webkit-transition: all 0.8s 0s ease;
   -moz-transition: all 0.8s 0s ease;
   -o-transition: all 0.8s 0s ease;
   transition: all 0.8s 0s ease;
}

.btn-grey:hover{
   background-color: var(--lightgreyhover);
   -webkit-transition: all 0.8s 0s ease;
   -moz-transition: all 0.8s 0s ease;
   -o-transition: all 0.8s 0s ease;
   transition: all 0.8s 0s ease;
} 



/* drupal null */

#admin-menu {
   top: -29px;
}

.search-advanced{
   display:none;
}

.views-exposed-form .views-exposed-widget {
   float: none;
   padding: 0;
}

.views-exposed-form .views-exposed-widget .form-submit {
   margin-top: 0;
}

.views-exposed-form .form-item,
views-exposed-form .form-submit {
   margin-top: 0;
   margin-bottom: 0;
}

.views-exposed-widgets {
   margin-bottom: 0;
}

/* search-result */
.search-results .search-info{
   display:none
}

.search-results li {
   margin-bottom: 0;
}

.search-results .title {
   font-size: 18px;
   margin:10px 0
}

.view-footer{
   width:100%;
   text-align:center;
   margin: 10px 0;
}

.ds-2col-stacked > .group-right, .ds-2col-stacked > .group-left{
   float: none;
   width: 100%;
}

.ds-2col-stacked > .group-footer {
   clear: none;
}

ul.inline li.statistics_counter{
   display: none;
}

ul.inline li.statistics_counter span{
   display: none;
}

#backtotop {
   line-height: 20px;
}

#edit-cancel{
   display: inline-block;
   margin: 8px 12px;
}

/* ymaps */

.views-sauni-bigmap .block__content_container, .view-views-sauni-map .block__content_container{
   padding: 10px 0;
}

.ymaps-b-balloon__content-head a{
   font-size: 14px;
   display:block;
   padding-bottom:7px
}

.views-sauni-blockmap .yamaps-map-container {
   margin:0;
   border:1px solid #a3b0b1;
   width:100%;
}

@media (min-width: 1200px){
   .views-sauni-blockmap .yamaps-map-container {
      min-width: 1180px;
   }
}

@media (max-width: 1200px){
   .views-sauni-blockmap .yamaps-map-container {
      min-width: 971px;
   }
}

@media (max-width: 991.98px){
   .views-sauni-blockmap .yamaps-map-container {
      min-width: 747px;
   }
}

@media (max-width: 767.98px){
   .views-sauni-blockmap .yamaps-map-container, .view-views-sauni-map .yamaps-map-container{
      min-width: 460px;
      max-height: 540px;
   }
}

@media (max-width: 767.98px){
   .views-sauni-setka .yamaps-map-container {
      max-height: 280px;
   }
}


@media (max-width: 479.98px){
   .views-sauni-blockmap .yamaps-map-container{
      min-width: 280px;
      margin-left: 2%;
      max-width: 458px;
      max-height: 540px;
   }

   .view-views-sauni-map .yamaps-map-container{
      min-width: 280px;
      max-width: 458px;
      max-height: 540px;
   }
}

.yamaps-map-container{
   border:1px solid #a3b0b1;
}


