/*@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,700,400italic,700italic&subset=latin,cyrillic);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700&subset=latin,cyrillic);*/

@font-face {
    font-family: 'PT Serif';
    src: url('../fonts/PTF55F-webfont.eot');
    src: url('../fonts/PTF55F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/PTF55F-webfont.woff') format('woff'),
         url('../fonts/PTF55F-webfont.ttf') format('truetype'),
         url('../fonts/PTF55F-webfont.svg#PTSerifRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PT Serif';
    src: url('../fonts/PTF56F-webfont.eot');
    src: url('../fonts/PTF56F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/PTF56F-webfont.woff') format('woff'),
         url('../fonts/PTF56F-webfont.ttf') format('truetype'),
         url('../fonts/PTF56F-webfont.svg#PTSerifItalic') format('svg');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'PT Serif';
    src: url('../fonts/PTF75F-webfont.eot');
    src: url('../fonts/PTF75F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/PTF75F-webfont.woff') format('woff'),
         url('../fonts/PTF75F-webfont.ttf') format('truetype'),
         url('../fonts/PTF75F-webfont.svg#PTSerifBold') format('svg');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'PT Serif';
    src: url('../fonts/PTF76F-webfont.eot');
    src: url('../fonts/PTF76F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/PTF76F-webfont.woff') format('woff'),
         url('../fonts/PTF76F-webfont.ttf') format('truetype'),
         url('../fonts/PTF76F-webfont.svg#PTSerifBoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;

}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold-webfont.eot');
    src: url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Bold-webfont.svg#OpenSansBold') format('svg');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Italic-webfont.eot');
    src: url('../fonts/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Italic-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Italic-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Italic-webfont.svg#OpenSansItalic') format('svg');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-BoldItalic-webfont.eot');
    src: url('../fonts/OpenSans-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-BoldItalic-webfont.woff') format('woff'),
         url('../fonts/OpenSans-BoldItalic-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-BoldItalic-webfont.svg#OpenSansBoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;

}

html {
    margin: 0;
    padding: 0;
}

body{
    font: 14px/1.3 "Open Sans", Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.no-height {
    height: 0px;
    line-height: 0px;
    clear: both;
}


img { -ms-interpolation-mode: bicubic;}
a { color: #551A8B }
a:visited { color: #60208B }

h1,h2,h3,h4,h5,h6, .heading {
    font-family: "PT Serif", Georgia, Times, serif ;
    font-weight: 700;
    color: #402552;
}

h2 {
    font: 24px/1.3 "PT Serif", Georgia, Times, serif ;
    font-weight: normal;
    color: #3F2552 !important;
    letter-spacing: -1px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0px #F2F2F2;    
}

.hfont {
    font-family: "PT Serif", Georgia, Times, serif ;
}

.hstyle {
    font-family: "PT Serif", Georgia, Times, serif ;   
    color: #3F2552 !important;
    font-weight: bold;
}

.sep-dashed {
    border-bottom: 1px dashed #E1E1E1;
    padding: 5px 0;
}

.sep-line {
    border-bottom: 1px solid #E1E1E1;
    padding: 5px 0;
}

.with-margin-bottom     { margin-bottom: 20px !important; }
.with-margin-top        { margin-top:    20px !important; }
.with-margin-topbottom  { margin-top:    20px !important; margin-bottom: 20px !important; }
.with-margin-left       { margin-left:      20px !important; }
.with-margin-right      { margin-right:     20px !important; }
.with-margin-leftright  { margin-left: 20px !important; margin-right: 20px !important; }

.with-padding-bottom    { padding-bottom: 20px !important; }
.with-padding-top       { padding-top: 20px !important; }
.with-padding-topbottom { padding-top: 20px !important; padding-bottom: 20px !important; }
.with-padding-left      { padding-left: 20px !important; }
.with-padding-rigtht    { padding-right: 20px !important; }
.with-padding-leftright { padding-left: 20px !important; padding-right: 20px !important; }

.block-centered {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Headings */

/* Buttons */

.button, a.button:visited {
    display: inline-block; *display: inline; *zoom: 1;
    font-size: 17px;
    color: #F0DE95;
    text-decoration: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 2px 2px 0px #EEEEEE;
    -webkit-box-shadow: 2px 2px 0px #EEEEEE;
    box-shadow: 2px 2px 0px #EEEEEE;
    background: transparent url(../img/sprite.buttons.png) repeat-x;
    vertical-align: middle;
    position: relative;
    white-space: nowrap;
    border: none;
    text-align: center;
}

.button, a.button:visited,
.button span, a.button:visited span {
    text-shadow: 1px 1px 0px #3F2248;
}

.button:hover {
    text-decoration: none;
    color: white;
    cursor: pointer;
}


.button.normal {
    height: 28px;
    padding: 0 15px;
    background-position: 0px 0px;
    line-height: 28px;
    font-size: 12px;
}
.button.normal.with-icon { padding-left: 8px; }


.button.midsize {
    height: 42px;
    padding: 0 15px;
    background-position: 0px -29px;
    line-height: 42px;
}
.button.midsize.with-icon { padding-left: 8px; }

.button.midsize.grey {
    background-position: 0px -73px;
    color: white !important;
}


.button.big { /* 2-line vcentered; h=53px */
    height: 33px;
    padding: 10px 20px;
    background-position: 0px -117px;
    line-height: 1.2;
}
.button.big.with-icon { padding-left: 5px; }

.button.big span {
    display: block;
}

.button.big.with-icon span {
    float: left;
}

.button.biggest { /* 2-line vcentered; h=87px */
    height: 49px;
    padding: 20px 20px;
    line-height: 1.5;
    background-position: 0px -170px;
}
.button.biggest.with-icon { padding-left: 10px; }


.button img,
.button div.icon {
    display: block;
    float: left;
}

.button.normal img,
.button.normal div.icon
{
    width: 26px;
    height: 26px;
    margin-right: 6px;
}

.button.midsize img,
.button.midsize div.icon
{
    width: 32px;
    height: 32px;
    margin: 5px 6px 0 6px;
}

.button.big img,
.button.big div.icon
{
    width: 32px;
    height: 32px;
    margin: 0px 6px 0 6px;
}

.button.biggest img,
.button.biggest div.icon
{
    width: 64px;
    height: 64px;
    margin: -10px 6px 0 0px;
}

.button.wide {
    width: 200px;
}

.thumbnail {
    -webkit-box-shadow: 4px 4px 0px #F2F2F2;
    -moz-box-shadow: 4px 4px 0px #F2F2F2;
    box-shadow: 4px 4px 0px #F2F2F2;
}

.block {
    display: block;
    width: auto;
}

/* Page elements */

#header {
    background: url(../img/bg.header.png) white repeat-x !important;
    padding-top: 6px;
    height: 169px;
    z-index: 9000;
}

#header-wrapper {
    position: relative;
}

#gerb {
    display: block;
    width: 123px;
    height: 162px;
    float: left;
    background: transparent url(../img/veliko-turnovo-gerb-large.png) no-repeat;
    text-decoration: none;
    margin-right: 10px;
    margin-top: 3px;
    /* compensate shadow on the left in the image */
    position: relative;
    left: -4px;
}

#gerb:hover {
    text-decoration: none;
}

#site-title {
    padding: 25px 200px 4px 0;
    margin-bottom: 0;
    font-size: 28px;
    font-weight: 700;
    white-space: nowrap;
    color: #402552;
    text-shadow: 2px 2px 0px #f2f2f2;
    letter-spacing: -1px;
}

#site-subtitle {
    font-family: "PT Serif", Georgia, Times, serif ;
    font-size: 13px;
    font-weight: normal;
    color: #CBA7CF;
    text-shadow: 1px 1px 0px #FCF9FC;
    margin: 3px 0 4px 0;
    display: inline-block; *display: inline; *zoom: 1;

}

