* {
    font-family: 'Alegreya Sans', sans-serif;
}
.bold {
	font-weight: bold;
}
.blue {
	color: #76b0c3;
}
#full_text hr {
    border-top: 1px solid #76b0c3;
    border-bottom: 1px solid #76b0c3;	
}
.loading {
    cursor: progress;
}

table {
    width: 100%;
    margin-bottom: 20px;
}

table.alignright {
    width: auto;
    float: right;
}

table.alignleft {
    width: auto;
    float: left;
}

table.aligncenter {
    width: auto;
    margin-left: auto;
    margin-right: auto;
}
.table-responsive {
    min-height: .01%;
    max-width: 100%;
    overflow: hidden;
}
select {
    border: 1px solid #1b2021;
    background-color: transparent;
    display: block;
    width: 100%;
    padding: 7px 8px;
    color: #1b2021;
    font-size: 17px;
    outline: none!important;
}

a::-moz-focus-inner,
button::-moz-focus-inner,
img::-moz-focus-inner {
    outline: none!important;
}

a:hover {
    outline: none!important;
}

.nowrap {
    white-space: nowrap;
}

.mt0 {
    margin-top: 0;
}

.mb40 {
    margin-bottom: 40px;
}

hr {
    border-bottom: 1px solid #1b2021;
    width: 100%;
    clear: both;
    display: block;
    margin: 20px 0;
}

img {
	max-width: 100%;
	height: auto;
}

img.alignright {
    float: right;
    margin-left: 15px;
}

img.alignleft {
    float: left;
    margin-right: 15px;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

header {
    position: relative;
    z-index: 20;
}

#header-navigation {
    height: 42px;
    line-height: 42px;
    vertical-align: middle;
    padding: 0 15px 0 13px;
}

#header-navigation * {
    padding: 0;
    margin: 0;
}

#header-navigation li {
    display: inline;
    margin-right: 15px;
}

#header-navigation li:before {
    content: none;
}

#header-navigation li:last-child {
    margin-right: 0;
}

#header-navigation a {
    font-size: 15px;
    display: inline-block;
    text-decoration: none;
}

#header-navigation li.home a {
    background-image: url(../images/home.png);
    width: 29px;
    height: 24px;
}

#header-navigation li.sitemap a {
    background-image: url(../images/sitemap.png);
    width: 24px;
    height: 25px;
}

#header-navigation li.home a,
#header-navigation li.sitemap a {
    font-size: 0;
    vertical-align: text-bottom;
}

#logo {
    position: relative;
    top: -30px;
    /* left: 50px; */
    max-width: 100%;
}

#main-navigation {
    height: 50px;
    overflow: hidden;
    border-top: 4px solid #371c09;
}

#main-navigation:hover {
    overflow: visible;
}

#main-navigation ul {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #371c09;
    height: 36px;
}

#main-navigation li {
    float: left;
    height: 45px;
    border-right: 1px solid #371c09;
    list-style: none;
    position: relative;
}

#main-navigation li:before {
    content: none;
}

#main-navigation a {
    border-bottom: 1px solid #371c09;
    height: 36px;
    line-height: 36px;
    color: #371c09;
    text-transform: uppercase;
    font-size: 16px;
    padding: 0 20px;
    display: block;
    text-decoration: none;
    outline: none!important;
}

#main-navigation a:focus {
    outline: none!important;
}

#main-navigation li.menu-item-has-children:hover {
    border-bottom: 1px solid #E0D0B7;
}

#main-navigation li:hover a,
#main-navigation li.current-menu-item a {
    border-bottom: none;
    text-decoration: none;
}

#main-navigation .sub-menu {
    float: left;
    left: -1px;
    opacity: 0;
    position: absolute;
    top: 35px;
    visibility: hidden;
    z-index: 1;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
    width: 200px;
    border: none;
}

#main-navigation li:first-child .sub-menu {
    left: 0;
}

