img {
border: 0;
}

a {
text-decoration: underline;
}

.tab-main {
text-align: center;
width: 100%;
padding: 0px;
border-collapse: collapse;
}

.tab-header th {
text-align: center;
height: 42px;
padding: 5px 3px 5px 3px; 
border: solid 1px #C3C3C3;
background-color: #C3C3C3;
}

.tab-blank {
border: 0;
}

/* Кварталы */
.quarter {
text-align: center;
height: 30px;
background: #E0E0E0;
border: solid 1px #CCCCCC;
}
.quarter div {
font-weight: normal;
font-style: italic;
text-decoration: underline;
width: auto;
cursor: pointer;
}
#switch-off-q1, #switch-off-q2, #switch-off-q3, #switch-off-q4 {
display: block;
}
#switch-on-q1, #switch-on-q2, #switch-on-q3, #switch-on-q4 {
display: none;
}

.month-measure-first {
border-top: solid 2px #CCCCCC;
}
.month-measure-last {
border-bottom: solid 2px #CCCCCC;
}

.tab-body td {
padding: 5px 7px 5px 7px;
border: solid 1px #CCCCCC;
}

/* Строка - разделитель */
.line-hr {
}
.line-hr td {
height: 9px;
padding: 0;
border-right: 0;
border-left: 0;
}

/* Строка - новое */
.line-new .measure {
background: url(/sites/default/files/images/status/measure-new.gif) 100% 6px no-repeat;
}

/* Строка - изменено */
.line-upd .measure {
background: url(/sites/default/files/images/status/measure-upd.gif) 100% 6px no-repeat;
}

/* Строка - прошедшее мероприятие */
.line-exp {
background: #F4F4F4;
height: 44px;
}
.line-exp td {
line-height: 1.5;
padding: 0px 7px;
border: solid 1px #CCCCCC;
}
.line-exp .month {
font-weight: bold;
line-height: 1;
background-color: #FFFFFF;
}
.line-exp .data-1 {
text-align: right;
color: #A53035;
padding-right: 2px;
border-right: 0;
}
.line-exp .data-2 {
font-weight: bold;
text-align: left;
color: #A53035;
padding-left: 2px;
border-left: 0;
}
.line-exp .logo {
line-height: 1;
text-align: center;
vertical-align: middle;
padding: 4px;
}

/* Строка - действующее мероприятие */
.line-cur {
background: #E3FFE3;
height: 44px;
}
.line-cur td {
line-height: 1.5;
padding: 0px 7px;
border: solid 1px #CCCCCC;
}
.line-cur .month {
font-weight: bold;
line-height: 1;
background: #FFFFFF;
}
.line-cur .data-1 {
text-align: right;
color: #007700;
padding-right: 2px;
border-right: 0;
}
.line-cur .data-2 {
font-weight: bold;
text-align: left;
color: #007700;
padding-left: 2px;
border-left: 0;
}
.line-cur .logo {
line-height: 1;
text-align: center;
vertical-align: middle;
padding: 4px;
}

/* Строка - будущее мероприятие */
.line-fut {
height: 44px;
}
.line-fut td {
line-height: 1.5;
padding: 0px 7px;
border: solid 1px #CCCCCC;
}
.line-fut .month {
font-weight: bold;
line-height: 1;
background: #FFFFFF;
}
.line-fut .data-1 {
text-align: right;
color: #333390;
padding-right: 2px;
border-right: 0;
}
.line-fut .data-2 {
font-weight: bold;
text-align: left;
color: #333390;
padding-left: 2px;
border-left: 0;
}
.line-fut .logo {
line-height: 1;
text-align: center;
vertical-align: middle;
padding: 4px;
}

/* Красная строка */
.red-line .measure-name {
border-top: solid 1px #FF0000;
border-bottom: solid 1px #FF0000;
}

/* Логотип */
tr .logo {
vertical-align: middle;
/*border-right: 0;*/
}

.tab-month {
font-weight: bold;
line-height: 1;
}

.tab-data {
text-align: center;
font-weight: bold;
padding-right: 2px;
padding-left: 2px;
border-left: 0;
}

.tab-data-1 {
text-align: right;
padding-right: 2px;
border-right: 0;
}

.tab-data-2 {
text-align: left;
font-weight: bold;
padding-left: 2px;
border-left: 0;
}

/* Название мероприятия в строке */
.measure-name {
text-decoration: underline;
font-weight: bold;
padding: 5px 0;
cursor: pointer;
}
/* Подробное описание мероприятия */
.measure-body {
color: darkblue;
text-align: left;
line-height: 1.25;
padding: 10px;
}
/* Благословение */
.blagoslov {
font-size: 10px;
font-style: italic;
}
/* Название мероприятия в Подробном */
.name {
font-family: georgia, vardana, arial, tahoma;
font-weight: bold;
}
/* Сноска */
.footnote {
color: red;
}

/* Устроитель */
tr .organizer {
line-height: 1;
text-align: center;
vertical-align: middle;
padding: 4px;
}
tr .organizer img {
width: 37px;
height: 37px;
opacity: 0.7;
}
tr .organizer:hover img {
opacity: 1;
}

/* Адрес, Москва */
.adress .city-msk {
font-weight: bold;
color: #000099;
}
.city-msk {
font-weight: bold;
color: #000099;
}

/* Адрес, Петербург */
.adress .city-spb {
font-weight: bold;
color: #770000;
}
.city-spb {
font-weight: bold;
color: #770000;
}

/* Адрес, другие города */
.adress .city-all {
font-weight: bold;
color: #005500;
}
.city-reg {
font-weight: bold;
color: #005500;
}

.tab-city-mos {
color: #000099;
font-weight: bold;
}

.tab-city-all {
color: #005500;
font-weight: bold;
}

/* Православные новости */

.prav2000head {
font-size: 12px;
}

.prav2000list {
line-height: 1.3;
font-size: 11px;
}

/* --- */

.clicktip_target, .clicktip_target: hover {
font-weight: bold;
cursor: pointer;
}

.measure-body {
	display: none;
}

.measure-name:link {
	color: #494949;
	text-decoration: underline;
}
.measure-name:hover {
	color: #0062A0;
}

.measure-name:focus + .measure-body {
	display: block;
}
