body {
    font: 9pt Arial, Tahoma, Helvetica, sans-serif;
    margin: 0px 5px 0px 5px;
    background-color: #C0C0C0;
    color: #333333;
    }

#maincontainer {
    margin: 0 auto; width: 1023px;
    position:relative;Xz-index:2;background-color:#c0c0c0;text-align:left;
    -moz-box-shadow:0 0 17px #212121;-webkit-box-shadow:0 0 17px #212121;box-shadow:0 0 17px #212121;
}

td, p {font: 9pt Arial, Tahoma, Helvetica, sans-serif;}

#banner_rast2 {
    width: 100%;
    height: 60px;
}

#top_links {
    background-color: black;
    padding: 10px;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    color: white;
    }

td.top_links {
    color: #eba02b;
    }

A, A:visited {
    color: #003399;
    font-size: 9pt;
    }

A.top_links, A.top_links:visited {
    font-weight: bold;
    color: white;
    }

A.switch {
    border-bottom: 1px dotted black;
    text-decoration: none;
}
.region_select {
    margin: -5px 0px 10px 0px;
}
    
#main_links {
    background-color: black;
    padding-left: 10px;
    color: white;
    height: 27px;
    font-weight: bold;
    position: relative;
    }

#main_links_adv {
    position: absolute;
    right: 0px;
    top: -5px;
    }

#main_links .subscribe {
    float: right;
    margin-right: 5px;
    color: #FEEAC7!important;
    }

.empty_gif {position: absolute;}

#main_links A {
    color: white;
    text-decoration: none;
    }
    
#centerTable, #centerTable2 {
    border-top: 10px solid white;
    border-bottom: 10px solid white;
    background-color: white;
    }

#bannerTable {
    border: 10px solid white;
    border-top: 0px;
    background-color: white;
    }

#copyright {
    border: 10px solid white;
    border-top: 0px;
    background-color: white;
    }

#copyright a, #copyright a:visited {
    color: black;
    font-size: 8pt;
    }

#links {
    padding: 10px;
    border-top: 1px solid #E5E5E5;
    background-color: white;
    }
#links a, #links a:visited {
    font-size: 8pt;
    }

#bannerTable td {
    padding: 10px;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    }

#bannerTable2 td {
    border: 0px;
    padding: 0px;
    }

.leftColumn {
    background-color: white;
    padding: 0px 10px;
    border-right: 1px solid #E5E5E5;
    width: 165px;
    }
    
.centerColumn {
    background-color: white;
    padding: 0px 10px;
    border-right: 0px solid #E5E5E5;
    position: relative;
    }
    
.rightColumn {
    background-color: white;
    padding: 0px 5px;
    border-left: 1px solid #E5E5E5;
    width: 240px;
    }
    
h1 {
    font-size: 14pt;
    border-bottom: 3px solid #990000;
    margin: 0px 0px 10px 0px;
    padding: 0px;
    }

h2 {
    font-size: 13pt !important;
    margin: 10px 0px 3px;
    }
h2 a {
    font-size: 13pt;
    }
h4 {
    font: 25px 'robotocondensed', sans-serif; border: 0; 
    margin: 10px 0px;
    }
.list_item {
    margin-bottom: 5px;
    }

.list_subtitle {
    font-weight: bold;
    margin: 10px 0px 5px;
    }

.banner {margin-bottom: 5px;}

.main_artlist {
    color: #660000;
    padding : 0px 0px 0px 0px;
    margin: 10px 0px 10px 15px;
    list-style-type: disc;
    list-style-position: outside;
    }
.main_artitem {
    margin-bottom: 3px;
    }
sup, .main_arttext {
    color: #a5a5a5;
    }

sup {
    margin-left: 2px;
    }

.video_item {
    display: inline; 
    float: left; 
    width: 320px;
    height: 280px;
    margin-top: 10px;
    margin-right: 10px;
    overflow-y:hidden;

    }
.photo_item {
    display: block; 
    float: left; 
    width: 250px;
    margin-bottom: 10px;
    }
.photo {
    border: 1px solid black;
    margin: 0px;
    }

.userphotos {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background-color: #f1eeeb;
    padding: 10px;
    }

.main_allphotos {
    color: #003399;
    padding : 0px 0px 0px 0px;
    margin: 0px 0px 0px 15px;
    list-style-type: disc;
    list-style-position: outside;
    }

.inp_reg {
    border: 1px solid #a9a9a9;
    width: 135px;
    }
    
.inp_my {
    border: 1px solid #a9a9a9;
    width: 95%;
    }
    
.box    {
    border: 1px solid #a9a9a9;
    padding: 10px;
    }

.input {
    border: 1px solid #a9a9a9;
    width: 400px;
    }
    
.table {
    margin: 0px;
    }
.table th {
    padding: 10px;
    margin: 1px;
    background-color: #657686;
    color: white;
    font-weight: bold;
    text-align: left;
    }
.table td {
    padding: 10px;
    margin: 1px;
    }
.table td.light {
    background-color: #E8EBED;
    }
.table td.dark {
    background-color: #D0D6DA;
    }
    
.nav_bar {
    margin: 7px 2px;
    }
    
#commentinput .input {
    border: 1px solid #a9a9a9;
    width: 400px;
    }
#commentinput textarea.input {
    height: 250px;
    }
    
.table_light {
    background-color: #E8EBED;
}
.table_dark {
    background-color: white;
}
.table_header {
    background-color: #657686;
    padding: 4px;
    color: white;
    font-weight: bold;
    font-size: 120%;
}
TD.title {
    font-weight: bold;
    font-size: 120%;
    padding-top: 10px;
}

.action_done {
    background-color: #FFCB97;
    padding: 0px 10px;
}
.action_wait {
    background-color: #F9EAD5;
    padding: 0px 10px;
}
.action_error {
    background-color: red;
    color: white;
    padding: 0px 10px;
}



.calendar {
    margin-left: -10px;
    margin-right: -10px;
    }
.notthismonth {
    background-color: #E8EBED;
    color: white;
    padding: 3px;
    }
.table_header A, .table_header A:visited {
    color: white;
    text-decoration: none;
    }

.thismonth {
    border: 1px solid #D0D6DA;
    width: 14%;
    height: 100px;
    padding: 3px;
    }
    
.thismonth A {
    font-size: 8pt !important;
    }

.calendar_sm {
    border-collapse: collapse;
    }
.calend_sm {
    border: 1px solid #D0D6DA;
    width: 14%;
    text-align: center;
    }

div.calendar_entry {
    margin-bottom: 6px;
    }

div.tags {
    margin: 0px 0px;
    padding: 0px 0px;
    text-align: center;
}

a.tags {
    text-decoration: none;
    color: black;
}
a.tags:hover {
    text-decoration: underline;
}

.tag1 {
    font-size: 100% ! important;
}
.tag2 {
    font-size: 100% ! important; font-weight: bold ! important;
}
.tag3 {
    font-size: 120% ! important;
}
.tag4 {
    font-size: 120% ! important; font-weight: bold ! important;
}
.tag5 {
    font-size: 150% ! important;
}

.taga1 {
    color: #BFBFBF ! important;
}
.taga2 {
    color: #9E9E9E ! important;
}
.taga3 {
    color: #727272 ! important;
}
.taga4 {
    color: #3E3E3E ! important;
}
.taga5 {
    color: black ! important;
}

div.all {
    clear: both;
    margin-bottom: 10px;
    text-align: right;
}

.showpic {
border:10px solid #5c6c7a;
-moz-border-radius: 10px; -webkit-border-radius: 10px; -o-border-radius: 10px; border-radius: 10px;
}


.red { color: red; }
.green { color: green; }

.forum_form div {
margin-bottom: 20px;
}

.forum_form div input, .forum_form div select, .forum_form div textarea {
width: 100%;
}
.forum_form div input.checkbox {
width: 10px;
}
.forum_form div input.button {
width: 300px;
font-size: 170%;
}

.comments_subscr {
padding: 20px;
margin: 20px;
background-color: #EEE;
}
.comments_subscr td{
padding-right: 20px;
}

.forum_tags {
padding: 20px;
margin: 20px;
background-color: #EEE;
}

.forum_tags td {
width: 50%;
vertical-align: top;
}

.comment {
color: #777;
}

.comment A {
color: #7E87AD;
text-decoration: none;
border-bottom: 1px dotted #7E87AD;
}

.comment_new {
background-color: #ffcccc;
padding: 5px;
}

.forum_tags B A {
color: black;
text-decoration: none;
border-bottom: 1px dotted #7E87AD;
}

.forum_entry {
margin-bottom: 20px;
margin-left: 20px;
}
.forum_entry .title, .forum_entry .title A {
font-size: 16pt;
}
.forum_entry .title {
font-size: 16pt;
margin-left: -20px;
}
A.forum_theme {
color: #990000;
}
.forum_panel {
border: 1px solid #DDD;
padding: 5px;
margin: 5px 0px 5px -5px;
}

.forum_actions2 A {
font-size: 13pt;
background-color: #EEE;
padding: 5px 20px;
#margin-left: 20px;
}

    ul.forum_actions2 {
        margin: 0 0 20px 20px;
        padding: 0;
        list-style: none;
        text-align: justify;
        
        /* Обнуляем для родителя*/
        line-height: 0;
        font-size: 1px; /* 1px для Opera */
        
        /* Лекарство для IE6-7*/        
        text-justify: newspaper;
        zoom:1;
        
        /* Включаем в работу последнюю строку*/     
        text-align-last: justify;   
    }
    ul.forum_actions2:after {
            width: 100%; 
            height: 0px;
            visibility: hidden;
            overflow: hidden;
            content: '';
            display: inline-block;

    }
        ul.forum_actions2 li  {
            display: inline-block;
            text-align: left;
            
            /* Востанавливаем у потомков, кроме последнего*/
            line-height: normal;
            font-size: 13pt;
            
            /* Без него в Opera будет отступ под элементами */
            vertical-align: top; 
            
            /* эмуляция inline-block для IE6-7*/
            //display : inline;
            //zoom : 1;
        }


