h1, h2, h3, h4 {
    color: #DF0101;
    font-weight: bold;
}

a, a:hover, a:focus {
    color: #DF0101;
}

#secondary_news {
    
}

#main-news h4 {
    font-size: 18px;
/*    font-weight: normal;*/
    text-decoration: none;
    border-bottom: none;
    font-weight: bold;
}

#header-script h2 {
    margin-top: 0px;
    font-weight: 100;
    text-align: center;
    font-size: 25px;
}

#main-news h4 a {
text-decoration: none;
  border-bottom: none;
  line-height: 22px;
}

#secondary_news {
    margin-top: 20px;
}
#secondary_news h4 {
        font-size: 17px;
    font-weight: normal;
        text-decoration: none;
    border-bottom: none;
}

.section {
    //padding: 10px 0px;
}

.in-section {
    margin: 15px 0px;
}

.center {
     float: none;
     margin-left: auto;
     margin-right: auto;
}

.clearboth {
    clear: both;
}

.light_green {
    background-color: rgba(60,118,61,0.03)
}

.no-padding {
    padding-left: 0px;
    padding-right: 0px;
}

/*Pagination*/

.pagination>li>a, .pagination>li>span {
    color: #DF0101 !important;
}

.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    color: #fff !important;
    background-color: #DF0101;
    border-color: #DF0101;
}

/*Navbar*/
.navbar-default {
	background-color: #009247;
}

.container {
    position: relative;
}

.container::after {
  content: "";
  opacity: 0.5;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;   
}

.navbar-default .navbar-brand {
    color: #ecf0f1;
    float: left;
    padding-top: 7px;
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
    margin-right: 0px;
}

.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
	color: #ffffff;
}
.navbar-default .navbar-text {
	color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a {
  color: #fff;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
	color: #ffffff;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #ffffff;
	background-color: #1c8516;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
	color: #ffffff;
	background-color: #1c8516;
}
.navbar-default .navbar-toggle {
	border-color: #1c8516;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: #1c8516;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #ecf0f1;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
	border-color: #ecf0f1;
}
.navbar-default .navbar-link {
	color: #ecf0f1;
}
.navbar-default .navbar-link:hover {
	color: #ffffff;
}

@media (max-width: 767px) {
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color: #333;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
		color: #ffffff;
                background-color: #1c8516;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
		color: #ffffff;
		background-color: #1c8516;
	}
        
        .navbar-default .navbar-nav .open .dropdown-menu > ul {
            background-color: #fff;
        }
}

.navbar-header a:hover {
    text-decoration: none;
}

#top-menu .caret {
    vertical-align: 0px;
}

#top-menu .dropdown-menu {
    border-radius: 0px 0px 6px 6px;
    margin: 0px;
    -moz-box-shadow: 6px 6px 10px 2px rgba(0,0,0,0.2);
    -webkit-box-shadow: 6px 6px 10px 2px rgba(0,0,0,0.2);
    box-shadow: 6px 6px 10px 2px rgba(0,0,0,0.2);
    background-color: #fff;
}


#top-menu .dropdown-menu>li:focus, .dropdown-menu>li:hover  {
    background-color: #27ae60 !important;
}

.navbar .nav li.dropdown.open>.dropdown-toggle, .navbar .nav li.dropdown.active>.dropdown-toggle, .navbar .nav li.dropdown.open.active>.dropdown-toggle {
  background-color: #DF0101 !important;
  color: #fff !important;
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
  text-decoration: none;
  color: #fff;
  background-color: #009247;
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
  text-decoration: none;
  color: #fff;
  background-color: #009247;
}

.navbar .nav li.dropdown>.dropdown-toggle .caret {
    border-top-color: #ecf0f1;
    border-bottom-color: #ecf0f1;
}

#top-menu li.dropdown>a:hover .caret, .navbar .nav li.dropdown>a:focus .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
}

.navbar .nav li.dropdown.open>.dropdown-toggle .caret, .navbar .nav li.dropdown.active>.dropdown-toggle .caret, .navbar .nav li.dropdown.open.active>.dropdown-toggle .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
}

