/* 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: #e7f6ed;
    font: 16px/18px "Arial", sans-serif;
    min-width: 970px;
    height: 100%;
    overflow-y: scroll;
}

a {
    color: #858585;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

* {
    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%;
    padding: 9px 0 0;
}

#header .header {
    width: 100%;
    position: relative;
    background: url(/addons/default/themes/mokyklos/img/bgr_header.png) no-repeat 0 0;
    height: 101px;
}

.home_page #header .inner {
    /*display:none;*/
}

#header .left {
    padding: 15px 0 0 0;
    float: left;
}

#header .icons {
    overflow: hidden;
}

#header .icons li {
    float: left;
    padding: 0 5px 10px 0;
}

#header .icons li a {
    float: left;
    background: url(/addons/default/themes/mokyklos/img/ico_header.png) no-repeat 0 0;
    height: 10px;
    width: 15px;
    text-indent: -999em;
}

#header .icons li a.current,
#header .icons li a:hover {
    background-position: 0 -10px;
}

#header .icons li a.ico_sitemap {
    background-position: -21px 0;
}

#header .icons li a.ico_sitemap.current,
#header .icons li a.ico_sitemap:hover {
    background-position: -21px -10px;
}

#header .top {
    float: left;
    clear: both;
    padding: 0;
}

#header .top li {
    float: left;
    padding: 0 16px 0 0;
}

#header .top li a {
    float: left;
    color: #303030;
}

#header .top li a.current {
    color: #198b1b;
    text-decoration: none;
}

#header .right {
    padding: 28px 26px 0 0;
    float: right;
}

#header .right form {
    background: url(/addons/default/themes/mokyklos/img/bgr_search.png) no-repeat;
    width: 199px;
    height: 28px;
    float: left;
    margin: 8px 30px 0 0;
}

#header .right form input[type=text] {
    float: left;
    background: none;
    padding: 6px;
    width: 160px;
    margin: 0;
    border: 0;
    color: #999;
    font-size: 12px;
    line-height: 15px;
}

#header .right form input[type=submit] {
    float: left;
    background: none;
    padding: 0;
    height: 28px;
    cursor: pointer;
    width: 20px;
    margin: 0;
    border: 0;
}

#header .right .contact {
    text-align: right;
    float: left;
}

#header .right .contact h3 {
    font-size: 18px;
    padding: 0 0 8px;
}

#header .right .contact a {
    color: #303030;
    font-style: italic;
}

#logo {
    width: 150px;
    height: 150px;
    float: left;
    margin: 0px 20px 0 10px;
    cursor: pointer;
    text-indent: -9999em;
    background: url(/addons/default/themes/mokyklos/img/logo.png) no-repeat;
}

#header h1.green {
    font-size: 30px;
    line-height: 36px;
    padding: 50px 15px;
    color: #30ab32;
    text-transform: uppercase;
}

#header h1.white {
    font-size: 26px;
    line-height: 36px;
    padding: 50px 15px;
    color: #fff;
    text-transform: uppercase;
}

#header h1.white span {
    font-size: 30px;
}

#header .featured_slider {
    background: url(/addons/default/themes/mokyklos/img/bgr_featured_home.png) no-repeat;
    height: 259px;
    margin: 0 0 30px;
    overflow: hidden;
}

#header .featured_slider .time {
    float: left;
    width: 155px;
    padding: 17px 15px;
    font-size: 13px;
}

#header .featured_slider .time h3 {
    font-size: 14px;
    text-transform: uppercase;
    background: url(/addons/default/themes/mokyklos/img/ico_time.png) no-repeat 0 0;
    padding: 0 0 0 32px;
    height: 22px;
    line-height: 20px;
}

#header .featured_slider .time .link {
    border-top: 1px solid #e1e0e2;
    padding: 10px 10px 0 0;
    font-style: italic;
}

