/*------------------------------------*\
GLOBAL
\*------------------------------------*/
body {
    background: #f6f6f6;
    width: 100%;
}
body,
input,
textarea,
select,
button {
    font-size: 14px;
    line-height: 20px;
    font-family: 'Merriweather', Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #000;
    margin: 0;
}
a {
    color: #006690;
    text-decoration: none;
    -webkit-transition: color .2s;
    transition: color .2s;
}
a:not(.button):hover {
    color: #1c94ba;
}
h1,
h2,
h3,
h4,
h5,
input,
select,
textarea {
    font-family: 'Lato', sans-serif;
}
::-webkit-input-placeholder {
    color: #000;
}
:-moz-placeholder {
    color: #000;
}
::-moz-placeholder {
    color: #000;
}
:-ms-input-placeholder {
    color: #000;
}
/*------------------------------------*\
$BUTTONS
\*------------------------------------*/
.button {
    display: inline-block;
    vertical-align: middle;
    border: 0;
    margin: 0;
    padding: 0;
    background: none;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    font-family: 'Lato', sans-serif;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.button01 {
    padding: 10px 20px;
    background: #1c94ba;
}
/*------------------------------------*\
$HEADER
\*------------------------------------*/
#header {
    font-family: 'Lato', sans-serif;
    background: #fff;
    position: relative;
}
#header:before {
    content: '';
    display: block;
    height: 5px;
    background: #0b537a;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0b537a), color-stop(100%, #82d4cc));
    background: -webkit-linear-gradient(left, #0b537a 0%, #82d4cc 100%);
    background: -webkit-gradient(linear, left top, right top, from(#0b537a), to(#82d4cc));
    background: linear-gradient(to right, #0b537a 0%, #82d4cc 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#0b537a', endColorstr='#82d4cc', GradientType=1);
}
#header .hd-top {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid #eeeeee;
}
#header #logo {
    float: left;
    padding: 17px 10px 12px 13px;
}
#header #logo img {
    display: block;
    max-width: 100%;
}
#header .hd-actions {
    float: right;
    padding: 20px 0 25px 20px;
}
#header .top-menu {
    list-style: none;
    font-size: 0;
    margin: 10px 0;
    float: left;
}
#header .top-menu > li {
    display: inline-block;
    vertical-align: top;
    margin-left: 20px;
    font-size: 12px;
    position: relative;
}
#header .top-menu > li:first-child {
    margin-left: 0;
}
#header .top-menu > li > a {
    display: block;
    padding-left: 20px;
    text-decoration: underline;
}
#header .top-menu li a.docs {
    background: url(../images/base/icon-docs.png) no-repeat 0 50%;
}
#header .top-menu li a.calendar {
    background: url(../images/base/icon-calendar.png) no-repeat 0 50%;
}
#header .top-menu li a.sitemap {
    background: url(../images/base/icon-sitemap.png) no-repeat 0 50%;
}
#header .calendar-drop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 530px;
    margin-top: 5px;
    background: #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
#header .calendar-drop .go-back {
    display: none;
    padding: 10px 20px;
    font-size: 14px;
    text-decoration: underline;
    text-align: center;
}
.calendar-drop .events {
    float: left;
    width: 265px;
}
.calendar-drop .events ul {
    list-style: none;
}
.calendar-drop .events ul li {
    border-top: 1px solid #eee;
}
.calendar-drop .events ul li:first-child {
    border-top: 0;
}
.calendar-drop .events ul li:first-child a {
    padding-top: 10px;
}
.calendar-drop .events ul li a {
    display: block;
    position: relative;
    font-weight: bold;
    color: #000;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding: 9px 10px 10px 45px;
}
.calendar-drop .events ul li a:hover {
    color: #068ebb;
}
.calendar-drop .events ul li a span {
    position: absolute;
    top: 50%;
    left: 5px;
    width: 35px;
    font-size: 20px;
    font-weight: 900;
    color: #068ebb;
    text-align: center;
    margin-top: -15px;
    text-transform: uppercase;
}
.calendar-drop .events ul li a span small {
    display: block;
    font-size: 10px;
    line-height: 10px;
}
#header .searchbox {
    float: left;
    margin-left: 20px;
}
#header .searchbox input {
    display: block;
    width: 300px;
    font-size: 12px;
    border: 2px solid #eeeeee;
    padding: 8px 18px 8px 38px;
    background: url(../images/base/icon-search.png) no-repeat 13px 50%;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}
