.gm-style img,
.gmnoprint img {
    max-width: none;
}


/*googlemaps fix*/

.logo_link {
    float: left;
}

.cl {
    clear: both;
}

header {
    padding-top: 5px;
}

.headerright {
    float: right;
}

.fontsize {
    display: inline-block;
    color: #aeaeae;
}

.fontsize:hover {
    color: #ff8b38;
    font-weight: bold;
}

.xxl.fontsize {
    font-size: 18px;
}

.m.fontsize {
    font-size: 15px;
}

.s.fontsize {
    font-size: 12px;
}

#headerright {
    float: right;
}

#headerright input[type="text"] {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    padding-left: 9px;
    padding-right: 40px;
    width: 209px;
    height: 31px;
}

#headerright input[type="submit"] {
    background: #ff8b38 url(../images/sprite.png) no-repeat;
    background-position: -64px -22px;
    width: 31px;
    height: 29px;
    text-indent: -9999px;
    border: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-bottomleft: 0;
    -webkit-border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    position: absolute;
    right: 0;
    top: 1px;
    border-right: 1px solid #dcdcdc;
}

#sitesearch {
    margin-top: 36px;
    float: right;
    position: relative;
}

#headerrightlinks {
    list-style: none;
}

#headerrightlinks li {
    float: left;
    border-left: 1px solid #e6e6e6;
    padding: 0 8px;
    height: 21px;
}

#headerrightlinks li:first-child {
    padding-right: 13px;
    padding-left: 0;
    border: none;
}

#headerrightlinks li:last-child {
    padding-right: 0;
}

#headerrightlinks .soc {
    display: inline-block;
    width: 21px;
    height: 21px;
    background: url(../images/sprite.png) no-repeat;
    margin: 0 2px;
}

#headerrightlinks .soc:last-child {
    margin-right: 1px;
}

#headerrightlinks .draugiem {
    background-position: 0px 0px;
}

#headerrightlinks .facebook {
    background-position: -28px 0px;
}

#headerrightlinks .twitter {
    background-position: -56px 0px;
}

#headerrightlinks .youtube {
    background-position: -84px 0px;
}

#headerrightlinks .instagram {
    background-position: -379px 0px;
}

#sitemap {
    text-indent: -9999px;
    background: url(../images/sprite.png) 0px -48px no-repeat;
    width: 21px;
    height: 18px;
    display: block;
}

#sitemap:hover {
    background-position: 0px -26px;
}

.langmenu {
    margin-left: 3px;
    position: relative;
    z-index: 100;
}

.langmenu a {
    border: 2px solid #aeaeae;
    width: 21px;
    height: 21px;
    display: block;
    line-height: 17px;
    color: #aeaeae;
    font-size: .9em;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.langmenu .active {
    border-color: #ff8b38;
    color: #ff8b38;
    z-index: 100;
    position: relative;
}

.langsholder {
    position: relative;
    background: #fff;
}

.langsholder a:first-child {
    border-top: 0;
}

.nav {
    max-width: 59.88em;
    width: 80%;
    margin: 0 auto;
    min-height: 43px;
}

.grayline {
    width: 100%;
    background: #f1f1f1;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #a2a2a2;
}

.grayline2 {
    background: #bebebe;
    border-bottom: 1px solid #d0d0d0;
    width: 100%;
    height: 1px;
}

.grayarea {
    background: #d9d9d9;
    border-bottom: 1px solid #b8b8b8;
}

.extraborder {
    width: 100%;
    height: 1px;
    background: #dcdcdc;
}

.grayarea .section {
    margin: 0 auto;
    max-width: 59.88em;
    width: 80%;
}

.hugetitle {
    background: #98897e;
    text-align: center;
    border-bottom: 4px solid #ff8b38;
    margin-top: 19px;
    transition: all 0.5s;
}

.hugetitle:hover {
    background: #ff8b38;
}

.hugetitle h2 {
    font-size: .95em;
    font-weight: bold;
    letter-spacing: .5px;
    color: #fff;
    line-height: 50px;
}

.hugetitle h2 a {
    color: #fff;
    display: block;
    width: 100%;
    height: 100%;
}

.actualmenu {
    background: #fff;
    padding-bottom: 30px;
    position: relative;
}

.actualmenu ul {
    float: left;
    width: 49.5%;
}

.actualmenu ul li {
    padding-top: 10px;
}

.actualmenu ul li {
    list-style: none;
    vertical-align: middle;
    position: relative;
}

.actualmenu ul li:before {
    content: "";
    position: absolute;
    top: 16px;
    left: -15px;
    width: 6px;
    height: 6px;
    background-image: url(../images/sprite.png);
    background-position: -147px -2px;
}

.actualmenu ul li:hover:before {
    background-position: -147px -10px
}

.actualmenu ul li a {
    color: #000;
    font-size: .8em;
}

.actualmenu ul li:hover a,
.allactual a:hover {
    color: #ff8b38;
    border-bottom: 1px solid #ff8b38;
}

.allactual {
    display: block;
    width: 100%;
    text-align: center;
    bottom: 15px;
    position: absolute;
}

.allactual a {
    font-size: .8em;
    color: #000;
}

#breadcrumbs {
    margin-bottom: -.5%;
}