.nav .dropdown-menu:before {
    display: none !important;
}

.nav>li>.dropdown-menu:after {
    display: none !important;
}




/*End navbar*/

/*Homepage News sec23tion*/

#news_block a {   
      border-bottom: solid 1px;
  font-weight: bold;
}

#news_block a:hover {
    border-bottom: none;
    text-decoration: none;
/*    color: #1c8516;*/
}

#other_texts {

}

#other_texts h4{
    margin-bottom: 0px;
    mar
}

#other_texts .btn{
    color: #fff;
}

#other_texts .btn:hover{
    color: #fff !important;
}

#other_texts a:focus{
    color: #fff !important;
}

#other_texts ul li {
    color: #205715;
}


/*END Homepage News section*/

/*Tour table*/

.table-condensed>thead>tr>th,
.table-condensed>tbody>tr>th,
.table-condensed>tfoot>tr>th,
.table-condensed>thead>tr>td, 
.table-condensed>tbody>tr>td,
.table-condensed>tfoot>tr>td {
    padding: 2px !important;
}
#stats table {
    border: 1px solid #ddd; 
    font-size: 12px;
}

#stats .table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
    background-color: rgba(92,184,92,0.3) !important;
}

#stats .table-striped>tbody>tr:nth-child(even)>td,
.table-striped>tbody>tr:nth-child(even)>th {
    background-color: #fff !important;
}
/*End tour table*/

#next-match {
    
}

#match_date_time {
    margin: 8px auto;
    font-size: 19px;
}
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.team_name {
    margin-top: 15px;
    font-size: 20px;
    color: #1c8516;
    font-weight: bold;
} 

/*Homepage birthdays*/
#birthday_block p {
    margin-top: 9px;
}
.bd_name {
    font-size: 1.5em;
    color:#1c8516;
    line-height: 0.8em;
}

/*Sport center block*/
.sport_high {
    font-size: 1.5em;
}

#sport_phone {
    font-size: 22px;
}

/* Pages and text */
.inner_text {
    margin-top: 18px;
}

#footer .container {
    padding: 10px 0px;
    color: #fff;
}

@media (max-width: 992px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
  		display:block !important;
	}
        
    .navbar-nav .open .dropdown-menu {
position: static;
float: none;
width: auto;
margin-top: 0;
background-color: transparent;
border: 0;
box-shadow: none;
}
}

#yar_tituls .panel-body {
    padding: 35px 40px;
}

#yar_tituls .panel-body .row div {
    padding: 10px 5px;
}

#birthday_block {
    margin-top: -25px; 
}

/*Text category*/

.text_list td {
    padding: 5px;
}

.text_list h3 {
    font-size: 20px;
    line-height: 26px;
    
}

.text_list h3 a {
    border-bottom: solid 1px #DF0101;
}

.txt_info .label-default {
  background-color: #DF0101;
  -webkit-transform: skew(-20deg);
  -moz-transform: skew(-20deg);
  -o-transform: skew(-20deg);
  display: inline-block;
    padding: .4em 1em .4em;
    border-radius: 0px; 
}

.txt_info .label-default span {
   -webkit-transform: skew(20deg);
  -moz-transform: skew(20deg);
  -o-transform: skew(20deg);
  display: inline-block;
}

.text_list h3 a:hover,
.text_list h3 a:focus {
    text-decoration: none;
    border-bottom: none;
    color: #DF0101;
}


/*Text views*/
.text_date {
    margin-top: 10px;
}

#news-header {    
}

.inner-text a {
    text-decoration: none;
    border-bottom: 1px solid;
}

.inner-text a:hover, .inner-text a:focus {
    border: none;
}

/*Team*/
.player_photo {
    margin-top: 15px;
    margin-bottom: 15px;
}

/*Matches*/
.match-box {
    padding: 30px;
}

.match-box-up {
    margin-bottom: 20px;
}

.match-separator {
    height: 20px;
}