#top-controls {
    float: right;
    font-size: 13px;
    font-weight: normal;
    margin-top: 0px;
    font-family: "PT Serif", Georgia, Times, serif ;
    white-space: nowrap;
}

#top-controls a {
    color: #9354B1;
    text-shadow: 1px 1px 0px #FCF9FC;  
    color: #9354B1;
}

.sep-bullet {
    color: #E3D0E6;
}


.top-control-item {
    line-height: 24px;
    vertical-align: middle;
}

.top-control-item img.lang-icon {
    width: 16px;
    height: 12px;
    vertical-align: middle;
}


#nav-main {
    height: 30px;
    line-height: 30px;
    margin-top: 24px;
}

#search {
    width: 133px;
    height: 33px;
    padding: 0 30px 0 7px;
    margin-top: 6px;

    vertical-align: middle;
    background: white url(../img/bg.search.icon.png) right center no-repeat;
    border: 1px solid #CCCCCC;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: inset 1px 1px 3px #CCCCCC;
    -webkit-box-shadow: inset 1px 1px 3px #CCCCCC;
    box-shadow: inset 1px 1px 3px #CCCCCC;

    outline: 0px none;
    font-size: 13pt;
    float: right;
    text-shadow: 1px 1px 0px #F8F1F8;
}

#search.home {
    width: 180px;
    margin-top: 31px;
}

.nav ul {
    margin-left: 0;
}

.nav li {
    list-style: none;
    display: block;
    float: left;
    border-right: 1px solid #dfd0e2;
    padding: 0 17px;
    margin-top: 7px;
    font-family: "PT Serif", Georgia, Times, serif;
    font-size: 17px;
    font-weight: normal;
}

.nav li:first-child {
    padding-left: 0;
}

.nav li:last-child {
    border-right: 0 none;
}

.nav li a {
    color: #9354B1;
    text-shadow:1px 1px 0px #ffffff;
    font-weight: 700;
}


#slider-background {
    margin: 0;
    background: white url(../img/bg.slider.container.png) repeat-x;
}

#slider-container {
    width: 1020px;
    height: 424px;
    position: relative;
    background: transparent url(../img/bg.slider.png) no-repeat;
}

#slider {
    width: 940px;
    height: 379px;
    position: relative;
    left: 40px;
    top: 23px;
}

/* Index: Services menu */

#menu-services {
    margin: 9px 0 8px 0;
    width: 959px;
    float: left;
}

#menu-services a {
    /* width: 220px */
    width: 215px;
    height: 30px;
    *width: 240px;
    *height: 30px;
    padding: 11px 0px 0px 5px;
    margin: 0px 5px 5px 0px;

    display: block;
    float: left;
    overflow: hidden;
    background: transparent url(../img/bg.service.button.png) repeat-x;
    border-radius: 3px;
    text-decoration: none;
    color: #F0DE95;
    font-size: 14px;
    -moz-box-shadow: 2px 2px 0px #EEEEEE;
    -webkit-box-shadow: 2px 2px 0px #EEEEEE;
    box-shadow: 2px 2px 0px #EEEEEE;
    text-shadow: 1px 1px 0px #3F2248;
}