.slide_container ul {
    float: left;
    width: 29.605%;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 350px;
}

#slider-pager li:first-child {
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    border-top-right-radius: 5px;
}

#slider-pager li:last-child {
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-right-radius: 5px;
}

#slider-pager li {
    background: #98897e;
    text-align: center;
    border-bottom: 1px solid #aca7a4;
    /* padding:1.683em 1em; */
    position: relative;
    height: 87.5px;
    line-height: 87.5px;
}

#slider-pager li span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

#slider-pager li a {
    color: #fff;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    font-size: 1em;
}

#slider-pager li.slide_here {
    background: #ff8b38;
    border-bottom: 1px solid #caa88f;
}

#slider-pager li.slide_here:after {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 139, 56, 0);
    border-right-color: #ff8b38;
    border-width: 5px;
    margin-top: -5px;
    z-index: 100;
}

.rekl {
    width: 100%;
    text-align: center;
    margin-bottom: 1em;
    display: block;
}

.sideblock {
    background: #f3f3f3;
    border: 1px solid #e7e7e7;
    padding: 6%;
    padding-top: 2.5%;
}

.sideblock p {
    font-size: .9em;
    line-height: 1.4;
}

.sideblock h2 {
    color: #ff8b38;
    font-weight: 600;
    text-align: center;
    width: 100%;
    font-size: 1.2em;
    padding-bottom: .5em;
}

.majorblock ::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #000;
}

.majorblock :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #000;
    opacity: 1;
}

.majorblock ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #000;
    opacity: 1;
}

.majorblock :-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000;
}

.majorblock :placeholder-shown {
    /* Standard (https://drafts.csswg.org/selectors-4/#placeholder) */
    color: #000;
}

.majorblock h2.heading {
    background: #ff8b38;
    text-align: center;
    width: 100%;
    padding: 1.1em 0;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: .5px;
    margin: 0;
    color: #fff;
    border-bottom: 4px solid #eaeaea;
}

.majorblock form {
    padding: 1em;
    padding-top: .3em;
}

.majorblock form h2 {
    font-size: 1.3em;
    line-height: 1.2em;
    color: #ff8b38;
    font-weight: bold;
    letter-spacing: .5px;
    padding-bottom: .5em;
}

.majorblock form [type="submit"] {
    border: 2px solid #ff8b38;
    margin: 0 auto;
    padding: .5em 1.5em;
    margin-top: 1em;
    color: #ff8b38;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
    display: block;
    background: #fff;
    -webkit-box-shadow: 0px 1px 4px 0px rgba(197, 197, 197, 1);
    -moz-box-shadow: 0px 1px 4px 0px rgba(197, 197, 197, 1);
    box-shadow: 0px 1px 4px 0px rgba(197, 197, 197, 1);
    height: auto;
}

.majorblock form [type="submit"]:hover {
    -webkit-box-shadow: 0px 1px 4px 0px rgba(152, 152, 152, 1);
    -moz-box-shadow: 0px 1px 4px 0px rgba(152, 152, 152, 1);
    box-shadow: 0px 1px 4px 0px rgba(152, 152, 152, 1);
}

.majorblock form [type="text"] {
    margin-left: 6%;
    padding-left: .9em;
    border-color: #a7a7a7;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #000;
    -webkit-box-shadow: inset -1px 1px 0px 0px rgba(237, 237, 237, 1);
    -moz-box-shadow: inset -1px 1px 0px 0px rgba(237, 237, 237, 1);
    box-shadow: inset -1px 1px 0px 0px rgba(237, 237, 237, 1);
    width: 93%;
    height: 25px;
}


/* fade in textbox magic*/

input[type="radio"].special:checked~.reveal-if-active,
input[type="checkbox"].special:checked~.reveal-if-active {
    opacity: 1;
    max-height: 100px;
    /* little bit of a magic number :( */
    overflow: visible;
}

.reveal-if-active {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: 0.5s;
}

input[type="radio"].special:checked~,
input[type="checkbox"].special:checked~ {
    opacity: 1;
    max-height: 100px;
    height: 25px;
    overflow: visible;
    padding: 10px 25px;
}


/* fade in textbox magic*/

.majorblockcontent {
    border: 1px solid #e5e5e5;
    background: #fff;
}

.majorblockcontent ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.majorblockcontent ul li {
    width: 100%;
    min-height: 27px;
    border-bottom: 1px solid #e5e5e5;
}

.majorblockcontent ul li:last-child {
    border: none;
}

.majorblockcontent ul li>a {
    padding-left: 1em;
    display: block;
    line-height: 20px;
    font-weight: 600;
}

.majorblockcontent ul li a:after {
    content: "";
    background: url(../images/sprite.png);
    background-position: -113px -1px;
    width: 5px;
    height: 9px;
    position: relative;
    display: inline-block;
    margin-left: .8em;
}

.majorblockcontent ul li a:hover:after {
    background-position: -113px -12px;
}

.majorblockcontent label {
    font-weight: 600;
}

.tag_cloud {
    width: 100%;
    background: #98897e;
    color: #fff;
    padding: 1em;
    margin-top: .5em;
    border-bottom: 1px solid #e4e0dd;
}

.tag_cloud a {
    color: #fff;
    margin-right: 0.9em;
    display: inline-block;
}