.match-box .teams_name {
    font-size: 23px; 
}

.match-box-score{
    font-size: 45px;
    color: #990000;
} 

@media (max-width: 1215px) {
    .match-box-score{
        font-size: 35px;
    }
}

@media (max-width: 400px) {
    .match-box-score{
        font-size: 25px;
    }
}

/*Guestbook*/
#comments {
    margin-top: 40px;
}

#comments .panel-heading {
    background-color: #5CB85C;
}
#comments .panel-heading h4 {
    color: #fff;
}

#comments .panel-body {
    background-color: #dff0d8;
}

#show_smileys a {
    text-decoration: none;
    border-bottom: dotted 1px;
}

#show_smileys a:hover {
    text-decoration: none;
}

.caret-reversed {
    border-top-width: 0;
    border-bottom: 4px solid #000000;
}

#comments dt {
    border-bottom-color: silver;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    margin-bottom: 15px;
}

#comments dd, dt {
    padding-bottom: 5px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 5px;
}

#comments dt .comment_date {
    color: gray;
    font-weight: normal;
    padding-left: 10px;
    float: right;
    position: relative;
    top: 15px;
    background-color: #fff;
}

#comments dt strong {
    background-color: #FFFFFF;
    display: inline-block;
    padding-right: 10px;
    position: relative;
    top: 15px;
}

#front-photo {
    padding-top: 20px;
    padding-bottom: 20px;
}

#footer  {
    
}

#main-news h4 {
    margin-top: 0px;
}

.sponsor a {
      display: block;
  margin: 0px auto;
  text-align: center;
}

#go-for-rugby {
  text-align: left;
  padding-left: 20px;
  background-color: #009247;
  border: none;
  font-size: 22px;
  background: #009247 url(/static/img/ball_transparent.png) no-repeat;
  background-position: 275px -24px;
}

#ask_kovel {
    margin-top: 20px;
}

#ask_kovel .panel-default {
    border: solid 1px #F0FFFF;
}

#ask_kovel .panel-body {
  background: #F0FFFF;
  border: none;
}
#ask_kovel h5 {
    font-size: 20px;
    font-weight: bold;
    color: #DF0101;
}

#ask_kovel a {
  background: #009247;
  border: #009247;
  font-size: 22px;
}

#other_texts li {
    margin-bottom: 15px;
}

#ask-kovel-modal .btn.btn-primary {
  background: #009247;
  border: #009247;
}

#ya_maps {
    height: 300px;
    margin-bottom: 30px;
}

#footer p a {
    color: #333;
    text-decoration: underline;
} 

#footer {
    border-top: solid #DF0101 5px;
    background: url('/static/img/ornament.png');
    background-repeat: no-repeat;
    background-size: 15%;
    background-position: right;
}

#footer_contacts {
    
} 
 
#front-photo { 
    border-bottom: solid #DF0101 5px;  
}

#side-menu {
    
}

#side-menu li:hover {
    background:#009247;
    margin: 10px 0px;
    padding: 5px 15px;
    
}

#side-menu li {
    background: #fff;
    margin: 10px 0px;
    padding: 5px 15px;
    font-weight: bold;
}

#side-menu li a {
    color: #009247;    
}

#side-menu li:hover a{
    color: #fff;
    text-decoration: none;
    border: none;
}

.sport-presenter {
    border: solid 1px #009247;
/*    border-radius: 4px;*/
    height: 105px;
}

.sport-presenter > div {
    display: inline-block;
    float: left;
    height: 103px;
}

.sport_name {
    height: 100%;
    background: #009247;
    color: #fff;
    vertical-align: middle;
    line-height: 100px;
    color: #fff;
    text-align: center;
}

.sport_name p {
    color: #fff;
    font-size: 30px;
    text-transform: uppercase;
}

.volunteer-home a {
    font-size: 25px;
    text-align: center;
    margin: 20px 0px;
    padding: 15px;
    border: green 7px solid;
    font-weight: bold;
    text-decoration: none;
    display: block;
}

