/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2015-08-19, 15:18:18
    Author     : Piotr Maciorowski
*/

a.cd-top {
    display: inline-block;
    position: fixed;
    bottom: 40px;
    right: 20px;
    font-size: 1.4rem;
    font-weight: 300;
    color: #ffc600;
    white-space: nowrap;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    display: table; 
    vertical-align: middle;
    transition: 300ms all ease-in-out;
}


a.cd-top:hover span .fa { color: #fff; transition: 300ms all ease-in-out; }

a.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover { transition: 300ms all ease-in-out; }

a.cd-top p { 
    height: 32px;
    vertical-align: middle;
    display: table-cell;
    padding: 0px 10px;
    padding-bottom: 1px;
}


a.cd-top span {
    margin-left: 10px;
    vertical-align: middle;
    display: table-cell;
    width: 32px;
    height: 32px;
    padding-bottom: 1px;
    text-align: center;
    background: #464768;
    color: #fff;
}

a.cd-top span > .fa { 
    font-size: 20px;
    text-align: center;
    color: #ffc600;
    transition: 300ms all ease-in-out;
}
    
a.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }
}
@media only screen and (min-width: 1024px) {
    .cd-top {
        right: 30px;
        bottom: 30px;
    }
}