#main-navigation li:hover .sub-menu {
    opacity: 1;
    top: 45px;
    visibility: visible;
}

#main-navigation li .sub-menu li {
    width: 100%;
    height: auto;
    background-color: #E5D5BE;
    border: 0;
}

#main-navigation li .sub-menu a {
    height: auto;
    line-height: normal;
    padding-top: 5px;
    padding-bottom: 5px;
}

#jPanelMenu-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: -1;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    background: #3b3b3b;
}

#jPanelMenu-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid #484848;
}

#jPanelMenu-menu .sub-menu {
    padding-left: 10px;
}

#jPanelMenu-menu li a {
    background: #3b3b3b;
    background: -o-linear-gradient(top, #3e3e3e, #383838);
    background: -ms-linear-gradient(top, #3e3e3e, #383838);
    background: -moz-linear-gradient(top, #3e3e3e, #383838);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #3e3e3e), color-stop(1, #383838));
    background: -webkit-linear-gradient(#3e3e3e, #383838);
    background: linear-gradient(top, #3e3e3e, #383838);
    font-family: "museo-sans","Museo Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 300;
    font-weight: 700;
    display: block;
    padding: 0.5em 5%;
    border-top: 1px solid #484848;
    border-bottom: 1px solid #2e2e2e;
    text-decoration: none;
    text-shadow: 0 -1px 2px #222;
    color: #f7f7f7;
}

.searchform {
    margin-top: 15px;
    height: 40px;
    position: relative;
    background-position: left bottom;
    background-repeat: no-repeat;
    max-width: 265px;
}

.searchform input[type="text"] {
    width: 100%;
    height: 40px;
    border: 0;
    padding: 0 50px 0 13px;
    overflow: hidden;
    color: #371c09;
    font-size: 16px;
    outline: none!important;
    background: transparent;
}

.searchform input[type="text"]::-webkit-input-placeholder {
    color: #371c09;
    font-size: 16px;
}

.searchform input[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 40px;
    background: url(../images/icon-search.png) no-repeat left top;
    border: 0;
    outline: none!important;
}

#herbas {
    position: relative;
    top: -24px;
    right: -8px;
}

#menu-burger {
    font-size: 30px;
    position: relative;
    top: -50px;
    left: 35px;
    display: none;
}

#newsletter {
    padding: 50px 0 70px 0;
}

#newsletter form {
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

#newsletter form label {
    display: inline;
    font-size: 16px;
    color: #e3d4bc;
    text-transform: uppercase;
    margin-right: 5px;
    width: 49%;
}

#newsletter form input[type="email"] {
    width: 49%!important;
    border: 0;
    outline: none!important;
    padding: 0 40px 0 20px;
    height: 38px;
    color: #ede3d4;
    font-size: 16px;
    background: url(../images/newsletter-border.png) no-repeat left bottom;
    border: none!important;
}

#newsletter form input[type="submit"] {
    position: absolute;
    right: 10px;
    top: 0;
    border: 0;
    outline: none!important;
    background: url(../images/envelope.png) no-repeat;
    width: 32px;
    height: 25px;
    font-size: 0!important;
}

#footer-foot {
    padding: 20px 0;
    background-color: #560905;
    color: #d1b081;
    font-size: 18px;
}

#footer-foot a {
    color: #d1b081;
    font-size: 18px;
    text-decoration: none;
}

#footer-information {
    padding: 70px 0 55px 0;
}

#footer-information h2 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #371c09;
    text-transform: uppercase;
}

#footer-information .img-responsive {
    margin-bottom: 20px;
}

#footer-navigation {
    margin-bottom: 20px;
}

#footer-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer-navigation ul li:before {
    content: none;
}

#footer-navigation a {
    font-size: 16px;
    color: #371c09;
    text-decoration: none;
}

#galerija {
    height: 300px;
    overflow: hidden;
    background-color: #1c1818;
    margin-bottom: 24px;
    position: relative;
}