#menu > ul > {
    list-style: none;
    font-size: 0;
    margin-left: -5px;
    position: relative;
}
#menu > ul > li {
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    font-weight: bold;
    margin-left: 30px;
}
#menu > ul > li.hidden {
    display: none;
}
#menu > ul > li.hidden + li {
    margin-left: 0px;
}
#menu > ul > li:first-child {
    margin-left: 0;
}
#menu > ul > li > a {
    display: block;
    color: #000;
    padding: 15px 0 11px;
    border-bottom: 4px solid transparent;
}
#menu > ul > li > a.active {
    border-color: #006690;
}
#menu > ul > li > a:hover {
    color: #006690;
}
#langbar {
    float: right;
    padding: 10px 0px;
    margin-left: 20px;
}
#langbar a {
    float: left;
}
#langbar a + a {
    margin-left: 5px;
}
/*------------------------------------*\
$FOOTER
\*------------------------------------*/
#footer {
    max-width: 100%;
    padding: 15px 20px 55px;
    width: 1160px;
    text-align: center;
    margin: 0 auto;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    background: url(../images/base/footer-bg.png) no-repeat 0 0;
    background-size: 100% auto;
}
#footer ul {
    list-style: none;
    font-size: 0;
}
#footer ul li {
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
}
#footer ul li:before {
    content: '\2022';
    display: inline-block;
    vertical-align: top;
    width: 40px;
}
#footer ul li:first-child:before {
    display: none;
}
#footer ul li a {
    display: inline-block;
    vertical-align: top;
    color: #fff;
    text-decoration: underline;
}
/*------------------------------------*\
$DEFAULT-FORMATTING
\*------------------------------------*/
.def {
    font-family: 'Lato', sans-serif;
    line-height: 25px;
}
.def .deck {
    font-size: 18px;
    margin-bottom: 20px;
}
.def h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
.newspage h2 {
    margin-bottom: 0;
}
.newspage .date {
    font-weight: 900;
    color: #808080;
    text-transform: uppercase;
}
.def em {
    font-style: italic;
}
.def strong,
.def b {
    font-weight: bold;
}
.def em strong,
.def em b,
.def strong em,
.def strong b {
    font-style: italic;
    font-weight: bold;
}
.def i {
    font-style: italic;
}
.def p {
    margin: 0 0 20px;
}
.def p:last-child {
    margin-bottom: 0;
}
.def a {
    text-decoration: underline;
}
.def ul,
.def ol {
    margin-bottom: 20px;
    margin-left: 20px;
}
.def ul {
    list-style-type: disc;
    clear: both;
}
.def ol {
    list-style-type: decimal;
    clear: both;
}
* html .def ol {
    margin-left: 25px;
}
.def ul ol,
.def ol ol,
.def ul ul,
.def ol ul {
    margin-bottom: 0px;
}
.def ul li,
.def ol li {
    line-height: 18px;
}
.def img {
    margin: 0 0 20px;
    display: inline;
    max-width: 100%;
}
.def blockquote {
    padding: 0 0 0 20px;
    margin: 0 0 10px;
}
/*------------------------------------*\
$COLUMNS
\*------------------------------------*/
.col {
    float: left;
    min-height: 1px;
}
/*------------------------------------*\
$OTHER
\*------------------------------------*/
.hidden {
    display: none;
}
.hidden2 {
    position: absolute;
    top: -2000px;
}
.lfloat {
    float: left;
}
.rfloat {
    float: right;
}
.sidefloat {
    display: table-cell;
    vertical-align: top;
    width: 10000px;
    =display: block;
    =zoom: 1;
    =width: auto;
}
.aleft {
    text-align: left;
}
.aright {
    text-align: right;
}
.clear {
    clear: both;
    display: block;
    height: 0;
    overflow: hidden;
    width: 0;
    visibility: hidden;
}
.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    width: 0;
    visibility: hidden;
}
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}
.no-underline {
    text-decoration: none !important;
}
.hidden {
    display: none;
}
/*------------------------------------*\
$CONTENTS
\*------------------------------------*/
.container {
    width: 1140px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
    max-width: 100%;
}
#intro {
    background: #fff no-repeat 50% 0;
    position: relative;
}
#intro .container {
    font-size: 0;
}
#intro .textblock {
    display: inline-block;
    vertical-align: middle;
    width: 360px;
    color: #fff;
    font-size: 12px;
    line-height: 25px;
    position: relative;
    z-index: 5;
}
#intro .textblock h1 {
    font-weight: 900;
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
#intro .mapblock {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    margin-left: -360px;
    padding-left: 490px;
    position: relative;
    z-index: 4;
}
#intro .coat {
    display: inline-block;
    vertical-align: middle;
    margin-right: 55px;
}
#intro .details {
    display: none;
    vertical-align: middle;
    width: 140px;
    padding: 17px 10px 10px;
    position: relative;
    background: #fff;
    font-family: 'Lato', sans-serif;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    font-size: 12px;
    line-height: 15px;
    margin-right: 55px;
}
#intro .details .img {
    height: 80px;
    margin-bottom: 10px;
}
#intro .details img {
    display: block;
    margin: 0 auto;
    max-height: 100%;
}
#intro .details .name {
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}
#intro .details:after {
    content: '';
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: url(../images/base/coat-bg.png) no-repeat 0 0;
}
#intro .details table {
    width: 100%;
    line-height: 20px;
}
#intro .details table th {
    font-weight: normal;
    text-align: left;
}
#intro .details table td {
    text-align: right;
    font-weight: bold;
}
#intro .details .nonmember {
    display: none;
    text-align: center;
    margin-top: 10px;
}
#intro .map {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 435px;
    height: 440px;
    margin: -10px 0 -30px;
}
#intro .map img {
    display: block;
}
#page {
    width: 1160px;
    padding: 0 20px 30px 0;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    background: #fff;
    z-index: 3;
}
#page:before {
    content: '';
    display: block;
    height: 40px;
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    background: url(../images/base/main-top-bg.png) no-repeat 285px 0;
}
#sidebar {
    float: left;
    width: 285px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}
