/******
 ** Bootstrap to Foundation bridge
 **
 ** These classes facilitate the bootstrap javascript to work with Foundation classes
 **
 ** @author  David Lundgren
 ** @package seekandfind
 ** @since   2.3
 ******/
/* inherited from bootstrap to handle the dropdown menus */
.f-dropdown.open,
.open .f-dropdown
{
    top: inherit;
    left: inherit;
    z-index:1000;
    min-width: 90%;
    border-radius: 0 0 0.250rem 0.250rem;
}

/** modaling **/
.in {
    display:block;
    visibility: visible;
}

.reveal-modal {
    padding: 0;
}
/** need to bring this above the reveal-modal **/
.modal-scrollable {
    z-index: 99;
}

/** undo silliness from foundation tooltip (their js broke in 5.1 so we went back to bootstrap) ^ dlundgren **/
.tooltip { max-width: initial; width: auto; background: transparent;}
.tooltip-inner {max-width: 200px;}
.tooltip.in {
    opacity: 0.85
}

/** better input-groups **/
.input-group span {
    padding: 0 0.5em;
    height: 1em;
}

.input-group {
    border-collapse: separate;
    display: table;
    position: relative;
    margin-bottom: 1em;
}
.input-group[class*="column"] {
    float: none;
    padding-left: 0;
    padding-right: 0;
}
.input-group .form-control {
    float: left;
    margin-bottom: 0;
    position: relative;
    width: 100%;
    z-index: 2;

}
textarea.input-group-lg > .form-control, textarea.input-group-lg > .input-group-addon, textarea.input-group-lg > .input-group-button > .button, select.input-group-lg[multiple] > .form-control, select.input-group-lg[multiple] > .input-group-addon, select.input-group-lg[multiple] > .input-group-button > .button {
    height: auto;
}
textarea.input-group-sm > .form-control, textarea.input-group-sm > .input-group-addon, textarea.input-group-sm > .input-group-button > .button, select.input-group-sm[multiple] > .form-control, select.input-group-sm[multiple] > .input-group-addon, select.input-group-sm[multiple] > .input-group-button > .button {
    height: auto;
}
.input-group-addon, .input-group-button, .input-group .form-control {
    display: table-cell;
}
.input-group-addon:not(:first-child):not(:last-child), .input-group-button:not(:first-child):not(:last-child), .input-group .form-control:not(:first-child):not(:last-child) {
    border-radius: 0;
}
.input-group-addon, .input-group-button {
    vertical-align: middle;
    white-space: nowrap;
    width: 1%;
}
.input-group-addon {
    font-weight: 400;
    line-height: 1;
    text-align: center;
}
.input-group-addon input[type="radio"], .input-group-addon input[type="checkbox"] {
    margin-top: 0;
}
.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-button:first-child > .button, .input-group-button:first-child > .button-group > .button, .input-group-button:first-child > .dropdown-toggle, .input-group-button:last-child > .button:not(:last-child):not(.dropdown-toggle), .input-group-button:last-child > .button-group:not(:last-child) > .button {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.input-group-addon:first-child {
    border-right: 0 none;
}
.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-button:last-child > .button, .input-group-button:last-child > .button-group > .button, .input-group-button:last-child > .dropdown-toggle, .input-group-button:first-child > .button:not(:first-child), .input-group-button:first-child > .button-group:not(:first-child) > .button {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.input-group-addon:last-child {
    border-left: 0 none;
}
.input-group-button {
    font-size: 0;
    position: relative;
    white-space: nowrap;
}
.input-group-button > .button {
    position: relative;
}
.input-group-button > .button + .button {
    margin-left: -1px;
}
.input-group-button > .button:hover, .input-group-button > .button:focus, .input-group-button > .button:active {
    z-index: 2;
}
.input-group-button:first-child > .button, .input-group-button:first-child > .button-group {
    margin-right: -1px;
}
.input-group-button:last-child > .button, .input-group-button:last-child > .button-group {
    margin-left: -1px;
}

.rating-1, .rating-2, .rating-3, .rating-4, .rating-5, .ui-rating .ui-rating-star, .ui-rating .ui-rating-cancel, .publicationRecent {
    background-image: url("/images/sprite-public-icons.png");
    background-repeat: no-repeat;
}
span.rating { margin-left:-10000px; }

.rating-1, .rating-2, .rating-3, .rating-4, .rating-5 {
    display:block;
    height:15px;
    width:80px;
}
.rating-1 { background-position:0 -160px; }
.rating-2 { background-position:0 -175px; }
.rating-3 { background-position:0 -190px; }
.rating-4 { background-position:0 -205px; }
.rating-5 { background-position:0 -220px; }
.ui-rating {
    margin-bottom:5px;
    *zoom:1;
}
.ui-rating:before, .ui-rating:after {
    display:table;
    content:"";
}
.ui-rating:after { clear:both; }
.ui-rating .ui-rating-star, .ui-rating .ui-rating-cancel {
    width:16px;
    height:15px;
    font-size:2px;
    float:left;
    text-decoration:none;
    vertical-align:bottom;
}
.ui-rating a { cursor:pointer; }
.ui-rating-full { background-position:0 -160px; }
.ui-rating-empty { background-position:-15px -160px; }
.ui-rating-hover { background-position:-80px -160px; }
.ui-selected-value {
    background-color:#EEEEEE;
    margin-left:150px;
    text-align:center;
    width:60px;
}