﻿html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}

a {
    background: transparent
}

a:active, a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

mark {
    background: #fff;
    color: #111
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button, select {
    text-transform: none
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], input[disabled] {
    cursor: default
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    height: auto
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 0;
    padding: 0
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td, th {
    padding: 0
}

* {
    box-sizing: inherit
}

html, body {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    height: 100%
}

body {
    color: #111;
    font-size: 1.1em;
    line-height: 1.5;
    background: #fff
}

main {
    display: block
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: .6em 0
}

li {
    margin: 0 0 .3em
}

a {
    color: #0074d9;
    text-decoration: none;
    box-shadow: none;
    transition: all .3s
}

code {
    padding: .3em .6em;
    font-size: .8em;
    background: #f5f5f5
}

pre {
    text-align: left;
    padding: .3em;
    background: #f5f5f5;
    border-radius: .2em
}

pre code {
    padding: 0
}

blockquote {
    padding: 0 0 0 1em;
    margin: 0 0 0 .1em;
    box-shadow: inset 5px 0 rgba(17, 17, 17, .3)
}

label {
    cursor: pointer
}

[class^=icon-]:before, [class*=" icon-"]:before {
    margin: 0 .6em 0 0
}

i[class^=icon-]:before, i[class*=" icon-"]:before {
    margin: 0
}

.dropimage, button, .button, [type=submit], .label, [data-tooltip]:after {
    display: inline-block;
    text-align: center;
    letter-spacing: inherit;
    margin: 0;
    padding: .3em .9em;
    vertical-align: middle;
    background: #0074d9;
    color: #fff;
    border: 0;
    border-radius: .2em;
    width: auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.success.dropimage, button.success, .success.button, .success[type=submit], .success.label, .success[data-tooltip]:after {
    background: #2ecc40
}

.warning.dropimage, button.warning, .warning.button, .warning[type=submit], .warning.label, .warning[data-tooltip]:after {
    background: #ff851b
}

.error.dropimage, button.error, .error.button, .error[type=submit], .error.label, .error[data-tooltip]:after {
    background: #ff4136
}

.pseudo.dropimage, button.pseudo, .pseudo.button, .pseudo[type=submit], .pseudo.label, .pseudo[data-tooltip]:after {
    background-color: transparent;
    color: inherit
}

.label, [data-tooltip]:after {
    font-size: .6em;
    padding: .4em .6em;
    margin-left: 1em;
    line-height: 1
}

.dropimage, button, .button, [type=submit] {
    margin: .3em 0;
    cursor: pointer;
    transition: all .3s;
    border-radius: .2em;
    height: auto;
    vertical-align: baseline;
    box-shadow: 0 0 rgba(17, 17, 17, 0) inset
}

.dropimage:hover, button:hover, .button:hover, [type=submit]:hover, .dropimage:focus, button:focus, .button:focus, [type=submit]:focus {
    box-shadow: inset 0 0 0 99em rgba(255, 255, 255, .2);
    border: 0
}

.pseudo.dropimage:hover, button.pseudo:hover, .pseudo.button:hover, .pseudo[type=submit]:hover, .pseudo.dropimage:focus, button.pseudo:focus, .pseudo.button:focus, .pseudo[type=submit]:focus {
    box-shadow: inset 0 0 0 99em rgba(17, 17, 17, .1)
}

.active.dropimage, button.active, .active.button, .active[type=submit], .dropimage:active, button:active, .button:active, [type=submit]:active {
    box-shadow: inset 0 0 0 99em rgba(17, 17, 17, .2)
}

[disabled].dropimage, button[disabled], [disabled].button, [disabled][type=submit] {
    cursor: default;
    box-shadow: none;
    background: #aaa
}

:checked + .toggle, :checked + .toggle:hover {
    box-shadow: inset 0 0 0 99em rgba(17, 17, 17, .2)
}

[type] + .toggle {
    padding: .3em .9em;
    margin-right: 0
}

[type] + .toggle:after, [type] + .toggle:before {
    display: none
}

input, textarea, .select select {
    line-height: 1.5;
    margin: 0;
    height: 2.1em;
    padding: .3em .6em;
    border: 1px solid #aaa;
    background-color: #fff;
    border-radius: .2em;
    transition: all .3s;
    width: 100%
}

input:focus, textarea:focus, .select select:focus {
    border: 1px solid #0074d9;
    outline: 0
}

textarea {
    height: auto
}

[type=file], [type=color] {
    cursor: pointer
}

[type=file] {
    height: auto
}

select {
    background: #fff url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyIiBoZWlnaHQ9IjMiPjxwYXRoIGQ9Im0gMCwxIDEsMiAxLC0yIHoiLz48L3N2Zz4=) no-repeat scroll 95% center/10px 15px;
    background-position: calc(100% - 15px) center;
    border: 1px solid #aaa;
    border-radius: .2em;
    cursor: pointer;
    width: 100%;
    height: 2.2em;
    box-sizing: border-box;
    padding: .3em .45em;
    transition: all .3s;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none
}

select::-ms-expand {
    display: none
}

select:focus, select:active {
    border: 1px solid #0074d9;
    transition: outline 0s
}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #111
}

select option {
    font-size: inherit;
    padding: .45em
}

select[multiple] {
    height: auto;
    background: none;
    padding: 0
}

[type=checkbox], [type=radio] {
    opacity: 0;
    width: 0;
    position: absolute;
    display: inline-block
}

[type=checkbox] + .checkable:hover:before, [type=radio] + .checkable:hover:before, [type=checkbox]:focus + .checkable:before, [type=radio]:focus + .checkable:before {
    border: 1px solid #0074d9
}

[type=checkbox] + .checkable, [type=radio] + .checkable {
    position: relative;
    cursor: pointer;
    padding-left: 1.5em;
    margin-right: .6em
}

[type=checkbox] + .checkable:before, [type=radio] + .checkable:before, [type=checkbox] + .checkable:after, [type=radio] + .checkable:after {
    content: "";
    position: absolute;
    display: inline-block;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
    line-height: 1em;
    color: transparent;
    font-family: sans;
    text-align: center;
    box-sizing: border-box;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    transition: all .3s
}

[type=checkbox] + .checkable:before, [type=radio] + .checkable:before {
    border: 1px solid #aaa
}

[type=checkbox]:checked + .checkable:after, [type=radio]:checked + .checkable:after {
    background: #111;
    transform: scale(0.5) translateY(-100%)
}

[type=checkbox] + .checkable:before {
    border-radius: .2em
}

[type=checkbox] + .checkable:after {
    content: "✔";
    background: none;
    transform: scale(2) translateY(-25%);
    visibility: hidden;
    opacity: 0
}

[type=checkbox]:checked + .checkable:after {
    color: #111;
    background: none;
    transform: translateY(-50%);
    transition: all .3s;
    visibility: visible;
    opacity: 1
}

table {
    text-align: left
}

td, th {
    padding: .3em 2.4em .3em .6em
}

th {
    text-align: left;
    font-weight: 900;
    color: #fff;
    background-color: #0074d9
}

.success th {
    background-color: #2ecc40
}

.warning th {
    background-color: #ff851b
}

.error th {
    background-color: #ff4136
}

.dull th {
    background-color: #aaa
}

tr:nth-child(even) {
    background: rgba(17, 17, 17, .05)
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3em;
    padding: 0 .6em;
    background: #fff;
    box-shadow: 0 0 .2em rgba(170, 170, 170, .2);
    z-index: 10000;
    transition: all .3s;
    transform-style: preserve-3d
}

nav .brand, nav .menu, nav .burger {
    float: right;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

nav .brand {
    font-weight: 700;
    float: left;
    padding: 0 .6em;
    max-width: 50%;
    white-space: nowrap;
    color: inherit
}

nav .brand * {
    vertical-align: middle
}

nav .logo {
    height: 2em;
    margin-right: .3em
}

nav .select::after {
    height: calc(100% - 1px);
    padding: 0;
    line-height: 2.4em
}

nav .menu > * {
    margin-right: .6em
}

nav .burger {
    display: none
}

@media all and (max-width: 60em) {
    nav .burger {
        display: inline-block;
        cursor: pointer;
        bottom: -1000em;
        margin: 0;
        -webkit-tap-highlight-color: transparent
    }

    nav .burger ~ .menu, nav .show:checked ~ .burger {
        position: fixed;
        min-height: 100%;
        top: 0;
        right: 0;
        bottom: -1000em;
        margin: 0;
        background: #fff;
        transition: all .5s ease;
        transform: none
    }

    nav .burger ~ .menu {
        z-index: 11
    }

    nav .show:checked ~ .burger {
        color: transparent;
        width: 100%;
        border-radius: 0;
        background: rgba(17, 17, 17, .2);
        transition: all .5s ease
    }

    nav .show ~ .menu {
        width: 70%;
        max-width: 300px;
        transform-origin: center right;
        transition: all .25s ease;
        transform: scaleX(0)
    }

    nav .show ~ .menu > * {
        transform: translateX(100%);
        transition: all 0s ease .5s
    }

    nav .show:checked ~ .menu > *:nth-child(1) {
        transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s
    }

    nav .show:checked ~ .menu > *:nth-child(2) {
        transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1) .1s
    }

    nav .show:checked ~ .menu > *:nth-child(3) {
        transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1) .2s
    }

    nav .show:checked ~ .menu > *:nth-child(4) {
        transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1) .3s
    }

    nav .show:checked ~ .menu > *:nth-child(5) {
        transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1) .4s
    }

    nav .show:checked ~ .menu > *:nth-child(6) {
        transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1) .5s
    }

    nav .show:checked ~ .menu {
        transform: scaleX(1)
    }

    nav .show:checked ~ .menu > * {
        transform: translateX(0);
        transition: all .5s ease-in-out .6s
    }

    nav .burger ~ .menu > * {
        display: block;
        margin: .3em;
        text-align: left;
        max-width: calc(100% - 0.6em)
    }

    nav .burger ~ .menu > a {
        padding: .3em .9em
    }
}