#menu-services a:hover {
    text-decoration: none;
}

#menu-services a.big {
    /* 220px */
    width: 215px;
    height: 63px;
    *width: 160px;
    *height: 93px;
    padding: 24px 0px 0px 5px;     
    margin: 0px 5px 5px 0px;

    float: left;
    background: transparent url(../img/bg.service-big.button.png) repeat-x;
}


.menu-services-icon {
    width: 32px;
    height: 32px;
    position: relative;
    top: -7px;
    margin-right: 5px;
    float: left;
}

#menu-services a.big .menu-services-icon {
    width: 64px;
    height: 64px;
    position: relative;
    top: -13px;
}

#menu-services-icon-ecity { background: transparent url(../img/bg.service-big.icon.ecity.png) no-repeat; }
#menu-services-icon-pd { background: transparent url(../img/bg.service.icon.pd.png) no-repeat; }
#menu-services-icon-signals { background: transparent url(../img/bg.service.icon.signals.png) no-repeat; }
#menu-services-icon-taxes { background: transparent url(../img/bg.service.icon.taxes.png) no-repeat; }
#menu-services-icon-edom { background: transparent url(../img/bg.service.icon.edom.png) no-repeat; }
#menu-services-icon-referendum { background: transparent url(../img/bg.service.icon.referendum.png) no-repeat; }
#menu-services-icon-transport  { background: transparent url(../img/bg.service.icon.transport.png) no-repeat; }

/* Sidebar menu */

div.menu-sidebar {
    font-family: "PT Serif", Georgia, Times, serif;
    margin-left: -14px;
}

div.menu-level-1 {
    margin: 0 0 0 0;
}

div.menu-sidebar a {
    display: block;
    padding-left: 23px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.menu-level-1 {
    background: url(../img/bg.sidemenu.l1.png) no-repeat;
    line-height: 35px;
    font-size: 15px;
}

a.menu-level-1.selected,
a.menu-level-1.ancestor {
    background: url(../img/bg.sidemenu.l1.active.png) no-repeat !important;    
}

a.menu-level-1 span {
    display: inline-block;
    *display: inline; *zoom: 1;
    width: 10px;
    background: url(../img/list.bullet.png) no-repeat left center;
}

a.menu-level-1.selected span,
a.menu-level-1.ancestor span {
    display: none !important;
}


div.menu-level-2 {
    margin: 0 0 0 10px;
}

a.menu-level-2 {
    line-height: 25px;
    font-size: 13px;
}

a.menu-level-2.selected,
a.menu-level-2.ancestor {
    color: black !important;
    font-weight: 700 !important;
}

a.menu-level-2 span {
    display: inline-block;
    *display: inline; *zoom: 1;
    width: 10px;
    background: url(../img/list.bullet.small.png) no-repeat left center;
}


/* Breadcrumbs */


ul.breadcrumb {
    margin: 5px 0 5px 0;
}

ul.breadcrumb li {
    list-style: none;
    display: inline;
    font-style: italic;
    font-size: 12px;
}

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

#content-wrapper {
    margin-top: 1px;
}


#content-main {
    /*width: 640px;*/
    /*padding-right: 45px;*/
    /*width: 670px;*/
    padding-right: 15px;
    margin-right: 5px;
    float: left;
    background: transparent url(../img/bg.sidebar.png) repeat-y right;
}

.content-main-fullwidth {
    width: 960px;
}

.content-main-with-sidebar {
    width: 670px;
}

#content-sidebar {
    width: 270px;
    float: left;

}

#content-main-wrapper {
    padding-right: 14px;
}


.h-section {
    background: transparent url(../img/bg.heading.png) repeat-x bottom;
    padding: 0 0 6px 0;
    color: #3F2552;
    font-style: italic;
    font-family: "PT Serif", Georgia, Times, serif ;
    line-height: 24px;
    clear: both;
}

h3.h-section {
    font-size: 19px;
    margin-bottom: 3px;
    margin-top: 30px;
}

h4.h-section { font-size: 16px; }

h3.h-section, h4.h-section,
h3.h-section a, h4.h-section a {
    color: #402552 !important;
    text-shadow: 2px 2px 0px #eee;

}



.heading-icon {
    width: 28px;
    height: 26px;
    display: inline-block; *display: inline; *zoom: 1;
}

#heading-icon-news { background: transparent url(../img/icon.heading.news.png) no-repeat; }
#heading-icon-events { background: transparent url(../img/icon.heading.news.png) no-repeat; }
#heading-icon-calendar { background: transparent url(../img/icon.heading.calendar.png) no-repeat; }
#heading-icon-gallery { background: transparent url(../img/icon.heading.gallery.png) no-repeat; }
#heading-icon-projects { background: transparent url(../img/icon.heading.projects.png) no-repeat; }
#heading-icon-social { background: transparent url(../img/icon.heading.social.png) no-repeat; }


/* Content - subpages */

ul.subpages {
    list-style: none;
    margin: 15px 0 0 0;
    padding: 0
}

ul.subpages li {
    margin-right: 1%;
    padding: 10px 5px;
    border-bottom: 1px solid rgb(248, 238, 249);
    display: block;
    list-style: none;
}

ul.subpages li:hover {
    background: #F8F0F9;
}


ul.subpages li a {
    background: transparent url(../img/list.bullet.png) right center no-repeat;
    display: block;
    padding-right: 12px;
}


