/* General Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, hr, button{
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background: none;
}
ol, ul {list-style:none;}
h1, h2, h3, h4, h5, h6, li {line-height:100%;}
blockquote, q {quotes:none;}
q:before,
q:after {content:"";}
table {border-collapse:collapse; border-spacing:0;}
input,textarea,select{
    font:13px 'Calibri', Arial, sans-serif;
    vertical-align:middle;
    padding:0;
    margin:0;
}
textarea{
    overflow:auto;
    resize:none;
}
form,fieldset{border-style:none;}
html{height:100%;}
body{
    color:#303030;
    /*background-color: #F1F1F3;*/
    font:16px/18px "Arial", sans-serif;
    
    background:#fff url(/addons/default/themes/mokyklos/img/bg_body.png) repeat;
    min-width:970px;
    height:100%;
    overflow-y:scroll;
}
a{
    color:#9F5F61;
    text-decoration:underline;
}
a:hover{text-decoration:none;}
a:focus{outline:none;}

/* General settings */
.wrapper{ margin:0 auto; width:970px; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{text-decoration:none;}
h1, h2, h3, h4, h5, h6{
    font-weight:bold;
}

/*header*/
#header{
    width:100%;
}

#header .header{
    position: relative;
    z-index: 999;
    width:100%;
    overflow:hidden;
    /*background:url(/addons/default/themes/mokyklos/img/bg_header.png) repeat-x 0 0; */
    height:136px;
}
#header.sub-head .header{
    height:398px;
    overflow: visible;
}
#header.sub-head .header:after {
    height: 10px;
    width: 100%;
    position: absolute;
    bottom: -46px;
    content: "";
    left: 0;
    z-index: 0;
    /*background: url(/addons/default/themes/mokyklos/img/bg_slider_mask.png) repeat 50% 0;*/
}
#header .header .left{
    padding:20px 0 0 4px;
    float:left;
    font-size: 12px;
    line-height: 18px;
    color: #858585;
    width: 500px;
}
#header .header .left h2{
    font-family: 'Bree Serif', serif;; 
    font-weight: bold;
    font-size: 21px;
    padding: 0 0 10px;
    color: #584040;
}
#header .social{
    padding: 20px 0 0 0;
    width: 200px;
    float:right;
}
#header .social ul {
    float:right;
}
#header .social ul li {
    float:left;
    padding: 0 0 0 7px;
}
#logo{
    width:160px;
    height:136px;
    float:left;
    margin:1px 5px;
    cursor:pointer;
    text-indent:-9999em;
    background:url(/addons/default/themes/mokyklos/img/logo.png) no-repeat;
}
#header .featured_slider{
    height: 403px;
    margin: 0 0 -40px;
    position: relative;
    overflow: hidden;
    top: 5px;
}