.stack, .stack .toggle {
    margin-top: 0;
    margin-bottom: 0;
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 0
}

.stack:first-child, .stack:first-child .toggle {
    border-top-left-radius: .2em;
    border-top-right-radius: .2em
}

.stack:last-child, .stack:last-child .toggle {
    border-bottom-left-radius: .2em;
    border-bottom-right-radius: .2em
}

input.stack, textarea.stack, select.stack {
    transition: border-bottom 0 ease 0;
    border-bottom-width: 0
}

input.stack:last-child, textarea.stack:last-child, select.stack:last-child {
    border-bottom-width: 1px
}

input.stack:focus + input, input.stack:focus + textarea, input.stack:focus + select, textarea.stack:focus + input, textarea.stack:focus + textarea, textarea.stack:focus + select, select.stack:focus + input, select.stack:focus + textarea, select.stack:focus + select {
    border-top-color: #0074d9
}

.modal .overlay ~ *, .card {
    position: relative;
    box-shadow: none;
    border-radius: .2em;
    border: 1px solid #aaa;
    overflow: hidden;
    text-align: left;
    background: #fff;
    margin-bottom: .6em;
    padding: 0;
    transition: all .3s ease
}

.modal .overlay ~ .hidden, .hidden.card, .modal .overlay ~ :checked + *, .modal .overlay:checked + *, :checked + .card {
    font-size: 0;
    padding: 0;
    margin: 0;
    border: 0
}

