/* Sticky footer and general settings */
html,
body {
  height: 100%;
  font-size: 100%;
  font-size: 16px;
  line-height: 20px;
  color: #404040;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  background-color: #fff;
}
ul, ul li {
 text-align: left;
}
ul {
 list-style-type: square;
}
hr {
 height: 1px;
 color: #333;
}
a,a:link,a:visited {
 color: #336699;
}
a:hover {
 color: #fed136;
  text-decoration: underline;
}
.row {
width: 100%;
margin: 0;
padding: 0;
}
code {
  font-size: 80%;
}
 img {
 display: block;
 height: auto;
 max-width: 100%;
 }
 
td {
 border: 1px solid #777;
 padding: 5px;
}

/* Titles */
h1,h2 {
font-size: 29px;
line-height: 32px;
font-weight: 400;
margin-bottom: 5px;
}
h1 {
	border-bottom: 1px solid #eee;
	padding-top: 20px;
	padding-bottom: 10px;
}
h3 {
  font-size: 18px;
  line-height: 20px;
}
h4 {
 font-size: 16px;
  line-height: 18px;
}
h1,h2,h3,h4 {
  color: #000;
  font-family: 'Maven Pro', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}
.intro-section h3 {
	text-align: center;
}
.us-section h1 {
	text-align: center;
}
.us-section h3 {
	margin-top: 0px;
}

 /* Wrapper and container */
#wrap {
  width: 100%;
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto;
}
.container,.container-fluid {
  max-width: 1280px;
  margin: 0 auto;
}
#wrap > .container {
  padding: 10px 15px 0;
}
#footer > .container {
  padding-top: 20px;
  color: #fff;
}

/* Page sections */
.intro-section {
    height: 100%;
	padding-top: 40px;
	padding-bottom: 40px;
}
.introbgr-section {
    height: 100%;
	padding-top: 50px;
	padding-bottom: 50px;
	background: url(../images/introbgr.jpg);
}
.us-section {
    height: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
}
.races-section {
    height: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
}
.contact-section {
    height: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
}

/* Page blocks */
header {
	background-color: inherit;
}
.topline {
 width: 100%;
 margin: 0 auto;
 padding: 10px 0;
 clear: both;
}
#footer {
  min-height: 80px;
  color: #333;
  margin-top: 20px;
  margin-bottom: 0;
  padding-top: 20px;
  padding-bottom: 30px;
  background-color: #e1e3e4;
  text-align: center;
  clear: both;
}
#footer a,#footer a:link,#footer a:active,#footer a:visited  {
color: #333;
}
#footer a:hover {
	text-decoration: underline;
}

/* Navigation */
.navbar {
  background-color: #000;
  border-color: #000;
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: #f5f5f5;
  border-radius: 0px;
  min-height: 26px;
  margin-bottom: 0px;
  text-transform: uppercase;
}
.navbar .navbar-nav > li > a {
  color: #f5f5f5;
}
.nav > li > a {
  margin: 0px 10px;
}
.navbar .navbar-nav > li > a:hover, .navbar .navbar-nav > li > a:focus {
  color: #fed136;
  background-color: inherit;
  text-decoration: none;
}
.navbar .navbar-toggle {
  background-color: #336699;
  color: #f5f5f5;
}
.navbar .navbar-toggle:hover, .navbar .navbar-toggle:focus {
  background-color: #D62828;
}
.navbar .navbar-toggle .icon-bar {
  background-color: #336699;
  color: #f5f5f5;
}
.navbar .navbar-collapse,
.navbar .navbar-form {
  border-color: inherit;
}
.navbar-collapse {
	border-top: 0px solid transparent;
}
.navbar .navbar-link {
  color: #f5f5f5;
}
.navbar .navbar-link:hover {
  color: #f5f5f5;
}
.navbar .navbar-toggle .icon-bar {
  background-color: #f5f5f5;
}
.navbar .navbar-toggle .icon-bar:hover {
  background-color: #f5f5f5;
}
.navbar-toggle:before {
    content:"Izbornik";
    left:-90px;
    top:4px;
    position:absolute;
    width:50px;
}

/* Images */
.logo {
 margin: 0 auto;
 text-align: center;
}
.mainimg {
	width: 100%;
	margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
}
.btn-xl {
    letter-spacing: 1px;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 700;
    padding: 20px 30px;
    border-radius: 30px;
    color: #333;
    border-color: #fed136;
    background-color: #fed136;
    text-transform: uppercase;
}
.btn-contact {
	margin-top: 20px;
}
.btn-contact:hover {
	background-color: #e1e3e4;
	border-color: #e1e3e4;
	color: #000;
}


/* Special styles */ 
.center-block {
 display: block;
 float: none;
 margin: 0 auto;
}
.xlarge {
 font-size: 160%;
 line-height: 160%;
 margin-top: 30px;
 color: #888;
}
.spacer {
	margin-top: 30px;
}
.phone {
	text-align: right;
	font-size: 18px;
	line-height: 24px;
	padding-bottom: 20px;
	border-bottom: 2px solid #eee;
}
.title {
	font-size: 28px;
	line-height: 32px;
	text-align: right;
	padding-top: 20px;
	font-weight: 700;
	text-transform: uppercase;
}
.introbgr-section p {
	font-size: 120%;
	margin-top: 20px;
	line-height: 130%;
}

/* Thumbnail gallery style */
.text {
 color:#333;
 font-size:14px;
 margin-bottom:10px;
 padding:12px;
 background-color: inherit;
 text-align: center;
}
.modal-lg {
  max-width: 850px;
  max-height: 850px;
}
ul.first, ul.second {
 list-style-type: none;
}
ul.first img, ul.second img {
 margin-bottom: 3px;
}
ul.first li, ul.second li {
 padding-right: 5px;
 padding-left: 5px;
}
ul.second li {
	margin-bottom: 3px;
}

/* Media queries */
@media (min-width: 1280px) {
  h1 {
  margin-top: 10px;
  margin-bottom: 10px;
  }
}

@media (max-width: 1024px) {
h1 {
  font-size: 30px;
  line-height: 34px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.title {
 font-size: 32px;
 line-height: 34px;
}
}

@media (max-width: 960px) {
 .navbar .navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
}
.phone {
	margin-top: 20px;
	text-align: center;
}
.title {
	text-align: center;
}
}

@media (max-width: 480px) {
.title {
  font-size: 26px;
 }
}