/** Unibox styles */
img.unibox-vis {
    width: 70px
}

.unibox-selectable {
    clear: both;
    position: relative;
    font-family: sans-serif;
    font-size: 14px;
    text-align: left;
    display: block !important;
}

.unibox-selectable .unibox-extra {
    cursor: default
}

.unibox-selectable:hover .unibox-extra {
    color: #fff
}

.unibox-selectable.active, .unibox-selectable:hover {
    background-color: #0078bf;
    color: #fff;
    cursor: pointer;
}

.unibox-selectable.active a, .unibox-selectable.active span, .unibox-selectable.active .unibox-extra, .unibox-selectable:hover a, .unibox-selectable:hover span, .unibox-selectable:hover .unibox-extra {
    color: #fff
}

.unibox-selectable .unibox-selectable-img-container {
    width: 60px;
    float: left;
    margin-right: 6px
}

.unibox-selectable img {
    max-width: 60px;
    max-height: 60px
}

.unibox-selectable span span {
    font-weight: bold
}

.unibox-ca {
    clear: both
}

#unibox-invisible {
    visibility: hidden;
    position: relative;
    text-align: left;
    height: 0;
    display: none;
}

#unibox-suggest-box {
    position: absolute;
    display: none;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    color: #333;
    overflow: hidden;
    z-index: 1500
}

#unibox-suggest-box a {
    text-decoration: none;
    color: #329FD9;
}

#unibox-suggest-box .unibox-selectable:hover a, #unibox-suggest-box .unibox-selectable.active a {
    color: #fff;
}

#unibox-suggest-box > div > div {
    padding: 6px 8px
}

#unibox-suggest-box h4 {
    margin-left: 8px;
    margin-top: 6px;
    margin-bottom: 6px;
    font-size: 18px
}

.unibox-ivf {
    position: absolute
}

.unibox-ivf {
    width: 76px;
    height: 76px;
    position: absolute;
    top: -89px;
    left: -15px
}

.unibox-ivf img {
    max-width: 76px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: .3s ease-out;
    -webkit-transition: .3s ease-out;
    -webkit-transform: rotateX(-90deg) translateY(100%);
    transform: rotateX(-90deg) translateY(100%)
}

.unibox-ivf img.l {
    -webkit-transform: rotateX(0) translateY(0);
    transform: rotateX(0) translateY(0)
}

/** Site Search 360 styles */
#ss360-layer {
    padding: 10px;
}

#ss360-layer h4 {
    background-color: #329FD9;
    padding: 5px;
    color: white;
    font-size: 20px;
}

.ss360-layer-content {
    position: relative;
}

.ss360-layer-content h2 {
    font-size: 1.5em;
}

a.ss360-result-link {
    font-size:14px;
    color:#006621;
}

#ss360-layer.ss360-overlay p {
    text-align: left;
}
#ss360-layer.ss360-overlay {
    position: fixed;
    width: 80%;
    padding: 30px;
    padding-right: 50px;
    background-color: #fff;
    color: #333;
    -webkit-box-shadow: 0 0 5px 3px rgba(122, 122, 122, 1);
    -moz-box-shadow: 0 0 5px 3px rgba(122, 122, 122, 1);
    box-shadow: 0 0 5px 3px rgba(122, 122, 122, 1);
    z-index: 999999;
    left: calc(10% - 40px);
    top: calc(10% - 30px);
    height: 80%;
    overflow: auto;
}

.ss360-suggests {
    margin-bottom: 25px;
    margin-top: 5px
}

.ss360-suggests a {
    font-size: 1.2em;
    text-decoration: none;
    /* added from Google results styling */
    font-family: AvenirLTStd-Black, arial, sans-serif;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0;
    color: #669bb5;
    border-bottom: none;
}

.ss360-content-container img {
    /*max-width: 300px;*/
    width: 250px;
    float: left;
    margin-right: 12px;
    margin-bottom: 6px
}

.ss360-content-container table {
    width: auto;
    border: none;
}

.ss360-content-container table tr, .ss360-content-container table tr td {
    border: none;
}

.ss360-content-container table tr td:nth-of-type(1) {
    font-weight: bold;
    padding-right: 10px;
}

.unibox-highlight {
    font-weight: bold;
}

p.unibox-result-content {
    margin-top: 5px;
    margin-bottom: 15px;
}

/** Animation styles */
.animated {
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes bounceIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(.3);
    }
    50% {
        opacity: 1;
        -webkit-transform: scale(1.05);
    }
    70% {
        -webkit-transform: scale(.9);
    }
    100% {
        -webkit-transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(.9);
    }
    100% {
        transform: scale(1);
    }
}

.bounceIn {
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
}

@-webkit-keyframes bounceOut {
    0% {
        -webkit-transform: scale(1);
    }
    25% {
        -webkit-transform: scale(.95);
    }
    50% {
        opacity: 1;
        -webkit-transform: scale(1.1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(.3);
    }
}

@keyframes bounceOut {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(.3);
    }
}

.bounceOut {
    -webkit-animation-name: bounceOut;
    animation-name: bounceOut;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}