#header .right form {
    background: url("/addons/default/themes/mokyklos/img/bgr_search.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: right;
    height: 28px;
    margin: 8px 0 0;
    width: 199px;
    position: relative;
    top: 10px;
}
#header .right form input[type="submit"] {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    cursor: pointer;
    float: left;
    height: 28px;
    margin: 0;
    padding: 0;
    width: 20px;
}
#header .right form input[type="text"] {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    color: #999999;
    float: left;
    font-size: 12px;
    line-height: 15px;
    margin: 0;
    padding: 6px;
    width: 160px;
}
#header .featured_slider:after{
    height: 10px;
    width: 100%;
    position: absolute;
    bottom: 0;
    content: "";
    left: 0;
    z-index: 99;
    /*background:url(/addons/default/themes/mokyklos/img/bg_slider_mask.png) repeat 50% 0; */
}
#header .featured_slider .wrapper{
    position: relative;
    padding: 15px 0 0;
}
#header .featured_slider .text{
    background:url(/addons/default/themes/mokyklos/img/bg_caption.png);
    width: 180px;
    color: #3c3c3c;
    float: left;
    margin: -18px 0 0 50px;
    min-height: 219px;
    padding: 70px 33px 15px;
}
#header .featured_slider h2{
    font-size: 36px;
    line-height: 36px;
    color: #3c3c3c;
    padding: 0 0 10px;
    font-weight: normal;
    font-family: 'Calibri', Arial, sans-serif;
}
#header .featured_slider p{
    font-size: 16px;
    line-height: 20px;
    padding: 0 0 10px;
    color: #3c3c3c;
}
#header .featured_slider .slides{
    width: 100% !important;
}
#header .featured_slider .item{
    width: 100% !important;
}
#header .featured_slider .image{
    position: absolute;
    top: 0;
    left: 50%;
    margin: 0 0 0 -1000px;
    width: 2000px;
    text-align: center;
}
#sidebar .widget.time{
    padding:17px 15px 0;
}
#sidebar .widget.time h3{
    font-size:16px;
    text-transform:uppercase;
    background:url(/addons/default/themes/mokyklos/img/ico_time.png) no-repeat 0 0;
    padding:0 0 0 32px;
    height:22px;
    margin: 0;
    border: 0;
    line-height:20px;
}
#sidebar .widget.time .link{
    text-align: left;
    padding:10px 10px 0 0;
    border-top: 1px solid #e1e0e2;
    font-style:none;
}
#sidebar .widget.time .link a{
    display:block;
    color:#303030;
    background:url(/addons/default/themes/mokyklos/img/ico_link_new.png) no-repeat 100% 50%;
}
#sidebar .widget.time ul{
    overflow: hidden;
    padding:5px 0 10px 33px;
}
#sidebar .widget.time ul li{
    padding:4px;
    float:left;
    border: 0;
    white-space:nowrap;
    clear:both;
}
#sidebar .widget.time ul li.current{
    background:#303030;
    color:#fff;
}
#slider .btn-prev{
    position: absolute;
    top: 187px;
    left: 29px;
    z-index: 999;
    float: left;
    background: url(/addons/default/themes/mokyklos/img/bg_arrows_s.png) no-repeat -3px 50%;
    height:83px;
    width: 21px;
}
#slider .nav{
    position: absolute;
    top: 35px;
    z-index: 999;
    left: 0;
    float:left;
    padding:0 0 0 77px;
}
#slider .nav a{
    float:left;
    background: #fff;
    width:10px;
    height:10px;
    margin:0 2px 0 2px;
    text-indent:-999em;
    border-radius: 10px;
}
#slider .nav a.activeSlide{
    background: #9F5F61;
}
#slider .btn-next{
    position: absolute;
    top: 187px;
    left: 296px;
    z-index: 999;
    float: left;
    background: url(/addons/default/themes/mokyklos/img/bg_arrows_s.png) no-repeat -28px 50%;
    height:83px;
    width:21px;
}
#slider .bottom .nav{
    top: 190px;
    left: auto;
    z-index: 999;
    right: 10px;
    float: left;
}
#slider .bottom .nav a{
    background: #fff;
}
#slider .bottom .nav a.activeSlide{
    background: #9F5F61;
}
#header .featured_slider .bottom .text{
    position: absolute;
    left: 100px;
    height: 85px;
    padding: 15px 190px 0 50px;
    margin: 0;
    top: 225px;
    width: 530px;
    min-height: 0;
}
#header .featured_slider .bottom .more{
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 20px 24px;
}
#header .featured_slider .bottom h2{
    padding: 0 0 5px;
}
#slider .bottom .btn-prev{
    background: url(/addons/default/themes/mokyklos/img/bg_arrows_s.png) no-repeat 0 50%;
    top: 225px;
    left: 85px;
    height:100px;
    width:25px;
}
#slider .bottom .btn-next{
    background: url(/addons/default/themes/mokyklos/img/bg_arrows_s.png) no-repeat -25px 50%;
    height:100px;
    left: auto;
    right: 85px;
    top: 225px;
    width:25px;
}
#header .featured_slider .right .wrapper{
    width: 250px;
    left: 290px;
}
#header .featured_slider .bottom h2{
    padding: 0 0 5px;
}
#slider .bottom .btn-prev{
    background: url(/addons/default/themes/mokyklos/img/bg_arrows_s.png) no-repeat 0 50%;
    top: 225px;
    left: 85px;
    height:100px;
    width:25px;
}
#slider .bottom .btn-next{
    background: url(/addons/default/themes/mokyklos/img/bg_arrows_s.png) no-repeat -25px 50%;
    height:100px;
    left: auto;
    right: 85px;
    top: 225px;
    width:25px;
}
#slider .top .nav{
    top: 20px;
    left: auto;
    z-index: 999;
    right: 80px;
    float: left;
}
#slider .top .nav a{
    background: #fff;
}
#slider .top .nav a.activeSlide{
    background: #9F5F61;
}
#header .featured_slider .top .text{
    position: absolute;
    left: auto;
    right: 0;
    min-height: 0;
    height: 85px;
    padding: 15px 190px 0 50px;
    margin: 0;
    top: 45px;
    width: 330px;
}
#header .featured_slider .top .more{
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 20px 24px;
}
#header .featured_slider .top h2{
    padding: 0 0 5px;
}
#slider .top .btn-prev{
    background: url(/addons/default/themes/mokyklos/img/bg_arrows_s.png) no-repeat 0 50%;
    top: 45px;
    left: 375px;
    height:100px;
    width:25px;
}
#slider .top .btn-next{
    background: url(/addons/default/themes/mokyklos/img/bg_arrows_s.png) no-repeat -25px 50%;
    height:100px;
    left: auto;
    right: -25px;
    top: 45px;
    width:25px;
}
#slider .more{
    background: url(/addons/default/themes/mokyklos/img/btn_yellow.png) repeat;
    border-radius: 5px;
    height: 29px;
    width: 102px;
    padding: 0 10px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    float: left;
    font-weight: bold;
    position: relative;
    text-transform: !important;
    font-size: 12px;
    line-height: 29px;
    margin: 10px 0;
}
/*menu*/
#menu {
width: 100%;
margin: -5px 0 2px;
position: relative;
z-index: 999;
height: 49px;
top:5px;
}
.sub-head #menu{
    margin:-15px 0 -4px;
}
#menu ul{
    position:relative;
    display: table;
    z-index:99;
    width: 100%;
}
#menu li{
    display:table-cell;
    width:1%;
    background: #9F5F61; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#9F5F61, #9F5F61); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#9F5F61, #9F5F61); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#9F5F61, #9F5F61); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#9F5F61, #9F5F61);
    position:relative;
    text-align: center;
    z-index:3;
}
#menu li div{
    position:relative;
    height: 35px;
}
#menu li.last{
    z-index:2;
}
#menu li.current,
#menu li.has_current,
#menu li:hover{
    background: #584040; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#584040, #584040); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#584040, #584040); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#584040, #584040); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#584040, #584040);
}
#menu li a:hover{
    text-decoration:none;
}
#menu li a{
    border-right:1px solid #fff;
    font-family: 'Calibri', Candara, Segoe, "Segoe UI", Optima, sans-serif Arial,;
    height:35px;
    color:#fff;
    text-transform:uppercase;
    line-height:35px;
    padding:0 27px 0 26px;
    white-space: nowrap;
    font-size:14px;
    text-decoration:none;
    display:block;
}
#menu li.first{
    background-position:0 0;
    border-radius: 4px 0 0 4px;
}
#menu li.last{
    background-position:100% 0;
    border-radius: 0 4px 4px 0;
}
#menu li.last.has_current{
    background-position:100% -49px;
}
#menu li.first:hover,
#menu li.first.current{
    color:#fff;
    background-position:0 -49px;
}
#menu li.last a{
    border: 0;
}
#menu li.last:hover,
#menu li.last.current{
    color:#fff;
    background-position:100% -49px;
}
#menu li.has_current a,
#menu li.current a,
#menu li:hover a{
    color:#E58C28;
}
#menu li ul{
    display:none;
    position:absolute;
    top:30px;
    width:950px !important;
    overflow:hidden;
    z-index:999;
    padding: 10px 0 0;
    height: 28px;
    background:none !important;
    left:0;
}
#menu li ul ul{
    display:none !important;
}
#menu li.right ul li a,
#menu li.right ul li{
    float: none!important;
    white-space: nowrap;
    display: inline-block;
    margin-left: -5px!important;
    border-left: 1px solid #fff;
}
#menu li.right ul{
    right: 0;
    left: auto;
    float: none;white-space: nowrap;
}
#menu li.has_children.has_current ul,
#menu li.has_children.current ul{
    display: block;
}
#menu li.hover ul{
    z-index: 9999;
}
#menu li ul li{
    background: #9F5F61; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#9F5F61, #9F5F61); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#9F5F61, #9F5F61); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#9F5F61, #9F5F61); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#9F5F61, #9F5F61);
    width:auto !important;
    float:left !important;
    overflow:hidden;
    display: block;
    height: 28px;
    padding:0 !important;
    margin:0 !important
}
#menu li ul li.first{
    border-radius: 4px 0 0 4px;
}
#menu li ul li.last{
    border-radius: 0 4px 4px 0;
}
#menu li ul li.current,
#menu li ul li:hover{
    background: #584040; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#584040, #584040); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#584040, #584040); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#584040, #584040); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#584040, #584040);
}
#menu li ul li a{
    color:#fff !important;
    float:left !important;
    font-size:12px;
    height:auto;
    padding:0 15px !important;
    margin:0 !important;
    text-transform: uppercase;
    text-decoration:none;
    line-height:28px;
    font-style:normal;
    display:block !important;
    background:none !important;
    font-size:11px;
    padding:0px 9px !important;
}

#menu li ul li a:hover,
#menu li ul li.current a,
#menu li ul li:hover a {
    color: #E58C28 !important;
    text-decoration:none;
}
/*body*/
#container{
    width:100%;
    overflow:hidden;
    position:relative;
}
.home_page #container{
    /*display:none;*/
}
#body{
    width:100%;
    overflow:hidden;
    /*background-color: #F1F1F3;*/
    background:#fff url(/addons/default/themes/mokyklos/img/bg_body.png) repeat;
    padding:45px 0 55px;
}
#body h1{
    font-size:22px;
    text-transform:uppercase;
    padding:0 0 9px;
    margin:0 0 10px;
    border-bottom:2px solid #9F5F61;
}
#body .pagination{
    color:#303030;
    font-size:14px;
    overflow:hidden;
    text-align:center;
    padding:6px 0 20px;
}
#body .pagination div{
    display:inline-block;
}
#body .pagination .prev a{
    background:url(/addons/default/themes/mokyklos/img/ico_pag_l.png) no-repeat 0 50%;
    width:auto;
    padding:0 0 0 25px;
}
#body .pagination .next a{
    background:url(/addons/default/themes/mokyklos/img/ico_link_new.png) no-repeat 100% 50%;
    padding:0 25px 0 0;
    width:auto;
}
#body .pagination ul{
    display:inline-block;
    padding:0 20px;
}
#body .pagination a{
    display:inline-block;
    font-style:none;
    width:17px;
    height:17px;
    text-align:center;
    line-height:17px;
    color:#303030;
}
#body .pagination a.current, #body .pagination li.current{
    background:url(/addons/default/themes/mokyklos/img/bgr_page_current.png) no-repeat;
    color:#fff;
    text-decoration:none !important;
    width: 17px;
    height: 17px;
}
#body .pagination li{
    display:inline-block;
    padding:2px 0;
}
#body .pagination .disabled a{
    opacity:0.6;
    filter: alpha(opacity = 60);
    text-decoration:none !important;
}
#body .breadcrumbs{
    color:#858585;
    font-size:11px;
    overflow:hidden;
    padding:6px 0 20px;
}
#body .breadcrumbs .logout{
    float:right;
    font-size:12px;
    color:#303030;
    font-style:none;
}
#body .breadcrumbs .logout a{
    color:#303030;
    float:none;
    background:url(/addons/default/themes/mokyklos/img/ico_link_new.png) no-repeat 100% 5px;
    margin:0;
    padding:0 29px 0 3px;
}
#body .breadcrumbs a{
    float:left;
    background:url(/addons/default/themes/mokyklos/img/bgr_breadcrumbs.png) no-repeat 100% 50%;
    padding:0 14px 0 0;
    color:#858585;
    margin:0 5px 0 0;
}
#body .breadcrumbs span{
    float:left;
}
#body .entry .students_box{
    overflow:hidden;
    margin:4px 0 35px;
}
#body .entry .students_box h3 {
    background:url(/addons/default/themes/mokyklos/img/ico_time.png) no-repeat 3px 0;
    padding:0 0 3px 40px;
    margin:4px;
    text-transform:uppercase;
    font-size:15px !important;
    height:24px !important;
    line-height:22px !important;
}