#galerija:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 14px;
    background-image: url(../images/galerija-dot.png);
    background-repeat: repeat;
    background-position: left 15px top;
}

#galerija:after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 14px;
    background-image: url(../images/galerija-dot.png);
    background-repeat: repeat;
    background-position: left 15px top;
}

#galerija .slide {
    height: 220px;
    margin-top: 40px;
    background-repeat: no-repeat;
    background-size:cover;
    width: 310px;
    float: left;
    margin-right: 14px;
    outline: none!important;
}

#front-news {
    border-top: 4px solid #371c09;
}

#front-news h2 {
    color: #371c09;
    font-size: 16px;
    text-transform: uppercase;
    margin: 20px 0 10px 0px;
}

.new {
    border-bottom: 1px solid #371c09;
    padding: 20px 0;
}

.blog .new {
    border-bottom: none;
}

#front-news .new:first-child {
    border-top: 1px solid #371c09;
}

#front-news .myPagination {
    float: right;
    margin: 0;	
}

.new .img-responsive {
    border: 8px solid #ede3d4;
    border-bottom-width: 18px;
    -ms-transform: rotate(-3deg); /* IE 9 */
    -webkit-transform: rotate(-3deg); /* Chrome, Safari, Opera */
    transform: rotate(-3deg);
}

.new .date {
    color: #371c09;
    font-size: 16px;
    margin: 0 0 10px 0;
}

.new .content {
    color: #371c09;
    font-size: 15px;
}

.new h3 {
    font-size: 17px;
    margin: 0 0 10px 0;
}

.new h3 a {
    color: #371c09;
    font-size: 17px;
}

.new h3 a:hover {
    color: #860e09;
    text-decoration: none;
}

.new .more-link {
    color: #371c09;
    font-size: 15px;
    text-decoration: underline;
}

.new .more-link:hover {
    color: #860e09;
}


.myPagination li {
    margin: 0 0px;
    float: left;
}

.myPagination a {
    color: black;
    padding: 2px 10px;
    font-size: 14px;
	text-decoration: none;	
}
.myPagination a:hover {
    background: #1c1818;	
	color: white;
}
.page-numbers a {
    /* background: #1c1818; */
    color: white;
    padding: 2px 10px;	
}
.page-numbers.current {
    background: #1c1818;
    color: white;
    padding: 2px 10px;	
}
.myPagination li:hover a {
    color: #eadecc;
    text-decoration: none;
}

.myPagination li:before {
    content: none;
}

.myPagination li.active a {
    color: #d6c4aa;
}

#front-banners .banner {
    margin-bottom: 15px;
}

#front-banners .banner:last-child {
    margin-bottom: 0;
}

#front-renginiai h2 {
    padding: 12px 0;
    text-transform: uppercase;
    color: #371c09;
    font-size: 16px;
    border-top: 4px solid #371c09;
    border-bottom: 1px solid #371c09;
    text-align: center;
    margin: 20px 0 30px 0;
}