#header .featured_slider .time .link a {
    display: block;
    color: #303030;
    background: url(/addons/default/themes/mokyklos/img/ico_link_new.png) no-repeat 100% 50%;
}

#header .featured_slider .time ul {
    padding: 7px 0 0 33px;
    height: 172px;
}

#header .featured_slider .time ul li {
    padding: 4px;
    float: left;
    white-space: nowrap;
    clear: both;
}

#header .featured_slider .time ul li.current {
    background: #303030;
    color: #fff;
}

#header .featured_slider .links {
    float: left;
    padding: 15px 0 0 20px;
    width: 140px;
}

#header .featured_slider .links a {
    display: block;
    overflow: hidden;
    color: #303030;
    font-style: italic;
    line-height: 16px;
    padding: 14px 0 15px;
    font-size: 12px;
}

#header .featured_slider .links a.btn_deary {
    padding: 5px 0 15px;
}

#header .featured_slider .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;
}

#header .featured_slider .links a.btn_deary span {
    background-position: 0 0;
    margin: -5px 15px 0 0;
}

#header .featured_slider .links a.btn_deary:hover span {
    background-position: -45px 0;
}

#header .featured_slider .links a.btn_teachers span {
    background-position: 0 -60px;
}

#header .featured_slider .links a.btn_teachers:hover span {
    background-position: -45px -60px;
}

#header .featured_slider .links a.btn_parents span {
    background-position: 0 -120px;
}

#header .featured_slider .links a.btn_parents:hover span {
    background-position: -45px -120px;
}

#header .featured_slider .links a.btn_students span {
    background-position: 0 -180px;
}

#header .featured_slider .links a.btn_students:hover span {
    background-position: -45px -180px;
}

#slider {
    margin: 6px 0 0;
    position: relative;
    width: 617px;
    height: 247px;
    float: left;
    overflow: hidden;
}

#slider .item {
    position: relative;
    width: 617px;
    height: 247px;
}

#slider .nav {
    position: absolute;
    bottom: 4px;
    padding: 0 0 25px 20px;
    left: 0;
    z-index: 999;
    top: inherit;
    height: inherit;
}

#slider .nav .btn_prev {
    float: left;
    background: url(/addons/default/themes/mokyklos/img/bgr_slide_nav.png) no-repeat;
    height: 22px;
    width: 13px;
}

#slider .nav {
    float: left;
    padding: 7px;
}

#slider .nav a {
    float: left;
    background: url(/addons/default/themes/mokyklos/img/bgr_slide_nav.png) no-repeat -21px -6px;
    width: 9px;
    height: 9px;
    margin: 0 1px 0 2px;
    text-indent: -999em;
}

#slider .nav a.activeSlide {
    background: url(/addons/default/themes/mokyklos/img/bgr_slide_nav.png) no-repeat -34px -6px;
}

#slider .nav .btn_next {
    float: left;
    background: url(/addons/default/themes/mokyklos/img/bgr_slide_nav.png) no-repeat 100% 0;
    height: 22px;
    width: 13px;
}

#slider .text {
    position: absolute;
    top: 0;
    background: url(/addons/default/themes/mokyklos/img/bgr_slider_text.png) repeat 0 0;
    left: 0;
    width: 200px;
    padding: 15px 19px;
    height: 100%;
}

#slider h2 {
    text-transform: uppercase;
    font-size: 26px;
    padding: 0 0 10px;
    color: #fff;
}

#slider p {
    color: #fff;
    padding: 0 0 14px;
}

#slider .more a {
    background: url(/addons/default/themes/mokyklos/img/btn_more.png) no-repeat;
    height: 31px;
    width: 85px;
    padding: 0 10px;
    font-style: italic;
    color: white;
    text-decoration: none;
    float: right;
    font-size: 14px;
    line-height: 31px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 10px 15px;
}

#slider .more a:hover {
    background-position: 0 -31px;
}

#header .top li a {
    font-size: 12px;
}

