﻿/*
//-----------------------------------------------------------------------
// <copyright file="back-to-top.less" company="Federal Reserve Bank of Boston">
//     © 2024 Federal Reserve Bank of Boston
// </copyright>
// <summary>This is the back-to-top.less file.</summary>
//-----------------------------------------------------------------------
// Internal FR – Source Code
*/
/* ReSharper disable UnknownCssVendorExtension */
/* ReSharper disable CssBrowserCompatibility */
.cd-top {
  -moz-transition: opacity .3s 0 visibility 0 .3s;
  -webkit-transition: opacity .3s 0 visibility 0 .3s;
  -ms-transition: opacity .3s 0 visibility 0 .3s;
  -o-transition: opacity .3s 0 visibility 0 .3s;
  bottom: 40px;
  display: inline-block;
  height: 40px;
  opacity: 0;
  position: fixed;
  text-align: center;
  transition: opacity .3s 0 visibility 0 .3s;
  visibility: hidden;
  width: 40px;
  z-index: 1000;
}
.cd-top-el {
  background: #fff url('../../images/back to top icon.svg') no-repeat center 50%;
  border-radius: 50%;
  display: inline-block;
  height: 26px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  width: 26px;
}
.cd-top.cd-fade-out {
  opacity: .9;
}
.cd-top.cd-is-visible {
  opacity: 1;
  visibility: visible;
}
.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0 visibility 0 0;
  -moz-transition: opacity .3s 0 visibility 0 0;
  -ms-transition: opacity .3s 0 visibility 0 0;
  -o-transition: opacity .3s 0 visibility 0 0;
  transition: opacity .3s 0 visibility 0 0;
}
.no-touch .cd-top:hover {
  background-color: transparent;
  opacity: 1;
}
@media only screen and (min-width: 320px) {
  .cd-top {
    bottom: 120px;
    right: 20px;
  }
  .cd-top-raised {
    bottom: 10px;
    position: absolute;
    right: 12px;
  }
}
@media only screen and (min-width: 768px) {
  .cd-top {
    bottom: 120px;
    right: 20px;
  }
  .cd-top-raised {
    bottom: 10px;
    position: absolute;
    right: 12px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    bottom: 120px;
    height: 60px;
    right: 30px;
    width: 60px;
  }
  .cd-top-raised {
    bottom: 10px;
    position: absolute;
  }
}