/* CSS-Framework

 Version : 0.3
 Author : Aleksej Romanovskij (http://css-framework.ru)
 License : Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/)

------------------------------ */
 
/* Utilites
------------------------------ */

* { margin: 0; padding: 0; }

*:focus { outline: none; }
.hidden { display: none; }
.show { display: block!important; }
.no-margin { margin: 0!important; }
.no-padding { padding: 0!important; }
.no-bg { background: none!important; }
.no-border, a img { border: none!important; }
.container:after, .columns:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.img-repl { text-indent: -9999px; overflow: hidden; display: block; }
.cc { clear: both; }

/* Main styles
------------------------------ */

html { height: 100%; background: #f4f4f4; font: 10pt/1.5 Verdana, Verdana, Geneva, sans-serif; line-height: 1.4; }
body { height: auto !important; height: 100%; min-height: 100%;
        background: #55184c url(../images/mainback.jpg) left bottom no-repeat; } /* body height 100% */

a { color: white; }
a:visited { }
a:hover { text-decoration: none; }
a:active { }

/* Content elements
------------------------------ */

.content h1, .content h2, .content h3, .content h4 { font: 1.7em Arial, Helvetica, sans-serif; margin-bottom: .5em; }
.content h2 { font-size: 1.5em; }
.content h3 { font-size: 1.3em; font-weight: bold; }
.content h4 { font-size: 1.1em; font-weight: bold; }

blockquote { margin-left: 10em; padding-left: 1em; border-left: 2px solid #ccc; }
code, pre { font: 1.2em/1 "Courier New", Courier, monospace; padding: 1px 2px; background: #eee; }
pre { border: 1px dashed #aaa; line-height: 1.7em; padding: 5px; font-size: .9em; background: #eee; margin: 0; }
strong { }
em { }
sup, sub { vertical-align: baseline; position: relative; }
sup { top: -0.4em; }
sub { bottom: -0.3em; }

hr { color: #ccc; background-color: #ccc; height: 1px; border-width: 0px; }

.em { font-style: italic; }
.strong { font-weight: bold; }

.content ul, .content ol { margin-left: 3em; line-height: 1.3em; }
.content ul li, .content ol li { margin-bottom: .2em; }

.content dl { }
.content dl dt { margin-bottom: .2em; font-weight: bold; }
.content dl dd { padding-left: 5em; margin-bottom: .4em; }

.icons a, .icon { padding: 1px 0 1px 20px; background-repeat: no-repeat; background-position: left center; }

.content p, .content ul, .content ol, .content dl, .content table, blockquote, pre, .columns, .content img, hr { margin-bottom: 11px; }

.box { margin: 11px; }

/* Text align, float
------------------------------ */

.a-left { text-align: left; }
.a-center { text-align: center; }
.a-right { text-align: right; }

.f-left { float: left; }
.f-right { float: right; }

/* Tables
------------------------------ */

/*
table { border-collapse: collapse; width: 100%; }
table th, table td { border: 1px solid #ccc; padding: 2px 3px; vertical-align: top; }
table th { background: #f4f4f4; }
table td { }
*/

/* Images
------------------------------ */

.content img { padding: 5px; margin-top: .4em; }
.content img.null-image { padding: 0!important; border: none!important; margin: 0!important; }
img.f-left { margin-right: 1em; }
img.f-right { margin-left: 1em; }

/* Content Form
------------------------------ */

.content form { padding: .5em 0; }
.content fieldset { margin-bottom: 1em; border: none; }
.content legend { margin-top: -1px; padding-bottom: 1em; font-size: 1.1em; font-weight: bold; }

.content .f-row { overflow: hidden; margin-bottom: .5em; }
.content label { float: left; text-align: right; width: 25.99%; padding: 0 2%; }
.content .f-inputs { padding-left: 30%; }

.f-actions { padding-top: 1em; border-top: 1px solid #ccc; }

/* Inputs
------------------------------ */

input { vertical-align: middle }
.i-checkbox { margin-top: 3px; }
.i-text { width: 200px; padding: 1px; font: 1em sans-serif; }

/* Specified CSS
------------------------------ */

div.head { width: 100%; height: 161px; /* background: url(../images/topback.jpg) 0px 0px repeat-x; */ position: relative; margin-top: -1px; margin-bottom: 1px; top: 1px; z-index: 2; }
div.head div { width: 100%; height: 161px; /* background: url(../images/topleft.jpg) 0px 0px no-repeat; */ }
div.head div div { /* background: url(../images/topright.jpg) right no-repeat !important; */ min-width: 1004px; }
div.head h1, div.head .h1 { font: 16px Verdana, Verdana, Geneva, sans-serif; color: white;
            display: block; width: 1004px; margin: 0px auto; padding-top: 6px; letter-spacing: 3px; text-align: center; }
div.head form { display: block; width: 257px; float: right; margin: 94px 107px 0 0; }
div.head form input { float: left; margin: 0px 5px 0px 0px; }

.headback { width: 100%; height: 161px; position: absolute; z-index: 1; top: 0px; }
html* .headback { top: 1px !important; }
.headback .d1, .headback .d3, .headback .d5, .headback .d7 { width: 1%; }
.headback .d2, .headback .d4, .headback .d6 { width: 30%; }
.headback .d1 b { display: block; width: 612px; height: 161px; background: url(../images/headb1.jpg) no-repeat; }
.headback .d2 b { display: block; width: auto; height: 161px; background: url(../images/headb2.jpg) repeat-x; }
.headback .d3 b { display: block; width: 74px; height: 161px; background: url(../images/headb3.jpg) no-repeat; }
.headback .d4 b { display: block; width: auto; height: 161px; background: url(../images/headb2.jpg) repeat-x; }
.headback .d5 b { display: block; width: 112px; height: 161px; background: url(../images/headb5.jpg) no-repeat; }
.headback .d6 b { display: block; width: auto; height: 161px; background: url(../images/headb2.jpg) repeat-x; }
.headback .d7 b { display: block; width: 176px; height: 161px; background: url(../images/headb7.jpg) no-repeat; }

table.topmenu { width: 100%; height: 26px; min-width: 1004px; background: transparent url(../images/menuback.gif) left top repeat-x; }
.topmenu td { padding: 0px !important; border: 0px !important; }
.topmenu .bleft { width: 1%; text-align: left; }
.topmenu .bright { width: 1%; text-align: right; }
.topmenu .bleft i, .topmenu .bright i { display: block; width: 39px; background: url(../images/menubord.jpg) no-repeat; height: 26px; }
.topmenu .bright i { background-position: -39px 0px; margin: 0 0 0 auto; }
.topmenu .mitem { width: 20%; }
.topmenu .home { width: 1% !important; }
.topmenu .home a { width: 26px; border-left: 2px #67af29 solid; }
.topmenu .home a span { display: block; width: 26px; height: 26px;
            background: url(../images/homeicon.gif) center center no-repeat; text-indent: -10000px; cursor: pointer; }
.topmenu .home a.active span { cursor: default!important; }
.topmenu .mitem a { display: block; height: 26px; text-align: center; background: url(../images/menuback.gif) repeat-x;
            border-right: 2px #67af29 solid; line-height: 26px; font-size: 11px;
            font-family: Verdana, Verdana, Geneva, sans-serif; color: black; font-weight: bold; text-transform: uppercase;
            overflow: hidden; text-decoration: none; text-indent: -10000px; }
.topmenu .mitem a:hover, .topmenu .mitem a.active { background-position: 0px -26px; }
.topmenu a span { display: block; background: url(../images/tmenu.gif) 0px 26px no-repeat; width: 181px; margin: 0px auto;}
.topmenu a span.menu1658 { background-position: center 0px; } /* О дворце */
.topmenu a span.menu1659 { background-position: center -26px; } /* Ребятам и родителям */
.topmenu a span.menu1660 { background-position: center -52px; } /* Педагогам */
.topmenu a span.menu1661 { background-position: center -78px; } /* Контакты */
.topmenu a span.menu1662 { background-position: center -104px; } /* Календарь */

/* Main table */
table.table0 { width: 100%; min-width: 1004px; }
.table0 .maincontent { width: 60%; }
.table0 .sidemenu { width: 40%; }

.maincontent { background: url(../images/mainback.gif) left top repeat-x; vertical-align: top; }
.maincontent .ttop { height: 110px; padding-left: 40px; background: url(../images/elm1.jpg) left top no-repeat; }
.maincontent .ttop div { height: 110px; padding-right: 18px; background: url(../images/elm0.jpg) right top no-repeat; }
.maincontent .ttop div table { width: 100%; height: 78px; }
.maincontent .ttop div table td { vertical-align: middle; }
.maincontent .ttop p { font-family: Verdana, Verdana, Geneva, sans-serif; font-size: 10px; color: white; text-align: justify; line-height: 12px; }

.sidemenu { vertical-align: top; }
.sidemenu .table1 { width: 100%; }

/* row 1 */
.table1 .r1 .d1 { vertical-align: top; background: #00458c url(../images/elm3back.jpg) 0px top repeat-y; }
.table1 .r1 .d1 i { display: block; width: 60px; height: 110px; background: url(../images/elm2.jpg) right top no-repeat; }
.table1 .r1 .d2 { background: #017d23 url(../images/umenuback2.gif) repeat-x; width: 100%; }
.table1 .r1 .d2 p { font-family: Verdana, Verdana, Geneva, sans-serif; font-size: 12px; color: white;
        font-style: italic; margin-bottom: 8px; text-align: justify; }
.table1 .r1 .d2 .header { font-family: Georgia, "Times New Roman", Times serif !important;
        font-style: italic; font-size: 22px !important; color: white; text-align: center !important; margin-top: 8px; }
.table1 .r1 .d3 { vertical-align: top; background: #017d23; }
.table1 .r1 .d3 i { display: block; width: 30px; height: 110px; background: url(../images/elm1x2.jpg) no-repeat; }

/* row 2 */
.table1 .r2 .d1 { background: url(../images/block2.jpg) 0px -110px repeat-x; }
.table1 .r2 .d1 div { width: 100%; background: url(../images/block2.jpg) right -55px no-repeat; height: 55px; }
.table1 .r2 .d1 div div { width: 100%; background: url(../images/block2.jpg) left 0px no-repeat; }

/* row 3 */
.table1 .r3 .d1 { background: #030e6e url(../images/r3d1back.gif) left bottom repeat-x; }
.table1 .r3 .d1 div { background: url(../images/r3d1back1.gif) left top repeat-y; min-height: 125px; padding-left: 30px; }
.table1 .r3 .d1 div div { background: url(../images/r3d1back2.gif) left bottom no-repeat; padding-left: 1px; }
.table1 .r3 .d1 div div div { background: url(../images/elm3add.gif) right top no-repeat; padding: 0px; }
.table1 .r3 .d1 div div div div { background: url(../images/r3d1back3.gif) right bottom no-repeat;
        padding: 0 30px 17px !important; }
.table1 .r3 p { font-family: Verdana, Verdana, Geneva, sans-serif; font-size: 12px; color: white;
        font-style: italic; margin-bottom: 8px; text-align: justify; }
.table1 .r3 .header { font-family: Georgia, "Times New Roman", Times serif !important; font-style: italic;
        font-size: 22px !important; color: white; text-align: center !important; }

/* row 4 */
.table1 .r4 .d1 { background: #44003a url(../images/r4d1back2.gif) left bottom repeat-x; text-align: center; }
.table1 .r4 .d1 div { background: url(../images/r4d1back.gif) left top repeat-y; min-height: 368px; padding-left: 30px; }
.table1 .r4 .d1 div div { background: url(../images/r4d1back3.gif) left bottom no-repeat; padding-left: 1px; }
.table1 .r4 .d1 div div div { background: url(../images/elm4add.jpg) right top no-repeat; padding: 0px; }
.table1 .r4 .d1 div div div div { background: url(../images/r4d1back4.gif) right bottom no-repeat;
        padding: 16px 30px 10px !important; min-height: 352px }
.table1 .r4 p { font-family: Verdana, Verdana, Geneva, sans-serif; font-size: 12px; color: white;
        margin-bottom: 8px; text-align: justify; }
.table1 .r4 img { clear: both; margin: 0px auto; }
.table1 .r4 .header { font-family: Georgia, "Times New Roman", Times serif !important;
        font-style: italic; font-size: 22px !important; color: white; text-align: center !important; }

/* row 5 */
.table1 .r5 .d1 { background: #3a0031 url(../images/r5d1back.gif) left top repeat-y; }
.table1 .r5 .d2 { background: #3a0031 url(../images/r5d2back1.gif) right top no-repeat; padding-right: 30px; text-align: center; }
.table1 .r5 .d2 div.dates { width: 315px; margin: 0px auto; }
.table1 .r5 .d2 div.date { float: left; clear: both; margin: 20px 0px 10px; }
.table1 .r5 .d2 div.date span { display: block; float: left; margin-left: 5px; }
.table1 .r5 .d2 div.date span.today { font-family: Verdana, Verdana, Geneva, sans-serif; color: #5aff75;
        font-size: 14px; line-height: 37px; }
.table1 .r5 .d2 div.date span.day { font-family: Verdana, Verdana, Geneva, sans-serif; color: #ffffff; 
        font-size: 24px; width: 51px; height: 37px; background: url(../images/today.jpg) no-repeat;
        text-align: center; line-height: 37px; }
.table1 .r5 .d2 div.date span.month { font-family: Verdana, Verdana, Geneva, sans-serif; color: #ffffff; 
        font-size: 17px; width: 102px; height: 37px; background: url(../images/today.jpg) -51px 0px no-repeat;
        text-align: center; line-height: 40px; }
.table1 .r5 .d2 div.date span.year { font-family: Verdana, Verdana, Geneva, sans-serif; color: #ffffff; 
        font-size: 24px; width: 64px; height: 37px; background: url(../images/today.jpg) -153px 0px no-repeat;
        text-align: center; line-height: 37px; }
.table1 .r5 .d2 div.date span.year i { font-style: normal; font-size: 17px; }

.flyevent { clear: both; width: 315px; margin: 0px auto;
        background: url(../images/flydate1.gif) left bottom no-repeat; min-height: 44px; }
html* .flyevent { margin-top: 20px !important; }
.flyevent div { width: 315px; background: url(../images/flydate0.gif) left top no-repeat;
        min-height: 32px; padding: 12px 0px 5px; }
.flyevent div span { font-family: Verdana, Verdana, Geneva, sans-serif; color: #48d27e; font-size: 10px;
        display: block; text-align: left; clear: both; margin-left: 15px; }
.flyevent div a { font-family: Verdana, Verdana, Geneva, sans-serif; color: #feb97d; font-size: 10px;
        text-decoration: underline; display: block; text-align: left; clear: both; margin-left: 15px; margin-bottom: 10px; }
.flyevent div a:hover { text-decoration: none; }
.flyevent table, .flyevent table td { width: 100%; }

table.mainevents { width: 100%; margin-top: 15px; }
.mainevents .time { color: #a7bfe0; font-weight: bold; font-size: 11px; padding-top: 4px; padding-right: 5px; }
.mainevents .event { text-align: left; padding-bottom: 10px; }
.mainevents .event a { color: #feb97d; font-size: 11px; }
.mainevents .event a:hover { text-decoration: none !important; }
.mainevents .event span, .mainevents .event span a { color: #a7bfe0; font-size: 9px; display: block; }
.mainevents .event span a { display: inline !important; }
.mainevents .sep { padding: 5px 0px; background: url(../images/sep.jpg) center center no-repeat; }
.mainevents .date { color: #5aff75; font-size: 11px; text-align: center; }
.mainevents .date span { font-size: 14px; }
.mainevents .allevents { text-align: left; }
.mainevents .allevents a { font-family: Verdana, Verdana, Geneva, sans-serif; color: #a7bfe0; font-size: 12px; }
.mainevents .allevents a:hover { text-decoration: none; }

/* row 6 */

.table1 .r6 .d1 { background: #55184c url(../images/r6d1back2.gif) 30px top no-repeat; padding-left: 66px; }
.table1 .r6 .d1 div { background: #55184c url(../images/r6d1back1.gif) left top repeat-x; height: 72px; }
.table1 .r6 .d1 div div { background: url(../images/r6d1back3.gif) right top no-repeat; }

td { vertical-align: top; }


/* (= !lovely buttons! =) */
table.folders { width: 100%; margin-left: 13px; }
.folders td.lr b { display: block; width: 1px; height: 1px; }
.folders td.oneelm { width: 269px; padding-top: 10px; vertical-align: top !important;
        background-repeat: no-repeat; background-position: right 60px; height: 265px; }
.folders .button { display: block; width: 100%; height: 37px; background: #521757 url(../images/plashkey2.jpg) 0px 37px no-repeat; text-indent: -10000px; text-decoration: none; }

.folders .art .button { background-position: 0px 0px; } 
.folders .biology .button { background-position: 0px -37px; } 
.folders .sport .button { background-position: 0px -74px; } 
.folders .techart .button { background-position: 0px -111px; } 
.folders .warart .button { background-position: 0px -148px; } 
.folders .natural .button { background-position: 0px -185px; } 
.folders .history .button { background-position: 0px -222px; } 
.folders .auto .button { background-position: 0px -259px; } 
.folders .psycho .button { background-position: 0px -296px; } 
.folders .tourism .button { background-position: 0px -333px; } 
.folders .lang .button { background-position: 0px -370px; } 
.folders .games .button { background-position: 0px -407px; }

/* Списки ссылок под кнопками */
.folders ul { list-style-type: none !important; list-style-image: none !important;
        padding-left: 10px; margin-top: 15px; margin-bottom: 15px; }
.folders ul li { font-size: 11px; color: white; margin-bottom: 2px; }
.folders ul li a { color: white; text-decoration: underline; }
.folders ul li a:hover { text-decoration: none; }

.folders .art ul li a { color: #fff3c4; } 
.folders .biology ul li a { color: #b4ffbe; } 
.folders .sport ul li a { color: #d3daff; } 
.folders .techart ul li a { color: #ffbcbc; } 
.folders .warart ul li a { color: white; }
.folders .natural ul li a { color: #d7e5ff; } 
.folders .history ul li a { color: #ffc97b; } 
.folders .auto ul li a { color: #f2a3bd; } 
.folders .psycho ul li a { color: #edb7ff; } 
.folders .tourism ul li a { color: #a9ebdb; } 
.folders .lang ul li a { color: #cccdff; }
.folders .games ul li a { color: #ffa491; }

/* Картиночки: */
.folders .art { background-image: url(../images/butArt.jpg); height: 174px; } 
.folders .biology { background-image: url(../images/butBiology.jpg); height: 226px; background-position: right 90px !important; } 
.folders .sport { background-image: url(../images/butSport.jpg); height: 198px; } 
.folders .techart { background-image: url(../images/butTechart.jpg); height: 192px; background-position: right 95px !important; } 
.folders .warart { background-image: url(../images/butWarart.jpg); height: 213px;
        background-position: left 106px !important; }
.folders .natural { background-image: url(../images/butNatural.jpg); height: 221px; } 
.folders .history { background-image: url(../images/butHistory.jpg); height: 221px; background-position: right 82px !important; } 
.folders .auto { background-image: url(../images/butAuto.jpg); height: 147px; background-position: right 126px !important; } 
.folders .psycho { background-image: url(../images/butPsycho.jpg); height: 181px; background-position: right 98px !important; } 
.folders .tourism { background-image: url(../images/butTourism.jpg); height: 154px; background-position: right 118px !important; } 
.folders .lang { background-image: url(../images/butLang.jpg); height: 202px; background-position: right 110px !important; }
.folders .games { background-image: url(../images/butGames.jpg); height: 202px; background-position: right 110px !important; }

div.footer { text-align: right; height: 141px; padding: 0 49px 49px; margin-top: 35px; }
.footer p { color: white; font-size: 10px; margin-bottom: 8px; }
.footer p span { font-size: 18px; }


/* Now css styles for Type 1 */

body.white { background: white !important; }
.tablea1 { width: 100%; height: 70px; background: #690059 url(../images/back2.gif) repeat-x; }
.tablea1 td.left { background: url(../images/t1crn1.jpg) no-repeat; vertical-align: center; width: 35px; }
.tablea1 td.rights { background: url(../images/t1crn2.jpg) right top no-repeat; vertical-align: bottom; width: 35px; }

.tablea1 td.center { background: url(../images/smback.gif) left bottom repeat-x; }
.tablea1 .center h2 { margin: 13px 0px 4px 0px; font-family: Verdana, Verdana, Geneva, sans-serif;
        color: white; font-size: 35px; font-weight: normal; line-height: 35px; }
.tablea1 .center p { text-align: right; padding-right: 0; padding-bottom: 3px;
        font-family: Verdana, Verdana, Geneva, sans-serif; font-size: 10px; color: white; }
.tablea1 .center p span { color: #76ff6c; }
.tablea1 .center p a, .tablea1 .rights p a:active, .tablea1 .rights p a:visited { text-decoration: underline; }
.tablea1 .center p a:hover { text-decoration: none; }

.tablea2 { width: 100%; }
.tablea2 .r1 .d1 { width: 22%; }
.tablea2 .r1 .d1 .block1 { background: #3A0032 url(../images/t1crn3.jpg) no-repeat; padding-bottom: 10px; }
.tablea2 .r1 .d1 .leftmenu { padding-top: 35px; padding-left: 30px; }
.tablea2 .r1 .d1 .leftmenu a, .tablea2 .r1 .d1 .leftmenu a:active, .tablea2 .r1 .d1 .leftmenu a:visited { 
        font-family: Verdana, Verdana, Geneva, sans-serif; color: white; font-size: 11px;
        text-decoration: underline; display: block; margin-bottom: 4px; }
.tablea2 .r1 .d1 .leftmenu a:hover { text-decoration: none; }
.tablea2 .r1 .d1 .leftmenu .submenu { padding-left: 10px; padding-bottom: 4px; }
.tablea2 .r1 .d1 .leftmenu .active { position: relative; left: -15px; padding-left: 15px; 
        background: url(../images/t1point.gif) 1px 5px no-repeat; color: #76ff6c !important;
        text-decoration: none !important; cursor: default; }
.tablea2 .r1 .d1 .leftmenu .dactive { color: #76ff6c !important; text-decoration: none !important; cursor: default; }

.tablea2 .r1 .d1 .dates { margin-right: 10px; margin-left: 10px; margin-bottom: 10px; }
.tablea2 .r1 .d1 .dates td { text-align: center; padding: 0px 3px; color: white; }
.tablea2 .r1 .d1 .dates td.red, .tablea2 .r1 .d1 .dates td.red a { color: #ffb18e; }
.tablea2 .r1 .d1 .dates .q1 td { border-bottom: 1px white solid; }
.tablea2 .r1 .d1 .dates a, .tablea2 .r1 .d1 .dates span { margin: 2px 0px !important; font-size: 11px; }
.tablea2 .r1 .d1 .dates span { color: #747fb5; }
.tablea2 .r1 .d1 .dates .eventsd { display: none; }

.tablea2 .r1 .d1 .block2 { background: #770064 url(../images/t1b2e3.jpg) repeat-x; }
.tablea2 .r1 .d1 .block2 .submenu { padding-left: 10px; padding-bottom: 4px; }
.tablea2 .r1 .d1 .backb2 { background: url(../images/t1b2e1.jpg) no-repeat; }
.tablea2 .r1 .d1 .backbz2 { background: url(../images/t1b2e2.jpg) right top no-repeat;
        padding: 60px 30px 10px; color: white; }
.tablea2 .r1 .d1 .block2 p { color: white; display: block; font-family: Verdana, Verdana, Geneva, sans-serif;
        color: white; font-size: 11px; margin-bottom: 5px; }
.tablea2 .r1 .d1 .block2 a { color: white; display: block; font-family: Verdana, Verdana, Geneva, sans-serif;
        color: white; font-size: 10px; text-decoration: underline; margin-bottom: 3px; }
.tablea2 .r1 .d1 .block2 .active { position: relative; left: -15px; 
        padding-left: 15px; background: url(../images/t1point.gif) 1px 5px no-repeat;
        color: #76ff6c !important; text-decoration: none !important; cursor: default; }
.tablea2 .r1 .d1 .block2 a:hover { text-decoration: none; }
.tablea2 .r1 .d1 .block2 .links { padding-left: 10px; }

.tablea2 .r1 .d1 .blockblueend { background: white url(../images/t1b3e2.jpg) repeat-x; height: 66px; }
.tablea2 .r1 .d1 .blockblueend .backbluebend { background: url(../images/t1b3e1.jpg) left top no-repeat; height: 66px; }
.tablea2 .r1 .d1 .blockblueend .backbluebend .backbzblueend {
        background: url(../images/t1b3e3.jpg) right top no-repeat; height: 66px; }

.tablea2 .r1 .d2 { width: 78%; background: white url(../images/t1crn4.jpg) no-repeat; }
.tablea2 .r1 .d2 .addback { background: url(../images/t1crn5.jpg) right top no-repeat; padding: 25px 30px; }

.tablea2 .r1 .d2 h2.clean { font-family: Verdana, Verdana, Geneva, sans-serif; font-size: 14px;
        color: black; font-weight: normal; margin-bottom: 10px; }
.tablea2 .r1 .d2 h2.clean span { color: #3d8e0c; font-size: 24px; }

/* Events table */
.events { width: 100%; }
.events .eheader td { background-color: #aeaeae; font-family: Verdana, Verdana, Geneva, sans-serif;
        color: #3c434f; font-size: 12px; text-align: center; vertical-align: middle; height: 28px; border-right: 2px white solid; }
.events .eheader td.a1 { background: #aeaeae url(../images/t1cal1.gif) no-repeat; }
.events .eheader td.a3 { background: #aeaeae url(../images/t1cal2.gif) right top no-repeat; }
.events .oneevent td { background-color: #e1e1e2; border-right: 2px white solid; }
.events .firstevent td { border-top: 2px white solid; }
.events .firstevent td.a1 { font-family: Verdana, Verdana, Geneva, sans-serif;
        color: #000000; font-size: 10px; text-align: center; vertical-align: middle; padding: 2px; }
.events .firstevent td.a1 span.n { font-size: 23px; display: block; line-height: 28px; }
.events .firstevent td.a1 span.m { font-size: 12px; display: block; line-height: 14px; }

.events .oneevent .a2 { padding: 15px 0px; }
.events .oneevent .a3 { padding: 15px 10px; width: 80%; }

.events .oneevent .a2 { text-align: center; vertical-align: middle; } 
.symbols { display: block; width: 59px; height: 55px; background-position: center center;
        background-repeat: no-repeat; margin: 0px auto; }
.smbbook { background-image: url(../../../images/symbols/book.png); }
.smbmusic { background-image: url(../../../images/symbols/music.png); }
.smbbal { background-image: url(../../../images/symbols/bal.png); }
.smbchess { background-image: url(../../../images/symbols/chess.png); }
.smbdance { background-image: url(../../../images/symbols/dance.png); }
.smbdecor { background-image: url(../../../images/symbols/decor.png); }
.smbpaint { background-image: url(../../../images/symbols/paint.png); }
.smbscience { background-image: url(../../../images/symbols/science.png); }
.smbsmile { background-image: url(../../../images/symbols/smile.png); }
.smbsport { background-image: url(../../../images/symbols/sport.png); }
.smbtheatre { background-image: url(../../../images/symbols/theatre.png); }

.events .oneevent .a3 { color: #000000; font-size: 10px; }
.events .oneevent .a3 h3 { font-size: 12px; }
.events .oneevent .a3 h3 a, .events .oneevent .a3 h3 a:active,
.events .oneevent .a3 h3 a:visited { color: black !important; text-decoration: underline; }
.events .oneevent .a3 h3 a:hover { text-decoration: none; }
.events .oneevent .a3 a, .events .oneevent .a3 a:visited, .events .oneevent .a3 a:active { color: #0500c2; }
.events .oneevent .a3 span { color: #ff4800; }

.events .efooter td { border-top: 2px white solid; border-right: 2px white solid; height: 28px; background-color: #e1e1e2; }
.events .efooter .a1 { background: #e1e1e2 url(../images/t1cal1.gif) left bottom no-repeat; }
.events .efooter .a3 { background: #e1e1e2 url(../images/t1cal2.gif) right bottom no-repeat; }

.events .efooter .prevnext { display: block; width: 325px; margin: 6px auto; height: 12px; }
.events .efooter .prevnext a { display: block; height: 12px; color: #0500c2; font-size: 10px; float: left; line-height: 10px; }
.events .efooter .prevnext span { display: block; height: 12px; color: #414141;
        font-size: 10px; float: left; margin: 0px 15px; line-height: 10px; }
.events .efooter .prevnext a.prev { padding-left: 30px; background: url(../images/t1calarr.gif) no-repeat; }
.events .efooter .prevnext a.next { padding-right: 30px; background: url(../images/t1calarr.gif) right bottom no-repeat; }

/* Таблица «Творчество» */

.artways { width: 100%; }
.artways td { padding-bottom: 10px; }
.artways .left { width: 1%; vertical-align: top; }
.artways .right { padding-left: 10px; }
.artways h3 { margin-bottom: 5px !important; }
.artways h3, .artways h3 a { font-weight: normal; font-family: Verdana, Verdana, Geneva, sans-serif;
        color: #ed5900 !important; font-size: 12px !important; }
.artways h3 a:hover { text-decoration: none; }
.artways ul { list-style-type: none!important; list-style-image: none!important; margin:0px 0px 6px!important; }
.artways ul li { font-size: 11px; padding-left: 13px; margin-bottom: 4px; }
.artways ul li ul li { font-size: 10px; margin-bottom: 1px; margin-top: 2px; }
.artways ul li a, .artways ul li a:visited, .artways ul li a:active { color: #0500c2; text-decoration: underline; }
.artways ul li a:hover { text-decoration: none; }

.excorner { display: block; float: right; clear: both; width: 39px; height: 35px;
        background: url(../images/t1excrn.jpg) no-repeat; position: relative; top: 1px; }

.exfooter { height: 173px; background: url(../images/t1footback.gif) repeat-x; clear: both; } 
.exfooter .b1 { height: 173px; background: url(../images/t1footb.jpg) no-repeat; } 
.exfooter .b1 .b2 { text-align: right; padding: 30px; } 
.exfooter .b1 .b2 p { color: #ffffff; font-size: 10px; margin-bottom: 8px; } 
.exfooter .b1 .b2 p span { font-size: 18px; }

/* Default type */
.tablea2 .r1 .d2 h2, .tablea2 .r1 .d2 h3 { padding: 0px; margin: 0px 0px 8px; }
.tablea2 .r1 .d2 p, .tablea2 .r1 .d2 ul, .tablea2 .r1 .d2 ol { padding: 0px; margin: 0px 0px 13px; }
.tablea2 .r1 .d2 h2 { font-weight: normal; font-family: Verdana, Verdana, Geneva, sans-serif; font-size: 24px; color: #3d8e0c; }
.tablea2 .r1 .d2 h3, .tablea2 .r1 .d2 span.or { font-weight: normal;
        font-family: Verdana, Verdana, Geneva, sans-serif; font-size: 14px; color: #ff5a00; }
.tablea2 .r1 .d2 a { color: #0500c2; }
.tablea2 .r1 .d2 a:hover { text-decoration: none; }
.tablea2 .r1 .d2 p, .tablea2 .r1 .d2 ol li, .tablea2 .r1 .d2 ul li { font-size: 11px; color: #000000; }
.tablea2 .r1 .d2 ul, .tablea2 .r1 .d2 ol { margin: 0 0 13px 20px; padding: 0pt; }


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

 MultiBox
 v1.3

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

.MultiBoxContainer { position: absolute; border: 20px solid #000;
        background-color: #FFF; display: none; z-index: 20; text-align: left; /*overflow: hidden;*/ }
.MultiBoxLoading { background: url(../../../images/loader.gif) no-repeat center; } 
.MultiBoxContent { position: relative; width: 100%; height: 100%; overflow: hidden; } 
.MultiBoxClose { position: absolute; top: -26px; right: -26px;
        background: url(../../../images/close.png) no-repeat; width: 24px; height: 24px; cursor: pointer; }
.MultiBoxControlsContainer { overflow: hidden; height: 0px; position: relative; } 
.MultiBoxControls { width: 100%; height: auto; position: relative; background-color: #000000; } 
.MultiBoxPrevious { position: absolute; background: url(../../../images/left.png) no-repeat;
        width: 24px; height: 24px; left: 0px; margin-top: 5px; cursor: pointer; }
.MultiBoxNext { position: absolute; background: url(../../../images/right.png) no-repeat;
        width: 24px; height: 24px; right: 0px; margin-top: 5px; cursor: pointer; }
.MultiBoxNextDisabled { cursor: default; background: url(../../../images/rightDisabled.png) no-repeat; } 
.MultiBoxPreviousDisabled { cursor: default; background: url(../../../images/leftDisabled.png) no-repeat; } 
.MultiBoxTitle { position: relative; margin: 10px 0 0 35px; float: left; 
        font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;
        color: #FFF; font-weight: bold; text-align: left; }
.MultiBoxNumber { position: relative; width: 50px; margin: 10px 35px 0 0; 
        float: right; font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11px; color: #FFF; text-align: right; }
.MultiBoxDescription { clear: left; position: relative; margin: 0 35px 0 35px; 
        padding-top: 5px; font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11px; color: #FFF; text-align: left; }

/* gallery */
#gallery { padding: 0px!important; clear: both; }
#gallery li { list-style-type: none!important; list-style-image: none!important; 
        padding: 0px!important; height: 100px; text-align: center; width: 150px;
        display: block; float: left; margin: 0px 25px 40px 0px; }
#gallery li a { text-decoration: none; }

/* Tips =) */

.custom .tip {
	color: #000;
	width: 230px;
	z-index: 13000;
}

.custom .tip ul { list-style-type: none!important; list-style-image: none!important; }

.custom .tip-title {
	font-weight: bold;
	font-size: 11px;
	margin: 0;
	color: #3E4F14;
	padding: 8px 8px 4px;
	background: #C3DF7D;
	border-bottom: 1px solid #B5CF74;
}

.custom .tip-text {
	font-size: 11px;
	padding: 4px 8px 8px;
	background: #CFDFA7;
}

/* pages */
.pages { text-align:center; padding-top:10px; }
.pages a,
.pages span { margin:0px 3px; padding:2px 5px; color:#babdb6 }
.pages span.act { background-color:#1C275E; color:#fff }
.pages a { color:#659ad6; }
.pages a:hover { color:#e65b0a }

/* cblock */
.cblock0 { width: 349px; background: #ffc000 url(../images/spb1b.png) 0px 0px repeat-y; margin: 0px 0px 10px 10px; }
.cblock { width: 349px;
        background: url(../images/cblock.png) top left no-repeat; padding-top: 23px; }
.cblock2 { background:  url(../images/cblock.png) bottom right no-repeat;
        padding-bottom: 23px; padding: 0px 30px 23px; overflow: hidden; }
.cblock h1, .cblock h2, .cblock h3 { color: #fff !important;
        font-size: 18px !important; margin-top: 0px !important; margin-bottom: 0px !important; }
.cblock p { color: #000000; margin-left: 15px !important; font-size: 12px !important; }
.cblock p b, .cblock p strong { font-size: 15px !important; font-weight: normal; }

/* spblock */
.zcblock0 { width: 349px; background: #70007a url(../images/spb2b.png) 0px 0px repeat-y; margin: 0px 0px 10px 10px; }
.zcblock { width: 349px;
        background: transparent url(../images/spblock2.jpg) top left no-repeat; padding-top: 50px; }
.zcblock2 { background: transparent url(../images/spblock2.jpg) bottom right no-repeat;
        padding-bottom: 23px; padding: 0px 30px 23px; overflow: hidden; }
.zcblock h1, .zcblock h2, .zcblock h3 { color: #fff !important;
        font-size: 18px !important; margin-top: 0px !important; margin-bottom: 0px !important; }
.zcblock p { color: #fff !important; margin-left: 0px !important; font-size: 12px !important; }
.zcblock p b, .cblock p strong { font-size: 15px !important; font-weight: normal; }

.zcblock a { color: white !important; }

.addback table td { vertical-align: middle; }

/* FF2 hacks */
#ddblock1, x:-moz-any-link { margin-bottom: -1px; }
#ddblock1, x:-moz-any-link, x:default { margin-bottom: 0px !important; }
#ddblock2, x:-moz-any-link { margin-bottom: -1px; }
#ddblock2, x:-moz-any-link, x:default { margin-bottom: 0px !important; }
