#main #content, .container  {
    width: 100% !important;}
#bfoot table {
    width: 100%;
}
div[role="contentinfo"] {
    margin-top: 150px;
    margin-bottom: -130px;
}

#pall {
    background: #FFF3E9;
    position: absolute;
    width: 70%;
    height: 423px;
    margin-top: -30px;
    border-radius: 20px;
    right: 0;
    z-index: 0;
}
.views-field.views-field-field-news-img {
    padding-top: 23px;
}
#block-forteachers #pall {
    left: -15%;
    width: 85%;
}

#block-views-block-novini-blok-block-1 #pall {
right:0;
  
}

#block-likable-page-title h1 {
    display: none;
}


.col-sm-12 {
  padding:0;
}

h2 {
    font-size: 36px;
    text-align: left;
  

}

#block-forparents h2, #block-forteachers h2, #block-views-block-novini-blok-block-1 h2 {
      margin: 50px!important;
} 
#block-forparents h2 {
    margin-left: 10%;
     text-align: left;
}
.node h2 {
    text-align: center;
    margin: 50px 0;
}

 h3 {
    text-align: center;
    width: 445px;
    margin: 30px auto;
    line-height: 25px;
    font-size: 22px;
}   
#bfon img {
    height: 100px;
}
#bfon {
  background: #FFF4E9;
}
#poce3 {
    padding-top: 75px;
    margin: 0 auto;
    padding-bottom: 75px;
    width: 1024px;
}
#poce3 div {
    width: 180px;
    display: inline-block;
    margin-left: 75px;
    margin-right: 75px;
}
#poce2 {
    margin: 0 auto;
    padding-bottom: 75px;
    width: 800px;
}


#poce2 div {
    width: 210px;
    display: inline-block;
    margin-left: 90px;
    margin-right: 90px;
    height: 200px;
    vertical-align: top;
}


#block-forparents {
     margin: 0 auto;
    width: 1000px;
}
#block-views-block-gotuemo-block-statti .views-field-title {
    padding-left: 40px;
    display: flex;
}
#block-forteachers {
    margin: 0 auto;
    width: 1000px;

}
#block-forteachers #p2 {
     margin-right: 30px;
    width: 450px;


}

#p1 {
  width: 510px;
  display: inline-block;
  position: relative;
}
#p2 {
  display: inline-block;
  position: relative;
  width: 450px;
  padding-left: 45px;
  vertical-align: top;
}

.pager__item.pager__item--last, .pager__item.pager__item--next, .pager__item.pager__item--previous, .pager__item.pager__item--first {
  display: none;
}

.pager__item {
  padding: 10px;
}
.pager__item a {
  padding:  6px !important;
  font-size: 0;
  border: 2px solid #9361A6 !important;
  background-color: #9361A6 !important;
}
.pager__item.is-active a {
  background-color: #fff!important;
}
.views-field.views-field-field-image {
  width: 300px;
  float: right;
}
#block-views-block-gotuemo-block-block-1, #block-views-block-gotuemo-block-statti {
  margin: 0 auto;
  margin-top: 100px;
}
.views-field.views-field-title a {
  color: #000;
}
.views-field.views-field-title {
  margin: 0 0 40px 0;
    font-size: 24px;
    font-weight: 400;
    
}
#block-views-block-gotuemo-block-block-1 .views-field-body {
  width: 46%;
  margin-left: 100px;
  line-height: 24px;
  font-size: 16px;
  min-height: 150px;
}
.views-field.views-field-view-node a {
  color: #9361A6;
  text-transform: uppercase;
  font-size: 16px;
  margin-left: 100px;
}


#block-views-block-novini-blok-block-1 {
  width: 1000px;
margin: 0 auto;
height: 400px;
margin-bottom: 200px;
}
#block-views-block-novini-blok-block-1 h2 {
  text-align: left;
  margin-left: 100px;
  font-size: 36px;
}
#block-views-block-novini-blok-block-1 header {
  float: left;
  margin-right: 80px;
}
#block-views-block-novini-blok-block-1 header img {
  border-radius: 20px;
  width: 380px;
  position: relative;
}
#block-views-block-novini-blok-block-1 .views-row {
    position: relative;
}