#header:before {
    width: 100%;
    content: " ";
    background-image: url(/addons/default/themes/mokyklos/img/colorless.png);
    position: absolute;
    left: 0px;
    top: 0px;
    height: 9px;
}

/*menu*/
#menu {
    width: 100%;
    margin: -5px 0 2px;
    position: relative;
    z-index: 999;
    height: 49px;
    top: -365px;
}

#menu2 {
    position: relative;
    z-index: 999;
    height: 49px;
    top: 0px;
}

.sub-head #menu,
.sub-head #menu2 {
    margin: -15px 0 -4px;
    position: relative;
    top: -218px;
}

.sub-head #menu.inner {
    top: -267px;
}

#menu ul {
    position: relative;
    display: table;
    z-index: 99;
    width: 100%;
}

#menu li,
#menu2 li {
    display: table-cell;
    width: 1%;
    background: #098165; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#098165, #098165); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#098165, #098165); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#098165, #098165); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#098165, #098165);
    position: relative;
    text-align: center;
    z-index: 5;
}

#menu2 li {
    display: inline;
    float: left;
    width: inherit;
}

#menu li div,
#menu2 li div {
    position: relative;
    height: 35px;
}

#menu li.last,
#menu2 li.last {
    z-index: 5;
}

#menu li.current,
#menu li.has_current,
#menu li:hover,
#menu2 li.current,
#menu2 li.has_current,
#menu2 li:hover {
    background: #FAFAFA; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#FAFAFA, #FAFAFA); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#FAFAFA, #FAFAFA); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#FAFAFA, #FAFAFA); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#FAFAFA, #FAFAFA);
}

#menu li a:hover,
#menu2 li a:hover {
    text-decoration: none;
}

#menu li a,
#menu2 li a {
    border-right: 1px solid #fff;
    font-family: 'Calibri', Candara, Segoe, "Segoe UI", Optima, sans-serif Arial,;
    height: 35px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 35px;
    padding: 0 27px 0 26px;
    white-space: nowrap;
    font-size: 14px;
    text-decoration: none;
    display: block;
    font-weight: bold;
}

#menu li ul li a {
    border-right: none;
}

#menu2 li.first {
    background-position: 0 0;
}

#menu li.last,
#menu2 li.last {
    background-position: 100% 0;
}

#menu li.last.has_current,
#menu2 li.last.has_current {
    background-position: 100% -49px;
}

#menu li.first:hover,
#menu li.first.current,
#menu2 li.first:hover,
#menu2 li.first.current {
    color: #000;
    background-position: 0 -49px;
}

#menu li.last a,
#menu2 li.last a {
    border: 0;
}

#menu li.last:hover,
#menu li.last.current,
#menu2 li.last:hover,
#menu2 li.last.current {
    color: #000;
    background-position: 100% -49px;
}

#menu li.has_current a,
#menu li.current a,
#menu li:hover a,
#menu2 li.has_current a,
#menu2 li.current a,
#menu2 li:hover a {
    color: #098165;
}

#menu li ul,
#menu2 li ul {
    display: none;
    position: absolute;
    top: 30px;
    width: 950px !important;
    overflow: hidden;
    z-index: 9999;
    padding: 10px 0 0;
    height: 28px;
    background: none !important;
    left: 0;
}

#menu li ul,
#menu2 li ul {
    width: 200px !important;
    height: auto;
}

#menu li ul ul,
#menu2 li ul ul {
    display: none !important;
}

#menu2 li.right ul li a,
#menu2 li.right ul li {
    white-space: nowrap;
    display: inline-block;
    border-left: 1px solid #fff;
}

#menu li.right ul,
#menu2 li.right ul {
    right: 0;
    left: auto;
    float: none;
    white-space: nowrap;
}

#menu2 li.has_children.has_current ul,
#menu2 li.has_children.current ul {
    display: block;
}

#menu li.hover ul,
#menu2 li.hover ul {
    z-index: 9999;
}