#sidebar .discover {
    font-size: 20px;
    padding: 0 0 3px 20px;
    margin: -20px 0 -3px 20px;
    color: #fff;
    background: url(../images/base/icon-arrow.png) no-repeat 0 0;
    text-transform: uppercase;
}
#submenu,
#sidemenu {
    font-family: 'Lato', sans-serif;
}
#submenu:before,
#sidemenu:before {
    content: '';
    display: block;
    height: 40px;
    background: url(../images/base/sidemenu-up-bg.png) no-repeat 0 0;
}
#submenu:after,
#sidemenu:after {
    content: '';
    display: block;
    height: 40px;
    background: url(../images/base/sidemenu-down-bg.png) no-repeat 0 0;
}
#sidemenu ul {
    list-style: none;
    background: #1c94ba;
}
#sidemenu ul li {
    display: block;
    padding-left: 40px;
    border-top: 1px solid #1c89ac;
}
#sidemenu ul li:first-child {
    border-top: 0;
}
#sidemenu ul li a {
    color: #fff;
    display: block;
    padding: 10px 20px 10px 0;
}
#sidemenu ul .local-gov a {
    font-weight: bold;
    padding-left: 20px;
    background: url(../images/base/vapp.png) no-repeat 0 50%;
}
#submenu {
    margin-bottom: -40px;
}
#submenu:before {
    background: url(../images/base/submenu-top-bg.png) no-repeat 0 0;
}
#submenu:after {
    background: url(../images/base/submenu-bottom-bg.png) no-repeat 0 0;
}
#submenu ul {
    list-style: none;
    background: #cde4eb;
}
#submenu > ul > li {
    display: block;
    font-size: 12px;
    padding-left: 40px;
    border-bottom: 1px solid #bed6de;
}
#submenu > ul > li:last-child {
    border-bottom: 0;
}
#submenu > ul > li ul {
    padding: 0 20px 10px 20px;
}
#submenu > ul > li a {
    font-weight: bold;
    color: #4d5c61;
    display: block;
    padding: 10px 20px 10px 0;
}
#submenu > ul > li li a {
    font-weight: normal;
    padding: 0;
}
#fp-banners {
    float: right;
    width: 265px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}
