* {margin:0;padding:0;}
html, body {height:100%;min-height:100%;}
a img {border:none;}
a {color:#004C8D;text-decoration:none;}
a.more {font-weight:bold;} 

.ui-widget-content a {color:#004C8D;text-decoration:underline;font-weight:bold;} 


body {position: relative;color: #3E3E4A;font-family: "Lato",Calibri,Arial,sans-serif;font-size: 14px;background: url(img/backmain.png) 0 0 repeat-x;background-attachment: fixed;height: 100%;}
tbody {border-top:none;}
.clear {clear:both;height:0px;overflow:hidden;}

form th, form td {border-bottom:none;padding:5px;}

.form-text {border:1px solid silver;padding:3px 5px;}



.drop_down_block {margin:10px 0 0 20px;padding:10px;background:#eee;display:none;}

.block .content p {margin:10px 0;}

#page-wrapper div.messages {margin:15px 30px;}

a.print {background:url(img/ico_print.png) center left no-repeat;padding:10px 0 10px 40px;display:inline-block;}

#block-email-subscribe-email-subs-subscribe-block h2 {margin:0;}
#email-subscribe-subscribe-form .form-item-email {float:left;margin:0 10px 0 0;}
#email-subscribe-subscribe-form #edit-email {width:200px;}
#email-subscribe-subscribe-form #edit-submit {margin-top:14px;}

#page-wrapper {position: relative;margin: 0 auto;background: #fff;width: 1150px;min-height: 100%;box-shadow: 0 0 8px;}

#header {position: relative;height: 127px;background: rgba(0,0,0,0.9);}

#menu {z-index:999;position: relative;float: left;width: 100%;box-shadow: inset 0 1px 1px rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.15);border-bottom:#d2d2d2 1px solid;background: #ccc;}
#menu, #menu ul {list-style: none;}
#menu > li {float: left;position: relative;perspective: 1000px;}
#menu > li:first-child {margin-left: 50px;}
#menu a {display: block;position: relative;z-index: 10;padding: 13px 15px 13px 15px;text-decoration: none;color: rgba(75,75,75,1);line-height: 1;font-weight: 600;font-size: 12px;letter-spacing: -.05em;background: transparent;text-shadow: 0 1px 1px rgba(255,255,255,.9);transition: all .25s ease-in-out;}
#menu > li:hover > a {background: #79a0c1;opacity: 0.95;color: rgba(0,223,252,1);text-shadow: none;}
#menu li ul  {position: absolute;left: 0;z-index: 1000;width: 200px;padding: 0;opacity: 0;visibility: hidden;border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;background: transparent;overflow: hidden;transform-origin: 50% 0%;    }
#menu li:hover ul {padding: 15px 0;background: #79a0c1;opacity: 0.95;visibility: visible;box-shadow: 1px 1px 7px rgba(0,0,0,.5);animation-name: swingdown;animation-duration: 1s;animation-timing-function: ease;   }
#menu li li a {padding-left: 15px;font-weight: 400;color: #ffffff;text-shadow: none;border-top: dotted 1px transparent;border-bottom: dotted 1px transparent;transition: all .15s linear;}
#menu li li a:hover {color: rgba(0,223,252,1);border-top: dotted 1px black;border-bottom: dotted 1px black;background: rgba(0,223,252,0.1);}

@keyframes swingdown {
        0% {opacity: .99999; transform: rotateX(90deg);}
        30% {transform: rotateX(-20deg) rotateY(5deg);animation-timing-function: ease-in-out;}
        65% {transform: rotateX(20deg) rotateY(-3deg);animation-timing-function: ease-in-out;}
        100% {transform: rotateX(0);animation-timing-function: ease-in-out;}
    }

#main-wrapper {padding: 20px 25px 0px 25px;background: white; top: 500px;}
.front #main-wrapper {padding-top:5px;border-top:4px solid #47a3da;margin-top: 5px;}

#main {float: left;width: 100%;min-height: 1000px;background: url(http://russwimming.ru/media/css/images/bg.png) 0px 30px no-repeat;}

.front #main {background:none;}


@font-face {
    font-family: 'Social';
    src: url('/sites/all/themes/main/fonts/socialicons-webfont.eot');
    src: url('/sites/all/themes/main/fonts/socialicons-webfont.eot?#iefix') format('embedded-opentype'),
         url('/sites/all/themes/main/fonts/socialicons-webfont.woff') format('woff'),
         url('/sites/all/themes/main/fonts/socialicons-webfont.ttf') format('truetype'),
         url('/sites/all/themes/main/fonts/socialicons-webfont.svg#SocialIconsMedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

.social {position:absolute;top:10px;right:20px;}
.social ul {list-style-type: none;position: relative;}
.social li {display: inline;text-align: center;position: relative;}

#header .addr {color:#eeeeee;position: absolute;top:15px;right: 200px;line-height: 23px;}
#header .addr a {color:#eeeeee;}



#searchbox {position:absolute;top:85px;right:27px;}
#searchbox label {display:none;}
#searchbox .form-submit {border:none;padding:0;position:absolute;top:5px;left:2px;}
#searchbox .form-text {padding:3px 5px 3px 30px; width:260px;border:none;border:1px solid #e8e8e8;background:#fff url(img/header-search-button.gif) center left no-repeat;}


.view-slider {width: 600px;overflow: hidden;}
.view-slider ul.slides {height: 350px;list-style: none;overflow: hidden;padding:0 0 2px 0;}
.view-slider ul li {float:left;}
.view-slider ul#thumbs {display:none;height: 45px;list-style: none;text-align: center;margin:0 auto;}
.view-slider ul#thumbs li {width: 60px;display: inline-block;list-style: none;height: 45px;overflow: hidden;}
.view-slider ul#thumbs li.act, .view-slider ul#thumbs li.act:hover {background: url(img/active_bg.png) no-repeat;}

#block-views-slider-block {width:490px;height:279px;overflow:hidden;border:1px solid #e8e8e8;float:left;}
#block-views-slider-block img {height: 279px;width: 490px;}


.region-top {margin:0 30px;}
.region-top .block-block {float:left;height:249px;width:202px;padding:15px;overflow:hidden;margin-left:10px;border: 1px solid #E8E8E8;}


#block-block-1 {
float: right;
margin-right: 25px;
height: 345px;
min-height: 345px;
width: 290px;
box-shadow: 0px 1px 5px #99a4b5;
font-size: 10px;
z-index: 1;
}

#block-block-8 {padding: 0;width: 342px;height: 279px;}
#block-block-8 table {width: 100%;}
#block-block-8 td a {display: block;height: 24px;padding: 7px 25px 0 25px;color: #444444;

    background: #ffffff;
    background: -moz-linear-gradient(top,  #ffffff 0%, #badae8 100%);
    background: -webkit-linear-gradient(top,  #ffffff 0%,#badae8 100%);
    background: linear-gradient(to bottom,  #ffffff 0%,#badae8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#badae8',GradientType=0 );

}

#block-block-8 td a:hover {

    color:#fff;

    background: #91bdd6;
    background: -moz-linear-gradient(top,  #91bdd6 0%, #47a3da 100%);
    background: -webkit-linear-gradient(top,  #91bdd6 0%,#47a3da 100%);
    background: linear-gradient(to bottom,  #91bdd6 0%,#47a3da 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#91bdd6', endColorstr='#47a3da',GradientType=0 );


}


ul.topnav li {list-style-type:none;} 
ul.topnav b {font-weight:normal;}
ul.topnav img {margin-right:10px;}

.region-top {padding:15px 0 0 0;}


#main .col {float:left;}
#main .col .head {font-size:18px;text-align:center;padding:4px 0 15px 0;color:#000;}
#main .col .head a {font-size:12px;color:gray;}
#main #col1 {width:288px;}
#main #col2 {width:354px;}
#main #col3 {width:245px;padding:0 0 0 8px;}
#main #col4 {width:205px;float:right;}


#col1 #email-subscribe-subscribe-form {text-align: center;margin-bottom: 20px;}
#col1 #email-subscribe-subscribe-form .form-item-email {float: none;margin-bottom: 10px;}

#content {float:left;width:860px;padding:0 15px;position: relative;}

h1#page-title {font-size:15px;font-weight:normal;padding:4px 10px;margin-bottom:30px;}

#block-block-2 {background: white; }

.view-important .views-row {margin: 7px;padding: 10px;border: 1px solid #e8e8e8;background: white;position:relative;}
.view-important .views-field-created {padding:45px 0 0 0; background:url(img/ico_vfp.png) top left no-repeat;color: #94B700;font-weight: bold;}
.view-important p {margin:10px 0;}
.view-important .important {position:absolute;top:10px;right:10px;width:19px;height:19px;}
.view-important .important_1 {background:url(img/ico_important_1.png) top left no-repeat;}
.view-important .important_2 {background:url(img/ico_important_2.png) top left no-repeat;}

.region-bottom {margin: 0;padding:10px;border-bottom: 2px solid #47a3da;border-top: 2px solid #47a3da;}

#footer {

color: #A6A6A6;
background: #fff url(img/bg_footer-2.png) bottom center no-repeat;
width: 100%;
height: 80px;
}

#block-block-4 {padding:15px 0 0 20px;}


.view-news.view-display-id-page .views-row {position:relative;padding:10px 0 20px 90px;}
.view-news.view-display-id-page .views-field-created {color:#5074D6;font-weight:bold;font-size:11px;}
.view-news.view-display-id-page  .views-field-title a {color:#5074D6;font-weight:bold;}
.view-news.view-display-id-page  .views-field-title {font-size:11px;padding-bottom:5px;}
.view-news.view-display-id-page .views-field-field-image {position:absolute;top:10px;left:0;}

#col2 .view {margin-top:7px;}
#col2 .view-news .views-row {margin-top: 0;margin-bottom: 5px;padding: 10px 10px;background: white;border: 1px solid #e8e8e8;}
#col2 .view-news .views-field-field-image {float:left;margin:0 10px 5px 0;}
#col2 .view-news .views-field-created {color:#94B700;font-weight:bold;}
#col2 .view-news .views-field-title a {font-weight:bold;}
#col2 .view-news .views-field-title a:hover {text-decoration:none;}

.node-news .field-name-field-image {float:left;margin:0 10px 5px 0;}
.node-news .created {color:#5074D6;font-weight:bold;padding:8px 0;}
.node-news h2 {color:#5074D6;font-size:15px;}

#col3 .view {margin-top:7px;}
#col3 .view-articles .views-row {margin-top: 0;margin-bottom: 5px;padding: 10px 10px;background: white;border: 1px solid #e8e8e8;}
#col3 .view-articles .views-field-created {color:#94B700;font-weight:bold;}
#col3 .view-articles .views-field-title a:hover {text-decoration:none;}

.view-display-id-page .views-row {padding:10px 0;}

#content p {margin:10px 0;}
#content ul li {margin:5px 0 5px 20px;}

#tooltip{background:#FFFFFF;border:1px solid #666666;color:#333333;font:menu;margin:10px;padding:3px 5px;position:absolute;visibility:hidden;z-index: 999;}

.calendar_head {background:#0080c0;padding:5px 10px;border-radius:6px;color:#fff;position:relative;}
.calendar_head a {color:#fff;text-decoration:none;display:inline-block;padding:3px 3px;}
.calendar_head a:hover {text-decoration:underline;}
.calendar_head a.active {font-weight:bold;background:#ca3a37;border-radius:5px;}

.calendar-content-table h3 {color: #333;    font: bold 14px arial;    margin: 8px 4px;    padding: 10px 0 0;    text-transform: uppercase;}
.calendar-content-table table {width:100%;}
.calendar-content-table td {padding:10px;border:1px solid rgb(161, 161, 161);}
.calendar-content-table th {border:1px solid rgb(161, 161, 161);padding:5px;background:#eeeeee;}

.tbl_member_items_usa {
    border-collapse: collapse;
    margin: 10px 0 0;
    width: 100%;
}
.tbl_member_items_usa th, .tbl_member_items_usa td {
    color: #636363;
    font-size: 12px;
    font-weight: normal;
    padding: 10px 5px 15px;
    text-align: left;
}
.tbl_member_items_usa th {
    font-weight: bold;
}
.tbl_member_items_usa .name {
    background: none repeat scroll 0 0 #e7ebf7;
}
.tbl_member_items_usa .name a {
    color: #0099cc;
    font-style: italic;
}
.tbl_member_items_usa .name a:hover {
    color: #c03;
}
.tbl_member_items_usa .hometown {
    background: none repeat scroll 0 0 #f7f3f7;
}
.tbl_member_items_usa .club {
    background: none repeat scroll 0 0 #e7ebf7;
}


.item-list .pager {
	
	margin:20px 0;
}


.tm_rating_swimmers_list {width:60%;}
.tm_rating_swimmers_list fieldset {border:none;}
.tm_rating_swimmers_list legend {font-size:15px;font-weight:bold;text-transform:uppercase;}
.tm_rating_swimmers_list form input[type=text] {border:1px solid gray;padding:3px 3px;}
.tm_rating_swimmers_list form select {border:1px solid gray;padding:3px 3px;width:100%;}

.tbl_member_results th {
    background: #47a3da;
    font-size: 14px;
	font-weight:bold;
	color:#fff;
	padding:5px;
	text-align:left;
}
.tbl_member_results td {
    color: #636363;
    font-size: 12px;
    font-weight: normal;
    padding: 10px 5px 25px;
    text-align: left;
}

.page-data-tm .member_photo {float:left;margin:0 20px 0 0;}
.page-data-tm .content h1 {color: #5074d6;font-size: 28px;font-weight: normal;padding: 0 0 10px;}
.page-data-tm .member_data td, .page-data-tm .member_data th {border-bottom:1px solid #e7e7e7;fon-size:12px;font-weight:normal;text-align:left;padding:5px;color:#000;}
.page-data-tm .member_data th {color:#9c9c9c;}

dl.tabs {}
dl.tabs dt {float:left;position:relative;background:#F0F0F5;height:28px;padding:7px 12px 0;margin:-7px 5px 0 -2px;cursor:pointer;}
dl.tabs dt:hover {text-decoration:underline;}
dl.tabs dd {display:none;float:right;margin:20px 0 0 -100%;position:relative;width:100%;z-index:2;border:1px solid #CCCCD1;border-width:10px 1px 1px;}
dl.tabs dd div {padding:10px;}
dl.tabs dt.active {background:#CCCCD1;border-bottom:1px solid #CCCCD1;font-weight:bold;}
dl.tabs dd.active {display:block;}

dl.tabs2 {margin:20px 10px 10px;}
dl.tabs2 dd div {padding:0;}
dl.tabs2 dd {border:none;}
dl.tabs2 dt {background:none;color:#004C8D;margin:-7px 5px 0 0;}
dl.tabs2 dt.active {font-weight:bold;color:#000;}

.newspaper {padding: 0 10px;}
.newspaper ul {list-style: none;}
.newspaper ul li {float: left;background: white;margin-right: 15px;margin-bottom: 20px;padding: 10px 0;border: 1px solid #E8E8E8;}
.newspaper ul li:hover {box-shadow: 0 0 25px #A1A1A1;}
.newspaper ul li:last-child {margin-right: 0px;}
.newspaper ul li img {width: 240px;height: 330px;border-top: 1px solid #E8E8E8;border-bottom: 1px solid #E8E8E8;}
.newspaper ul li h2 {text-align: center;}

.journal ul li {height:355px;}
.journal ul li img {width: 240px;height: auto;border-top: 1px solid #E8E8E8;border-bottom: 1px solid #E8E8E8;}

.view-photogallery .views-row {float:left;width:250px;padding:10px;background:#fff;border:1px solid silver;margin:6px;}
.view-photogallery .views-row:hover {box-shadow: 0 0 25px #A1A1A1;}

.node-photoalbum .field-name-field-foto .field-item {float:left;width:250px;padding:10px;background:#fff;margin:7px;}

/*TOP MENU*/

.nav {background: none repeat scroll 0 0 white;border-bottom: 4px solid #47a3da;float: left;list-style: outside none none;width: 1150px;}
.nav * {z-index: 999;}
.nav li {float: left;}
.nav li:first-child {margin-left: 40px;}
.nav li a {color: black;display: block;font-size: 16px;font-weight: bold;padding: 1em 1.7em;text-decoration: none;}
.nav li:hover a {background: none repeat scroll 0 0 #47a3da;color: white;}
.nav li a:hover {background: none repeat scroll 0 0 #47a3da;color: white;}
.nav li div {display: none;}
.nav li:hover div {background: none repeat scroll 0 0 #47a3da;display: block;left: 0;list-style: outside none none;padding-bottom: 30px; position: absolute; width: 100%;}
.nav li:hover div h4 {    color: #afdefa;    font-size: 22px;    font-weight: 300;    margin: 0;    padding: 2em 0 0.6em;}
.nav li:hover div ul:first-child {    margin-left: 30px;}
.nav li:hover div ul {    float: left;    margin: 0;    padding: 0 35px;}
.nav li:hover div ul li {    float: none;    list-style-type: none;    margin: 0;    padding: 0;}
.nav li:hover div ul li a {    color: white;    font-size: 14px;    font-weight: normal;    padding: 6px 0;}

/*REGIONS*/
#content ul.fo li ul {display:none;}
#content ul.fo span {cursor:pointer;}
#content ul.fo li {list-style-type:none;background: url(img/bull_region_plus.png) 0 3px no-repeat;margin:20px 0;padding:0 0 0 20px;}
#content ul.fo li.active {background: url(img/bull_region_minus.png) 0 3px no-repeat;} 
#content ul.fo li li {background: url(img/bull_region_sub.png) 0 4px no-repeat;margin:5px 0;}

#content .node-regfed table {width:100%;margin:15px 0;}
#content .node-regfed table em {font-style:normal;}
#content .node-regfed table th {border:1px solid #d0e0ea;padding:10px 5px;font-size:15px;border-bottom:none;background:#d0e0ea;text-transform:uppercase;font-weight:normal;}
#content .node-regfed table th strong {font-weight:normal;}
#content .node-regfed table th p {margin:0;}
#content .node-regfed table td {padding:5px;border:1px solid #d0e0ea;font-size:11px;vertical-align:top;}
#content .node-regfed table td p {margin:0;}
#content .node-regfed table td[colspan="5"] {padding:10px 5px;text-align:center;text-transform:uppercase;background:#ebf2f6;font-size:15px;}
#content .node-regfed table td[colspan="5"] strong {font-weight:normal;}
#content .node-regfed table .dark td {background:#ebf2f6;}


/*VIDEO*/

.view-videogallery .views-row {float:left;width:250px;padding:10px;background:#fff;border:1px solid silver;margin:6px;}
.view-videogallery .views-row:hover {box-shadow: 0 0 25px #A1A1A1;}

/*RECORDS*/

#node-1252 .newspaper {padding: 0 10px;}
#node-1252 .newspaper h3 {padding: 20px 0px;font-size: 21px;text-align: center;font-weight:normal;}
#node-1252 .newspaper span a {color: grey;font-size: 16px;font-weight: normal;padding-left: 20px;text-decoration:none;}
#node-1252 .newspaper ul {list-style: none;}
#node-1252 .newspaper ul li {float: left;width: 187px;margin-bottom: 30px;padding: 0;border: 1px solid #E8E8E8;background: url(img/shablon.jpg) no-repeat;}
#node-1252 .newspaper ul li:last-child {margin-right: 0px;}
#node-1252 .newspaper ul li img {width: 190px;height: 150px;}
#node-1252 .newspaper ul li h2 {font-size: 18px;font-weight:normal;text-align: center;border-bottom: 1px solid #E8E8E8;}
#node-1252 .newspaper ul li h2 a {text-decoration:none;}
#node-1252 .newspaper ul li p {margin:0;}
#node-1252 .newspaper ul li p a {text-decoration:none;display:block;text-align: center;color: white;font-size: 18px;font-weight: 700;padding: 160px 10px 60px 10px;-o-transition: background 0.5s;-moz-transition: background 0.5s;-webkit-transition: background 0.5s;}
#node-1252 .newspaper ul li:hover p{background: rgba(71, 163, 218, 0.5);}

.a_records {width: 100%;}
.a_records div{float: left;width:400px;margin-bottom: 40px;}
.a_records h3 {text-align: center;font-size: 21px;padding:10px;font-weight:normal;}
.a_records h2 {font-size: 18px;color: green;font-weight:normal;}
.a_records ul {padding: 10px 30px;margin: 8px 4px;list-style: none;border: 1px solid #E8E8E8;padding-bottom: 15px;}
.a_records ul li {padding: 3px 20px;}
.a_records ul li:hover {background: rgba(71, 163, 218, 0.2);}

/*PARTNERS*/

#block-views-partners-block  {margin:13px 20px 0 20px;text-align: center}
#block-views-partners-block .portfolio-container {width: 1000px;height: 145px;overflow: hidden;margin: 0 auto;padding-top:10px;}
#block-views-partners-block ul li {display:block;float:left;position:relative;width:150px;height:145px;overflow:hidden;}
#block-views-partners-block ul li .field-content div {display:none;padding:5px;width:100%;height:90px;overflow:hidden;position:absolute;top:0;left:0;background:#fff;}
#block-views-partners-block ul li:hover .field-content div {display:block;}
#block-views-partners-block h3 {color:#000;font-size:13px;text-transform:uppercase;padding:0;margin:0;border-bottom:1px solid #000;}
#block-views-partners-block h3 a {color:#000;}
#block-views-partners-block .field-content p {color:#000;font-size:11px;}
#block-views-partners-block span.field-status {font-size: 11px;display: block;text-align: center;}

/*BIRTHDAY BLOCK*/
#birthday_slider {height: 100px;width: 268px;overflow: hidden;}
#block-sa-birthday {padding:10px;}
#block-sa-birthday .header {background:url(/i/img/hb.png) center right no-repeat;font-size: 18px;padding:22px 0;margin-top:-20px;}
#block-sa-birthday .name {font-size:21px;color:#717171;clear:both;padding:5px 0;}
#block-sa-birthday .name img {float:left;margin:0 10px 0 0;} 
#block-sa-birthday .congr {color:#717171;clear:both;padding:5px 0;text-align:center;}

/*MEMBER PAGE*/

.node-member .field-name-field-image {float: left;margin:0 20px 200px 0;}

.node-member .field-type-text,
.node-member .field-type-number-integer {margin: 10px 0;}

.node-member .field-type-text .field-label,
.node-member .field-type-number-integer .field-label {float: left;width: 200px;}
.node-member .field-name-field-facts .field-label,
.node-member .field-name-body .field-label
{margin: 10px 0;}

.el-finder .image p {background-size: cover !important;background-position: center center !important;}

.node .calendar {
    width: 100%;
}