#block-views-block-gotuemo-block-statti .views-field.views-field-field-image {
  float:left;}
#block-views-block-gotuemo-block-statti .views-field-body {
    margin-left: 310px;
}
#block-views-block-gotuemo-block-block-1 .views-slideshow-controls-bottom.clearfix {
    margin: -98px 0px 50px 222px;
}
#block-views-block-gotuemo-block-block-1 .views-field-body {
  margin-left:0;
  padding-right: 80px;
}
  
#block-views-block-gotuemo-block-statti .views-field-body, #block-views-block-gotuemo-block-block-1 .views-field-body {
    
    width: 540px;
    line-height: 24px;
    font-size: 16px;
    min-height: 120px;
    background: url(/img/lapki.png) no-repeat;
    background-size: 90px;
    padding-left: 120px;
}
#views_slideshow_cycle_main_gotuemo_block-block_1 .views_slideshow_cycle_slide {
    width: 800px;
}
#block-views-block-gotuemo-block-statti .views-field-title {
  min-height: 68px;
}
#block-views-block-gotuemo-block-statti .views-field.views-field-view-node {
   margin-top: -20px;
margin-left: 30px;
}

#block-views-block-novini-blok-block-1 .views-field-title {
    font-size: 19px;
    border-bottom: 1px solid #ccc;
    margin:0;
}
#block-views-block-novini-blok-block-1 .views-slideshow-controls-bottom.clearfix {
  width: 55px;
margin: 0;
position: absolute;
    top: 144px;
    right: 100px;

}
#block-views-block-novini-blok-block-1 .views-slideshow-controls-bottom.clearfix li {
    margin-top: 27px;
    margin-bottom: 60px;
}
#views_slideshow_cycle_main_novini_blok-block_1 {

}
.views-field.views-field-field-data {
    font-size: 13px;
}
#block-forteachers a, #block-forparents a, #block-views-block-first-slider-block-1 a, #block-views-block-gotuemo-block-block-1 .views-field-view-node a, #block-views-block-gotuemo-block-statti .views-field-view-node a {
    text-transform: uppercase;
    color: #9361A6;
    font-weight:700;
    margin-top: 30px;
    display: block;
    background-image: url(/img/arrow.png);
background-repeat: no-repeat;
background-position-x: right;
background-position-y: center;
background-size: 30px;}

 #block-views-block-gotuemo-block-block-1 .views-field-view-node a, #block-views-block-gotuemo-block-statti .views-field-view-node a {
 width: 150px;
   
 }
#block-views-block-first-slider-block-1 a {
width: 300px;}
#block-forteachers a, #block-forparents a {
width: 120px;

}
#block-forteachers h3, #block-forparents h3, #block-views-block-gotuemo-block-statti .views-field-title, #block-views-block-gotuemo-block-block-1 .views-field-title {
  text-align:left;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 24px;
font-family: Pribambas;
} 


#block-views-block-first-slider-block-1 .views-field.views-field-field-image {
  width: 500px;
  float: left;
  margin-right: 50px;
}
#block-views-block-first-slider-block-1 {
  margin: 0 auto;
  padding-top: 120px;
}
#block-views-block-first-slider-block-1 .views-field.views-field-field-image img {
  border-radius: 20px;
}
#block-views-block-first-slider-block-1  .views-field.views-field-body {
  height: 375px;
  width: 350px;
  display: inline-block;
}


#\31 c {
  color: #ea5599;
}
#\32 c {
  color: #26bbe3;
}
#\33 c {
  color: #8dc044;
}
#\35 c {
  color: #7195cd;
}
#\34 c {
  color: #f6a025;
}
.views-slideshow-controls-bottom {
    width: 300px;
    margin: -75px auto 0 auto;
    position: relative;
    z-index: 32;
}
.views-field.views-field-view-node {
    display: inline-block;
}