.news {
    padding-bottom: 13px;
    margin-bottom: 0px;
    color: #000;
    font-size: 13px;
    line-height: 1.5;
}

.news h5 {
    font-weight: normal;
    font-size: 17px;
    margin-bottom: 17px;
    line-height: 1.2;
}

.news h5 a {
    text-decoration: underline;
    color: #9354B1;
}

.news-info {
    color: #777;
    margin-bottom: 4px;
    font-style: italic;
    font-size: 11px;
    font-weight: 700;
}

.news p {
    margin-bottom: 0;
}

.news-small {
    padding: 11px 0;
}

.news-small h6 {
    font-weight: normal;
    margin-bottom: 3px;
    font-size: 14px;
}

.news-small h6 a {
    text-decoration: underline;
    color: #9354B1;
}


.btn-news-read {
    width: 100px;
    height: 31px;
    display: block;
    float: right;
    clear: both;
    background: transparent url(../img/btn.news.read.png) no-repeat;
    color: #F0DE95;
    font-size: 11px;
    line-height: 30px;
    padding: 0px 5px 0px 7px;
    margin: 10px 0 10px 0;
}

.btn-news-read:hover {
    text-decoration: none;
}

.btn-news-read:visited {
    color: #F0DE95;
}

.disabled {
    opacity: 0.2;    
}

.news-separator {
    background: transparent url(../img/bg.heading.png) repeat-x bottom;
    /*height: 4px;*/
    /*line-height: 4px*/
}

/* News pages */



.news-list {
    
}

.news-list .news-item {
    clear: both;
}

.news-list .news-item img.large {
    width: 150px;
    height: 100px;
}

.news-list .news-item .news-title {
    display: block;
    clear: both;
    margin: 10px 0;
}

.news-view {
    
}

.news-archive h3.h-section {
    margin-bottom: 0px;
}

.news-archive div.hfont {
    margin-top: 15px;
    font-style: italic;
}

.news-archive a {
    display: inline-block; *display: inline; *zoom: 1;
    padding: 2px 5px;
    margin: 3px 0px;
    background-color: #F9EFFA;
    border: 1px solid white;
    border-bottom: 1px solid #F1E6F2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-shadow: 1px 1px 0px #FFFFFF;
    font-size: 12px;
}

.news-archive a:hover {
    border: 1px solid #F1E6F2;
    background: white;
}

.news-archive a.current {
    background-color: #FAFFF0;
    text-decoration: underline; 
    border: 1px solid #F9EFFA;
}

.news-footer {
    text-align: center;
    margin: 10px 0;
}

.news-footer a, .news-footer a:visited {
    color: #995EB6;
    text-decoration: underline;
}

.news-next, .news-prev {
    width: 25%;
    display: block;
}

.news-next {
    float: right;
    text-align: right;
}

.news-next.exists {
    padding-right: 15px;
    background: transparent url(../img/icon.arrow.right.png) no-repeat right 4px;
}

.news-prev {
    float: left;
    text-align: left;
}

.news-prev.exists {
    padding-left: 15px;
    background: transparent url(../img/icon.arrow.left.png) no-repeat left 4px;
}

.news-small-text {
    font-size: 12px;
    color: #b2b2b2;
}


.news-image {
    float: left;
    margin: 0 10px 5px 0;
}


/* Events pages */

.events-list {
    
}

.events-list .events-item {
    clear: both;
}

.events-list .events-item img.large {
    width: 150px;
    height: 100px;
}

.events-list .events-item .events-title {
    display: block;
    clear: both;
    margin: 10px 0;
}

.events-view {
    
}

.events-archive h3.h-section {
    margin-bottom: 0px;
}

.events-archive div.hfont {
    margin-top: 15px;
    font-style: italic;
}

.events-archive a {
    display: inline-block; *display: inline; *zoom: 1;
    padding: 2px 5px;
    margin: 3px 0px;
    background-color: #F9EFFA;
    border: 1px solid white;
    border-bottom: 1px solid #F1E6F2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-shadow: 1px 1px 0px #FFFFFF;
    font-size: 12px;
}

.events-archive a.current {
    background-color: #FAFFF0;
    text-decoration: underline; 
    border: 1px solid #F9EFFA;
}

.events-archive a:hover {
    border: 1px solid #F1E6F2;
    background: white;
}

.events-footer {
    text-align: center;
    margin: 10px 0;
}

.events-footer a, .events-footer a:visited {
    color: #995EB6;
    text-decoration: underline;
}

.events-next, .events-prev {
    width: 25%;
    display: block;
}

.events-next {
    float: right;
    text-align: right;
}

.events-next.exists {
    padding-right: 15px;
    background: transparent url(../img/icon.arrow.right.png) no-repeat right 4px;
}

.events-prev {
    float: left;
    text-align: left;
}

.events-prev.exists {
    padding-left: 15px;
    background: transparent url(../img/icon.arrow.left.png) no-repeat left 4px;
}

.events-small-text {
    font-size: 12px;
    color: #b2b2b2;
}

.events {
    padding-bottom: 13px;
    margin-bottom: 0px;
    margin-left: 50px;
    margin-top: 10px;
    color: #000;
    font-size: 13px;
    line-height: 1.5;
}

.event-today {
    background-color: #fcf6fc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.events h5 {
    font-weight: normal;
    font-size: 17px;
    margin-bottom: 17px;
    line-height: 1.2;
}

.events h5 a {
    text-decoration: underline;
    color: #9354B1;
}