.tag_cloud a.big {
    font-size: 1.5em;
}

.tag_cloud a.bold {
    font-weight: bold;
}

.sidemenu {
    margin-top: 1em;
    margin-bottom: 1em;
}

.sidemenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e7e7e7;
}

.sidemenu ul li>a {
    border-left: 5px solid #eaeaea;
    background: #eaeaea;
    border-bottom: 1px solid #d7d8d9;
}

.sidemenu ul li:last-child {
    border-bottom: 0;
}

.sidemenu ul li a {
    text-transform: uppercase;
    padding: 0.731em;
    display: block;
    width: 100%;
    padding-left: 1.5em;
    color: #575757;
    font-weight: 600;
}

.sidemenu>ul>li:hover>a,
.sidemenu>ul>li.active>a {
    border-left: 5px solid #98897e;
    background: #ff8b38;
    border-bottom-color: #ff8b38;
    color: #FFF;
}

.sidemenu>ul>li.active {
    border-bottom: 0;
}

.sidemenu>ul>li:hover>a {
    color: #fff;
}

.sidemenu ul li>ul>li>a {
    padding-left: 40px;
    background: #d9d9d9;
    border-left: 0;
    font-size: 10px;
}

.sidemenu ul li>ul>li.active>a,
.sidemenu ul li>ul>li:hover>a,
.sidemenu ul li>ul>li>ul>li>a.active,
.sidemenu ul li>ul>li>ul>li>a:hover {
    color: #000;
    text-decoration: underline;
}

.sidemenu ul li>ul>li>ul>li>a {
    padding-left: 4.5em;
}

.partners {
    background: #fff;
    width: 100%;
    min-height: 104px;
    border-top: 1px solid #e0e0e0;
    -webkit-box-shadow: 0px -1px 5px 0px rgba(224, 224, 224, 0.75);
    -moz-box-shadow: 0px -1px 5px 0px rgba(224, 224, 224, 0.75);
    box-shadow: 0px -1px 5px 0px rgba(224, 224, 224, 0.75);
}

.partners_holder {
    max-width: 59.88em;
    width: 80%;
    margin: 0 auto;
}

.partners_holder a {
    padding: 2.2%;
    display: inline-block;
}

.partners_holder a img {
    max-width: 100%;
}

#contactbtn {
    background: #ff8b38;
    position: fixed;
    left: -58px;
    top: 25.5%;
    -ms-transform: rotate(-90deg);
    /* IE 9 */
    -webkit-transform: rotate(-90deg);
    /* Safari */
    transform: rotate(-90deg);
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
    -webkit-box-shadow: -2px 1px 3px 0px rgba(168, 168, 168, 1);
    -moz-box-shadow: -2px 1px 3px 0px rgba(168, 168, 168, 1);
    box-shadow: -2px 1px 3px 0px rgba(168, 168, 168, 1);
    z-index: 11;
}

#contactbtn a {
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 4px;
    height: 28px;
    background-size: 13px 19px;
    color: #fff;
    font-size: .8em;
}

#contactbtn a:before {
    content: "";
    width: 13px;
    height: 19px;
    background: url(../images/sprite.png) no-repeat;
    background-position: -46px -29px;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 1.64em;
    -ms-transform: rotate(90deg);
    /* IE 9 */
    -webkit-transform: rotate(90deg);
    /* Safari */
    transform: rotate(90deg);
}

#contactform {
    font-family: 'Raleway', sans-serif;
}

#contactform h2 {
    border-left: 5px solid #98897e;
    font-size: 1.5em;
    color: #ff8b38;
    line-height: 26px;
    text-align: left;
    padding-left: 6px;
    margin-bottom: 1%;
}

#contactform input[type="text"],
#contactform input[type="email"],
#contactform textarea {
    padding-left: .9em;
    border-color: #a7a7a7;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #000;
    -webkit-box-shadow: inset -1px 1px 0px 0px rgba(237, 237, 237, 1);
    -moz-box-shadow: inset -1px 1px 0px 0px rgba(237, 237, 237, 1);
    box-shadow: inset -1px 1px 0px 0px rgba(237, 237, 237, 1);
    width: 100%;
    height: 35px;
}

#contactform .security_img {
    border: 1px solid #a7a7a7;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: #fff;
    color: #000;
    -webkit-box-shadow: inset -1px 1px 0px 0px rgba(237, 237, 237, 1);
    -moz-box-shadow: inset -1px 1px 0px 0px rgba(237, 237, 237, 1);
    box-shadow: inset -1px 1px 0px 0px rgba(237, 237, 237, 1);
    width: 100%;
    height: 35px;
    text-align: center;
}

#contactform .security_img img {
    max-height: 30px;
    margin-top: 3px;
    vertical-align: middle;
}

#contactform ::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #000;
}

#contactform :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #000;
    opacity: 1;
}

#contactform ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #000;
    opacity: 1;
}

#contactform:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000;
}

#contactform:placeholder-shown {
    /* Standard (https://drafts.csswg.org/selectors-4/#placeholder) */
    color: #000;
}

#contactform textarea {
    padding-top: 10px;
    height: 80px;
}

