body,
h1, h2, h3, h4, h5, h6 { font-family: 'Encode Sans', sans-serif; }

.cd-language::before{
    content: none;
}

.upcase { text-transform: uppercase; }

.row.wide-gap { margin-left: -30px; margin-right: -30px; max-width: none; }
.row.wide-gap > .column { padding-left: 30px; padding-right: 30px; }
.row.small-gap { margin-left: -3px; margin-right: -3px; max-width: none; }
.row.small-gap > .column { padding-left: 3px; padding-right: 3px; }

.bg-gray-gradient {
    background: #f3f3f3;
    /*background: linear-gradient(-25deg, rgba(185,185,185,1) 0%, rgba(226,226,226,1) 100%);*/
}

.button.btn-gray { background-color: #AEAEAE; }
.button.btn-gray:hover { background-color: #979797; }


h2,
.cms-block__title {
    font-family: 'Encode Sans', sans-serif;
    font-weight: 700;
    line-height: 1.4;
    font-size: 1.5rem;
    margin-bottom: 0.4375rem;
}

.gm-style-iw-d .card.card--address {
    padding: 0;
    box-shadow: none;
}
.gm-style-iw-d .card.card--address .card__address {
    margin-bottom: 0;
}

#sl-count {
    font-weight: bold;
}

.office__address + .office__address {
    margin-top: 15px;
}
.office__address .icon {
    margin-right: 9px;
}

.gm-style-iw-d .office__address,
.gm-style-iw-d .office__address a,
.gm-style-iw-d .office__address .icon.icon--white {
    color: #231f20 !important;
    fill: #231f20;
}

@media screen and (min-width: 75em) {
    #google-container { height: 35rem; }
}


.paginator * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.form input:not([type="submit"]):not([type='checkbox']):not([type='radio']), .form textarea, .form select {
    margin: 1.875rem 0 0;
}
.form select[name="tipo-di-richiesta"] { margin: 0; }


.vc_row[data-vc-full-width] { overflow: visible; }


/*
 * TOP BAR
 */
#top-bar {
    text-align: right;
    padding: 0 15px;
}

#top-bar .certificazioni {
    margin: 0 auto;
    padding: 2px 0;
    float: left;
}
#top-bar .certificazioni li {
    display: inline-block;
    margin-right: 10px;
}
#top-bar .certificazioni li img {
    max-height: 22px;
    vertical-align: middle;
}

#top-bar .social-list {
    margin: 0 auto;
    padding: 2px 0;
    float: right;
}
#top-bar .social-list a {
    opacity: 1;
    font-size: 22px;
}
#top-bar .social-list a > * {
    vertical-align: middle;
}
#top-bar .social-list a img {
    max-height: 22px;
}
#top-bar .social-list a .fa-facebook-f { color: #3b5998; }
#top-bar .social-list a .fa-youtube { color: #ff0000; }
#top-bar .social-list a .fa-instagram { color: #FD20A4; }
#top-bar .social-list a .fa-linkedin-in { color: #0077b5; }
#top-bar .social-list a .paypal { position: relative; top: 3px; }



/**
* HEADER
*/
@media screen and (min-width: 64em) {
    .cd-main-header.header--smaller,
    .cd-main-header.header--fixed.header--smaller { top: 0; }
    body.admin-bar .cd-main-header.header--smaller,
    body.admin-bar .cd-main-header.header--fixed.header--smaller { top: 32px; }
}


.page-header.header--text { background-color: #344a5f; }



/**
 * card-prodotti e card-categorie-prodotto
 */
.card { padding: 0; position: relative; }
.card .card-image {
    position: relative;
    height: 0;
    padding-bottom: 260px;
}
.card .card-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;

}
.card .card-overlay {
    opacity: 0;
    background-color: rgba(237, 28, 36, 0.77);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity .25s ease;
}
.card .card-overlay span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
}
.card:hover .card-overlay {
    opacity: 1;
}