.views-field.views-field-field-image img {
    border-radius: 20px;
}
#block-views-block-gotuemo-block-statti footer {
    margin-top: 40px;
}
#block-views-block-gotuemo-block-statti .views-slideshow-controls-bottom.clearfix {
margin-top: -83px;
margin-left: 550px;
}

#block-views-block-novini-blok-block-1 .skin-default {
  display: inline-block;
  width: 40%;
}
#block-views-block-novini-blok-block-1 footer {
width: 550px;
display: inline-block;
height: 400px;
vertical-align: top;
margin-left: 40px;
}
#block-forparents #pall {
    background-image: url(/img/pers1.png);
    background-repeat: no-repeat;
    background-position: bottom;
        background-position-x: center;
    background-position-x: 80%;
}

#block-forteachers #pall {
    background-image: url(/img/pers2.png);
    background-repeat: no-repeat;
    background-position: bottom;
        background-position-x: center;
    background-position-x: 63%;
}
#block-views-block-first-slider-block-1 .views-slideshow-controls-bottom {
    margin-top: -30px;
}

#block-views-block-gotuemo-block-block-1, #block-views-block-gotuemo-block-statti, #block-views-block-first-slider-block-1 {
  width:900px;
}
#highlighted-block {
    padding-top: 0!important;
}



//* MEDIA ZONE *//

@media screen and (min-width: 1380px) {

  #block-views-block-novini-blok-block-1 .views-slideshow-controls-bottom.clearfix {
    right:150px;
  }
  #block-forparents #pall {
    background-position-x: 70%;
    
  }
}
@media screen and (min-width: 1600px) {

  
  #block-views-block-novini-blok-block-1 .views-slideshow-controls-bottom.clearfix {
    right:250px;
  }
   #block-forparents #pall {
    background-position-x: 60%;
    
  }
}
@media screen and (min-width: 1800px) {

   #block-forparents #pall {
    background-position-x: 55%;
    
  }
  #block-views-block-novini-blok-block-1 .views-slideshow-controls-bottom.clearfix {
    right:350px;
  }
}
@media screen and (max-width: 768px) {

    body {
    width: 100%!important;
  
}
    video {
    width: 98%;
}
    #block-forparents h3 {
            margin: 15px 0 0 0 !important;
    }
        #block-novinikheder h2, #gl, .views-field.views-field-title, #block-views-block-gotuemo-razom-block-1, #block-views-block-block-news-block-1 {
  
    width: auto!important;
        margin-bottom: 20px !important;
    }
    #block-views-block-gotuemo-block-statti {
    margin-left: 0!important;
        margin-top: 80px;
}
    #p2 h3, .node h2 {
        margin: 80px 0 30px 0;
    }
   
    #block-views-block-gotuemo-block-block-1, #block-views-block-gotuemo-block-statti, #block-views-block-first-slider-block-1 {
    width: 90%;
}
    #block-forteachers h2, #block-views-block-novini-blok-block-1 h2 {
   text-align: center;
