.main{
   padding: 15px 0;
}

@media (max-width: 767.98px){
   .main{
      padding: 7px 0;
   }
}

.main__container{
   display: flex;
   flex-wrap: nowrap;
   gap: 20px;
   justify-content: space-between;
}


.main__content{
   display: flex;
   flex-direction: column;
}

@media (min-width: 1200px){
   .main__content{
      flex: 0 0 910px;
      max-width: 910px;
   }
}

@media (max-width: 1200px){
   .main__content{
      flex: 0 0 700px;
      max-width: 700px;
   }
}

@media (max-width: 991.98px){
   .main__content{
      flex: 0 0 477px;
      max-width: 477px;
   }
}

@media (max-width: 767.98px){
   .main__content{
      flex: 0 0 460px;
      max-width: 460px;
   }
}

@media (max-width: 479.98px){
   .main__content{
      flex: 0 1 100%;
      max-width: 100%;
   }
}

#content{
   flex: 0 1 auto;
   padding: 5px 0;
}

/* breadcrumb */

.breadcrumb{
   margin-top:10px;
   padding: 5px;
   line-height: 22px;
}

.breadcrumb span a{
   text-decoration: underline;
}

.breadcrumb span a:hover{
   text-decoration: none;
}

.breadcrumb .delimiter{
   color:#e64f1c
}

/* h1 with line */
h1.main__title{
   text-align:left;
   color: var(--greycolor);
   line-height: 30px;
   font-size: 24px;
   font-family: var(--font-family);
   margin: 20px 0;
   overflow: hidden;
}

@media (max-width: 767.98px){
   h1.main__title{
      line-height: 24px;
      font-size: 20px;
      text-align: center;
      margin: 10px 0 15px;
      background: url(/sites/all/themes/sauna/images/common/h1bg.png) bottom center no-repeat;
      padding-bottom: 30px;
   }
}

h1.main__title::before, h1.main__title::after, .top-block1 h2::before, .top-block1 h2::after, .bottom-block h2::before, .bottom-block h2::after{
   content: '';
   display: inline-block;
   vertical-align: middle;
   box-sizing: border-box;
   width: 100%;
   height: 1px;
   background: var(--bordercolor);
   border: solid var(--bgcolor);
   border-width: 0 10px;
}

h1.main__title:before, .top-block1 h2:before, .bottom-block h2::before{
   margin-left: -100%;
}

h1.main__title:after, .top-block1 h2:after, .bottom-block h2::after{
   margin-right: -100%;
}

@media (max-width: 767.98px){
   h1.main__title::before, h1.main__title::after{
      display: none;
   }
}


.top-block1 h2, .bottom-block h2{
   text-align:center;
   color: var(--greycolor);
   font-weight: normal;
   line-height: 30px;
   font-size: 24px;
   font-family: var(--font-family);
   margin: 20px 0;
   overflow: hidden;
}

@media (max-width: 767.98px){
   .top-block1 h2, .bottom-block h2{
      line-height: 24px;
      font-size: 20px;
      margin: 10px 0;
   }

   .top-block1 .views-sauni-bigmap h2::before, .top-block1 .views-sauni-bigmap h2::after{
      display: none;
   }
   
   .top-block1 .newtop_views_exposed_form h2::before, .top-block1 .newtop_views_exposed_form h2::after{
      display: none;
   }
}



/* morerekomend and moresaunlink */

.moresaunlink, .morerekomend{
   font-weight:bold;
   font-size:16px;
   padding:12px;
   border:2px solid var(--linkcolor);
   text-decoration:none;
   -webkit-border-radius:var(--radius);
   -moz-border-radius:var(--radius);
   border-radius: var(--radius);
   -webkit-transition: all 0.5s 0s ease;
   -moz-transition: all 0.5s 0s ease;
   -o-transition: all 0.5s 0s ease;
   transition: all 0.5s 0s ease;
}

@media (max-width: 767.98px){
   .moresaunlink, .morerekomend{
      font-size:14px;
      padding:10px;
   }
}

@media (max-width: 479.98px){
   .moresaunlink, .morerekomend{
      font-size:13px;
      padding:8px;
   }
}

.moresaunlink:hover, .morerekomend:hover{
   text-decoration: none;
   border:2px solid #e06016;
   color:#e06016;
   -webkit-transition: all 0.5s 0s ease;
   -moz-transition: all 0.5s 0s ease;
   -o-transition: all 0.5s 0s ease;
   transition: all 0.5s 0s ease;
}