.forum_entry p a img, .forum_entry a img {
border: 0px;
}

.forum_search, .forum_search input { 
text-align: right;
margin-bottom: 10px;
}
.forum_search input, .forum_search select { 
font-size: 150%;
text-align: left;
}

.thumbs {
font-size: 120%;
}
.thumb_up {
color: #479544;
}
.thumb_down {
color: #8a6767;
}

.plus {
color: #990000;
}

.redlink {
    color: white;
}

.comment_action {
    padding-left: 20px;
}

.comment_action_up {
    background: url("/img/photo/thumb_up.gif") no-repeat ;
}

.comment_content {
    margin-left: 57px;
}
.comment_photo {
    float: left; 
    width: 50px; height: 50px;
    overflow: hidden;
    margin-right: 5px; text-align: right;
    border: 1px solid #888;
    position: relative;
}
.comment_photo IMG {position: absolute;}

.title_rss {
    float: right;
    margin-top: 5px;
}

.share {
    float: right; width: 300px; text-align: right; margin-right: 20px;
}
.share img {vertical-align: middle;}


.form TD {padding:0 0 0 5px;}
.form .vt {
padding-top:3px;
vertical-align:top;
}
.form .input {width:100%;}
.form .tablesel {width:100%;}
.form .text {width:100%;}
.form .textarea {width:100%;}
.form .file {width:100%;}
.form .add_form {
margin:0 0 5px 0;
font-size:85%;
}
.form TEXTAREA.input {height:100px;}
.form #td2_options DIV {font-size:90%;}
.form #td2_options DIV.options {
margin:3px 0 5px;
font-size:100%;
}

.market_photos { margin-bottom: 20px; }
.market_photos IMG { width: 100%; border: 1px solid #ccc;  box-sizing: border-box;}

.market_photos_small { 
}

.market_photos_small IMG {
    margin: 5px 5px 5px 0;  border: 1px solid #ccc; box-sizing: border-box;
}

.market_photos_small IMG.selected {
    opacity : 0.4;
    filter: alpha(opacity=40); // msie
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=40);
    -moz-opacity: 0.4;
    -khtml-opacity: 0.4;
}

.market_ad_photos IMG {
    float: left;
    height: 75px;
    cursor: pointer;
    border: 3px solid white;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}

.market_ad_photos IMG.selected {
    border: 3px solid #003399;
}

.market_ads_form P {
    font-size: 14px;
    clear: both;
    margin-top: 20px;
}