#contactform input[type="submit"] {
    background: #ff8b38;
    color: #fff;
    padding: 0 3em;
    height: 33px;
    font-size: 0.8em;
    -webkit-box-shadow: 0px 2px 3px 0px rgba(204, 204, 204, 1);
    -moz-box-shadow: 0px 2px 3px 0px rgba(204, 204, 204, 1);
    box-shadow: 0px 2px 3px 0px rgba(204, 204, 204, 1);
    margin-top: 1%;
    margin-bottom: 3px;
}

#contactform .marginfix {
    margin-top: 0;
}

textarea {
    font-family: 'Raleway', sans-serif;
}

h1.title {
    border-left: 5px solid #98897e;
    color: #ff8b38;
    padding-left: .25em;
    font-size: 1.8em;
    text-align: left;
    font-weight: bold;
    /* margin:.4em 0; */
}

.mrgtopfix {
    margin-top: -1em;
}

.sidemenu.mrgtopfix {
    margin-top: .6em;
}

.divider {
    border: 1px solid #b4b4b4;
    background: #fff;
    height: 4px;
    width: 100%;
    border-left: 0;
    border-right: 0;
}

.fr {
    float: right;
}

.funcicons {
    width: 16px;
    height: 16px;
    background-image: url(../images/sprite.png);
    display: block;
    float: right;
    margin-top: 1em;
}

.pdfgen {
    background-position: -143px -28px;
}

.print {
    background-position: -121px -28px;
    margin-left: 6px;
    margin-right: 6px;
}

.tsign {
    background-position: -99px -28px;
}

.theme {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: .9em;
}

.col:first-child {
    margin-left: 0;
}

.mlfix {
    margin-left: 0;
}

.galitem {
    border: 1px solid #b9b9b9;
    position: relative;
}

.galitem h3 {
    color: #ff8b38;
    font-size: 1.3em;
    font-weight: bold;
    margin: 3%;
}

.galitem .date {
    color: #8e8e8e;
    margin: 3%;
    margin-top: 0;
    font-weight: bold;
    display: block;
    float: left;
}

.galitem .mediacount {
    color: #000;
    margin: 3%;
    font-weight: bold;
    margin-top: 0;
    display: block;
}

.galitem:hover {
    background: #ff8b38;
    color: #fff;
}

.galitem:hover h3,
.galitem:hover span {
    color: #fff;
}

.videoitem {
    width: 36px;
    height: 36px;
    background: url(../images/sprite.png);
    background-position: -205px -4px;
    display: block;
    position: absolute;
    top: 24%;
    left: 42%;
}

.allmedias {
    width: 100%;
    display: block;
    text-align: center;
    color: #ff8b38;
    text-decoration: underline;
    margin-bottom: 1.5em;
    margin-top: .3em;
}

.sitemap {
    padding-left: 16%;
    padding-top: 1.5em;
}

.sitemap ul {
    margin-bottom: .4em;
}

.sitemap ul li {
    list-style: none;
    font-weight: bold;
    /* padding-bottom:.3em; */
}

.sitemap ul li ul li {
    font-weight: normal;
    list-style: none;
    vertical-align: middle;
    position: relative;
    margin-left: 2em;
    padding-bottom: 0em;
}

.sitemap ul li a:hover {
    text-decoration: underline;
}

.sitemap ul li ul li:before {
    content: "";
    position: absolute;
    top: 6px;
    left: -15px;
    width: 6px;
    height: 6px;
    background-image: url(../images/sprite.png);
    background-position: -147px -2px;
}

.sitemap ul li ul li:hover:before {
    background-position: -147px -10px
}

.sitemap ul li ul li ul li {
    list-style: none;
    margin-left: 0em;
    padding-bottom: 0em;
}

.sitemap ul li ul li ul li:before {
    content: "-";
    background: none;
    top: 0;
    left: -8px;
}