.modal .overlay ~ * > *, .card > * {
    max-width: 100%;
    display: block
}

.modal .overlay ~ * > *:last-child, .card > *:last-child {
    margin-bottom: 0
}

.modal .overlay ~ * header, .card header, .modal .overlay ~ * section, .card section, .modal .overlay ~ * > p, .card > p {
    padding: .6em .8em
}

.modal .overlay ~ * section, .card section {
    padding: .6em .8em 0
}

.modal .overlay ~ * hr, .card hr {
    border: none;
    height: 1px;
    background-color: #aaa
}

.modal .overlay ~ * header, .card header {
    font-weight: bold;
    position: relative;
    border-bottom: 1px solid #aaa
}

.modal .overlay ~ * header h1, .card header h1, .modal .overlay ~ * header h2, .card header h2, .modal .overlay ~ * header h3, .card header h3, .modal .overlay ~ * header h4, .card header h4, .modal .overlay ~ * header h5, .card header h5, .modal .overlay ~ * header h6, .card header h6 {
    padding: 0;
    margin: 0 2em 0 0;
    line-height: 1;
    display: inline-block;
    vertical-align: text-bottom
}

.modal .overlay ~ * header:last-child, .card header:last-child {
    border-bottom: 0
}

.modal .overlay ~ * footer, .card footer {
    padding: .8em
}

.modal .overlay ~ * p, .card p {
    margin: .3em 0
}

.modal .overlay ~ * p:first-child, .card p:first-child {
    margin-top: 0
}

.modal .overlay ~ * p:last-child, .card p:last-child {
    margin-bottom: 0
}