.attention_box h3{
    background:url(/addons/default/themes/mokyklos/img/ico_attention.png) no-repeat 3px 0 !important;
}

/*.time_count h3{
    background:url(/addons/default/themes/mokyklos/img/ico_time.png) no-repeat 3px 0;
    padding:0 0 3px 40px;
    margin:4px;
    text-transform:uppercase;
    font-size:15px;
    height:24px;
    line-height:22px;
}*/

.students_box_inline .time_count {
    float: left;
    width: 219px;
    background: url(/addons/default/themes/mokyklos/img/bgr_time_left.png) no-repeat;
    border: 1px solid #CCC;
    padding: 10px 0 0 15px;
}
#body .entry .students_box_inline {
    overflow: hidden;
    margin: 0 20px 10px 0;
    float: left;
}

.time_count{
    float:left;
    width:234px;
    background:url(/addons/default/themes/mokyklos/img/bgr_time_left.png) repeat-y -234px 0;
}
.time_count .count{
    overflow:hidden;
    padding: 10px 0 15px 0;
    margin: 0 -20px 0 0;
}
.time_count .count .div{
    float:left;
    font-size:20px;
    font-weight:bold;
    padding:8px 2px 0 0px;
    margin:0 0 0 -1px;
    color:#000;
}
.time_count .count .item{
    float:left;
    position:relative;
    background:url(/addons/default/themes/mokyklos/img/bgr_time_count.png) no-repeat 0 0;
    color:#fff;
    line-height:36px;
    font-size:20px;
    padding:0 0 0 7px;
    text-align:center;
    font-weight:bold;
}
.time_count .count .item span{
    float:left;
    position:relative;
    background:url(/addons/default/themes/mokyklos/img/bgr_time_count.png) no-repeat 100% 0;
    height:38px;
    padding:0 12px 0 0;
}
.time_count .count .item h6{
    text-align:center;
    font-size:11px;
    padding:0 10px 0 0;
    color:#303030;
    display:block;
}
.time_count p{
    font-size:11px;
    line-height:16px;
    font-style:none;
    padding:5px;
}
.time_count .body{
    background:url(/addons/default/themes/mokyklos/img/bgr_time_left.png) no-repeat 0 100%;
}
.time_count .top{
    overflow:hidden;
    width:204px;
    min-height:170px;
    padding:15px;
    background:url(/addons/default/themes/mokyklos/img/bgr_time_left.png) no-repeat -468px 0;
}

.attention_box h3{
    background: url(/addons/default/themes/mokyklos/img/ico_attention.png) no-repeat 3px 0;
    padding: 0 0 3px 40px !important;
    margin: 4px;
    text-transform: uppercase;
    font-size: 15px;
    height: 24px;
    line-height: 22px;
}
.attention_box{
float:right;
    width:444px;
    background:url(/addons/default/themes/mokyklos/img/bgr_attention_box.png) repeat-y -444px 0;
}
.attention_box .body{
    background:url(/addons/default/themes/mokyklos/img/bgr_attention_box.png) no-repeat 0 100%;
}
.attention_box .top{
    overflow:hidden;
    width:414px;
    min-height:165px;
    padding:15px 15px 0px 15px;
    background:url(/addons/default/themes/mokyklos/img/bgr_attention_box.png) no-repeat -888px 0;
}
.attention_box .text{
    padding:8px 6px 0 !important;
    margin:0 0 -2px;
    float:left;
    width:250px;
}
.attention_box .text p{
    padding: 0;
}

.attention_box .profile{
    padding:8px 0 0 19px;
    float:right;
    height:120px;
    border-left:1px solid #e1e0e2;
    width:117px;
}
.attention_box .profile img{
    display:block;
    margin:0 0 8px;
}
.attention_box .profile h4{
    font-size:11px;
    line-height:18px;
    font-weight:bold;
}
.attention_box .profile p{
    font-size:11px;
    line-height:18px;
}
#body .entry .left_img{
    float:left;
    padding:5px 20px 0 0;
}
#body .entry .cols{
    overflow:hidden;
    padding:0 0 30px;
}
#body .entry .map{
    margin:0 0 42px;
}
#body .entry form{
    margin:10px 0 62px;
}
#body .entry fieldset{
    overflow:hidden;
    margin:0 0 12px;
}
#body .entry label{
    float:left;
    width:112px;
    line-height:28px;
}
#body .entry form p{
    margin:0;
    padding:0;
}
#body .entry input[type=text]{
    float:left;
    width:112px;
    background:url(/addons/default/themes/mokyklos/img/bgr_input.png) no-repeat;
    width:233px;
    padding:5px 8px;
    height:18px;
    line-height:18px;
    color:#858585;
    font-size:12px;
    border:0;
}
#body .entry .big input[type=text]{
    background:url(/addons/default/themes/mokyklos/img/bgr_input_big.png) no-repeat;
    width:423px;
}
#body .entry input[type=submit], #body .entry button[type=submit], .paieska input[type=submit] {
    float:left;
    background:url(/addons/default/themes/mokyklos/img/btn_more.png) no-repeat;
    width:105px;
    height:31px;
    line-height:28px;
    padding:0 10px;
    margin:5px 0 0 112px;
    text-align:left;
    cursor:pointer;
    font-size:14px;
    font-family:'Calibri', Arial, sans-serif;
    color:#fff;
    font-style:none;
    border:0;
}
#body .entry input[type=submit]:hover{
    background-position:0 -31px;
}
#body .entry textarea{
    float:left;
    background:url(/addons/default/themes/mokyklos/img/bgr_textarea.png) no-repeat;
    width:423px;
    padding:5px 8px;
    height:108px;
    line-height:18px;
    color:#858585;
    font-size:14px;
    border:0;
}
#body .entry .cols .col_l{
    float:left;
    width:260px;
}
#body .entry .cols .col_r{
    float:right;
    width:400px;
}
#body .entry .left_img img{
    display:block;
}
#body .entry .gallery_box{
    padding:4px 0 78px 0;
    overflow:hidden;
    margin:0 -60px 0 0;
}
#body .entry .gallery_box_inner{
    padding:4px 0 0 0;
}
#body .entry .gallery_box li{
    float:left;
    width:178px;
    padding:0 0 27px;
    position:relative;
}
#body .entry .gallery_box_inner li{
    float:left;
    width:178px;
    padding:0 0 17px;
    position:relative;
}
#body .entry .gallery_box li img{
    display:block;
}
#body .entry .gallery_box.limit999 li img{
    width: 161px;
    height: 108px;
}

#body .entry .gallery_box li a{
    display:block;
    position:relative;
}
#body .entry .gallery_box li a span{
    display:none;
    position:absolute;
    width:153px;
    height:100px;
    top:0;
    left:0;
    border:4px solid #9F5F61;
}
#body .entry .gallery_box li a:hover span{
    display:block;
}
#body .entry .gallery_box li .date{
    font-size:11px;
    color:#858585;
    padding:12px 0 4px;
}
#body .entry .gallery_box h3{
    line-height:18px;
}
#body .entry .gallery_box h3 a{
    color:#303030;
    text-decoration:none;
}
#body .entry .gallery_box h3 a:hover{
    text-decoration:underline;
}
#body .entry .gallery_box.limit1 li {
    width: 698px;
}
#body .entry .gallery_box.limit1 li a span {
    border: 4px solid #9F5F61;
    height: 462px;
    width: 690px;
}
#body .entry .gallery_box.limit2 li {
    padding-right: 22px;
    width: 337px;
}
#body .entry .gallery_box.limit2 li a span {
    border: 4px solid #9F5F61;
    height: 208px;
    width: 329px;
}

