/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #777;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}



.savivaldybe ul {
list-style: outside none none;
}

.block { 
float: left;
line-height: 18px;
margin-left:5px;
}
.savivaldybes li {
list-style: outside none none;
color: blue;
}

.savivaldybes a {
border-radius:4px;
background:#fbfbfb;
padding:12px;
font-size:16px;
display:block;
}

.sav a {
font-size:13px !important;
padding:4px;
background:transparent;
}

.savivaldybes a:before {
	content: "› ";
}


.savivaldybes table{
	text-align:left;
	float:left;
}
.savivaldybes .miestai {
	width: 130px !important;
}
.savivaldybes .sav td {
	padding: 10px !important;
padding-left: 5px !important;
padding-right: 0 !important;
}
.pagenav {
margin:5px;
}
.pagenav span,.pagenav a{
padding:4px;
}
.paieska {
	margin:0 auto;
	width:100%;
}
#detali {
	display:none;
}
@media screen and (max-width: 1200px) {
.savivaldybes {
	width:780px !important;
}
}

@media screen and (max-width: 480px) {
	#savivaldybes {
		display:none !important;
	
	}
.paieska small {
	display: none !important;
}	
.savivaldybes table {
width: 45% !important;
	}
.paieska {
	width:100% !important;
float:left;
}

.paieska table{
width:100% !important;
}
.paieska input{
max-width: 100% !important;
}
.savivaldybes {
width:100% !important;
}
.savivaldybes .savd {
display: none !important;
}

}

#custom-search-input{
    padding: 3px;
    border-radius: 6px;
    background-color: #fff;
}

#custom-search-input input{
    border: 0;
    box-shadow: none;
}

#custom-search-input button {
    margin: -4px 0 0 0;
    background: none;
    box-shadow: none;
    border: 0;
    color: #666666;
    padding: 0 10px 0 10px;
    border-left: solid 1px #ccc;
}

#custom-search-input button:hover{
    border: 0;
    box-shadow: none;
    border-left: solid 1px #ccc;
}

#custom-search-input .glyphicon-search{
    font-size: 23px;
}

/*
 * Base structure
 */
 
 .container {
    width: 950px; 
    /* max-width: 100%; */

}

html,
body {
  background-image:url('background-world-map-1.png');
}
body {
  color: #717171;
  text-align: center;
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;


}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 2rem;
}


/*
 * Header
 */

.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: bold;
  color: #464646;
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: #c3653e;
	 transition: all 0.5s ease;
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #464646;
border-bottom-color: #ff8c5d;
transition: all 0.5s ease;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}


/*
 * Cover
 */

.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: bold;
}


/*
 * Footer
 */

.mastfoot {
  color: rgba(255,255,255,.5);
}


/*
 * Affix and center
 */

@media (min-width: 40em) {
  /* Pull out the header and footer */
  .masthead {
  
    top: 0;
  }
  .mastfoot {
  
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 62em) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 52rem;
  }
}