.hasDatepicker .ui-corner-all {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.ui-datepicker-current-day {
    font-weight: bold;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
    color: #535353;
    background: #fff;
    font-weight: normal;
}

.ui-datepicker {
    padding: 0;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-datepicker-days-cell-over .ui-state-highlight,
.ui-widget-content .ui-state-highlight {
    background: #fa8837!important;
    border: 1px solid #d8d8d8!important;
    /*border:none;*/
    color: #fff!important;
    font-weight: bold;
}

.ui-datepicker-calendar .ui-state-hover {
    color: #535353;
    background: #fff;
    font-weight: bold;
    border: 1px solid #d8d8d8;
}

.ui-datepicker-header {
    background: #ff8b38;
}

.ui-datepicker .ui-datepicker-prev {
    left: 6px;
}

.ui-datepicker .ui-datepicker-next {
    right: 6px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    width: 7px;
    height: 12px;
    top: 12px;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev .ui-icon,
.ui-datepicker .ui-datepicker-next .ui-icon {
    background: url(../images/sprite.png);
    opacity: 0.5;
}

.ui-datepicker .ui-datepicker-prev .ui-icon {
    left: 6px;
}

.ui-datepicker .ui-datepicker-next .ui-icon {
    right: 6px;
}

.ui-datepicker .ui-datepicker-prev .ui-icon {
    background-position: -36px -54px;
}

.ui-datepicker .ui-datepicker-next .ui-icon {
    background-position: -22px -54px;
}

.ui-datepicker .ui-datepicker-prev:hover .ui-icon,
.ui-datepicker .ui-datepicker-next:hover .ui-icon {
    opacity: 1.0;
}

.ui-datepicker .ui-datepicker-title {
    line-height: 2.2em;
}

.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
    border: none;
    background: none;
}

.ui-datepicker td {
    padding: 0;
}

.ui-datepicker td {
    border-right: 0;
}

.ui-datepicker th {
    background: #eaeaea;
    padding: 0;
}

.ui-datepicker td span {
    background: #fff!important;
}

.ui-datepicker-other-month {
    opacity: 1!important;
}

.ui-datepicker-other-month span.ui-state-default {
    color: #cfcfcf!important;
}

.ui-datepicker table {
    margin-bottom: 0;
    margin-left: 0;
}

.ui-datepicker {
    width: 100%;
}

.ui-datepicker td span,
.ui-datepicker td a {
    text-align: center;
}

.ui-widget {
    font-family: 'Raleway', sans-serif;
}

.ui-datepicker td {
    border: 1px solid #eeeeee;
}

.ui-datepicker td a {
    border: none!important;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border: none;
}

#datepick {
    max-width: 100%;
}

.event,
.article,
.purchase {
    padding: 1em 0;
    border-bottom: 1px solid #b4b4b4;
}

.event:first-child,
.article:first-child,
.purchase:first-child {
    padding-top: 0;
}

.event:last-child,
.article:last-child,
.purchase:last-child {
    border: none;
}

.event h2,
.article h2 {
    font-size: 1.3em;
    font-weight: 600;
}

.event .time,
.article .time {
    width: 12px;
    height: 13px;
    display: inline-block;
    background: url(../images/sprite.png);
    background-position: -28px -42px;
    vertical-align: middle;
    margin-right: .3em;
}

.event .datetime,
.article .datetime {
    color: #8e8e8e;
    font-size: .8em;
    font-weight: bold;
}

.event .heremore {
    color: #ff8b38;
    text-transform: uppercase;
}

.event .heremore:hover {
    text-decoration: underline;
}

.error {
    border-color: red!important;
}


/**********************************************************/

.soclist,
div.info+p>a {
    color: #ff8b38;
    padding: 0;
}

.soclist li {
    list-style-type: none;
}

.socimg {
    width: 20px;
    height: 20px;
    display: inline-block;
    background: url(../images/sprite.png) no-repeat scroll;
    vertical-align: middle;
}

.soclist>li>p,
.soclist>li>p a {
    color: #ff8b38;
    display: inline;
    vertical-align: middle;
    line-height: 20px;
}

.soclist>li>p a:hover,
div.info+p>a:hover,
.pager a:hover {
    text-decoration: underline;
}

.contactdiv {
    padding: 0px 5%;
}

.contactdiv:first-child {
    border-right: solid 1px #b4b4b4;
}

.contactdivhead {
    text-align: center;
}

.contactdivhead h3,
.contactdivhead h3 a {
    color: #ff8b38;
    font-weight: 600;
}

.contactdivbody {
    color: #535353;
}

div.info {
    width: 25px;
    height: 35px;
    display: block;
    float: left;
    margin-right: 10px;
    background: url(../images/sprite.png) no-repeat scroll -245px -20px;
}

div.info+p {
    color: #535353;
}

.readmore {
    font-weight: 600;
}

.readmore:hover {
    text-decoration: underline;
    color: #ff8b38;
}

.article p,
.article a,
.purchase {
    font-size: 0.95em;
    color: #535353;
}

.article>img {
    float: left;
    margin-right: 15px;
    margin-top: 5px;
}

.article .row .filepdf,
.article .row .fileword,
.article .row .icon {
    position: relative;
    top: 7px;
    margin-right: 10px;
}

.article .row a {
    font-weight: 600;
}

.article .row:hover a {
    text-decoration: underline;
}

.purchases,
.files {
    display: table;
    border-collapse: collapse;
    margin: 15px 0;
}

.purchase {
    display: table-row;
    height: 130px;
}

.purchase:nth-child(odd) {
    background: #f3f3f3;
}

.purchase:nth-child(even) {
    background: #f9f9f9;
}

.purchase .textdiv {
    display: table-cell;
    border: solid 1px #DDD;
    border-left: 0;
    padding: 15px 10px;
}

.purchase .filediv {
    width: 150px;
    border: solid 1px #DDD;
    border-right: 0;
    display: table-cell;
    vertical-align: middle;
}

.purchase .filediv a {
    margin-left: 40px;
}

.purchase .filediv a>div {
    margin-right: 7px;
    top: 8px;
}

.purchase h4 {
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0px;
}

.purchase .textdiv p {
    line-height: 1em;
    margin-top: 15px;
}

.files .th div {
    background: #ff8b38;
    text-align: center;
    font-weight: 600;
    padding: 3px;
}

.files .th div a {
    color: #FFF;
}

.files .th div a:after {
    content: '';
    display: inline-block;
    width: 9px;
    height: 15px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    left: 5px;
    background: url(../images/sprite.png) -28px -55px repeat;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.files .th div:last-child {
    border-left: solid 1px #d2722e;
}

.files .th,
.files .file {
    display: table-row;
}

.files .th div,
.files .file div {
    display: table-cell;
    padding: 5px;
}

.files .th div a.clicked:after {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.files .file>div {
    border: solid 1px #DDD;
    background-color: #f3f3f3;
    vertical-align: middle;
}

.files .file div {
    vertical-align: middle;
}

.files .file a {
    color: #535353;
}

.files .file a>div {
    min-width: 30px;
}

.files .file div:first-child {
    font-weight: 600;
    border-left: 0;
}

.files .file>div:last-child {
    border-right: 0;
    vertical-align: middle;
    text-align: center;
    width: 115px;
}

.file:hover div,
.file:hover div a,
.row:hover a {
    color: #ff8b38;
    transition: none;
}

.file:hover .fileword,
.row:hover .fileword {
    background-position: left -71px top -73px;
}

.file:hover .filepdf,
.row:hover .filepdf {
    background-position: left -100px top -73px;
}

.article.text .datetime {
    margin-bottom: 20px;
}

.article.text .datetime:after {
    content: '';
    display: block;
    margin-top: 5px;
}

.text img {
    margin: 15px 15px 10px 0px;
}

.text ol {
    list-style-type: none;
    counter-reset: cnt;
    padding-left: 0;
}

.text ol>li {
    display: block;
    margin: 03px 0px 0px 25px;
    text-indent: -25px;
}

.text ol>li:before {
    counter-increment: cnt;
    /* Increment the section counter*/
    content: counter(cnt) ". ";
    margin-right: 10px;
    font-weight: 600;
    font-size: 1.1em;
}

.article.text ol>li:before {
    color: #ff8b38;
}

.text ul {
    list-style-type: disc;
    margin: 5px 0px 5px 20px;
    margin-left: 0px;
    text-indent: 0px;
}

.text table td {
    text-align: center;
    padding: 10px 5px;
    border: solid 1px #e5e6e6;
    color: #636363;
    background: #f3f3f3;
}

.text tr:first-child>td {
    font-weight: 600;
    background: #ff8b38;
    color: #FFF;
    border: solid 1px #d2722e;
    border-top: 0;
    border-bottom: 0;
}

.text tr:first-child>td a{
    color:#333;
}

.text table td:first-child {
    /* font-weight:600; */
    border-left: none;
}

.text table td:last-child {
    border-right: none;
}

.text a {
    color: #ff8b38;
}

.text a:hover {
    text-decoration: underline;
}

.menugroup {
    border-bottom: solid 1px #b4b4b4;
}

.menudiv {
    padding: 20px;
    text-align: center;
}

.menudiv:first-child,
.menudiv.border-right {
    border-right: solid 1px #b4b4b4;
}

.menudiv a {
    display: block;
}

.menudiv a h3 {
    color: #ff8b38;
    font-weight: 600;
}

.menudiv a h3:hover {
    text-decoration: underline;
}

.article .orange {
    color: #ff8b38;
    font-weight: 600;
}

.pagecount {
    margin: 5px 0px;
}

.pager>div {
    width: 28px;
    height: 28px;
    float: left;
    text-align: center;
    margin-right: 5px;
}

.pager>div>a {
    width: 28px;
    height: 28px;
    display: block;
    border: solid 1px #b4b4b4;
    padding-top: 2px;
    color: #ff8b38;
}

.pager>div>a.active {
    background: #dfdfdf;
    color: #000;
    font-weight: bold;
}

.arrow.left {
    background: url(../images/sprite.png) no-repeat scroll -267px -19px;
}

.arrow.right {
    background: url(../images/sprite.png) no-repeat scroll -287px -19px;
}

.filepdf,
.fileword {
    width: 18px;
    height: 25px;
    display: inline-block;
    position: relative;
    background: url(../images/sprite.png) no-repeat scroll;
    background-position: left -100px top -48px;
}

.file .icon,
.row .icon {
    width: 18px;
    height: 25px;
    display: inline-block;
    position: relative;
}

.fileword {
    background-position: left -71px top -48px;
}

#twitterblock {
    height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.tweetdiv {
    padding: 0 10px;
}

.tweetdiv:after {
    content: '';
    display: block;
    width: 100%;
    border-bottom: solid 1px #b7b7b7;
    margin: 10px auto;
}

.tweetdiv .timePosted {
    margin: 10px 0 5px 0px;
}

.tweetdiv .timePosted a {
    font-weight: 600;
    color: #535353;
}

.tweetdiv .timeline-Tweet-text a {
    color: #ff8b38;
}

.topichead {
    border: solid 2px #ff8b38;
    padding: 5px 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.topichead a {
    color: #ff8b38;
    display: block;
}

.topicchild {
    border: solid 1px #b4b4b4;
    border-top: 0;
    font-weight: 600;
    color: #575757;
    padding: 10px 0px 10px 20px;
}

.topicchild a {
    display: block;
}

.topic>a {
    font-weight: 600;
}

.topic>a:hover {
    text-decoration: underline;
}

.orange {
    color: #ff8b38;
}

.bold {
    font-weight: 600;
}

#map {
    width: 100%;
    height: 270px;
}

.socimg.draugiem {
    background-position: -250px 0px;
}

.socimg.facebook {
    background-position: -270px 0px;
}

.socimg.twitter {
    background-position: -290px -2px;
}

.socimg.youtube {
    background-position: -310px -2px;
}

.socimg.instagram {
    background-position: -230px -2px;
}

.socimg.email {
    background-position: -330px -2px;
}


/********************************************/

nav ul {
    padding-left: 0;
}

.majorblockcontent {
    position: relative;
}

.actualmenu ul:nth-child(2) li:nth-child(1n+4) {
    display: none;
}

.hugetitle a {
    color: #fff;
}

#datepick .orange-row {
    background: #ff8b38;
    text-align: center;
    color: #fff;
    font-weight: bold;
    line-height: 2.5em;
    border: 1px solid #feb252;
}

#datepick .gray-row {
    background: #eaeaea;
    text-align: center;
}

#datepick .calendar-row td {
    border: 1px solid #f1f1f1;
    text-align: center;
}