.events-info-date {
    color: #777;
    font-style: italic;
    font-size: 14px;
    font-weight: bold;
}

.events-info-label {
    width: 100px; 
    float:left; 
    clear:left;
    text-align:right; 
    text-decoration: underline;
    font-style: italic;
    padding-right:5px;
}

.events-info {
    float:left; 
    width: 300px;
}

.events p {
    margin-bottom: 0;
}

.events-small {
    padding: 11px 0;
}

.events-small h6 {
    font-weight: normal;
    margin-bottom: 3px;
    font-size: 14px;
}

.events-small h6 a {
    text-decoration: underline;
    color: #9354B1;
}

.events-image {
    float: left;
    margin: 0 10px 5px 0;
}

.events-header-date {
    font-size: 18px; 
    margin-top: 30px;
    padding-left: 5px;
}

.no-events {
    padding: 20px 0;
    font-size: 18px;
}

.events-navigation {
 
}

.events-navigation a{
    background-color: #F5D0FF; 
    font-weight: bold; 
    margin-top:10px
}

.events-navigation a.current{
    background-color: #FAFFF0;
    text-decoration: underline;
    font-weight: bold; 
    border: 1px solid #F9EFFA;
}


.event-history-item {
    margin: 5px 0 10px 20px;
}

.event-history-title {
    font-size: 16px;
}

.event-history-period {
    padding-top: 5px;
}

/* paginator */
.paginator {
    margin: 20px 0;
    line-height: 31px;
    text-align: center;
}

.paginator .pag_last,
.paginator .pag_next,
.paginator .pag_prev,
.paginator .pag_first {
    display: block;
    width: 30px;
    height: 31px;
    background: transparent url(../img/bg.paginator.png) no-repeat;
}

.paginator .pag_last, .paginator .pag_next {
    float: right;
    margin-left: 6px;
} 

.paginator .pag_first, .paginator .pag_prev {
    float: left;
    margin-right: 6px;
} 

.paginator .pag_last  { background-position: -89px 0px;}
.paginator .pag_next  { background-position: -59px 0px;}
.paginator .pag_prev  { background-position: -29px 0px;}
.paginator .pag_first { background-position:   0px 0px;}


.pag_page {
    display: inline-block; *display: inline; *zoom: 1;
    width: 30px;
    border-right: 1px solid #EBEBEB;
    text-align: center;
}

.pag_page.current {
    border: 1px solid #EBEBEB;
}

.pag_page.first {
    border-left: 1px solid #EBEBEB;
}







#gallery {
    width: 618px;
    height: 446px;
    padding: 10px;
    border: 1px solid #F0F0F0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background: #F4F4F4;
}

#gallery img.main {
    width: 618px;
    height: 370px;
}

#gallery-controls {
    height: 79px;
}

.gallery-btn {
    width: 36px;
    height: 79px;
    display: block;
}

#gallery-btn-left {
    background: transparent url(../img/bg.gallery.btnleft.png) no-repeat;
    float: left;
}

#gallery-btn-right {
    background: transparent url(../img/bg.gallery.btnright.png) no-repeat;
    float: right;
}

#gallery-thumbnails {
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
}

.gallery-thumbnail {
    display: inline-block; *display: inline; *zoom: 1;
    width: 86px;
    height: 66px;
    padding: 9px 0px 0px 5px;
    background: transparent url(../img/bg.gallery.thumb.png) no-repeat;
}

.gallery-thumbnail.selected {
    background: transparent url(../img/bg.gallery.thumb.selected.png) no-repeat;
}

.gallery-thumbnail img {
    max-width: 80px;
    max-height: 60px;
}


#links-list {
    margin-bottom: 20px;
}


.sidebar-container {
    margin-bottom: 20px;
}


.portlet {
    margin-bottom: 30px;
}

.portlet h4 {
    margin-bottom: 5px;
}




#calendar-container {
}


#calendar {
    width: 268px;
    background: #F8F0F9 url(../img/bg.calendar.small-top.png) no-repeat top;
    border: 1px solid #F0EBF1;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright:5px;
    -moz-border-radius-bottomleft:0px;
    -moz-border-radius-bottomright:0px;
    -webkit-border-top-left-radius:5px;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-left-radius:0px;
    -webkit-border-bottom-right-radius:0px;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    border-bottom-left-radius:0px;
    border-bottom-right-radius:0px;
    margin-top: 17px;
}


#calendar-header {
    height: 50px;
    line-height: 50px;
    margin-bottom: 13px;
}

#calendar-header a {
    display: block;
    width: 45px;
    font-size: 25px;
    font-weight: 700;
}

#calendar-header a:hover {
    text-decoration: none;
}

#calendar-header a.prev {
    float: left;
    text-align: right;
    background: transparent url(../img/bg.calendar.small-btn.prev.png) no-repeat right center;
}

#calendar-header a.next {
    float: right;
    text-align: left;
    background: transparent url(../img/bg.calendar.small-btn.next.png) no-repeat left center;
}

#calendar-header h6 {
    text-align: center;
    line-height: inherit;
    font-weight: normal;
}


#calendar-days-wrapper {
    background: #F8F0F9 url(../img/bg.calendar.small-bottom.png) no-repeat bottom;
    padding-bottom: 10px;
}

#calendar-days {
    width: 248px;
    border: none;
    margin: 8px 0 0 10px;
}


#calendar-days td {
    width: 12.5% !important;
    text-align: center;
    padding: 0;
    margin: 0;
}