#body .entry .gallery_box.limit3 li {
    padding-right: 22px;
    width: 192px;
}
#body .entry .gallery_box.limit3 li a span {
    border: 4px solid #9F5F61;
    height: 120px;
    width: 184px;
}




#body .entry .faq_accordion{
    padding:4px 0 58px 0;
}
#body .entry .faq_accordion h3{
    background:url(/addons/default/themes/mokyklos/img/bgr_accordion_more.png) no-repeat 0 2px;
    padding:0 0 12px 25px;
    width:673px;
}
#body .entry .faq_accordion h3 a{
    text-decoration:underline;
}
#body .entry .faq_accordion h3 a:hover{
    text-decoration:none;
}
#body .entry .faq_accordion .content{
    padding:3px 0 10px 25px;
    width:670px;
    display:none;
}
#body .entry .faq_accordion h3.active{
    background-position:0 1px;
    text-decoration:none;
    background-image:url(/addons/default/themes/mokyklos/img/bgr_accordion_less.png);
}
#body .entry .faq_accordion h3 a:hover,
#body .entry .faq_accordion h3.active a{
    text-decoration:none;
}
#body .entry h3{
    font-size:18px;
    font-weight:bold;
    padding:0 0 15px;
}
#body .entry sup{
    font-size:9px;
    position:relative;
    top:-4px;
}
#body .entry sub{
    font-size:9px;
    position:relative;
    top:4px;
}
#body .entry table{
    width:100%;
    margin:0 0 20px;
}
#body .entry table.noborder tr{
    border-bottom:0;
}
#body .entry table tr{
    border-bottom:1px solid #e1e1e1;
}
#body .entry table th{
    text-align:left;
    font-size:16px;
    font-weight:normal;
    color:#fff;
    background:#9F5F61;
    vertical-align:middle;
    /*padding:7px 12px;*/
}
#body .entry table th.qnt{
    text-align: center;
}
#body .entry table td{
    vertical-align:middle;
    /*padding:10px 12px;*/
}
#body .entry table td.name{
    width:310px;
}
#body .entry table td.qnt{
    text-align: center;
}
#body .entry blockquote{
    overflow:hidden;
    padding:30px 0 50px 0;
    font-style:none;
    background:url(/addons/default/themes/mokyklos/img/bgr_quote.png) no-repeat 0 0;
}
#body .entry blockquote cite{
    float:right;
    padding:20px 0 0;
    font-size:11px;
}
#body .entry blockquote cite strong{
    font-weight:bold;
    font-style:normal;
}
#body .entry .list{
    padding:26px 0 18px 54px;
}
#body .entry .list h3{
    font-size:14px;
    font-weight:bold;
    padding:0 0 2px;
}
#body .entry .list li{
    background:url(/addons/default/themes/mokyklos/img/ico_list_bullet.png) no-repeat 2px 4px;
    padding:0 0 0 18px;
    font-style:none;
    margin:10px 0 0;
}
#body .entry .num_list{
    padding:26px 0 48px 54px;
}
#body .entry .num_list li{
    background:none;
    padding:0 0 0;
    font-style:normal;
    margin:10px 0 0;
    font-weight:bold;
    color:#f0e361;
    list-style:decimal inside;
}
#body .entry .num_list li span{
    font-style:none;
    font-weight:normal;
    color:#303030;
    padding:0 0 0 5px;
}
#body .entry .downloads{
    overflow:hidden;
    padding:40px 50px 18px;
}
#body .entry .downloads li{
    padding:0 0 35px;
    float:left;
}

.link-file {
    line-height: 35px;
    overflow: hidden;
}
a span.pdf{
    background: url(/addons/default/themes/mokyklos/img/ico_pdf.png) no-repeat 0 0;
    min-height: 35px;
    padding: 0 0 0 35px;
    float: left;
    display: block;
}
a:hover span.pdf {
    background-image:url(/addons/default/themes/mokyklos/img/ico_pdf_h.png);
}

a span.doc{
    background: url(/addons/default/themes/mokyklos/img/ico_doc.png) no-repeat 0 0;
    min-height: 35px;
    padding: 6px 0 0 35px;
    line-height: 18px;
    float: left;
    display: block;
}
a:hover span.doc {
    background-image:url(/addons/default/themes/mokyklos/img/ico_doc_h.png);
}

a span.ppt{
    background: url(/addons/default/themes/mokyklos/img/ico_ppt.png) no-repeat 0 0;
    min-height: 35px;
    padding: 6px 0 0 35px;
    line-height: 18px;
    float: left;
    display: block;
}
a:hover span.ppt {
    background-image:url(/addons/default/themes/mokyklos/img/ico_ppt_h.png);
}

a span.xls{
    background: url(/addons/default/themes/mokyklos/img/ico_xls.png) no-repeat 0 0;
    min-height: 35px;
    padding: 6px 0 0 35px;
    line-height: 18px;
    float: left;
    display: block;
}
a:hover span.xls {
    background-image:url(/addons/default/themes/mokyklos/img/ico_xls_h.png);
}

#body .entry .downloads li a{
    background: url(/addons/default/themes/mokyklos/img/ico_pdf.png) no-repeat 0 0;
    min-height: 35px;
    padding: 6px 0 0 35px;
    margin: 0 55px 0 0;
    line-height: 18px;
    float: left;
}
#body .entry .downloads li a:hover{
    color:#303030;
    background-image:url(/addons/default/themes/mokyklos/img/ico_pdf_h.png);
}
#body .entry .downloads li a.ico_doc{
    background-image:url(/addons/default/themes/mokyklos/img/ico_doc.png);
}
#body .entry .downloads li a.ico_doc:hover{
    color:#303030;
    background-image:url(/addons/default/themes/mokyklos/img/ico_doc_h.png);
}
#body .entry p{
    line-height:18px;
    padding:0 0 9px;
}
#body .entry .more{
    overflow:hidden;
}
#body .entry .more a, .buttons__btn_more {
    padding:0 30px 0 0;
    font-style:none;
    margin:5px 0;
    float:right;
    color:#303030;
    background:url(/addons/default/themes/mokyklos/img/ico_link_new.png) no-repeat 100% 50%;
}
#body .blog_box{
}
#body .blog_box .comments{
    padding:20px 0 0;
}
#body .blog_box .comments h3{
    font-size:17px;
    text-transform:uppercase;
    padding:0 0 9px;
    margin:0 0 12px;
    border-bottom:1px solid #f0e361;
}
#body .blog_box .comments h4{
    font-size:16px;
    padding:0 0 9px;
    margin:0 0 14px;
}
#body .blog_box .comments img{
    display:block;
}
#body .blog_box .comments .comments_list{
    margin:0 0 25px;
}
#body .blog_box .comments .comments_list_site{
    margin:0 0 45px;
}
#body .blog_box .comments .comments_list_site li{
    border-bottom:1px solid #e1e0e2;
    padding:15px 5px 20px;
    margin:0 0 5px;
    overflow:hidden;
}
#body .blog_box .comments .comments_list_site li .avatar{
    float:left;
    padding:0 15px 0 0;
}
#body .blog_box .comments .comments_list_site li .text{
    float:left;
    width:600px;
}
#body .blog_box .comments .comments_list_site li .date{
    color:#858585;
    font-size:11px;
    line-height:11px;
    padding:0 0 10px;
}
#body .blog_box .comments .comments_list_site li h4{
    color:#303030;
    font-size:12px;
    margin:0;
    padding:0 0 12px;
}
#body .blog_box .comments .comments_list_site li p{
    line-height:18px;
}
#body .blog_box .comments .comments_list_site li h4 a{
    text-decoration:underline;
}
#body .blog_box .comments .comments_list_site li h4 a:hover{
    text-decoration:none;
}
#body .blog_box .respond{
    margin:0 0 63px;
}
#body .blog_box .respond fieldset{
    overflow:hidden;
    margin:0 0 12px;
}
#body .blog_box .respond label{
    float:left;
    width:112px;
    line-height:28px;
}
#body .blog_box .respond input[type=text]{
    float:left;
    width:112px;
    background:url(/addons/default/themes/mokyklos/img/bgr_input.png) no-repeat;
    width:233px;
    padding:5px 8px;
    height:18px;
    line-height:18px;
    color:#858585;
    font-size:12px;
    border:0;
}
#body .blog_box .respond input[type=submit]{
    float:left;
    background:url(/addons/default/themes/mokyklos/img/btn_comment.png) no-repeat;
    width:125px;
    height:31px;
    line-height:28px;
    padding:0 10px;
    margin:5px 0 0 112px;
    text-align:left;
    cursor:pointer;
    font-size:14px;
    font-family:'Calibri', Arial, sans-serif;
    color:#fff;
    font-style:none;
    border:0;
}
#body .blog_box .respond input[type=submit]:hover{
    background-position:0 -31px;
}
#body .blog_box .respond textarea{
    float:left;
    width:112px;
    background:url(/addons/default/themes/mokyklos/img/bgr_textarea.png) no-repeat;
    width:423px;
    padding:5px 8px;
    height:108px;
    line-height:18px;
    color:#858585;
    font-size:12px;
    border:0;
}
#body .blog_box .post{
    border-bottom:1px solid #e1e0e2;
    padding:0 0 8px;
    margin:0 0 19px;
    overflow: hidden;
}
#body .blog_box_post .post{
    border-bottom:0;
    padding:0 0 8px;
    margin:0 0 19px;
}
#body .blog_box .post .metadata{
    padding:0 0 6px;
    color:#858585;
    font-size:11px;
}
#body .blog_box .post .title h2{
    font-size:18px;
    padding:0 0 10px;
    font-weight:bold;
    color:#303030;
    overflow: hidden;
    line-height: 24px;
}