#ss360-searchbox-spinner {
    width: 100px;
    height: 100px;
    position: fixed;
    left: 49.5%;
    top: 49.5%;
    z-index: 999999;
    display: none;
    visibility: hidden;
}

.ss360-double-bounce1, .ss360-double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    background-color: #329FD9;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.ss360-double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }
    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }
    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

.ss360-layer-content > h2 {
    margin-top: 0;
}

.ss360-top-nav {
    padding-bottom: 10px;
}

.ss360-left-nav {
    float: left;
    width: 20%;
}
.ss360-layer-content.ss360-left-nav {
    float: right;
    width: 80%;
}
@media all and (max-width: 680px) {
    .ss360-left-nav {
        float: left;
        width: 100%;
        clear: both;
    }
    .ss360-layer-content.ss360-left-nav {
        float: left;
        width: 100%;
    }
    #ss360-sorting-selection {
        display: none;
    }
    #ss360-layer.ss360-overlay {
        position: fixed;
        width: 100%;
        padding: 10px 0 10px 10px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        left: 0;
        top: 0;
        height: 100%;
    }
}

.ss360-left-nav .ss360-nav-entry {
    margin-bottom: 10px;
}

.ss360-nav-entry:hover {
    border-bottom: 3px solid #329fd9;
    padding-bottom: 8px;
}

.ss360-nav-entry {
    display: inline-block;
    padding: 10px;
    background: #fff;
    color: #333;
    margin-right: 5px;
    border: 1px solid #329fd9;
    cursor: pointer;
}

.ss360-result-count:after {
    content: ")";
}

.ss360-result-count:before {
    content: "(";
}

.ss360-result-count {
    margin-left: 5px;
}

.ss360-search-term-highlight {
    background-color: #b5f948;
    padding: 0 3px;
}

.ss360-highlight {
    font-weight: bold
}

.ss360-hidden {
    display: none;
}

.ss360-more-results {
    border: 1px solid #329fd9;
    color: #329fd9;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 210px;
    cursor: pointer;
}

/** The dark background behind the layover. */
#ss360Darken, #ss360Darken-input {
    background-color: rgba(0, 0, 0, .65) !important;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAZlBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnJycoKCiCgoKEhITn5+f+/v7///9G9P8rAAAAIHRSTlMAAAQFBgcSExksREVMTU5kZWhpdHV2ent8fYCKi6ys6j3syEgAAAD9SURBVDjLldTrEoIgEAVgzVw1Ay+hxlJS7/+SGRW0KkbnDyPzjTJHIIoDEsXRz1C0L46VOJ9FdSz2HgS8R5uewwraHSSSyHI3R9DgIg1QlJ9wJaf8G4HA1QhwKGnQkzaxqERvyg8C6UcS3ojjRvgLpa7Dq3qNanStpgYVzty0UUrfrnayMIjZ54u+P5WahoudZAZVSBU1WBnUIVXUYGcQKWBSd61ICUukPKijRmuquvnC1Wfhar5wRo0dSAWuzNGVOc7K3P4tQxr+g7e3SvbPpouSNmD7Bh2EsCM1vWvliy0sjnn5+5hPyfjgyMAz79XDaiGlqJn36tm6xALyAPQXUwhUn4QTAAAAAElFTkSuQmCC") 12 12, auto;
    z-index: 999998;
}

/** The close button for the layover. */
#ss360CloseLayerButton {
    -webkit-transform-origin:center;
    -firefox-transform-origin:center;
    transform-origin:center;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAZlBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnJycoKCiCgoKEhITn5+f+/v7///9G9P8rAAAAIHRSTlMAAAQFBgcSExksREVMTU5kZWhpdHV2ent8fYCKi6ys6j3syEgAAAD9SURBVDjLldTrEoIgEAVgzVw1Ay+hxlJS7/+SGRW0KkbnDyPzjTJHIIoDEsXRz1C0L46VOJ9FdSz2HgS8R5uewwraHSSSyHI3R9DgIg1QlJ9wJaf8G4HA1QhwKGnQkzaxqERvyg8C6UcS3ojjRvgLpa7Dq3qNanStpgYVzty0UUrfrnayMIjZ54u+P5WahoudZAZVSBU1WBnUIVXUYGcQKWBSd61ICUukPKijRmuquvnC1Wfhar5wRo0dSAWuzNGVOc7K3P4tQxr+g7e3SvbPpouSNmD7Bh2EsCM1vWvliy0sjnn5+5hPyfjgyMAz79XDaiGlqJn36tm6xALyAPQXUwhUn4QTAAAAAElFTkSuQmCC");
}

@keyframes rotate {
    0% {
      transform: rotate(0deg);
    }
    50% {
      transform: rotate(180deg);
    }
    100% {
      transform: rotate(90deg);
    }
}
#ss360CloseLayerButton:hover {
    animation-duration: 0.5s;
    animation-name: rotate;
    animation-iteration-count: 1;
}

#ss360IndexFilters {
    display: none;
}

.ss360-content-container>a, .ss360-content-container>a:hover {
    border: none;
}

.ss360-content-container p {
    margin-top: 5px !important;
}