#fp-banners ul {
    list-style: none;
}
#fp-banners a,
#fp-banners li,
#fp-banners img {
    display: block;
    max-width: 100%;
}
#fp-banners li {
    margin-top: 20px;
}
#fp-banners li:first-child {
    margin-top: 0;
}
#sidebar ~ #main {
    float: left;
    width: 100%;
    margin-left: -285px;
    padding-left: 305px;
}
#fp-banners + #main {
    margin-right: -265px;
    padding-right: 285px;
}
#main {
    background: #fff;
    margin-top: 15px;
}
.front-news-header {
    font-family: 'Lato', sans-serif;
    border-bottom: 1px solid #eee;
}
.front-news-header h2 {
    float: left;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 900;
}
.front-news-header a {
    float: right;
    font-size: 12px;
    text-decoration: underline;
}
.front-news .post {
    margin-top: 20px;
    font-size: 0;
}
.front-news .post .img {
    float: left;
    width: 170px;
}
.front-news .post .text {
    font-size: 12px;
    line-height: 25px;
}
.front-news .post .text h3 {
    font-size: 18px;
    line-height: 20px;
    font-weight: 900;
    margin-bottom: 5px;
}
.front-news .post .text .date {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    color: #808080;
    font-weight: 900;
    font-size: 10px;
    line-height: 10px;
    margin-bottom: 10px;
}
.front-news .post .img + .text {
    float: left;
    width: 100%;
    margin-left: -170px;
    padding-left: 190px;
}
#main .pagetitle {
    font-size: 30px;
    line-height: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
    font-weight: 900;
    margin-bottom: 20px;
}
.top-image {
    overflow: hidden;
}
.top-image img {
    display: block;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
.news-list .post {
    margin-top: 20px;
}
.news-list .post .img {
    float: right;
    width: 265px;
    display: block;
}
.news-list .post .img img {
    display: block;
    width: 100%;
}
.news-list .post .img + .text {
    float: left;
    width: 100%;
    margin-right: -265px;
    padding-right: 285px;
}
.news-list .post .text {
    font-size: 12px;
    line-height: 25px;
}
.news-list .post .text h2 {
    font-weight: 900;
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 5px;
}
.news-list .post .text .date {
    font-family: 'Lato', sans-serif;
    color: #808080;
    font-weight: 900;
    font-size: 10px;
    line-height: 10px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.pager {
    margin-top: 20px;
    text-align: center;
}
.pager a,
.pager span {
    display: inline-block;
    vertical-align: top;
    color: #000000;
    margin: 10px 5px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    text-align: center;
}
.pager a:hover {
    text-decoration: underline;
}
.pager a.active {
    font-weight: bold;
}
.pager a.next,
.pager a.prev {
    float: left;
    width: auto;
    margin: 0;
    position: relative;
    background: #f3f3f3;
    padding: 10px 15px 10px 30px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.pager a.next:after,
.pager a.prev:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 14px;
    width: 0;
    height: 0;
    margin-top: -5px;
    border-style: solid;
    border-width: 5px 5px 5px 0;
    border-color: transparent #808080 transparent transparent;
    -webkit-transition: border .2s;
    transition: border .2s;
}
.pager a.next:hover,
.pager a.prev:hover {
    color: #000;
    text-decoration: none;
}
.pager a.prev:hover:before {
    border-color: transparent #000000 transparent transparent;
}
.pager a.next {
    float: right;
    padding: 10px 30px 10px 15px;
}
.pager a.next:after {
    left: auto;
    right: 14px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #808080;
}
.pager a.next:hover:after {
    border-color: transparent transparent transparent #000000;
}
.eventpage header {
    font-size: 0;
    margin-bottom: 15px;
}
.eventpage header .date {
    color: #068ebb;
    font-weight: 900;
    font-size: 40px;
    line-height: 40px;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    width: 60px;
    position: relative;
    z-index: 2;
}
.eventpage header .date span {
    display: block;
    font-size: 14px;
    line-height: 20px;
}
.eventpage header h2 {
    margin: 0;
    display: inline-block;
    vertical-align: top;
    margin: 12px 0 20px -60px;
    padding-left: 80px;
}
.search-results .searchbox {
    padding: 0 20px 20px;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 15px;
}
.search-results .searchbox input {
    display: block;
    width: 100%;
    font-size: 12px;
    border: 2px solid #eeeeee;
    padding: 8px 18px 8px 38px;
    background: url(../images/base/icon-search.png) no-repeat 13px 50%;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}
.search-results .search-category {
    margin-bottom: 30px;
}
.search-results .search-category:last-child {
    margin-bottom: 0;
}
.search-results .search-category header {
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
}
.search-results .search-category header h2 {
    float: left;
    font-size: 24px;
    line-height: 30px;
}
.search-results .search-category header a {
    float: right;
    line-height: 30px;
    text-decoration: underline;
    font-size: 12px;
}
.search-results .post {
    margin-bottom: 30px;
    font-family: 'Lato', sans-serif;
}
.search-results .post:last-child {
    margin-bottom: 0;
}
.search-results .post h3 {
    font-size: 18px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 10px;
}
.search-results .post .date {
    color: #808080;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 10px;
    margin-bottom: 15px;
}
.sitemap ul {
    list-style: none;
    font-family: 'Lato', sans-serif;
}
.sitemap ul a {
    color: #000;
}
.sitemap ul ul ul {
    list-style-image: url(../images/base/bullet.png);
}
.sitemap ul ul ul ul {
    list-style-image: url(../images/base/bullet2.png);
}
.sitemap > ul >li > ul {
    margin: 20px 0 30px;
}
.sitemap > ul > li > a {
    font-size: 24px;
    font-weight: bold;
}
.sitemap > ul >li > ul > li {
    margin-bottom: 20px;
}
.sitemap > ul >li > ul > li > a {
    font-size: 16px;
    font-weight: bold;
}
.sitemap > ul >li > ul > li > ul {
    margin: 10px 0 10px 20px;
}
.sitemap > ul >li > ul > li > ul li {
    margin-top: 5px;
}
.sitemap > ul >li > ul > li > ul li:first-child {
    margin-top: 0;
}
.sitemap > ul >li > ul > li > ul > li > ul {
    margin: 10px 0 10px 20px;
    font-size: 12px;
}
.ui-datepicker .selector {
    background: #097aa0;
    padding: 10px;
    display: inline-block;
    vertical-align: top;
    width: 85px !important;
    position: relative;
    text-align: center;
}
.ui-datepicker .selector:first-child {
    width: 180px !important;
    background: #0781aa;
}
.ui-datepicker .selector span {
    display: inline-block;
    vertical-align: top;
    font-weight: 900;
    color: #fff;
    font-size: 12px;
    width: auto !important;
    text-transform: uppercase;
}
.ui-datepicker .selector span:after {
    content: '';
    display: inline-block;
    vertical-align: top;
    margin: 7px 0 0 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #ffffff transparent transparent transparent;
}
.frm .selector {
    position: relative;
    line-height: 20px;
    width: auto !important;
    border: 2px solid #eee;
    padding-right: 36px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.frm .selector span {
    display: block;
    padding: 8px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #eeeeee;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    width: auto !important;
}
.frm .selector:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 11px;
    margin-top: -3.5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 7px 0 7px;
    border-color: #c0c0c0 transparent transparent transparent;
    z-index: 1;
}
.selector select {
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    border: none;
    background: none;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}
#datepicker {
    float: left;
    width: 265px;
    background: #068ebb;
    overflow: hidden;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.ui-datepicker {
    display: none;
    width: 100%;
    color: #fff;
    padding: 0 10px 10px;
}
.ui-datepicker-prev,
.ui-datepicker-next {
    display: none !important;
}
.ui-datepicker select {
    opacity: 0;
}
.ui-datepicker-header {
    height: 40px;
    margin: 0 -10px 10px;
}
.ui-datepicker table {
    width: 100%;
    text-align: center;
}
.ui-datepicker table th {
    text-transform: uppercase;
    font-size: 12px;
    color: #ffffff;
    line-height: 30px;
    font-weight: 900;
}
.ui-datepicker table td {
    vertical-align: top;
    font-size: 18px;
}
.ui-datepicker table td a {
    display: block;
    width: 35px;
    height: 30px;
    color: #cfe5e7;
    padding: 5px;
}
.ui-datepicker table td a:hover {
    color: #fff;
}
.ui-datepicker table td a.ui-state-highlight {
    color: #fff;
    font-weight: 900;
}
.ui-datepicker table td a.ui-state-active {
    background: #066989;
    color: #fff;
    font-weight: 900;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.event-highlight a {
    color: #fff !important;
    font-weight: 900 !important;
}
area {
    outline: none !important;
}
.details {
    display: inline-block !important;
}
article.def p > img {
    margin: 0;
}
/* Language differences */
html[lang="ru"] #intro .textblock {
    width: 400px;
}
html[lang="ru"] #intro .textblock h1 {
    font-size: 30px;
    line-height: 30px;
}
html[lang="ru"] #intro .textblock p {
    line-height: 20px;
}
html[lang="ru"] #intro .mapblock {
    margin-left: -400px;
}

