/**
 * Theme Name: Famatelmain
 */

#menu-languages {margin-left: 17px;}

.header-languages button i {
  margin-left: 8px;
}

a.no-follow{
    cursor: default;
}
.work-post.main-editor{
    padding-bottom: 100px;
}
.locale-section{
    /* z-index: 99; */
}
.country-selector.weglot-dropdown{
    display: none!important;
}
.filter-item li.active a{
        color: #e74124;
}
/* blockUI */
@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.blockUI.blockOverlay {
    position: relative;
}
.blockUI.blockOverlay::before {
    height: 1em;
    width: 1em;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -0.5em;
    margin-top: -0.5em;
    content: "";
    -webkit-animation: spin 1s ease-in-out infinite;
    animation: spin 1s ease-in-out infinite;
    background: url(assets/images/loader-block.svg) center center;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(0,0,0,.75);
}

/* Form message */
div.theme-display-none {
    display: none;
}
div.theme-response-output {
    line-height: 1.2;
    margin: 0.5em 0;
    padding: 1em;
    border: none;
    color: #ffffff;
    background-color: #255379;
    position: relative;
    z-index: 1;
    width: 100%;
    font-size: 1.4rem;
}
div.theme-validation-errors {
    background-color: #c90000;
}
div.theme-mail-sent-ok {
    background-color: #0fa55d;
}
.theme-response-output a {
    color: #fff;
}

/* Loading */
.wrapper{
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}
.wrapper.loading{
    opacity: 0;
}
.animsition-loading,.animsition-loading:after {
    width: 64px;
    height: 64px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -32px;
    margin-left: -32px;
    border-radius: 50%;
    z-index: 2
}
.animsition-loading {
    background-color: transparent;
    border-top: 5px solid #d7dff0;
    border-right: 5px solid #d7dff0;
    border-bottom: 5px solid #d7dff0;
    border-left: 5px solid #107890;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-duration: .8s;
    animation-duration: .8s;
    -webkit-animation-name: animsition-loading;
    animation-name: animsition-loading
}
@-webkit-keyframes animsition-loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}
@keyframes animsition-loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}
@-webkit-keyframes fade-in {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}
@keyframes fade-in {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}


.gallery-section .hover-img .img-wrap.hover img:nth-child(2){
    opacity: 1;
}

.flex-self-bottom {
    align-self: flex-end;
}
.flex-self-bottom address {
    margin: 0;
}
#footer .footer-logo {
    margin-bottom: 5px;
}
#footer .footer-logo h4 {
    position: relative;
    bottom: -3px;
}
.product-section .product-item h4 {
    margin-bottom: 0;
}
.ref {
    font-size: 2rem;
    text-align: center;
    font-weight: normal;
    display: block;
}
#main-nav ul li:last-child {
    margin:0;
}
#main-nav ul li:last-child:before {
    content: " | ";
    display: inline-block;
    margin-left: 5px;
    margin-right: 8px;
    font-weight: normal;
}
#main-nav ul li.wpml-ls-item {
    display: inline-block;
    margin: 80px 0 0 0;
}
#main-nav ul li.wpml-ls-item a::before {
    display: none;
}
#main-nav ul li.wpml-ls-item:not(.wpml-ls-current-language){
    font-weight: normal;
}
.used-products .used-item {
    flex-grow: unset;
}

@media (min-width: 768px){
    .used-products .used-item h4, .used-products .used-item .h4 {
        overflow: hidden;
        text-overflow:unset;
        white-space:unset;
    }
}
@media (min-width: 1440px){
    .used-products .used-item h4,
    .used-products .used-item .h4 {
        font-size: 16px;
        line-height: 1.2;
    }
}
