
/**
 * @file
 * Block Styling
 */


.block /* Block wrapper */ {
  margin-bottom: 1em;
}

.block.first /* The first block in the region */ {
}

.block.last /* The last block in the region */ {
}

.block.region-odd /* Zebra striping for each block in the region */ {
}

.block.region-even /* Zebra striping for each block in the region */ {
}

.block.odd /* Zebra striping independent of each region */ {
}

.block.even /* Zebra striping independent of each region */ {
}

.region-count-1 /* Incremental count for each block in the region */ {
}

.count-1 /* Incremental count independent of each region */ {
}

.block h2.title /* Block title */ {
}

.block .content /* Block's content wrapper */ {
}

#block-aggregator-category-1 /* Block for the latest news items in the first category */ {
}

#block-aggregator-feed-1 /* Block for the latest news items in the first feed */ {
}

#block-block-1 /* First administrator-defined block */ {
}

#block-blog-0 /* "Recent blog posts" block */ {
}

#block-book-0 /* "Book navigation" block for the current book's table of contents */ {
}

#block-comment-0 /* "Recent comments" block */ {
}

#block-forum-0 /* "Active forum topics" block */ {
}

#block-forum-1 /* "New forum topics" block */ {
}

#block-menu-primary-links /* "Primary links" block */ {
}

#block-menu-secondary-links /* "Secondary links" block */ {
}

#block-node-0 /* "Syndicate" block for primary RSS feed */ {
}

#block-poll-0 /* "Most recent poll" block */ {
}

#block-profile-0 /* "Author information" block for the profile of the page's author */ {
}

#block-search-0 /* "Search form" block */ {
}

#block-statistics-0 /* "Popular content" block */ {
}

#block-user-0 /* "User login form" block */ {
}

#block-user-1 /* "Navigation" block for Drupal navigation menu */ {
}

#block-user-2 /* "Who's new" block for a list of the newest users */ {
}

#block-user-3 /* "Who's online" block for a list of the online users */ {
}

#top-user-block-wrapper {
	
}

	#top-user-block-wrapper div.region-user-block {    
	}

    div.region-user-block .block-user {
        margin-left: 200px;
    }
	
	#main-user-block {
        max-width: 500px;
        margin-top: 15px;
	}
	
	#main-user-block ul {
	  list-style: none;
	  padding-left: 5px;	  
	}
	
	#main-user-block ul li {
	  
	}
	
	#main-user-block .user-avatar {
	  text-align: right;
	}
	
	#main-user-block a:link, #main-user-block a:visited  {
	    color: #fff;
	}

    #main-user-block a:hover{
        color: #cff8ff;
    }
	
	#main-user-block a.active:link, #main-user-block a.active:visited {
	 color: #222;
	 text-decoration: underline;
	}
	
	#user-login-form > div {	   
	  margin-top: 5px;
	  position: relative;
	}
	
	  #user-login-form > div div {
	    float: left;
	  }

  #user-login-form > div div.item-list {
    position: absolute;
    top: 40px; left: 0; 
    
  }
  
  #user-login-form > div div.item-list ul {
    margin: 10px 0 0 0; 
    padding: 0;
  }
  
  #user-login-form > div #edit-submit {
    margin-top: 1em;
  }
  
    #user-login-form > div div.item-list ul li {
      float: left;
      list-style: none;
      margin: 0 20px 0 0; 
      padding: 0;
    }	
	
#block-poselenia_views-2 {
  background-color: #F8F8F8;
  padding: 18px;
  border-radius: 10px;
  border: 5px solid #eee;  
}

  #block-poselenia_views-2 h3 {
	  margin-bottom: 15px;
  }
  
  
.event-calendar table {
    border: 1px solid #99aa99;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1em;
    max-width: 300px;
    width: 100%;
    border-radius: 5px;
}  
  
.event-calendar div.month-view table.event-block th {
    font-weight: normal;
}

.event-calendar th {
    background: none repeat scroll 0 0 #caeb9b;
    border: 1px solid #99aa99;
    color: #4a6622;
    font-weight: bold;
    padding: 1px 0.33em;
    text-align: center;
}

.event-calendar td {
    border: 1px solid #99AA99;
    color: #777777;
    margin: 0;
    padding: 0;
    text-align: right;
    vertical-align: top;
}

.event-calendar td.sat, .event-calendar td.sun {
    background: none repeat scroll 0 0 #CCFF99;
}


.event-calendar td.today {
    background: none repeat scroll 0 0 #eee;
    color: #444;
    font-weight: bold;
}

.event-calendar td a {
    font-weight: normal;    
    text-decoration: underline;
    color: #0088CC;
}