.more {
    float: right;
    margin-top: 30px;
    margin-right: 41px;
    height: 37px;
    line-height: 37px;
    color: #d1b081;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none!important;
    position: relative;
    padding: 0 30px 0 40px;
    border: 0;
    outline: none!important;

    background: #550905; /* For browsers that do not support gradients */
    /* For Safari 5.1 to 6.0 */
    background: -webkit-linear-gradient(left, #550905, #8e0f09);
    /* For Opera 11.1 to 12.0 */
    background: -o-linear-gradient(left, #550905, #8e0f09);
    /* For Fx 3.6 to 15 */
    background: -moz-linear-gradient(left, #550905, #8e0f09);
    /* Standard syntax */
    background: linear-gradient(to right, #550905, #8e0f09);
}

.more:hover {
    color: #d1b081;
}

.more:before {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    width: 15px;
    height: 37px;
    background: url(../images/renginiai-more-left.png);
}

.more:after {
    content: '';
    position: absolute;
    right: -41px;
    top: 0;
    width: 41px;
    height: 37px;
    background: url(../images/renginiai-more-right.png);
}

.event {
    border-right: 1px solid #371c09;
}

.event:last-child {
    border-right: 0;
}

.event .date {
    color: #371c09;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #8b0f09;
}

.event h3 {
    font-size: 17px;
    margin: 10px 0 0 0;
}

.event h3 a {
    color: #371c09;
    font-size: 17px;
}

.event h3 a:hover {
    text-decoration: none;
}

#front-partneriai h2 {
    padding: 12px 0;
    text-transform: uppercase;
    color: #371c09;
    font-size: 16px;
    border-top: 4px solid #371c09;
    border-bottom: 1px solid #371c09;
    text-align: center;
    margin: 20px 0 30px 0;
}

#front-partneriai #partners-container {
    height: 190px;
    padding-top: 50px;
}

#front-partneriai #partners-container img {
    display: inline;
    outline: none!important;
}

#renginiai-container {
    padding-bottom: 20px;
}

#naujienos-container {
    padding-bottom: 20px;
    position: relative;
}

#naujienos-container > .container {
    position: relative;
    z-index: 1;
}

#naujienos-container:after {
    content: '';
    width: 398px;
    height: 362px;
    position: absolute;
    left: 20px;
    bottom: 0;
    background-image: url(../images/bokstas.png);
}

#partners-container .slick-arrow {
    position: absolute;
    top: 80px;
    width: 19px;
    height: 26px;
    cursor: pointer;
}

#partners-container .slick-arrow:before {
    content: none!important;
}

#partners-container .slick-prev {
    background-image: url(../images/arrow-left.png);
    left: -25px;
}

#partners-container .slick-next {
    background-image: url(../images/arrow-right.png);
    right: -25px;
}

#partners-container .partner {
    text-align: center;
    outline: none!important;
}

.breadcrumbs {
    padding: 20px 0 20px 20px;
}

.breadcrumbs > span {

}

.breadcrumbs > span > span {
    font-size: 16px;
}

.breadcrumbs > span > a {
    color: #2d302e;
    font-size: 16px;
    text-decoration: none;
}

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

.breadcrumbs .seperator {
    padding: 0 8px;
}

#book {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

#book.height1 {
    height: 100px;
}

#book.height2 {
    height: 125px;
}

#book.height3 {
    height: 160px;
}

#book.height4 {
    height: 210px;
}

#book.height5 {
    height: 235px;
}

#book.height6 {
    height: 265px;
}

#book.height7 {
    height: 305px;
}

#book.height8 {
    height: 335px;
}

#book.height9 {
    height: 385px;
}

#book.height10 {
    height: 430px;
}

#book a {
    position: absolute;
    color: #eadecc;
    font-size: 16px;
    text-transform: uppercase;
    padding-left: 15px;
    overflow: hidden;
    text-decoration: none;
}

#book a:hover {
    text-decoration: none;
}

#book0 {
    background-image: url(../images/book10.png);
    width: 316px;
    height: 73px;
    line-height: 80px;
    top: 10px;
    left: 67px;
    z-index: 15;
}

#book1 {
    background-image: url(../images/book9.png);
    width: 342px;
    height: 49px;
    line-height: 60px;
    top: 66px;
    left: 54px;
    z-index: 14;
}

#book2 {
    background-image: url(../images/book8.png);
    width: 342px;
    height: 53px;
    line-height: 65px;
    top: 97px;
    left: 57px;
    z-index: 13;
}

#book3 {
    background-image: url(../images/book7.png);
    width: 311px;
    height: 74px;
    line-height: 95px;
    top: 129px;
    left: 67px;
    z-index: 12;
}

#book4 {
    background-image: url(../images/book6.png);
    width: 311px;
    height: 42px;
    line-height: 55px;
    top: 189px;
    left: 67px;
    z-index: 11;
}

