/* ============ */
/* GLOBAL SETTINGS */
/* =================================================================================== */


div, header, nav, main, section, article, aside, footer, p {
	display:block;
	position:relative;
	margin:0;
	padding:0;
}

#header, #content, #footer { 
	
}



/* ============ */
/* INDIVIDUAL SETTINGS 4 GLOBAL ELEMENTS*/
/* =================================================================================== */
html { position: relative;}
body {
	padding: 0px;
	margin: 0px;
	font-family: tahoma;
	font-size: 16px;
	background-image: url(design/grass1.jpg);
	}
a {
	color:#ffffff;
	}
a:hover {
	color:#ABEF81;
	}
	
.entry-content p, .entry-content li, h3  {
	line-height: 20px;
	}
	
h1 {
	font-size: 32px;
    line-height: 40px;
    color: #fff;
    text-transform: uppercase;
	text-align: center;
    margin-top: 30px;
    font-weight: normal;
}
h2 {
	margin:30px;
}
#wrapper{ 
	overflow:hidden;
	margin:auto;
	background-color: rgba(0, 128, 0, 0.5);
	
	}

#wrapper > .vertical-white-line {
    position: absolute;
    left: 4px;
    background: url(design/vertical-white-line.jpg) top center repeat-y;
    width: 23px;
    height: 100%;
	}
	
/* HEADER */
#header  > .horizontal-white-line{
	position: absolute;
    left: 26px;
    bottom: -20px;
	width:100%;
    max-width: 1200px;
    height: 21px;
    background: url(design/horizontal-white-line.jpg) left center repeat-x;
}
#header {
	min-height: 142px;
	background: url(design/Right_up_corner.PNG) top right no-repeat;
	}

/* CONTENT */

#content .content {
	
	line-height: 14px;
    padding: 40px;
}

.entry-content {
	padding: 20px;
}

.rulon {
	margin: 50px 0px;
	background: #F1F4ED url(design/content-sides.png) -7px repeat-y;
}

.rulon h2 {
	 margin: 30px;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 33px;
    line-height: 33px;
}

.rulon:before {
	content: " ";
	display: block;
    height: 10px;
    background: url(design/content-line.png)repeat-x;
}

.rulon:after {
	content: " ";
    display: block;
    height: 10px;
    background: url(design/content-line.png) 0 -10px repeat-x;
}

#rulon {
	position: absolute;
    top: 0px;
    right: -1px;
    width: 66px;
    height: 100%;
	background: url(design/rulon-body.png) repeat-y;
	z-index: 99;
}

#rulon:before {
	content: " ";
    display: block;
    position: absolute;
    top: 0px;
    width: 66px;
    height: 10px;
    background: url(design/rulon-sides.png) repeat-y;
}

#rulon:after {
	content: " ";
    display: block;
    position: absolute;
    bottom: 0px;
    width: 66px;
    height: 10px;
    background: url(design/rulon-sides.png) 0 11px repeat-y;
}

/* FOOTER */

#footer {
	min-height:190px;
}

.footer-ball {
	width: 100%;
    height: 156px;
    background: url(design/footer.png) no-repeat;
    position: absolute;
    bottom: 0px;
}

/* LISTS */
ul.line {
	list-style-type: none;
	padding: 0px;}
ul.line > li { 
	*display: inline-block;
	float:left;
	height: inherit;
	}


/* ============ */
/* SETTINGS 4 INDIVIDUAL ELEMENTS*/
/* =================================================================================== */

/* LOGO */
#logo { 
	top: 0px;
    left: 24px;
    margin: 26px;
    width: 316px;
    height: 90px;
    background: #fff url(design/logo-block.png);
    position: absolute;
	}

#sportbud-logo span {
	display:none;
}

#sportbud-logo {
	display: block;
    width: 316px;
    height: 90px;
    background: url(design/SportBud-logo.png) no-repeat center center;
	}

/* CONTACT INFORMATION */	

#navigation, .contacts {
	margin-left: 392px;
}

.contacts p	{
	font-size: 22px;
    color: #FFFFFF;
    padding-top: 13px;
    display: table;
    margin: auto;
    text-align: center;
    background-color: rgba(0, 128, 0, 0.5);
	}
.contacts p span {
	white-space:nowrap;
}
	
#contacts  .entry-content img {
	position: absolute;
    left: 0;
}
#contacts  .entry-content p {
	 padding: 12px 44px;
    line-height: 30px;
}
	
.Email {
	text-decoration: none;
	}

/* NAVIGATION */

#navigation {
    position: absolute;
    bottom: 26px;
	}
#navigation  ul {
	margin:0px;
}

#navigation li {
	min-width: 208px;
    text-align: center;
}

#navigation a {
	font-family:Tahoma;
	font-size:14px;
	font-weight:bold;
}

/* CONTENT */	
#services {
	max-width: 888px;
}

