/* -------------------------------- 
Primary style
-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/* -------------------------------- 
Modules - reusable parts of our design
-------------------------------- */
.cd-container {
  width: 90%;
  max-width: 768px;
  margin: 2em auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}
/* -------------------------------- 
Main components 
-------------------------------- */
.cd-top {
    color: #1b335f;
    font-weight: 600;
    display: block;
    text-align: center;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
    z-index: 4;
}
.cd-top::before{
    font-family: "Font Awesome 5 Pro"; 
    font-weight: 900; 
    content: "\f106";
    display: block;
    color: #1b335f;
    font-size: 50px;
    line-height: .6;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-bottom: 15px;
}
.cd-top:hover::before{
    color: #c8b081;
}
.cd-top:hover {
	text-decoration:none;
    color: #1b335f;
	}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .9;
}
.no-touch .cd-top:hover {
  background-color: #512D6C;
  opacity: 1;
}
@media (min-width: 992px) {
  .cd-top {
    bottom: 85px;
    left: 20px;
    position: fixed;
  }  
}
@media only screen and (min-width: 1200px) {
  .cd-top {
    left: 30px;
    bottom: 50px;
  }
}