#book5 {
    background-image: url(../images/book5.png);
    width: 307px;
    height: 47px;
    line-height: 65px;
    top: 215px;
    left: 71px;
    z-index: 10;
}

#book6 {
    background-image: url(../images/book4.png);
    width: 388px;
    height: 64px;
    line-height: 95px;
    top: 237px;
    left: 26px;
    z-index: 9;
}

#book7 {
    background-image: url(../images/book3.png);
    width: 393px;
    height: 57px;
    line-height: 86px;
    top: 275px;
    left: 22px;
    z-index: 8;
}

#book8 {
    background-image: url(../images/book2.png);
    width: 395px;
    height: 83px;
    line-height: 116px;
    top: 299px;
    left: 24px;
    z-index: 7;
}

#book9 {
    background-image: url(../images/book1.png);
    width: 389px;
    height: 68px;
    line-height: 95px;
    top: 357px;
    left: 25px;
    z-index: 6;
}

#banners {

}

#banners .banner {
    margin-bottom: 20px;
}

#page-background {
    margin-bottom: 30px;
    padding: 20px 15px 50px 35px;
    overflow: hidden;
}

#big-banner {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.events-container {
    border-top: 3px solid #76b0c3;
    position: relative;
    margin-bottom: 60px;
}

.events-container:after {
    content: '';
    position: absolute;
    left: calc(50% - 16px);
    bottom: -16px;
    width: 1px;
    height: 16px;
    background: #76b0c3;
}

.events-container .event {
    border-right: 1px solid #76b0c3;
    border-bottom: 1px solid #76b0c3;
    padding: 15px 50px 15px 0;
    height: 200px;
    overflow: hidden;
}

.events-container .col-sm-6:nth-child(2n+0) .event {
    width: calc(100% + 30px);
    left: -30px;
    position: relative;
    padding-left: 30px;
    border-right: 0;
}

.events-container .event h3 {
    margin: 0 0 6px 0;
    height: 18px;
    overflow: hidden;
}

.events-container .event h3 a {
    font-size: 17px;
    color: #1b2021;
    font-weight: bold;
}

.events-container .event .date {
    color: #76b0c3;
    font-size: 17px;
    border: 0;
}

.events-container .event .content {
    color: #1b2021;
    font-size: 15px;
    overflow: hidden;
    max-height: 48px; /* 73 */
}

.events-container .event .location {

}

.events-container .event .more {
    float: right;
}

#pagination-wrapper {
    text-align: center;
}

#pagination-wrapper .myPagination {
    display: inline-block;
    padding: 0;
}

.single-renginiai #main-image {
    border: 7px solid #76b0c3;
    width: 100%;
}

.button {
    display: block;
    background-color: #76b0c3;
    height: 42px;
    line-height: 42px;
    text-align: center;
    color: #fafafa;
    font-size: 17px;
    text-transform: uppercase;
    margin: 10px 0 15px 0;
    overflow: hidden;
    cursor: pointer;
    border: none;
    width: 100%;
}

.button:hover {
    text-decoration: none;
    color: #fff;
}

.single-renginiai .date {
    color: #76b0c3;
    font-size: 17px;
    margin-bottom: 14px;
}

.single-renginiai .date b {
    color: #1b2021;
    margin-right: 10px;
}

.single-renginiai .location {
    color: #76b0c3;
    font-size: 17px;
    margin-bottom: 20px;
}

.single-renginiai .location b {
	color: #1b2021;
    margin-right: 10px;
    min-width: 110px;
    display: block;
    float: left;
	text-align: right;	
}

.single-renginiai .content {

}

#gallery-container-short {
    border-top: 3px solid #76b0c3;
    border-bottom: 1px solid #76b0c3;
    padding: 25px 0 20px 0;
}

#gallery-container-short img {
    width: 100%;
    border: 7px solid #76b0c3;
}