#calendar-days thead td {
    font-weight: 700;
    border: none;
    color: #C79ECB;
    font-size: 11px;
    font-weight: normal;
    padding-bottom: 9px;
    text-shadow: 1px 1px 0px #fff;
}

#calendar-days thead td.weekend {
    color: #DEC5E0 !important;
}


#calendar-days tbody td {
    height: 35px;
    padding-top: 2px;
    border-top: none;
    border-left: none;
    border-right: 1px solid #F4F4F4;
    border-bottom: 1px solid #F4F4F4;
    background: white;
    font-size: 12px;
    font-weight: normal;
    color: #B6B6B6;
}

#calendar-days tbody td.upcoming {
    color: black;
}

#calendar-days tbody td.weekend {
    background-color: #FAFAFA;
}

#calendar-days tbody td.today {
    font-weight: 700;
    background-color: #F8F0F9 !important;
    position: relative;
    border: 2px solid #EAC972;
}

#calendar-days tbody td.selected {
    font-weight: 700;
    position: relative;
    outline: 1px dashed #000000;
}

#calendar-days tbody td.active {
    cursor: pointer;
    color: black;
    font-weight: 700;
}


#calendar-controls {
    width: 248px;
    padding: 10px 10px;

    border: 1px solid #F0EBF1;
    border-top: none;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright:0px;
    -moz-border-radius-bottomleft:5px;
    -moz-border-radius-bottomright:5px;
    -webkit-border-top-left-radius:0px;
    -webkit-border-top-right-radius:0px;
    -webkit-border-bottom-left-radius:5px;
    -webkit-border-bottom-right-radius:5px;
    border-top-left-radius:0px;
    border-top-right-radius:0px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;

    font-size: 11px;
}

.calendar-etype-legend {
    display: inline-block; *display: inline; *zoom: 1;
    /*height: 11px;
    line-height: 11px;*/
    padding: 0 8px 0 8px;
    margin-top: 6px;
    /*vertical-align: middle;*/
}

.calendar-etype-1 { background: transparent url(../img/icon.etype.1.png) no-repeat left center; }
.calendar-etype-2 { background: transparent url(../img/icon.etype.2.png) no-repeat left center; }
.calendar-etype-3 { background: transparent url(../img/icon.etype.3.png) no-repeat left center; }



/*.calendar-etype-indicator {
    width: 5px;
    height: 5px;
    line-height: 5px;
    display: inline-block; *display: inline; *zoom: 1;
}*/

.calendar-etype-indicator {
    display: inline-block; *display: inline; *zoom: 1;
    width: 6px;
    height: 6px;
    line-height: 6px;
    margin: 0px 2px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 1px 1px 3px #CCCCCC;
    -webkit-box-shadow: 1px 1px 3px #CCC;
    box-shadow: 1px 1px 3px #CCC;
}

.calendar-event-time {
    display: inline-block; *display: inline; *zoom: 1;
    width: 40px;
}


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

.projects-list li {
    list-style: none;
    margin: 5px 0;
    padding: 0;
}








#pre-footer{
    height: 50px;
    margin: 40px auto 15px auto;
}

.footer-shadow {
    width: 50%;
    height: 16px;
    line-height: 16px;
    float: left;
}

#footer-shadow-left{
    background: white url(../img/bg.footer.shadow.png)  0 0 repeat-x;
}

#footer-shadow-right {
    background: white url(../img/bg.footer.shadow.png)  right -16px repeat-x;
}

#footer-gerb-container {
    width: 565px;
    height: 23px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    width: 240px;
    padding-top: 8px;
    font-size: 12pt;
    font-weight: normal;
    color: #bfbfbf;
    float: left;
}

.footer-title-left {
    text-align: right;
}

.footer-title-right {
    text-align: left;
}

.footer-gerb {
    width: 61px;
    height: 80px;
    background: transparent url(../img/veliko-turnovo-gerb-small.png) no-repeat;
    vertical-align: top;
    float: left;
    position: relative;
    margin: 0 10px;
}

#footer {
    height: 293px; /*328*/
    padding-top: 35px;
    background: white url(../img/bg.footer.jpg) repeat-x;
}

.footer-section {
    height: 268px; /* TODO */
    font-size: 13px;
    /*border-left: 1px solid #E9E4C7;*/
    padding: 0 20px;
    background: transparent url(../img/bg.footer.section.shadow.png) no-repeat left top;
}

.footer-section h4 {
    color: #4e2b5e;
    font-weight: 700;
    font-size: 17px;
    margin-left: 0px;
    min-height: 50px;
    text-shadow: 1px 1px 0px #FBF9EA;
    line-height: 1.1;
}

.footer-section ul {
    margin: 0px ;
    padding: 0px;
}

.footer-section ul li {
    list-style: none;
    padding-left: 0;
    padding: 5px 0;
    line-height: 1.1;
}

.footer-section ul li a,
.footer-section ul li a:hover,
.footer-section ul li a:visited {
    color: #4E2B5E !important;
    text-shadow: 1px 1px 0px #FBF9EA;
    text-decoration: underline;
}


#post-footer {
    height: 74px;
    padding-top: 2px;
    color: #fbf7e1 !important;
    font-size: 12px;
    background: white url(../img/bg.footer.jpg) repeat-x 0 -332px;
    text-align: center;
    line-height: 74px;
    text-shadow: 1px 1px 0px #1C0F22;
}

#post-footer a {
    color: #fbf7e1 !important;
}

