/*  sidebar
    --------------------------------*/

    /*fix for dissarpering buttons */
#st-1 .st-btn[data-network='facebook'] {
    display: inline-block !important;
}

#st-1 .st-btn[data-network='twitter'] {
    display: inline-block !important;
}

#st-1 .st-btn[data-network='linkedin'] {
   display: inline-block !important;
}

/*tab fix*/
.sidebar a.tab:not(selected) {
top:1px;
border-bottom: 0.5px;
}

.sidebar .tabbed-item {
    min-width: 260px;
}



/*---------------------*/


.sidebar {
    display: table-cell;
    width: 277px;
    min-width: 277px;
    vertical-align: top;
    padding: 0 0 0 20px;
}
.sidebar li img {
    width: 50px;
    display: inline-block;
    vertical-align: top;
    margin: 0 .6rem .9rem 0;
}
.sidebar .details {
    width: 150px;
    display: inline-block;
    vertical-align: top;
    font-size: .875rem;
    margin: 0 0 .9rem;
    line-height: 1.4;
}
.sidebar a.author {
    color: #494949;
}
.sidebar .tabbed-item {
    display: none;
    border: 1px solid #e9e9e9;
    padding: .3rem .8rem .8rem .8rem;
    border-radius: 0 0 5px 5px;
    height: 350px;
    overflow: auto;
}
.sidebar .sidebar-heading {
    color: #494949;
    margin: 1rem 0 .6rem;
    font-size: 1rem;
}
.sidebar .sidebar-heading.first {
    margin: 0 0 .6rem;
}
.sidebar a.tab {
    font-size: 13px;
    color: #494949;
    padding: 5px 9px;
    border: 1px solid #e9e9e9;
    bottom: -2px;
    position: relative;
    border-radius: 5px 5px 0 0;
    background: #fff;
    display: inline-block;
    margin: 1.3rem 0 0 0;
}
.sidebar .tab.selected {
    border-bottom: 1.5px solid #fff;
}
.sidebar .sharethis-inline-share-buttons {
    display: inline-block !important;
    vertical-align: top;
}
.sidebar .embed-link {
    width: 32px;
    height: 32px;
    display: inline-block;
    border-radius: 4px;
    background: url('/cdf/uses-examples/app-files/assets/img/embed2x.png');
    background-size: cover;
    vertical-align: top;
    top: 0;
    transition: opacity 0.2s ease-in, top 0.2s ease-in;
}

a.embed-link{
    margin-left: 10px;
}

.sidebar .embed-link:hover {
    top: -4px;
    opacity: .8;
    position: relative;
}

a.embed-link.disabled {
    opacity: .5;
    position: relative;
    pointer-events: none;
}

.disabled {
    opacity: .5;
    position: relative;
    pointer-events: none;
}

.sidebar .related-topics a:after {
    content: '\00a0\00bb';
    display: inline-block;
}
.sidebar .related-topics a {
    font-size: .875rem;
    line-height: 1.4;
}
.sidebar .embed-container {
    font-size: 0;
    position: relative;
}
.sidebar .embed-container textarea {
    vertical-align: top;
    height: 35px;
    width: 191px;
    border: 1px solid #e5e5e5;
    resize: none;
    font-size: 12px !important;
    color: #777;
    padding: 5px;
    overflow: hidden;
}

textarea#embedCopy{
    resize: vertical;
}

.st-total {
    display: none !important;
}

/*  content
    --------------------------------*/
#publishdate {
    color: #7F7F7F;
}


.uses-examples #trouble {
    margin: 2rem 0 2rem 0;
}
.uses-examples.uses3 .object .resizable {
    height: 100%;
}
.uses-examples.uses7 .object .resizable {
    height: 520px;
}

.uses-examples .details + .reference h2 {
    font-size: .875rem;
    color: #494949;
    line-height: 1.4;
    text-transform: none;
}
.uses-examples section .left {
    width: 720px;
    display: table-cell;
}