#datepick .gray-row td:first-child {
    border-left: 1px solid #dfdfe1;
}

#datepick .gray-row td:last-child {
    border-right: 1px solid #dfdfe1;
}

#datepick .calendar-row:last-child {
    border-bottom-color: #dfdfe1;
}

#datepick .calendar-day-np a {
    color: #cfcfcf;
}

#datepick .day-number a:hover {
    font-weight: bold;
    color: #000;
}


/**********************************************************/

label {
    color: #000;
    font-weight: bold;
}


/*radio*/

[type="radio"]:not(:checked),
[type="radio"]:checked {
    position: absolute;
    left: -9999px;
}

[type="radio"]:not(:checked)+label,
[type="radio"]:checked+label {
    position: relative;
    padding-left: 1.5em;
    padding-bottom: .1em;
    cursor: pointer;
}

[type="radio"]:not(:checked)+label:before,
[type="radio"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: .9em;
    height: .9em;
    border: 1px solid #cfcfcf;
    border-radius: 12px;
    background: #fff;
}

[type="radio"]:not(:checked)+label:after,
[type="radio"]:checked+label:after {
    content: "";
    margin-left: 0;
    position: absolute;
    top: .4rem;
    left: .3em;
    width: .4em;
    height: .4em;
    text-align: center;
    line-height: .8rem;
    display: block;
    background: #ff8b38;
    transition: all .2s;
}