#body .blog_box .post .entry a img.bothsized {
    width: 200px;
    height: auto;
}

#body .news_box{
    margin:0 -50px 0 0;
    overflow:hidden;
}
#body .news_box .col{
    float:left;
    width:205px;
    position:relative;
    margin:0 40px 0 0;
    min-height:440px;
    height:auto;
    padding:0 0 70px 0;
}
#body .news_box .item{
    padding:0 0 14px;
}
#body .news_box h3{
    font-size:17px;
    text-transform:uppercase;
    padding:0 0 9px;
    margin:0 0 10px;
    border-bottom:1px solid #f0e361;
}
#body .news_box p{
    padding:18px 10px 0 0;
}
#body .news_box h4{
    font-size:12px;
    line-height:18px;
}
#body .news_box h4 a{
    text-decoration:underline;
}
#body .news_box h4 a:hover{
    text-decoration:none;
}
#body .news_box .date{
    font-size:11px;
    color:#858585;
    padding:5px 0;
}
#body .news_box .more{
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    padding:10px 0;
    border-top:1px solid #e1e0e2;
}
#body .news_box .more a{
    color:#303030;
    font-style:none;
    background:url(/addons/default/themes/mokyklos/img/ico_link_new.png) no-repeat 100% 50%;
    padding:0 30px 0 0;
}
#body .news_archive{
    overflow:hidden;
    padding:3px 0 45px;
}
#body .news_archive p{
    float:left;
}
#body .news_archive li{
    float:left;
    padding:0 0 0 10px;
    margin:0 -6px 0 0;
}
#body .news_archive li a{
    float:left;
    width:36px;
    height:17px;
    line-height:17px;
    color:#303030;
    text-align:center;
    font-style:none;
}
#body .news_archive li a.current{
    background:url(/addons/default/themes/mokyklos/img/bgr_years.png) no-repeat;
    color:#fff;
    text-decoration:none;
}
#body .news_post{
    padding:0 0 30px;
    margin:-30px 0 0;
}
#body .news_post .entry{
    margin:0 0 -10px;
    position: relative;
    /*width: 450px;*/
}
#body .news_post .entry a:hover span {
    display: block;
}
#body .news_post .entry span {
    border: 4px solid #f0e361;
    display: none;
    height: 112px;
    left: 0;
    position: absolute;
    top: 0;
    width: 162px;
}

#body .renginiai .pic{
    float: left;
    width: 190px;
}
#body .renginiai .entry{
    float: left;
}

#body .news_post .date{
    font-size:11px;
    color:#858585;
    padding:12px 0 4px;
}
#body .news_post h2{
    line-height:18px;
    padding:0 0 5px;
}
#body .news_post a{
    text-decoration:underline;
    font-weight: bold;
}
#body .entry .gallery_box h3 a:hover{
    text-decoration:none;
}
#main_content{
    float:left;
    background: #fff;
    border: 1px solid #e1e0e2;
    border-radius: 8px;
    padding: 15px;
    margin: -15px -15px 15px -5px;
    width:696px;
}
#sidebar{
    float:right;
    width:205px;
    padding: 0 15px 0 0;
}
#sidebar .widget:nth-child(1){
    margin-top: -15px;
}

#sidebar .widget{
    background: #fff;
    border: 1px solid #e1e0e2;
    border-radius: 8px;
    padding: 15px;
    margin: 0 -15px 15px;
}
#sidebar .widget_facebook{
    background: none;
    border: 0;
    padding: 0;
    margin: -15px -15px 15px;
}
#sidebar .widget img{
    display:block;
    /*max-width: 100%;*/
}
#sidebar .widget h3{
    font-size:17px;
    text-transform:uppercase;
    padding:0 0 9px;
    margin:0 0 10px;
    border-bottom:2px solid #9F5F61;
}
#sidebar .widget li{
    padding:10px 0 11px;
    font-style:none;
    border-bottom:1px solid #e1e0e2;
}
#sidebar .widget li a{
    color:#303030;
}
#sidebar .widget li a strong{
    color:#858585;
    font-weight:normal;
}
#sidebar .widget li a span{
    float:left;
    background:url(/addons/default/themes/mokyklos/img/ico_link.png) no-repeat 0 0;
    width:13px;
    height:13px;
    margin:0 12px 0 0;
}
#sidebar .widget li a.current{
    text-decoration:none;
}
#sidebar .widget li a.current span,
#sidebar .widget li a:hover span{
    background-position:0 -13px;
}
#sidebar .widget_newslater{
    padding:0 0 0;
    margin:0 -15px 40px;
    width:234px;
}
#sidebar .widget_newslater h3{
    padding:0 0 0 0;
    margin:12px 15px;
    border:0;
    font-size:15px;
    line-height:18px;
}
#sidebar .widget_newslater h3 a{
    background:url(/addons/default/themes/mokyklos/img/ico_pdf.png) no-repeat 5px 5px;
    padding:0 0 0 38px;
    color:#303030;
    display:block;
}
#sidebar .widget_newslater h3 a:hover{
    background-image:url(/addons/default/themes/mokyklos/img/ico_pdf_h.png);
    text-decoration:none;
}
.widget_rss, #sidebar .widget_news_latest {
    padding: 0 !important;
    margin:0 -15px 25px;
    width:234px;
}
.widget_rss ul, #sidebar .widget_news_latest ul{
    padding:0 0 14px;
}
.widget_rss h3{
    background:url(/addons/default/themes/mokyklos/img/ico_rss.png) no-repeat 5px 0;
    padding:0 0 3px 40px !important;
    margin:20px 0 0;
    border:0;
    font-size:15px;
    height:24px;
    line-height:22px;
}
#sidebar .widget_news_latest h3{
    background:url(/addons/default/themes/mokyklos/img/ico_latest_news.png) no-repeat 5px 0;
    padding:0 0 3px 40px;
    margin:20px 15px 0;
    border:0;
    font-size:15px;
    height:24px;
    line-height:22px;
}
.widget_rss li, #sidebar .widget_news_latest li{
    font-style:normal;
    font-size:12px;
    line-height:18px;
    padding:8px 0 9px !important;
    margin:0 14px 0 18px !important;
    color:#f0e361;
    background: none !important;
}
.widget_rss li.last, #sidebar .widget_news_latest li.last{
    border:0;
}
/*.widget_rss li a, #sidebar .widget_news_latest li a{
    color:#9F5F61;
}*/