.main-front-material {
	border: 5px solid #E3F4F8;
	border-radius: 10px;
	padding: 5px 25px 20px 15px;
	position: relative;
	display: block;
	margin-bottom: 25px;
}

	.main-front-material h3 {
		margin-top: 15px;
	  font-size: 24px !important;
	  line-height: 24px !important;
	}
	
	.main-front-material h2 a {
	 color: #333;
	}
	
#block-views-ads_block-block_1 {	
/* 	background-color: #ECFFD9;
	border-left: 5px solid #CAEB9B;
	border-bottom: 5px solid #CAEB9B;
	border-radius: 10px;
	padding: 5px 15px 10px 10px; */
}

#block-views-prod_block-block_1 {
/* 	background-color: #FFF8E5;
	border-left: 5px solid #F3E2C7;
	border-bottom: 5px solid #F3E2C7;
	border-radius: 10px;
	padding: 5px 15px 10px 10px; */
}

#block-image-1 .block-images ul.thumbnails {
	margin-left: 0 !important;
	padding-left: 0 !important;
}

 #block-image-1 ul.thumbnails > li {
    margin-left: 0 !important;
  }
  
 li div.random-photo  {
   text-align: center;
 } 
 
 li div.random-photo h5 {
  width: 230px;
 }
 
 li div.random-photo {
  height: 220px;
 }
 
 .event-calendar .table th,.event-calendar .table td  {
  padding: 1px 0 1px 2px;
 } 
 
.event-calendar span a:hover, .event-calendar span a:active, .event-calendar span a:focus {
  background-color: #fff;
  color: #005580;
}

.event-calendar caption span {
	font-size: 14px;
}

.event-calendar caption {
	margin-bottom: 5px;
}

.block-event {
	margin-bottom: 15px;
}

.region-content-right .block {
	margin-bottom: 20px;
}

div#block-views-ads_block-block_1 div.views-field-field-ad-photo-fid {
  float: left;
}

div#block-views-ads_block-block_1  .views-field-title {
  margin-left: 60px;
} 

div#block-views-ads_block-block_1 ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

div#block-views-ads_block-block_1  li {
	margin-bottom: 5px;
	padding-bottom: 15px;
	min-height: 55px;
	border-bottom: 1px solid #eee;
}

div#block-views-ads_block-block_1 li.views-row-last {
	border-bottom: none;
}



#block-views-prod_block-block_1 div.views-field-field-production-photo-fid {
  float: left;
}

#block-views-prod_block-block_1  .views-field-title {
  margin-left: 60px;
} 

#block-views-prod_block-block_1 ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

div#block-views-prod_block-block_1 ul li{
	margin-bottom: 5px;
  padding-bottom: 5px;
  height: 55px;
  border-bottom: 1px solid #eee;
}

div#block-views-prod_block-block_1 li.views-row-last {
  border-bottom: none;
}

#block-views-ads_block-block_2 ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#block-views-ads_block-block_2 div.views-field-field-ad-photo-fid {
	position: absolute;
	left: 0;
	top: 0;
}

#block-views-ads_block-block_2 div.views-field-title {
	margin-left: 60px;
}

	#block-views-ads_block-block_2 ul li {
		position: relative;
		border-bottom: 1px solid #eee;
		margin-bottom: 15px;
		padding-bottom: 15px;
    min-height: 50px;
	}
	
.event-calendar .stop {
	color: #CCC;
	font-weight: normal;
}

#map-block {
	position: relative;
	width: 309px;
	height: 152px;
	background-image: url(../images/map-bnr.jpg);
	background-repeat: no-repeat;
	margin: 0 auto;
}

	#map-block h3 {
		position: absolute;
		left: 15px;
		top: 12px;
		line-height: 16px;
	}
	
	 #map-block h3 a {
	   color: #333;
	   text-decoration: none;
	 }
	
	#map-block a.white {
	   position: absolute;
	   color: #fff;
	   font-size: 16px;
	   font-weight: bold;	  
	   line-height: 14px;
	   bottom: 40px;
	   left: 12px; 
	   text-decoration: none;
	}

#exper-block {
  position: relative;
  width: 309px;
  height: 152px;
  background-image: url(../images/exper.jpg);
  background-repeat: no-repeat;
  margin: 0 auto;
}

  #exper-block h3.title {
    position: absolute;
    left: 15px;
    top: 12px;
    line-height: 16px;
  }
  
	  #exper-block h3 a {
	    color: #333;
	    text-decoration: none;
	  }
	  
	#exper-block h4#seminary {
	  position: absolute;
	  bottom: 50px;
	  left: 15px;
	  font-size: 18px;
	}
	
	#exper-block h4#forums {
    position: absolute;
    bottom: 50px;
    left: 105px;
    font-size: 18px;
    font-weight: bold;
  }       

