/* ==================================================================================
Общие стили сайта.
================================================================================== */
html {height:100%;}
body {background:#66CCFF;}

a.dark_link{
    color:#2D3F7B;
    text-decoration: underline;
}

a.white_link{
    color:#fff;
    text-decoration: none;
}

h1, h2, h3, h4
{
  font-weight:bold;
  margin:0rem;
}

h1 {font-size:1.1rem;}
h2 {font-size:1rem;}
h3 {font-size:1rem;}
h4 {font-size:1rem;}

iframe{display: block;}
p {display:block; margin:.5rem 0rem;}

/* Юзербар. */
.userbar{height:9rem;}
.userbar_avatar{max-width:7rem; border-radius: 1rem;}

/* Стили каркаса сайта для разных размеров экранов */
/* Малые экраны col */
@media (max-width: 575px) {
    .content{
        padding: 10rem 0rem 0rem 0rem;
        background: url('images/header.png') center top no-repeat;
    }

	.pikafur{
        width: 7rem;
        margin: -8rem 0rem 0rem 0rem;
        position: relative;
        z-index: 5;
    }

    /* Стили мобильного верхнего меню */
    .right_container{margin:0rem;}
    .main_menu_small{background-color: #7FB6F5;}

    .main_menu_small ul{margin:1rem 0rem;}
    .main_menu_small li{
        background-color: #F0F3FF;
        padding:.5rem 1rem;
    }

    .private_message_new{color:#ffe4bc; margin: -.1rem 0rem 0rem .5rem;}
    .private_message{color:#bcd6fb; margin: -.4rem 0rem 0rem .5rem;}
    

    /* Большое меню выключено. */
    .big_menu{display: none;}

    /* Малые эвенты включены. */
    .mobile_events_online{display:block; margin: 0rem 0rem 1rem 0rem; font-size:1rem; background-color:#bcd6fb;}
    .mobile_events_online .header{background-color: #034dd4; padding:.2rem .5rem; color:#6dc6ff;}
    .mobile_events_online div.point{padding:.1rem .5rem;}

    /* Футер */
    .footer{margin:0rem;}

    /* Размеры видео. */
    iframe{width:100% !important; height:10rem;}

    /* Кнопка переключения дизайнов скрыта в моб. версии. */
    #template_switcher{display:none;}

    /* Корректировка h1 и тд...*/
    h1 {font-size:1.4rem;}
    h2 {font-size:1.3rem;}
    h3 {font-size:1.2rem;}
    h4 {font-size:1.1rem;}
}

/* Средние экраны col-md */
@media (min-width: 576px) {
    .content{
        padding: 10rem 0rem 0rem 0rem;
        background: url('images/header.png') center top no-repeat;
		font-size:.8rem;
    }
    
	.pikafur{
        width: 7rem;
        margin: -4rem 0rem 0rem 1rem;
        position: relative;
        z-index: 5;
    }

    /*Мобильное меню выключено.*/
    .main_menu_small{display: none;}
    .mobile_events_online{display:none;}

    .big_userbar{display:flex;}

    .online .birthday_pic{display: none;}
    .online div img{width:3rem; margin:0rem 0rem 0rem -1rem;}
    .online .point{text-align:center;}

    /* Размеры видео. */
    iframe{width:100% !important; height:10rem;}

    /* Кнопка переключения дизайнов. */
    #template_switcher{display:block;}
    #template_switcher a{position: fixed; z-index:20; top:0rem; white-space:nowrap; right:0;}

}

/* Большие экраны col-lg */
@media (min-width: 768px){
    .content{
        padding: 19rem 0rem 0rem 0rem;
        background: url('images/header.png') center top no-repeat;
    }

    .pikafur{
        width:auto;
        margin: -6rem 0rem 0rem -1rem;
        position: relative;
        z-index: 5;
    }

    /* Выравнивание эвентов сайта*/
    .menu_container{padding-right:0rem;}

    .online .birthday_pic{display: none;}
    .online div img{width:3rem; margin:0rem 0rem 0rem -1rem;}
    .online .point{text-align:center;}

    /* Размеры видео. */
    iframe{width:25rem !important; height:20rem;}
}
 
@media(min-width:1000px){

    .notifies{color:#FF0000; margin: -1.3rem 0rem 0rem 2.6rem;}

    .online .birthday_pic{display: none;}
    .online div img{width:3rem; margin:0rem 0rem 0rem -1rem;}
    .online .point{text-align:center;}

    /* Размеры видео. */
    iframe{width:35rem !important; height:25rem;}
}

@media(min-width:1200px) and (max-width:1249px){

    .online .birthday_pic{display: none;}
    .online .point{text-align:center;}

    /* Размеры видео. */
    iframe{width:35rem !important; height:25rem;}
    
}

@media(min-width:1750px){
    .online div img{width:3rem; margin:0rem 0rem 0rem -1rem;}
    .online .birthday_pic{display: block;}

    /* Размеры видео. */
    iframe{width:35rem !important; height:25rem;}
}


@media(min-width:1550px){
    .pikafur{
        margin: -6rem 0rem 0rem 0rem;
    }

    .online div img{width:3rem; margin:0rem 0rem 0rem -1rem;}
    .online .point{text-align:center;}
    .online .birthday_pic{display: block;}

    /* Размеры видео. */
    iframe{width:35rem !important; height:25rem;}
}

/* Корректировка юзербара на разных экранах */
@media(min-width:851px) and (max-width:1660px){
    #big_userbar{display:none;}
    #big_userbar_form{display:none;}

    #lg_userbar{display:flex !important;}

    #md_userbar{display: none !important;}
}

@media(max-width:850px){
    #big_userbar{display:none;}
    #big_userbar_form{display:none;}

    #lg_userbar{display:none !important;}

    .userbar_avatar{max-width:4rem; border-radius: 2rem;}
}

@media(min-width:851px){
    #md_userbar{display: none !important;}
}

@media(max-width:575px){
    .userbar_avatar{max-width:2.5rem; border-radius: 2rem;}
}

/* Синяя подложка контента. */
.content_bg{
	background:#fff;
	border-radius:1.7rem;
	border:.2rem solid #6699CC;
	padding:.6rem;
	background:#90b5f2 url('images/bg_texture.png') repeat;
}

/* Разные части каркаса */
.pikafur_container{
    padding:2.5rem 0rem 0rem 0rem;
}

.right_container{
    padding-bottom:1rem;
}

/* Блок "Что новенького" */
.whatsnew{
    background-color: #bcd6fb;
    height: 7rem;
    overflow-y: scroll;
    font-size: .8rem;
}

.whatsnew .wn_block{
    padding-top:.7rem !important;
}

.whatsnew .wn_block p{margin:0rem;}


/* ==================================================================================
Рекламные блоки.
================================================================================== */

/* Боковые блоки для очень больших экранов. */
@media(max-width:1830px){
    .ads_xl{
        display: none;
    }
}

@media(min-width:1831px){
    .ads_xl{
        display: block;
    }
}

/* Рекламные "контентные" блоки перед комментариями к материалам. */
before_comments_xl{
    height:119px;
    background: url('/templates/bootstrap/images/ads_blocked.jpg') center top no-repeat;
    overflow-y: hidden;
}

before_comments_lg_sm{
    height:89px;
    background: url('/templates/bootstrap/images/ads_blocked_small.jpg') center top no-repeat;
    overflow-y: hidden;
}

before_comments_md{
    height:100px;
    background: url('/templates/bootstrap/images/ads_blocked_small.jpg') center top no-repeat;
    overflow-y: hidden;
}



/* Стили большого меню.  */
.big_menu{background-color: #bcd6fb; border:.01rem solid  #034dd4; max-width:11rem; min-width:8rem; margin:0rem;}
.big_menu .header{background-color: #034dd4; padding:.2rem .5rem; color:#6dc6ff;}
.big_menu .point{padding:.2rem .5rem .4rem .5rem; font-size: .8rem;}
.big_menu h1{font-size:1rem;}

/* Область контента */
.white_content{background-color: #fff; margin-bottom:1rem; padding-right:1.5rem;}
/*.white_content div{padding:0rem;}*/

/* Подвал. */
.footer{width:auto; margin:0rem; font-size:.8rem;}


/* ==================================================================================
Внутренние элементы контентой области.
================================================================================== */

/* Синяя кнопка. */
.blue_button {background-color: #6CABF4; font-weight:bold; color:#fff !important; font-size:1rem; padding-top:.2rem; padding-bottom: .1rem;}
.blue_button_lg {background-color: #6CABF4; font-weight:bold; color:#fff !important; font-size:1.25rem; line-height: 1.5;padding-top:.2rem; padding-bottom: .1rem;}
.blue_bg {background-color: #6CABF4 !important; font-weight:bold; color:#fff;}
.blue_outline {border:.15rem solid #6CABF4 !important; color:#000;}
.blue_outline:hover {border:.15rem solid #034dd4 !important; color:#000;}
a.button {height:1.95rem; min-width:2rem; text-align:center; padding:.2rem .5rem 1.5rem .5rem;}

/* Всплываха. */
.modal-content{padding:1rem !important;}
.modal-header{padding:1rem !important;}

/* Мелкие подписи. */
.context{color: #999; font-size: .8rem;}

/* Модерские кнопки. */
.mini_moder {width: 5.5rem; float:right; text-align:right;}
.mini_moder span {width: 1.5rem; text-align: center;}
.mini_moder a{text-decoration: none;}
/* Скрывашка для длинных текстов. */
.hider{height: 4rem;
    background-image: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0.8), rgba(255,255,255,0));
    position: relative;
    top: 20.2rem;
    margin-bottom: -4rem;
    width:100%;
}

/*Различные фоны и обводки.*/
.lpurple_border{background-color: #F0F3FF; border:.1rem solid #BCD5FB;}
.lpurple{background-color: #F0F3FF;}
.purple{background-color: #dfdcff;}
.lblue{background-color: #c6edff}
.white{background-color: #fff;}
.blue{background-color: #6CABF4;}

/*Лоадер*/
.poke_loader{opacity: 0.7;}

/*Выделение для клавишной навигации dropdown-списков.*/
a.selected{background-color: #007bff; color:#fff;}

/*Выделение иконки толстым бордером со скруглениями. */
.selected_icon{border: 0.2rem solid #007bff; border-radius: 0.3rem;}
.unselected_icon{padding: 0rem 0.2rem;}

/* ==================================================================================
Формы и пользовательские интерфейсы (без игры).
================================================================================== */

/* Стиль, блокирующий отображение антиспам-полей в формах. */
.mwahaha {display:none !important;}

/* Корректировка бутстрапа*/
.white_content .form-check{padding-left:1.25rem;}
.bb{font-size:1rem !important; padding:0rem .9rem .1rem .9rem;}

/* Кнопка редактирования чего-либо, пристыкованная к записи. Используется класс bootstrap-а*/
.edit_button{font-size:1rem; margin:0rem .5rem; color:#999; padding:.1rem; border-radius: .3rem;}
.edit_button:hover{color:#999; text-decoration: none; background-color: #E5E5E5;}

/* Личные сообщения. */
.pm_list{max-height:20rem; overflow-y: scroll; overflow-x: hidden;}
.pm_list ul li{overflow-x: hidden;}
@media(min-width:1200px){
    .pm_list{max-height:30rem;}
}

/* Диалоги (тип мессенджер) */
.pm_dialog{overflow-y: scroll; overflow-x:hidden; max-height:30rem;}
.pm_dialog_prev:hover{background-color:#dfdcff;}
.pm_avatar_right{max-width:2rem; margin:.5rem 0rem 0rem -.5rem; border-radius: 1rem;}
.pm_avatar_left{max-width:2rem; margin:.5rem 0rem 0rem .8rem; border-radius: 1rem;}
.pm_answer{background-color:#fff; border-radius: 1rem;}
.pm_message{background-color: #CBFBCB; border-radius: 1rem}
.pm_message_delete{margin: 0.5rem 0rem -1rem 0rem; float: right; display: none;}
.pm_answer_delete{margin: 0.5rem 0rem -1rem 0rem; float: right; display: none;}

/* Пользовательские аватары */
.user_avatar{min-width:2rem;}
#loadLoader{display: none; opacity: 0.7; margin:-1rem 0rem -.7em 0rem;}
.avatar_template{display:none;}

/*Пользовательские награды.*/
.award{max-width: 50px;}
.award_angle{font-size:2.3rem; color:#7d7c91; vertical-align: middle; text-align: center;}
.award_angle:hover {background-color:#908ad3; color:#4e4d64;}
.award_angle a {padding:.4rem 2rem; margin:0rem -.1rem 0rem -1rem;}
#saveAwards{display: none;}
#comAwards, #profAwards{
    list-style-type: none;
    margin:0rem;
    padding:0rem;
}
#comAwards li, #profAwards li{
    float:left;
    margin:.3rem;
    background-color: transparent;
    border: 0px;
}
.wait{background-color: #e9ecef; border-radius: .3rem;}
.wait li{opacity: 0.2;}
.award_loader{position: relative; opacity:0.7; top:3rem; margin-top: -2rem; text-align: center; z-index: 2; display: none;}

/* ==================================================================================
Посты сайта.
================================================================================== */
/* Аватар пользователя, опубликовавшего пост (маленький, круглый).*/
.post_avatar{max-width: 2rem; border-radius: 10rem;}

/* Комментарий автора фанарта/статьи и прочая инфа о работе. */
.art_desc{border: .1rem solid #BCD5FB; border-radius:.3rem;}
.article_desc{border: .1rem solid #BCD5FB; border-radius:.3rem;}

/* ==================================================================================
Раздел новостей.
================================================================================== */
.new{max-height: 24rem; font-size:.91rem; overflow-y: hidden;}
.new_full{font-size:.91rem;}
.new img, .new_full img {max-width: 100%; height:auto;}
.new_comments{padding:0rem 0rem 3rem 1rem !important;}

@media(max-width:800px){
    .new{max-height: 25rem;}
    .new p, .new_full p{margin:.2rem 0rem;}
    .hider{top: 19rem; height: 6rem; margin-bottom: -6rem;}
    .new_comments{padding:0rem 0rem 5rem 1rem !important;}
}

/* Спойлер временно */
/* header */
.sp_head {
	background-color:#bcd5fb;
	border:1px solid #7ea0d7;
	padding:2px 4px;
	cursor:pointer;
}
/* Стиль внутренней части. */
.sp_body {
	border:1px solid #7ea0d7;
	border-top:0px solid;
	padding:5px;
}

/* ==================================================================================
Гостевуха.
================================================================================== */
.gb_blocked{
    background-color: #b8b8b8;
    border-radius: .3rem;
    opacity: 0.4;
}

/* ==================================================================================
Покедекс.
================================================================================== */

/*Блоки с покемонами при графическом отображении. Тонкая подстройка подо все экраны количество блоков в строке, размера картинки и ссылки под ней. */
.dex div a{
    display:block;
    min-height: auto;
    
}
@media(max-width:1500px){
    .dex {padding-left:0rem !important; padding-right: 0rem !important;}
}

/* Типы. */
.dex_type_bug{background-color: #8bbb3e; color:#fff; border-radius: 10rem;}
.dex_type_curse{background-color: #3f8d89; color:#fff; border-radius: 10rem;}
.dex_type_dark{background-color: #493432; color:#fff; border-radius: 10rem;}
.dex_type_dragon{background-color: #7448da; color:#fff; border-radius: 10rem;}
.dex_type_electric{background-color:#ffea29; border-radius: 10rem;}
.dex_type_fighting{background-color:#d1471d; color:#fff; border-radius: 10rem;}
.dex_type_fire{background-color:#ff8017; border-radius: 10rem;}
.dex_type_flying{background-color: #d1bdff; border-radius: 10rem;}
.dex_type_ghost{background-color: #6c3d8b; color:#fff; border-radius: 10rem;}
.dex_type_grass{background-color: #3bca17; border-radius: 10rem;}
.dex_type_ground{background-color:#d39522; border-radius: 10rem;}
.dex_type_ice{background-color:#69e1ff; border-radius: 10rem;}
.dex_type_normal{background-color:#ca8a56; border-radius: 10rem;}
.dex_type_poison{background-color:#b82edb; color:#fff; border-radius: 10rem;}
.dex_type_psychic{background-color:#ff45b8; border-radius: 10rem;}
.dex_type_rock{background-color:#8f4827; color:#fff; border-radius: 10rem;}
.dex_type_flying{background-color:#8fb2e0; border-radius: 10rem;}
.dex_type_water{background-color:#1e79f1; color:#fff; border-radius: 10rem;}
.dex_type_fairy{background-color:#ff8bae; border-radius: 10rem;}

.dex_type_left{border-radius: 10rem 0rem 0rem 10rem;}
.dex_type_right{border-radius: 0rem 10rem 10rem 0rem;}

/* Цвета покемонов. */
.dex_color{font-weight: bold; border-radius: 5rem; padding: 0rem 0.6rem; margin:0rem .2rem;}
.dex_color_blue{background-color:#1d4ff3; color:#d3caff;}
.dex_color_brown{background-color:#aa5828; color:#fcc189;}
.dex_color_gray{background-color:#6d7283; color:#fff;}
.dex_color_green{background-color:#3ba709; color:#fff;}
.dex_color_pink{background-color:#ff69d2; color:#a5228f}
.dex_color_purple{background-color:#9524c9; color:#e4aaff;}
.dex_color_red{background-color:#e40404; color:#ffb6b6;}
.dex_color_white{background-color:#ffffff; border: .1rem solid #cfc7d6; color:#918cac;}
.dex_color_yellow{background-color:#ffdc13; color:#836000;}

/* 
             
            'Purple' => ['id' => 'Purple', 'title' => 'Фиолетовый'],
            'Red' => ['id' => 'Red', 'title' => 'Красный'],
            'White' => ['id' => 'White', 'title' => 'Белый'],
            'Yellow' => ['id' => 'Yellow', 'title' => 'Желтый'],*/

/* Отображение миниатюр*/
div.dex_mini{
    display: inline-block;
    height: 40px;
    width: 40px;
    padding:.5rem;
}

div.dex_mini_ss{
    height: 50px;
    width: 50px;
    padding:.5rem;
}

/* Тонкая настройка переключателя-рулера покемонов. */
@media (min-width:1433px){
    .dex_ruler div span.list {
        display: block;
    }

    .dex_ruler div .dex_ruler_dropdown {
        display: none;
    }
}

@media (max-width:1432px){
    .dex_ruler div span.list {
        display: none;
    }

    .dex_ruler div .dex_ruler_dropdown {
        display: block;
    }
}

@media (max-width:991px){
    .dex_ruler div span.r_names {
        display: none;
    }
}

@media (max-width:768px){
    .dex_ruler div span.arrows {
        display: none;
    }
}

/* Заголовок (имя покемона, атака и т.п.)*/
.dex_info h1{
    font-size:1.8rem;
    font-weight:normal;
}

/* Типы и различные иконки.*/
.dex_data div.g{
	background-image:url(/pic/dex/dex_pics.png);
	margin:0 auto;
    float:left;
    margin:1px;
}

/* Общий стиль типов. */
.dex_data div.g
{
	width:32px;
	height:16px;
}

/* Стили разных типов.*/
div.g.bug{background-position:52px 16px;}
div.g.curse{background-position:84px 16px;}
div.g.dark{background-position:116px 16px;}
div.g.dragon{background-position:148px 16px;}
div.g.electric{background-position:180px 16px;}
div.g.fighting{background-position:212px 16px;}
div.g.fire{background-position:244px 16px;}
div.g.flying{background-position:276px 16px;}
div.g.ghost{background-position:308px 16px;}
div.g.grass{background-position:340px 16px;}
div.g.ground{background-position:372px 16px;}
div.g.ice{background-position:404px 16px;}
div.g.normal{background-position:436px 16px;}
div.g.poison{background-position:52px 32px;}
div.g.psychic{background-position:84px 32px;}
div.g.rock{background-position:116px 32px;}
div.g.steel{background-position:148px 32px;}
div.g.water{background-position:180px 32px;}
div.g.fairy{background-position:388px 78px;}

/* Стили разных типов.*/
div.xy{
	width:32px !important;
	height:12px !important;
}

div.g.bug_xy{background-position:520px 178px;}
div.g.curse{background-position:84px 16px;}
div.g.dark_xy{background-position:488px 178px;}
div.g.dragon_xy{background-position:456px 178px;}
div.g.electric_xy{background-position:424px 178px;}
div.g.fighting_xy{background-position:360px 178px;}
div.g.fire_xy{background-position:328px 178px;}
div.g.flying_xy{background-position:296px 178px;}
div.g.ghost_xy{background-position:264px 178px;}
div.g.grass_xy{background-position:520px 166px;}
div.g.ground_xy{background-position:488px 166px;}
div.g.ice_xy{background-position:456px 166px;}
div.g.normal_xy{background-position:424px 166px;}
div.g.poison_xy{background-position:392px 166px;}
div.g.psychic_xy{background-position:360px 166px;}
div.g.rock_xy{background-position:328px 166px;}
div.g.steel_xy{background-position:296px 166px;}
div.g.water_xy{background-position:264px 166px;}
div.g.fairy_xy{background-position:392px 178px;}

/* Стили классов. */
div.g.other{background-position:212px 32px;}
div.g.physical{background-position:244px 32px;}
div.g.special{background-position:276px 32px;}

div.g.other_xy{background-position:212px 32px; width:32px !important; height:12px !important;}
div.g.physical_xy{background-position:244px 32px;}
div.g.special_xy{background-position:276px 32px;}

/* Стили конкурсов */
div.g.tough{background-position:436px 32px;}
div.g.smart{background-position:404px 32px;}
div.g.cute{background-position:372px 32px;}
div.g.cool{background-position:340px 32px;}
div.g.beauty{background-position:308px 32px;}

/* Стили звезд. */
div.s.s1{width:14px; height:15px; background-position:440px 62px;}
div.s.s1-1{width:28px; height:15px; background-position:440px 47px;}
div.s.s1-2{width:42px; height:15px; background-position:426px 62px;}
div.s.s1-3{width:28px; height:30px; background-position:342px 62px;}
div.s.s1-4{width:42px; height:30px; background-position:230px 62px;}
div.s.s2{width:28px; height:15px; background-position:412px 47px;}
div.s.s2-1{width:42px; height:15px; background-position:384px 62px;}
div.s.s2-2{width:28px; height:30px; background-position:314px 62px;}
div.s.s2-3{width:42px; height:30px; background-position:188px 62px;}
div.s.s3{width:42px; height:15px; background-position:384px 47px;}
div.s.s3-1{width:28px; height:30px; background-position:286px 62px;}
div.s.s3-2{width:42px; height:30px; background-position:146px 62px;}
div.s.s4{width:28px; height:30px; background-position:258px 62px;}
div.s.s4-1{width:42px; height:30px; background-position:104px 62px;}
div.s.s5{width:42px; height:30px; background-position:62px 62px;}

/* Типы предметов. */
div.item.pokeball{background-position:44px 86px;}
div.item.medicine{background-position:68px 86px;}
div.item.held{background-position:92px 86px;}
div.item.evolution{background-position:116px 86px;}
div.item.tmhm{background-position:140px 86px;}
div.item.event{background-position:164px 86px;}
div.item.battle{background-position:188px 86px;}
div.item.vitamins{background-position:212px 86px;}
div.item.key{background-position:236px 86px;}
div.item.decoration{background-position:260px 86px;}
div.item.fossils{background-position:284px 86px;}
div.item.berry{background-position:308px 86px;}
div.item.mail{background-position:332px 86px;}
div.item.other{background-position:356px 86px;}
div.item.megastone{background-position:412px 86px;}

/* Типы игр. */
div.game_d{width:80px; height:17px; background-position:-260px 137px;}
div.game_p{width:80px; height:17px; background-position:-180px 137px;}
div.game_pt{width:80px; height:17px; background-position:-100px 137px;}
div.game_hg{width:80px; height:17px; background-position:-420px 154px;}
div.game_ss{width:80px; height:17px; background-position:-340px 154px;}
div.game_b{width:80px; height:17px; background-position:-260px 154px;}
div.game_w{width:80px; height:17px; background-position:-180px 154px;}
div.game_b2{width:80px; height:17px; background-position:-100px 154px;}
div.game_w2{width:80px; height:17px; background-position:-20px 154px;}
div.game_x{width:80px; height:17px; background-position:-20px 120px;}
div.game_y{width:80px; height:17px; background-position:-20px 137px;}



/* Галочки и лоадер для формы регистрации. */
div.mark {
	float:left;
	width:16px;
    height:16px;
    margin: 1rem 1rem 0rem 1rem;
}
div.load {background:url(/templates/light_beta/images/loader.gif);}
div.ok, div.fail {background:url(/templates/light_beta/images/status.png);}
div.ok {background-position:0px 0px;}
div.fail {background-position:16px 0px;}
div.reg_error {font-size: 80%; font-weight: 400; margin: .8rem 0rem 1rem 1rem;}

/* Спейсер. */
div.spacer {display: block; clear: both; height: 4px; overflow: hidden;}

/*Контекстные подписи*/
span.warn{color:#FF0000;}
span.bbutton{background-color:#6CABF4; padding:1px 10px; border-radius:8px;}
span.bbutton a{color:#fff; font-weight:bold; text-decoration:none;}
span.bbutton a:hover{text-decoration:underline;}

/* ==================================================================================
Игра сайта
================================================================================== */
/*Игровое меню.*/
a.blue{background-color: #6CABF4; border-color: #6CABF4;}
a.blue:hover, .game_menu li a.blue:focus{background-color: #0062cc; border-color: #0062cc;}
a.disabled{background-color: #7FB6F5 !important; border-color: #7FB6F5 !important; color:#fff !important;}

/*Инвентарь.*/
.inventory{border-radius: 1rem;}
.inventory div{float:left; padding: 0rem 0.3rem 0.3rem 0rem;}
.inventory span{display:block; float:right; font-size: .6rem; margin: .6rem 0rem 0rem -.05rem;}

/*Игровые карточки.*/
.game_cards .closed{background:#222CC6 url('images/card_187x133.png') center no-repeat; border-color: #222CC6; width:100%; height:130px;}
.game_cards .opened{border:.2rem solid #222CC6; width:100%; height:130px; color:#999; text-align: center;}
.game_cards .card_pokemon img{max-height: 5.5rem; margin-top:-.3rem;}
.game_cards .unactive{border:.2rem solid #bcd5fb; width:100%; color:#999;}
.game_cards .loading{opacity:0.5;}
.game_cards .loading img{margin-top:1.8rem;}
.male{color:#0062cc;}
.female{color:#cc3333;}
.shiny{background-color: #fff8e1;}
.shadow{background-color: #f8f0ff;}

/*Корректировка высоты карточек и отступов*/
@media (min-width: 1501px){
    .game_cards .unactive{padding-top:3rem !important;}

    .game_cards .opened .unics{font-size:2.5rem; margin-top: 1rem;}
    .game_cards .opened .unics_desc{font-size:1rem; margin:-1rem 0rem 0rem 0rem;}

    .game_cards .opened .mini{margin-top: 0rem;}
    .game_cards .opened .sprite{max-height: 96px;}
    .game_cards .opened .pokemon_desc{display: block; font-size:1rem; line-height: .8rem; margin-top: 1.3rem;}
    .game_cards .opened .male{display: inline; margin:0rem;}
    .game_cards .opened .female{display: inline; margin:0rem;}
    
    .game_cards .opened .mini_item{margin-top:.5rem;}
    .game_cards .opened .big_item{max-height: 96px; margin-bottom:-1rem; margin-top: 0.3rem;}
    .game_cards .opened .item_desc{display:block; font-size:1rem; line-height: .8rem; margin-top: 1.6rem;}
}

@media (min-width: 1301px) and (max-width: 1500px){
    .game_cards .closed{height:100px;}
    .game_cards .opened{height:100px;}
    .game_cards .unactive{padding-top:2rem !important;}

    .game_cards .opened .unics{font-size:2.5rem; margin-top: .4rem;}
    .game_cards .opened .unics_desc{font-size:1rem; margin:-1rem;}

    .game_cards .opened .mini{margin-top: 0rem;}
    .game_cards .opened .sprite{max-height: 75px;}
    .game_cards .opened .pokemon_desc{display: block; font-size:.8rem; line-height: .8rem; margin-top: 1rem;}
    .game_cards .opened .male{display: inline; margin:0rem;}
    .game_cards .opened .female{display: inline; margin:0rem;}
    
    .game_cards .opened .mini_item{margin-top:.5rem;}
    .game_cards .opened .big_item{max-height: 75px; margin-bottom:-1rem;}
    .game_cards .opened .item_desc{display:block; font-size:.8rem; line-height: .8rem; margin-top: 1.5rem;}
}

@media (min-width: 1100px) and (max-width: 1300px){
    .game_cards .closed{height:90px; background:#222CC6 url('images/card_112x80.png') center no-repeat;}
    .game_cards .opened{height:90px;}
    .game_cards .opened .unics{font-size:1.5rem; margin-top: .8rem;}
    .game_cards .opened .unics_desc{font-size:1rem; margin:-1rem;}

    .game_cards .opened .mini{margin-top: 0rem;}
    .game_cards .opened .sprite{max-height: 65px;}
    .game_cards .opened .pokemon_desc{display: block; font-size:.8rem; line-height: .8rem; margin-top: 1rem;}
    .game_cards .opened .male{display: inline; margin:0rem;}
    .game_cards .opened .female{display: inline; margin:0rem;}
    
    .game_cards .opened .mini_item{margin-top:.5rem;}
    .game_cards .opened .big_item{max-height: 65px; margin-bottom:-1rem;}
    .game_cards .opened .item_desc{display:block; font-size:.8rem; line-height: .8rem; margin-top: 1.5rem;}

    .game_cards .loading img{margin-top:1.5rem;}
}

@media (min-width: 851px) and (max-width: 1100px){
    .game_cards .closed{height:80px; background:#222CC6 url('images/card_112x80.png') center no-repeat;}
    .game_cards .opened{height:80px;}
    .game_cards .opened .unics{font-size:1.5rem; margin-top: .5rem;}
    .game_cards .opened .unics_desc{font-size:1rem; margin:-1rem;}

    .game_cards .opened .mini{margin-top: 0rem;}
    .game_cards .opened .sprite{max-height: 55px;}
    .game_cards .opened .pokemon_desc{display: block; font-size:.8rem; line-height: .8rem; margin-top: 1.2rem;}
    .game_cards .opened .male{display: inline; margin:0rem;}
    .game_cards .opened .female{display: inline; margin:0rem;}
    
    .game_cards .opened .mini_item{margin-top:.5rem;}
    .game_cards .opened .big_item{max-height: 55px; margin-bottom:-1rem;}
    .game_cards .opened .item_desc{display:block; font-size:.8rem; line-height: .8rem; margin-top: 1.7rem;}

    .game_cards .loading img{margin-top:1.3rem;}
}

@media (min-width: 768px) and (max-width: 850px){
    .game_cards .closed{height:80px; background:#222CC6 url('images/card_112x80.png') center no-repeat;}
    .game_cards .opened{height:80px;}
    .game_cards .opened .unics{font-size:1.5rem; margin-top: .5rem;}
    .game_cards .opened .unics_desc{font-size:1rem; margin:-1rem;}

    .game_cards .opened .mini{margin-top: -.2rem;}
    .game_cards .opened .sprite{display: none; max-height: 55px;}
    .game_cards .opened .pokemon_desc{display: block; font-size:.8rem; line-height: .8rem; margin-top: 1.2rem;}
    .game_cards .opened .male{display: inline; margin:0rem;}
    .game_cards .opened .female{display: inline; margin:0rem;}
    
    .game_cards .opened .mini_item{margin-top:.3rem;}
    .game_cards .opened .big_item{display: none;}
    .game_cards .opened .item_desc{display:block; font-size:.8rem; line-height: .8rem; margin-top: 1.2rem;}

    .game_cards .loading img{margin-top:1.3rem;}
}

@media (min-width: 576px) and (max-width: 767px){
    .game_cards .closed{height:70px; background:#222CC6 url('images/card_112x80.png') center no-repeat;}
    .game_cards .opened{height:70px;}
    .game_cards .unactive{padding-top:1rem !important;}

    .game_cards .opened .unics{font-size:1.5rem; margin-top: .3rem;}
    .game_cards .opened .unics_desc{font-size:1rem; margin:-1rem;}

    .game_cards .opened .mini{margin-top: -.2rem;}
    .game_cards .opened .sprite{display: none;}
    .game_cards .opened .pokemon_desc{display: block; font-size:.8rem; line-height: .8rem; margin-top: .6rem;}
    .game_cards .opened .male{display: inline; margin:0rem;}
    .game_cards .opened .female{display: inline; margin:0rem;}
    
    .game_cards .opened .mini_item{margin-top:.2rem;}
    .game_cards .opened .big_item{display: none;}
    .game_cards .opened .item_desc{display:block; font-size:.8rem; line-height: .8rem; margin-top: .7rem;}

    .game_cards .loading img{margin-top:1rem;}
}

@media (min-width: 551px) and (max-width: 575px){
    .game_cards .closed{height:90px; background:#222CC6 url('images/card_112x80.png') center no-repeat;}
    .game_cards .opened{height:90px;}
    .game_cards .unactive{padding-top:2rem !important;}

    .game_cards .opened .unics{font-size:1.5rem; margin-top: 1rem;}
    .game_cards .opened .unics_desc{font-size:1rem; margin:-1rem;}

    .game_cards .opened .mini{margin-top: 1rem;}
    .game_cards .opened .sprite{display: none;}
    .game_cards .opened .pokemon_desc{display: block; font-size:.8rem; line-height: .8rem; margin-top: .6rem;}
    .game_cards .opened .male{display: block; margin:1rem 1.4rem -.6rem 0rem;}
    .game_cards .opened .female{display: block; margin:1rem 1.4rem -.6rem 0rem;}
    
    .game_cards .opened .mini_item{margin-top:1.5rem;}
    .game_cards .opened .big_item{display: none;}
    .game_cards .opened .item_desc{display:block; font-size:.8rem; line-height: .8rem; margin-top: 1rem;}

    .game_cards .loading img{margin-top:1.5rem;}
}

@media (min-width: 502px) and (max-width: 550px){
    .game_cards .opened .mini{margin: 0rem 0rem -.3rem 0rem;}
}

@media (min-width: 451px) and (max-width: 501px){
    .game_cards .opened .mini{margin: 0rem 0rem -.3rem 0rem;}
    .game_cards .opened .male{display: block; margin:1.2rem 1rem -.8rem 0rem;}
    .game_cards .opened .female{display: block; margin:1.2rem 1rem -.8rem 0rem;}
}

@media (min-width: 451px) and (max-width: 551px){
    .game_cards .closed{height:80px; background:#222CC6 url('images/card_112x80.png') center no-repeat;}
    .game_cards .opened{height:80px;}
    .game_cards .unactive{padding-top:1.5rem !important;}

    .game_cards .opened .unics{font-size:1.5rem; margin-top: .7rem;}
    .game_cards .opened .unics_desc{font-size:.8rem; margin:-1rem;}

    .game_cards .opened .mini{margin-top: .6rem; margin-bottom: -.5rem;}
    .game_cards .opened .sprite{display: none;}
    .game_cards .opened .pokemon_desc{display: block; font-size:.8rem; line-height: .8rem; margin-top: 0rem;}
    .game_cards .opened .male{display: block; margin:1.2rem .5rem -.8rem 0rem;}
    .game_cards .opened .female{display: block; margin:1.2rem .5rem -.8rem 0rem;}
    
    .game_cards .opened .mini_item{margin-top:1.1rem;}
    .game_cards .opened .big_item{display: none;}
    .game_cards .opened .item_desc{display:block; font-size:.8rem; line-height: .8rem; margin-top: .7rem;}

    .game_cards .loading img{margin-top:1.3rem;}
}

@media (min-width: 401px) and (max-width: 450px){
    .game_cards .closed{height:70px; background:#222CC6 url('images/card_112x80.png') center no-repeat;}
    .game_cards .opened{height:70px;}

    .game_cards .opened .unics{font-size:1.5rem; margin-top: .5rem;}
    .game_cards .opened .unics_desc{font-size:.6rem; margin:-1rem;}

    .game_cards .opened .mini{margin-top: .1rem;}
    .game_cards .opened .sprite{display: none;}
    .game_cards .opened .pokemon_desc{display: block; font-size:.8rem; line-height: .8rem; margin-top: 0rem;}
    .game_cards .opened .male{display: block; margin:.6rem .5rem -.3rem 0rem;}
    .game_cards .opened .female{display: block; margin:.6rem .5rem -.3rem 0rem;}
    
    .game_cards .opened .mini_item{margin-top:.6rem;}
    .game_cards .opened .big_item{display: none;}
    .game_cards .opened .item_desc{display:block; font-size:.8rem; line-height: .8rem; margin-top: .6rem;}

    .game_cards .loading img{margin-top:.9rem;}
}

@media (min-width: 351px) and (max-width: 400px){
    .game_cards .closed{height:60px; background:#222CC6 url('images/card_84x60.png') center no-repeat;}
    .game_cards .opened{height:60px;}

    .game_cards .opened .unics{margin-top: .6rem;}
    .game_cards .opened .unics_desc{font-size:.6rem; margin:-1rem;}

    .game_cards .opened .mini{margin: .4rem -.2rem 0rem 0rem;}
    .game_cards .opened .sprite{display: none;}
    .game_cards .opened .pokemon_desc{display: none;}
    .game_cards .opened .male{display: block; margin:.3rem .5rem 0rem 0rem;}
    .game_cards .opened .female{display: block; margin:.3rem .5rem 0rem 0rem;}

    .game_cards .opened .mini_item{margin:.8rem 0rem 0rem 0rem; max-height:100%;}
    .game_cards .opened .big_item{display: none;}
    .game_cards .opened .item_desc{display: none;}

    .game_cards .loading img{margin-top:.6rem;}
}

@media (min-width: 301px) and (max-width: 350px){
    .game_cards .closed{height:50px; background:#222CC6 url('images/card_84x60.png') center no-repeat;}
    .game_cards .opened{height:50px; padding-left: 1rem;}
    .game_cards .unactive{padding-top:.5rem !important;}

    .game_cards .opened .unics{margin-top: .3rem;}
    .game_cards .opened .unics_desc{font-size:.6rem; margin:-1rem;}

    .game_cards .opened .mini{margin: .1rem -.2rem 0rem 0rem;}
    .game_cards .opened .sprite{display: none;}
    .game_cards .opened .pokemon_desc{display: none;}
    .game_cards .opened .male{display: block; margin:0rem .2rem 0rem 0rem;}
    .game_cards .opened .female{display: block; margin:0rem .2rem 0rem 0rem;}

    .game_cards .opened .mini_item{margin:.6rem 0rem 0rem 0rem; max-height:100%;}
    .game_cards .opened .big_item{display: none;}
    .game_cards .opened .item_desc{display: none;}

    .game_cards .loading img{margin-top:.3rem;}
}

@media (min-width: 1px) and (max-width: 300px){
    .game_cards .closed{height:40px; background:#222CC6 url('images/card_84x60.png') center no-repeat;}
    .game_cards .opened{height:40px;}
    .game_cards .unactive{padding-top:.3rem !important;}

    .game_cards .opened .unics{margin-top: 0rem;}
    .game_cards .opened .unics_desc{font-size:.6rem; margin:-1rem;}
    
    .game_cards .opened .mini{margin: -.2rem -.2rem 0rem 0rem;}
    .game_cards .opened .sprite{display: none;}
    .game_cards .opened .pokemon_desc{display: none;}
    .game_cards .opened .male{display: block; margin:-.2rem .1rem 0rem 0rem;}
    .game_cards .opened .female{display: block; margin:-.2rem .1rem 0rem 0rem;}

    .game_cards .opened .mini_item{margin:.3rem 0rem 0rem 0rem; max-height:30px;}
    .game_cards .opened .big_item{display: none;}
    .game_cards .opened .item_desc{display: none;}

    .game_cards .loading img{max-height:1.5rem; margin-top:.1rem;}
}

/* Игровой магазин. */
.shop_item .price{font-size: .6rem; line-height: 1rem;}
.shop_item .header{background-color: #efedfc; height:40px; border-radius: 1rem 1rem 0rem 0rem;}
.shop_item .desc{font-size:.7rem; height:6.3rem; overflow:scroll;}
.shop_item .footer{background-color: #efedfc;}
.shop_item .price{font-size: .6rem; line-height: 1rem;}

/* Типы предметов. */
.misc{background:url('/pic/game_upd/items/common/gamecard.png') no-repeat; width:24px; height:24px;}
.food{background:url('/pic/game_upd/items/berry/apple.png') no-repeat; width:24px; height:24px;}
.pokeballs{background:url('/pic/game_upd/items/pokeballs/pokeball.png') no-repeat; width:24px; height:24px;}
.gems{background:url('/pic/game_upd/items/evo/water_gem.png') no-repeat; width:24px; height:24px;}
.evo{background:url('/pic/game_upd/items/evo/evolution.png') no-repeat; width:24px; height:24px;}

/*Корзина магазина*/
.game_cart_amount {width:3rem; text-align:center; border-radius:0rem; border-left:0rem; border-right:0rem;}

/* ==================================================================================
Каркас сайта
================================================================================== */
/* Блок с контентом всей страницы. */
div#center {padding-top:297px; max-width:1300px; height:100%; margin:auto;}
/* Таблица с контентом. */
div#center table#frame {
	width:96%;
	background:#fff;
	border-radius:25px;
	border:2px solid #6699CC;
	border-collapse:separate;
	padding:4px;
	background:#90b5f2 url('images/bg_texture.png') repeat;
}
table#frame > td {padding:2px; margin:0px;}
/* Ссылка на главную страницу. */
table#frame td#mainlink {padding:0px;}
table#frame td#mainlink a {
	display:block;
	position:relative;
	width:100%;
	height:200px;
	margin-top:-210px;
}
/* Картинка слева над меню. */
table#frame td#leftpic {
	text-align:center;
	vertical-align:top;
	overflow:visible;
	width:200px;
	height:100px;
}
td#leftpic img {margin-top:-50px; margin-left:-5px;}
/* Блок коротких уведомлений. */
td#whatsnew{vertical-align:top;}
div#newslist {
	height:70px;
	vertical-align:top;
	overflow-y:scroll;
	padding: 5px 10px 8px 3px;
	font-size:11px;
	background-color:#BCD5FB;
}
div#newslist div.message {
	color:#000;
	padding:1px;
}
div#newslist div.date {
	text-align:center;
}
div#newslist table td{vertical-align:top;}
/* Внутренний блок с содержимым конкретной страницы. */
table#frame td#inner {vertical-align:top;}
/* Юзербар. */
/*table#userbar {width:270px; text-align:center;}*/
/* Стили полей ввода. */
/*table#userbar input[type=text], table#userbar input[type=password] {color:#81878e;}*/

/* ==================================================================================
Стили главного меню.
================================================================================== */
/* Таблица меню. */
table#menu {border-collapse:collapse; width:100%;}
/* Заголовок меню. */
table#menu th {
	vertical-align:middle;
	background:#034dd4;
	border:2px solid #1071dc;
	color:#6dc6ff;
	font-weight:bold;
	padding-left:8px;
}
/* Шрифт заголовка меню. */
table#menu h1 {text-align:left; font-size:17px; margin:0px;}
/* Блок меню. */
table#menu td {
	text-align:left;
	padding:10px 5px 0px 5px;
	background:#bcd6fb;
	border:2px solid #1071dc;
	line-height:1px;
}
/* Строка меню. */
table#menu p {height:16px;}
/* Ссылка пункта меню. */
table#menu td a{color:#000c1a;}
table#menu td a:hover {color:#d90000;}

/* ==================================================================================
Стили списка онлайн.
================================================================================== */
/* Таблица онлайн-списка. */
table#online {border-collapse:collapse; width:100%;}
/* Заголовок списка. */
table#online th {
	text-align:center;
	vertical-align:middle;
	height:21px;
	background-color:#034dd4;
	border:2px solid #1071dc;
	color:#6dc6ff;
	font-size:17px;
	font-weight:bold;
}
/* Внутренний блок списка. */
table#online td  {
	background-color:#bcd5fb;
	border:2px solid #1071dc;
	text-align:left;
	padding:6px;
}

/* ==================================================================================
Футер страницы.
================================================================================== */
div#footer {
	position:relative;
	z-index:-1;
 	width:100%;
	height:186px;
	font-size:11px;
	color:#000;
	text-shadow:1px 0px 1px #fff;
	margin-top:-80px;
	padding-top:80px;
	text-align:center;
	background: url('images/footer.png') center bottom no-repeat;
}

/* ==================================================================================
Стили модераторских кнопок.
================================================================================== */
/* Стиль блока. */
/*div.mini_moder{text-align:right; float:right;}
 Стиль кнопок. 
div.mini_moder a
{
	display:block;
	float:left;
	width:21px;
	height:13px;
	background-image:url(images/icons_light.png);
	border:1px solid #ffffff;
}
/* Редактирование.
div.mini_moder a.edit{background-position:105px 13px;}
/* Выдача предупреждения. 
div.mini_moder a.warn{background-position:84px 13px;}
/* Удаление. 
div.mini_moder a.delete{background-position:63px 13px;}
/* Просмотр IP. 
div.mini_moder a.ip{background-position:42px 13px;}
/* Управление правами. 
div.mini_moder a.rights{background-position:21px 13px;}
/*Аппрув
div.mini_moder a.approve{background-position:126px 13px;}
*/

/* ==================================================================================
Стили комментариев.
================================================================================== */
/* Таблица комментария. */
table.comment {background-color:#c6edff; padding:4px;}
/* Общие стили ячеек. */
table.comment td {
	border:0px solid;
	border-collapse:collapse;
	padding:1px;
	text-align:center;
	vertical-align:top;
}
table.comment tr:first-child td {vertical-align:bottom;}
/* Стиль ника. */
table.comment td.nick {text-align:left;}
table.comment td.nick a, table.comment td.header a {color:#000c1a;}
table.comment td.nick a:hover, table.comment td.header a:hover {color:#d90000;}
/* Стиль даты и времени комментария. */
table.comment td.date {
	font-size:11px;
	color:#3e4c5d;
	padding:0px 15px;
	width:1px;
	white-space:nowrap;
}
/* Стиль заголовка комментария. */
table.comment td.header {padding:0px;}
/* Стиль аватара. */
table.comment td.avatar {width:100px; min-width:100px; height:100px;}
/* Контейнер с текстом. */
table.comment td.text {padding-left:15px;}
/* Блок текста. */
table.comment td.text > div {
	min-height:110px;
	background-color:#f0f3ff;
	border:1px solid #a6aec4;
	border-radius:5px;
	padding:5px;
	text-align:left;
}
/* Галочка блока текста. */
table.comment td.text > img{display:block; float:left; margin-left:-9px; margin-top:30px;}
/* Стиль группы пользователя. */
table.comment td.group {font-size:11px; color:#3e4c5d;}
/* Стиль темного комментария. */
table.comment.dark {background-color:#dfdcff;}
table.comment div.all a{background-color:#7FB6F5; border-radius:8px; padding:1px 8px; color:#fff; font-weight:bold; text-decoration:none;}
table.comment div.all a:hover{background-color:#719CE2;}
/* ==================================================================================
Стили рулера.
================================================================================== */
/* Таблица рулера. */
table.ruler {border-collapse: separate; width:auto;}
/* Каждая номер страницы. */
table.ruler td {
	width:17px;
	padding:3px;
	border-radius:2px;
	text-align:center;
	background-color:#6CABF4;
	color:#ffffff;
	white-space:nowrap;
}
/* Стиль ссылок рулера. */
table.ruler a {color:#fff; font-weight:bold; text-decoration:none; display:block;}
/* Стиль выбранной ячейки. */
table.ruler td.selected {background-color:#BCD5FB; font-weight:bold;}
table.ruler td:hover {background-color:#BCD5FB;}

/* ==================================================================================
Стили личной почты.
================================================================================== */
/* Общий контейнер страницы. */
div#messages {
	background-color:#bcd5fb;
	padding:5px;
}
/* Контейнер списка сообщений. */
div#messages > div.msg_frame {
	background-color:#ffffff;
	padding:5px;
}
/* Заголовок списка сообщений. */
p#header {
	font-size:14px;
	font-weight:bold;
	padding:10px 0px 10px 5px;}
/* Заголовки списков. */
table#list th {text-align:left; width:50%; padding-left:5px;}
/* Стили списков. */
table#list div#in, table#list div#out {
	height:400px;
	overflow-y:scroll;
	vertical-align:top;
	border:2px solid #ced4e9;
}
/* Стиль отдельного сообщения в списке. */
table#list table.message {
	border:1px solid #a7adc3;
	width:99%;
}
table#list table.message td {
	padding:3px;
	vertical-align:middle;
}
table#list table.message a {color:#000c1a;}
table#list table.message a:hover {color:#d90000;}

table#list table.message td.mark {width:1px;}
table#list table.message td.panel {width:1px; text-align:right;}
table#list table.message td.panel input{margin-right:4px;}
table#list table.message p.date {font-size:11px; color:#7b8ea5;}
/* Цвета сообщений в списках. */
table#list div#in table{background-color:#ddf3fe;}
table#list div#in table.dark{background-color:#c6edff;}
table#list div#out table{background-color:#e2e9fc;}
table#list div#out table.dark{background-color:#dfdcff;}
/* Стиль сообщения. */
table.message td {vertical-align:top;}
/* Правое меню. */
table.message td#actions {
	width:1px;
	white-space:nowrap;
	padding-right:20px;
}
table.message td#actions .mini_moder {margin-right:-20px;}
/* Отправитель. */
table.message p#sender, table.message p#date {padding-left:5px; margin-bottom:2px;}
table.message p#sender {font-size:16px; font-weight:bold;}
/* Дата. */
table.message p#date {color:#7b8ea5;}
table.message p#date b {color:#000000;}
/* Тема сообщения. */
table.message p#subj {padding-bottom:5px;}
/* Тело сообщения. */
table.message td#body {
	height:50px;
	background-color:#f0f3ff;
	border:1px solid #a6aec4;
	border-radius:5px;
	padding:5px;
	text-align:left;
}
/* Форма отправки сообщений. */
div.msg_form {
	background-color:#d2e6fe;
	padding:0px 5px 5px 5px;
}
/* Картинка в форме. */
div#head {
	padding-top:10px;
	background:url('/templates/light/images/sendpic.png') 75% bottom no-repeat;
}
/* Заголовок в форме. */
div.msg_form td.header {
	padding-left:2px;
	width:30px;
	font-weight:bold;
}
/* Поле ввода. */
div.msg_form textarea {
	width:100%;
	height:100px;
	border:1px solid #7f9db9;
	border-radius:5px;
}

/* ==================================================================================
Стили гостевой книги.
================================================================================== */
/* Общий контейнер. */
div#gb {
	background-color:#bcd5fb;
	padding:5px;
}
/* Таблица формы ввода. */
table#guest {
	background-color:#ffffff;
	padding:5px;
}
table#guest td {vertical-align:top;}
/* Заголовок. */
table#guest h3 {text-align:left;}
/* Строка предупреждения. */
table#guest p.warn {color:#ff0000;}
/* Заголовки в форме. */
table#guest table#form td.header {
	width:70px;
	padding-top:5px;
	text-align:right;
	font-weight:bold;
}
/* Уточнения в форме. */
table#guest table#form td.header span {
	font-size:10px;
	font-style:italic;
	font-weight:normal;
}
/* Поля ввода. */
table#guest table#form input[type=text] {border:1px solid #ad9e9c;}
table#guest table#form textarea {
	border:1px solid #ad9e9c;
	width:100%;
	height:100px;
	padding:0px;
	margin:0px;
}
table#guest table#form input[type=text] {width:60%;}
/* Строка о правилах. */
table#guest p#rules {text-align:center;}
/* Кнопка добавления. */
table#guest p#buttons {text-align:right;}
/* Стиль записи. */
table.post {background-color:#c6edff; padding:4px;}
table.post td {
	border:0px solid;
	border-collapse:collapse;
	padding:1px;
}
/* Цвета ссылок. */
table.post td.header, table.post a, table.post td.moder a{color:#000c1a;}
table.post a:hover, table.post td.moder a:hover{color:#d90000;}
/* Заголовок. */
table.post td.header {padding-left:6px;}
table.post td.header span, table.post td.moder a{font-size:11px; color:#3e4c5d;}
/* Модерка. */
table.post td.moder {text-align:right;}
table.post td.moder div.mini_moder {float:right;}
/* Поле с текстом. */
table.post td.text {
	background-color:#f0f3ff;
	border:1px solid #a6aec4;
	border-radius:5px;
	padding:5px;
	text-align:left;
	vertical-align:top;
}
/* Темный стиль. */
table.post.dark {background-color:#dfdcff;}

/* ==================================================================================
Стили профиля.
================================================================================== */
/* Таблица профиля. */
table#profile {
	background-color:#ffffff;
	padding:5px;
}
table#profile td {padding:2px;}
/* Заголовок с именем пользователя. */
table#profile td#header {font-size:14px; font-weight:bold; padding:0px;}
/* Форма поиска пользователя. */
table#profile td#find {
	width:1px;
	text-align:right;
	vertical-align:middle;
	white-space:nowrap;
	padding:0px;
}
/* Основняе данные профиля. */
table#profile tr#data {vertical-align:top;}
/* Аватар в профиле. */
table#profile td#avatar {
	padding:3px;
	width:120px;
	text-align:center;
}
/* Основные данные пользователя. */
table#profile td#desc {min-width:250px;}
/* Дата регистрации. */
table#profile td#desc span {font-size:11px; color:#3e4c5d;}
/* Контактные данные пользователя. */
table#profile td#contacts img {vertical-align:middle; margin-top:-3px;}
/* Кнопки управления. */
table#profile td#buttons {
	min-width:200px;
	text-align:right;
	vertical-align:bottom;
	padding:0px;
	white-space:nowrap;
}
table#profile td#buttons img {margin-top:-23px;}
/* Комментарий пользователя. */
table#profile td#text {
	min-height:110px;
	background-color:#f0f3ff;
	border:1px solid #a6aec4;
	border-radius:5px;
	padding:5px;
	text-align:left;
}
/* Уголок к комментарию. */
table#profile td#corner {
	padding:0px;
	vertical-align:bottom;
}
table#profile td#corner img {
	display:block;
	position:relative;
	left:60%;
	margin-bottom:-3px;
}


/* Старые стили. */
/*=======================Общие стили сайта=========================*/
/* blue link */
/*a {color:#1E95BD;}
a:hover {color:#d90000;}
/* black link 
a.black{color:#000c1a;}
a.black:hover {color:#d90000;}*/

.pcenter{text-align:center;}
.pleft{text-align:left;}
.pright{text-align:right;}

/* Images aligning */
img.left{float:left; clear:left; padding-right:10px;}
img.center{display:block; margin:0px auto; clear:both;}
img.right{float:right; clear:right; padding-left:10px;}

/*box styles*/
table.dark_box {
	background: url('images/bg_texture.png') repeat;
	background-color:#90b5f2;
	border-radius:15px;
	border:3px solid #719ce2;
	margin-top:150px;
	width:970px;
}
table.dark_box td {vertical-align:top;}
table.dark_box td p{margin:4px;}
.mid_box {
	background-color:#bcd5fb;
	padding:5px;
	border:1px solid #7ea0d7;
	margin-top:-1px;
}
.light_box {
	background-color:#ffffff;
	padding:1px 10px 15px 10px;
	text-align:left;
}

/*Дизайн блока с ошибкой*/
div.error {height:90px; background: url('images/error.png') no-repeat #ffe3bb; border:1px solid #c02425; border-radius:5px; color:#700101; padding-left:115px; padding-top:20px;}

div.cerror {height:90px; background: url('images/warning.png') no-repeat #ffe3bb; border:1px solid #c02425; border-radius:5px; color:#700101; padding-left:115px; padding-top:20px;}

/*=======================Спойлер=========================*/
/* header */
.sp_head {
	background-color:#bcd5fb;
	border:1px solid #7ea0d7;
	padding:2px 4px;
	cursor:pointer;
}
/* Стиль внутренней части. */
.sp_body {
	border:1px solid #7ea0d7;
	border-top:0px solid;
	padding:5px;
}

/*=======================Стили всплывающих окон=========================*/
/* Стиль для скрытия всплывающего окошка. */
.hidden {
	display: none;
}
/* Общий стиль всплывающего окошка. */
div.window
{
	background-color:#ffe3bb;
	font-family:Arial, Helvetica, sans-serif;
	padding:4px;
	border-radius:5px;
	border:1px solid #c02425;
}
/* Кнопка закрытия всплывающего окошка. */
div.window a.close
{
	display:block;
	width:21px;
	height:13px;
	margin-right:5px;
	background-image:url(/pic/style/icons_light.png);
	background-position:63px 13px;
}
/* Стиль формы. */
div.window form{padding:5px 10px; font-size:11px;}
div.window form table,
div.window form table input[type=text]
{width:100%}

/* Таблица внутри формы без границ. */
div.window form table, div.window form table td{border:0px solid;}
/* Цвет текста и отступы. */
div.window form table td{padding:2px; color:#6e0202;}
/* Стиль всплывающего окошка. */
#popup{
	background-color: #FFFFFF;
	position: fixed;
	left:50%;
	top:50%;
	min-width: 500px;
	z-index: 11;
	border-radius:5px;
}
/* Стили окошек для ссылок и картинок. */
#popup_url, #popup_img{width:500px; height:120px;}
/*=======================Таблица смайлов=========================*/
table#smiles td
{
	border:0px solid;
	width:60px;
	height:60px;
	text-align:center;
	vertical-align:middle;
}
/* Указатель на то, что можно нажать. */
table#smiles td img{cursor:pointer;}
/*Стиль всплывающих окон*/
table.bblock {width:100%;}
table.bblock td, table.bblock th {vertical-align:middle; padding:4px 4px 4px 4px;}
table.bblock th{font-size:14px;}
div.comment_form {background-color:#d2e6fe; padding:3px;}
 
/*=======================Стили бб-кнопок=========================*/
button.bb {font-size:11px; height:25px; min-width:29px; vertical-align:bottom;}
button.url {color:#2488b9; font-weight:bold;}
/*=======================Стили пользовательских страниц=========================*/
table.userpage{width:98%; background-color:#e2e8fc; padding:5px;}
div.userpage{width:98%; background-color:#e2e8fc; padding:5px; text-align:center;}
/*Профиль*/

/*======================================================================
===Дальнейшие стили требуется частично удалить, частично - исправить===
======================================================================*/

/*Стили чата.*/
/* Стиль выравнивания блоков в таблице чата. */
table#chat tr, table#chat td{background-color:#ddf3fe; vertical-align:top; color:#000;}
table#chat td.chat_cont{border:2px solid #7FB6F5; border-radius:5px 0 0 5px; padding:5px 5px 5px 0px; vertical-align:top; color:#000;}
table#chat td.chat_now_header{width:200px; padding:0 7px 5px 7px; height:25px; vertical-align:bottom; font-style:italic; border-radius:0 5px 0 0; background-color:#7FB6F5; color:#EAF9FF;}
table#chat td.chat_now{border-radius:0 0 5px 0; background-color:#e2e8fc; border:2px solid #7FB6F5; border-width:0px 2px 2px 0px;}
table.chat_messages td{border:1px solid #BCD5FB;}
/* Стиль ссылок в сообщениях. */
table#chat a{color:#2488b9; text-decoration:underline;}
table#chat a:hover{color:#d90000; text-decoration:underline;}
/* Стили таблицы постов. */
table#chat table, table#chat table td{
	background-attachment:fixed;
	border:0px solid;
	padding:2px;
}
/* Ячейка с аватаркой. */
table#chat .av{width:30px; height:35px; vertical-align:top;}
/* Блок фиксации аватарки. */
table#chat .av:hover span{
	display:block;
	position:relative;
}
/* Аватарка. */
table#chat .av img{width:30px;}
table#chat .av:hover img{
	display:block;
	background-color:#fff;
	border:1px solid #7FB6F5;
	position:absolute;
	width:auto;
}

/* Стили блоков чата. */
table#chat div{
	background-attachment:fixed;
	vertical-align:top;
	padding:5px 0px 5px 5px;
	overflow-y:auto;
}
/* Заголовок спойлера в чате. */
table#chat div .sp_head{padding:2px 4px;}
/* Тело спойлера в чате. */
table#chat div .sp_body{display:none;}
/* Стиль списка онлайн. */
table#chat div#userslist{width:150px; height:340px;}
/* Стиль списка сообщений. */
table#chat div#msglist{height:365px; color:#000000;}
/* Стиль времени. */
table#chat div#msglist span{font-size:10px;}
/* Стиль системных сообщений. */
table#chat div#msglist td{padding:5px;}
table#chat div#msglist td.av{vertical-align:top;}
table#chat div#msglist td.text{background-color:#fff; border-radius:5px; border:1px solid #bce0f2;}
table#chat div#msglist td.text div.mess{padding:5px 5px 7px 0px;}
table#chat div#msglist td.system{font-style:italic; color:#3d4d5c; background-color:#F5FCFF; padding:3px; border-radius:3px; border:1px solid #cfe8f5;}
/* Стили ников в чате. */
table#chat div#userslist a.chatlinks, table#chat div#msglist a.chatlinks{
	font-weight:bold;
	font-style:italic;
	text-decoration:none;
}
/* Стиль кнопки модерирования. */
div#msglist td.chat_moder{width:1px; cursor:default; vertical-align:bottom;}
/* Стиль панельки модерирования. */
tr.chat_moder {display:none;}
tr.chat_moder td{padding:0px;}
tr.chat_moder td div.mini_moder {margin-top:-15px;}
/* ======================================================================== */
/* Таблица добавления и редактирования статей.                           	*/
/* ======================================================================== */
table#article {width:100%}
table#article td.desc{width:20%;}
table.form div#author input, table.form div#author select{width:40%;}
table.form textarea#prtext{height:100px;}
table.form textarea#text{height:300px;}
table.form textarea#tags{width:70%; height:60px;}
table.form select#taglist{width:28%; vertical-align:top; margin-top:0px;}
table.form table.image
{
	width:100%;
}
table.form td.image
{
	text-align:right;
	vertical-align:top;
	padding-right:5px;
	padding-top:5px;
}

table.tabs{width:100%; text-align:center; background-color:#6CABF4; border-spacing:2px 0;}
table.tabs td
{
	border:2px solid #4677AC;
	-moz-border-radius:11px 11px 0 0;
	-webkit-border-radius:11px 11px 0 0;
	border-radius:11px 11px 0 0;
	font-size:14px;
	color:#000;
	font-weight:bold;
	font-style:italic;
	overflow:hidden;
	text-align:center;
	vertical-align:bottom;
	padding-bottom:5px;
}
table.tabs a, table.tabs div
{
	display:block;
	position:relative;
	width:100%;
	height:40px;
 	-moz-border-bottom-right-radius:11px;
	-webkit-border-bottom-right-radius:11px;
	border-bottom-right-radius:11px;
}
table.tabs span
{
	position:absolute;
	padding-bottom:2px;
    bottom:0%;
    left:0%;
	width:100%;
}
div#greets{font-size:18px; text-align:center;}

/* Таблица рулера. */
table.page_ruler
{
	width:100%;
	text-align:center;
	font-size:14px;
	font-weight:bold;
	padding:10px;
	background-color:#6CABF4;
	height:30px;
	border-radius:15px;
	color:#fff;
}
table.page_ruler a{text-decoration:none; color:#fff;}
table.page_ruler td { vertical-align:middle;}
/* Ячейки со стрелочками в рулере. */
/* Избавиться от класса при первой возможности. */
table.page_ruler td.pruler_b{width:60px; color:#297CF9;}

table.page_ruler td.big{font-size:16px;}
table.page_ruler td.big div{float:left;}
table.page_ruler td.big table td{background-color:#F0F3FF; width:10px;}
/* Выравнивание переключателей страниц по краям рулера. */
table.page_ruler td.l, table.page_ruler td.r
{width:1px; white-space:nowrap;}
table.page_ruler td.l{text-align:left; padding-left:5px;}
table.page_ruler td.r{text-align:right; padding-right:5px;}

/* ======================================================================== */
/* Декс.																	*/
/* ======================================================================== */

/* ======================================================================== */
/* Главная страница декса.                                                  */
/* ======================================================================== */

table.gen1, table.gen2, table.gen3, table.gen4, table.gen5
{background:bottom right no-repeat;}
/*table.gen1{background-image:url('images/dex/gen1.png');}
table.gen2{background-image:url('images/dex/gen2.png');}
table.gen3{background-image:url('images/dex/gen3.png');}
table.gen4{background-image:url('images/dex/gen4.png');}
table.gen5{background-image:url('images/dex/gen5.png');}*/

/* Выравнивание заголовков методов сортировки. */
table#sortdex td.desc,
/* Выравнивание кнопок. */
table#sortdex td.buttons
{
	text-align:right;
}

/* Границы декса в графическом режиме. */
table#gdex td
{
	border:1px solid #7889CA;
	text-align:center;
	vertical-align:middle;
	padding:2px;
}

/* Ячейки-отступы справа и слева. */
table#gdex td.noborder
{
	border:0px;
}

/* ======================================================================== */
/* Основной декс.                                                           */
/* ======================================================================== */

/* Таблицы декса (обновлённые). */
table.dex
{
	border-spacing:collapse;
	text-align:center;
	white-space:nowrap;
}
table.game_ruler
{
	border-spacing:4px;
	background-color:#6CABF4;
}
table.game_ruler td
{
	background-color:#6CABF4;
	border:2px solid #4677AC;
	text-align:center;
	vertical-align:middle;
	border-radius:11px;
	-moz-border-radius:11px;
	-webkit-border-radius:11px;
	padding:2px;
	color:#BCD5FB;
	font-weight:bold;
}
table.game_ruler td a{color:#fff; text-decoration:none;}
table.game_ruler td a:hover{text-decoration:underline;}
table.game_ruler td.select{
	background-color:#ffffff;
	color:#000;
	font-weight:bold;
}
/* Границы таблиц. */
table.dex td
{
	padding:2px 4px;
}
table.dex td table {border-collapse:collapse; border-spacing:0px;}

table.dex .header{color:#000000; background-color:#BCD5FB;}
table.dex td.trans
{
	background-color:#ffffff;
	color:#000000;
	font-size:12px;
	font-style:normal;
}

table.dex tr.bold{font-weight:bold;}

table.dex td table td{border:1px solid #90b5f2; vertical-align:middle;}
table.dex td .noborder td{border:0px solid; vertical-align:middle;}
table.dex td#csprite{width:96px; height:96px; border-right:0px solid; vertical-align:middle;}
td#main_sprite img{vertical-align:middle;}
table.dex td#cinfo{padding:5px; border-left:0px solid; vertical-align:middle;}
table.dex td#cinfo table{border-spacing:0px; border-collapse:collapse;}
table.dex tr.wrap, table.dex td.wrap{white-space:normal; vertical-align:middle;}

/* Заголовок основной таблицы. */
table.dex td#head
{
	font-size:24px;
	text-align:left;
	padding-top:20px;
	color:#000000;
	font-style:italic;
	border:0px solid;
	-moz-border-top-left-radius:7px;
	-webkit-border-top-left-radius:7px;
	border-top-left-radius:7px;
	-moz-border-top-right-radius:7px;
	-webkit-border-top-right-radius:7px;
	border-top-right-radius:7px;
}

div#gens #tab1, div#gens #tab2, div#gens #tab3, div#gens #tab4, div#gens #tab5
{background:right no-repeat;}
div#gens #tab1{background-image:url('images/dex/tab1.png');}
div#gens #tab2{background-image:url('images/dex/tab2.png');}
div#gens #tab3{background-image:url('images/dex/tab3.png');}
div#gens #tab4{background-image:url('images/dex/tab4.png');}
div#gens #tab5{background-image:url('images/dex/tab5.png');}

/* Стили типов и звезд. 
table.dex_data div.g, table.dex_data div.s, div.item, table.games td, table.gens div.g, table.genspokemon div.g, table.pokemons div.g, table.ndex td div.g, table.ndex td div.s, table.dex_main_info td div.g, table.mega_evo td table td div.g
{
	background-image:url(/pic/dex/dex_pics.png);
	margin:0 auto;
}*/

/* Общий стиль типов. 
table.dex_data_list div.g, table.dex_data div.g, table.gens div.g, table.genspokemon div.g, table.pokemons div.g, table.ndex td div.g, table.mega_evo td table td div.g
{
	width:32px;
	height:16px;
}*/

/* Стили разных типов.
div.g.bug{background-position:52px 16px;}
div.g.curse{background-position:84px 16px;}
div.g.dark{background-position:116px 16px;}
div.g.dragon{background-position:148px 16px;}
div.g.electric{background-position:180px 16px;}
div.g.fighting{background-position:212px 16px;}
div.g.fire{background-position:244px 16px;}
div.g.flying{background-position:276px 16px;}
div.g.ghost{background-position:308px 16px;}
div.g.grass{background-position:340px 16px;}
div.g.ground{background-position:372px 16px;}
div.g.ice{background-position:404px 16px;}
div.g.normal{background-position:436px 16px;}
div.g.poison{background-position:52px 32px;}
div.g.psychic{background-position:84px 32px;}
div.g.rock{background-position:116px 32px;}
div.g.steel{background-position:148px 32px;}
div.g.water{background-position:180px 32px;}
div.g.fairy{background-position:388px 78px;}*/

/* Стили разных типов.
div.xy{
	width:32px !important;
	height:12px !important;
}

div.g.bug_xy{background-position:520px 178px;}
div.g.curse{background-position:84px 16px;}
div.g.dark_xy{background-position:488px 178px;}
div.g.dragon_xy{background-position:456px 178px;}
div.g.electric_xy{background-position:424px 178px;}
div.g.fighting_xy{background-position:360px 178px;}
div.g.fire_xy{background-position:328px 178px;}
div.g.flying_xy{background-position:296px 178px;}
div.g.ghost_xy{background-position:264px 178px;}
div.g.grass_xy{background-position:520px 166px;}
div.g.ground_xy{background-position:488px 166px;}
div.g.ice_xy{background-position:456px 166px;}
div.g.normal_xy{background-position:424px 166px;}
div.g.poison_xy{background-position:392px 166px;}
div.g.psychic_xy{background-position:360px 166px;}
div.g.rock_xy{background-position:328px 166px;}
div.g.steel_xy{background-position:296px 166px;}
div.g.water_xy{background-position:264px 166px;}
div.g.fairy_xy{background-position:392px 178px;}*/

/* Стили классов. 
div.g.other{background-position:212px 32px;}
div.g.physical{background-position:244px 32px;}
div.g.special{background-position:276px 32px;}

div.g.other_xy{background-position:212px 32px; width:32px !important; height:12px !important;}
div.g.physical_xy{background-position:244px 32px;}
div.g.special_xy{background-position:276px 32px;}*/

/* Стили конкурсов 
div.g.tough{background-position:436px 32px;}
div.g.smart{background-position:404px 32px;}
div.g.cute{background-position:372px 32px;}
div.g.cool{background-position:340px 32px;}
div.g.beauty{background-position:308px 32px;}*/

/* Стили звезд. 
div.s.s1{width:14px; height:15px; background-position:440px 62px;}
div.s.s1-1{width:28px; height:15px; background-position:440px 47px;}
div.s.s1-2{width:42px; height:15px; background-position:426px 62px;}
div.s.s1-3{width:28px; height:30px; background-position:342px 62px;}
div.s.s1-4{width:42px; height:30px; background-position:230px 62px;}
div.s.s2{width:28px; height:15px; background-position:412px 47px;}
div.s.s2-1{width:42px; height:15px; background-position:384px 62px;}
div.s.s2-2{width:28px; height:30px; background-position:314px 62px;}
div.s.s2-3{width:42px; height:30px; background-position:188px 62px;}
div.s.s3{width:42px; height:15px; background-position:384px 47px;}
div.s.s3-1{width:28px; height:30px; background-position:286px 62px;}
div.s.s3-2{width:42px; height:30px; background-position:146px 62px;}
div.s.s4{width:28px; height:30px; background-position:258px 62px;}
div.s.s4-1{width:42px; height:30px; background-position:104px 62px;}
div.s.s5{width:42px; height:30px; background-position:62px 62px;}*/

/* Типы предметов. 
div.item.pokeball{background-position:44px 86px;}
div.item.medicine{background-position:68px 86px;}
div.item.held{background-position:92px 86px;}
div.item.evolution{background-position:116px 86px;}
div.item.tmhm{background-position:140px 86px;}
div.item.event{background-position:164px 86px;}
div.item.battle{background-position:188px 86px;}
div.item.vitamins{background-position:212px 86px;}
div.item.key{background-position:236px 86px;}
div.item.decoration{background-position:260px 86px;}
div.item.fossils{background-position:284px 86px;}
div.item.berry{background-position:308px 86px;}
div.item.mail{background-position:332px 86px;}
div.item.other{background-position:356px 86px;}
div.item.megastone{background-position:412px 86px;}*/

/* Типы игр. 
div.game_d{width:80px; height:17px; background-position:-260px 137px;}
div.game_p{width:80px; height:17px; background-position:-180px 137px;}
div.game_pt{width:80px; height:17px; background-position:-100px 137px;}
div.game_hg{width:80px; height:17px; background-position:-420px 154px;}
div.game_ss{width:80px; height:17px; background-position:-340px 154px;}
div.game_b{width:80px; height:17px; background-position:-260px 154px;}
div.game_w{width:80px; height:17px; background-position:-180px 154px;}
div.game_b2{width:80px; height:17px; background-position:-100px 154px;}
div.game_w2{width:80px; height:17px; background-position:-20px 154px;}
div.game_x{width:80px; height:17px; background-position:-20px 120px;}
div.game_y{width:80px; height:17px; background-position:-20px 137px;}*/


/* Таблица с иконками игр. */
table.games
{
	width:1px !important;
	border-collapse:separate;
}
/* Стили ячеек таблицы игр. */
table.games tr.game td
{
	width:80px;
	min-width:80px;
	height:17px;
	min-height:17px;
	border:0px solid;
	padding:0px;
	border-spacing:2px;
}

table.dex tr.aheader td{width:45px;}
table.dex tr.aheader td.auto{width:auto;}

/*Таблица эволюций.*/
table.evo, table.evo td{width:auto; text-align:center;}

/*Стрелка с уровнем эволюции.*/
table.evo table.arrow td
{
	width:80px;
	height:80px;
	vertical-align:middle;
	color:#000000;
	font-size:11px;
	background:url(/pic/dex/evo/arrow.png) center top no-repeat;
}
/* Ячейка с иконкой игры. */
img.game_icon{vertical-align:middle; padding-bottom:-3px;}

/* ======================================================================== */
/* Стили атакдекса.                                        	                */
/* ======================================================================== */
/* Отступы в основной таблице атакдекса. */
table.dex.attack td{padding-left:5px; padding-right:5px;}

/* ======================================================================
Стили итемдекса.
====================================================================== */
table.type_items {width:100%;}
/* Стиль кнопок. */
table.type_items td {
	padding:3px;
	padding-top:8px;
	white-space:nowrap;
	border:1px solid #7ea0d7;
	background-color:#bcd5fb;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
}
table.type_items td.select {
	background-color:#ffffff;
}
/* Стиль картинок. */
table.type_items img {
	float:right;
	margin-top:-5px;
}

/* Параметры изображения типа предмета. */
div.item
{
	width:24px;
	height:24px;
	float:right;
	margin-left:2px;
	margin-top:-4px;
	vertical-align:middle;
}

.formbtns {text-align:center;}

/*Эвенты*/
div.eventsort {float:left; padding-left:10px; padding-right:10px;}
div.eventbody {text-align:center; padding-top:15px; padding-bottom:15px;}
table.eventtable {width:600px; border:2px solid #BCD6FB; border-radius:5px; margin: 0 auto;}
table.eventtable td {padding:3px; text-align:left; vertical-align:top;}
table.eventtable td .header{vertical-align:middle;}
table.eventtable td.sprite{padding:7px; text-align:center; width:100px; height:100px;}
table.eventdata  {border:2px solid #fff;}
table.eventdata td {border:1px solid #BCD6FB; padding: 3px 8px 3px 8px;}
table.eventdata td.center {text-align:center;}
table.eventdata td.dark { background-color:#BCD6FB; text-align:center; border:0;}

/*Админка управления покемонами*/
div#ap_cerrors{padding:5px; background-color:#FFE3BB; color:#700101; border-radius:3px;}
div#ap_cmessage{padding:5px; background-color:#F0F3FF; font-weight:bold; border-radius:3px; color:#000;}
table#ap_egg{width:1%;}
table#ap_egg td#header{padding:4px 5px 3px 5px; background-color:#7FB6F5; font-weight:bold; color:#fff; border:2px solid #719CE2; border-radius:3px 3px 0 0;}
table#ap_egg td#header a {text-decoration:none;}
table#ap_egg td#pokemon{width:50%; padding:10px 25px; text-align:center; vertical-align:middle; background-color:#fff; white-space:nowrap; border-left:2px solid #719CE2;}
table#ap_egg td#pokemon img.p{background-color:#BCD6FB; border-radius:3px; margin:10px;}
table#ap_egg td.ot {padding:4px 5px 3px 5px; vertical-align:top; background-color:#7FB6F5; border-left: 2px solid #719CE2; border-right: 2px solid #719CE2; color:#fff; font-weight:bold; white-space:nowrap;}
table#ap_egg td.ot a, table#ap_egg td#ot a:visited{color:#fff; text-decoration:none;}
table#ap_egg td.ot a:hover, table#ap_egg td#ot a:active{color:#fff; text-decoration:underline;}
table#ap_egg td#ot_desc {padding:4px 5px 3px 5px; background-color:#7FB6F5; border-left: 2px solid #719CE2; border-right: 2px solid #719CE2; border-top: 2px solid #719CE2;  color:#fff; font-weight:bold; white-space:nowrap;}
table#ap_egg td#ot_desc_input {padding:0 5px 3px 5px; background-color:#7FB6F5; border-left: 2px solid #719CE2; border-right: 2px solid #719CE2; color:#fff; font-weight:bold; white-space:nowrap;}
table#ap_egg td#lb {background-color:#fff; border-radius: 0 0 0 3px; border-left: 2px solid #719CE2; border-bottom: 2px solid #719CE2;}
table#ap_egg td#rb {background-color:#7FB6F5; border-radius: 0 0 3px 0; border-right: 2px solid #719CE2; border-bottom: 2px solid #719CE2; border-left: 2px solid #719CE2; padding:2px; text-align:center;}
table#ap_log td#header {background-color:#7FB6F5; padding:10px 3px 3px 3px; text-align:center; font-weight:bold; font-size:14px; border-radius: 7px 7px 0 0; color:#fff; border:2px solid #719CE2;}
table#ap_log td#footer {background-color:#7FB6F5; padding:10px 3px 3px 3px; text-align:center; font-weight:bold; border-radius: 0 0 7px 7px; color:#fff; border:1px solid #719CE2;}
table#ap_log td#content {border-left:2px solid #719CE2; border-right:2px solid #719CE2; border-top:0; border-bottom:0; padding:5px;}
table#ap_log td div{padding:2px;}
table#ap_log td div.entry{vertical-align:middle; background-color:#F0F3FF; border: 1px solid #CCCCCC; border-radius:3px; padding:3px 5px 3px 5px;}
table#ap_egg td table#ap_egg_inner {width:1%; margin:0 auto;}
table#ap_egg td table#ap_egg_inner td{vertical-align:middle; padding:3px;}
/*Для общих логов админки*/
table#ap_log td#content table {border-spacing:0;}
table#ap_log td#content table td.time{text-align:right; padding:5px; width:50px; color:#666666; font-size:14px;}
table#ap_log td#content table td.notice{padding:5px; background-color:#F0F3FF; color:#000;}
table#ap_log td#content table td.warn{padding:5px; background-color:#FFCCCC; color:#000;}
table#ap_log td#content table td.error{padding:5px; background-color:#FFCC99; color:#000;}
table#ap_log td#content table td.spacer{padding:1px; background-color:#CCCCCC; height:0;}
table#ap_log td#content table td.section{padding:1px; width:70px; text-align:center; color:#fff; font-weight:bold;}
table#ap_log td#content table td.news{padding:1px; background-color:#7FB6F5;}
table#ap_log td#content table td.fanart{padding:1px; background-color:#F90;}
table#ap_log td#content table td.system{padding:1px; background-color:#999999;}
table#ap_log td#content table td.game{padding:1px; background-color:#333333;}
table#ap_log td#content table td.articles{padding:1px; background-color:#FF9999;}
table#ap_log td#content table td.users{padding:1px; background-color:#33CC66;}

/*Шестое и пятое поколения*/
table.gens{width:98%; margin:10px; border-collapse:collapse;}
table.gens td{border: 2px solid #7ea0d7; white-space:nowrap; padding:8px;}
table.gens td.header{background-color:#BCD5FB; border:2px solid #7ea0d7; height:30px; padding:0 0 5px 0; text-align:center; vertical-align:bottom;}
table.gens td.pic {padding:0; vertical-align:top; text-align:center;}
table.gens td.desc{white-space:normal; vertical-align:middle; text-align:left;}
table.genspokemon {width:100%;}
table.genspokemon td{padding:8px;}
table.genspokemon td.desc{vertical-align:top; border-top:2px solid #7ea0d7; border-bottom:2px solid #7ea0d7; border-right:2px solid #7ea0d7;}
table.genspokemon td.title{font-size:18px; font-style:italic; font-weight:bold; border-left:2px solid #7ea0d7; border-right:2px solid #7ea0d7; border-top:2px solid #7ea0d7; height:40px; padding:0 5px 3px 5px; vertical-align:bottom; border-radius:5px 5px 0 0; background-color:#BCD5FB;}
table.genspokemon td.pics{width:40%; vertical-align:top; text-align:center; border:2px solid #7ea0d7;}

/*Логи чата*/
table#chlog {width:100%;}
table#chlog td {padding:5px; text-align:left;}
table#chlog td.month{text-align:right; white-space:nowrap; width:1%;}
table#chlog td div.date {float:left; margin:2px; padding:3px; width:15px; text-align:center; background-color:#BCD5FB;}
table#chlog td div.date_hover {float:left; margin:2px; padding:3px; width:15px; text-align:center; background-color:#D8E9FE;}
table#chlog td div.today {font-weight:bold; background-color:#FFE3BB; color:#000;}
table#chlog td div.today_hover {font-weight:bold; background-color:#ffffcc; color:#000;}
table#chlog td span.time{font-size:11px;}
table#chlog td div#comments{overflow-y:scroll; background-color:#BCD5FB; height:500px; padding:3px;}
table#chlog td div#comments div.comment{background-color:#fff; padding:3px;}
table#chlog td div#comments div.comment table td{padding:0; vertical-align:top;}
table#chlog td div#comments div.spacer {height:3px;}

/* Ячейка с аватаркой. */
table#chlog td div#comments div.comment table td.av{width:35px; height:35px; vertical-align:top; padding-right:5px;}
/* Блок фиксации аватарки. */
table#chlog td div#comments div.comment table td.av:hover span{
	display:block;
	position:relative;
	min-height:38px;
}
/* Аватарка. */
table#chlog td div#comments div.comment table td.av img{width:35px;}
table#chlog td div#comments div.comment table td.av:hover img{
	display:block;
	background-color:#fff;
	border:1px solid #7FB6F5;
	position:absolute;
	width:auto;
}

/*Фейковые покемоны*/
div.block {padding:10px 10px 10px 10px; vertical-align:top; text-align:left; background-color:#BCD5FB; border:1px solid #7EA0D7; border-radius:5px;}
div.block table.fake{width:100%;}
div.block table.fake td.image{width:200px; padding:0 10px 0 0; text-align:center; vertical-align:top;}
div.block table.fake td.desc{padding:10px 5px 15px 10px; border:1px solid #7EA0D7; background-color:#fff; border-radius:5px; vertical-align:top; text-align:left;}
div.block table.fake td.desc p.name{font-size:14px;}
div.fspacer{padding:3px;}

/*Новые стили редактирования профиля*/
table.profile_edit {width:50%; margin:0 auto;}
table.profile_edit td p.act{text-align:center;}
table.profile_edit td span{font-size:11px; color:#3E4C5D; font-weight:normal; white-space:normal;}
table.profile_edit td span.warn{color:#FF0000;}
table.profile_edit td span.e-mail{font-size:16px; color:#0099CC; font-weight:bold;}
table.profile_edit td.header{padding:20px 20px 5px 5px; font-weight:bold;}
table.profile_edit td.left{width:10%; white-space:nowrap; text-align:right; padding:3px;}
table.profile_edit td.right{text-align:left; padding:3px;}
table.profile_edit td.right input{border-radius:2px; border:1px solid #999999; padding:2px;}
table.profile_edit td.right select option{border-radius:2px; border:1px solid #999999; padding:2px;}
table.profile_edit td.right textarea{border-radius:2px; border:1px solid #999999; padding:2px; width:50%; height:80px;}

/*Форма логина*/
table#loginpage{width:1%; margin:0 auto;}
table#loginpage td{padding:3px; vertical-align:middle;}
table#loginpage td.desc{white-space:nowrap; text-align:right;}
table#loginpage td.form input{text-align:left; color:#81878E; border-radius:2px; border:1px solid #999999; padding:2px;}

/* Стили формы регистрации. 
form.login div.info {
	clear:both;
	display:none;
	border:1px solid #C02425;
	background-color:#FFE3BB;
	color:#C02425;
	text-align:center;
	padding:3px;
}*/

/*form.login label {
	display:block;
	float:left;
	width:50%;
	margin-top:9px;
	padding-right:10px;
	text-align:right;
}
form.login input[type=text],
form.login input[type=password]
{
	display:block;
	float:left;
    text-align:left;
    color:#81878E;
    border-radius:2px;
    border:1px solid #999999;
    padding:2px;
	margin:6px 0px;
}*/

/* Заблокированный контрол. 
.disabled {
	border:2px outset ButtonFace;
	color:GrayText;
	cursor:inherit;
}*/

/*Форма добавления новости*/
table#new td span.context{font-weight:normal; white-space:normal;}
table#new td span.warn{color:#FF0000;}
table#new td.left{width:13%; text-align:right; white-space:nowrap; padding:3px;}
table#new td.right{text-align:left;}
table#new td.right input{border-radius:2px; border:1px solid #999999; padding:2px;}
table#new td.right select option{border-radius:2px; border:1px solid #999999; padding:2px;}
table#new td.right textarea{border-radius:2px; border:1px solid #999999; padding:5px; width:80%; height:140px;}

/*Форма изображения для новости (перекрывающие стили, чтоб не покоцать js)*/
table.new_images {background-color:#F3F6FF; border:1px solid #CCCCCC; width:1%; border-radius:3px;}
table.new_images td span.image{font-size:12px; font-weight:bold; white-space:normal;}
table.new_images td{padding:5px;}
table.new_images td.left{width:1%; text-align:right; white-space:nowrap; padding:3px; font-size:11px; color:#3E4C5D;}
table.new_images td.right{text-align:left; white-space:nowrap;}
table.new_images td.right input{border-radius:2px; border:1px solid #999999; padding:2px;}
table.new_images td.right select option{border-radius:2px; border:1px solid #999999; padding:2px;}

/*Формы выдачи предупреждений, приват чата (всплывающие окна)*/
form.chat_message {text-align:center;}
form.chat_message  div.chatform{padding:5px 8px 0px 0px; text-align:left;}
form.chat_message  div.chatform td{padding:0px; white-space:nowrap;}
form.chat_message  div.chatform td.mess{white-space:nowrap;}
form.chat_message  div.chatform td.button{text-align:center; width:150px; background-color:#E2E8FC; border-radius:5px; border:1px solid #A0C4FA;}
form.chat_message  textarea.chattext{width:97%; max-width:550px; border:2px solid #7FB6F5; border-radius:5px;}

/*Мега-Эволюции*/
div.mega_evo{padding:5px; background-color:#BCD5FB; border:1px solid #7EA0D7; border-radius:5px;}
table.mega_evo{border-spacing:0;}
table.mega_evo td.pic{width:170px; text-align:center;}
table.mega_evo td.pic img{padding:5px; width:150px; background-color:#fff; border-radius:50px;}
table.mega_evo td.header{padding:7px 10px 10px 15px; background-color:#7FB6F5; border:2px solid #7EA0D7; border-radius:4px 4px 0 0; font-size:14px; font-weight:bold; color:#fff;}
table.mega_evo td.desc{padding:15px 10px 5px 10px; vertical-align:top; background-color:#fff; border:2px solid #7EA0D7; border-top:0px; border-radius:0 0 4px 4px;}
table.mega_evo td.desc table td{text-align:center;}
table.mega_evo td.desc img.model{width:114px; padding:5px; float:left;}
table.mega_evo td.desc .pokedex{float:left; margin:65px 0px 20px 20px; background-color:#7FB6F5; font-size:16px; color:#fff; padding:3px 10px; text-decoration:none;}
table.mega_evo td.desc .pokedex:hover{background-color:#7EA0D7;}
/*Для рекламы*/
table.submenu {border-collapse:collapse; width:100%;}
table.submenu tr#header{text-align:center; vertical-align:middle; height:21px; background-color:#034dd4; border:2px solid #1071dc; color:#6dc6ff; font-size:17px; font-weight:bold;}
table.submenu td#body{background-color:#bcd5fb; border:2px solid #1071dc; text-align:center; padding:6px;}
table.submenu td a{color:#000c1a; font-weight:bold;}
table.submenu td a:hover{color:#d90000; font-weight:bold;}

/*Команда сайта*/
table#team{background-color:#F0F3FF; border-radius:5px; padding:7px; border:1px solid #BCD5FB;}
table#team td.avatar{width:70px; padding:5px; vertical-align:top;}
table#team td.desc{vertical-align:top; padding:2px 7px;}
table#team span.group {
	color:#ffffff;
	border-radius:3px;
	padding:0px 6px;
	font-weight:bold;
	font-size:11px;
}
table#team div.desc{background-color:#fff; padding:5px; border-radius:5px; border:1px solid #DEE4FE;}
table#team a.button{background-color:#7FB6F5; color:#fff; font-weight:bold; padding:3px 6px; border-radius:3px; text-decoration:none;}
table#team a.button:hover{background-color:#719CE2; text-decoration:underline;}
/*Аватары*/
table#avatars td#menu{width:200px; padding:10px; vertical-align:top; text-align:left;}
table#avatars td#menu input{margin:0;}
table#avatars td#menu span{font-size:11px; color:#666;}
table#avatars td#avs{border-left: 1px solid #BCD5FB; padding:10px 20px; vertical-align:top; text-align:left;}
table#avatars td#avs div.avatar{float:left; padding:10px; margin:5px; background-color:#F0F3FF; border:2px solid #7FB6F5; border-radius:8px; width:110px; height:130px; text-align:center; font-size:11px;}
table#avatars td#avs div.sel{background-color:#BCD5FB;}
a.bbutton{background-color:#7FB6F5; border-radius:5px; padding:1px 8px; color:#fff; text-decoration:none;}
a.bbutton:hover{text-decoration:underline;}
/*Страница коротких новостей*/
table.short_news {border-spacing:0;}
table.short_news td{padding:10px 2px 2px 0;}
table.short_news td.date{width:15%; white-space:nowrap; border-bottom:1px solid#BCD5FB;}
table.short_news td.text{border-bottom:1px solid#BCD5FB;}
/*Комменты*/
table#upd_comments {border-spacing:0;}
table#upd_comments span.news{font-weight:bold; color:#7FB6F5;}
table#upd_comments span.articles{font-weight:bold; color:#FF9999;}
table#upd_comments span.fanart{font-weight:bold; color:#FF9900;}
table#upd_comments td.nickname{text-align:center; padding:10px 0 2px 0;}
table#upd_comments td.avatar{width:100px; vertical-align:top; text-align:center; border-bottom:1px solid#BCD5FB;}
table#upd_comments td.avatar img{width:50px;}
table#upd_comments td.header{padding:10px 0 2px 0;}
table#upd_comments td.text{vertical-align:top; padding:10px 0 2px 0; border-bottom:1px solid#BCD5FB;}
/*Статьи (новые стили)*/
img#articles{float:right;}
span.articles_context{font-size:11px;}
input.articles{height:16px; border:1px solid #719CE2; border-radius:3px;}
input.articles_submit{height:auto; border-radius:3px; background-color:#6CABF4; color:#fff; font-weight:bold;}
div.article{border-bottom:1px solid #BCD5FB; background-color:#F0F3FF; padding:5px;}
div.article a.header{font-weight:bold; font-size:14px; text-decoration:none;}
div.article a.header:hover{text-decoration:underline;}
div.article div.preview{font-size:11px; font-style:italic;}
div.article div.info{font-size:11px;}
div#article{color:#333333; line-height:1.5;}
table#article td{padding:5px; vertical-align:middle;}
table#article td.left{width:13%; text-align:right;}
table#article td textarea#tags{width:70%; height:60px;}
/*Новости (новые стили)*/
div#add_new {float:right; padding:5px 150px 0 0;}
div#add_new a{padding:3px 10px; background-color:#6CABF4; text-decoration:none; border-radius:3px; color:#fff; font-weight:bold;}
div#add_new a:hover{text-decoration:underline;}

input.news{height:16px; border:1px solid #719CE2; border-radius:3px;}
input.news_submit{height:auto; border-radius:3px; background-color:#6CABF4; color:#fff; font-weight:bold;}
table.contest{width:100%; height:100px; background-color:#BCD5FB;}
table.contest td {vertical-align:top; padding:3px;}
table.contest td.header {font-size:14px; font-weight:bold; font-style:italic;}
table.contest td.pic {width:160px; text-align:center;}
table.contest td.pic img{width:150px;}
table.contest td.desc{background-color:#fff; border-radius:10px; padding:10px;}
table.contest td.desc div.juri{border-radius:10px; border:2px solid#BCD5FB; padding:10px;}
table.contest td.desc textarea{padding:5px; width:50%; height:40px;}

/*Новые способности*/
table.ndex td#name{vertical-align:top;}
table.ndex td.header{background-color:#BCD5FB; font-weight:bold; color:#4677AC; padding:0 10px 0 10px;}
table.ndex td span#name{font-size:24px;}
table.ndex td.desc{vertical-align:top; text-align:left; padding:0 0 10px 0;}
table.ndex td span.context{color:#333;}
table.ndex td div.gcont{float:right; margin:0 5px 0 0;}
table.ndex td table.desc {border:1px solid #4677AC; border-collapse:collapse;}
table.ndex td table.desc tr.header{background-color:#BCD5FB; color:#4677AC; font-size:11px;}
table.ndex td table.desc td{text-align:center; border:1px solid #4677AC;}
div.agames {width:20px; height:20px; float:left; background:url(/pic/dex/dex_pics.png) no-repeat; margin:1px 1px;}
div.ru{background-position:-20px -51px;}
div.sa{background-position:-20px -71px;}
div.e{background-position:-20px -91px;}
div.fr{background-position:-20px -111px;}
div.lg{background-position:-20px -131px;}
div.d{background-position: -40px -197px;}
div.p{background-position: -40px -217px}
div.pt{background-position: -40px -237px;}
div.hg{background-position:-40px -257px;}
div.ss{background-position:-40px -277px;}
div.b{background-position: -60px -197px;}
div.w{background-position: -60px -217px;}
div.b2{background-position:-60px -237px;}
div.w2{background-position:-60px -277px;}
div.x{background-position:-80px -197px;}
div.y{background-position:-80px -217px;}
div.or{background-position:-500px -146px;}
div.as{background-position:-500px -166px;}
div.sun{background-position:-500px -186px;}
div.usun{background-position:-500px -206px;}
div.moon{background-position:-500px -226px;}
div.umoon{background-position:-500px -246px;}
div.sw{background-position:-500px -126px;}
div.sh{background-position:-480px -126px;}
table.pokemons {border-spacing:1px;}
table.pokemons tr.header{background-color:#BCD5FB; color:#4677AC; font-weight:bold;}
table.pokemons tr.dark{background-color:#CFE0FB;}
table.pokemons tr.light{background-color:#E3EDFD;}
table.pokemons td{text-align:center; font-size:11px;}

div#thanks{text-align:center; font-size:11px; color:#666;}

table.ndex td table.sub{border-collapse:collapse; border:1px solid #999; width:100%;}
table.ndex td table.sub td{border:1px solid #90B5F2; text-align:center; padding:5px;}
table.ndex td table.sub td.header{background-color:#CFE0FB; font-size:11px; padding:0px;}
table.ndex td span.blue{color:#0033CC; font-weight:bold;}
table.ndex td span.yellow{color:#CC9966; font-weight:bold;}
table.ndex td span.grey{color:#999999; font-weight:bold;}
table.ndex  td div.light{color:#999; font-style:italic;}
table.ndex  td div.effect{font-weight:bold;}
table.ndex  td div.desc{padding:0 0 5px 10px; font-size:10px; font-style:italic;}

span.like{font-style:italic; font-size:16px; font-weight:bold;}
/*-------------------------------------------*/
/*Стили фанарта*/
/*-------------------------------------------*/
/*Форма поиска*/
div#fanart_searchform{float:right; padding-right:10px;}
/*Кнопка добавления нового арта*/
span#add_new_art a {background-color:#6CABF4; color:#fff; border-radius:3px; padding:3px 10px; text-decoration: none; font-weight: bold; border:1px solid #719CE2;}
span#add_new_art a:hover {text-decoration:underline;}
/*Основная таблица фанарта*/

table#fanart td {padding: 3px 0px 10px 5px; vertical-align:top;}
table#fanart td.center {text-align:center;}
table#fanart td.big {font-size:16px; font-weight:bold;}
table#fanart td.ruler, table#fanart td.ruler td {padding:0;}
table#fanart td.art {vertical-align:middle;}
table#fanart td.dark {background-color:#BCD5FB;}
table#fanart td font.desc{color:#999999; font-size:14px;}
/*Четыре последних арта.*/
table#fanart td div#last_arts{text-align:center; margin:0 auto; max-width:800px; width:auto; display:table;}
/*В этом блоке сидят картинки.*/
table#fanart td table.art_container {width:192px; background-color:#fff; height:260px; float:left; margin-bottom:15px; margin:3px; border-radius:5px;}
table#fanart td table.art_container td{text-align:center; padding:0;}
table#fanart td table.art_container td.name{height:60px; font-size:14px; vertical-align:top; padding:5px 2px 0 2px;}
table#fanart td table.art_container td.art{height:160px;}
/*А здесь их статы (просмотры, комменты, лайки).*/
table#fanart td table.art_stats {width:130px; height:40px; margin:0 auto;}
table#fanart td table.art_stats.rand {margin:0}
table#fanart td table.art_stats, table#fanart td table.art_stats.rand {color:#999999; padding:0 0 8px 0; vertical-align:middle;}
/*Комментарии на главной фанарта.*/
table#fanart td table.art_comment {width:95%; border:2px solid #bcd5fb; background-color:#d5e6ff; border-radius:5px;}
table#fanart td table.art_comment.dark {background-color:#d5efff;}
table#fanart td table.art_comment td {padding:4px;}
table#fanart td table.art_comment td.date {font-size:11px; color:#999999;}
table#fanart td table.art_comment td.avatar {vertical-align:top; width:50px; text-align:center;}
table#fanart td table.art_comment td.text {vertical-align:top; padding:6px; background-color:#fff; border:1px solid #bcd5fb; border-radius:5px;}
/*Рандомная картинка на главной фанарта.*/
table#fanart td table#random {width:90%; height:240px; border:2px solid #bcd5fb; border-radius:5px;}
table#fanart td table#random td{padding: 5px 5px 0 0; vertical-align:top; text-align:left;}
table#fanart td table#random td span.header{font-size:16px; font-weight:bold;}
table#fanart td table#random td#pic {width:160px; vertical-align:top; text-align:center; padding:3px;}
table#fanart td table#random td#pic div {height:150px; width:150px; display:table-cell; vertical-align:middle; text-align:center;}
table#fanart td table#random td table.art_stats td{text-align:center;}
/*Лог на главной фанарта.*/
table#fanart div#log{height:500px; vertical-align:top; padding:2px; overflow-y:scroll; background-color:#BCD5FB;}
table#fanart div#log div.entry{background-color:#fff; padding:3px; color:#3E4C5D; font-size:11px;}
table#fanart div#log div.spacer{background-color:#BCD5FB; height:4px;}
/*Форма добавления работы.*/
table#fanart td.form {vertical-align:middle; padding-top:8px;}
table#fanart td.left {text-align:right;}
table#fanart td span.red {color:#CC0000; font-weight:bold;}
/*Превью будущей работы.*/
table#fanart td table.uploaded{width:100%; height:170px; margin:5px 5px 5px 0;}
table#fanart td table.uploaded td {text-align:left; vertical-align:middle;}
table#fanart td table.uploaded td.pic{border:2px solid #999999; border-radius:5px; width:170px; text-align:center; padding:5px;}
table#fanart_prev {border-radius:5px; border:2px solid #999999;}
table#fanart_prev td{text-align:center;}
table#fanart_prev td span.nodata{color:#999999; font-weight:bold; font-style:italic;}
div.no_art{padding:10px; background-color:#FFE3BB; border:1px solid #C02425; border-radius:5px;}
div#art_desc {text-align:left; border: 1px solid #BCD5FB; padding:10px; border-radius:5px;}
/*div#art_desc div{background-color:#fff; border: 1px solid #BCD5FB; padding:8px; border-radius:5px;}*/

/*Админка, пользователи.*/
table.ulist {background-color:#7FB6F5; padding:3px; border-radius: 7px; border: 2px solid #719CE2; border-spacing:0px;}
table.ulist td.header{padding:3px 8px; color:#fff; font-weight:bold; text-align:center;}
table.ulist td.data span.unactive{font-size:14px; color:#999999; font-weight:bold;}
table.ulist td.data a.unactive{font-size:14px; color:#999999; font-weight:bold;}
table.ulist td.data span.active{font-size:14px; font-weight:bold;}
table.ulist td.data{background-color:#fff; padding:4px; vertical-align:top;}
table.ulist td.border{border-bottom:1px solid #CCCCCC;}

/*Стили новой лички.*/
a.msg{color:#000; text-decoration:none;}
table#msg_cont{border:2px solid #719CE2; border-radius:5px; border-spacing:0;}
table#msg_cont td.border{background-color:#6CABF4; padding:5px;}
table#msg_cont td.cont{max-height:500px; vertical-align:top; border:1px solid #90B5F2; padding:0;}
table#msg_cont td.cont table.unread{background-color:#F0F3FF;}
table#msg_cont td.cont table.border{border-top:1px solid #90B5F2;}
table#msg_cont td.cont table.sel{background-color:#BCD5FB;}
table#msg_cont td.cont table.msg td#name{width:100px; height:0; text-align:right; vertical-align:top; padding:10px 5px 0 0;}
table#msg_cont td.cont table.msg td#avatar{text-align:right; vertical-align:top;}
table#msg_cont td.cont table.msg td#avatar-dialog{width:100px; text-align:right; vertical-align:top; padding:10px 5px 0 0;}
table#msg_cont td.cont table.msg td#text{text-align:left; vertical-align:top; padding:10px 0 10px 5px;}
table#msg_cont td.cont table.msg td.unread{background-color:#F0F3FF;}
table#msg_cont td.cont table.msg td div.foot{float:right;}
table#msg_cont td.cont div.cont{overflow-y:scroll; max-height:500px;}
div#msg_preview{border:1px solid #BCD5FB; border-radius:5px; background-color:#F0F3FF; padding:10px;}
textarea#msg_text{width:95%;}

/*Черные списки.*/
table.bl_add{border:1px solid #BCD5FB; background-color:#F0F3FF; padding:5px; border-radius:5px;}
table.bl_add td{vertical-align:middle;}
table#bl_users{border: 2px solid #719CE2; background-color:#6CABF4; border-radius:5px; color:#fff; font-weight:bold; border-spacing:0;}
table#bl_users td#list{background-color:#fff; color:#000; font-weight:normal; padding:0;}
table#bl_users td#list table{border-spacing:0; border:1px solid #BCD5FB; border-collapse:collapse;}
table#bl_users td#list table tr#header{background-color:#F0F3FF; color:#000; font-weight:normal;}
table#bl_users td#list table td{border:1px solid #BCD5FB; text-align:center; vertical-align:top;}
table#bl_users td#list table td.names{padding:5px;}
table#bl_users td#list table td.names span.da a{color:#999; font-weight:bold;}
table#bl_users td#list table td.options{text-align:left; padding:5px;}

/*Хэдер админки*/
table#admin_header{width:100%; background-color:#BCD5FB; border-spacing:0; border-collapse:collapse;}
table#admin_header td{border:2px solid #6CABF4; text-align:center; padding:0;}
table#admin_header td a{text-decoration:none; color:#2D3F7B; font-weight:bold; display:block; margin:0; padding:25px 2px 10px 2px;}
table#admin_header td a:hover{background-color:#6CABF4; color:#FFF; font-weight:bold;}

/*Группы пользователей*/
a#add_new_user_group{float:right; text-decoration:none; background-color:#BCD5FB; color:#fff; font-weight:bold; padding: 3px 8px; border-radius:3px;}
a:hover#add_new_user_group{background-color:#7FB6F5;}

table#user_group_list{float:left; width:100%; border-collapse:collapse;}
table#user_group_list tr{border:2px solid #BCD5FB;}
table#user_group_list td{padding:5px; width:1%;}
table#user_group_list td.name{font-size:14px; font-weight:bold; text-align:right; white-space:nowrap;}
table#user_group_list td.users{padding-right:0px;}
table#user_group_list td.comment{width:50%;}
table#user_group_list td.form{width:auto;}




/*Стили сайтовой игры.*/

/*Синяя "кнопочная" ссылка.*/
a.gblue_link{
	background-color:#7FB6F5;
	padding:1px 5px;
	margin:0px 3px;
	color:#fff;
	text-decoration:none;
	border-radius:8px;
	font-weight:normal;
}

a.gblue_link:hover{
	background-color:#4796F1;
}

a.gblue_link img{
	margin:0px 0px -4px 0px;
}

/*Чуть больше*/
a.middle, span.middle{
	font-size:18px;
	border-radius:20px;
	padding:1px 15px;
}

/*Если надо боооольшую :D*/
a.big, span.big{
	font-size:24px;
	border-radius:20px;
	padding:1px 15px;
}

/*Такая же, но неактивная кнопка*/
span.game_blue_button{
	background-color:#BCD5FB;
	padding:1px 5px;
	margin:0px 3px;
	color:#fff;
	text-decoration:none;
	border-radius:8px;
}

span.game_blue_button img{
	margin:0px 0px -4px 0px;
	opacity:0.5;
}

/* Стили текстовых форм.*/
select.game_form{
	border-radius:8px;
	border:1px solid #ccc;
	margin:3px 0px;
}

input.game_form{
	border:1px solid #ccc;
	border-radius:8px;
	margin:3px 0px;
	padding:1px 6px;
}

/*Стили кнопок форм*/
input.game_gray_button{
	border:1px solid #ccc;
	border-radius:8px;
	margin:3px 0px;
	color:#fff;
	background-color:#ccc;
}

input.game_gray_button:hover{
	background-color:#999;
	border:1px solid #999;
}

input.game_blue_button{
	border:0px;
	border-radius:8px;
	margin:3px 0px;
	color:#fff;
	background-color:#7FB6F5;
	padding: 2px 8px;
}

input.game_blue_button:hover{
	background-color:#4796F1;
}

/*Серые ссылки-кнопки*/
a.game_gray_button{
	border-radius:8px;
	border:1px solid #ccc;
	margin:3px 0px;
	color:#fff;
	background-color:#ccc;
	text-decoration:none;
	padding:0px 5px;
}

a.game_gray_button:hover{
	background-color:#999;
	border:1px solid #999;
}

/*Стили контекстных ошибок и сообщений*/
.cerrors{
	background-color:#FFE3BB;
	color:#990000;
	border-radius:5px;
	padding:5px;
}

.cerrors ul{
	margin:0px;
}

.cmessage{
	background-color:#BBFFE5;
	color:#009999;
	border-radius:5px;
	padding:5px 5px 5px 10px;
}

/* Типы покемонов. */
table#types{
	border:0px;
	border-spacing:0px;
	width:1%;
}

table#types td.type{
	min-width:50px;
	text-align:center;
	padding:0px 10px;
	font-weight:bold;
	font-size:12px;
	border-radius:15px;
	color:#fff;
}

table#types td.spacer{
	width:5px;
	min-width:5px;
}

table#types td.unknown{background-color:#379197;}
table#types td.normal{background-color:#C0C082;}
table#types td.fire{background-color:#ff9933;}
table#types td.water{background-color:#33CCFF;}
table#types td.flying{background-color:#9999CC;}
table#types td.electric{background-color:#FFCC33; text-shadow:#cc6600 0px 0px 3px;}
table#types td.fairy{background-color:#ff9999;}
table#types td.ice{background-color:#99ffff; text-shadow:#6699ff 0px 0px 3px;}
table#types td.fighting{background-color:#cc3333;}
table#types td.poison{background-color:#cc33ff;}
table#types td.ghost{background-color:#663399;}
table#types td.dragon{background-color:#9966ff;}
table#types td.ground{background-color:#ffcc99; text-shadow:#cc9900 0px 0px 3px;}
table#types td.rock{background-color:#cc9966;}
table#types td.grass{background-color:#33cc66;}
table#types td.bug{background-color:#99cc33;}
table#types td.steel{background-color:#99cccc;}
table#types td.dark{background-color:#663333;}
table#types td.psychic{background-color:#ff66cc;}

/*Меню игры*/
#game_header{
	width:100%;
	text-align:center;
}

#game_header ul{
	list-style:none;
	padding:0px;
}

#game_header ul li{
	display: inline;
	font-size:16px;
	text-align:center;
	margin-bottom:80px;
}

#game_header ul li a{
	text-decoration:none;
	background-color:#7FB6F5;
	padding:8px 25px;
	margin:0px 5px;
	color:#fff;
	font-weight:bold;
}

#game_header ul li a:hover{
	background-color:#034DD4;
}

#game_header ul li span{
	background-color:#bcd6fb;
	padding:8px 25px;
	margin:0px 5px;
	color:#fff;
	font-weight:bold;
}

#game_header ul li a#active{
	text-decoration:none;
	background-color:#034dd4;
	text-shadow:0 0 2px #66CCFF;
}

#game_header ul li a#active:hover{
	text-decoration:none;
	background-color:#034dd4;
	text-shadow:0 0 10px #fff;
}

/*Форма поиска пользователя.*/
.game_user_search{
	float:right;
}

.game_user_search div{
	font-size:12px;
	color:#666;
}

.game_info{
	margin:10px 0px 0px 10px;
	font-size:14px;
	line-height:2;
}

.game_info span.header{
	font-size:16px;
	font-family:Helvetica;
	font-weight:bold;
}

.game_info img.starters{
	float:left;
	margin-right:20px;
}

.game_info span.context{
	font-size:14px;
	color:#999;
}

.starter_kit{
	margin:0 auto;
	text-align:left;
	width:45%;
	line-height:2;
}

.game_news{
	font-weight:bold;
	margin:-10px 0px 0px 0px;
	width:60%;
}

/* Стили игрового меню пользователя.*/
#game_user_menu{
	background-color:#DBDCFF;
}

#unics{
	font-weight:bold;
	padding:10px 0px 10px 11px;
	font-family:Helvetica;
}

#game_items{
	float:left;
	margin:0px 0px 5px 11px;
	padding:0px 5px;
	background-color:#fff;
	border-radius:15px;
	max-width:60%;
}

#game_items div{
	float:left;
	margin:2px 5px 5px 5px;
}

#game_items div span{
	font-size:9px;
	margin:0px 0px 0px -5px;
}

#game_menu_poketeam{
	float:right;
	margin:-25px 20px 0px 0px;
	font-size:12px;
}

#achievements {
	float:right;
	font-size:12px;
	font-weight:bold;
	padding:0px 12px;
}

/*Меню команды покемонов в игре*/
div.gteam{
	width:40px;
	height:40px;
	float:left;
}

div.gteam div.empty{
	background-color:#000;
	opacity:0.2;
	width:18px;
	height:18px;
	border-radius:12px;
	margin:12px;
}

div.gteam div.filled{
	width:40px;
	height:40px;
}

div.gteam div.filled img{
	z-index:2;
}

div.gteam div.ball{
	border-radius:20px;
	width:32px;
	height:32px;
	z-index:0;
	margin:-39px 0px 0px 3px;
}

div.gteam div.ball_oldmini{
	margin:-39px 0px 0px 3px;
}

div.gteam div.pokeball{
	background-color:#ffcccc;
}

div.gteam:hover div.pokeball{
	background-color:#cc9999;
}

div.gteam div.friendball{
	background-color:#ccffcc;
}

div.gteam:hover div.friendball{
	background-color:#99cc99;
}

div.gteam div.masterball{
	background-color:#FDC7FF;
}

div.gteam:hover div.masterball{
	background-color:#D779E1;
}

/*Блок с покемоном*/
#game_pokemon{
	background-color:#F0F3FF;
	border-spacing:0px;
	padding:5px;
}

#game_pokemon #header{
	text-align:center;
	padding:5px 0px;
}

#game_pokemon #header span{
	font-size:12px;
	color:#666;
}

#game_pokemon #header span.male{
	color:#3399ff;
	font-size:14px;
	font-family:Tahoma;
}

#game_pokemon #header span.female{
	color:#ff6666;
	font-size:14px;
	font-family:Tahoma;
}

#game_pokemon #sprite{
	width:150px;
	height:150px;
	background-color:#fff;
	border-radius:100px;
	text-align:center;
}

#game_pokemon #sprite .img{
	max-width:150px;
}

#game_pokemon .data{
	vertical-align:top;
	padding:5px 20px;
	line-height:1.5;
}

#game_pokemon .data .visiters, #game_pokemon .data .berries{
	font-size:12px;
}

#game_pokemon .data .belly{
	border-collapse:collapse;
	width:160px;
}

#game_pokemon .data .belly td.red{
	background-color:#E54D4D;
	padding:0px;
	font-size:11px;
}

#game_pokemon .data .belly td.green{
	background-color:#8AF581;
	padding:0px;
	font-size:11px;
}

#game_pokemon .data .berries_list{
	float:left;
	margin:0px;
	width:30px;
	height:30px;
}

#game_pokemon .data .berries_list a{
	display:block;
}

#game_pokemon .data .berries_list a:hover{
	background-color:#B9BBF1;
}

#game_pokemon .data .berries_list img{
	margin:3px 0px 0px 3px;
}

#game_pokemon .data .feeder img{
	margin:-10px 0px -10px -10px;
}

#game_pokemon .data .log{
	height:150px;
	vertical-align:top;
	overflow-y:scroll;
	background-color:#BCD5FB;
}

#game_pokemon .data .log .entry{
	background-color:#fff;
	margin:1px;
	padding:4px 5px;
	font-size:12px;
}

#game_pokemon .data .log .entry span{
	color:#999;
}

#game_pokemon .actions{
	padding:0px 0px 5px 17px;
	color:#999;
}

#game_pokemon .actions a, #game_pokemon .actions span{
	padding:3px 10px;
	border-radius:15px;
}

#game_pokemon .actions a img, #game_pokemon .actions span img{
	margin:0px -3px -7px -5px;
}

#game_pokemon .actions span img{
	opacity:0.3;
}

/*Стили списка покемонов*/
#game_plist div{
	width:40px;
	height:40px;
	float:left;
	font-size:10px;
}

#game_plist #active{
	background-color:#BCD5FB;
}

#game_plist .selected{
	background-color:#BCD5FB;
}

#game_plist .unselect{
	background-color:#fff;
}

/* Стили оформления логов.*/
#game_log_method{
	text-align:center;
}

#game_log_method a.left{
	padding:4px 10px 4px 30px;
	border-radius:15px 0px 0px 15px;
	margin:0px;
}

#game_log_method span.left{
	background-color:#F0F3FF;
	padding:4px 10px 4px 30px;
	border-radius:15px 0px 0px 15px;
}

#game_log_method a.right{
	border-radius:0px 15px 15px 0px;
	padding:4px 15px 4px 10px;
	margin:0px;
}

#game_log_method span.right{
	background-color:#F0F3FF;
	padding:4px 30px 4px 10px;
	border-radius:0px 15px 15px 0px;
}

#game_main_log{
	background-color:#BCD5FB;
}

#game_main_log div.desc{
	background-color:#fff;
	margin:1px;
}

#game_main_log div.desc .icon{
	float:left;
	width:50px;
	height:50px;
}

#game_main_log div.desc .text{
	float:left;
	padding:4px 0px;
	font-size:13px;
	line-height:1.5;
	width:50%;
}

#game_main_log div.desc .date{
	float:left;
	color:#999;
	padding:7px 0px;
	font-size:12px;
	line-height:1.5;
}

/*Стили игрового магазина. */
#game_shop_unics{
	font-weight:bold;
	font-style:italic;
	font-size:16px;
	float:right;
}

.game_shop{
	border-collapse:collapse;
}

.game_shop td{
	text-align:left;
	font-size:13px;
	padding:2px;
}

.game_shop td.header{
	font-weight:bold;
}

.game_shop td.dark{
	background-color:#F0F3FF;
	padding:6px 2px 5px 2px;
}

.game_shop td img.icon{
	margin:0px 8px -6px 5px;
}

.game_shop td.desc{
	font-style:italic;
	padding:10px 10px;
}

.game_shop td.form{
	white-space:nowrap;
	padding:0px 10px 0px 0px;
}

/* Стили карточной игры.*/

#game_message{
	text-align:center;
	font-weight:bold;
}

#game_message span.header{
	font-size:18px;
}

#game_message span.desc{
	font-weight:normal;
}

#game_cards_unics{
	text-align:center;
}

/* Карточки */
#game_cards{
	margin:0 auto;
	width:96%;
}

#game_cards .closed{
	width:187px;
	height:130px;
	background:url(/pic/game_upd/frequent/card.png) #3366cc;
	border-radius:10px;
	margin:0px 5px 5px 0px;
	float:left;
}

#game_cards .transparent{
	opacity:0.5;
}

#game_cards .opened{
	width:183px;
	height:126px;
	border:2px solid #B9BBF1;
	border-radius:10px;
	margin:0px 5px 5px 0px;
	float:left;
}

#game_cards .opened span.male{
	color:#3399ff;
	font-size:14px;
	font-family:Tahoma;
}

#game_cards .opened span.female{
	color:#ff6666;
	font-size:14px;
	font-family:Tahoma;
}

#game_cards .shiny{
	background-color: #fffbd1;
	color:#ff6666;
}

#game_cards .shadow{
	background-color: #f2d9ff;
	color:#ff6666;
}


#game_cards .long_title{
	font-size:12px;
}

#game_cards .opened .gray{
	text-align:center;
	color:#999;
	font-size:15px;
	font-style:italic;
}

#game_cards .opened .empty{
	margin-top:50px;
}

#game_cards .opened .unics{
	margin-top:35px;
}

#game_cards .opened .unics span{
	font-size:40px;
	font-weight:bold;
}

#game_cards .opened .gitem{
	margin-top:10px;
}

#game_cards .opened .gitem img{
	margin-bottom:-15px;
}

#game_cards .opened .gpokemon{
	margin-top:5px;
}

#game_cards .opened .gpokemon img{
	max-width:96px;
}

#game_cards .active:hover{
	background-color:#F0F3FF;
}

/*Отпускание покемона. */
#release{
	text-align:center;
	width:40%;
	margin:0 auto;
}

/*Игровой декс*/
div.notice{
	font-size:12px;
}

div.dex_count{
	float:right;
	padding:0px 20px 0px 0px;
	font-weight:bold;
	margin-top:4px;
}

/* Список дексовых покемонов. */
#dex_list {
	font-size:12px;
}

#dex_list a{
	text-decoration:none;
	color:#000;
}

#dex_list div.entry{
	float:left;
	display:block;
	margin:1px;
	padding: 5px 6px 3px 0;
	width:158px;
	height:35px;
	background-color:#F0F3FF;
}

#dex_list div.entry:hover{
	background-color:#7FB6F5;
}

#dex_list .not_opened{
	opacity:0.3;
}

#dex_list div.unactive:hover{
	background-color:#F0F3FF;
}

#dex_list div.entry img{
	margin:-4px 0px -2px 3px;
	float:left;
}

#dex_list div.entry div.title{
	background-color:#fff;
	float:left;
	padding:2px 10px;
	width:95px;
	margin:8px -2px -3px 0px;
}

/* Одна запись подробная. */
#dex_entry td .icon{
	margin:-10px 0px -10px 5px;
}

#dex_entry .blue{
	background-color:#7FB6F5;
	color:#fff;
	padding:5px 10px;
	font-size:12px;
	font-weight:bold;
}

#dex_entry .blue a{
	color:#fff;
	text-decoration:none;
}

#dex_entry .blue a:hover{
	text-decoration:underline;
}

#dex_entry .header{
	font-size:20px;
	font-style:italic;
	padding:10px 0px 3px 5px;
}

#dex_entry .sprite{
	text-align:center;
	vertical-align:middle;
	width:185px;
	min-width:185px;
	height:185px;
}

#dex_entry .sprite img{
	max-width:180px;
	max-height:180px;
}

#dex_entry .evolves{
	padding: 0px 0px 0px 30px;
	background-color:#F0F3FF;
}

#dex_entry .desc{
	text-align:left;
	vertical-align:top;
	padding:5px 0px;
}

#dex_entry .groups{
	text-align:center;
	
	padding:5px 0px;
}

/*Описание покемона. */
#dex_entry .desc div.text{
	font-size:12px;
}

#dex_entry td .forms div.round{
	background-color:#F0F3FF;
	border-radius:100px;
	width:100px;
	height:100px;
	margin:0px 0px -100px 0px;
	float:left;
	z-index:0;
}

#dex_entry td .forms div.title{
	width:100px;
	height:100px;
	font-size:12px;
	text-align:center;
	float:left;
	z-index:1;
	font-weight:bold;
	margin:0px 5px;
}

#dex_entry td .forms div.title img{
	width:70px;
	height:70px;
	margin:10px 0px 0px 0px;
}

#dex_entry .data{
	background-color:#F0F3FF;
	color:#666;
	font-size:12px;
}

#dex_entry .data span.male{
	color:#3399ff;
	font-size:14px;
	font-family:Tahoma;
}

#dex_entry .data span.female{
	color:#ff6666;
	font-size:14px;
	font-family:Tahoma;
}

/*Покемоны в комментариях и профиле. */
.game_user_plist{
	width:40px;
	height:40px;
	float:left;
	font-size:10px;
}

.game_user_plist:hover{
	background-color:#B3AAD1;
}

/*Статистика игры*/
.game_stats_header{
	margin:0px 2px;
	font-size:16px;
	font-weight:bold;
}

.game_stats{
	border-spacing:0;
	border-collapse:collapse;
	margin:0px 2px;
}

.game_stats td{
	border:1px solid #E5E5E5;
	padding:2px 5px;
	
}

.game_stats .header{
	background-color:#F0F3FF;
	color:#666666;
	font-weight:bold;
	text-align:center;
}

.game_stats .data{
	text-align:center;
}

.game_stats .data_dark{
	text-align:center;
	background-color:#F7F7F7;
}
/* Достижения.*/
.game_achievements{
	border-spacing:0;
	border-collapse:collapse;
	margin:0px 2px;
}

.game_achievements td{
	border:1px solid #E5E5E5;
	padding:2px 5px;
}

.game_achievements td.header{
	background-color:#F0F3FF;
	color:#666666;
	font-weight:bold;
	text-align:center;	
}

.game_achievements td table, .game_achievements td table td{
	border:0px;
	padding:0px;
}

.game_achievements td table .icon{
	 width:45px;
	 padding:0px 5px;
	 text-align:center;
	 vertical-align:top;
}

.game_achievements td table .closed{
	 opacity:0.2;
}

.game_achievements td table .title{
	 line-height:1.5;
	 padding:0px 5px;
}

.game_achievements td .title span{
	 font-size:12px;
	 font-style:italic;
}

.game_achievements td.goal{
	 text-align:center;
	 width:20%;
}

/* Всплываха для разных событий игры, например если найден предмет или открыто достижение.*/
.game_popup{
	text-align:center;
	background-color:#fff;
	padding:6px 5px 20px 5px;
	font-size:16px;
}

.game_popup img{
	max-width:60px;
	margin-bottom:-25px;
}

.game_popup img.item{
	margin:-20px 0px -6px 4px;
}

.achievement{
	border:1px solid #E5E5E5;
	background-color:#F4EFFF;
}

.achievement table{
	width:500px;
	margin:0 auto;
}

.achievement table td.icon{
	width:50px;
}

.achievement table td.icon img{
	margin:-5px 0px -25px 0px;
}

.achievement table td.desc{
	text-align:left;
	padding:10px 20px 0px 20px;
	line-height:1.5;
}

.achievement table td.desc span{
	font-size:14px;
}

.awards_red{
	border-collapse:collapse;
}

.awards_red td{
	border:1px solid #E5E5E5;
	background-color:#F0F3FF;
	color:#666;
	font-weight:bold;
	padding:0px;
	vertical-align:top;
}

.awards_red td.header{
	padding:2px 10px;
	width:50%;
}

.awards_red td .entry{
	background-color:#fff;
	margin:4px 2px 4px 2px;
	border-radius:10px;
}

.awards_red td .icon{
	float:left;
	margin:5px 20px 5px 5px;
}

.awards_red td .icon img{
	max-width:50px;
}

.awards_red td .desc{
	font-weight:normal;
	color:#000;
	padding:10px 5px 0px 5px;
}

.awards_red td .arrow_left{
	float:right;
	margin:13px 5px 5px 20px;
	background-color:#F4EFFF;
	width:40px;
	text-align:center;
	padding:10px 10px 10px 15px;
	border-radius:10px;
	color:#000;
}

.awards_red td .arrow_right{
	float:left;
	margin:13px 20px 5px 5px;
	background-color:#F4EFFF;
	width:40px;
	text-align:center;
	padding:10px 15px 10px 10px;
	border-radius:10px;
	color:#000;
}

.awards_red td .arrow_left:hover, .awards_red td .arrow_right:hover{
	background-color:#DBDCFF;
	color:#fff;
}

/* Стили Покедекса.*/
/* Кнопки поколений. */
.dex_gens {
	padding:0px;
	width:100%;
}

.dex_gens td{
	text-align:center;
	font-size:16px;
	padding:0px !important;
	border:0px !important;
	white-space:nowrap;
}

.dex_gens td a{
	background-color:#7FB6F5;
	display:block;
	padding:10px 10px;
	margin: 0px;
	text-decoration:none;
	color:#fff;
	font-weight:bold;
}

.dex_gens td a.active{
	background-color:#034DD4;
	text-shadow:0 0 2px #66CCFF;
}

.dex_gens td a:hover{
	background-color:#034DD4;
}

.dex_gens td span{
	background-color:#bcd6fb;
	display:block;
	padding:10px 10px;
	margin: 0px;
	color:#fff;
	font-weight:bold;
}

/* Кнопки игр. */
.dex_games {
	padding:0px;
	width:100%;
	margin:0px auto !important;
}

.dex_games td{
	text-align:center;
	font-size:12px;
	padding:10px 0px !important;
	border:0px !important;
	white-space:nowrap;
}

.dex_games td span{
	padding:2px 10px;
	margin:1px;
}

.dex_games td a{
	padding:2px 10px;
	border-radius:10px;
	margin:1px;
}

.dex_games td a:hover{
	border:2px solid #7FB6F5;
	margin:-1px;
}

.dex_games td a.active{
	border:2px solid #7FB6F5;
	margin:-2px;
	text-decoration:none;
}

/* Форма сортировки. */
.dex_sort_form{
	background-color:#7FB6F5;
	display:block;
	padding:10px 10px;
	color:#fff;
	font-weight:bold;
	text-align:center;
}

.dex_sort_form select{
	background-color:#fff;
	border:0px;
	border-radius:10px;
	padding:0px 5px;
	color:#333;
}

.dex_sort_form input{
	background-color:#fff;
	border:0px;
	border-radius:10px;
	padding:0px 5px;
	color:#333;
}

.dex_sort_form input.button{
	padding:1px 20px;
}

.dex_sort_form input.button:hover{
	background-color:#ccc;
	color:#333;
}

.dex_sort_form input.search{
	padding:5px 20px;
	border-radius:20px;
}

/* Малая форма поиска */
.dex_seach_small{
	float:right;
	font-size:12px;
	color:#666;
}

.dex_seach_small input{
	border:1px solid #ccc;
	border-radius:8px;
	margin:3px 0px;
	padding:1px 6px;
}

.dex_seach_small input.button{
	background-color:#ccc;
	color:#fff;
}

.dex_seach_small input.button:hover{
	background-color:#999;
	border:1px solid #999;
}

a.dex_pokemons{
	color:#000;
}

/* Таблица покемонов при графическом режиме отображения. */
.dex_grafic {
	width:80%;
	margin:0 auto;
	border-collapse:collapse;
}

.dex_grafic td{
	border: 1px solid #ccc;
	height:130px;
	width:130px;
	vertical-align:middle;
	text-align:center;
}

.dex_grafic td div{
	width:100px;
	height:100px;
	margin:0 auto;
}

.dex_grafic td div img{
	max-width:100px;
	max-height:100px;
}

/* Страница покемона в дексе. */
.dex_ruler {
	background-color:#7FB6F5;
	border-radius:30px;
}

.dex_ruler td{
	padding:15px;
	color:#fff;
	font-weight:bold;
	font-size:14px;
}

.dex_ruler td img{
	margin:-10px 0px -10px 0px;
}

.dex_ruler td a{
	font-weight:bold;
	color:#fff;
	text-decoration:none;
}

.dex_ruler .arrow{
	width:35%;
}

.dex_ruler .gens{
	font-size:16px;
	text-align:center;
}

/* Таблица основной информации о покемоне. */
.dex_main_info .header{
	font-size:24px;
	font-style:italic;
	padding:0px 10px;
}

.dex_main_info .header_a{
	padding:0px 8px;
	width:200px;
}

.dex_main_info .header_a span{
	font-size:24px;
}

.dex_main_info .subheader{
	background-color:#F0F3FF;
	padding:4px 10px;
	color:#666;
	font-weight:bold;
}

.dex_main_info .header img{
	margin:0px 0px -6px 3px;
}

.dex_main_info .sprite{
	width:110px;
	height:90px;
	vertical-align:middle;
	text-align:center;
	padding:30px 20px 5px 20px;
}

.dex_main_info .sprite img{
	max-width:110px;
}

.dex_main_info .adesc{
	padding:10px 0px;
}

.dex_data{
	border-collapse:collapse;
}

.dex_data td{
	border: 1px solid #ccc;
}

.dex_data .darken{
	background-color:#F0F3FF;
	padding:4px 10px;
	text-align:center;
	color:#666;
	font-weight:bold;
}

.dex_data .center{
	text-align:center;
}

.dex_data td{
	padding:3px 8px;
}

.dex_evos{
	width:auto;
	padding:0px;
}

.dex_evos td{
	border:0px;
	vertical-align:middle;
	height:100px;
	max-height:150px;
}

.dex_evos td .method{
	height: 50px;
    position: relative;
    margin: -80px 0px 0px -10px;
    text-align: center;
    padding-top: 30px;
}

.dex_evos td .method span{
	font-size:10px;
}

.dex_evos td img{
	max-width:150px;
}

.dex_info_tabs{
	width:100%;
	border-collapse:collapse;
}

.dex_info_tabs td{
	padding:25px 1px 10px 1px;
	text-align:center;
	font-size:16px;
	color:#fff;
}

.dex_info_tabs td.normal{
	width:33%;
	background-color:#7FB6F5;
	padding:25px 5px 10px 5px;
}

.dex_info_tabs td.normal:hover{
	background-color:#034DD4;
}

.dex_info_tabs td.selected{
	background-color:#034DD4;
	font-weight:bold;
}

.dex_info_tabs td a{
	display:block;
	color:#fff;
	text-decoration:none;
}

/* Иконки игр для дексовых локаций. */
.dex_data div.game{
	width:50px;
	height:17px;
	background-image:url(/pic/dex/dex_pics.png);
	margin:0 auto;
}

.dex_data div.hg{background-position:64px 154px;}

/* Расширенная информация для форм.*/
.form_align{
	max-width:30%;
}

.form_align td{
	border:0px;
	text-align:center;
	vertical-align:top;
	padding:0px;
}

.form_align td.info{
	padding:10px 0px 0px 10px;
	text-align:left;
	width:130px;
}

.form_align td.info table.dex_data td{
	border:1px solid #ccc;
	padding: 3px 8px;
}

.dex_search{
	padding:0px 40px;
}

.dex_data_list{
	border-collapse:separate;
	border-spacing:1px;
}

.dex_data_list td{
	text-align:center;
	padding:3px;
	vertical-align:middle;
}

.dex_data_list .lighter{
	background-color:#F0F3FF;
}

.dex_data_list .darker{
	background-color:#DBDCFF;
}

.dex_data_list .bold{
	font-weight:bold;
}

/* Стили плашки с эвентами карточной игры*/
#game_events {
	float:left;
	margin-right:-200px;
	text-align:right;
	background-color:#FDE5CD;
	border:3px solid #FFCC99;
}

#game_events img {
	margin:-27px 0px -15px -2px;
}

#game_events .last{
	background-color:#fff;
	width:32px;
	text-align:center;
	padding:2px;
}

#game_season_time{
	float: right;
    margin: -98px 5px 0px 0px;
    position: relative;
    bottom: -28px;
}

#game_season_time img{
	width: 120px;
}

/* Стили декса 2025 */
.game_switcher{padding:.2rem;}
.game_switcher a{
	width: 100%;
	display: block;
	font-size: 1.1rem;
	color: #fff;
	text-decoration:none;
}
#small_game_switcher{width:100%; text-align: center; padding:.3rem;}

.game_switcher_dp a, .sm_game_switcher_dp, #small_game_switcher option.dp{color:#baf2ff; background-color: #9239bf;}
.game_switcher_dp a{border:.2rem solid #9239bf;}
.game_switcher_dp a.selected{background-color: #fff; color:#9239bf; font-weight: bold;}
.game_switcher_dp a.selected:hover{background-color: #9239bf; color:#baf2ff; font-weight: bold;}

.game_switcher_pt a, .sm_game_switcher_pt, #small_game_switcher option.pt{background-color: #897270;}
.game_switcher_pt a{border:.2rem solid #897270;}
.game_switcher_pt a.selected{background-color: #fff; color:#897270; font-weight: bold;}
.game_switcher_pt a.selected:hover{background-color: #897270; color:#fff;}

.game_switcher_hgss a, .sm_game_switcher_hgss, #small_game_switcher option.hgss{background-color: #8482a3; color:#fff93e;}
.game_switcher_hgss a{border:.2rem solid #8482a3;}
.game_switcher_hgss a.selected{background-color: #fff; color:#8482a3; font-weight: bold;}
.game_switcher_hgss a.selected:hover{background-color: #8482a3; color:#fff93e;}

.game_switcher_bw a, .sm_game_switcher_bw, #small_game_switcher option.bw{background-color:#000; color:#fff;}
.game_switcher_bw a{border:.2rem solid #000;}
.game_switcher_bw a.selected{background-color: #fff; color:#000; font-weight: bold;}
.game_switcher_bw a.selected:hover{background-color: #000; color:#fff;}

.game_switcher_b2w2 a, .sm_game_switcher_b2w2, #small_game_switcher option.b2w2{background-color:#004c79; color:#ff9143;}
.game_switcher_b2w2 a{border:.2rem solid #004c79;}
.game_switcher_b2w2 a.selected{background-color: #fff; color:#004c79; font-weight: bold;}
.game_switcher_b2w2 a.selected:hover{background-color: #004c79; color:#ff9143;}

.game_switcher_xy a, .sm_game_switcher_xy, #small_game_switcher option.xy{background-color:#3159b3; color:#fb9e9e;}
.game_switcher_xy a{border:.2rem solid #3159b3;}
.game_switcher_xy a.selected{background-color: #fff; color:#3159b3; font-weight: bold;}
.game_switcher_xy a.selected:hover{background-color: #3159b3; color:#fb9e9e;}

.game_switcher_oras a, .sm_game_switcher_oras, #small_game_switcher option.oras{background-color:#b50000; color:#b4cbff;}
.game_switcher_oras a{border:.2rem solid #b50000;}
.game_switcher_oras a.selected{background-color: #fff; color:#b50000; font-weight: bold;}
.game_switcher_oras a.selected:hover{background-color: #b50000; color:#b4cbff;}

.game_switcher_sm a, .sm_game_switcher_sm, #small_game_switcher option.sm{background-color:#2d72c7; color:#ffd494;}
.game_switcher_sm a{border:.2rem solid #2d72c7;}
.game_switcher_sm a.selected{background-color: #fff; color:#2d72c7; font-weight: bold;}
.game_switcher_sm a.selected:hover{background-color: #2d72c7; color:#ffd494;}

.game_switcher_usum a, .sm_game_switcher_usum, #small_game_switcher option.usum{background-color:#005fd3; color:#ffb039;}
.game_switcher_usum a{border:.2rem solid #005fd3;}
.game_switcher_usum a.selected{background-color: #fff; color:#005fd3; font-weight: bold;}
.game_switcher_usum a.selected:hover{background-color: #005fd3; color:#ffb039;}

.game_switcher_ss a, .sm_game_switcher_ss, #small_game_switcher option.ss{background-color:#bf0202; color:#a1fdf5;}
.game_switcher_ss a{border:.2rem solid #bf0202;}
.game_switcher_ss a.selected{background-color: #fff; color:#bf0202; font-weight: bold;}
.game_switcher_ss a.selected:hover{background-color: #bf0202; color:#a1fdf5;}

/*Корректировка стилей декса для разных экранов.*/
@media(min-width:1501px){
	#big_game_switcher{display:flex;}
	#medium_game_switcher{display:none;}
	#small_dex_header{display:none;}
}
@media(min-width:768px) and (max-width:1500px){
    #big_game_switcher{display:none;}
	#medium_game_switcher{display:flex;}
	#small_dex_header{display:none;}
}
@media(max-width:767px){
    #big_game_switcher{display:none;}
	#medium_game_switcher{display:none;}
	#small_dex_header{display:flex;}
}