[type="radio"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0);
}

[type="radio"]:checked+label:after {
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    opacity: 1;
    transform: scale(1);
}

[type="radio"]:disabled:not(:checked)+label:before,
[type="radio"]:disabled:checked+label:before {
    box-shadow: none;
    background-color: #ddd;
}

[type="radio"]:disabled:checked+label:after {
    color: #999;
}

[type="radio"]:disabled+label {
    color: #aaa;
}

/*radio*/


/*checkbox*/

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

[type="checkbox"]:not(:checked)+label,
[type="checkbox"]:checked+label {
    position: relative;
    padding-left: 1.5em;
    padding-bottom: .1em;
    cursor: pointer;
}

[type="checkbox"]:not(:checked)+label:before,
[type="checkbox"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: .85em;
    height: .8em;
    border: 1px solid #cfcfcf;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #fff;
}

[type="checkbox"]:not(:checked)+label:after,
[type="checkbox"]:checked+label:after {
    content: "";
    margin-left: 0;
    position: absolute;
    background-image: url(../images/sprite.png);
    background-position: -28px -29px;
    top: .4em;
    left: 0;
    width: .8em;
    height: .8em;
    text-align: center;
    line-height: .8rem;
    display: block;
    transition: all .2s;
}

[type="checkbox"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0);
}

[type="checkbox"]:checked+label:after {
    opacity: 1;
    transform: scale(1);
}

[type="checkbox"]:disabled:not(:checked)+label:before,
[type="checkbox"]:disabled:checked+label:before {
    box-shadow: none;
    background-color: #ddd;
}

[type="checkbox"]:disabled:checked+label:after {
    color: #999;
}

[type="checkbox"]:disabled+label {
    color: #aaa;
}


/*checkbox*/

label.textbox {
    padding-left: 1.5em;
}


/*  GO FULL WIDTH AT LESS THAN 680 PIXELS */

@media only screen and (max-width: 680px) {
    .logo_link {
        display: block;
        margin: 0 auto;
        float: none;
    }
    #headerright {
        float: none;
        width: 80%;
        margin: 0 auto;
    }
    #sitesearch {
        width: 100%;
        margin: 0 auto;
        margin-top: 3%;
    }
    #headerright input[type="text"] {
        width: 100%;
    }
    #headerrightlinks {
        padding: 0;
        margin: 0;
        margin-top: 1em;
        float: right;
    }
    #headerrightlinks li {
        height: 31px;
    }
    #headerrightlinks .soc {
        margin-top: 5px;
    }
    #headerrightlinks #sitemap {
        margin-top: 5px;
    }
    #headerrightlinks .fontsize {
        margin-top: 3px;
    }
    #headerrightlinks .xxl.fontsize {
        font-size: 24px;
    }
    #headerrightlinks .m.fontsize {
        font-size: 18px;
    }
    #headerrightlinks .s.fontsize {
        font-size: 16px;
    }
    .langmenu a {
        width: 31px;
        height: 31px;
        line-height: 29px;
        font-size: 1.5em;
    }
    .contactdiv:first-child {
        border: 0;
    }
    .purchase .filediv {
        width: 100px;
    }
    .filediv a {
        margin: 15px!important;
    }
    .menugroup {
        border: 0;
    }
    .menudiv:first-child {
        border: 0;
        border-bottom: solid 1px #b4b4b4;
    }
    .menudiv {
        border-bottom: solid 1px #b4b4b4;
    }
}