.uses-examples section .embed {
    max-width: 440px;
    margin: 0 auto 2rem;
    display: block;
    position: relative;
}
.uses-examples section .embed:hover .popup {
    display: block;
}
.uses-examples section .embed:hover .overlay {
    display: block;
}
.popup {
    border-radius: 3px;
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 250px;
    max-height: fit-content;
    background: #fff;
    z-index: 10;
    line-height: 1;
    overflow: visible;
    text-align: left;
}

.uses-examples section .popup div.popupInner{
    margin: 30px;
}

.uses-examples section .popup img.overlayThumb{
    width: 20px;
    height: 20px;
    vertical-align: -25%;
    margin-right: 12px;
}

.uses-examples section .popup p.overlayBtn:hover{
    cursor: pointer;
}

.uses-examples section .popup p.overlayBtn:hover a{
    color: #f77700;
}

.uses-examples section .popup p.title {
    color: #494949;
    font-size: 20px;
}
.uses-examples section .popup a {
    color: #dd1100;
    font-size: 14px;
    line-height: 1.3;
}
.uses-examples section .popup a:hover {
    color: #f77700;
}
.overlay {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    /*background: rgba(0,0,0,.6);*/
}
.uses-examples section hr {
    border: 0;
    height: 3px;
    background: #e5e5e5;
    margin: 3.75rem 0 0;
}
.uses-examples .description + hr {
    margin: 3.1rem 0 0;
}

.uses-examples section .contributed-by {
    border-top: 1px solid #e5e5e5;
    padding: .5rem 0 0 0;
    top: -.6rem;
    position: relative;
}
.uses-examples section .pipe {
    margin: 0 10px;
}
.uses-examples .object {
    position: relative;
}
.uses-examples .object .resizable {
    overflow: auto;
    background: #fff;
    z-index: 100;
    height: 100%;
    font-size: 0;
    position: relative;
    visibility: hidden;
}
.uses-examples.a-hybrid-benz-grignani-logo .resizable {
    height: 450px;
}
.uses-examples.fermat-point-for-many-points .resizable {
    height: 645px;
}
.uses-examples.consulting-reports .resizable {
    width: 509px;
}
.uses-examples .object .cloudiframe {
    width: 99%;
    height: 99%;
    overflow: hidden;
}
.uses-examples .object .animation {
    margin: 0 0 1rem;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    z-index: 101;
}
.uses-examples .citation a,
.uses-examples .related-links a {
    color: #494949;
}
.uses-examples .citation a:hover,
.uses-examples .related-links a:hover {
    color: #f77700;
}
.uses-examples .citations {
    display: block;
}
.uses-examples .citation-author {
    display: block;
}
.uses-examples .InlineFormula,
.uses-examples .absmiddle {
    vertical-align: middle;
    font-size: 0;
    bottom: 3px;
    position: relative;
}
.uses-examples code {
    font-size: .925rem;
}

#fsbtn{
    width: 100px;
    font-size: 15px;
    position:absolute;
    top:0;
    left:0;
    height:40px;
    /*transition: 1s;*/
    visibility: hidden;
}
.resizable:hover #fsbtn{
    visibility: visible;
    transition: 1s;
    }

.fullscreen{
    transform: scale(1.4, 1.4) translateX(0%) translateY(0%);
    height: -webkit-fill-available;
    width: -webkit-fill-available;
}

.resizable{
    overflow: hidden !important;
}
.uses1 .calloutLeft div.callout {
    margin-left: -20px;
}

/*  snapshots
    --------------------------------*/
.snapshots {
    margin: .6rem auto 1.35rem;
    font-size: 0;
    width: 600px;
    text-align: center;
}
.snapshots a {
    width: 200px;
    display: inline-block;
}
.snapshots a.selected img {
    border-bottom: 5px solid #dd1100;
}

.snapshots .thumbs img {
    width: 189px;
    border-bottom: 5px solid transparent;
    padding-bottom: 3px;
}
.snapshots .thumbs a:hover img {
    opacity: .75;
}
.snapshots .current img {
    display: none;
}
.snapshots .current .show {
    display: block !important;
    width: 484px;
    margin: 1rem auto 0;
    padding: 0 0 .5rem;
}
.uses-examples .snapshots + hr {
    margin: 3.35rem 0 0;
}

