#main-wrapper{
    position: relative;
    background: #fff;
    z-index: 100;
    margin-bottom: 336px;
    padding-bottom: 16px;
    box-shadow: 0 1px 15px rgba(0,0,0,.04), 0 1px 6px rgba(0,0,0,.04);
}
#main-wrapper:before{
    content: "";
    background: linear-gradient(to right, transparent 10%, #ffa000, #d585e2,#47a5d2, #00ad2d, transparent 90%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    opacity: 1;
    transition: .3s ease-in-out;
}
#header-top{
    box-sizing: border-box;
    position: absolute;
    top: 0;
    width: 100%;
    height: 48px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.9);
}
#header-top .container{
    padding-top: 8px;
    padding-bottom: 8px;
    height: 100%;
    text-align: center;
}
#header-top>.container>.row>div:last-child{
    text-align: right;   
}
#header-nav{
    position: absolute;
    top: 48px;
    width: 100%;
    height: 96px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 15px rgba(0,0,0,.04), 0 1px 6px rgba(0,0,0,.04);
    transition: height .4s ease, top 0s ease;
    z-index: 1000;
}
#header-nav:before {
    content: "";
    background: linear-gradient(to right, transparent 10%, #ffa000, #d585e2,#47a5d2, #00ad2d, transparent 90%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    opacity: 1;
    transition: .3s ease-in-out;
}
#header-nav.sticky{
    position: fixed;
    top: 0;
    height: 56px;
}
#header-nav.sticky:before {
    opacity: 0;
}
#header-nav.sticky #header-menu > li:after {
    top: 16px;
}
#header-nav.sticky #header-menu > li {
    line-height: 56px;
}
#header-nav.sticky .logo {
    margin: 8px 0;
}
#header-nav.sticky .logo .logo-image {
    width: 40px;
    height: 40px;
}
#header-nav.sticky .logo .logo-name {
    height: 40px;
    line-height: 16px;
    font-size: 18px;
    padding: 4px 0;
}
#header-nav.sticky #toggle-menu {
    margin: 0;
}
#header-nav>.container{
    position: relative;
}
#header-logo{
    display: inline-block;
    float: left;
}
#header-phone, #header-email{ 
    display: inline-block;
    line-height: 32px;
}
#header-top a{
    color: black;
    font-family: 'Comfortaa';
}
#header-phone{
    float: right;
}
#header-email{
    float: left;
}
#header-phone i, #header-email i{
    display: inline-block;
    position: relative;
    margin-left: 8px;
    top: 4px;
    height: 32px;
    padding-right: 8px;
    font-weight: 200;
}
#header-phone span, #header-email span{
    height: 32px;
}
#header-phone i:before, #header-email i:before{
    margin-left: 0;
    font-size: 24px;
    line-height: 24px;
}
@media (max-width: 991px){
    #main-contacts>#main-address{
    display: none;
    }
}
@media (max-width: 575px){
    #header-email{
    display: none;
    }
    #header-phone{
    float: none;
    }
}
/****FOOTER****/
footer .logo-link{
    display: block;
    margin-bottom: 8px;
    height: 88px;   
    }
footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    padding-top: 32px;
    height: 336px;
}
footer .container{
    height: 232px;
    border-bottom: 2px dotted rgb(231, 231, 231);
}
.footer-links h4{
    margin-bottom: 8px;
    text-align: center;
    }
.footer-links ul{
    list-style: none;
    text-align: left;
    padding-left: 80px;
}
.footer-links .flaticon-right-arrow{
    display: none;
}
.footer-links ul>li:before {
    content: ".";
    position: relative;
    bottom: 2px;
    font-size: 48px;
    margin-right: 9px;
    line-height: 3px;
}
div.footer-links:nth-of-type(1) ul>li:before {
    color: #00b87a;
}
div.footer-links:first-of-type {
    background: #00b87a;
}
.footer-links ul>li>a{
    color: #000;
}
#copyright{
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    text-align: center;
}
#copyright>.row>div:first-child{
    text-align: left;
}
#copyright>.row>div:last-child{
    text-align: right;
}
@media (max-width: 991px) {
    header{
    margin-bottom: 0;
    }
    footer {
    position: relative;
    z-index: 0;
    height: auto;
    padding-bottom: 0;
    }
    footer .container{
    height: auto;
    }
    .footer-links{
    text-align: center;
    margin-top: 16px;
    }
    .footer-links ul{
    padding-left: 24px;
    }
    #copyright>.row>div:first-child{
    text-align: center;
    }
    #copyright>.row>div:last-child{
    text-align: center;
    }
    #main-wrapper {
    margin-bottom: 0px;
    }
}
@media (max-width: 767px) {
    footer .logo-link{
    margin: 0px auto 16px;
    width: 200px;   
    }
    .footer-links:last-child{
    margin-bottom: 16px;
    }
    .footer-links .flaticon-right-arrow{
    display: inline-block;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    }
    .footer-links ul{
    display: none;
    }
    .footer-links.open-links ul{
    display: block;
    }
    .footer-links.open-links .flaticon-right-arrow{
    transform: rotate(90deg);
    margin-top: -8px;
    }
}
@media (max-width: 575px) {
    .footer-links ul {
    padding-left: 48px;
    }
}
/****END FOOTER****/