#menu li ul li,
#menu2 li ul li {
    background: #098165; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#098165, #098165); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#098165, #098165); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#098165, #098165); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#098165, #098165);
    width: auto !important;
    float: left !important;
    overflow: hidden;
    display: block;
    height: 28px;
    padding: 0 !important;
    margin: 0 !important
}

#menu2 li ul li a {
    border-right: none;
    text-align: left;
}

#menu li ul li,
#menu2 li ul li {
    height: initial;
    width: 200px !important;
    display: list-item;
}

#menu li ul li.current,
#menu li ul li:hover,
#menu2 li ul li.current,
#menu2 li ul li:hover {
    background: #FAFAFA; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#FAFAFA, #FAFAFA); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#FAFAFA, #FAFAFA); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#FAFAFA, #FAFAFA); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#FAFAFA, #FAFAFA);
}

#menu li ul li a,
#menu2 li ul li a {
    color: #ffffff !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;
    width: 100%;

}

#menu li ul li.current a,
#menu2 li ul li.current a {
    color: #098165 !important;
}

#menu li ul li:hover > a,
#menu2 li ul li:hover > a {
    color: #098165 !important;
    text-decoration: none;
}

#menu li.last ul,
#menu2 li.last ul {
    right: 0;
    width: auto !important;
    /*    display: inline-block !important;
    */
}

#menu li.last ul li.first,
#menu2 li.last ul li.first {
    margin-left: 0px !important;
}

.nav {
    top: -15px;
    margin: -15px 0 -4px;
    position: relative;
}

.home_page .nav {
    width: 100%;
    margin: -5px 0 2px;
    position: relative;
    z-index: 999;
    height: 49px;
    top: -15px;
}

.home_page .nav.inner {
    top: -277px;
}

.nav ul {
    position: relative;
    display: table;
    z-index: 99;
    width: 100%;
}

.nav.narrow ul {
    width: initial;
}

.nav.narrow > ul > li {
    display: inline-block;
    float: left;
    width: auto;
}

.nav ul > li {
    display: inline-block;
    display: table-cell;
    width: 1%;
    position: relative;
    border-right: 1px solid #fff;
}

.nav ul > li:last-child {
    border-right: none;
}

.nav ul > li a {
    display: block;
    padding: 9px 10px;
    text-align: center;
    background: #006634;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 14px;
    text-decoration: none;
    box-sizing: border-box;
}

.nav ul li a:hover, .nav ul li.current > a {
    background: #FFDF00;
    color: #098165;
}

.nav > ul li.current {
    border-bottom: 1px solid #098165;
}

.nav > ul li.current:hover {
    border-bottom: none;
    padding-bottom: 1px;
}

.nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-top: 5px;
    display: none;
}

.nav ul li ul li {
    display: list-item;
    width: 100%;
    border-right: none;
}

.nav ul li ul li.current {
    border-bottom: none !important;
}

.nav ul li ul li a {
    font-size: 14px;
    line-height: 15px;
    text-align: left;
    padding: 7px 10px;
    text-transform: none;
}

.nav ul li ul li.has_children a {
    padding-right: 20px;
}

.nav ul li ul li ul {
    left: 100%;
    right: auto;
    top: 0px;
    padding-top: 0px;
}

.nav ul li:hover > ul {
    display: table;
}

.nav ul li ul li.has_children > a:after {
    content: "";
    position: absolute;
    width: 14px;
    height: 8px;
    background: url(../img/nd.png) no-repeat center center;
    right: 0;
    top: 50%;
    margin-top: -4px;
}

.nav ul li ul li.has_children > a:hover:after, .nav ul li ul li.has_children.current > a:after {
    background: url(../img/nd-hover.png) no-repeat center center;
}

/*body*/
#container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.home_page #container {
    /*display:none;*/
}

#body {
    width: 100%;
    overflow: hidden;
    /*background-color: #F1F1F3;*/
    background: #e7f6ed;
    padding: 45px 0 55px;
}