/*  embed object
    --------------------------------*/
.object {
    text-align: center;
}
.source {
    display: inline-block !important;
    margin: 0 0 2.2rem .7rem;
    position: relative;
}
.source-dropdown {
    display: none;
    width: 152px;
    border-collapse: collapse;
    position: absolute;
    top: 34px;
    text-align: left;
    white-space: nowrap;
    z-index: 10;
}
.source.show a.arrow {
    width: 152px;
    border-radius: 3px 3px 0 0;
    color: #fff !important;
    background: #dd1100;
}
.source.show a.arrow:after {
    border-top: 9px solid #fff;
}
.source.show  .source-dropdown {
    display: block;
}
.source-dropdown li {
    display: block;
    height: 35px;
    overflow: visible;
}
.source-dropdown li:hover {
    border-top: 1px solid #f77700;
}
.source-dropdown a {
    color: #dd1100;
    display: block;
    border: 1px solid #dd1100;
    padding: .45rem .7rem;
    background: #fff;
    top: -1px;
    height: 37px;
    position: relative;
}
.source-dropdown a:hover {
    color: #fff;
    background: #f77700;
    border: 1px solid #f77700;
    z-index: 10;
    top: -2px;
    height: 36px;
}
.source .clipboard {
    position: relative;
}
#clipboard {
    width: 1px;
    height: 1px;
    border: 0;
    overflow: hidden;
    position: absolute;
    font-size: 0px;
}
.tooltip {
    background: #f5f5f5; 
    border: 1px solid #e5e5e5; 
    border-radius: 3px; 
    padding: 8px;
    position: absolute;
    top: -45px;
    left: 0;
    right: 0;
    margin: auto;
    color: #898989; 
    font-size: 12px; 
    font-family: 'Roboto', sans-serif;
    text-align: center;
    width: 150px;
    z-index: 200;
}
.tooltip:after {
    content: '';
    border-top: 10px solid #f5f5f5;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    display: block;
    position: absolute;
    top: 31px;
    width: 10px;
    right: 0;
    left: 0;
    margin: auto;
}
.tooltip:before {
    content: '';
    border-top: 10px solid #e5e5e5;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    display: block;
    position: absolute;
    top: 32px;
    width: 10px;
    right: 0;
    left: 0;
    margin: auto;
}
.embed-container .tooltip {
    top: -20px;
}
/*
@media all and (max-width: 600px) {
    .left {
        display: block;
        width: 100%;
    }
    .sidebar {
        display: block;
        width: 100%;
        padding: 0;
    }
    .sidebar .details {
        width: 80%;
    }
}*/

/*FULLSCREEN*/
/*tooltip*/
span.fstooltip {
    top: -40px; 
    right: 0px;
    visibility: hidden;
    background: #f5f5f5; 
    border: 1px solid #e5e5e5; 
    border-radius: 3px; 
    padding: 8px;
    position: absolute;
    margin: auto;
    color: #898989; 
    font-size: 12px; 
    font-family: 'Roboto', sans-serif;
    text-align: center;
    width: 150px;
    z-index: 200;
}

div#fsOverlay:hover + span.fstooltip {
    visibility: visible;
}

div#fsOverlay:hover {
    cursor: pointer;
}

/*scaling*/

.object:-moz-full-screen .resizable {
  transform: scale(1.5, 1.5) translateX(0%) translateY(15%);
}

.object:-webkit-full-screen .resizable {
  transform: scale(1.5, 1.5) translateX(0%) translateY(15%);
}

.object:-webkit-full-screen {
  width: -webkit-fill-available;
  height: -webkit-fill-available;
}

.object:-webkit-full-screen {
  width: -moz-available; 
  height: -moz-available; 
}

.object:-moz-full-screen #fsOverlay {
      visibility: hidden;
}

.object:-webkit-full-screen #fsOverlay {
      visibility: hidden;
}

a.button.red.magnific.inline:hover {
    background: #f77700;
    border: 1px solid #f77700;
}