/* views-category */

.views-category h3{
   text-align:left;
   color: var(--greycolor);
   font: bold 18px/20px var(--font-family);
   margin: 15px 0;
   overflow: hidden;
}

.views-category h3::before, .views-category h3::after {
   content: '';
   display: inline-block;
   vertical-align: middle;
   box-sizing: border-box;
   width: 100%;
   height: 1px;
   background: var(--bordercolor);
   border: solid var(--bgcolor);
   border-width: 0 10px;
}

.views-category h3:before {
   margin-left: -100%;
}
.views-category h3:after {
   margin-right: -100%;
}

.views-category .views-row{
   display:inline-block;
}

.views-category .views-row a{
   display: block;
   padding:7px;
   background:var(--whitecolor);
   margin:3px 3px 3px 0;
   font: 14px/16px var(--font-family);
   text-decoration:none;
   -webkit-border-radius: var(--radius);
   -moz-border-radius: var(--radius);
   border-radius: var(--radius);
   -moz-transition: all 0.4s 0s ease;
   -o-transition: all 0.4s 0s ease;
   transition: all 0.4s 0s ease;
}
.views-category .views-row a:hover{
   background:var(--linkcolorhover);
   color:var(--whitecolor);
   -webkit-transition: all 0.4s 0s ease;
   -moz-transition: all 0.4s 0s ease;
   -o-transition: all 0.4s 0s ease;
   transition: all 0.4s 0s ease;
}

.views-category .more-link a{
   padding:7px;
   display:inline-block;
   background:var(--linkcolorhover);
   color:var(--whitecolor);
   margin:10px 3px 3px 0;
   font: 14px/16px var(--font-family);
   text-decoration: none;
   -webkit-border-radius: var(--radius);
   -moz-border-radius: var(--radius);
   border-radius: var(--radius);
   -moz-transition: all 0.4s 0s ease;
   -o-transition: all 0.4s 0s ease;
   transition: all 0.4s 0s ease;
}

.views-category .more-link a:hover{
   background:var(--linkcolor);
   color:var(--whitecolor);
   -webkit-transition: all 0.4s 0s ease;
   -moz-transition: all 0.4s 0s ease;
   -o-transition: all 0.4s 0s ease;
   transition: all 0.4s 0s ease;
}

/* statcounter */

.statcounter{
   margin-bottom: 25px;
}

.statcounter .view-header{
   margin-bottom: 10px;
   font-weight: bold;
}

.statcounter .views-exposed-form .views-exposed-widgets{
   display: flex;
   gap: 15px;
   align-items: flex-end;
}

@media (max-width: 479.98px){
   .statcounter .views-exposed-form .views-exposed-widgets{
      flex-wrap: wrap;
      align-items: flex-end;
      gap: 10px;
   }
}

.statcounter .views-exposed-form label {
   font-weight: normal;
   margin: 2px 0 5px;
   padding: 0;
   font: 400 14px/16px var(--font-family);
}


.statcounter .views-table {
   margin-top: 20px;
   width: 100%;
   border: 1px solid var(--bordercolor);
   font-size: 14px;
   line-height: 18px;
}

@media (max-width: 767.98px){
   .statcounter .views-table {
      margin-top: 10px;
      font-size: 12px;
      line-height: 16px;
   }
}

@media (max-width: 479.98px){
   .statcounter .views-table {
      font-size: 11px;
      line-height: 15px;
   }
}

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

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

@media (max-width: 767.98px){
   .statcounter .views-table th {
      padding: 10px 4px;
      font-size: 11px;
   }
}

.statcounter .views-table th a{
   font-weight:bold;
}

.statcounter .views-table td{
   padding:10px
}

@media (max-width: 767.98px){
   .statcounter .views-table td{
      padding:10px 4px;
   }
}

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

.statcounter.views-table tr.even {
   background: #f9f9f9;
}

.statcounter .views-field-weekcount, .statcounter .views-field-monthcount, .statcounter .views-field-yearcount, .statcounter .views-field-totalcount{
   text-align: center;
}


/* stati */


.viewsstatipage .view-content{
   display: flex;
   flex-direction: column;
   gap: 15px;
   margin-bottom: 20px;
}

