/* адаптировано для Шаблона 2018 сайта school.edu.by - (c) ADM.EDU.BY  */
/* **************** */
/*                  */
/*  Шаблон 2018     */
/*  v20181008       */
/*                  */
/* **************** */

ul.bxslider {
    padding: 0;

}
.bx-wrapper {
    position: relative;
    margin: 0 auto 20px;
    *zoom: 1;
margin: 0 0 30px 0;

}


.bx-wrapper img {
    max-width: 100%;
height:100px;
    display: block;
    margin: 0 auto;

}
.slider-img {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;

    margin: 0 auto;
    max-height: 400px;
    overflow: hidden;
    position: relative;
}
.slider-img:before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 44%;
}

.slider-img2 {
    background-position: 80%;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;

    height:250px;
    overflow: hidden;
    position: relative;
}

.slider-img2:before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 44%;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
    /*fix other elements on the page moving (on Chrome)*/
    
    -webkit-transform: translatez(0);
    -moz-transform: translatez(0);
    -ms-transform: translatez(0);
    -o-transform: translatez(0);
    transform: translatez(0);
    background: #D1ECFF;
border-bottom:0px solid #288ac8;
border-radius:10px;
 box-shadow: 0 0 5px #444444;


}
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
    position: absolute;
    width: 100%;

}
/* LOADER */

.bx-wrapper .bx-loading {
    min-height: 50px;
    background: url(/sm.aspx?guid=2103) center center no-repeat #fff;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
}
/* PAGER */

.bx-wrapper .bx-pager {
    text-align: center;
    font-size: .85em;
    font-family: Arial;
    font-weight: bold;
    color: #777;



}
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
    display: inline-block;
    *zoom: 1;
    *display: inline;

}
.bx-default-pager {margin: 0 0px 0 0; color:white; }
.bx-wrapper .bx-pager.bx-default-pager a {
    background: white;
    text-indent: -9999px;
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 5px 0 5px;
    border-radius: 10px;
box-shadow: 0 0 10px black;

}
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: #dd0a35;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: #dd0a35;
}
/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
    left: 0px;    
    margin: 10px;
}
.bx-wrapper .bx-next {
    right: 0px;
    margin: 10px;
}
.bx-wrapper .bx-prev:hover {
    background-position: 0 0;
}
.bx-wrapper .bx-next:hover {
    background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
    position: absolute;
    bottom: 50%;
    margin-top: -16px;
    outline: 0;
    width: 32px;
    height: 32px;
    z-index: 998;
    opacity: .5;
}

.bx-wrapper .bx-controls-direction a:hover{opacity: 1}
.bx-wrapper .bx-controls-direction a.disabled {
    display: none;
}
/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
    text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
    display: block;    
    outline: 0;   
    margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
    background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
    display: block;

    outline: 0;
    margin: 0 3px;

}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
    background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
    text-align: center;
    width: 100%;

}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
    right: 0;
    width: 35px;
}
.bx-controls {
    margin-top: -20px;
margin-bottom:21px;
}


/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #666\9;
    background: rgba(80, 80, 80, 0.75);
    width: 100%;
}
.bx-wrapper .bx-caption span {
    color: #fff;
    font-family: Arial;
    display: block;
    font-size: .85em;
    padding: 10px;
}
/* TEXT */

.slider-text {
    left: 10px;
    bottom: 10px;
    position: absolute;
    width: 15%;
    background: rgba(255, 255, 255, .5);
    padding: 0.5em;
    padding-left:1em;
    border-radius: 2px;
}

#slider {
    position:relative;
}

#slider img {
    width:100%;
    display:block;
}


@keyframes fade {
  0%   { opacity: 0; }
  11.11%   { opacity: 1; }
  33.33%  { opacity: 1; }
  44.44%  { opacity: 0; }
  100% { opacity: 0; }
}
