﻿@media (min-width: 1200px) {
    .container {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 1000px) {
    .slideitem img {
        position: absolute;
        z-index: -1;
        width: 1111px !important;
        height: auto !important;
    }

    .slider-legend-sub {
        top: 23%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 100% !important;
    }
}
/*item tm*/
@media (max-width: 992px) {
    .itemtm {
        width: 100%;
    }

    .itemtm-1 {
        width: 100%;
    }

    .itemtm-2 {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 100% !important;
    }
}

@media (max-width: 1700px) {
    .text-circle-tm {
        width: 100%;
    }
}

@media (max-width: 1400px) {
    .imgn {
        margin-top: 10%;
    }

    .circle1 {
        font-size: 16px;
    }

    .slider-legend-sub {
        top: 20%;
    }
}

@media (max-width: 1500px) {
    .imgn {
        margin-top: 5%;
    }
}

@media (max-width: 768px) {
    .text-circle-tm:hover .text-circle {
        display: block;
        padding: 0 30px !important;
    }
    #fond-cir div {
        padding: 0;
        width: 100%;
        margin: 0 auto;
    }
    .eje-title, .eje-sub-title {
        text-align: center;
    }
    .hidden-full {
        display: block;
    }
    .hidden-res {
        display: none;
    }
    .col-md-6.eje-img.eje-img1, .col-md-6.eje-img.eje-img2, .col-md-6.eje-img.eje-img3 {
        height: 300px;
    }

    .ejes-content > .row > .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-bottom: 30px;
    }
    .container {
        max-width: 100% !important;
    }

    .fond-text > div {
        padding: 25px !important;
    }

    .arrow_box:after, .arrow_box-1:after {
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 20px 20px 20px;
        border-color: transparent transparent #4069bd transparent;
        right: 0;
        left: 0;
        top: -19px;
        margin: auto;
    }

    .text-1 {
        margin-top: 30px;
    }

    .arrow_box > div, .arrow_box-1 > div {
        padding: 25px !important;
    }

    .testi-res {
        display: block;
    }

    .testi-full {
        display: none;
    }

    .midiv-tm {
        margin-top: 6%;
        margin-bottom: 6%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100% !important;
    }

    .logo-map {
        width: 30%;
    }

    .fond-text {
        margin-bottom: 10%;
    }

    .sticker-contact {
        border-right: 0px;
        border-bottom: 2px solid #696969;
    }

    .btn-contacto {
        margin-top: 10px;
        margin-bottom: 35px;
    }
    .news-container-prev {
        display: none;
    }
    .news-container-cont {
        width: 100%;
        padding: 0;
    }
    li.news-container-list-item {
        display: block;
    }
        li.news-container-list-item > div {
            width: 100%
        }
    .news-container-item-tittle {
        margin-top: 20px;
    }
    ul.news-container-list {
        margin-top: 20px;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 100% !important;
    }
}

@media (max-width: 576px) {
    .menu-social li a {
        font-size: 30px;
    }
    .inline-block {
        display:block;
    }
    .copyright, .menu-social.menu-ul {
        width: 100%;
        text-align: center;
    }
    .lang li, .lang li a {
        font-size: 18px;
    }
        .lang li a {
            padding: 1px 15px;
        }
    .hc-side-img {
        display:none;
    }
    .hc-side-img-res {
        display:block !important;
    }
        .hc-side-img-res img {
            margin: 20px auto;
        }
    .tm-2 {
        padding: 25px 25px 25px 5px;
    }
    .star {
        padding: 30px 30px 5px !important;
    }
        .menu-footer li.menu-item {
            display: block;
            text-align: center;
            padding-bottom: 10px;
        }

        .menu-footer li.menu-item a {
            font-size: 12px;
        }

    .sticker-contact {
        border-bottom: 2px solid dimgrey !important;
        border-right: 0px;
    }

    .text-1 {
        margin-top: 30px;
    }

    .modal-dialog {
        margin: 15px !important;
    }
    /* .imgn { */
    /* padding: 10px; */
    /* } */
    .fond-text {
        padding: 0px;
    }

    .fd-imgp {
        height: 155px;
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .slider-legend-sub {
        font-size: 14px;
        top: 30%;
        padding: 10px;
    }

    .container {
        max-width: 100% !important;
    }

    .col-25, .col-75, input[type=submit] {
        width: 100%;
        margin-top: 0;
    }

    .fond-text {
        margin-bottom: 10%;
    }

    .arrow_box {
        margin: 10px;
    }

    .arrow_box-1 {
        margin: 10px;
    }

    .text-groupe {
        margin-top: 30px;
    }

    .img-div {
        margin-left: 0%;
    }

    .btn-b {
        margin-left: 33% !important;
        margin-top: 10px;
    }

    .block-text {
        margin-left: 0px;
    }

    .text-3 {
        margin-top: 17px !important;
    }

    .cir {
        position: relative;
        right: 6%;
    }

    .email-btn {
        text-align: center;
        margin: 10px;
    }

    .name {
        font-size: 16px;
    }

    .slider-legend {
        font-size: 15px;
        padding: 10px 20px 10px 40px !important;
    }

    .i-tm {
        margin-bottom: 0%;
    }

    .sticker-contact {
        border-bottom: 2px solid dimgrey !important;
        border-right: 0px;
    }

    #slider {
        height: 100%;
    }

    #slideshow > div > img {
        position: initial;
        width: 100% !important;
        height: 100% !important;
    }

    .fd-imgp {
        height: 155px;
        width: 100%;
    }

    .dev-text {
        padding-left: 0px;
    }

    .cds-sm {
        margin-bottom: 10%;
    }

    .cir-1 {
        left: -20px;
    }

    .cir-item {
        left: 6%;
    }

    .text-list {
        padding: 0px 20px;
    }

    .fond-text-tm-3 {
        width: 100%;
    }

    .fond-text-tm {
        height: auto;
        margin-bottom: 25px;
    }

    .menu {
        top: 290px !important;
    }
}
/*menu responsib*/
@media (max-width: 768px) {
    menu label {
        display: block;
        padding-right: 25px;
        transition: all 0.4s ease;
    }

    menu {
        justify-content: flex-end;
    }

    .menu {
        position: absolute;
        top: 209px;
        left: 0;
        width: 100%;
        transform: translateX(-100%);
        transition: all 0.3s;
    }

        .menu ul {
            display: block;
        }

        .menu a {
            font-size: 13px;
        }

        .menu ul li:hover ul {
            display: none;
            position: static;
        }

    #btn-menu:checked ~ .menu {
        transform: translateX(0%);
    }
}