html[lang="ru"] .sitemap > ul >li > ul > li:first-child,
html[lang="en"] .sitemap > ul >li > ul > li:first-child{
    display: none;
}

html[lang="ru"] #sidebar .discover,
html[lang="en"] #sidebar .discover{
    display: none;
}
html[lang="ru"] #menu > ul > li:first-child,
html[lang="en"] #menu > ul > li:first-child{
    display: none;
}

@media only screen and (max-width:1200px) {
    #menu ul li {
        margin-left: 20px;
    }
    #header .calendar-drop {
        width: 265px;
    }
    #datepicker,
    .calendar-drop .events {
        float: none;
    }
    #intro .mapblock {
        display: none;
    }
    #intro .textblock {
        display: block;
        width: auto!important;
        padding: 40px 0 80px;
        text-align: center;
    }
}
@media only screen and (max-width:1024px) {
    .menu-open,
    .sidemenu-open {
        overflow: hidden;
    }
    .menu-open #wrap:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: #000;
        opacity: .5;
        z-index: 9000;
    }
    #wrap {
        position: relative;
        padding-top: 66px;
        left: 0;
        -webkit-transition: left .2s;
        transition: left .2s;
    }
    .sidemenu-open #wrap,
    .sidemenu-open #header,
    .menu-open #wrap,
    .menu-open #header {
        left: -280px;
    }
    #header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        -webkit-transition: left .2s;
        transition: left .2s;
        z-index: 9999;
    }
    #header .hd-actions {
        display: none;
    }
    #menu {
        position: fixed;
        top: 0;
        right: -280px;
        height: 100%;
        width: 280px;
        overflow: auto;
        background: #fff;
        border-left: 5px solid #00668F;
        -webkit-transition: right .2s;
        transition: right .2s;
    }
    #menu > ul {
        margin: 0 0 10px;
        right: 0;
        -webkit-transition: right .2s;
        transition: right .2s;
    }
    .calendar-open #menu > ul,
    .calendar-open #menu .hd-actions {
        right: -280px;
    }
    #menu ul li {
        display: block;
        margin: 0;
    }
    #menu > ul > li > a {
        display: block;
        padding: 10px 20px;
        font-size: 14px;
        border: 0;
    }
    #menu > ul > li > a.active {
        background: #006690;
        color: #fff;
    }
    .menu-open #menu {
        right: 0;
    }
    #menu .hd-actions {
        display: block;
        float: none;
        padding: 0;
        position: relative;
        right: 0;
        border-top: 1px solid #eee;
    }
    #header .top-menu {
        float: none;
        margin: 10px 20px;
    }
    #header .top-menu > li {
        display: block;
        margin: 0;
    }
    #header .top-menu > li > a {
        font-size: 12px;
        display: block;
        padding: 10px 10px 10px 20px;
        color: #000;
    }
    #header .searchbox {
        float: none;
        margin: 0;
        padding: 10px 20px;
        border-top: 1px solid #eee;
    }
    #header .searchbox input {
        width: 100%;
    }
    .menu-toggle {
        position: absolute;
        top: 15px;
        right: 10px;
        width: 40px;
        height: 40px;
        background: #006690;
        cursor: pointer;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        z-index: 200;
    }
    .menu-toggle:after {
        content: '';
        display: block;
        position: absolute;
        top: 12px;
        left: 8px;
        width: 24px;
        height: 4px;
        background: #fff;
        -webkit-box-shadow: 0 6px 0 #fff, 0 12px 0 #fff;
        box-shadow: 0 6px 0 #fff, 0 12px 0 #fff;
        -webkit-border-radius: 2px;
        border-radius: 2px;
    }
    #header #logo {
        width: 180px;
        padding: 10px 10px 10px 0;
    }
    #page:before,
    #submenu:before,
    #sidemenu:before,
    #submenu:after,
    #sidemenu:after,
    #fp-banners {
        display: none;
    }
    #header .calendar-drop {
        position: fixed;
        top: 0;
        right: 0;
        margin: 0;
        left: auto;
        height: 100%;
        width: 275px;
        padding: 5px 0 5px 5px;
        z-index: 9999;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-box-shadow: none;
        box-shadow: none;
        -webkit-border-radius: 0;
        border-radius: 0;
    }
    #sidebar {
        float: none;
    }
    #fp-banners + #main,
    #sidebar ~ #main {
        float: none;
        margin: 0;
        padding: 20px;
        width: auto;
    }
    #page {
        padding: 0;
    }
    #sidebar {
        margin: 0;
        background: #1c94ba;
        padding: 10px;
        width: auto;
        float: none;
        z-index: 9001;
    }
    .sidemenu-open #sidebar:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: .5;
        background: #000;
        z-index: 9000;
    }
    #submenu {
        margin: 0;
    }
    .sidemenus {
        position: fixed;
        top: 0;
        right: -280px;
        height: 100%;
        overflow: auto;
        width: 280px;
        background: #1c94ba;
        border-left: 5px solid #1c89ac;
        -webkit-transition: right .2s;
        transition: right .2s;
        z-index: 9004;
    }
    .sidemenu-open .sidemenus {
        right: 0;
    }
    .sidemenus-toggle {
        float: right;
        width: 40px;
        height: 40px;
        background: #fff;
        cursor: pointer;
        position: relative;
        z-index: 9001;
        -webkit-border-radius: 3px;
        border-radius: 3px;
    }
    .sidemenus-toggle:after {
        content: '';
        display: block;
        position: absolute;
        top: 12px;
        left: 8px;
        width: 24px;
        height: 4px;
        background: #1c94ba;
        -webkit-box-shadow: 0 6px 0 #1c94ba, 0 12px 0 #1c94ba;
        box-shadow: 0 6px 0 #1c94ba, 0 12px 0 #1c94ba;
        -webkit-border-radius: 2px;
        border-radius: 2px;
    }
    #sidemenu ul li,
    #submenu > ul > li {
        padding-left: 20px;
    }
    #footer {
        padding: 20px;
        background: #0b537a;
        background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0b537a), color-stop(100%, #82d4cc));
        background: -webkit-linear-gradient(left, #0b537a 0%, #82d4cc 100%);
        background: -webkit-gradient(linear, left top, right top, from(#0b537a), to(#82d4cc));
        background: linear-gradient(to right, #0b537a 0%, #82d4cc 100%);
        filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#0b537a', endColorstr='#82d4cc', GradientType=1);
    }
    #footer ul li {
        display: block;
    }
    #footer ul li:before {
        display: none;
    }
    #header .calendar-drop .go-back {
        display: block;
    }
    #sidebar .discover {
        margin: 8px 0 9px;
        float: left;
    }
    #intro .textblock {
        padding: 30px 0;
    }
    #intro .textblock h1 {
        font-size: 30px;
        line-height: 30px;
    }
    .top-image img {
        max-height: 120px;
    }
    #langbar {
        margin-left: 0px;
        padding: 10px 20px;
        text-align: center;
        float: none;
        border-top: 1px solid #eee;
    }
    #langbar a {
        display: inline-block;
        vertical-align: top;
        float: none;
    }
}
@media only screen and (max-width:680px) {
    .news-list .post .img {
        display: none;
    }
    .news-list .post .img + .text {
        float: none;
        margin: 0;
        padding: 0;
    }
    .pager {
        position: relative;
        padding-top: 60px;
    }
    .pager a,
    .pager span {
        font-size: 14px;
    }
    .pager a.next,
    .pager a.prev {
        float: none;
        position: absolute;
        top: 10px;
        left: 0;
    }
    .pager a.next {
        left: auto;
        right: 0;
    }
    #intro .textblock {
        line-height: 20px;
    }
    #intro .textblock h1 {
        font-size: 24px;
        line-height: 25px;
        margin-bottom: 15px;
    }
    .front-news .post .text {
        line-height: 20px;
    }
    .frm {
        float: none;
        width: auto;
        margin: 0 0 20px;
    }
    .top-image img {
        max-height: 80px;
    }
}
@media only screen and (max-width:480px) {
    .def {
        line-height: 20px;
    }
    .def h2,
    .news-list .post .text h2,
    .search-results .search-category header h2,
    .sitemap > ul > li > a {
        font-size: 18px;
        line-height: 20px;
    }
    .newspage .date {
        font-size: 12px;
    }
    .def .deck,
    .search-results .post h3 {
        font-size: 16px;
        line-height: 18px;
    }
    .eventpage header .date {
        font-size: 30px;
        line-height: 30px;
        width: 50px;
    }
    .eventpage header .date span {
        font-size: 12px;
        line-height: 15px;
    }
    .eventpage header h2 {
        margin-left: -50px;
        padding-left: 70px;
    }
    #main .pagetitle {
        font-size: 24px;
        line-height: 25px;
    }
    .search-results .search-category header a {
        line-height: 20px;
    }
    .front-news .post .img {
        display: none;
    }
    .front-news .post .img + .text {
        margin: 0;
        padding: 0;
    }
    #sidebar .discover {
        font-size: 16px;
    }
}
@media only screen and (max-width:1024px) {
    .top-image img {
        width: 100%;
    }
    article.def p > img {
        height: 100%;
    }
}