#nav-top {
  margin: 10px 0 10px 0;

}

#logo {
  text-align: center;
}

#nav-links > ul > li {
  list-style-type: none;
  margin: 10px 5px 10px 5px;
    line-height: 20px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
    font-weight: 500;
  background-color: #f3f2ee;
}

#nav-links > ul > li > a {
  text-decoration: none;
  color: rgb(0,1,1);
  padding: 15px;
}
#nav-links > ul > li > a:focus, #nav-links > ul > li > a:hover {
  background-color: #eee;
}



section[role=main] {
  margin: 10px 0 10px 0;
}

.intro {
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.intro > h1 {
  margin-bottom: 30px;
}

.intro > p {
  font-size: 16px;
}

#tournaments-head > h2 {
  margin: 0 0 40px 0;
}

#tournament-list {
  font-family: 'Roboto', sans-serif;
}
.highlight {
  border: 2px solid #f7ed64;
  background-color: rgba(255, 251, 198, 0.5);
}

.footer {
    font-size: 13px;
    margin-top: 50px;
}
address {
    margin-bottom: 0;
}

.social-icons {
  text-align: right;
}
.social-icons > a {
  color: #337ab7;
}



.table-fixed {
  table-layout : fixed;
}

.results-input {  
  width: 40%;  
  padding-right: 15px;
  padding-left: 15px;
}

.noscore {
  background-color: red;
}


/* Primėmimas */
.balai {
  font-style: italic;
}

#acceptance-phases > h3 {
  margin-bottom: 20px;
}

#acceptance-phases ol {
  counter-reset: item;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#acceptance-phases ol > li {
  counter-increment: item;
  display: table;
  margin-bottom: 0.6em;
}
#acceptance-phases ol > li:before {
  content: counters(item, ".") ". ";
  display: table-cell;
  padding-right: 0.6em;
}
#acceptance-phases li ol > li {
  margin: 0;
}
#acceptance-phases li ol > li:before {
  content: counters(item, ".") " ";
}


/* Prisijungimas */
#login, #registration, #acceptance-phases {
  font-family: 'Roboto', sans-serif;
}

#login h3, #registration h3 {
  margin-bottom: 20px;
}


/* jQuery UI - v1.9.1 - 2012-11-07
* http://jqueryui.com
* Includes: jquery.ui.core.css, jquery.ui.autocomplete.css, jquery.ui.menu.css
* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }

.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); }

.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }

.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }

.ui-helper-clearfix:after { clear: both; }

.ui-helper-clearfix { zoom: 1; }

.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter: Alpha(Opacity=0); }

/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }

/* Icons
----------------------------------*/
/* states and images */
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }

/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.ui-autocomplete { position: absolute; top: 0; /* #8656 */ cursor: default; }

/* workarounds */
* html .ui-autocomplete { width: 1px; }

/* without this, the menu expands to 100% in IE6 */
.ui-menu { list-style: none; padding: 2px; margin: 0; display: block; outline: none; }

.ui-menu .ui-menu { margin-top: -3px; position: absolute; }

.ui-menu .ui-menu-item { margin: 0; padding: 0; zoom: 1; width: 100%; }

.ui-menu .ui-menu-divider { margin: 5px -2px 5px -2px; height: 0; font-size: 0; line-height: 0; border-width: 1px 0 0 0; }

.ui-menu .ui-menu-item a { text-decoration: none; display: block; zoom: 1; font-weight: normal; }

.ui-menu .ui-state-disabled { font-weight: normal; }

.ui-menu .ui-state-disabled a { cursor: default; }

/* icon support */
.ui-menu-icons { position: relative; }

.ui-menu-icons .ui-menu-item a { position: relative; }

/* left-aligned */
.ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; }

/* right-aligned */
.ui-menu .ui-menu-icon { position: static; float: right; }

.ui-autocomplete { max-height: 50%; overflow-y: auto; overflow-x: hidden; margin-bottom: 2em; position: absolute; box-shadow: 1px 1px 4px 0px #736f73; background-color: white; }
.ui-autocomplete > .ui-menu-item { display: block; line-height: 1.5em; width: 105%; }
.ui-autocomplete > .ui-menu-item > a { color: #4a484a; padding: 0 1.5em 0 0.5em; line-height: 1.5em; display: block; clear: left; white-space: nowrap; }
.ui-autocomplete > .ui-menu-item > a > span { display: block; float: right; color: silver; }
.ui-autocomplete > .ui-menu-item > a.ui-state-focus { background-color: #c7d4dc; cursor: pointer; }

.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; box-shadow: 1px 1px 4px 0px #736f73; background-color: white; }
.ui-datepicker .ui-datepicker-header { position: relative; padding: .2em 0; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position: absolute; top: 2px; background-color: #efefef; }
.ui-datepicker .ui-datepicker-prev { left: 2px; }
.ui-datepicker .ui-datepicker-next { right: 2px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { text-indent: 0; display: block; padding: 5px; cursor: pointer; }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { font-size: 1em; margin: 1px 0; }
.ui-datepicker select.ui-datepicker-month-year { width: 100%; }
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year { width: 49%; }
.ui-datepicker table { width: 100%; font-size: .9em; border-collapse: collapse; margin: 0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
.ui-datepicker td { border: 0; text-align: center !important; }
.ui-datepicker td span, .ui-datepicker td a { display: block; }
.ui-datepicker td span:hover, .ui-datepicker td a:hover { background-color: #efefef; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding: 0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width: auto; overflow: visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float: left; }



@media (max-width: 768px) {
  #nav-links > ul > li {
    margin: 5px auto 5px auto;
    width: 400px;
    max-width: 500px;
  }
}

@media (max-width: 576px) {
 #nav-links > ul > li {
  width: 240px;
 }
 .intro > p {
  font-size: 14px;
  }

  #tournament-list {
    font-size: 10px;
    padding: 0.3rem;
  }

  .notice > p {
    font-size: 14px;
  }

  .social-icons {
    text-align: left;
    margin-bottom: 30px;
  }
}