.h-separator {
    background: white url(../img/bg.h-separator.png) repeat-x center;
    height: 17px;
    line-height: 17px;
    padding: 0px !important;
}

.content-top {
    clear: both;
}

#content-tools {
    display: block;
    clear: both;
    vertical-align: baseline;
    background: transparent url(../img/bg.contenttools.bottom.png) repeat-x bottom;
    height: 44px;
}

#content-tools-date {
    line-height: 28px;
}

#content-tools-social {
    float: right;
    width: 275px;
    margin-left: 10px;
    text-align: right;
}

#content-tools-conventional {
    float: right;
    width: 70px;
    height: 27px;
    margin-left: 10px;
}

.content-title {
    font: 17px/1.3 "PT Serif", Georgia, Times, serif ;
    font-weight: normal;
    color: #3F2552 !important;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.content-subtitle {
    font: 17px/1.3 "PT Serif", Georgia, Times, serif ;
    font-weight: normal;
    color: #9354B1 !important;
    letter-spacing: -1px;
}

.content-info {
    width: 30%;
    border: none;
    border-bottom: 1px dashed #E1E1E1;
    padding: 0 0 5px 0;
    margin: 0 25px 17px 0;
}

.content-info-image {
    max-width: 100%;
    clear: both;
    margin-bottom: 5px;
}

.content-info-info-image-caption {
    margin-bottom: 0px;
    font: 12px/1.3 "PT Serif", Georgia, Times, serif ;
    color: #999999;
}


.content-info-icons .icon {
    width: 20px;
    height: 29px;
    display: inline-block; *display: inline; *zoom: 1;
}

.icon-fullscreen {
    background: transparent url(../img/icon.fullscreen.png) no-repeat;
}

.content-datetime {
    font-style: italic;
    color: #999999;
    font: 11px/1.3 "PT Serif", Georgia, Times, serif ;
}


.content-sub {
    border-bottom: 1px dashed #E1E1E1;
    border-top: 1px dashed #E1E1E1;
    padding: 10px 0;
    margin-bottom: 30px;
}

.w20p {
    width: 25%;
    max-width: 25%;
}

/* Profile ----------------------------------------------------------------------------- */

.profile-avatar {
    padding-top: 1em;
}

.profile-avatar img {
    /*width: 80px;*/
    /*height: 80px;*/
    width: 128px;
    height: auto;
}

.profile-name {
    padding-top: 1em;
    font-size: larger;
}


/* Lists ------------------------------------------------------------------------------- */

ul.list {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

ul.list li {
    list-style: none;
    padding: 13px 0;
    border-bottom: 1px solid #EFEFEF;
    background: transparent url(../img/icon.arrow.right.png) no-repeat right center;
}

ul.list li a {
    display: block;
}

/* Common elements -------------------------------------------------------------------- */

table.vt {
    width: 100%;
    background-color: #FFFFFF;
    margin: 0 0 8px;
}
table.vt th, table.vt td.subheader {
    font-weight: 700;
    text-align: center;
    padding: 10px 5px 8px;
    font-size: 12px;
    color: #000000;
    border: 1px solid #CCCCCC;
    text-shadow: 0 1px 1px #FFFFFF;
    background-color: #EEEEEE;
	background-image: -moz-linear-gradient(top, #F6F6F6, #EEEEEE);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#EEEEEE));
	background-image: -webkit-linear-gradient(#F6F6F6, #EEEEEE);
    background-image: -o-linear-gradient(#F6F6F6, #EEEEEE);
    background-image: linear-gradient(top, #F6F6F6, #EEEEEE);
    text-align: center;
}

table.vt td {
    text-align: left;
    border: 1px solid #CCCCCC;
    padding: 7px 5px;
}

table .tleft { 
    text-align: left !important;
}

table .tcenter {
    text-align: center !important;
}

table .tright {
    text-align: right !important;
}

table .twidth-5  { width:  5%; }
table .twidth-10 { width: 10%; }
table .twidth-20 { width: 20%; }
table .twidth-30 { width: 30%; }
table .twidth-40 { width: 40%; }
table .twidth-50 { width: 50%; }

table.vt td img {
    vertical-align: middle;
}
table.vt td.backcolor {
    background-color: #F9F9F9;
}
table.vt.border-none th, table.vt.border-none td {
    border: none;
}
table.vt.backcolor-none th, table.vt.backcolor-none td {
    background-color: none;
}

table.vt.smaller td, table.vt.smaller th{
    font-size: smaller;
    padding: 4px 4px;
}

table.borderless {
    width: 100%;
}

table.borderless td {
    border: 0px none;

    vertical-align: top;
    margin-bottom: 4px;
    margin-right: 4px;
}

.message {
    line-height: 2em;
}

.with-helptext {
    margin-bottom: 0;
}

.helptext {
    padding: 0;
    font-size: smaller;
    color: #666666;
}

.description {
    margin: 20px 0 0 20px;
    padding: 0;
    color: #666;
    font-style: italic;
    font-weight: bold
}

.smaller-text {
    font-size: smaller;
}

.collapsed {
    display: none;
}

.debug div {
    outline: 2px solid blue;
}

/* Icons ------------------------------------------------------------------------ */
.icon {
    width: 24px;
    height: 24px;
    border: none;
    margin: 0;
    padding: 0;
}

.print {
    background: transparent url(../img/icon.print.png) no-repeat;
}
.email {
    background: transparent url(../img/icon.email.png) no-repeat;
}

a.font_size {
    padding: 0 5px;
}

.font_size_small {
    font-size: small;
}

.font_size_medium {
    font-size: medium;
}

.font_size_large {
    font-size: large;
}

/* Organizational structure user profile styles */

.org_unit_employees {}

.org_unit_employees .user_profile {
	padding: 10px;
	border-bottom: 1px solid #FFEAFA;
}

.org_unit_employees .user_profile .user_slug {
	width: 80px;
	height: 100px;
	box-shadow: 3px 3px 2px #D8D8D8;
	line-height: 0px;
}

.org_unit_employees .user_profile .user_info {}

.user_profile .user_info .info_label {
	float:left;
	width: 100px;
	font-weight: bold;
	text-align:right;
	margin:0 10px 5px 0;
}
.user_profile .user_info .info_content {
    width: 500px;
}

/* ------ Organizational unit tree structure --------------------------------*/
table#ulOrgChart {
    width: 100%;
    margin: 0;
    padding: 0;
    font-weight: bold;
    border-spacing: 10px;
    border-collapse: inherit;
    
}

table#ulOrgChart td{
     padding: 5px 10px;
}

table#ulOrgChart td a{
     font-weight: normal;
}

.child1 {
    /*background-color: #C0494D;*/
    border-left: 1px dashed #F5D0FF;
}
.child2 {
    /*background-color: #A0D5D9;*/
    border-left: 1px dashed #00D0D9;
}

.parent1 {
    background-color: #ede0ee;
    border: 1px solid #FFD0FF;
}

.parent2 {
    background-color: #fcf6fc;
    border: 1px solid #F9EAFA;
    border-radius: 2px;
}

table#ulOrgChart td.width_5 {
	width: 5%;
}

/* ------------------------------------------------------------------------ */

/* ------ Employee phonebook -----------------------------------------------*/
#phonebook_wrapper table{
    width: 100%;
    border-collapse: inherit;
    border-spacing: 10px;
}