margin: 10px 0 60px 0!important;
    }
    #block-views-block-gotuemo-block-block-1 footer {
    margin-top: -67px;
}
    .navbar .row { width: 100%!important; }
    #block-forparents #pall {
    background-size: 130px;
}
    #navbar-main nav > ul > li > a {
        padding-bottom: 20px!important;}
    .navbar-nav a.is-active, .navbar-nav a.active-trail, .navbar-nav a:hover {
    border-bottom: 4px solid #fff;
    }
    #block-search {
    float: none !important;
    
}
    #block-loginregister {
    float: none !important;
    margin-top: 100px !important;
}
    #block-poshukovaforma {
    width: 97%!important;
    left: 0!important;
    padding: 0!important;
    margin: 10px!important;
}
   #poce3 div {
    display: block!important;
    margin: 0 auto!important;
    width: 70%!important;
    
} 
    
  #poce2 div {
    display: block!important;
    margin: 10px auto!important;
    height: auto!important;
}
#poce2 {
    width: 100%!important;
      padding-bottom: 30px; 
}
    #views_slideshow_cycle_main_novini_blok-block_1 {
    display: none;
}
   #block-views-block-novini-blok-block-1 footer {
    width: 90% !important;
    margin-left: 0 !important;
}
    #block-views-block-novini-blok-block-1 #pall,  #block-views-block-novini-blok-block-1 {
    width: 100%!important;
}
    
    #block-views-block-novini-blok-block-1 .views-slideshow-controls-bottom.clearfix {

    top: 145px!important;
    right: 30px!important;
}
#views_slideshow_cycle_teaser_section_first_slider-block_1, #views_slideshow_cycle_div_first_slider-block_1_0, 
#views_slideshow_cycle_div_first_slider-block_1_1, #views_slideshow_cycle_div_first_slider-block_1_2, h3, #poce3,
#block-views-block-first-slider-block-1 .views-field.views-field-field-image, #block-views-block-first-slider-block-1 .views-field.views-field-body {
    width: 90% !important;
    margin:0 auto;
}


#block-animation {
    display:none;
  }
  #block-views-block-first-slider-block-1 .views-field.views-field-field-image {
    float:none;
  }
  #block-views-block-first-slider-block-1 .views-field.views-field-body {
    height: auto;
    margin: 20px auto;
}
  
  #block-views-block-gotuemo-block-block-1, #block-views-block-gotuemo-block-statti, #block-views-block-first-slider-block-1 {
    width: 100%;
  height: 870px;
}
#block-views-block-gotuemo-block-statti .views-slideshow-controls-bottom.clearfix {
    margin-top: -60px;
    margin-left: 280px;
}
  #views_slideshow_cycle_div_first_slider-block_1_2 .align-left,   #views_slideshow_cycle_div_first_slider-block_1_1 .align-left,  #views_slideshow_cycle_div_first_slider-block_1_0 .align-left {
    float:none;
  }
  
  #block-views-block-first-slider-block-1 .views-slideshow-controls-bottom {
    display: none;
}
  #poce3 {
    padding-top: 30px;
      padding-bottom: 0;
    margin: 0 auto;
}
    #block-views-block-gotuemo-block-statti footer {
    margin-top: 10px!important;
}
#poce3 div {
    width: 80% !important;
    display: block !important;
    margin: 0 auto !important;
}
    #poce2 div {
        width: 80%;}
    
  #block-forparents {
    width: 100%!important;
}
    #block-forparents h2 {
    margin: 0;
    text-align: center!important;
}
    
#block-forparents #pall {
  margin-top: 230px;
}

#block-forteachers #pall {
      left: -8%;

    background-position-x: 497px;
    background-position-y: 148px;
}
#block-forteachers #p2 {
margin-left: -40px;
margin-bottom: 25px;
}
#block-forteachers h3 {
    margin-top: 10px;
}
#p2 {
width: 60% !important;
margin-left: 210px;
}
    #views_slideshow_cycle_main_gotuemo_block-block_1 .views_slideshow_cycle_slide {
    width: 100% !important;
}
    .views-field.views-field-field-image {
        width: 40%!important; }
    #block-forteachers #pall {
    width: 100%!important;
}
h3 {
    margin-bottom: 0;
}
#views_slideshow_cycle_main_gotuemo_block-block_1 .views_slideshow_cycle_slide,
#views_slideshow_cycle_teaser_section_gotuemo_block-statti .views_slideshow_cycle_slide,
    #block-views-block-first-slider-block-1 {
    width: 100%!important;
}
    #block-views-block-first-slider-block-1 {
  height: 860px;
}
#block-views-block-gotuemo-block-block-1,  #block-views-block-gotuemo-block-statti {
      height:400px;
}
#views_slideshow_cycle_teaser_section_gotuemo_block-block_1, #views_slideshow_cycle_teaser_section_gotuemo_block-statti {
    width: 97% !important;
    min-height: 370px;
}
#block-views-block-gotuemo-block-statti {
    margin-left: 83px;
}