@media (max-width: 360px) {
    .container {
        max-width: 100% !important;
    }

    .fd-imgp {
        height: 125px !important;
        width: 100%;
        border-left: 15px solid #9fb4df;
    }

    .number1 {
        position: absolute;
        right: 26%;
    }

    .cds-text {
        text-align: start !important;
    }

    .text-factory {
        font-size: 20px;
    }

    .cr-lg {
        left: 5%;
        top: 15px;
    }

    .logo-map {
        height: auto;
        width: 28%;
        margin: 0px;
    }

    .menu {
        top: 231px !important;
    }

        .menu a {
            font-size: 13px;
        }

    .midiv-tm {
        margin-top: 6%;
        margin-bottom: 6%;
    }
    /*claces para los circulos de pantalla TM*/
    .text-circle {
        padding: 10px;
    }

    .text-circle-tm {
        width: 220px;
        height: 220px;
    }

    #fond-cir {
        padding: 0px;
    }
}

@media (min-width: 360px) {
    .menu {
        top: 230px;
    }
}
/*lines de mapa pantalla de contacto*/
@media (min-width: 1919px) {
    #midiv {
        transform: rotateZ(-59deg);
        -ms-transform: rotate(20deg);
        left: 15.6%;
        top: 21.7%;
        right: 48.1%;
    }

    #midiv1 {
        transform: rotateZ(-51deg);
        left: 8.3%;
        top: 35.9%;
        right: 38%;
    }

    #midiv2 {
        transform: rotateZ(115deg);
        left: 28%;
        top: 43.5%;
        right: 26%;
    }

    #midiv3 {
        left: 57%;
        top: 44.1%;
        right: 12.3%;
    }

    #midiv4 {
        transform: rotateZ(-31deg);
        left: 2.0%;
        top: 141%;
        right: 58%;
    }

    #midiv0 {
        left: 43.1%;
        top: 2.2%;
        right: 24.5%;
    }

    #midiv0-1 {
        left: 52.1%;
        top: 9.8%;
        right: 24.5%;
    }

    #midiv0-2 {
        left: 60.7%;
        top: 17.3%;
        right: 24.5%;
    }

    #midiv0-3 {
        left: 72.3%;
        top: 24.8%;
        right: 24.5%;
    }

    #midiv0-4 {
        left: 0.2%;
        top: 170.3%;
        right: 90.5%;
        transform: rotateZ(-90deg);
    }
    /*item tm te facilita*/
    .fond-tm {
        margin-top: 20%;
    }
}

@media (max-width: 600px) {
    #midiv {
        height: 0px;
        transform: rotateZ(-57deg);
        background-color: #4069bd;
        -ms-transform: rotate(20deg);
        position: absolute;
        left: 0%;
        top: 0%;
        right: 0%;
    }

    #midiv1 {
        height: 0px;
        transform: rotateZ(-55deg);
        background-color: #4069bd;
        position: absolute;
        left: 0%;
        top: 0%;
        right: 0%;
    }

    #midiv2 {
        height: 0px;
        transform: rotateZ(120deg);
        background-color: #4069bd;
        position: absolute;
        left: 0%;
        top: 0%;
        right: 0%;
    }

    #midiv3 {
        height: 0px;
        transform: rotateZ(-90deg);
        background-color: #4068bd;
        position: absolute;
        left: 0%;
        top: 0%;
        right: 0%;
    }

    #midiv4 {
        height: 0px;
        transform: rotateZ(-29deg);
        background-color: #4068bd;
        position: absolute;
        left: 0%;
        top: 0%;
        right: 0%;
    }

    #midiv0 {
        height: 0px;
        background-color: #4069bd;
        position: absolute;
        left: 48.9%;
        top: 2.6%;
        right: 24.50%;
    }

    #midiv0-1 {
        height: 0px;
        background-color: #4069bd;
        position: absolute;
        left: 0%;
        top: 0%;
        right: 0%;
    }

    #midiv0-2 {
        height: 0px;
        background-color: #4069bd;
        position: absolute;
        left: 0%;
        top: 0%;
        right: 0%;
    }

    #midiv0-3 {
        height: 0px;
        background-color: #4069bd;
        position: absolute;
        left: 0%;
        top: 0%;
        right: 0%;
    }

    #midiv0-4 {
        height: 0px;
        background-color: #4068bd;
        position: absolute;
        left: 0%;
        top: 0%;
        right: 0%;
        transform: rotateZ(-90deg);
    }
    .newsSection ul.newsSectionNews.newsSectionTop,
    li.news-container-list-item > a {
        display: block;
    }
        .newsSection ul.newsSectionNews.newsSectionTop li {
            width: 100%;
            margin-bottom: 20px;
        }
    .news-container-item-prev, .news-container-item-img {
        width: 100% !important;
        max-width: initial;
    }
    .newsContentExpandedSide {
        display: none;
    }
    .newsContentExpanded {
        width: 100%;
    }
}