.viewsstatipage .views-row{
   display: grid;
   row-gap: 10px;
   column-gap: 15px;
   padding: 10px;
   position:relative;
   -webkit-transition: all 0.3s 0s ease;
   -moz-transition: all 0.3s 0s ease;
   -o-transition: all 0.3s 0s ease;
   transition: all 0.3s 0s ease;
}

@media (min-width: 992px){
   .viewsstatipage .views-row{
      grid-template-columns: 300px 1fr;
      grid-template-areas:
      "img title"
      "img content"
      "img more"
   }
}

@media (max-width: 991.98px){
   .viewsstatipage .views-row{
      grid-template-columns: 1fr;
      grid-template-areas:
      "title"
      "img"
      "content"
      "more"
   }
}



.viewsstatipage .views-field-field-image{
   grid-area: img;
}

.viewsstatipage .views-field-field-image img{
   border: 1px solid var(--bordercolor);
}

.viewsstatipage .views-field-title{
   padding-top: 10px;
   grid-area: title;
   color: var(--linkcolor);
   font: 600 18px/24px var(--font-family);
}

.viewsstatipage .views-field-field-soderzhim-stati{
   grid-area: content;
   
}

.viewsstatipage .views-field-view-node{
   grid-area: more;
   padding: 10px 0;
}

.viewsstatipage .views-field-view-node a{
   cursor:pointer;
   position: relative;
   text-decoration:none;
   text-align:center;
   padding: 7px 15px 7px;
   border:solid 1px #de791b;
   -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;
}

.viewsstatipage .views-field-view-node a: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;
} 

.node-article{
   padding-bottom: 20px;
}

.node-article img{
   border: 1px solid var(--bordercolor);
   max-width: 100%;
}

.node-article .field-name-field-soderzhim-stati{
   padding: 20px 0;
}


.blog-view .view-header .views-category-blog .view-content{
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   gap: 15px;
   margin-bottom: 30px;
}

.blog-view .view-header .views-category-blog .view-content .views-row a {
   padding: 8px 13px;
   display:  inline-block;
   cursor: pointer;
   text-decoration: none;
   text-align: center;
   white-space: nowrap;
   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;
}

.blog-view .view-header .views-category-blog .view-content .views-row a: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;
   -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);
}





.blog-view .view-content {
   display: grid;
   gap: 20px;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
   grid-auto-rows: min-content;
   margin-bottom: 40px;
}

.blog-view2 .view-content {
   display: grid;
   gap: 15px;
   grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
   grid-auto-rows: min-content;
   margin-bottom: 40px;
}


.blog-view .view-content .views-row {
   display: flex;
   flex-direction: column;
   gap: 15px;
   align-items: center;
   background: var(--bgcolor);
   position: relative;
   border: 1px solid var(--bordercolor);
   -webkit-border-radius: var(--radius);
   -moz-border-radius: var(--radius);
   border-radius: var(--radius);
   -webkit-box-shadow: 0px 0px 5px var(--shadowcolor);
   -moz-box-shadow: 0px 0px 5px var(--shadowcolor);
   box-shadow: 0px 0px 5px var(--shadowcolor);
   -webkit-transition: all 0.3s 0s ease;
   -moz-transition: all 0.3s 0s ease;
   -o-transition: all 0.3s 0s ease;
   transition: all 0.3s 0s ease;
}

.blog-view2 .view-content .views-row {
   display: flex;
   flex-direction: column;
   gap: 10px;
   align-items: center;
   background: var(--bgcolor);
   position: relative;
   border: 1px solid var(--bordercolor);
   -webkit-border-radius: var(--radius);
   -moz-border-radius: var(--radius);
   border-radius: var(--radius);
   -webkit-box-shadow: 0px 0px 5px var(--shadowcolor);
   -moz-box-shadow: 0px 0px 5px var(--shadowcolor);
   box-shadow: 0px 0px 5px var(--shadowcolor);
   -webkit-transition: all 0.3s 0s ease;
   -moz-transition: all 0.3s 0s ease;
   -o-transition: all 0.3s 0s ease;
   transition: all 0.3s 0s ease;
}