#we-do-it .entry-content {
	padding-right: 20px;
}

#we-do-it .images { display:none;}

/* ФОТОГРАФИИ КОРТОВ */

#photo {position:absolute; z-index: 9;}

#services .photo6 { width: 265px; height: 217px;  background-image: url(design/photos/Photo_6.png);    right: -246px;    top: 0px; }
#services .photo2 { width: 265px; height: 216px;  background-image: url(design/photos/Photo_2.png);     right: -246px;    top: 39%;}
#services .photo1 { width: 247px; height: 192px;  background-image: url(design/photos/Photo_1.png);     right: -244px;    top: 80%;}
#services .photo3 { width: 242px; height: 185px; background-image: url(design/photos/Photo_3.png);     right: -238px;    top: 21%;}
#services .photo4 { width: 248px; height: 189px; background-image: url(design/photos/Photo_4.png); right: -225px;    top: 61%;}

#contacts .photo6 { width: 265px; height: 217px;  background-image: url(design/photos/Photo_6.png);    right: -61%;    top: 0px; }
#contacts .photo2 { width: 265px; height: 216px;  background-image: url(design/photos/Photo_2.png);            right: -53%;    top: 59%;}
#contacts .photo1 { width: 247px; height: 192px;  background-image: url(design/photos/Photo_1.png);         right: -118%;    top: 102%;}
#contacts .photo3 { width: 242px; height: 185px; background-image: url(design/photos/Photo_3.png);     right: -106%;    top: 44%;}
#contacts .photo4 { width: 248px; height: 189px; background-image: url(design/photos/Photo_4.png);     right: -121%;    top: -48px;}
#contacts .photo5 { width: 248px; height: 189px; background-image: url(design/photos/Photo_5.png);     left: 43px;    bottom: -161px;}

 /**
 * Media Queries (RESPONSIVE)
 * -----------------------------------------------------------------------------
 */

/* больше 1260  */
@media screen and (min-width: 1224px) { 
	#wrapper{
		width: 1225px;
		}
		
}
@media screen and (min-width: 905px) and (max-width: 1224px) {
	
	#navigation {
		bottom: 0px;
	}
	#navigation li {
		width: 50%;
	}
}
@media screen and (min-width: 768px) { 
	.entry-content {
		padding-right: 86px;
		}
		
}


/* меньше  */
@media screen and (max-width: 1200px) { 
			
	#we-do-it .slides1_wrap {
		display:none;
		}
		
	#we-do-it .images { display:block; padding-right: 20px;}
	
}

@media screen and (max-width: 1224px) { 
	#navigation li {
		height: 30px;
	}
}

@media screen and (max-width: 905px) {
	#navigation ,.contacts {
		margin:0;
	}
		
	#navigation {
		position: static;
		height: 200px;
	}
	
	#navigation li {
		 height: 45px;
		width: 100%;
		margin: 10px;
		float: none;
		clear: both;
	}
	
	#navigation a {
		    font-size: 19px;
			line-height: 38px;
	}
	
	#logo {
		position: initial;
		margin: 26px auto;
	}
	
	#header > .horizontal-white-line {
		position: relative;
	}
	  
}

/* меньше */
@media screen and (max-width: 768px) { 
	
	h1 {
		font-size: 24px;
		line-height: 30px;
	}
	
	#rulon { 
		display:none;
	}
	#services #photo { 
		display:none;
	}
	
	#content .content {
		padding-right:20px;
	}
	
}

@media screen and (min-width: 768px) { 
	#contacts {
		max-width: 484px;
	}
}

@media screen and (max-width: 480px) { 
	
	#content .content{
		
		padding: 10px;
	}
	
	#wrapper > .vertical-white-line {
		display:none;
	}
	
	.footer-ball {
		display:none;
	}
	
	#header > .horizontal-white-line {
		left: 0px;
	}
}


/**
 * GO UP BOTTON  (#back-top) 
 * -----------------------------------------------------------------------------
 */

 #back-top {
	position: fixed;
	bottom: 30px;
	right: 5%;
	z-index: 9999;
}
#back-top a { 
	border: solid 48px transparent;
    border-bottom-color: #fff;
    width: 0;
    height: 0;
    display: block;
    text-transform: uppercase;
	text-decoration: none; 
	color: #000;		
	-webkit-transition: 1s; 
	-moz-transition: 1s; 
	transition: 1s;
}
#back-top a:hover {	
	text-decoration: underline;
}
#back-top span { 
	position: absolute;
    bottom: 18px;
    left: 29px;
    font-size: 13px;
	margin-bottom: -14px;	
	background: #fff; 
	-webkit-transition: 1s; 
	-moz-transition: 1s; transition: 1s;
}

#theme-info { position: absolute; bottom: 12px; left: 40%; color: #fff; font-size: 12px;}
#theme-info a { color: #FFE4C4;}