.modal .overlay ~ * > p, .card > p {
    margin: 0;
    padding-right: 2.5em
}

.modal .overlay ~ * .close, .card .close {
    position: absolute;
    top: .4em;
    right: .3em;
    font-size: 1.2em;
    padding: 0 .5em;
    cursor: pointer;
    width: auto
}

.modal .overlay ~ * .close:hover, .card .close:hover {
    color: #ff4136
}

.modal .overlay ~ * h1 + .close, .card h1 + .close {
    margin: .2em
}

.modal .overlay ~ * h2 + .close, .card h2 + .close {
    margin: .1em
}

.modal .overlay ~ * .dangerous, .card .dangerous {
    background: #ff4136;
    float: right
}

.modal {
    text-align: center
}

.modal > input {
    display: none
}

.modal > input ~ * {
    opacity: 0;
    max-height: 0;
    overflow: hidden
}

.modal .overlay {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: fixed;
    margin: 0;
    border-radius: 0;
    background: rgba(17, 17, 17, .2);
    transition: all .3s;
    z-index: 100000
}

.modal .overlay:before, .modal .overlay:after {
    display: none
}

.modal .overlay ~ * {
    border: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(0.2, 0.2);
    z-index: 1000000;
    transition: all .3s
}

.modal > input:checked ~ * {
    display: block;
    opacity: 1;
    max-height: 10000px;
    transition: all .3s
}

.modal > input:checked ~ .overlay ~ * {
    max-height: 90%;
    overflow: auto;
    -webkit-transform: translateX(-50%) translateY(-50%) scale(1, 1);
    transform: translateX(-50%) translateY(-50%) scale(1, 1)
}

@media (max-width: 60em) {
    .modal .overlay ~ * {
        min-width: 90%
    }
}

.dropimage {
    position: relative;
    display: block;
    padding: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    cursor: pointer;
    border: 0;
    margin: .3em 0;
    border-radius: .2em;
    background-color: #ddd;
    background-size: cover;
    background-position: center center;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NDAiIGhlaWdodD0iNjQwIiB2ZXJzaW9uPSIxLjEiPjxnIHN0eWxlPSJmaWxsOiMzMzMiPjxwYXRoIGQ9Ik0gMTg3IDIzMCBDIDE3NSAyMzAgMTY1IDI0MCAxNjUgMjUyIEwgMTY1IDMwMCBMIDE2NSA0MDggQyAxNjUgNDIwIDE3NSA0MzAgMTg3IDQzMCBMIDQ2MyA0MzAgQyA0NzUgNDMwIDQ4NSA0MjAgNDg1IDQwOCBMIDQ4NSAzMDAgTCA0ODUgMjUyIEMgNDg1IDI0MCA0NzUgMjMwIDQ2MyAyMzAgTCAxODcgMjMwIHogTSAzNjAgMjU2IEEgNzAgNzIgMCAwIDEgNDMwIDMyOCBBIDcwIDcyIDAgMCAxIDM2MCA0MDAgQSA3MCA3MiAwIDAgMSAyOTAgMzI4IEEgNzAgNzIgMCAwIDEgMzYwIDI1NiB6Ii8+PGNpcmNsZSBjeD0iMzYwIiBjeT0iMzMwIiByPSI0MSIvPjxwYXRoIGQ9Im0yMDUgMjI1IDUtMTAgMjAgMCA1IDEwLTMwIDAiLz48cGF0aCBkPSJNMjg1IDIwMEwyNzAgMjI1IDM3NiAyMjUgMzYxIDIwMCAyODUgMjAwek0zMTAgMjA1TDMzNyAyMDUgMzM3IDIxOCAzMTAgMjE4IDMxMCAyMDV6Ii8+PHBhdGggZD0ibTQwNSAyMjUgNS0xMCAyMCAwIDUgMTAtMzAgMCIvPjwvZz48L3N2Zz4=)
}

.dropimage input {
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    position: absolute
}

.tabs {
    position: relative;
    overflow: hidden
}

.tabs > label img {
    float: left;
    margin-left: .6em
}

.tabs > .row {
    width: calc(100% + 1.2em);
    display: table;
    table-layout: fixed;
    position: relative;
    padding-left: 0;
    transition: all .3s;
    border-spacing: 0;
    margin: 0
}

.tabs > .row:before, .tabs > .row:after {
    display: none
}

.tabs > .row > *, .tabs > .row img {
    display: table-cell;
    vertical-align: top;
    margin: 0;
    width: 100%
}