#sidebar .widget_newslater h3 strong{
    font-weight:normal;
    color:#39b03b;
}
#sidebar .widget_gallery{
    padding:0;
    margin:0 -15px 40px;
    overflow: hidden;
    width:234px;
}
#sidebar .widget_gallery h3{
    background:url(/addons/default/themes/mokyklos/img/ico_gallery.png) no-repeat 5px 0;
    padding:0 0 3px 40px;
    margin:20px 15px 0;
    border:0;
    font-size:15px;
    height:24px;
    line-height:22px;
}

#sidebar .widget_gallery .item{
    float:left;
    position:relative;
    margin:13px 20px;
}
#sidebar .widget_gallery .item img{
    display:block;
}
#sidebar .widget_gallery .item a{
    display:block;
    position:relative;
}
#sidebar .widget_gallery .item a span{
    display:none;
    position:absolute;
    width:185px;
    height:120px;
    top:0;
    left:0;
    border:4px solid #9F5F61;
}
#sidebar .widget_gallery .item a:hover span{
    display:block;
}
#sidebar .widget_gallery .item .date{
    font-size:11px;
    color:#858585;
    padding:12px 0 2px;
}
#sidebar .widget_gallery .item h4{
    line-height:18px;
}
#sidebar .widget_gallery .item h4 a{
    color:#303030;
    text-decoration:none;
}
#sidebar .widget_gallery .item h4 a:hover{
    text-decoration:underline;
}
#body .entry .faq_accordion{
    padding:4px 0 58px 0;
}
#body .entry .faq_accordion h3{
    background:url(/addons/default/themes/mokyklos/img/bgr_accordion_more.png) no-repeat 0 2px;
    padding:0 0 12px 25px;
    font-size:12px;
    font-weight:normal;
}
#body .entry .faq_accordion h3 a{
    text-decoration:underline;
}
#body .entry .faq_accordion h3 a:hover{
    text-decoration:none;
}
.entry table.noborder{
    border: 0;
}
.entry table{
    width: 100%;
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0 0 15px 0;
}
.entry table.noborder td, .entry table.noborder th{
    border: 0;
}
.entry table td, .entry table th{
    border: 1px solid #ccc;
    padding: 5px;
}
.entry table th{
    background: #eee;
}
.entry fieldset p{
    margin: 15px 0 5px 0;
}
/* Various Tags & Classes */
.entry acronym, .entry abbr, .entry span.caps{
    cursor: help;
}
.entry acronym, .entry abbr{
    border-bottom: 1px dashed #dfcfba;
}
.entry blockquote{
    margin: 15px 0 20px 0;
    padding:0 15px 0 40px;
    background: url(/addons/default/themes/mokyklos/img/bgr_blockquote.png) no-repeat;
}
.entry blockquote cite{
    margin: 5px 0 0;
    display: block;
}
.center{
    text-align: center;
}
.hidden{
    display: none;
}
.nopost, .nocomments{
    text-align:center;
    padding: 20px 0 20px 0;
}
.entry pre, .entry code{
    font-family:mono-space,monospace;
    border: 1px solid #eee;
    padding: 20px;
    display: block;
    margin: 0 0 20px 0;
    overflow: auto;
    white-space: pre;
    font-size: 12px;
    line-height:20px;
}
.entry code{
    padding:1px 20px 0 20px;
    background:#f6f6f6;
    border-top: 0;
    border-bottom: 0;
}
sup{
    position: relative;
    top: -5px;
}
sub{
    position: relative;
    top: 5px;
}
code br{
    display: none;
}
.last{
    margin-right:0 !important;
    clear:right;
}
.clear{
    clear: both;
    line-height: 0;
}


#sidebar .widget_donate{
    padding:0 0 25px;
}
#body .widget_newslater .more{
    padding:10px 0;
    margin:4px 20px;
    border-top:1px solid #e1e0e2;
}
#body .widget_newslater .more a{
    color:#303030;
    font-style:none;
    background:url(/addons/default/themes/mokyklos/img/ico_link_new.png) no-repeat 100% 50%;
    padding:0 30px 0 0;
}


/*footer*/
#footer{
    width:100%;
    overflow:hidden;
    line-height:20px;
    background: #fff;
}
#footer h3{
    font-size:16px;
    text-transform:uppercase;
    padding:0 0 10px;
}
#footer .cols{
    overflow:hidden;
    margin:0 -20px 0 0;
    padding:28px 0 45px;
}
#footer .cols img{
    display:block;
    padding:5px 0 15px;
}
#footer .cols li{
    line-height:20px;
}
#footer .cols p{
    padding:0 0 20px;
}
#footer .cols .col{
    float:left;
    width:200px;
}
#footer .cols .col_2{
    width:190px;
}
#footer .cols .col_3{
    width:210px;
}
#footer .cols .col_4{
    width:150px;
}
#footer .cols .col_5{
    width:230px;
}
#footer a{
    color:#303030;
    font-size: 12px;
}
#footer .bottom{
    width:100%;
    overflow:hidden;
    border-top:1px solid #e1e0e2;
    font-size:11px;
    color:#807f80;
    padding:23px 0 40px;
}
#footer .bottom .left{
    float:left;
}
#footer .bottom .right{
    float:right;
}
#footer .bottom .right img{
    margin:-8px 5px -8px 0;
}
#login_popup{
    background:url(/addons/default/themes/mokyklos/img/bgr_login.png) no-repeat;
    width:387px;
    height:216px;
    margin:-5px -5px 0;
}
#login_popup h3{
    font-size:18px;
    padding:22px 27px 19px;
    text-transform:uppercase;
}
#login_popup fieldset{
    overflow:hidden;
    padding:0 0 12px 27px;
}
#login_popup label{
    float:left;
    width:83px;
    line-height:28px;
}
#login_popup input[type=text], #login_popup input[type=password] {
    float:left;
    width:112px;
    background:url(/addons/default/themes/mokyklos/img/bgr_input.png) no-repeat;
    width:233px;
    padding:5px 8px;
    height:18px;
    line-height:18px;
    color:#858585;
    font-size:12px;
    border:0;
}
#login_popup input[type=submit]{
    float:left;
    background:url(/addons/default/themes/mokyklos/img/btn_login.png) no-repeat;
    width:121px;
    height:31px;
    line-height:28px;
    padding:0 10px;
    margin:5px 0 0 83px;
    text-align:left;
    cursor:pointer;
    font-size:14px;
    font-family:'Calibri', Arial, sans-serif;
    color:#fff;
    font-style:none;
    border:0;
}
#login_popup input[type=submit]:hover{
    background-position:0 -31px;
}
#quick_menu{
    position:fixed;
    width:162px;
    top:50%;
    z-index: 1000;
    right:50%;
    margin:-60px -650px 0 0;
}
#quick_menu .links {
padding: 10px 10px 0;
background: #fff;
border-radius: 7px;
box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
#quick_menu.small, #quick_links.small{
    position:fixed;
    background:url(/addons/default/themes/mokyklos/img/bgr_quick_links.png) no-repeat;
    width:72px;
    height:274px;
    overflow:hidden;
    padding:8px 0 0;
    top:50%;
    right:50%;
    margin:-60px -626px 0 0;
}
#quick_menu .top a, #quick_links .top a {
width: 35px;
height: 30px;
float: left;
position: absolute;
bottom: -26px;
left: 20px;
background: url(/addons/default/themes/mokyklos/img/bgr_quick_links.png) no-repeat -18px 100%;
}
#quick_menu .links a, #quick_links .links a{
    display:block;
    overflow:hidden;
    color:#303030;
    font-style:none;
    line-height:16px;
    padding:14px 0 15px;
    font-size: 13px;
}
#quick_menu.small .links a, #quick_links.small .links a{
    text-indent:-999em;
    line-height:9999px;
    height:45px;
    width:45px;
    padding:14px 0 0 !important;
}
#quick_menu a.btn_deary, #quick_links a.btn_deary{
    padding:5px 0 15px;
}
#quick_menu .links a span, #quick_links .links a span{
    float:left;
    width:45px;
    margin:-14px 15px 0 0;
    height:45px;
    background:url(/addons/default/themes/mokyklos/img/ico_ext_menu.png) no-repeat 0 0;
}
#quick_menu a.btn_deary span, #quick_links a.btn_deary span{
    background-position:0 0;
    margin:-5px 15px 0 0;
}
#quick_menu.small a.btn_deary span, #quick_links.small a.btn_deary span{
    margin:-14px 15px 0 0 !important;
}
#quick_menu a.btn_deary.current span,
#quick_menu a.btn_deary:hover span,
#quick_links a.btn_deary.current span,
#quick_links a.btn_deary:hover span{
    background-position:-45px 0;
}
#quick_menu a.btn_teachers span,
#quick_links a.btn_teachers span{
    background-position:0 -60px;
}
#quick_menu a.btn_teachers.current span,
#quick_menu a.btn_teachers:hover span
#quick_links a.btn_teachers.current span,
#quick_links a.btn_teachers:hover span{
    background-position:-45px -60px;
}
#quick_menu a.btn_parents span,
#quick_links a.btn_parents span{
    background-position:0 -120px;
}
#quick_menu a.btn_parents.current span,
#quick_menu a.btn_parents:hover span
#quick_links a.btn_parents.current span,
#quick_links a.btn_parents:hover span{
    background-position:-45px -120px;
}
#quick_menu a.btn_students span,
#quick_links a.btn_students span{
    background-position:0 -180px;
}
#quick_menu a.btn_students.current span,
#quick_menu a.btn_students:hover span
#quick_links a.btn_students.current span,
#quick_links a.btn_students:hover span{
    background-position:-45px -180px;
}
.popups{
    display:none;
}