.card .card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    margin: 0;
    padding: 20px 0;
}
.card .card-title .card-icon {
    float: right;
    transform: rotate(-90deg);
    margin-top: 2px;
    display: block;
}


/**
 * CATEGORIA PRODOTTO
 */
.categoria-prodotto-header {
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    font-family: 'Encode Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 150px 0 50px;
}
.categoria-prodotto-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
}
.categoria-prodotto-header > * {
    position: relative;
}



/**
 * SINGLE PRODOTTO
 */
.single-prodotti .in-evidenza { display: block; margin-bottom: 20px; }
.single-prodotti .in-evidenza img { display: block; margin: auto; }
.single-prodotti .galleria a { display: block; float: left !important; }
.single-prodotti .galleria a img { display: block; }

@media screen and (max-width: 639px) {
    .single-prodotti .product-description { padding-top: 60px; }
}

.single-prodotti #download {}
.single-prodotti #download .collection__item {}

.single-prodotti #configuratore { padding-top: 80px; }
.single-prodotti #configuratore h3 {
    background: #AEAEAE;
    padding: 10px 30px;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
}



/*
 * TPL-APPLICAZIONI
 */
#settori_applicativi {
    margin-top: 40px;
}
#settori_applicativi .card-settore { position: relative; display: block; }
#settori_applicativi .card-settore figure {
    height: 0;
    padding-bottom: 240px;
    background-position: center;
    background-size: cover;
}
#settori_applicativi .card-settore .overlayy {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #231F20;
    opacity: 0.8;
    transition: all .25s ease;
}
#settori_applicativi .card-settore[href]:hover .overlayy {
    background-color: #ED1C24;
}
#settori_applicativi .card-settore div.content {
    position: absolute;
    top: 8%;
    left: 5%;
    z-index: 3;
    width: 90%;
    height: 86%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#settori_applicativi .card-settore div.content span {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}



/*
 * SINGLE-SETTORE APPLICATIVO
 */
.card-case {
    background-color: #fbfbfb;
    border: 2px solid #CECECE;
    padding: 40px;
}
.card-case img { display: block; margin: auto; }
.card-case label {
    display: block;
    max-width: 200px;
    text-align: center;
    background: #ED1C24;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 7px 10px 9px;
    margin: -15px auto 20px;
}
.card-case div { font-size: 14px; }
.card-case .btn {
    display: block;
    max-width: 185px;
    border: 2px solid #ed1c24;
    background: #ed1c24;
    color: #fff;
    padding: 3px 15px 5px;
    text-align: center;
    font-weight: 700;
    margin-top: 15px;
    transition: all .2s ease;
}
.card-case .btn:hover {
    background-color: transparent;
    color: #ed1c24;
}



