



/* body stuff */

html, body {
    height:100%;
    margin:0;
}

div#body {
    position:absolute;
    top:50px;
    bottom:0px;
    left:0px;
    right:0px;

}

img.navbar-logo {
    width:32px;
    margin-top:-7px;
    margin-left:5px;"
}

@page { /* for printing */
    size: auto;
    margin: 25mm 10mm 20mm 20mm;
}

@media print {
    body {
        margin: 0 0 0 0;
    }
}









/* general attributes */

a.disabled {
    pointer-events: none;
    cursor: default;
}

button.disabled {
    cursor: default;
}

span.cursor-default {
    cursor:default;
}

span.cursor-pointer, div.cursor-pointer {
    cursor:pointer !important;
}

h3.gray, span.gray, p.gray {
    color: gray;
}

div.bold, p.bold, td.bold, span.bold {
    font-weight: bold;
}


div.lightgray, td.lightgray, span.lightgray {
    color:lightgray;
}

@media print {
    div.lightgray {
        color: lightgray;
    }
}


/* for beautiful select boxes in firefox */
@-moz-document url-prefix() {
    select {
        /* This removes the native down arrow: */
        -moz-appearance: none !important;
        text-indent: 0.01px !important;
        text-overflow: "" !important;
        /* Add a new down arrow, probably shouldn't hotlink: */
        background-image: url("/static/webapp/img/ff-caret-down.png") !important;
        background-position: right 8px center !important;
        background-repeat: no-repeat !important;
        padding-right:20px !important;
    }
}






/* special entries for the menu bar */

form#menusearch_container {
    width:300px;
}

input#menusearch {
    width:150px;
}

span.menusearch {
    margin-top:8px;
    margin-right:5px;
}

/*@media (min-width: 768px) and (max-width: 950px) {
   .collapse {
       display: none !important;
   }
}*/







/* specials for the info box */

div.infotext {
    padding:40px;
}

div.infotext h3 {
    margin-bottom: 30px;
    text-align:center;
    color:gray;
}

div.infotext h4 {
    margin-top:30px;
}

div.infotext h5 {
    margin-top:20px;
    margin-top:20px;
}

span.menuspan {
    white-space: nowrap;
    margin-left: 5px;
    margin-right: 5px;
    color:gray;
}

div.infotext blockquote {
    font-size: 1.0em;
    color: gray;
}







/* specials for game entry modal */

div#gameEntryModal-dialog {
    /*width: 50%; /* desired relative width */
    /*max-width:700px;*/
    width:800px;
    /*left: 5%; /* (100%-width)/2 */
    /* place center */
    /*margin-left:auto;
    margin-right:auto;*/
}

div.nopadding {
    padding: 2px;
}

div.center {
    text-align:center;
}

ul.noSpacing {  /* used for referee list in game entry modal */
    margin:0px;
    padding-left:20px;
}

input.points {
    width: 80px;
    display:block;
    margin: 0 auto;
    text-align:right;
}

textarea.noresize {
    resize: none;
}







/* specials for ball modal */

table.balltable td.leftmargin {
    padding-left: 10px;
}

table.balltable td.rightmargin {
    padding-right: 10px;
}

table.balltable span.minilink:hover, div.ball_add span.minilink:hover, div.ball_currently span.minilink:hover {
    opacity:0.7;
    cursor:pointer;
}

table.balltable a {
    outline: none;
    border: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    text-decoration:none;
}





/* bootstrap breakpoints widths for smaller menus */

@media (min-width: 700px) and (max-width: 900px) {
    .menu-caption-hidden-on-small-tablets-only {
        display: none !important;
    }
}

@media (min-width: 700px) and (max-width: 1080px) {
    .menu-caption-hidden-on-wide-tablets-only {
        display: none !important;
    }
}

/* override mobile breaking point of bootstrap to 700 */
@media (max-width: 699.98px) {
  .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;
  }
}





/* for all modals */

div.modal-body h4 {
    margin-bottom:16px;
}








/* positioning */

div.row.spacing {
    margin-bottom:10px;
}

div.row.line {
    padding-bottom: 10px;
    border-bottom: 1px solid #cccccc;
    margin-bottom: 10px;
}