.market_ads_selection {cursor: pointer; padding: 2px;}
.market_ads_selection:hover {background-color: #DDD;}

.market_ads_here {text-align: center; margin: 10px;}
.market_ads_here A {color: #990000!important; font-weight: bold;}

A.turnoff {background-color: #990000; color: white; padding: 2px; text-decoration: none;}

.market_descr td {
    padding: 10px;
}

DIV.clear, P.clear {clear: both;}
.clear_left {clear: left;}
.hidden {display: none;}

.market_hot {margin:15px 0 15px 0; clear: both;} HTML>BODY .market_hot {margin-left:0;}
.market_hot .offer, .market_ads_block {
display:inline;
width:160px;
height:250px;
margin:0 8px 20px;
font-size:90%;
vertical-align:top;
position: relative;
}

.market_ads_block {
    box-sizing: border-box;
    border: 1px solid #990000;
    width: 165px;
    height:200px;
    padding: 5px;
    margin: 10px 0px;
}

HTML>BODY .market_hot .offer, .market_ads_block {
float:left;
overflow:hidden;
}
.market_hot .offer P, .market_ads_block P {margin:0;}
.market_hot .offer .country, .market_ads_block .country {
margin:5px 0;
font-size:120%;
font-weight:bold;
color:#990000;
text-align: center; 
}
.market_hot .offer .country A, .market_ads_block .country A {color:#990000;}
.market_hot .offer .notActive { color: red; text-align: center;}
.market_hot .offer .price, .market_ads_block .price {
padding:5px 8px;
background-color:#ffffcc;
font-weight:bold;
text-align: center; 
}
.market_hot .offer .name, .market_ads_block .name {
margin:7px 0 5px;
font-weight:bold;
color:#999;
}
.market_hot .offer .desc A, .market_ads_block .desc A {
color:#000;
text-decoration:none;
}
.market_hot .offer .desc A:hover {text-decoration:none!important;}

.market_hot .offer .market_photo_list, .market_ads_block .market_photo_list {text-align: center; margin: 5px 0px;}

.market_cat {clear: both; margin-bottom: 20px;}
.market_cat A {text-decoration:none;}
.market_cat A:hover {color:#932000!important;text-decoration:underline;}
.market_cat .sector {display:inline-block;width:49%;margin:0 0 25px 0;vertical-align:top;}
.market_cat .sector TD.img {width:60px;padding:0 0 0 13px;vertical-align:top;}
.market_cat .sector IMG {margin:2px 10px 0 0;}
.market_cat .sector .title {margin:0 13px 0 0;font-size:125%;font-weight:bold;color:#036;line-height:15px;}
.market_cat .sector .title A {color:#036;}
.market_cat .subsectors {margin:0 13px 0 0;font-size:95%;}

.rightColumn .market_cat {width:240px;margin:0 0 3em 0;overflow:hidden;}
.rightColumn .market_cat A {text-decoration:none;}
.rightColumn .market_cat A:hover {color:#932000!important;text-decoration:underline;}
.rightColumn .market_cat .sector {display:inline-block;width:100%;margin:0 0 15px 0;vertical-align:top;}
.rightColumn .market_cat .sector TD.img {display:none;}
.rightColumn .market_cat .sector .title {margin:0;font-size:100%;font-weight:bold;color:#036;line-height:15px;}
.rightColumn .market_cat .sector .title A {color:#036;}
.rightColumn .market_cat .subsectors {margin:0;font-size:95%;}

.market_title IMG {margin: 7px 3px; vertical-align: top;}

.ht_section {
    width: 100%;
}
.ht_section TD {
    vertical-align: bottom;
}
div.dotted {
    border-bottom: 1px dotted black;
}
.market_catalog_cnt {
    width: 30px;
    text-align: right;
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 1000;
}
.ht_section TD B, .ht_section TD A {
    border-bottom: 1px solid white;
    padding-right: 3px;
}

#ht_actions_box {position: relative; float:right; z-index: 100;}
#ht_actions {position: absolute; background-color: white; padding: 10px; border: 1px solid #333;}
#ht_actions UL {margin: 0; padding-left: 20px;}

.market_form .title {margin-top:20px; margin-bottom: 5px; font-size: 15px; color: #666;}
.market_form .input {border: 0; width: 100%;}
.market_form .input input[type=text] {width: 100%;}
.market_form .input textarea {width: 100%;}

.market_form .add_photo {float: left; height: 160px; width: 175px; margin: 0;}
.market_form .add_photo span {font-size: 90px; padding: 35px 45px 40px 40px; line-height: 160px;}
.market_form .add_photo:hover span.add {background-color: #eee; border-radius: 10px; color: black;}
.market_form .add_photo span IMG {margin: 20px;}

.market_form .photos {margin: 5px 0 20px 0;}
.market_form .photos .entry {float: left; position: relative; margin: 0 10px 10px 0;}
.market_form .photos .entry .remove {
    position: absolute; top: 5px; right: 2px; display: none; cursor: pointer; 
    font-size: 20px;
}
.market_form .photos .entry:hover .remove {display: block;}
.market_form .photos .entry IMG {height: 160px; }

.market_form .input.submit {clear: both; margin-top: 20px;}

.market_actions {float: right; margin-bottom: 10px;}

.market_multiply p, .market_multiply A {font-size: 17px;}
.market_multiply table {  margin: 20px auto; }
.market_multiply table th { padding: 10px; font-size: 17px;}
.market_multiply table td { text-align: center;}
.market_multiply p img {float: right; margin-left: 10px; width: 204px;}
.
.poll_result DIV {
    height: 2px;
    background-color: red;
}
.poll_result {
    margin: 5px 20px 10px 25px;
}

.zakladki span {
    padding: 2px 10px;
}
.zakladki span A, A.pedigree_link {
    border-bottom: 1px dotted #003399;
    text-decoration: none;
}
.zakladki span.current {
    background-color: #CCC;
}
.zakladki span.current A {
    border-bottom: 0px;
}
.zakladki .like {
    color: #ccc; cursor: pointer;
}
.zakladki .like:hover, .zakladki .like.like_selected {color: red!important;}

.opinions_poll {float:right;margin:3px 0 0 0;padding:0;font-size:100%;font-weight:bold;}
.opinions_poll IMG {border: none; vertical-align: middle; }
.opinions_poll .up {color:#090;}
.opinions_poll .down {color:#900;}
.opinions_poll SPAN {cursor:help;}

.opinions_poll A.vote_up {display:inline-block;width:15px;height:14px;margin:0 5px;background:url(/img/op_arrow.gif) no-repeat 0 0;font-size:12px;}
.opinions_poll A.vote_down {display:inline-block;width:15px;height:14px;background:url(/img/op_arrow.gif) no-repeat -15px 0;font-size:12px;}
.opinions_poll A.vote_none {display:inline-block;width:35px;height:14px;margin:0 0 0 5px;background:url(/img/op_arrow_none.gif) no-repeat 0 0;font-size:12px;}
.opinions_poll A:hover.vote_up {background-position:0 -14px;}
.opinions_poll A:hover.vote_down {background-position:-15px -14px;}

.comment_hidden A {text-decoration: none; border-bottom: 1px dotted #AAA; color: #AAA;}
.comment_text, .comment_hidden {margin: 5px 0;}

#voices_left {float:right; width: 300px;text-align:right;}

.contest {width: 100%;}
.contest .work_small {height: 250px; position: relative;}
.contest .work_small IMG {position: absolute; bottom: 0px;cursor:url(/img/global/zoom.cur), pointer;}
.contest .work_large {position: absolute;}
.contest .work_large IMG {cursor: pointer; border: 1px solid black;}
.contest TD {width: 50%; vertical-align: top; }
.contest .author {font-weight: bold;}
.contest .vote {font-weight: bold;}
.contest .vote input {vertical-align: text-top;}
.contest .interview {margin: 5px; padding: 15px; background-color: #EEE; font-style: italic;}


#photo_block {background-color: white; padding: 10px; }

.photolist .entry { float: left; width: 100px; margin-right: 20px; margin-bottom: 20px; border: 1px solid #999; height: 100px; position: relative; }
.photolist .entry .img { width: 96px; height: 96px; overflow: hidden; margin: 2px 0px 0px 2px;}
.photolist .entry .comments {position: absolute; left: 3px; top: 5px;}
.photolist .nofloat {clear: both;}
.photolist .authors, .photolist .photobank {clear: left; font-size: 120%; margin-bottom: 20px; margin-top: 10px;}
.photolist .rels {float: right; width: auto; border-left: 1px solid #A9A9A9; padding-left: 10px; margin: 0 0 10px 10px;}
.photolist .rels h2 {margin-top: 0px;}
.photolist .all {clear: both; text-align: left;}


/* пузырь с комментами */
.commmm {margin:0 0 0 5px;}
.commmm SPAN {font:9px Tahoma!important;font-weight:normal;}
.commmm A {font-size: 9px!important; color:black!important;text-decoration:none!important;}
.commmm SPAN.op_ved {position:relative;}
.commmm SPAN.op_ved A {font-size: 9px!important; padding:0 2px 0 7px;background:url(/img/comments_left.gif) no-repeat 0 bottom!important;}
.commmm SPAN.op_ved SPAN {background:url(/img/comments_right.gif) no-repeat 0 bottom!important;}
.commmm SPAN.none {margin:0 2px 0 0;padding:0 1px 0 0;background:url(/img/comments_none.gif) no-repeat 0 bottom!important;}
.gecko .commmm SPAN {height:12px;display:inline-block;}
.gecko .commmm SPAN A {font-size: 9px!important; height:12px;display:inline-block;}
.win.gecko .commmm SPAN {height:11px;display:inline-block;}
.win.gecko .commmm SPAN A {font-size: 9px!important; height:11px;display:inline-block;}


.gallery .pics {width:100%;margin:1.5em 0 0 0;padding:24px 0 0px;background-color:#F8F6F0;/* border-top:20px solid #fff; */text-align:center;}
.gallery .pics TABLE {width:100%;}
.gallery .pics TD {color:#525252;}
.gallery .arrows {position:relative;margin:0 auto;text-align:center; z-index: 600;}
.gallery .arrows .descr {
    position: absolute; width: 100%; height: auto; bottom: 0px!important; top: auto; text-align: left;
    z-index: 500;
    padding: 0px;
    height: auto;
    background-color: white;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
    }
.gallery .descr table {width: auto; }
.gallery .arrows .descr DIV { position: static; padding: 10px; width: auto;}
.gallery .arrows DIV {position:absolute;top:0;width:50px;height:100%;}
.gallery .arrows DIV#arrow_left {left:0;}
.gallery .arrows DIV#arrow_right {right:0;}
.gallery .arrows DIV.arrow_left {background:url(/img/foto_arrow_left.png) no-repeat left center;}
.gallery .arrows DIV.arrow_right {background:url(/img/foto_arrow_right.png) no-repeat right center;}
.gallery .arrows DIV.arrow_none {}
.gallery IMG#empty_image {position:absolute; top:0; left: 0; z-index: 300;}
.gallery .pics .navig {position:relative;width:100%;}
.gallery .pics .navig IMG {border:0px solid #333;}
.gallery .pics .navig .prev {z-index: 400; position:absolute;display:block;top:0;left:0;width:49%;height:100%;cursor:url(/img/previous.cur), pointer;text-decoration:none!important;background:url(/img/px.gif) repeat 0 0;}
.gallery .pics .navig .next {z-index: 400; position:absolute;display:block;top:0;right:0;width:49%;height:100%;cursor:url(/img/next.cur), pointer;text-decoration:none!important;background:url(/img/px.gif) repeat 0 0;}
.gallery .pics_info {color:#525252;margin:0 auto;}

.photo_upload {margin: 20px 10%;}
.photo_upload_rules {margin: 20px;}
.photo_upload_rules li { margin-bottom: 10px; }

.login_thru {margin-left: 15px;}
.login_thru IMG {margin: 0 5px 5px 0; vertical-align: middle;}

table.adv {border-collapse: collapse;border-top: 2px solid #DADADA; width: 100%;}
table.adv th {border-bottom: 2px solid #DADADA; padding: 5px 0; font-weight: normal;}
table.adv td {border-bottom: 1px solid #DADADA; padding: 5px 0;}
table.adv td.price {text-align: center;}
div.adv h2 {margin-top: 30px;}

.nolink {text-decoration: none; border-bottom: 1px dotted #003399;}
.nodecor {text-decoration: none;}
.disabled {disabled: true;}

td.number {text-align: right;}


.rounded-box {
    background-size: 10px 100%;
    border-radius: 8px;
    box-shadow: 0 1px 3px #999;
    margin: 2px 3px 4px;
    padding: 20px;
    *border: 2px solid #eee;
    *margin: 0;
    width:auto;
    
}

.rounded-link {
    background-size: 10px 100%;
    border-radius: 3px;
    padding: 2px 4px;
}

.zakl_grad {position:relative;padding:0 6px; height: 15px; margin-bottom: 20px;}
.zakl_grad UL {position:absolute;bottom:-1px;list-style-type:none;list-style-image:none;list-style-position:outside;width:100%;margin:0;padding:0;overflow:hidden;zoom:1;}
.zakl_grad LI {float:left;margin:0 4px;padding:5px 6px;}
.zakl_grad LI.current {padding:5px 10px;background:#fff;background:-moz-linear-gradient(top, #d1cecc, #fff);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#d1cecc), color-stop(100%,#fff));background:-webkit-linear-gradient(top, #d1cecc, #fff);background:-o-linear-gradient(top, #d1cecc, #fff);background:linear-gradient(top, #d1cecc, #fff);border:1px solid #fff;border-bottom:none;border-radius:4px 4px 0 0;-moz-box-shadow:0 0 6px #3c3b3a;-webkit-box-shadow:0 0 6px #3c3b3a;box-shadow:0 0 6px #3c3b3a;}

.zakl_grad A {border-bottom:1px dotted #036;color:#036;text-decoration:none;line-height:.9em;display:inline-block;}
.zakl_grad A:hover {border-color:#923000;color:#923000;}
.zakl_grad LI.current A {border:none;font-weight:bold;color:#262626;}

.search_results A {font-size: 130%!important;}
.search_results OL {list-style-position:outside; padding-left: 20px; margin: 20px 0px;}
.search_results LI {margin-bottom: 10px; }
.search_results .date {color: #555; font-size: 110%!important;}


#search_additional {border-radius: 4px; position: relative; border: 1px solid #999; padding: 2px; margin: 0 0 10px 10px; float: right; width: 1px;}
#search_additional IMG {margin: 2px; border: 0;}
#search_additional .nav {position: absolute; right: 2px; width: auto; background-color: #EEE; box-shadow: 0px 0px 3px #999; padding: 0 2px;}
#large_photo {position: absolute; padding: 5px; border: 1px solid #999; background-color: white; }
#large_photo IMG {border: 0;}

#side_info {float: right; width: 400px; margin: 0 0 10px 10px;}
.side_info_entry {margin-bottom: 10px;}

#advanced_options {margin-top: 10px;}
#advanced_options label { width: 24%; float: left;}


#rating_dates select { float: right; }
#rating_current_period {font-size: 130%; margin-top: 20px; font-weight: bold;}
UL#rating_groups {list-style-type: none; list-style-image: none; border-bottom: 1px solid #999; padding: 0 0 5px 0;}
UL#rating_groups LI {display:inline-block; margin-right: 10px;}
UL#rating_groups LI A {  font-size: 130%; text-decoration: none; border-bottom: 1px dotted #003399; }
UL#rating_groups LI A.current, A.current {  border-bottom: 0; font-weight: bold; text-decoration: none;}

table.ratings {width: 100%;}
table.ratings .number {text-align: right;}
table.ratings .rating_ch {margin-left: 5px; font-size: 80%; }
table.ratings .up {color: green;}
table.ratings .down {color: red;}
table.ratings .moreinfo {color: #999; border-bottom: 1px dotted #999; }

table.ratings .rating_info_event TD {padding-top: 5px; }
table.ratings .rating_info TD, table.ratings .rating_info TD A {font-style: italic; color: black;}
table.ratings .rating_info TD {padding-left: 10px; }

table.ratings TR.new TD , table.ratings TR.new TD A {color: green;}
table.ratings TR.old TD , table.ratings TR.old TD A {color: #999; text-decoration: line-through; }

OL.rating_descr_list OL {margin-top: 5px;}
OL.rating_descr_list OL LI {font-size: 9pt;}
OL.rating_descr_list > LI {font-size: 130%; margin-bottom: 20px;}
OL.rating_descr_list TABLE {border-collapse: collapse; margin: 5px 0;}
OL.rating_descr_list TABLE TD, OL.rating_descr_list TABLE TH {border: 1px solid #999; padding: 2px;}

.events_announced { 
    margin-bottom: 15px; 
    background-color: #FFFFD9;
    background-size: 10px 100%;
    border-radius: 8px;
    box-shadow: 1px 1px 3px #999;
    padding: 10px;
}

.sport_hof div {float: right; color: white; margin:5px; padding-top: 35px; margin-right: 75px;
                font:30px Arial, serif; font-weight: bold;
                background-repeat: no-repeat; width: 100px; height: 150px; text-align: center;}
.sport_hof div.h160 { background-image: url(/img/sport/rosette-160-m.png); }
.sport_hof div.h150 { background-image: url(/img/sport/rosette-150-m.png); }

.sport_registry div {float: right; margin:5px; width: 82px; height: 100px;}
.sport_registry div IMG {max-width: 100%; max-height: 100%;}

.registry {color:#333; margin: 0 130px 0px 130px;}
.registry P {font-size: 120%; margin: 20px;}
.registry P A {font-size: 100%;}
.registry h1 {font:525% Georgia, serif; font-weight: normal; line-height: 0.9em;margin: 25px 0; border: 0;}
.registry h2 {font:190% Georgia, serif!important; font-weight: normal; line-height: 1em; margin-top: 30px;}

.registry li {font-size:120%; list-style-position: outside;}

.registry .img {width: 740px;}
.registry .img div {font-size: 120%; height: 300px; width: auto; text-align: center; float: left; margin-left: 5px;}
.registry .img IMG {max-height: 230px; border-radius: 5px; margin-bottom: 5px;}
.registry .img div:first-child {margin-left: 0px;}

.registry .example {margin-right: -100px; float: right; width: 100px;}
.registry .example IMG {max-width: 100%;}

.registry A.large {font-size: 120%; text-decoration: none; border-bottom: 1px dotted blue;}
.registry table {margin: 20px; border-collapse: collapse;}
.registry table TD, .registry table TH {font-size: 120%; padding: 5px; text-align: center; border: 1px solid #EEE;}
.registry TABLE TD A {font-size: 120%; text-decoration: none; border-bottom: 1px dotted blue;}

.registry input.nodecor {border: 0; margin-top: 5px;}

.registry_list {position: relative; }
.registry_list .classes {position: absolute; left: 0; top: 0; width: 150px; text-align: right; padding-right: 15px;}
.registry_list .classes .class {margin-bottom: 20px; padding-right: 10px;}
.registry_list .classes .class IMG {height: 30px; vertical-align: middle; margin-left: 5px;}
.registry_list .classes .class:last-child {margin-bottom: 0px;}
.registry_list .classes A {color: black; font-size: 30px; font-family: 'robotocondensed', sans-serif; text-decoration: none;}
.registry_list .classes A.current { color: #999; }

.registry_list .current_class { width: 150px; }
.registry_list .current_class IMG { width: 150px; }

.registry_list .list { margin-left: 150px; }
.registry_list .list DIV { width: 240px; float: left; margin: 0 20px 20px;}
.registry_list .list A { text-decoration: none; color: black; font-size: 20px;}
.registry_list .list A:hover { text-decoration: underline; }

.registry_list H2 {margin-left: 170px; margin-bottom: 30px;}

.registry_list .list .riderimage {float: left; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; margin: -4px 5px 0 0;}
.registry_list .list .riderimage IMG {max-width: 100%;}

.registry.adl-fs h1 {margin: 0 -20px;}
.registry.adl-fs h1 .quot {margin-left: -37px;}

.hall_of_fame {margin: 20px 0;}
.hall_of_fame A {font-size: 140%;}
.hall_of_fame TD.name {text-align: center;}
.hall_of_fame .number {font-size: 160%; text-align: center;}
.hall_of_fame .sport_hof div {font-size: 25px!important;}

.hall_of_fame td div.portrait {width: 75px; height:75px; overflow: hidden; position: relative;}
.hall_of_fame td div.portrait IMG {position: absolute; top: 0px;}
.hall_of_fame td div.portrait IMG.baguette {}
.hall_of_fame TABLE {float: left; width: 50%; margin-bottom: 20px;}
.hall_of_fame TD .small {font-size: 60%;}

.events_blocks { margin : 20px 0px;}
.events_blocks .event {
    border: 1px solid #003399;
    border-radius: 5px;
    float: left;
    width: 30%;
    margin-bottom: 20px;
    margin-right: 10px;
    padding: 10px 5px 5px 5px;
    text-align:right;
    height: 100px;
    position: relative;
}
.events_blocks A .event {color: black!important; text-decoration: none!important;}

.events_blocks .event .descr { color: #003399; line-height: 95%;}
.events_blocks .event .date { font-size: 150%; font-weight: bold; }
.events_blocks .event .location { font-style: italic;}
.events_blocks .event .title { font-size: 120%; position: absolute; bottom: 0px; right: 0px; padding: 5px;}

.events_blocks .cup {background: url(/img/sport/events_cup.png) no-repeat 5px center;}
.events_blocks .cup .title {padding-left: 40px;}

.events_blocks .int {background: url(/img/sport/events_int.png) no-repeat 0px center;}
.events_blocks .int .title {padding-left: 40px;}

.btn2_subs {padding:4px 10px 5px;background:#0087bf;background:-moz-linear-gradient(top, #0087bf, #0166a8);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#0087bf), color-stop(100%,#0166a8));background:-webkit-linear-gradient(top, #0087bf, #0166a8);background:-o-linear-gradient(top, #0087bf, #0166a8);background:linear-gradient(top, #0087bf, #0166a8);border:1px solid #0163a6;border-radius:5px;font:115% Tahoma,sans-serif;color:#fff;text-shadow:1px 1px 1px #444;cursor:pointer;}
.btn2_subs:hover {background:#26a4d9;background:-moz-linear-gradient(top, #26a4d9, #2886c4);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#26a4d9), color-stop(100%,#2886c4));background:-webkit-linear-gradient(top, #26a4d9, #2886c4);background:-o-linear-gradient(top, #26a4d9, #2886c4);background:linear-gradient(top, #26a4d9, #2886c4);border-color:#2883c3;}



.block {margin: 20px 0; clear: both;}
.comments_main .comment_preview div {display: inline;}

.entry {margin-bottom: 10px;}

.rating_top div.half {width: 50%; float: left; margin-top: -15px;}

.rating_top TABLE {margin-top: 10px; width: 100%; border-spacing: 0; border-collapse: collapse;}
.rating_top .jumping .others, .rating_top .jumping .right, .rating_top .jumping .group {padding-right: 10px;}
.rating_top .others { clear: right; }

A.selected {border: 0; font-weight: bold;}

.rating_top TD.name A {font-size: 130%;}
.rating_top TD.name {text-align: center;}
.rating_top TD.place {font-size: 130%;}
.rating_top TABLE .number {font-size: 150%; text-align: center;}
.rating_top .others {margin-left: 3px;}
.rating_top .others .number {float: right; width: auto; margin-right: 0px;}

.rating_top td div.portrait {width: 50px; height:50px; overflow: hidden; position: relative;}
.rating_top td div.portrait IMG {position: absolute; top: 0px;}
.rating_top td div.portrait IMG.baguette {width: 52px; height:52px;}
.rating_top TD .small {font-size: 60%;}

.rating_ch {margin-left: 5px; font-size: 80%; }
.up {color: green;}
.down {color: red;}
.right {text-align: right;}

.fancybutton {
   border-top: 1px solid #00263e;
   background: #005a9a;
   background: -webkit-gradient(linear, left top, left bottom, from(#00263e), to(#005a9a));
   background: -webkit-linear-gradient(top, #00263e, #005a9a);
   background: -moz-linear-gradient(top, #00263e, #005a9a);
   background: -ms-linear-gradient(top, #00263e, #005a9a);
   background: -o-linear-gradient(top, #00263e, #005a9a);
   padding: 5px 10px;
   -webkit-border-radius: 3px;
   -moz-border-radius: 3px;
   border-radius: 3px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white!important;
   text-decoration: none;
   vertical-align: middle;
   }
.fancybutton:hover {
   border-top-color: #005a9a;
   background: #005a9a;
   color: white;
}
.fancybutton:active {
   border-top-color: #005a9a;
   background: #005a9a;
}

#maincarusel_cont {overflow:hidden; width: 549px;}
.slider_points {margin:15px 0 0 0;}
    .slider_points A {text-decoration: none; display:block;float:left;width:12px;height:12px;margin:0 6px 0 0;border:1px solid #666;border-radius:8px;}
        .slider_points A:hover {text-decoration:none;}
        .slider_points A.current SPAN,
        .slider_points A:hover SPAN {display:block;width:10px;height:10px;margin:1px 0 0 1px;background-color:#00263e;border-radius:8px;}
#maincarusel UL {
    width:20000em;
    position:absolute;
    list-style:none;
    margin:0;
    padding:0;
}

#maincarusel LI {
    float:left;
    width:549px;
    margin:0 5px 0 0;
}

#ht_actions LI { margin-bottom: 5px; }
#ht_actions LI UL LI { margin-bottom: 0; }

.club .photos {height: 208px;}
.club .photos div.photo {float: left; width: 198px; height: 198px; overflow: hidden; margin: 0 4px 4px 0; border-radius: 3px;}
.club .photos div.photo img {}

.club .photos div.other_photos {position: relative;}
.club .photos div.other_photos div.sm {
    float: left; width: 66px; height: 66px; overflow: hidden; 
    opacity : 0.4;
    filter: alpha(opacity=40); // msie
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=40);
    -moz-opacity: 0.4;
    -khtml-opacity: 0.4;
}
.club .photos div.other_photos .all {position: absolute; left: 0; text-align: center; width: 198px; height: 198px; line-height: 198px;}
.club .photos div.other_photos A {font-size: 12pt; color: black; font-weight: bold;}
.club .category {color: #777; #aeb4b6; font-weight: bold;}
.club .descr {margin-top: 10px;}
.club .contacts div {margin-right: 10px; display: inline;}
.club .category:before { vertical-align: bottom; }

.club .message {width: 526px; border: 2px solid red; border-radius: 5px; padding: 15px; font-size: 17px;box-shadow: 3px 3px 10px #999;}

.club .news .date, .club .news .date A {color: #777;}
.club .news P {margin-top: 0;}

#club_descr {position: relative; width: 566px; border-top: 1px solid #BFBFBF; border-bottom: 1px solid #BFBFBF; background-color: #EEE;}
.club .truncated {height: 100px; overflow: hidden; }
#showmore { position: absolute; bottom: 5px; right: 0; background-color: white;}
.club .truncated .fade { left: 0; }
.club .features {font-weight: bold; width: 270px; float: left; margin-right: 10px;}
.club .features .feature {margin-bottom: 2px;line-height: 1;}
.club .features .feature span {color: #BFBFBF;}

.club H2 {margin-top: 20px;}
.club .events .title {margin-bottom: 5px; margin-left: 17px;}
.club .events A.date {color: #777;}

.club .events SPAN.like:before { vertical-align: bottom; }
.club .events SPAN.like {color: white; cursor: pointer;}
.club .events div:hover SPAN.like {color: #AAA;}
.club .events SPAN.like_selected, .club .events div:hover SPAN.like_selected {color: red;} 

.club .social {margin: 20px 0; width: 566px;}
.club .social DIV {float: left; width: auto; margin-right: 7px; padding: 0 9px;}
.club .social DIV.right {float: right; margin-right: 0px; margin-left: 7px; }

.club .social .button:before {}
.club .social .button { 
    cursor: pointer;
    height: 36px;
    line-height: 36px;
    color: #777; font-size: 20px; border: 1px solid #BFBFBF;     
    border-radius: 3px;
}
.club .social .hearts { }
.club .social .hearts:hover, .club .social .selected { color: red; }

.club .social .save {font-size: 12px; text-transform: uppercase;}
.club .social .save SPAN {font-size: 10px; margin-right: 2px;}
.club .social .save .icon-checkbox-checked {color: #4EB842;}

.club .social .rating {color: white; font-size: 12px; cursor: auto;}
.club .social .rating .rate {font-weight: bold; font-size: 17px;}
.club .social .good {background-color: #4EB842; }
.club .social .bad {background-color: #BD6666;}

.club #userlist { overflow: hidden; margin: 20px 0;}
.club #userlist DIV {float: left; height: 50px; width: 50px; overflow: hidden; margin-right: 5px; border-radius: 50%; }

.club .add_comment {margin: 20px 0;position: relative; width: 566px;}
.club .add_comment DIV {position: absolute; height: 50px; width: 50px; overflow: hidden; margin-right: 5px; border-radius: 50%; }
.club .add_comment SPAN {position: absolute; line-height: 25px; top: 8px; left: 60px; color: #777; font-weight: bold;}
.club .add_comment TEXTAREA, .club .add_comment BUTTON, .club .comment .reply BUTTON {border: 1px solid #BFBFBF; border-radius: 3px; margin: 5px 0 5px 55px;}
.club .add_comment TEXTAREA {width: 480px; height: 25px;}
.club .add_comment BUTTON, .club .comment .reply BUTTON {color: #777; padding: 0 9px; line-height: 36px; height: 36px; text-transform: uppercase; cursor: pointer;}

.comment .reply DIV {float: left; height: 30px; width: 30px; overflow: hidden; border-radius: 50%; margin: 5px 5px 0 0;}
.comment .reply textarea {width: 480px; height: 100px;}
.comment .reply BUTTON {line-height: 30px!important; height: 30px!important; margin-left: 5px!important;}

.club #comments {margin: 20px 0;}
.club .comment {margin-top: 20px;}
.club .comment DIV.img {float: left; height: 50px; width: 50px; overflow: hidden; border-radius: 50%; }
.club .comment DIV.data {padding-left: 55px; }
.club .comment DIV.data DIV {margin-bottom: 5px;}
.club .comment DIV.data, .club .comment DIV.data A {color: #aeb4b6; text-decoration: none; border: 0;}
.club .comment DIV.data .author A:hover {text-decoration: underline;}
.club .comment DIV.data .text {color: black;}

.club .comment .show_on_hover {display: none;}
.club .comment:hover .show_on_hover {display: inline;}

.club .comment DIV.data .likes span {font-size: 90%;}
.club .comment DIV.data .likes A:hover {color: #777;}
.club .comment DIV.data .likes A SPAN.selected {color: red;}

.club .comment .child {margin: 5px 0 5px 55px;}
.club .comment .child DIV.img {float: left; height: 30px; width: 30px; overflow: hidden; border-radius: 50%; }
.club .comment .child DIV.data {padding-left: 35px; }

.pages {margin: 20px; text-align: center;}
.pages A { text-decoration: none; color: #777; }
.pages A.active { font-weight: bold; color: #003399;}

.club .popup { position: fixed; z-index: 99999; padding: 20px;
    background-color: white;
    border-radius: 10px; border: 3px solid black;
}
.club .popup .close { position: absolute; right: 5px; top: 5px; cursor: pointer;}
.club .popup H2 {margin-top: 0;}

.club #socialshare { width: 300px; height: 150px; margin-left: -150px; margin-top: -75px; }
.club #addtomy { width: 300px; margin-left: -150px; margin-top: -100px; }
#action_result {text-align: center; margin: 10px;}

.club .right_column {width: 240px; float: right; border-left: 1px solid #BFBFBF; margin-left: 5px; padding-left: 5px;}

.club #mini_map {
    width: 240px; height: 240px;
    margin-bottom: 20px;
    cursor: pointer;
}
.club #map {
    /*left: 100px; top: 100px; right: 100px; bottom: 100px;*/
    width: 80%; height: 80%; max-width: 1000px;
}
.club #map .note {position: absolute; z-index: 30; bottom: 30px; left: 30px; background-color: white; font-weight: bold; padding: 3px;}

.club #photo {
    /*left: 100px; top: 100px; right: 100px; bottom: 100px;*/
    width: 80%; height: 80%; max-width: 1000px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background-color: transparent;
}
.club #photo IMG.main {position: absolute; cursor: pointer;}
.club #photo span.close_p {position: absolute; top: 0; right: 0; color: white; font-size: 20px;text-shadow:1px 1px 1px #444;cursor:pointer;}
.club #photo DIV.claims {position: absolute; bottom: 0; color: #777; font-size: 12px; text-align: center; width: 100%;}
.club #photo DIV.claims>SPAN {background-color: black; padding: 2px 10px; border-radius: 6px; cursor: pointer;}
.club #photo .arrows {position: absolute; right: 0; top: -88px;}
.club #photo .arrows span {float: right; cursor: pointer; color: white; font-size: 30px; margin-left: 10px;}

.club #photo .background {position: absolute; left: -100px; top: -100px; right: -100px; height: 60px;background-color: #000;}
.club #photo .credits {position: absolute; left: 0; top: -95px;}
.club #photo .credits div.img {float: left; height: 50px; width: 50px; overflow: hidden; border-radius: 50%; margin-right: 10px;}
.club #photo .credits {color: white; width: 400px; font-size: 15px; line-height: 20px;}
.club #photo .credits A {color: white; font-weight: bold; text-decoration: none; font-size: 15px;}

.club .moderators>div {clear: both;}
.club .moderators div.img {float: left; height: 30px; width: 30px; overflow: hidden; border-radius: 50%; margin-right: 5px;}
.club .moderators div.author {line-height: 30px;}
.club .moderators {margin-bottom: 20px;}

.club .horses {overflow: hidden;}
.club .horses .horse {float: left; margin-top: 20px; position: relative; margin-right: 5px; width: 75px; text-align: center;}
.club .horses .indent {margin-left: 7px;}
.club .horses .horse .photo { width: 75px; height: 75px; overflow: hidden; border-radius: 2px;}
.club .horses .horse .ad_type_title {position: absolute; left:0; top: -20px; font-weight: normal; font-size: 15px;}
.club .horses .horse_add {font-size: 80px; font-weight: bold; text-align: center; line-height: 75px; width: 75px; height: 75px; border-radius: 2px; background-color: #DEDEDE; color: white; cursor: pointer; border: 1px solid black;}

.club #edit {
    width: 1000px;
    overflow: auto;
    font-size: 18px;
}
.club #news_edit, .club #send_message {
    height: 250px;
    width: 700px;
    overflow: auto;
    font-size: 18px;
}
.club #add_event {
    height: 350px;
    width: 700px;
    overflow: auto;
    font-size: 18px;
}
.club #photos_upload {
    height: 200px;
    width: 700px;
    overflow: auto;
    font-size: 18px;
}
.club #new_photos IMG {height: 80px; margin: 5px 5px 0 0;}

.club .logo {float: left; margin: 0 10px 10px 0;}
.club #edit .logo {float: right; margin: 0 350px 5px 5px;}

.club .popup form .section_title {margin: 10px 0; padding: 5px; background-color: #CCC;}
.club .popup form .section_title A {font-size: 18px; text-decoration: none;}

.club .popup form .section .data {margin: 5px 0px 10px 10px;}
.club .popup form .entry, .club .popup form .data {position: relative;}
.club .popup form .entry .title {position: absolute; left: 0; top: 4px;}
.club .popup form .entry .inputb, .club .popup form .entry .notice {margin-left: 120px;}
.club .popup form .entry .notice {color: #666; font-size: 12px; width: 500px;}
.club .popup form .entry .inputb INPUT, .club .popup form .entry .inputb SELECT {font-size: 18px!important; width: 500px;}
.club .popup form .entry .inputb TEXTAREA {height: 75px;font-size: 13px;width: 500px;}
.club .popup form .entry .inputb SELECT {width: auto;}
.club #edit_map_cont {position: absolute; width: 300px; right: 0px; top: 0px;}
.club #edit_map {width: 300px; height: 300px; border: 1px solid black;}
.club #edit_map_cont .hint {font-size: 13px;}

.club .popup form .half {float: left; width: 450px;}
.club .popup form .half INPUT {width: 250px!important;}
.club .popup form INPUT.date {width: 150px!important;}

.club .popup form .section .large_titles .inputb {margin-left: 170px;}
.club .popup form .entry .checkboxes {padding-top: 4px;}
.club .popup form .entry .checkboxes INPUT {width: auto!important;}
.club .popup form .buttons {clear: both; text-align: right; background-color: white;}
.button_cancel {background: #EEE; color: black!important; border: 0;}
.club DIV.button {margin: 17px 0;}


.clubs_container {position: relative;}
.clubs_container .pages {width: 522px;}
#club_search {width: 240px; position: absolute; border-left: 1px solid #BFBFBF; padding-left: 7px;}
#club_search select {width: 240px;}
#club_search .ad, .club .ad {margin: 20px 0;}
#mini_map {margin-bottom: 10px; width:240px; height:240px;cursor: pointer; position: relative;}
#mini_map A {position: absolute; background-color: white; z-index: 100; top: 2px; right: 2px; padding: 2px;}
.clubs {width: 562px;}
.clubs .entry {margin-bottom: 30px; clear: both;}
.clubs .entry .photo {float: right; width: 150px; height: 150px; border-radius: 3px; overflow: hidden; margin-left: 10px; margin-bottom: 30px; cursor: pointer;}
.clubs .entry H2 {margin-bottom: 0px; font-weight: normal;}
.clubs .entry H2 A {text-decoration: none; font-size: 20px;}
.clubs .entry H2 A:hover {text-decoration: underline;}
.clubs .entry H2 A.closedY {color: #aeb4b6;}
.clubs .entry H2 span.closed {color: #9E6A6B;}

.clubs .entry .rating {float: left; width: 30px; height: 30px; line-height: 30px; border-radius: 50%; background-color: #aeb4b6; text-align: center; color: white; font-size: 15px; margin-right: 5px;}
.clubs .entry .rating div {line-height: 30px; width: 30px; text-align: center;}
.clubs .entry .good {background-color: #4EB842; }
.clubs .entry .bad {background-color: #BD6666;}
.clubs .entry .badP, .clubs .entry .goodP, .clubs .entry .noneP {background-color: #4E6BA3; border: 1px solid white; box-shadow: 0 0 10px #777;}
.clubs .entry .rating SPAN {line-height: 29px;}

.clubs .entry .info1 {color: #aeb4b6;line-height: 15px;}
.clubs .entry .oneline {overflow: hidden; height: 15px;}

.clubs .entry .logo {float: left; margin-right: 5px; margin-top: 9px;}
.clubs .entry .logo IMG {max-height: 70px; max-width: 100px; }
.clubs .entry .descr {overflow: hidden; max-height: 100px; position: relative; margin: 5px 0;}
.clubs .entry .descr IMG {position: absolute; bottom: 0px; left: 0px;}

.clubs .entry .userlist { overflow: hidden; margin: 0px 10px;}
.clubs .entry .userlist DIV {float: left; height: 50px; width: 50px; overflow: hidden; margin-right: 5px; border-radius: 50%; }



#to_partners { position: absolute; top: 0px; right: 10px; font-size: 16px; text-decoration: none; border-bottom: 1px rgb(0, 51, 153) dotted; }

.vrez {font-size: 150%;}
.vrez A {font-size: 100%!important;}

.bar {
    height: 18px;
    background: #003399;
}

.ad {clear: both;}

#fadebackground {
    position: fixed;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background-color: #000;
    filter: alpha(opacity=5); /* internet explorer */
    -khtml-opacity: 0.5; /* khtml, old safari */
    -moz-opacity: 0.5; /* mozilla, netscape */
    opacity: 0.5; /* fx, safari, opera */
}

.user_dropdown_result div {
    line-height: 25px; height: 25px;
}
.user_dropdown_result .friends1 {font-weight: bold;}
.user_dropdown_result div div { width: 25px; height: 25px; overflow: hidden; float: left; margin-right: 3px;}

.user_marketing { margin: 10px 0;}
.user_subs, .user_subs A {font-size: 90%; color: #555;}

.rider_photobank { margin: 20px 0; font-size: 20px;}
.rider_photobank A { font-size: 20px;}

.selected_judges_cont {margin: 0 -10px 20px -10px;}
.selected_judges:hover {background-color: #EEE; cursor: pointer;}
.selected_judges {
    float: left;
    width: 256px;
    border: 1px solid #a9a9a9;
    border-radius: 10px;
    padding: 5px;
    margin: 10px;
    text-align: center;
    font-size: 100%;
    color: #666;
    height: 60px;
    overflow: hidden;
    position: relative;
}
.selected_judges A {font-size: 130%;}
.selected_judges .region {color: black; margin: 5px 0;}
.selected_judges div.img { width:50px; height: 50px; overflow: hidden; float: left; margin: 5px; border-radius: 50%;}

.fade {position: absolute; bottom: 0px;}

.dressage_tests A.title {color: black; text-decoration: none;  font-size: 100%;}
.dressage_tests A.title:hover {color: black; text-decoration: underline;}
.dressage_tests .description {color: #555;}
.dressage_tests TD.description {text-align: right;}
.dressage_tests TD {padding: 3px; font-size: 120%;}



.events_banner {width: 240px; float: right; margin: 0 0 20px 20px; clear: right;}
.events_form {width: 555px;}
.events_form div {margin-bottom: 15px; float: left; width: auto; line-height: 28px;}
.events_form div.clear {clear: left;}
.events_form input.height {width: 40px;}
.events_form select, .events_form button, .events_form input.height, .search_form button, .common_form input, .common_form textarea, .common_form select {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    height: 28px;
    margin-right: 10px;
    color: #444;
    padding-left: 4px;
}

.events_form input[type=checkbox] {
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.2); /* IE */
  -moz-transform: scale(1.2); /* FF */
  -webkit-transform: scale(1.2); /* Safari and Chrome */
  -o-transform: scale(1.2); /* Opera */
  padding: 10px;
  vertical-align: middle;
}


.events_form button {clear: left; float: right; padding: 0 8px; margin-left: 20px; cursor: pointer;}
.events_form button:hover {background-color: #eee;}
.events_form .notice {color: #aaa; line-height: 15px; margin: 10px 0;}
.events_form .notice:hover {color: black;}
.events_form label {margin-right: 10px;}

.events {clear: left; margin-top: 20px;}
.events .entry {margin-bottom: 20px; font-size: 16px; position: relative;}
.events .entry H2 {margin-bottom: 5px; font-weight: normal;}
.events .entry H2 IMG {vertical-align: middle;}
.events .entry H2 A {text-decoration: none; font-size: 20px;}
.events .entry H2 A:hover {text-decoration: underline;}
.events .entry H2 A.closedY {color: #aeb4b6;}
.events .entry .dates {color: #777;line-height: 15px;}
.events .entry>div {margin-left: 20px;}

.events .entry span.icon-heart {color: white; margin-left: -20px; cursor: pointer;}
.events .entry:hover span.icon-heart {color: #ccc;}
.events .entry span.icon-heart:hover {color: red!important;}

.events .entry .club A {text-decoration: none; color: #333; font-size: inherit;}
.events .entry .club A:hover {text-decoration: underline; color: #003399;}
DIV.admin_link {float: right; width: 186px; margin-bottom: 10px; text-align: right;}
A.admin_link {color: #999;}
span.like.like_selected { display: inline!important; color: red!important; }

#events_need_subs {position: absolute;box-shadow: 0 0 10px #FF0000; background-color: white; padding: 10px; width: 100px;}
#events_need_subs::before {content:'';display:block;position:absolute;left:-4px;top:50%;width:10px;height:10px;margin-top:-4px;background-color:#fff;box-shadow:0 0 10px #FF0000;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);}
#events_need_subs::after {content:'';display:block;position:absolute;left:0;top:50%;width:10px;height:30px;margin-top:-15px;background-color:#fff;}

.event_description {color: #333;font-size: 120%; line-height: 130%;}
.event_description .rating_level {font-size: 120%; color: #777; margin: 10px 0;}


.event_judges .event_judges_overlay {position: relative;}
.event_judges .event_judges_overlay div {display: none; z-index: 1; background-color: white;position: absolute; top: 0px; left: 15px; width: 150px; height: auto; border: 1px solid #666; border-radius: 3px; padding: 3px;  font: 9pt Arial, Tahoma, Helvetica, sans-serif;}
.event_judges .event_judges_overlay:hover div {display: block;}


.error404 {text-align: center; margin: 150px 0px;}
.error404 h1 {  font-size: 30px!important;   border-bottom: 0;}
.error404 p, .error404 a {  font-size: 20px!important; }

#main_links div.rio2016 {position: absolute; right: 10px; top: -9px;}
.main_rio2016 {clear: both; margin-top: 30px;}
.main_rio2016 .event {width: 33%; float: left; text-align: center;}
.main_rio2016 .event .logo IMG {width: 150px; margin-bottom: 10px;}
.main_rio2016 .event .title A {font-size: 180%;}

.main_rio2016 .team {margin-top: 40px; margin-left: 90px;}
.main_rio2016 .team .member {clear: both; margin-top: 10px; height: 90px; width: auto; }
.main_rio2016 .team .member .photo {overflow: hidden; border-radius: 50%; width: 90px; height: 90px; float: left; margin-right: 10px;}
.main_rio2016 .team .member .photo IMG {width: 90px;}
.main_rio2016 .team .member .name {line-height: 25px; font-size: 25px; padding-top: 20px; width: auto;}
.main_rio2016 .team .member .name .horse {color: #888; width: auto;}

.main_rio2016 .team .member.dressage .photo {border: 1px solid blue;}
.main_rio2016 .team .member.eventing .photo {border: 1px solid green;}




.yamoney-pay-button {
  text-align: center;
  background: #FFDB4D;
}

.yamoney-pay-button__pay,
.yamoney-pay-button {
  background: #FFDB4D;
  border-radius: 4px;
  height: 50px;
  width: 155px;
  outline: 0px;
  border: 0px;
  transition: 0.1s ease-out 0s all;
  cursor: pointer;
}

.yamoney-pay-button__pay {
  position: relative;
  opacity: 0;
  z-index: 2;
}

.yamoney-pay-button:hover {
  background: #ffd633;
  transition: 0.1s ease-out 0s all;
  cursor: pointer;
}

.yamoney-pay-button:active {
  background: #FFcc00;
  cursor: pointer;
}

.yamoney-pay-button__text {
  position: relative;
  left: 0;
  top: -40px;
  color: #000;
  font-size: 20px;
  line-height: 26px;
  font-family: YandexSansTextApp-Regular, Arial, Helvetica, sans-serif;
  text-align: center;
  cursor: pointer;
  z-index: 1;
}

.yamoney-pay-button__subtext {
  position: relative;
  left: 0;
  top: -55px;
  color: #000;
  font-size: 12px;
  font-family: YandexSansTextApp-Light, Arial, Helvetica, sans-serif;
  padding: 0 20px;
  text-align: center;
  cursor: pointer;
  z-index: 1;
}

.yamoney-pay-button_type_fly {
  box-shadow: 0px 1px 0px 0px rgba(0,0,0,0.12), 0 5px 10px -3px rgba(0, 0, 0, 0.3);;
}

.applications {margin: 30px 0 30px 70px;}
.applications div.number {margin-left: -50px; font-size: 450%; float: left; clear: both; margin-top: 0px; color: #CCC;}
.applications h3 {margin: 0px;}
.applications .details {margin-bottom: 10px; color: #999;}
.applications .compet {margin-left: 10px;}
.applications .div {margin-bottom: 20px;}
.applications span.accepted {color: green;}
.applications div.declined span.title {text-decoration: line-through;}
.applications span.declined {color: red;}
.applications span.new {color: grey;}
.applications .event_application_entry {clear: both; margin-bottom: 20px;}

/* */

.applications .compet {position: relative;}
.applications .compet .action_buttons {opacity: 0.3;}
.applications .compet:hover .action_buttons {opacity: 1;}
.applications .compet:hover .action_buttons span {cursor: pointer; border-bottom: 1px dotted;}
div.application_download {
    margin: 0 0 20px 5px;
}
div.application_download A {
    font-size: 150%;
    text-decoration: none;
    border-bottom: 1px dotted;
    }

div.legend.applications:hover {opacity: 1;}
div.legend.applications {
    position: absolute;
    top: 65px;
    right: 0px;
    width: 250px;
    box-shadow:  2px 2px 7px #777;
    padding: 10px;
    margin-right: 5px;
    opacity: 0.5;
}
div.legend.applications .close {
    position: absolute; right: 2px; top: 2px; cursor: pointer;
    font-size: 20px;
}

.full_applications {margin: 0;}
.full_applications .menu div.search .cancel {
    position: absolute;
    right: 5px;
    top: 2px;
    font-size: 25px;
    color: #aaa;
    cursor: pointer;
    display: none;
}
.full_applications .menu div.search input {
    font-size: 150%;
    width: 300px;
}
.full_applications .menu div.search {
    position: absolute;
    right: 20px;
    top: 0px;
}
.full_applications .menu span.item {
    padding: 10px 0;
}
.full_applications .menu span.item:hover, .full_applications .menu span.active {
    border-bottom: 3px solid green;
}
.full_applications .menu>span {
    border-bottom: 1px dotted #aaa;
    font-size: 150%;
    margin: 0px;
    padding: 10px 0;
    cursor: pointer;
}
.full_applications .menu {
    margin: 30px 5px;
    position: relative;
}
.full_applications .application {
    border: 1px solid #aaa;
    border-radius: 10px;
    margin: 20px 10px 20px 0;
    position: relative;
    width: 390px;
    height: 100px;
    float: left;
    cursor: pointer;
}
.full_applications .application .data { height: 60px; padding: 20px; overflow: hidden; }

.full_applications .application .options .status.processed { color: green; }
.full_applications .application .options .status.unprocessed { color: red; }
.full_applications .application .options span.comments {
    margin-left: 20px;
}
.full_applications .application .options {
    position: absolute;
    top: -12px;
    right: 40px;
    background-color: white;
    padding: 5px;
}
.full_applications .application .user {
    font-size: 150%;
    margin-bottom: 10px;
}
.full_applications .application .user .user_phone {
    float: right;
    font-size: 70%;
    margin-left: 5px;
    color: #666;
    white-space: nowrap;
}
.full_applications .application .entries {
    margin-left: 20px;
    height: 48px; /* .application.height - 12; */
    overflow: hidden;
}
.full_applications .application .contact A {
    text-decoration: none;
    border-bottom: 1px dotted #003399;
}
.full_applications .application .fade {
    position: absolute;
    bottom: 0px;
    left: 10px;
}
.full_applications .application .contact {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.full_applications .application .entry {
    margin: 0;
}

.full_applications .application .id {
    position: absolute;
    top: -12px;
    left: 17px;
    background-color: white;
    padding: 5px;
}

.full_applications.user .application .date {
    margin: -5px 0 10px 20px;
    color: #777;
    font-size: 120%;
}
.full_applications.user .application .entries .entry::before {
    content: '';
}
.full_applications.user .application .entries {
    height: auto;
}
.full_applications.user .application {
    width: 700px;
    height: auto;
}


/* application */

button.pale { background-color: #efefef!important; color: #aaa!important; }
.event_application { position: relative; }
.event_application .js-data-example-ajax { width: 400px; }
.js-data-example-ajax.wide { width: 500px; }
.event_application_number {float: left;  line-height: 28px; font-size: 120%; margin-right: 5px;}
.event_application {margin-left: 20px;}
.event_application div {Xfloat: left; margin: 0 5px 10px 0;}
.event_application div.compet {clear: left;}
.event_application select, .event_application button, .event_application .new_form input, .applications_container button, .email_popup input, .email_popup button, .applications_container #phone {
    cursor: pointer;
    border: 1px solid #aaa;
    border-radius: 4px;
    height: 28px;
    color: #444;
    padding-left: 4px;
}
.applications_container .phone {margin: 10px 0;}

.email_popup input {width: 300px; font-size: 120%;}
.email_popup {line-height: 120%;
    position: fixed; left: 50%; top: 50%; margin-left: -200px; margin-top: -150px; width: 310px; height: 300px; 
    border-radius: 10px;
    box-shadow: 7px 7px 30px #777;
    padding: 20px;
    background-color: white;
    z-index: 9999999;
}
.email_popup p {font-size: 120%;}
.email_popup .error_text {font-size: 100%; color: red;}
.email_popup button.notnow {background-color: white; border: 0; text-decoration: underline;}


.event_application select {background-color: #fff;}
.event_application .application_add button {font-size: 120%;}
.event_application .application_add {clear: both; Xtext-align: right;}
.event_application .new_form {
  position: absolute;
  left: 50%; top: 0;
  width: 410px; 
  margin-left: -175px;
  margin-top: -50px;
  background-color: white;
  border: 1px solid #666;
  border-radius: 5px;
  box-shadow: 0 0 100px #666;
  padding: 20px;
  display: none;
}
.event_application .new_form p { float: left; margin-right: 20px; }
.event_application .new_form input { width: 400px; }
.event_application .new_form input.year { width: 50px; }
.event_application .new_form input.passport { width: 90px; }
.event_application .new_form .name {font-size: 150%;}

.applications_container {
  padding: 20px;
}
.event_application button, .applications_container button {font-size: 120%; background-color: #ccc;}
.event_application button:hover, .applications_container button:hover {background-color: #bbb;}


.event_application .compet div {margin-left: 10px;}
.event_application .compet .compet_date {display: none;}
.event_application .compet .date {font-size: 120%; margin-left: 3px; margin-top: 20px;}


.empty_list {
  position: absolute;
  display: none;
  Xborder: 1px solid black;
  background-color: white;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0px 0px 5px #404040;
  width: 300px;
}
.empty_list::before {content:'';display:block;position:absolute;bottom:-4px;left:50%;width:10px;height:10px;margin-left:-4px;background-color:#fff;box-shadow:0 0 5px #404040;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);}
.empty_list::after {content:'';display:block;position:absolute;bottom:0;left:50%;width:30px;height:10px;margin-left:-15px;background-color:#fff;}

.instruction {
  position: absolute;
  display: none;
  top: -50px;
  left: 50px;
  width: 600px;
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0px 0px 35px #404040;
}
.instruction_button {
  position: absolute;
  right: 20px;
  cursor: pointer;
  border-bottom: 1px dotted #003399;
  color: #003399;
  font-size: 150%;
}

A.online-application-icon {
    color: green;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    margin-right: 3px;
}

A.event-registration-button:hover {
    background-color: #008800;
}
A.event-registration-button {
    display: block; text-align: center; height: 50px; background-color: #009900; border-radius: 5px; 
    color: white; text-decoration: none; margin-bottom: 15px; font-size: 20px; line-height: 40px; position: relative;
}
.event-registration-button .reg_date {font-size: 12px; line-height: 10px; margin-top: -8px;color: #CCC;}




.event_manage A {font-size: 150%;}
.event_manage A.nolink {text-decoration: none; border-bottom: 1px dotted;}

.event_manage .blocks .block:nth-child(odd) {
    clear: left;
}
.event_manage .block {
    border: 1px solid #AAA;
    border-radius: 10px;
    width: 350px;
    padding: 20px;
    margin: 20px 10px 20px 0;
    float: left;
    position: relative;
}

.event_manage .block .title {font-weight: bold; margin-bottom: 10px;}

.event_manage .applications {margin-left: 0; padding-bottom: 0;}
.event_manage .applications div {margin-bottom: 20px;}
.event_manage .applications .processed {color: green;}
.event_manage .applications .unprocessed {color: red;}

.event_manage .pay {background-color: #FFFFD9;}
.event_manage .pay .preview {width: 100px; float: right;}
.event_manage .pay .preview IMG {width: 100px; border: 1px solid #AAA; box-shadow: 2px 2px 5px; }

.event_manage textarea {width: 100%; height: 32px;}
.event_manage .textarea_button {display: none;}

.event_manage .files .file_list IMG {border: 0; width: 16px; height: 16px;}
.event_manage .files .upload {margin-top: 10px;}
.event_manage .files .rename {margin: 10px 0; text-align: center; background-color: #eee; padding: 10px; border-radius: 5px; position: relative;}
.event_manage .files .rename .cancel {position: absolute; top: 3px; right: 3px; cursor: pointer; font-size: 80%;}
.event_manage .files .remove {margin-left: 10px; color: red; cursor: pointer;}
.event_manage .files .rename .schedule_updates {text-align: left; margin-left: 40px; margin-top: 5px;}


@font-face{font-family: 'robotocondensed';
    src: url('/fonts/robotocondensed/robotocondensed-regular.woff2') format('woff2'), url('/fonts/robotocondensed/robotocondensed-regular.woff') format('woff'), url('/fonts/robotocondensed/robotocondensed-regular.ttf') format('truetype');
    font-weight: bold;font-style: normal;
}


.article { font-size: 17px; margin: 0 0 40px 0;}
.article P, .article P A {font-size: 17px;}
.article h1 { font: 27px 'robotocondensed', sans-serif; border: 0; }
.article .article_photos {text-align: center;}
.article .article_photo {margin: 10px 0; width: auto;}
.article .article_photo div { margin: 0 50px; font-size: 90%; }
.article .article_photo .caption {font-size: 130%; font-family: 'robotocondensed', sans-serif;}
.article .article_photo .description {font-style: italic;}
.article .article_photo .source {color: #999;}
.article .text {width: 740px;}
.article {position: relative;}
.article .share {position: absolute; left: 740px; width: 75px; height: 100%; text-align: left; margin-left: 32px;}
.article blockquote {border-left: 4px solid #990000; margin: 40px 20px; padding: 10px 20px; color: #777; font-size: 19px; }

.article .results {}
.article table {border: 0; width: auto;margin-left: auto;margin-right: auto;}
.article table td {padding: 5px; }
.article table tr:nth-child(odd) {background-color: #D0D6DA;}
.article table tr:first-child {background-color: #657686!important; color: white;}
.article .results tr.full {background-color: white;}
.article .results tr.full td {text-align: right;}


.newslist IMG {margin: 0 0 5px 0; box-sizing: border-box; border: 1px solid #bbb; width: 165px;}
.newslist A {text-decoration: none; color: black;}
.newslist .entry:hover A {text-decoration: underline; color: #003399;}
.newslist .entry {clear: both; margin-bottom: 10px;}
.newslist .list_subtitle {clear: both; }
.newslist .photo {border:0; }

.main_article A {text-decoration: none; color: black;}
.main_article:hover A {text-decoration: underline; color: #003399;}
.main_article {margin-bottom: 20px;}
.main_article IMG {border: 1px solid #bbb; width: 555px; box-sizing: border-box;}

.main_articles {margin: 20px 0;}

.articlelist A {text-decoration: none; color: black; font-size: 17px;}
.articlelist .entry:hover A {text-decoration: underline; color: #003399;}
.articlelist .list_item {float: left; width: 275px; height: 210px; margin-bottom: 10px; overflow: hidden;}
.articlelist .list_item:nth-child(odd) {margin-right: 6px;}
.articlelist .list_item IMG {margin-bottom: 5px; border: 1px solid #bbb; width: 275px; box-sizing: border-box;}

.block_container {margin-bottom: 20px;}

.rider_page { font-size: 17px;}
.rider_page P, .rider_page A, .rider_page TD {font-size: 17px;}
.rider_page .noedit {color: white; cursor: pointer; padding-left: 10px;}
.rider_page .current_value:hover .noedit {color: #ccc;}
.rider_page .edit {color: #ccc; cursor: pointer; padding-left: 10px;}
.rider_page .edit:hover {color: black;}
.rider_page .new_value {display: none; margin-bottom: 20px;}

.rider_page .photo {float: left; margin-right: 10px;}
.rider_page .riderinfo .title {color: #999; margin-top: 10px;}
.rider_page .riderinfo .content {font-weight: bold; margin-bottom: 10px;}
.rider_page .rider_description {margin-top: 20px;}

.rider_description table { border: 1px solid #999; border-collapse: collapse; }
.rider_description table td { border: 1px solid #999; padding: 5px; }
.rider_description table td:first-child { text-align: right; color: #666; font-style: italic; }
.claim {border: 0; border-radius: 3px; background-color: #efefef; padding: 1px 10px; margin: 20px 0px;}
.claim P, .claim P A { font-size: 12px; }
.follow, .follow A {font-size: 12px;}
.follow span {color: #ccc; vertical-align: middle;}
.follow:hover span {color: red; vertical-align: middle;}
.add_photo {float: right; width: 40px;  margin: 0 0 20px 20px;}
.add_photo span {font-size: 40px; color: #ccc;}
.add_photo span:hover {color: black; cursor: pointer;}

.popup {position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background-color: white; overflow: hidden; z-index: 9999;}
.popup.box { border: 1px solid black; box-shadow: 10px 10px 10px rgba(0,0,0,0.5); border-radius: 5px;}
.popup .close {position: absolute; top: 0px; right: 3px; cursor: pointer; font-size: 20px;}
.popup .error {padding: 0 20px; text-align: center; color: #ea8b8b; font-size: 20px;}

.popup.photoupload {width: 500px; height: 300px;}
.popup.photoupload .list {height: 100%; overflow-y: scroll; color: #666;}
.popup.photoupload .list .entry {clear: both; position: relative;}
.popup.photoupload .list .entry .remove { position: absolute; left: 5px; top: 5px; color: #fff; text-shadow: 0px 1px 5px  rgba(0,0,0,0.7); font-size: 20px; cursor: pointer;}
.popup.photoupload .list .entry .remove:hover { color: #aaa; }
.popup.photoupload .list .entry div {width: 270; margin-left: 210px; margin-bottom: 10px;}
.popup.photoupload .list .entry div input, .popup.photoupload .list .entry div textarea { width: 270px; }
.popup.photoupload div.img {width: 200px; max-height: 200px; margin-bottom: 10px; float: left; background-color: #eee; border: 1px solid #ddd; margin-left: 0px!important; text-align: center;}
.popup.photoupload div.img img {max-width: 200px; max-height: 200px;}


.note-popup {position: relative; color: #bbb; font-size: 12px;}
.note-popup span {display: none; position: absolute; bottom: 0px; left: 0px; background-color: white; border: 1px solid #999; color: black; padding: 5px; border-radius: 5px; box-shadow: 0 0 10px rgba(0,0,0,0.5);}
.note-popup:hover span {display: block;}

#sport_chart {display: none; width: 600px; padding: 0 10px; box-shadow: 0 0 120px #666; border-radius: 20px;}
#sport_chart .close {right: 10px; top: 10px;}
#sport_chart h2 {margin: 10px 30px 0 30px; text-align: center;}
#sport_chart h2 A:hover {text-decoration: underline;}
#sport_chart h2 A {text-decoration: none; color: #333;}
#sport_chart h2:hover span {color: #333;}
#sport_chart h2 span {color: #999;}
.sport_graph_link A {text-decoration: none; font-size: 20px; opacity: 0.5;}
.sport_graph_link:hover A {opacity: 1;}
.sport_graph_link {line-height: 12px; display: none;}

.sport_results_table {clear: both; margin-top: 20px; position: relative;}
.sport_results_table table {width: 100%; border-collapse: collapse;}
.sport_results_table table th {border: 1px solid white;}
.sport_results_table table th.letter {text-align: center;}
.sport_results_table .need_subs {text-align: center; opacity: .5;}
.sport_results_table .need_subs:hover  {opacity: 1;}

.sport_results_table table th.letter_titles, .sport_results_table table th.place {font-size: 75%;}
.sport_results_table .dressage_judges .letter_C {font-weight: bold;}
.sport_results_table .dressage_judges {text-align: center; margin: 7px 0;}
.sport_results_table .show_dressage_figures {opacity: .5; border-bottom: 1px dotted black; cursor: pointer; text-decoration: none;}
.sport_results_table .show_dressage_figures:hover {opacity: 1;}
.sport_results_table .figure .dressage_figures {display: none;}
.sport_results_table .dressage_fig_data {display: none;}

.sport_results_table table TD.names .rider {margin-bottom: 5px;}
.sport_results_table table TD.names .horse A {opacity: .7;}
.sport_results_table table TD.names A {font-size: 110%;}
.sport_results_table table TD.names {padding: 5px;}
.sport_results_table table A {text-decoration: none; }
.sport_results_table table A:hover {text-decoration: underline;}


.event_apply_button {
    float: right;
    width: 240px;
    margin-left: 10px;
}
.event_files {
    margin: 10px 260px 10px 0;
    font-size: 140%;
    line-height: 150%;
    max-width: 550px;
    overflow-x: hidden;
}

.event_files A { text-decoration: none; font-size: 100%; color: black;}
.event_files nobr:hover A { text-decoration: underline; }
.event_files nobr { margin-right: 10px;  }
.event_files .date {color: #AAA; font-size: 90%;}
.event_files nobr:hover .date {color: black;}

.event_files nobr.rating {display: block; margin: 10px 0;}
.event_files nobr.rating a {font-size: 120%;}


.events_banner IMG.poster {max-width: 240px; border-radius: 5px; cursor: zoom-in; box-shadow: 5px 5px 10px rgba(0,0,0,0.3);}
.large_poster IMG { max-width: 100%; max-height: 100%; }
.large_poster {
    position: fixed; left: 10%; top: 10%; bottom: 10%; right: 10%; 
    cursor: zoom-out; z-index: 999999; text-align: center;
}
.events_banner.with_title {position: relative; border-top: 1px solid #aaa; padding-top: 15px; margin-top: 20px;}
.events_banner.with_title .block_title {position: absolute; top: -7px; font-size: 12px; color: #aaa; text-transform: uppercase; text-align: center; width: 100%;}
.events_banner.with_title .block_title span {background-color: white; padding: 0 10px;}


.interested_users {position: relative;}
.interested_users H2 {color: #999;}
.interested_users .list {display:none; position:absolute; bottom: 25px; background-color: black; color:white; width: 200px; padding: 5px;}
.interested_users .list::before {content:'';display:block;position:absolute;bottom:-4px;left:50%;width:10px;height:10px;margin-top:-4px;background-color:black; -webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);}

.interested_users .list DIV {width: 200px;}
.interested_users .list A {color: white; text-decoration: none;}
.interested_users .list A:hover { text-decoration: underline;}
.interested_users:hover .list {display:block;}

.column_ads {clear: both; margin:10px 0;}