.dot-clean a:before, .dot-gear a:before, .dot-brushless a:before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 4px;
    border-radius: 50%;
    margin-bottom: -2px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.dot-clean a:before { background: #87C2E6; }
.dot-gear a:before { background: #C2C2C2; }
.dot-brushless a:before { background: #EC1B24; }




/*
 * FOOTER
 */
footer.footer * { color: rgba(35,31,32,0.8); }
footer.footer a { transition: all 0.5s ease; }
footer.footer a:hover { color: #231f20; }
.footer-address > img {
    margin-bottom: 15px;
}
.footer-address ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}
.footer-address ul:after {
    content: '';
    display: block;
    clear: both;
}
.footer-address ul li {
    font-size: 0.875rem;
    padding: 0.5rem 10px 0 0;
    display: block;
}
.footer-address ul li img {
    margin-right: 0.625rem;
    max-width: 16px;
    max-height: 16px;
    width: auto;
    height: auto;
}

.footer-address .social-list li {
    float: left;
}
.footer-address .social-list a {
    background: #9E9E9E;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}
.footer-address .social-list a:hover { background: #666; }
.footer-address .social-list a i { color: #fff; }

.footer__bottom * { font-size: 13px; }

.fancybox-image {
    transform: scale(1.4);
}

/**
 *
 */
.page-template-tpl-rete-commerciale .large-up-3>.column:nth-of-type(3n+1),
.page-template-tpl-rete-commerciale .large-up-3>.columns:nth-of-type(3n+1) {
    clear: none !important;
}

rs-layer#slider-1-slide-1-layer-0,
rs-layer#slider-1-slide-1-layer-1,
rs-layer#slider-1-slide-2-layer-0,
rs-layer#slider-1-slide-2-layer-1,
rs-layer#slider-1-slide-3-layer-0,
rs-layer#slider-1-slide-3-layer-1,
rs-layer#slider-1-slide-4-layer-0 {
    font-family: 'Encode Sans', sans-serif;
}



.MM_ultime_news .row.block-grid,
.MM_Ultime_Fiere .row.block-grid {
    margin: auto;
}
.article__label {
    text-transform: uppercase;
}

.sidenav__list + .sidenav__cta {
    margin-bottom: 30px;
}



/* Dani-> lingua arabo */
/* breadcrumbs */
body.rtl .breadcrumbs__item:not(:last-child)::before {
    content: '<';
    position: relative;
    display: inline-block;
    color: rgba(35,31,32,0.7);
    padding: 0 0.3125rem;
    opacity: 0.70;
    vertical-align: top;
}
body.rtl .breadcrumbs__item:not(:last-child)::after{
    display: none;
}
/*pagina contatti*/
body.rtl .office__subtitle,body.rtl .office a.office__subtitle{
    display: flex;
    flex-direction: row-reverse;
}
body.rtl ul.office__address li {
    direction: ltr;
}


body.rtl .office__address .icon {
    margin: 0px 10px;
}

/*pagina download prodotti*/
body.rtl  .collection__header {
    display: flex;
    flex-direction: row-reverse;
}



@media(max-width: 1400px){
    .cd-primary-nav > li > a{
        font-size: 13px;
    }
}

@media only screen and (min-width: 1180px) {
    .cd-primary-nav > li > a{
        margin: 0 0.6rem;
    }
}
div.margin-top--120{
    margin-top: -200px;
}

@media (min-width: 768px){
    div.sovrapposto-left-top{
        margin-left: -40px;
        margin-top: -20px;
    }
}

@media (max-width: 1024px){
    div.margin-top--120{
        margin-top: -120px;
        font-size: 13px;
    }

    .cd-main-header.header--fixed .cd-primary-nav a {
        font-size: 13px;
    }

}

/* Dani slider menù */
/* Ma poi Dam :P */
#rev_slider_2_1_wrapper{
	left: 50% !important;
	transform: translateX(-50%);
}

/*Dani news*/

a.testoBottone{
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #615E5E;
    text-decoration: underline;
}

.separatore{
    border: 1px solid #707070;
    margin: 20px 0px;
    background: #707070;
}

h2.title.title--medium.vmb-2{
    font-size: 30px;
}

li.fiere.hidefiere{
    display: none;
}

li.news.hide{
    display: none;
}

.testoBottone.showMore {
     color: rgba(35,31,32,0.8);
     text-decoration: underline;
 }

.owl-carousel {
    display: block !important;
    width: 100%;
    z-index: 1;
}

.cd-main-header-container {
    direction: ltr !important;
}



/* Download Prodotti Accordion */

.collection__header.accordion{
    cursor: pointer;
}

.collection__header.accordion.space {
    margin-bottom: 10px;
}

.accordion-content{
    display: none;
}

.collection.firstaccordion{
    position: relative;
}

.collection.firstaccordion .collection__header.accordion::after {
    content: '';
    position: absolute;
    margin-top: 10px;
    left: 95%;
    transform: translateY(-8px) rotate(45deg);
    border: 2px solid #000;
    border-top: none;
    border-left: none;
    width: 10px;
    height: 10px;
}


/**
 * Dani pagina Virtual Stand FORM
 **/
.wpcf7-form.init div.row div.column span input {
    color: #231f20;
    font-size: 0.875rem;
    font-weight: 400;
    font-style: normal;
    height: initial;
    border: none;
    background-color: transparent;
    border-radius: 0;
    box-shadow: inset 0 -2px 0 0 #231f20;
    padding: 0.625rem 0.3125rem;
    margin: 0 0 1.25rem 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.wpcf7-form-control.wpcf7-submit.button.button--outline.button--small-expand {
    background-color: #ED1C24;
    opacity: 1;
    color: #fff;
    width: 100%;
    font-size: 22px;
    box-shadow: 0px 0px 0px;
}

.boxTour .vc_column-inner {
    padding: 50px;
    background-color: #f1f1f1;
    border-radius: 24px;
    margin-top: -25px;
    padding-top: 75px !important;
    padding-bottom: 20px !important;
}

.page-template-tpl-virtual span.wpcf7-form-control-wrap.privacy span .wpcf7-list-item {
    margin: 0px;
}

.page-template-tpl-virtual .your-marketing .wpcf7-checkbox .wpcf7-list-item.first {
    margin: 0px;
}


.wpb_text_column.wpb_content_element.white div p {
    color: #fff;
}

.boxText .vc_column-inner {
    margin-top: 120px;
}

.page-template-tpl-virtual .breadcrumbs-container {
     z-index: 99999;
     position: relative;
}

.page-template-tpl-virtual .wpcf7-form.init p label {
    color: #404040;
}


.page-template-tpl-virtual .wpcf7-form-control.wpcf7-text {
    border: 0px;
    height: 50px;
    margin-bottom: -10px;
}

.page-template-tpl-virtual label {
    font-size: 17px;
}

.page-template-tpl-virtual .wpcf7-list-item-label a {
    color: #404040;
    text-decoration: underline;
}

.page-template-tpl-virtual .wpcf7-list-item-label a:hover {
    color: #ed1c24;
}


.cd-primary-nav, .cd-primary-nav ul {
	z-index: 999;
}

/* sostituzione logo */
/*.cd-logo__item{
    background-image: url(/wp-content/themes/minimotor/assets/images/logos/logo_minimotor.svg);
}
.cd-main-header.header--fixed .cd-logo .cd-logo__item{
    background-image: url(/wp-content/themes/minimotor/assets/images/logos/logo_minimotor_negative.svg);
}
.cd-main-header.header--smaller .cd-logo__item, .cd-main-header.header--fixed.header--smaller .cd-logo__item{
    background-image: url(/wp-content/themes/minimotor/assets/images/logos/logo_minimotor_negative.svg);
}
*/

.rockwell .cd-logo__item{
    background-image: url(/wp-content/themes/minimotor/assets/images/logos/logo_rockwell.svg);
}
.cd-main-header.header--fixed .cd-logo.rockwell .cd-logo__item{
    background-image: url(/wp-content/themes/minimotor/assets/images/logos/logo_rockwell_negative.svg);
}
.cd-main-header.header--smaller .rockwell .cd-logo__item, .cd-main-header.header--fixed.header--smaller .rockwell .cd-logo__item{
    background-image: url(/wp-content/themes/minimotor/assets/images/logos/logo_rockwell_negative.svg);
}
.cd-logo.rockwell{
    left: 160px;
}


/* dimensione logo */

.cd-logo svg, .cd-logo img, .cd-logo__item {
    width: 140px;
}
.cd-main-header.header--fixed.header--smaller .cd-logo__item{
    width: 240px;
}
@media screen and (min-width: 64em) {
    .cd-logo svg, .cd-logo img, .cd-logo__item {
        width: 250px;
    }
    .cd-logo.rockwell{
        left: 270px;
        max-width: 115px;
    }
    .cd-logo.rockwell .cd-logo__item{
        max-width: 115px;
    }
}

/* fix selezione lingua mobile */
#overlay-language{
    z-index: 1000;
    background-color: rgb(2, 46, 90);
}