#gallery-container-short .more {
    margin-top: 30px;
    display: inline-block;
    text-decoration: underline;
    cursor: pointer;
}

#gallery-container-short h2 {
    margin-bottom: 20px;
}

.single-renginiai #full_text {
    margin-top: 35px;
}

.modal h2 {
    color: #1b2021;
    font-size: 34px;
    margin: 0px 0 20px 0;
    text-align: center;
    background: url(../images/search-border-blue.png) no-repeat center bottom;
    padding-bottom: 10px;
}

.modal-content {
    border-radius: 0;
}

.modal-body {
    padding: 30px 30px 70px 30px;
}

button.close {
    float: none;
    position: absolute;
    right: -70px;
    top: 0;
    width: 70px;
    height: 70px;
    background-color: #76b0c3;
    opacity: 1;
    background-image: url(../images/close.png);
    background-position: center;
    background-repeat: no-repeat;
}

.close:focus, .close:hover {
    filter: alpha(opacity=100);
    opacity: 1;
    color: #fff;
}

label {
    display: inline-block;
    margin-left: 10px;
    color: #1b2021;
    font-size: 17px;
    font-weight: normal;
}

input[type=text],
input[type=email],
textarea {
    height: 32px;
    background-color: #f4fafc;
    border: 1px solid #1b2021;
    color: #1b2021;
    font-size: 17px;
    padding: 0 15px;
    outline: none!important;
    width: 100%;
}

input[type=submit] {
    margin: 0 auto;
    width: auto;
}

.wpcf7-response-output {
    padding: 15px!important;
    border: none!important;
    margin: 0!important;
}

div.wpcf7-validation-errors {
    background-color: #f2dede;
}

div.wpcf7-mail-sent-ok {
    background-color: #dff0d8;
}

div.wpcf7 img.ajax-loader {
    position: absolute;
}

#years-list {
    padding: 0;
    margin: 20px 0;
}

#years-list:after {
    content: ' ';
    clear: both;
    display: block;
}

#years-list li {
    float: left;
    margin-right: 30px;
}

#years-list li:before {
    content: none;
}

#years-list a {
    color: #1b2021;
}

#years-list li.active a,
#years-list li:hover a {
    color: #76b0c3;
    text-decoration: none;
    border-bottom: 1px solid;
}

.post-type-archive-renginiai .myPagination {
    text-align: center;
}

.post-type-archive-renginiai .myPagination li {
    float: none;
    display: inline-block;
}

.page-template-page-gallery #page-background {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    background-image: none!important;
}

.page-template-page-contacts #page-background,
.page-template-page-events #page-background,
.post-type-archive-renginiai #page-background {
    background-image: none!important;
}
.contact {
    margin: 20px 0px 40px 0px;
}
.term-info {
    padding: 20px;
    border-top: 4px solid #371c09;
    border-bottom: 1px solid #371c09;
}

.term-info h2 {
    margin: 0;
    padding: 0;
    color: #371c09;
    font-size: 34px;
    font-family: 'Kaushan Script', cursive;
    background: url(../images/search-border.png) no-repeat left bottom;
    text-transform: none;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.term-info .description {
    color: #371c09;
    font-size: 17px;
    max-width: 730px;
}

.term-childs {

}
/**************** GALLERY */ 
.gallery_wrap h3 {
    display: block;
    min-height: 55px;
}
.term-childs .gallery {
/*     width: 555px; */
    height: 228px;
    /*height: 17vw;*/
    position: relative;
    cursor: pointer;
}
.term-childs .gallery .cover {
    z-index: 5;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/gallery.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.term-childs h3 {
    color: #371c09;
    font-size: 22px;
/*     margin-left: 35px; */
    margin-top: 30px;
}
.term-childs .gallery .image {
    position: absolute;
}

.term-childs .gallery .image1 {
    left: 57px;
    top: 60px;
    width: 142px;
    height: 90px;
}

.term-childs .gallery .image2 {
    left: 260px;
    top: 55px;
    width: 94px;
    height: 108px;  
}

.term-childs .gallery .image3 {
    left: 400px;
    top: 16px;
    -ms-transform: rotate(-21deg);
    -webkit-transform: rotate(-21deg);
    transform: rotate(-21deg);
    width: 68px;
    height: 104px;  
}


@media (max-width: 1199px) {
    .term-childs .gallery {
        height: 29vw;
    }
    .term-childs .gallery .image1 {
        left: 8vw;
        top: 8.5vw;
        width: 19.3vw;
        height: 12.5vw;
    }
    .term-childs .gallery .image2 {
        left: 38vw;
        top: 8.5vw;
        width: 12.2vw;
        height: 12vw;
    }
    .term-childs .gallery .image3 {
        left: 58.3vw;
        top: 2.8vw;
        width: 9vw;
        height: 14vw;
    }
}

@media (max-width: 480px) {
	#galerija {
		max-height: 232px;
	}
	#galerija .slide {
		max-height: 156px;
		margin-right: 0px;	
	}
}