.tabs > input {
    display: none
}

.tabs > input + * {
    width: 100%
}

.tabs > input + label {
    width: auto
}

.two.tabs > .row {
    width: 200%;
    left: -100%
}

.two.tabs > input:nth-of-type(1):checked ~ .row {
    margin-left: 100%
}

.two.tabs > label img {
    width: 48%;
    margin: 4% 0 4% 4%
}

.three.tabs > .row {
    width: 300%;
    left: -200%
}

.three.tabs > input:nth-of-type(1):checked ~ .row {
    margin-left: 200%
}

.three.tabs > input:nth-of-type(2):checked ~ .row {
    margin-left: 100%
}

.three.tabs > label img {
    width: 30%;
    margin: 5% 0 5% 5%
}

.four.tabs > .row {
    width: 400%;
    left: -300%
}

.four.tabs > input:nth-of-type(1):checked ~ .row {
    margin-left: 300%
}

.four.tabs > input:nth-of-type(2):checked ~ .row {
    margin-left: 200%
}

.four.tabs > input:nth-of-type(3):checked ~ .row {
    margin-left: 100%
}

.four.tabs > label img {
    width: 22%;
    margin: 4% 0 4% 4%
}

.five.tabs > .row {
    width: 500%;
    left: -400%
}

.five.tabs > input:nth-of-type(1):checked ~ .row {
    margin-left: 400%
}

.five.tabs > input:nth-of-type(2):checked ~ .row {
    margin-left: 300%
}

.five.tabs > input:nth-of-type(3):checked ~ .row {
    margin-left: 200%
}

.five.tabs > input:nth-of-type(4):checked ~ .row {
    margin-left: 100%
}

.five.tabs > label img {
    width: 18%;
    margin: 2% 0 2% 2%
}

.six.tabs > .row {
    width: 600%;
    left: -500%
}

.six.tabs > input:nth-of-type(1):checked ~ .row {
    margin-left: 500%
}

.six.tabs > input:nth-of-type(2):checked ~ .row {
    margin-left: 400%
}

.six.tabs > input:nth-of-type(3):checked ~ .row {
    margin-left: 300%
}

.six.tabs > input:nth-of-type(4):checked ~ .row {
    margin-left: 200%
}

.six.tabs > input:nth-of-type(5):checked ~ .row {
    margin-left: 100%
}

.six.tabs > label img {
    width: 12%;
    margin: 1% 0 1% 1%
}

.tabs > label:first-of-type img {
    margin-left: 0
}

[data-tooltip] {
    position: relative
}

[data-tooltip]:after, [data-tooltip]:before {
    position: absolute;
    z-index: 10;
    opacity: 0;
    border-width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    transition: opacity .6s ease, height 0s ease .6s;
    top: calc(100% - 6px);
    left: 0;
    margin-top: 12px
}

[data-tooltip]:after {
    margin-left: 0;
    font-size: .8em;
    background: #111;
    content: attr(data-tooltip);
    white-space: nowrap
}

[data-tooltip]:before {
    content: "";
    width: 0;
    height: 0;
    border-width: 0;
    border-style: solid;
    border-color: transparent transparent #111;
    margin-top: 0;
    left: 10px
}

[data-tooltip]:hover:after, [data-tooltip]:focus:after, [data-tooltip]:hover:before, [data-tooltip]:focus:before {
    opacity: 1;
    border-width: 6px;
    height: auto
}

[data-tooltip]:hover:after, [data-tooltip]:focus:after {
    padding: .45em .9em
}

.tooltip-top:after, .tooltip-top:before {
    top: auto;
    bottom: calc(100% - 6px);
    left: 0;
    margin-bottom: 12px
}

.tooltip-top:before {
    border-color: #111 transparent transparent;
    margin-bottom: 0;
    left: 10px
}

.tooltip-right:after, .tooltip-right:before {
    left: 100%;
    margin-left: 6px;
    margin-top: 0;
    top: 0
}

.tooltip-right:before {
    border-color: transparent #111 transparent transparent;
    margin-left: -6px;
    left: 100%;
    top: 7px
}

.tooltip-left:after, .tooltip-left:before {
    right: 100%;
    margin-right: 6px;
    left: auto;
    margin-top: 0;
    top: 0
}

.tooltip-left:before {
    border-color: transparent transparent transparent #111;
    margin-right: -6px;
    right: 100%;
    top: 7px
}
