#tooltip-wrapper {
    width: 350px;
    min-width: 0px!important;
    background: #FFF;
    border: 1px solid lightgray;
    position: absolute;
    z-index: 999;
    top: 50%;
    margin-top: -55px;
    margin-left: 15px;
    left: 100%;
    display: none;
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#tooltip-wrapper:after {
    content: '';
    width: 15px;
    height: 15px;
    display: block;
    position: absolute;
    left: -10px;
    top: 42px;
    background: #FFF;
    
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    border-width: 1px;
    border-style: solid;
    border-color: white white lightgray lightgray;
}
#tooltip-wrapper[anchor-style="left"] {
    left: auto;
    right: 100%;
    margin-right: 15px;
}
#tooltip-wrapper[anchor-style="left"]:after {
    left: auto;
    right: -9px;
    border-color: lightgray lightgray white white;
}
#tooltip-wrapper[anchor-style="bottom"] {
    left: 50%;
    margin-left: -175px;
    top: 100%;
    margin-top: 0px;
}
#tooltip-wrapper[anchor-style="bottom"]:after {
    top: -9px;
    left: 50%;
    margin-left: -9px;
    border-color: lightgray white white lightgray;
}

#tooltip-wrapper[anchor-style="bottom left"] {
    left: 0%;
    margin-left: -35px;
    top: 100%;
    margin-top: 15px;
}
#tooltip-wrapper[anchor-style="bottom left"]:after {
    top: -9px;
    left: 18%;
    border-color: lightgray white white lightgray;
}

#tooltip-wrapper[anchor-style="fixed"] {
    left: 50%;
    margin-left: -250px;
    position: fixed;
    top: 50%;
    width: 500px!important;
}
#tooltip-wrapper[anchor-style="fixed"]:after {
    display: none;
}
#tooltip {
    padding: 15px;
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#tooltip > div {
    display: none;
}
#tooltip > div.active {
    display: block;
}
#tooltip > div p {
    font-size: 16px;
    text-transform: none;
    font-weight: normal;
    color: #5f5f5f!important;
}
#tooltip-controls {
    display: block;
    font-size: 0;
    padding: 15px;
    background: #f4f4f4;
    text-align: justify;
    text-justify: distribute;
}

#tooltip-controls:after {
    content: '';
    width: 100%;
    display: inline-block;
    height: 0;
}

#tooltip-pager, #tooltip-button {
    display: inline-block;
    vertical-align: middle;
}

#tooltip-pager a {
    height: 12px;
    width: 12px;
    display: inline-block;
    vertical-align: middle;
    background: #e4e2e2;
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    border-radius: 999px;
    cursor: pointer;
    margin-right: 5px;
}
#tooltip-pager a.active {
    background: #7cbe31;
}

#tooltip-button a {
    display: inline-block;
    padding: 5px 10px;
    background: #7cbe31;
    text-transform: uppercase;
    font-size: 16px;
    color: #FFF!important;
    cursor: pointer;
    height: auto;
    width: auto;
}

.tooltips-target {
    position: relative;
}

/* Special Rules */
#hero-wrapper #tooltip-wrapper {
    margin-top: 0;
    top: -6px;
}
#hero-wrapper #tooltip-wrapper:after {
    top: 3px;
}

#nav li:last-child #tooltip-wrapper {
    right: -50px;
    left: auto;
}
#nav li:last-child #tooltip-wrapper:after {
    left: 80%;
}