#block-views-block-gotuemo-block-statti .views-field-body {
    margin-left: 40%;
    width: 60%;}

  
#block-views-block-gotuemo-block-statti .views-field-body, #block-views-block-gotuemo-block-block-1 .views-field-body {

    background-size: 68px;
    padding-left: 6%;
    width: 130%!important;
}
.views-field.views-field-field-image {
    width: 210px;}

#block-forteachers {
    width: 100%;
}

#block-views-block-gotuemo-block-block-1 {
    margin-top: 80px;
    margin-left: 0;
}

.views-field-field-news-img img {
    width: 300px;
    margin-left: 20px;
    margin-top: 50px;
    border-radius: 12px;
}

#block-views-block-novini-blok-block-1 .views-slideshow-controls-bottom.clearfix {
  right: 40px;
  top: 126px;
}
  
  #block-views-block-novini-blok-block-1 .views-slideshow-controls-bottom.clearfix li {
   margin-bottom: 100px;
   margin-top: 0;
}
#block-views-block-gotuemo-block-block-1 .views-slideshow-controls-bottom.clearfix {
    margin-top: -100px;
margin-left: auto;
margin-right: auto;

}
#block-views-block-novini-blok-block-1 {
  margin-bottom: 100px;
    margin-top: 50px;
}

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

    #p2 {
    margin-left: 0;
        width: 100% !important;
}
      #block-views-block-novini-blok-block-1 .views-slideshow-controls-bottom.clearfix li {
   margin-bottom: 82px;
    }
    
   #block-views-block-gotuemo-block-block-1 {
       margin-top: 100px!important;}
  #block-views-block-novini-blok-block-1 .views-field-title {
    font-size: 17px;
    max-height: 49px;
    overflow: auto;
}  
video {
    width: 80%;
}
  #pall {
    width: 100%!important;
    left:0!important;
  }
    #block-views-block-novini-blok-block-1 #pall { 
    height: 375px !important;
    }
  #block-forteachers #p2 {
    margin:0;
    
  }
  #block-forparents #pall {
        background-size: 120px;

  }
  #block-forteachers #pall {
    background-position-x: 305px;
    background-position-y: 205px;
      background-size: 120px;}

#block-forparents h2 {
    text-align: center;
    margin-bottom: 0!important;
}
#poce3  {
  padding-bottom: 0;
}

}
@media screen and (max-width: 375px) {
  #block-views-block-gotuemo-block-statti .views-field-title {
    margin-left: 0;
    padding-left: 0;
    width: 100% !important;
}
    #block-views-block-first-slider-block-1 {
    height: 700px;
}
    .views-field.views-field-field-image {
    width: 93% !important;
}
    #block-views-block-gotuemo-block-block-1, #block-views-block-gotuemo-block-statti {
    height: 660px!important;
}
    #block-views-block-gotuemo-block-statti .views-field-body {
    margin-left: 0;
    width: 100%!important;
}
    #block-views-block-gotuemo-block-statti footer {
    margin-top: 220px !important;
}
    #block-views-block-gotuemo-block-statti .views-field.views-field-view-node {
    margin-top: 30px;
    margin-left: 0;
}
    #block-views-block-gotuemo-block-block-1 .views-slideshow-controls-bottom.clearfix {
    display: none;
}
    #block-views-block-gotuemo-block-block-1 footer {
    margin-top: 220px;
}
    #block-views-block-gotuemo-block-block-1 .views-field-view-node a, #block-views-block-gotuemo-block-statti .views-field-view-node a {
    margin-top: 0!important;
}
    #block-forteachers h2 {
   text-align: center;
margin: 10px 0 60px 0!important;
    }
    #block-views-block-gotuemo-block-statti .views-field-title, #block-views-block-gotuemo-block-block-1 .views-field-title {
    text-align: center;
}
    #block-views-block-gotuemo-block-statti .views-field.views-field-field-image {
    float: right;
}
}