/* callout stuff */

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}







/* mini warning elements */

p.inline {
    display:inline;
}

p.success, span.success, h4.success {
    color:#5cb85c;
}

p.warning, span.warning, h4.warning {
    color: #f0ad4e;
}

p.danger, span.danger, h4.danger, ul.errorlist {
    color: #d9534f;
}









/* mini button elements */

span.minidelete {
    margin-left: 10px;
    margin-right: 10px;
    color: darkred;
}

span.minidelete:hover {
    cursor:pointer;
    color: brown;
}

span.miniadd {
    margin-right: 5px;
    color:green;
}

span.miniadd:hover {
    cursor: pointer;
    color: darkgreen;
}

span.miniedit {
    color: #FF9900;
    font-size:1.2em;
}

span.miniedit:hover {
    cursor: pointer;
    color: #CC6600;
}

span.miniball {
    margin-right:5px;
    font-size:1.2em;
    color: #2b578b; /*#330066;*/
}

span.miniball:hover {
    cursor:pointer;
    color: #337ab7;
}

span.miniglobe, span.miniglobe_deactivated, span.miniglobe_outdated {
    margin-right:5px;
    font-size:1.4em;
}

span.miniglobe {
    color: #2b578b; /*#330066;*/
}

span.miniglobe_deactivated {
    color:lightgray;
}

span.miniglobe_outdated {
    color:#f0ad4e;
}

span.miniprint, span.miniinfo, span.miniprint_disabled {
    font-size:1.1em;
    margin-bottom:3px;
}

table#matchtable span.miniglobe:hover {
    cursor:pointer;
    color: #337ab7;
}

table#matchtable span.miniglobe_deactivated:hover {
    cursor:pointer;
    color: darkgray;
}

table#matchtable span.miniglobe_outdated:hover {
    cursor:pointer;
    color: #ffcb83;
}

span.miniview, span.miniprint {
    color:black;
}

span.minicheck {
    color:#333333;
}

span.miniinfo {
    color:#555555;
}

span.miniview_disabled, span.miniprint_disabled, span.minicheck_disabled {
    color:lightgray;
}

span.miniview:hover, span.miniprint:hover, span.miniinfo:hover, span.minicheck:hover {
    cursor: pointer;
    color:gray;
}

span.miniview_disabled:hover, span.miniprint_disabled:hover {
    cursor: pointer;
    color:gray;
}

p.minilink:hover {
    cursor:pointer;
    color: #666666;
}

span.minilink:hover {
    cursor:pointer;
    opacity:0.6;
}

p.minilink span {  /* concerning the glyphicon spans */
    font-size:0.8em;
}

/* links in pagination etc.: no selection possible: */

li.minilink, li.minilink_disabled, span.minilink, span.minilink_disabled, span.minicheck, span.minicheck_disabled {
    /* no text selection possible: */
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

li.minilink:hover  {
    cursor:pointer;
}

li.minilink_disabled {
    cursor:default;
}

li.minilink_disabled span {
    color:gray;
}

li.minilink_disabled span:hover {
    background-color:transparent;
}

span.miniwarning {
    color:#d9534f;
    font-size:1.2em;
}

span.minimagic {
    color: #FF9900;
    opacity: 0.5;
    font-size:1.2em;
}


span.minitextdel {
    position: absolute;
    height: 14px;
    font-size: 0.9em;
    cursor: pointer;
    color: lightgray;
}

span.minitextdel:hover {
    color: gray;
}



/* popover attributes */
.popover-large {
  max-width:500px;
  width:500px;
}





/* badge colors */

span.bluebadge {
    background-color:#337ab7;
}

span.greenbadge {
    background-color:#5cb85c;
}

span.lightbluebadge {
    background-color:#5bc0de;
}

span.yellowbadge {
    background-color: #f0ad4e;
}

span.redbadge {
    background-color:#d9534f;
}

span.lightgraybadge {
    background-color: lightgray;
}

span.whitebadge {
    background-color: #ffffff;
    border:1px solid #bbbbbb;
    color:#808080;
}


/* glyphicon colors */

span.redglyph {
    color:#d9534f;
}

span.greyglyph {
    color:lightgray;
}
