/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #f00;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00;
}

.validation-summary-valid {
    display: none;
}

.required-asterisk {
    color: red;
    margin-left: 5px;
}

/* Override */
.navbar .navbar-brand {
    padding: 9px 20px;
}

.btn-toolbar {
    margin-top: 5px;
    margin-bottom: 5px;
}

.navbar .divider-vertical {
    height: 50px;
    margin: 0 9px;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #f2f2f2;
}

.navbar-inverse .divider-vertical {
    border-right-color: #222222;
    border-left-color: #111111;
}

@media (max-width: 767px) {
    .navbar-collapse .nav > .divider-vertical {
        display: none;
      }
}

@media print
{    
    .no-print, .no-print *
    {
        display: none !important;
    }

    a[href]:after {
    content: none !important;
  }
}

input[type=text], input[type=email], input[type=password], textarea {
    padding: 6px;
}

/* Override jqGrid*/
div.ui-jqgrid-view table.ui-jqgrid-btable {
  table-layout: auto;
}

div.ui-jqgrid-view table.ui-jqgrid-htable {
  table-layout: auto;
}

.bylawContainer {
        margin: 0;
        margin-right: 100px;
        width: 100%;
}

.row {
    margin: 0px;
}

input[type="text"] {
    height: auto;
}

input[type="text"].pagination-input  {
    height: 25px;
    width: 34px;
    margin-left: 5px;
    margin-right: 5px;
}

.pagination select {
    width: 70px;
}

.pagination .glyphicon-forward {
   margin-left: 10px;
}

.pagination-container {
    width: 100%;
}

.bootstrap .button, .bootstrap a.button, .bootstrap button {
    color: #444 !important;
}

.search-header {
    font-size: 12px;
}

#bylawparser .bylawContainer .freqRequestedLinkContainer {
    display: flex;
    justify-content: flex-start;
}

@media (min-width: 768px){

    #bylawparser .bylawContainer .freqRequestedLinkContainer {
        justify-content: flex-end;
    }

    #bylawparser .bylawContainer .freqRequestedLinkContainer .freqRequestedLink {
        margin-top: 24px;
        margin-bottom: 0;
    }

    #bylawparser .bylawContainer .freqRequestedLinkContainer .bylawFreqRequestedLink {
        margin-top: 24px;
        margin-bottom: 0;
    }

}
#bylawparser a {
    color: #00578e;
}

.ic-sr-only, .assistiveTech-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.sortable {
    width: calc(100% - 17px);
    color: #000 !important;
    background: transparent !important;
    border: 0 !important;
}

.sortable, .no-sort {
    display: inline-block
}

.bylawContainer th {
    position: relative !important;
}

.bylawContainer th > button {
    position: absolute !important;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding-bottom: 15px;
    text-align: right;
    color: #000 !important;
    background: transparent !important;
    border: 0 !important;
}


/* Tooltip */
.toggletip-container {
    position: relative;
    display: inline-block;
}

    .toggletip-container button {
        position: relative;
        display: inline-block;
        padding: 0;
        z-index: 1004;
        color: #000 !important;
        background: transparent !important;
        border: 0;
    }

/* the bubble element, added inside the toggletip live region */

.toggletip-bubble {
    position: absolute;
    top: 1.5em;
    left: -100%;
    display: inline-block;
    width: 10em;
    padding: 0.5rem;
    z-index: 9999;
    font-size: 0.75em;
    color: #fff;
    background: #000;
    border-radius: 5px;
}