#phonebook_wrapper table thead {
    font-weight: bold;
}

#phonebook_wrapper table td.organization {
    font-weight: bold;
}

#phonebook_wrapper .width_10 {
    width: 10%;
}

#phonebook_wrapper .width_20 {
    width: 20%;
}

#phonebook_wrapper .width_30 {
    width: 30%;
}

#phonebook_wrapper .width_40 {
    width: 40%;
}

#phonebook_wrapper #search {
    margin: 0;
}
/
/* ------------------------------------------------------------------------ */

/* ------ Employee Declaration documents -----------------------------------*/


#employee_dec_docs_wrapper {}

div#employee_dec_docs_wrapper table {
    width: 100%;
}

div#employee_dec_docs_wrapper table tr {
    height: 35px;
}

#employee_dec_docs_wrapper table td.employee_document {
	text-align: right;
}

#employee_dec_docs_wrapper table td.employee_name {
    font-weight: bold;
    font-style: italic;
}

#employee_dec_docs_wrapper table td.employee_document {
    text-align: center;	
}

#employee_dec_docs_wrapper table td.employee_document img {
    width: 20px;
}

#employee_dec_docs_wrapper .width_10 {
    width: 10%;
}

#employee_dec_docs_wrapper .width_20 {
    width: 20%;
}

#employee_dec_docs_wrapper .width_30 {
    width: 30%;
}

#employee_dec_docs_wrapper .width_40 {
    width: 40%;
}

/ 


/* ------------------------------------------------------------------------ */
/* ------ Regional urban development messages -----------------------------------*/

.rud_messages {}

.rud_date {
    color: #777;
    margin-bottom: 10px;
    font-style: italic;
    font-size: 11px;
    font-weight: 700;
}

.rud_text {
    text-indent: 50px;
    padding-bottom: 13px;
    margin-bottom: 0px;
    color: black;
    font-size: 13px;
    line-height: 1.5;
}

.rud_files {
    float:right;
}
        
/* ------------------------------------------------------------------------ */


/* ------------------------------------------------------------------------ */
/* Tabs */ 
/* ------------------------------------------------------------------------ */

.tabs-container {
    clear: both;
    display: block;
}

.tabs-tabs ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    border-bottom: 1px solid #EBDEEE;

}

.tabs-tabs ul li {
    display: inline-block; *display: inline; *zoom: 1;
    width: 24%;
    list-style: none;
    /*margin-right: 1%;*/
    margin-left: 0;
}

.tabs-tabs ul li a {
    display: block;
    line-height: 30px;
    padding: 3px 5px;
    background-color: #F3EAF4;
    border-top: 1px solid #EBDEEE;
    border-left: 1px solid #EBDEEE;
    border-right: 1px solid #EBDEEE;
}

.tabs-tabs ul li.active a {
    position: relative;
    top: 1px;
    line-height: 31px;
    color: black;
    font-weight: bold;
    border-bottom: white;
    background-color: white;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}
/* ------------------------------------------------------------------------ */

/* Google maps DIV */
div#map_canvas {
    height: 350px;
}

/*------------------------------------*\
    $MISC
\*------------------------------------*/
::selection     { background-color:#5c3969; color:white; }
::-moz-selection{ background-color:#5c3969; color:white; }
hr {
    padding:0;
    border:none;
    height:1px;
    background-color:#ccc;
}


.image_item {
    text-align: center;
    margin-bottom: 2em;
}


/* ------------------------------------------------------------------------ */

/*  CMS overrides */

/* ------------------------------------------------------------------------ */

.cms_placeholder-subnav ul li {
    padding: 5px 5px !important;
    border-bottom: 1px solid #EEE;
}