img.plugin_images {
    margin-right: 10px;
}
img.plugin_images.last {
    margin-right: 0;
}



#body .entry .students_box .time_count{
    float:left;
    width:234px;
    background:url(/addons/default/themes/mokyklos/img/bgr_time_left.png) repeat-y -234px 0;
}
#body .entry .students_box .time_count .count{
    overflow:hidden;
    padding:10px 0 15px 5px;
    margin: 0 -10px 0 0;
}
#body .entry .students_box .time_count .count .div{
    float:left;
    font-size:20px;
    font-weight:bold;
    padding:8px 2px 0 0px;
    margin:0 0 0 -1px;
    color:#000;
}
#body .entry .students_box .time_count .count .item{
    float:left;
    position:relative;
    background:url(/addons/default/themes/mokyklos/img/bgr_time_count.png) no-repeat 0 0;
    color:#fff;
    line-height:36px;
    font-size:20px;
    padding:0 0 0 7px;
    text-align:center;
    font-weight:bold;
}
#body .entry .students_box .time_count .count .item span{
    float:left;
    position:relative;
    background:url(/addons/default/themes/mokyklos/img/bgr_time_count.png) no-repeat 100% 0;
    height:38px;
    padding:0 12px 0 0;
}
#body .entry .students_box .time_count .count .item h6{
    text-align:center;
    font-size:11px;
    padding:0 10px 0 0;
    color:#303030;
    display:block;
}
#body .entry .students_box .time_count p{
    font-size:11px;
    line-height:16px;
    font-style:none;
    padding:5px;
}
#body .entry .students_box .time_count .body{
    background:url(/addons/default/themes/mokyklos/img/bgr_time_left.png) no-repeat 0 100%;
}
#body .entry .students_box .time_count .top{
    overflow:hidden;
    width:204px;
    min-height:170px;
    padding:15px;
    background:url(/addons/default/themes/mokyklos/img/bgr_time_left.png) no-repeat -468px 0;
}
.entry .widget_rss {
    float:left;
    margin: 0 20px 20px 0;
}

.widget_rss h3 {
    padding: 0 0 3px 40px !important;
    margin: 20px 15px 0 !important;
    border: 0 !important;
}

#sidebar .widget_rss li a {color: #f0e361;}

#body .entry .widget_rss ul li {
    padding: 10px 0 11px;
    font-style: none;
    border-bottom: 1px solid #E1E0E2;
}

.col_left{
    float:left;
    width:255px;
}
.entry .time_count,
.entry .attention_box{
    margin:0 0 20px 20px;
}
#body .entry ul li {
    background-position: 2px 6px !important;
    margin-top: 8px !important;
    line-height: 18px !important;
}
#body .entry ol li {
    margin-top: 8px !important;
    line-height: 18px;
}


.social {
    float: left;
    width: 575px;
    padding: 10px 0 0;
}
.social .social_inner {
    float: left;
    overflow: hidden;
}
.social .social_share_facebook {
    width: 115px;
    margin: 0 15px 0 0;
}
.social .social_share_googleplus {
    width: 225px;
}

.next_page {
    padding: 0 0 0 26px !important;
    font-style: none !important;
    margin: 11px 0 !important;
    float: right !important;
    color: #303030 !important;
    background: url(/addons/default/themes/mokyklos/img/ico_link_back.png) no-repeat 0 50% !important;
}

h1 .module_rss {
    background:url(/addons/default/themes/mokyklos/img/ico_rss.png) no-repeat;
    height: 24px;
    width: 24px;
    float:left;
    margin: -3px 7px 0 0;
}

#body .blog_box .post .title.photo.video h2 a {
    padding: 0 0 0 45px;
    line-height: 17px;
    display:block;
    background: url(/addons/default/themes/mokyklos/img/ico_both.png) no-repeat;
}
#body .blog_box .post .title.video h2 a{
    padding: 0 0 0 25px;
    line-height: 17px;
    display:block;
    background: url(/addons/default/themes/mokyklos/img/video.png) no-repeat;
}
#body .blog_box .post .title.photo h2 a {
    padding: 0 0 0 25px;
    line-height: 22px;
    display:block;
    background: url(/addons/default/themes/mokyklos/img/photo.png) no-repeat;
}

#body .blog_box .post .title h2 a{
    color:#303030;
}

.footer-links {
    padding: 20px 0;
    clear: both;
    overflow: hidden;
}

.footer-links h3 {
    font-size: 18px;
    padding: 0 0 10px;
}

.footer-links ul {
    overflow: hidden;
}

.footer-links li {
    padding:0 0 11px;
    float: left;
    width: 170px;
    font-style:none;
}
.footer-links li a strong{
    color:#858585;
    font-weight:normal;
}
.footer-links li a span{
    float:left;
    background:url(/addons/default/themes/mokyklos/img/ico_link.png) no-repeat 0 0;
    width:13px;
    height:13px;
    margin:0 12px 0 0;
}
.footer-links li a.current{
    text-decoration:none;
}
.footer-links li a.current span,
.footer-links li a:hover span{
    background-position:0 -13px;
}
h1, #slider h2, .contact h3, .featured_slider h3, #menu>ul>li>a, .news_box h3, #footer h3, .widget h3, #body .blog_box .comments h3, #body .blog_box .respond h4, #body .entry .students_box h3, #login_popup h3, .time_count h3, .attention_box h3, .footer-links h3 {
    font-family: "Calibri", sans-serif;
    font-weight: bold;
}