@media (max-width: 991px) {
    .term-childs .gallery {
        height: 26vw;
    }
    .term-childs .gallery .image1 {
        left: 7vw;
        top: 7.5vw;
        width: 17.3vw;
        height: 11.5vw;
    }
    .term-childs .gallery .image2 {
        left: 34vw;
        top: 7.5vw;
        width: 11vw;
        height: 11vw;
    }
    .term-childs .gallery .image3 {
        left: 52.2vw;
        top: 2.5vw;
        width: 8.2vw;
        height: 13vw;
    }
}





.term-childs h3 span {
    color: #a71500;
}

.term-childs .line {
    width: 100%;
    border-bottom: 1px solid #371c09;
    clear: both;
}





.postination {
    margin-left: 20px;
    margin-bottom: 50px;
}

.postination a {
    color: #371c09;
    font-size: 18px;
    font-family: 'Kaushan Script', cursive;
    padding: 0 20px 10px 15px;
    display: inline-block;
    margin-right: 12px;
    cursor: pointer;
    text-decoration: none;
}

.postination a.active {
    background: url(../images/search-border.png) no-repeat left bottom;
}

.term-childs .gallery_wrap {
    margin: 25px 0 50px 0;
}

.page-template-page-experts h1 {
    margin-bottom: 40px;
}
.expertai .image-transformed {
	min-height: 152px;
    max-width: 216px;	
}
.expertai .member_block {
    min-height: 254px;	
}
.image-transformed {
    border: 8px solid #ede3d4;
    width: auto;
    min-height: 312px;
    background-size: cover;
    background-position: center;
	background-repeat: no-repeat;
}

.image-transformed img {
    width: 100%;
}

.expert {
    margin-bottom: 40px;
	padding-right: 40px;	
}

.expert h3 {
    color: #371c09;
    font-size: 17px;
    margin: 0 0 15px 0;
}

#map {
    position: relative;
    left: 0;
    top: -70px;
    width: 100%;
    height: 400px;
    max-height: 80%;
    margin-bottom: -70px;
}

#map.big {
    height: 700px;
    margin-top: 70px;
}

.page-template-page-tolerance > .container {
    position: relative;
    z-index: 5;
}

.page-template-page-tolerance #page-background label {
    margin: 0;
}

#city-select {
    margin-bottom: 35px;
}

.city-info .description {
    margin-bottom: 30px;
}

.print {
    position: absolute;
    right: 15px;
    top: 24px;
    width: 21px;
    height: 20px;
    background: url(../images/print-icon.png);
    cursor: pointer;
}

.post-type-archive-tyrimai form hr {
    border-bottom: 3px solid #371c09;
    border-top: none;
}

.post-type-archive-tyrimai #page-background form input[type="text"],
.post-type-archive-tyrimai #page-background form select {
    height: 35px;
    padding: 0 15px;
    background-color: #ecdbc1;
    font-size: 17px;
    color: #371c09;
    border: 1px solid #512616;
    margin: 0 0 15px 0;
}