#body h1 {
    font-size: 22px;
    text-transform: uppercase;
    padding: 0 0 9px;
    margin: 0 0 10px;
    border-bottom: 2px solid #000;
}

#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;
}

#body.inn {
    padding-top: 60px;
}

.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;
    color: #000;
    line-height: 36px;
    font-size: 20px;
    padding: 0;
    text-align: center;
    font-weight: bold;
}

.time_count .count .item span {
    float: left;
    position: relative;
    height: 38px;
    padding: 0px 6px 0 7px;
    background-color: #FFDF00;
    margin-right: 10px;
}

.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;
}

#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: 166px;
    padding: 0;
    position: relative;
    margin-right: 10px;
}

#body .entry .gallery_box li img {
    display: block;
    width: 169px;
}

/*#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: 161px;
    height: 96px;
    top: 0;
    left: 0;
    border: 4px solid #098165;
}

#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 #098165;
    height: 462px;
    width: 690px;
}

#body .entry .gallery_box.limit2 li {
    padding-right: 22px;
    width: 337px;
    margin-right: 0px;
    padding-bottom: 0;
}

#body .entry .gallery_box.limit2 li:nth-child(2n+2) {
    padding-right: 0;
}

#body .entry .gallery_box.limit2 li a span {
    border: 4px solid #098165;
    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 #098165;
    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: #000;
    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: 20px;
    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: 20px;
    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: 20px;
    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: 20px;
    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: 20px;
    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;
    padding: 15px;
    margin: -15px -15px 15px -5px;
    width: 696px;
    border-radius: 5px;
}

#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: 5px;
    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%;*/
    width: 235px;
}

#sidebar .widget h3 {
    font-size: 17px;
    text-transform: uppercase;
    padding: 0 0 9px;
    margin: 0 0 10px;
    border-bottom: 2px solid #000;
}

#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:#000;
}*/

#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 #000;
}

#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;
    font-size: 12px;
}

.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: #f7f7f8;
    position: relative;
    padding-top: 9px;
}

#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;
}

#footer:before {
    width: 100%;
    content: " ";
    background-image: url(/addons/default/themes/mokyklos/img/colorfull.png);
    position: absolute;
    left: 0px;
    top: 0px;
    height: 9px;
}

#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: 20px;
}

.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;
}

.news_thumb {
    width: 200px;
}

.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: #000;
    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: 0;
}

.clients li:hover img {
    display: block;
    margin: 0;
}

.clients li {
    float: left;
    height: 50px;
    overflow: hidden;
    margin: 10px 8px 0 8px;
}

#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: 20px;
    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: 20px;
    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: #000;
}

.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;
}

#header .header:before {
    height: 136px;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /*background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…AiIHdpZHRoPSIxOTIwIiBoZWlnaHQ9IjEyMSIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);
    background-image: -moz-linear-gradient(bottom, rgba(238,238,238,.9) 0%, rgba(255,255,255,.9) 100%);
    background-image: -o-linear-gradient(bottom, rgba(238,238,238,.9) 0%, rgba(255,255,255,.9) 100%);
    background-image: -webkit-linear-gradient(bottom, rgba(238,238,238,.9) 0%, rgba(255,255,255,.9) 100%);
    background-image: linear-gradient(bottom, rgba(238,238,238,.9) 0%, rgba(255,255,255,.9) 100%);*/
    z-index: -1;
}

.inner {
    position: relative;
    top: -194px;
}

.header p a, .dokumentubankas a, .metadata a {
    color: #098165;
}

.header p a, #menu li a, .metadata a, #body .entry .more a, .buttons__btn_more {
    text-decoration: none;
    border-bottom: 1px solid #303030 !important;
}

#body .entry .more a:hover, .buttons__btn_more:hover {
    border-bottom: none !important;
    margin-bottom: 6px !important;
}

#body .entry .more.btn_back a:hover {
    margin-bottom: 12px !important;
}

