#tools {
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 50;
}

#tools > .button.square {
    font-size: 15px !important;
    height: 17px;
    margin: 5px 0px 5px 3px;
    padding: 4px 3px 3px 3px !important;
    width: 17px;
}

.button {
    background: #ffffff;
    border: 1px solid #aaaaaa;
    color: #666;
    text-align: center;
    transition: color 0.1s, background 0.1s, border-color 0.1s;
    -webkit-transition: color 0.1s, background 0.1s, border-color 0.1s;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    display: inline-block;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    vertical-align: middle;
    z-index: 300;
}

.button:hover {
    cursor: pointer;
    color: #666;
}

.button.active {
    border-right-width: 1px !important;
}

.button.active:hover {
    cursor: pointer;
}

.button:hover {
    background-color: rgb(239, 239, 239);
}

.popover {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    padding: 20px;
    text-align: center;
}

#share-popover {
    width: 40%;
}

#download-popover {
    width: 70%;
}

#share-popover input {
    margin: 5px 0 20px 0;
    text-align: left;
    width: 96%;
}

#share-popover a i.fa {
    margin: 0 20px 0 0;
}

.textbox {
    background: #ffffff;
    border: 1px solid #aaaaaa;
    color: #666;
    margin: 0px;
    transition: color 0.1s, background 0.1s, border-color 0.1s;
    -webkit-transition: color 0.1s, background 0.1s, border-color 0.1s;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    display: inline-block;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    vertical-align: middle;
    z-index: 300;
}

.textbox:hover {
    background: #efefef;
    cursor: pointer;
}

.textbox:focus {
    background: #ffffff;
    outline: none;
}

.textbox.small {
    font-size: 10px;
    padding: 3px 5px 4px 5px;
}

.textbox.medium {
    font-size: 12px;
    padding: 4px 6px;
}

.textbox.large {
    font-size: 18px;
    padding: 7px 8px 6px 8px;
}

a.social-network-btn {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 95% 95%;
    display: inline-block;
    height: 50px;
    margin: 5px 10px;
    width: 50px;
    -webkit-transition: background-size 0.1s;
    -moz-transition: background-size 0.1s;
    -o-transition: background-size 0.1s;
    transition: background-size 0.1s;
}

a.social-network-btn:hover {
    background-size: 100% 100%;
}

a.social-network-btn#google-btn {
    background-image: url("/static/img/icons/social/google.png");
}

a.social-network-btn#facebook-btn {
    background-image: url("/static/img/icons/social/facebook.png");
}

a.social-network-btn#twitter-btn {
    background-image: url("/static/img/icons/social/twitter.png");
}

.close-popover-btn {
    background-color: #000;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    color: white;
    font-size: 20px;
    height: 18px;
    line-height: 14px;
    position: absolute;
    right: 16px;
    text-align: center;
    top: -10px;
    width: 18px;
    z-index: 10001;
}

.close-popover-btn:hover {
    cursor: pointer;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#download-popover {
    color: #333;
    font-size: 12px;
    line-height: 16px;
    text-align: left;
}

.popover-header {
    display: block;
    min-height: 26px;
    padding: 12px;
}

.popover-header .popover-text {
    display: inline-block;
    margin-left: 10px;
}

.popover-header .popover-text .popover-title {
    display: inline-block;
    font-size: 18px;
    line-height: 20px;
}

.popover-row .button {
    padding: 5px;
    float: right;
    display: inline-block;
}

.popover-header input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.popover-row {
    display: block;
    padding: 6px;
    position: relative;
    margin-top: 10px;
}

.popover-row > .popover-icon {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
    height: 34px;
    width: 34px;
    margin-right: 6px;
    margin-left: 4px;
    float: left;
}

.popover-row .popover-text {
    display: inline-block;
    width: 70%;
    margin-left: 8px;
}

.popover-row .popover-text > .popover-title {
    display: inline;
    font-size: 14px;
    line-height: 16px;
    width: 370px;
}

.popover-row .popover-text > .popover-desc {
    color: #333;
}

#popover-row-csv .popover-icon {
    background-color: rgb(0, 146, 63);
}

#popover-row-pdf .popover-icon {
    background-color: rgb(200, 20, 10);
}

#popover-row-png .popover-icon {
    background-color: rgb(11, 16, 151);
}

#popover-row-svg .popover-icon {
    background-color: rgb(232, 118, 0);
}

#popover-row-csv .popover-title {
    color: rgb(0, 146, 63);
}

#popover-row-pdf .popover-title {
    color: rgb(200, 20, 10);
}

#popover-row-png .popover-title {
    color: rgb(11, 16, 151);
}

#popover-row-svg .popover-title {
    color: rgb(232, 118, 0);
}

div#popover_mask {
    display: none;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 5000;
    background-color: #fafafa;
    opacity: 0;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

div.popover {
    background-color: white;
    -webkit-box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.25);
    display: none;
    left: 50%;
    opacity: 0;
    position: fixed;
    top: 50%;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
    z-index: 5001;
}

h3 {
    display: block;
    font-size: 16px;
    font-weight: lighter;
    line-height: 18px;
    margin-bottom: 4px;
    opacity: 1;
}

div.loading {
    background-color: transparent;
    bottom: 0px;
    left: 0px;
    opacity: 1;
    position: absolute;
    right: 0px;
    top: 0px;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    transition: opacity 0.6s;
    z-index: 10000;
}

div.loading > i {
    color: #af1f24;
    display: inline-block;
    left: 50%;
    margin-left: -27.5px;
    margin-top: -32px;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    -webkit-animation: spin 2s infinite linear, pulsate 6s infinite linear;
    animation: spin 2s infinite linear, pulsate 6s infinite linear;
    font-size: 60px;
}

div.loading > .text {
    color: #888;
    font-size: 16px;
    margin-top: -11px;
    position: absolute;
    text-align: center;
    text-shadow: 0px 0px 6px #efefef;
    top: 50%;
    width: 100%;
}

@-webkit-keyframes pulsate {
    0% { color: #af1f24; }
    16% { color: #e0902d; }
    32% { color: #3daf49; }
    48% { color: #1abbee; }
    64% { color: #742777; }
    80% { color: #d67ab0; }
    96% { color: #af1f24; }
    100% { color: #af1f24; }
}

@-moz-keyframes pulsate {
    0% { color: #af1f24; }
    16% { color: #e0902d; }
    32% { color: #3daf49; }
    48% { color: #1abbee; }
    64% { color: #742777; }
    80% { color: #d67ab0; }
    96% { color: #af1f24; }
    100% { color: #af1f24; }
}

@keyframes pulsate {
    0% { color: #af1f24; }
    16% { color: #e0902d; }
    32% { color: #3daf49; }
    48% { color: #1abbee; }
    64% { color: #742777; }
    80% { color: #d67ab0; }
    96% { color: #af1f24; }
    100% { color: #af1f24; }
}