.post-type-archive-tyrimai form input[type="text"]::-webkit-input-placeholder,
.post-type-archive-tyrimai form select::-webkit-input-placeholder {
    color: #371c09;
}

.post-type-archive-tyrimai #page-background {
    padding-right: 35px;
}

.post-type-archive-tyrimai option[disabled] {
    display: none;
}

.post-type-archive-tyrimai #result-block {
    background-color: #371c09;
    border-radius: 8px;
    padding: 20px 15px 40px 15px;
    margin-bottom: 40px;
}
.single-tyrimai #result-block {
    background-color: #371c09;
    border-radius: 8px;
    padding: 20px 15px 40px 15px;
    margin-bottom: 40px;
}
.post-type-archive-tyrimai #result-block h2 {
    font-size: 16px;
    color: #eadecc;
    margin: 0 0 15px 15px;
}

.post-type-archive-tyrimai #result-block ul {
    padding: 0;
}

.post-type-archive-tyrimai #result-block ul ul {
    margin-left: 40px;
}

.post-type-archive-tyrimai #result-block li:before {
    content: none;
}

.post-type-archive-tyrimai #result-block a:hover {
    background-color: #810e09;
}

.post-type-archive-tyrimai #result-block li a {
    font-size: 17px;
    color: #eadecc;
    text-decoration: underline;
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
}
.single-tyrimai #result-block li a {
    font-size: 17px;
    color: #eadecc;
    text-decoration: underline;
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
}
.single-tyrimai #result-block li:before {
	display:none;
}
.post-type-archive-tyrimai #result-block .table-responsive {
    height: 300px;
}

.post-type-archive-tyrimai #result-item {
    padding: 0 15px;
    margin-bottom: 45px;
}
#tyrimas-table {
	border-collapse: separate;
}
#tyrimas-table thead td {
    border-top-color: #560905;
    background-color: #8c0f09;
    color: #e6d8c3;
    text-align: center;
}

#tyrimas-table tbody td {
    /* border-top: 1px solid #371c09; */
    border-bottom: 1px solid #371c09;
}

#tyrimas-table tbody td:first-child {
    background-color: #371c09;
    color: #e4d5bd;
    font-size: 17px;
    border-top-color: #e4d5bd;
    border-bottom-color: #e4d5bd;
}

#tyrimas-table #result-item p {
    margin: 0;
}

#fancybox-close,
#fancybox-right-ico,
#fancybox-left-ico {
    background: none!important;
    text-decoration: none!important;
}

#fancybox-close:before,
#fancybox-right-ico:before,
#fancybox-left-ico:before {
    width: 30px;
    height: 30px;
    position: relative;
    display: block;
    text-align: center;
    line-height: 30px;
    vertical-align: middle;
    color: #fff;
    font-size: 24px;
}

#fancybox-close:before {
    content: 'x';
}

#fancybox-right-ico:before {
    content: '>';
}

#fancybox-left-ico:before {
    content: '<';
}

#fancybox-wrap {
    padding: 0;
}

#fancybox-right {
    right: -15px;
}

#fancybox-left {
    left: -15px;
}

#fancybox-right:hover span {
    right: 0;
}

#fancybox-left:hover span {
    left: 0;
}
.member_block {
    display: block;
    margin: 20px 0px 20px 0px;	
    max-width: 500px;
    min-height: 128px;	
}
.page-template-page-contacts #main-expert img {
	max-width:100%;
}
.page-template-page-contacts .expert img {
	max-width:100%;
}
.member_image {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.member_image img {
	max-width: 100%;
}
.page-template-page-contacts #main-expert .image-transformed {
    min-height: 180px!important;
}
.page-template-page-contacts .expert .image-transformed {
    min-height: 180px!important;
}
#tyrimas-table td p a {color:black;}