.blog-view .view-content .views-row:hover, .blog-view2 .view-content .views-row:hover{
   -webkit-box-shadow: 0px 0px 10px 0px var(--shadowcolor);
   -moz-box-shadow: 0px 0px 10px 0px var(--shadowcolor);
   box-shadow: 0px 0px 10px 0px var(--shadowcolor);
   -webkit-transition: all 0.3s 0s ease;
   -moz-transition: all 0.3s 0s ease;
   -o-transition: all 0.3s 0s ease;
   transition: all 0.3s 0s ease;
}



.blog-view .view-content .views-row .views-field-title {
   text-align: center;
   padding: 5px 10px;
   position: relative;
   color: var(--linkcolor);
   text-decoration: none;
   font: bold 18px/24px var(--font-family);
}

.blog-view2 .view-content .views-row .views-field-title {
   text-align: center;
   padding: 5px 10px;
   position: relative;
   color: var(--linkcolor);
   text-decoration: none;
   font: bold 14px/18px var(--font-family);
}

.blog-view .view-content .views-row .views-field-title .field-content {
   display: flex;
   align-items: center;
   height: 50px;
}

.blog-view2 .view-content .views-row .views-field-title .field-content {
   display: flex;
   align-items: center;
   height: 38px;
}

.blog-view .view-content .views-row .views-field-title a, .blog-view2 .view-content .views-row .views-field-title a{
   text-decoration: none;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.blog-view .view-content .views-row .views-field-title a:hover, .blog-view2 .view-content .views-row .views-field-title a:hover{
   text-decoration: underline;
}


.blog-view .view-content .views-row .views-field-field-blog-category, .blog-view2 .view-content .views-row .views-field-field-blog-category{
   padding-top: 5px;
}

.blog-view .view-content .views-row .views-field-field-blog-category a, .blog-view2 .view-content .views-row .views-field-field-blog-category a{
   text-decoration: none;
   color: #6e6a6a;
   font-weight: bold;
   -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;
}

.blog-view .view-content .views-row .views-field-field-blog-category a:hover, .blog-view2 .view-content .views-row .views-field-field-blog-category a:hover{
   color: var(--linkcolor);
   -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;
}

.blog-view .view-content .views-row .views-field-field-blog-category a::before, .blog-view2 .view-content .views-row .views-field-field-blog-category a::before{
   content: "—";
   margin-right: 7px;
   font-weight: normal;
}

.blog-view .view-content .views-row .views-field-field-blog-category a::after, .blog-view2 .view-content .views-row .views-field-field-blog-category a::after{
   content: "—";
   margin-left: 7px;
   font-weight: normal;
}


.blog-view .view-content .views-row .views-field-field-img-blog-stati, .blog-view2 .view-content .views-row .views-field-field-img-blog-stati {
   position: relative;
   min-width: 195px;
   width: 100%;
   padding: 0px 0px 60% 0px;
}

.blog-view .view-content .views-row .views-field-field-img-blog-stati img, .blog-view2 .view-content .views-row .views-field-field-img-blog-stati img{
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
   object-fit: cover;
}

.blog-view .view-content .views-row .views-field-view-node, .blog-view2 .view-content .views-row .views-field-view-node{
   display: flex;
   width: 100%;
   justify-content: center;
   padding: 10px 0;
   margin-bottom: 20px;
}

.blog-view .view-content .views-row .views-field-view-node a, .blog-view2 .view-content .views-row .views-field-view-node a{
   cursor:pointer;
   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;
}

.blog-view .view-content .views-row .views-field-view-node a:hover, .blog-view2 .view-content .views-row .views-field-view-node a: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;
} 

.no-search-link-blog li{
   padding: 4px 0;
   list-style: inside url(../images/common/arrows-ul.png);
}

.node-blogs-article .field-name-field-blog-category{
   display: block;
   margin: 20px 0 20px;
}

.node-blogs-article .field-name-field-blog-category a {
   padding: 8px 13px;
   display:  inline-block;
   cursor: pointer;
   text-decoration: none;
   text-align: center;
   white-space: nowrap;
   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;
}

.node-blogs-article .field-name-field-blog-category a: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;
   -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);
}

.blog-view .view-header .view-content, .blog-view .view-footer .view-content {
   display: flex;
   flex-direction: column;
   gap: 5px;
   margin-bottom: 25px;
}

.node-blogs-article .field-name-field-img-blog-stati img{ 
   max-width: 100%;
   height: auto;
   margin-bottom: 25px;
}