.ui-datepicker-prev {
    position: absolute;
    width: 18px;
    height: 7px;
    top: 5px;
    cursor: pointer;
    text-indent: -999em;
    background:url(/addons/default/themes/mokyklos/img/ico_link_back.png) no-repeat;
    left: 0;
}
.ui-datepicker-next {
    position: absolute;
    width: 18px;
    height: 7px;
    text-indent: -999em;
    top: 5px;
    cursor: pointer;
    background:url(/addons/default/themes/mokyklos/img/ico_link_new.png) no-repeat;
    right: 0;
}
.ui-datepicker-inline {
    position: relative;
}
.ui-datepicker-inline .ui-state-default {
    color: #333;
    cursor:default;
    text-decoration: none;
}
.ui-datepicker-inline .highlight .ui-state-default {
    color: #9F5F61;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}
.ui-datepicker-inline th {
    text-align: left;
}
.ui-datepicker-inline table {
    width: 100%;
}
.ui-datepicker-title {
    font-weight: bold;
    padding: 0 0 5px;
    text-align: center;
}

#body .entry th h3, #body .entry td h3, #body .entry th p, #body .entry td p {
    padding: 0;
}
#sidebar .widget li li {
    margin-left: 20px;
}
#sidebar .widget li li.last {
    border-bottom: medium none;
    padding-bottom: 0;
}

#sidebar .widget.calendar {
    margin-bottom: 15px;
}

#main_content.main_content_full {
    width: 940px;
}

#sidebar .widget.noborder {
    padding: 0;
    background: none;
    border: 0;
}



.clients {
    background: none repeat scroll 0 0 #FFFFFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}
.clients ul {
    float: left;
    overflow: hidden;
    padding: 24px 0 22px;
}
.clients h3 {
    float: left;
    font-size: 16px;
    font-weight: 600;
    line-height: 87px;
    padding: 0 70px 0 20px;
}
.clients li img {
    display: block;
    margin: -70px 0 0;
}
.clients li:hover img {
    display: block;
    margin: 0;
}
.clients li {
    float: left;
    height: 70px;
    overflow: hidden;
    padding: 0 5px 0 0;
}

#sidebar .widget-facebook {
    padding: 0;
    border: 0;
}

div.errors p {
    color: red;
}

#body #duprocentai_wrapper input[type="text"] {
    background: url("/addons/default/themes/mokyklos/img/bgr_input.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    color: #858585;
    float: left;
    font-size: 12px;
    height: 18px;
    line-height: 18px;
    padding: 5px 8px;
    width: 233px;
}
#body #duprocentai_wrapper fieldset {
    margin: 0 0 12px;
    overflow: hidden;
}
#body #duprocentai_wrapper .double_select {
    margin-right: -10px;
}

#body #duprocentai_wrapper input[type="submit"] {
    background: url("/addons/default/themes/mokyklos/img/btn_more.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    color: #FFFFFF;
    cursor: pointer;
    float: left;
    font-family: elvetica,s Arial,ans-serif;
    font-size: 14px;
    font-style: none;
    height: 31px;
    line-height: 28px;
    margin: 5px 0 0 112px;
    padding: 0 10px;
    text-align: left;
    width: 105px;
}
#duprocentai_wrapper input[type="submit"] {
    margin-left: 250px !important;
}

#duprocentai_wrapper label {
    width: 250px !important;
}

/* selectmenu() */


.ui-selectmenu {
    display: block;
    display: inline-block;
    position: relative;
    height: 30px;
    vertical-align: middle;
    text-decoration: none;
    overflow: hidden;
    float: left;
    width: 112px;
    background: #fff;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.1);
    width: 231px !important;
    padding: 5px 8px;
    border-radius: 3px;
    height: 18px;
    line-height: 18px;
    color: #858585;
    font-size: 12px;
    border: 0;
    zoom: 1;
    border: 1px solid #d0d0d0;
    outline: none;
}

.double_select select  {
    width: 116px !important;
}


.double_select .ui-selectmenu  {
    margin-right: 8px;
    width: 103px !important;
}

.ui-selectmenu-icon {
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #333 transparent transparent transparent;
    top: 0;
    right: 0;
    margin: 13px 10px;
}

.ui-selectmenu-menu {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    display: none;
    z-index: 109905;
}

.ui-selectmenu-menu ul {
    padding: 10px 0 0;
    list-style: none;
    position: relative;
    overflow: auto;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    outline: none;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.ui-selectmenu-open {
    display: block;
}

.ui-selectmenu-status {
    margin-right: 30px;
    height: 18px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
}

.ui-selectmenu-menu li {
    padding: 0 15px 10px;
    margin: 0;
    display: block;
}

.ui-selectmenu-menu li a, .ui-selectmenu-status {
    font-size: 12px;
    outline: none;
    display: block;
}

.ui-selectmenu-menu li.ui-state-disabled a, .ui-state-disabled {
    cursor: default;
}
.entry p.pages_updated {
    font-style: none;
    padding: 10px 0 !important;
    font-size: 11px;
}
/* END. selectmenu() */

.entry p.author span {
    font-size: 16px;
    font-weight: bold;
}
.entry p.author {
    font-size: 14px;
}

.entry p.author img {
    float: left; padding-right: 10px;
}

hr { border-bottom: 1px solid black; }

.entry input.error { border: 1px solid red !important;}
.entry textarea.error { border: 1px solid red !important;}

/*
fix for http://pic.webas.lt/VUGmAn0Ywm.png
*/
.entry p a:after {
 content: "";
 clear: both;
 display: block;
}

.captcha img, .captcha p {
    float: left;
}

.latest-news.blog_box form {
    background: url("/addons/default/themes/mokyklos/img/bgr_search.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    width: 199px;
}

.latest-news.blog_box form input[type="text"] {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    color: #999999;
    font-size: 14px;
    line-height: 15px;
    padding: 6px;
    width: 160px;
}

.latest-news.blog_box form input[type="submit"] {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    cursor: pointer;
    float: left;
    height: 28px;
    margin: 0;
    padding: 0;
    width: 20px;
}

.blog_box .entry p {
    font-size: 14px;
    line-height: 20px;
}

.item.top img {
    box-shadow: 10px 10px 5px #F0F0F0;
}

.dokumentubankas-category td img {
    margin-right: 5px;
}

.entry h2 {
    font-size:22px;
    padding:0 0 5px;
    font-weight:bold;
    color:#303030;
    overflow: hidden;
    line-height: 24px;
}

.paieska label {
        float: left;
    width: 112px;
    line-height: 28px;
}
.paieska input[type=text]{
    float:left;
    width:112px;
    background:url(/addons/default/themes/mokyklos/img/bgr_input.png) no-repeat;
    width:233px;
    padding:5px 8px;
    height:18px;
    line-height:18px;
    color:#858585;
    font-size:12px;
    border:0;
}

.webfeedback_vote {
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    min-width: 117px;
    margin-left: 9px;
    margin-bottom: 15px;
    text-align: center;
    line-height: 43px;
    padding: 0 15px;
    border: 0;
    height: 43px;
    box-shadow: 0 2px 5px rgba(165, 165, 165, .5);
}

.vote1 {
    color: #fff;
    background: #9F5F61;
}

.votes {
    display: inline !important;
    margin-left: 5px;
}

.feedback {
    float: right;
}

.more.btn_back {
    float: right;
}

.likes {
    clear: both;
    margin-top: 40px;
}

.fb-likes {
    width: 50%;
    float: left;
}

.feedbacks {
    width: 50%;
    float: right;
}

.feedback a {
    margin-top: -5px;
}

.forbidden {
    cursor: default;
}

.fb-send {
    margin-left: 5px;
}

#menu ul li:nth-of-type(3), #menu ul li:nth-of-type(3) div {
    position: static;
}

#menu li.last ul {
    right: 0;
    width: auto !important;
/*    display: inline-block !important;
*/}

#menu li.last ul li.first {
    margin-left:0px !important;
}
#menu li.last ul li {
    margin-left:-4px !important;
    border-left:1px solid #fff;
}

/*
#menu li.last ul li a {
    margin-left:0px !important;
    border-left:none !important;
}

#menu li.right ul li {
    border-left:none !important;
}*/

.home.first span {
    height: 12px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.home.first img {
    position: relative;
    top: -12px;
    /*margin: -12px;*/
}

/*.home_page .home.first img {
    top: 0;
}*/

.home.first:hover img, .home.first.current img {
     top: 0;
}