.dokumentubankas a {
    text-decoration: none;
    border-bottom: 1px solid #098165;
}

.header p a:hover, #menu li a:hover, .dokumentubankas a:hover, .metadata a:hover, .entry p:hover {
    border-bottom: none !important;
}

.header p a:focus, #menu li a:focus, .dokumentubankas a:focus, .metadata a:focus, .entry p:focus {
    outline: none !important;
}

.title a:hover {
    text-decoration: underline;
}

.search_result {
    width: 100%;
    clear: both;
}

#body .entry .gallery-333 li {
    width: 222px;
    margin-right: 15px;
}

#body .entry .gallery-333 li:hover a {
    margin: -4px;
    border: 4px solid #098165;
}

#body .entry .gallery-333 li a span {
    display: block;
    position: absolute;
    top: 303px;
    width: 100%;
    height: 20px;
    border: none;
    background-color: #098165;
    text-align: center;
    padding: 5px 0;
    color: white;
}

#body .entry .gallery-333 li:nth-child(3n+3) {
    margin-right: 0px;
}

.fancybox-outer {
    background-color: #098165 !important;
    color: #fff !important;
}

#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 li.arrow a {
    width: inherit;
}

#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;
}

.entry ol, .entry ul {
    margin-bottom: 20px;
}

/* ugo */

#menu li ul {
    overflow: initial !important;
}

#menu li ul li {
    overflow: initial !important;
}

#menu li ul li ul {
    position: absolute;
    left: 100%;
    top: 0;
    padding: 0px !important;
}

#menu li ul li:hover ul {
    display: block !important;
}

#menu li div {
    height: auto;
}

#menu li ul li ul li div {
    height: auto;
}

#menu li ul li.has_children:after {
    content: "";
    position: absolute;
    width: 14px;
    height: 8px;
    background: url(../img/nd.png) no-repeat center center;
    right: 0;
    top: 50%;
    margin-top: -4px;
}

#menu li ul li.has_children:hover:after {
    background: url(../img/nd-hover.png) no-repeat center center;
}

#menu li ul li a {
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 16px;
    padding: 7px 10px !important;
}

#menu li ul li.right ul {
    float: left;
    left: 100%;
}

#menu li.right ul li ul {
    float: left;
    left: 100%;
}

#menu li:hover div > ul {
    display: block;
}

#menu li a:hover {
    color: #098165 !important;
}

#menu ul li ul li.has_children div > a {
    color: #fff !important;
}

#menu ul li ul li.has_current.has_children div > a {
    color: #098165 !important;
}

#menu ul li ul li.has_current.has_children ul li a {
    color: #fff !important;
}

#menu ul li ul li ul li:hover a {
    color: #098165 !important;
}

#menu ul li ul li.has_current.has_children ul li.current a {
    color: #098165 !important;
}

#menu ul li ul li.has_current.has_children ul li a:hover {
    color: #098165 !important;
}

#menu ul li ul li.has_children:hover div > a {
    color: #098165 !important;
}

#menu ul li ul li.has_children:hover ul li a {
    color: #fff !important;
}

#menu ul li ul li.has_children:hover ul li a:hover {
    color: #098165 !important;
}

#menu ul li ul li.has_children.current div > a {
    color: #098165 !important;
}

#menu2 ul li ul li a:hover {
    color: #098165 !important;
}

#menu2 li div {
    height: auto;
}

.trigger {
    display: none;
}


.video_links {
    clear: both;
    float: left;
}

.video_links .left {
    float: left;
    margin-right: 18px;
    margin-top: 15px;
}

.video_links .left:nth-child(3n+3) {
    margin-right: 0px;
}

.video_links .video_link p {
    font-size: 14px;
}

#footer .bottom .center {
    float: left;
    width: 435px;
}