#fancybox-thumbs {
    position: relative;
    margin-top: 5px;
}

#fancybox-thumbs li {
    margin-left: 3px;
}

.fancygal .fancybox-skin:hover .fancybox-title {
    opacity: 1;
}

.fancybox-title {
    position: absolute;
    padding-top: 1px;
    width: 100%;
    color: #000;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    font-family: 'Raleway';
    opacity: 0;
    transition: all 0.5s;
}

.fancybox-skin:after {
    content: '';
    display: block;
    clear: both;
}

.fancygal .fancybox-skin {
    border: 0;
}

.fancyarrow {
    display: block;
    height: 40px;
    width: 50px;
    float: left;
    position: absolute;
    bottom: 80px;
    cursor: pointer;
}

.fancyarrow.next {
    right: 0;
}

.fancyarrow.next:before {
    background-position: 0px -190px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.fancyarrow.prev:before {
    background-position: -15px -190px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.fancyarrow:before {
    content: '';
    width: 15px;
    height: 20px;
    display: block;
    background: url(../images/sprite.png);
    opacity: 0.4;
    transition: all 0.5s;
}

.fancyarrow:hover:before {
    opacity: 1;
}

.fancybox-prev,
.fancybox-next {
    display: none;
}

table.bezstila {
    border: none;
}

table.bezstila>tbody>tr {
    background: none!important;
    border: none!important;
}

table.bezstila>tbody>tr>td {
    background: none!important;
    border: none!important;
}

table.bezvirsraksta tr:first-child td
/*   */

{
    background: #f3f3f3;
    border-color: #e5e6e6;
    color: #636363;
    font-weight: normal;
}

img {
    border-color: #ccc;
}

#headcontainer {
    position: relative;
    z-index: 3;
}

.flexnav li a {
    display: inline-block;
}

.flexnav .touch-button {
    vertical-align: top;
    width: 10px;
    background-color: transparent;
    height: 43px;
    font-size: 0px;
}

.flexnav .touch-button .navicon {
    top: 14px;
}

.flexnav .has_submenu>ul {
    transform: translateY(-3px);
}

.flexnav .has_submenu ul li {
    display: block;
}

.flexnav .has_submenu ul li a {
    border-bottom: 3px solid transparent;
    text-align: left;
    padding: 10px;
}

.flexnav .has_submenu:hover {
    z-index: 1000;
}

.flexnav .has_submenu ul li a:hover {
    color: #FFF;
}

.flexnav .has_submenu ul li a.active {
    color: #FFF;
    border-bottom: 3px solid #ff8b38;
}

.flexnav .has_submenu>a {
    padding-right: 15px;
}

.flexnav a.active {
    color: #ff8b38;
}

.flexnav .active~.touch-button .navicon,
.flexnav a:hover~.touch-button .navicon {
    color: #ff8b38;
}

.flexnav.with-js .has_submenu ul {
    display: block;
    min-width: 150px;
    right: 0;
    left: auto;
}

.hugetitle a.active {
    background-color: #ff8b38;
}

@media all and (min-width: 800px) {
    .flexnav .has_submenu ul {
        display: none;
    }
}

@media all and (max-width: 800px) {
    .flexnav .touch-button {
        width: 50px;
    }
}

.majorblockcontent>ul{
    max-height: 200px;
    overflow: auto;
}

.row{
    width: 100%;
}

.custom-col{
    padding: 5px 15px;
}

.registration-form{
    margin-top: 30px;
}

.registration-form label{
    font-weight: 600;
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="phone"]
{
    height: 30px;
    width: 100%;
}

.registration-form input[type="submit"]{
    height: auto;
}

.registration-form input:invalid,
.registration-form textarea:invalid{
    box-shadow: none;
}

#success{
    margin-top: 30px;
    padding-left: 15px;
    font-weight: 600;
}

.partners_holder {
    width: inherit;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-gap: 1em 1em;
    grid-auto-flow: row dense;
}


.partners_holder a {
    padding: inherit;
}

.partners_holder a img {
    display: block;
    margin: 0 auto;
}

.majorblockcontent {
    height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}

/* START CreateIT override styles when printing */
@media print {
#headerright {
    display: none;
}
.wrapper.grayline {
    display: none;
}
.wrapper.grayarea {
    display: none;
}
#contactbtn {
    display: none;
}
.extraborder {
    display: none;
}
.fr {
    display: none;
}
.col.span_1_of_4 {
    display: none;
}
.span_3_of_4 {
    width: 100%;
}
.divider {
    display: none;
}
.title {
    color: #000 !important;
}
h1.title {
    border-left: 5px solid #000 !important;
}
.article.text ol>li:before {
    color: #000 !important;
}
.text a {
    color: #000 !important;
    font-weight: bold;
}
.text a::after {
    content: " (" attr(href) ") ";
}
#footercontainer {
    background: transparent !important;
}
footer {
    color: #000 !important;
    text-align: left !important;
}
}
/* END CreateIT override styles when printing */
.pdfgen.funcicons {
    display: none;
}