#polovinka-block {
  position: relative;
  width: 309px;
  height: 152px;
  background-image: url(../images/polovinka.jpg);
  background-repeat: no-repeat;
  margin: 0 auto;
}

  #polovinka-block h3.title {
    position: absolute;
    left: 15px;
    top: 12px;
    line-height: 16px;
  }
  
    #polovinka-block h3 a {
      color: #333;
      text-decoration: none;
    }
  
  #polovinka-block h4#find {
    position: absolute;
    bottom: 50px;
    left: 15px;
    font-size: 24px;
  }
  
  #polovinka-block h4#slety {
    position: absolute;
    bottom: 50px;
    left: 115px;
    font-size: 18px;
  }
  
  #polovinka-block h4#prazdniki {
    position: absolute;
    bottom: 50px;
    left: 175px;
    font-size: 18px;
  }
  
#om-maximenu-poselenia-main-menu {
	margin: 20px auto;
}

.view-ads-block h3, .view-prod-block h3, .block-poselenia_stat h3 {
	margin-top: 0;
	margin-bottom: 0.5em;
}

.block-poselenia_stat  p.extended-link {
	margin-top: 10px;
}

.view-ads-block h3 a, .view-prod-block h3 a, .block-poselenia_stat h3 a {
	color: #444;
}

.region-footer-left ul {
	list-style-type: none;
}

#footer-links {
	background-color: #eee;
	margin-top: 30px;
}

	#footer-links ul {
		list-style-type: none;
		padding: 0;
		margin: 10px 0 0 0;
	}
	
		#footer-links ul li {
			margin-bottom: 5px;
		}  

	#footer-links a {
		color: #666;
	}
	
	#footer-links a:visited {
		color: #999;
	} 
	
	#footer-links a:hover {
		color: #333;
	}
	
.region-right-sidebar .block ul.nav {
  margin-left: 10px;
  margin-right: 10px;
}	

.region-right-sidebar .block .nav > li > a:hover {
  text-decoration: none;
  background-color: rgb(198, 229, 247);
}

.region-right-sidebar .block .nav .manager {
  margin-top: 20px;
  display: inline-block;
}

    #main-user-block .light-block {
        position: relative;
        border-radius: 10px;
        padding-right: 10px;
        padding-left: 10px;
        height: 60px;
    }

        #main-user-block .light-block h4 {
            margin-bottom: 10px;
            margin-top: 5px;
            font-size: 24px;
        }

            #main-user-block .light-block h4 a {
                color: #fff;
            }

    #main-user-block ul.user-menu {
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
        margin-top: 5px;
        font-size: 14px;
    }

        #main-user-block ul.user-menu > li {
            position: relative;
            display: block;
            float: left;
            margin-right: 13px;
            margin-top: 3px;
            text-shadow: 1px #000;
        }

        #main-user-block ul.user-menu .more-link a {
        }

        #main-user-block ul.user-menu a.active {
            color: #dff6ff;
        }

        #logout-link {
            position: absolute;
            right: 0px;
            top: 10px;
            color: #000;
            font-size: 12px;
        }

            #logout-link a {
                color: #000;
            }

        #create-block {
            background-color: #fff;
            position: absolute;
            right: 100px;
            top: 30px;
            border-radius: 10px;
            width: 480px;
            z-index: 1000;
            border: 3px solid #eee;
            font-size: 12px;
            padding: 10px 15px;
        }

            #main-user-block #create-block a {
                color: #0088cc;
            }

            #create-block .close {
                position: absolute;
                right: 15px;
                top: 15px;
                cursor: pointer;
            }

        #more-block {
            background-color: #fff;
            position: absolute;
            right: 0px;
            top: 30px;
            border-radius: 10px;
            width: 280px;
            z-index: 1000;
            border: 3px solid #eee;
            font-size: 12px;
            padding: 10px 15px 20px 15px;
        }

            #more-block .close {
                position: absolute;
                right: 15px;
                top: 15px;
                cursor: pointer;
            }

            #main-user-block #more-block ul {
                margin-top: 15px;
            }

                #main-user-block #more-block ul li {
                    font-size: 14px;
                }

                #main-user-block #more-block ul li a {
                    color: #0088cc;
                }

        .block .view-ads table {
           margin-top: 0;
        }

            .block .view-ads table thead {
                display: none;
            }

            .block .view-ads table tr.even, .block .view-ads table tr.odd {
                border: none;
                background-color: transparent;
            }

                .block .view-ads table tr.even td , .block .view-ads table tr.odd td{
                    background-color: transparent;
                    border: none;
                }

        .block .view-ads h3 {
            margin-top: 0;
            padding-top: 0;
        }

        #block-views-slider-block_1 div.view-slider {
            width: 950px;
            margin: 0 auto;
            border-radius: 4px;
            padding: 10px;
            background-color: #eee;
        }

.nivo-directionNav a {
    top: 40%;
}

.view-display-id-block_1 td.views-field-field-ad-photo-fid {
    width: 50px;
    padding-right: 0;
    padding-left: 0;
}