.grupes_block {
    width: 48%;
    float: left;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.post .grupes_block:nth-child(2n+1) {
    margin-left: 23px;
}

.entry .block_icon {
    float: left;
    border: 1px solid #e1e0e2;
}

.grupe .entry .block_icon {
    margin-bottom: 20px;
}

.entry .body1 {
    float: right;
    text-align: right;
}

.body2, .body3 {
    margin-top: 25px;
    clear: both;
    border-top: 1px solid #e1e0e2;
    padding-top: 5px;
}

.grupes_block .entry {
    height: 100px;
}

.grupes_block .title {
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    font-size: 18px;
    padding-top: 40px;
}

#body .entry .gallery_box_inner.limit999 li:nth-child(4n+4) {
    margin-right: 0;
}

.navigation_children li {
    list-style: none;
}

.navigation_children li {
    background: none !important;
    border: 2px solid #E7F6ED;
    height: 35px;
    text-transform: uppercase;
    line-height: 35px;
    padding: 0 27px 0 26px;
    white-space: nowrap;
    font-size: 14px;
    text-decoration: none;
    display: block;
    font-weight: bold;
}

.navigation_children li a:hover {
    cursor: pointer;
}

.navigation_children li.current, .navigation_children li:hover {
    border: 2px solid #08A54F;
}

.navigation_children li a {
    color: #000000 !important;
    line-height: 35px;
    white-space: nowrap;
    font-size: 14px;
    display: block;
}

.navigation_children ul {
    margin-left: 40px !important;
    margin-bottom: 0px;
}

.home.first a {
    height: 34px;
}

.home.first span {
    height: 12px;
    overflow: hidden;
    display: block;
}

.home.first img {
    position: relative;
    top: -12px;
    margin: -12px;
}

.home.first:hover img {
    top: 0;
}

.home_page .home.first img {
    top: 0;
}

.sponsor {
    margin-right: 20px;
}

.entry.contacts {
    margin-top: 20px;
}

.inner-page.wrapper {
    margin-top: 181px;
}

.footer-props {
    width: 100%;
    text-align: center;
    font-size: 12px;
    margin-bottom: 15px;
}

.nav > ul > li:first-of-type > a {
    border-radius: 5px 0 0 5px;
}

.nav > ul > li:last-of-type > a {
    border-radius: 0 5px 5px 0;
}

#body .entry .gallery_box.limit2 li img {
    width: auto;
}

@media only screen and (max-width: 640px) {
    .home.first img {
        position: relative;
        top: -12px;
        margin: 0;
    }

    .next_page {
        margin-top:0!important;
    }

    #sidebar .widget img {
        width: 100%;
    }

    .nav {
        height: auto !important;
        top: 0 !important;
        margin: 8px 0px !important;
        display: none;
    }

    .nav.close {
        display: block;
    }

    .nav ul li.left {
        padding: 0px !important;
    }

    .nav ul {
        display: block;
    }

    .nav ul li {
        display: list-item;
        width: 100%;
        float: none !important;
    }

    .nav ul > li {
        margin-bottom: 7px;
    }

    .nav ul li a {
        text-align: left;
    }

    .nav ul li ul {
        display: block;
        position: relative;
        top: 0;
        padding-left: 10px;
        box-sizing: border-box;
    }

    .nav ul li ul li ul {
        left: 0;
        padding-top: 5px;
        padding-left: 20px;
        padding-right: 0px;
        box-sizing: border-box;
    }

    .nav.narrow > ul > li {
        display: list-item;
    }

    .nav ul li:hover > ul {
        display: block;
    }

    .sub-head #menu,
    .sub-head #menu2 {
        margin: -15px 0 -4px;
        position: relative;
        top: -15px;
    }

    .trigger {
        display: inline-block;
        font-size: 18px;
        cursor: pointer;
        background: url(../img/trigger-s.png) no-repeat left 5px center #fff;
        margin-top: 15px;
        padding: 5px;
        padding-left: 30px;
    }
}

@media only screen and (max-width: 480px) {
    #menu {
        margin-bottom: 33px !important;
    }
}
