h2.mbr-header__text {
    display: block;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 6px;
    line-height: 1.5em;
    margin: 0;
    padding-top: 30px;
}
 #HistoriaImage {
        padding: 50px;
    }

#sliderimagen{
    width: 1000px;
    height: 563px;
}
.stage h3{
    padding-top: 25px;padding-bottom: 25px; text-align:center;
}
div.violator {
    margin: auto auto;
    border-radius: 50%;
    /*background-color: #fff;*/
    width: 350px;
    height: 300px;
    -webkit-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    color: #000;
    text-align: center;
    /*-webkit-box-shadow: 0px 5px 16px 0px rgba(0, 0, 0, 0.75);*/
    /*box-shadow: 0px 5px 16px 0px rgba(0, 0, 0, 0.75);*/
}

#isolatedcontainer {
    margin-top: 50px
}
#magnnet{
    padding-top: 50px;
}
#containerservicios {
    margin-top: 50px
}

#serviciosimage {
    width: 100%;
    height: 250px;
    margin-top: 110px;
    background-image: url(../images/SERVICIOS2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
#imagenoticias{
    width:100%; height:250px; margin-top:110px; background-image: url(../images/blog2.jpg) ; background-repeat: no-repeat;
background-size: cover;  background-position: center center;
}

   #secundaria{
    width:100%; height:250px; margin-top:110px; background-image: url(../images/programas3.jpg);  background-repeat: no-repeat;
background-size: cover; background-position: center center;
}

#itemanchor p a {
    font-size: 23px;
}

.containerenlaces {
    width: 40%;
    margin: 25px auto;
    overflow: hidden
}

.containerenlaces img.image {
    float: left;
}

.containerenlaces h5 {
    text-align: center;
    font-size: 24px;
    padding-top: 0px;
    margin-bottom: 5px;
}

.floatingPosition {
    top: 332px;
    left: -119px !important;
}

#programas {
    color: white;
}

#programas:hover {
    text-decoration: underline;
}

.servicios {
    text-decoration: none;
}

servicios:hover {
    text-decoration: underline;
    text-decoration-color: #000027;
}

.btn-lg2,
.btn-group-lg>.btn {
    padding: 10px 10px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 0px;
}

.mbr-buttons__btn2,
.mbr-buttons__link {
    margin: 0 10px 13px 0;
    margin-top: 0px;
    margin-right: 10px;
    margin-bottom: 20px;
    margin-left: 0px;
}

.orangebtn {
    background-color: #004e72 !important;
    border-color: #004e72 !important;
}

.orangebtn:hover {
    background-color: #004e72 !important;
    border-color: #004e72 !important;
}

.mbr-navbar__brand-link:after,
.mbr-navbar__brand-img {
    height: 90px !important;
}

#team {
    background: #f2f2f2 !important;
}

#team,
#portfolio,
#contact {
    text-align: center !important;
}

#work,
#about,
#team,
#portfolio,
#plan,
#contact {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.parallax-section {
    background-attachment: fixed !important;
    background-size: cover !important;
}

body,
header,
footer,
a,
div,
p,
section,
button,
input,
textarea {
    cursor: url(../images/cursor.gif), auto !important;
}

.serv {
    color: #0A1B57;
    background-color: white;
    border: 0px;
}

.serv:hover {
    background-color: #F36E21;
}

.test {
    color: #F36E21;
    border: 5px solid #F36E21;
}

.test:hover {
    border: 5px solid #F36E21;
    background-color: #F36E21;
    color: white;
}

#team h3 {
    color: #F36E21 !important;
}

.imagens {
    position: relative;
    width: 100%;
}

.imagens span {
    position: absolute;
    font-size: 30px;
    top: 50%;
    left: 50%;
    color: #fff;
    opacity: 0;
    background-color: rgba(0, 45, 155, 0.5);
}

.anchor {
    text-decoration: none;
    text-align: center;
    font-size: 100%;
    color: white !important;
    margin: auto;
    vertical-align: middle;
}

.nombrepais {
    position: absolute;
    bottom: 40%;
    vertical-align: middle;
    left: 30%;
    right: 30%;
    background-color: rgba(0, 45, 155, 0.6);
    padding: 10px;
    font-weight: bold;
}

.nombrepais:hover,
.anchor:hover {
    color: white !important;
}

.nombrepaisitem {
    position: absolute;
    bottom: 85%;
    vertical-align: middle;
    left: 30%;
    right: 30%;
    top: 10%;
    background-color: rgba(0, 45, 155, 0.6);
    padding: 5px;
    font-weight: bold
}

.nombrepaisitem:hover {
    color: white !important;
}

.descripcionpaisitem {
    position: absolute;
    bottom: 30%;
    vertical-align: middle;
    left: 15%;
    right: 15%;
    top: 30%;
    background-color: rgba(0, 45, 155, 0.6);
    padding: 5px;
}

.descripcionpaisitem strong {
    color: #F36E21;
}

.descripcionpaisitem a:hover {
    color: white !important;
}

.text-orange {
    color: #F36E21 !important;
    font-weight: 900;
    font-size: 14px;
}

.mbr-navbar__section {
    background-color: white !important;
    font-weight: bold;
}

.test2 {
    background-color: #f2f2f2 !important;
    color: #0A1B57 !important;
    border: 3px solid #0A1B57 !important;
}

.test2:hover {
    border: 3px solid #0A1B57 !important;
    background-color: #0A1B57 !important;
    color: white !important;
}

.pag {
    margin: 20px !important;
}

.form-control {
    background-color: white;
    border: 2px solid #F36E21;
}

#secundaria {
    text-align: center !important;
}

.modal-dialog {
    width: 30%;
}

@media all and (max-width: 769px) {
    .modal-dialog {
        width: 60%;
        margin: auto;
    }
}

.flecha {
    background-color: white;
    border-radius: 100px;
}


/*****************/

@media (max-width: 767px){
    .content-2 .thumbnail {
    padding-top: 0px;
    padding-bottom: 65px;
    margin-bottom: 0;
}
}


/* Styling the slideshow */

#slideShowContainer {
    background-image: url('../img/contour.png'), url('../img/page_bg.jpg');
    background-repeat: no-repeat, no-repeat;
    background-position: center 117px, center -200px;
    font: 15px Calibri, Arial, sans-serif;
    border: 1px solid transparent;
    width: 510px;
    height: 510px;
    position: relative;
    margin: 120px auto 50px;
}

#slideShow {
    position: absolute;
    height: 490px;
    width: 490px;
    background-color: #fff;
    margin: 10px 0 0 10px;
    z-index: 100;
    -moz-box-shadow: 0 0 10px #111;
    -webkit-box-shadow: 0 0 10px #111;
    box-shadow: 0 0 10px #111;
}

#slideShow ul {
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    list-style: none;
    overflow: hidden;
}

#slideShow li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#slideShowContainer>a {
    border: none;
    text-decoration: none;
    text-indent: -99999px;
    overflow: hidden;
    width: 36px;
    height: 37px;
    background: url('../img/arrows.png') no-repeat;
    position: absolute;
    top: 50%;
    margin-top: -21px;
}

#previousLink {
    left: -38px;
}

#previousLink:hover {
    background-position: bottom left;
}

a#nextLink {
    right: -38px;
    background-position: top right;
}

#nextLink:hover {
    background-position: bottom right;
}

#galeria,
#galeria * {
    box-sizing: border-box, -moz-box-sizing:border-box
}

#galeria {
    border: 1px solid background: linear-gradient(to right, rgba(255, 87, 34, 0.8), #fac15e);
    ;
    /* Borde de la galería */
    padding: 10px;
    padding-bottom: 0;
    /* Fondo de la galería */
    width: 108%;
    /* Ancho de la galería */
}

#galeria_miniaturas {
    width: 80%;
    display: table;
    margin: 0 auto;
}

#galeria_imagen {
    width: 100%;
}

#imgGaleria,
#imgGaleria2,
#imgGaleria3,
#imgGaleria4,
#imgGaleria5,
#imgGaleria6,
#imgGaleria7,
#imgGaleria8,
#imgGaleria9,
#imgGaleria10,
#imgGaleria11,
#imgGaleria12,
#imgGaleria13,
#imgGaleria14,
#imgGaleria15,
#imgGaleria16,
#imgGaleria17,
#imgGaleria18,
#imgGaleria19,
#imgGaleria20,
#imgGaleria21,
#imgGaleria22,
#imgGaleria23,
#imgGaleria24,
#imgGaleria25,
#imgGaleria26,
#imgGaleria27,
#imgGaleria28,
#imgGaleria29,
#imgGaleria30,
#imgGaleria31,
#imgGaleria32,
#imgGaleria33,
#imgGaleria34,
#imgGaleria35,
#imgGaleria36,
#imgGaleria37,
#imgGaleria38,
#imgGaleria39,
#imgGaleria40,
#imgGaleria41,
#imgGaleria42,
#imgGaleria43,
#imgGaleria44,
#imgGaleria45,
#imgGaleria46,
#imgGaleria47,
#imgGaleria48,
#imgGaleria49,
#imgGaleria50,
#imgGaleria51,
#imgGaleria52,
#imgGaleria53,
#imgGaleria54,
#imgGaleria55,
#imgGaleria56,
#imgGaleria57,
#imgGaleria58,
#imgGaleria59,
#imgGaleria60,
#imgGaleria61 {
    width: 80%;
    /* Ancho de la imagen */
    height: 350px;
    /* Alto de la imagen */
    margin-right: 55px;
}

.miniatura {
    width: 25%;
    /* Ancho de las miniaturas */
    height: 100px;
    /* Alto de las miniaturas */
    float: left;
    cursor: pointer;
    padding: 10px;
}

.miniatura:hover {
    opacity: .8;
    /* Opacidad */
    -moz-opacity: .8;
    -khtml-opacity: .8;
    filter: alpha(opacity=80);
}

.miniatura:active {
    opacity: 1;
    -moz-opacity: 1;
    -khtml-opacity: 1;
    filter: alpha(opacity=80);
}

@media (min-width: 320px) and (max-width: 1024px) {
    .iconoresponsivo {
        width: 30px;
        height: 30px;
    }
    .floatingPosition {
        top: 332px;
        left: -19px !important;
    }
    nav a {
        position: relative;
        display: inline-block;
        margin: 5px 1px;
        outline: none;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 400;
        text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
        font-size: 1em;
    }
    .miniatura {
        width: 23%;
        height: 100px;
        float: left;
        cursor: pointer;
        padding: 10px;
    }
}

@media only screen and (min-width: 768px) {
    #sliderimagen{
    width: 1000px;
    height: 410px;
}
       .content-2 .thumbnail {
    padding-bottom: 0px;
}
    .content-2 .thumbnail > img, .content-2 .thumbnail .image img {
    width: 30%;
     height: 30%;
}
    .stage h3{
        font-size: 20px;
        padding: 10px;
    }
}
@media (max-width: 1024px) and (min-width: 768px){
    .content-2.col-4 .row > div + div + div {
    margin-top: 0px;
}
}


@media only screen and (min-width: 320px) {
    #sliderimagen {
        width: 100%;
        height: 180px;
    }
}
@media only screen and (min-width: 375px) {
     #sliderimagen {
        width: 100%;
        height: 210px;
    }
}
@media only screen and (min-width: 425px) {
     #sliderimagen {
        width: 100%;
        height: 240px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 425px) {
    .content-2 .thumbnail {
    padding-bottom: 0px;
}
    .content-2 .thumbnail > img, .content-2 .thumbnail .image img {
    width: 30%;
     height: 30%;
}
    .stage h3{
        font-size: 15px;
        padding: 0;
    }
    .floatingPosition {
        top: 332px;
        left: -19px !important;
    }
    .containerenlaces {
        width: 100%;
        margin: 25px auto;
        overflow: hidden
    }
    .mbr-header {
        margin-top: 20px;
        padding: 0;
        position: relative;
        text-align: center;
        top: 10px;
    }
    .miniatura {
        width: 25%;
        height: 100px;
        float: left;
        cursor: pointer;
        padding: 10px;
    }
    nav a {
        position: relative;
        display: inline-block;
        margin: 5px 1px;
        outline: none;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 400;
        text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
        font-size: 1em;
    }
    .containerenlaces img.image {
        float: left;
    }
    .containerenlaces h5 {
        text-align: center;
        font-size: 24px;
        padding-top: 0px;
        margin-bottom: 5px;
    }
    .textcenter {
        text-align: center;
    }
    .logoresponsivo {
        width: auto;
    }
    .testimonial:after {
        content: "";
        width: 150px;
        height: 107%;
        background: white;
        position: absolute;
        top: -20px;
        left: -105px;
        transform: matrix(1, 0, 0.5, 1, 150, 0);
        z-index: -1;
        display: none;
    }
    
    #imgGaleria,
    #imgGaleria2,
    #imgGaleria3,
    #imgGaleria4,
    #imgGaleria5,
    #imgGaleria6,
    #imgGaleria7,
    #imgGaleria8,
    #imgGaleria9,
    #imgGaleria10,
    #imgGaleria11,
    #imgGaleria12,
    #imgGaleria13,
    #imgGaleria14,
    #imgGaleria15,
    #imgGaleria16,
    #imgGaleria17,
    #imgGaleria18,
    #imgGaleria19,
    #imgGaleria20,
    #imgGaleria21,
    #imgGaleria22,
    #imgGaleria23,
    #imgGaleria24,
    #imgGaleria25,
    #imgGaleria26,
    #imgGaleria27,
    #imgGaleria28,
    #imgGaleria29,
    #imgGaleria30,
    #imgGaleria31,
    #imgGaleria32,
    #imgGaleria33,
    #imgGaleria34,
    #imgGaleria35,
    #imgGaleria36,
    #imgGaleria37,
    #imgGaleria38,
    #imgGaleria39,
    #imgGaleria40,
    #imgGaleria41,
    #imgGaleria42,
    #imgGaleria43,
    #imgGaleria44,
    #imgGaleria45,
    #imgGaleria46,
    #imgGaleria47,
    #imgGaleria48,
    #imgGaleria49,
    #imgGaleria50,
    #imgGaleria51,
    #imgGaleria52,
    #imgGaleria53,
    #imgGaleria54,
    #imgGaleria55,
    #imgGaleria56,
    #imgGaleria57,
    #imgGaleria58,
    #imgGaleria59,
    #imgGaleria60,
    #imgGaleria61 {
        width: 92%;
        height: 250px;
        margin-right: 55px;
    }
    #galeria_miniaturas {
        width: 90%;
        display: table;
        margin: 0 0;
    }
    .mbr-article--auto-align.mbr-article--wysiwyg p,
    .mbr-article--auto-align {
        text-align: justify!important;
            font-size: 15px;
        line-height: 20px;
    }
    #HistoriaImage {
        padding: 10px;
    }
    div.violator {
        margin: auto auto;
        border-radius: 50%;
        /*background-color: #fff;*/
        width: 300px;
        height: 300px;
        -webkit-transition: transform 0.3s ease;
        -o-transition: transform 0.3s ease;
        transition: transform 0.3s ease;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        color: #000;
        text-align: center;
        /*-webkit-box-shadow: 0px 5px 16px 0px rgba(0, 0, 0, 0.75);*/
        /*box-shadow: 0px 5px 16px 0px rgba(0, 0, 0, 0.75);*/
    }
    .mbr-hero__text {
        font-size: 30px;
        font-weight: bold;
        left: -2px;
        letter-spacing: 2px;
        line-height: 50px;
        margin: -18px 0 1px 0;
        padding-bottom: 41px;
        position: relative;
        top: 8px;
    }
    .mbr-gallery .modal.in .modal-dialog {
        margin-top: 5px;
    }
    #itemanchor {
        height: 350px;
    }
    #itemanchor img,
    #itemanchor p {
        height: 350px;
    }
    #itemanchor p a {
        font-size: 15px;
        text-decoration: underline;
    }
    .descripcionpaisitem {
        font-size: 15px;
        line-height: 24px;
        position: absolute;
        bottom: 30%;
        vertical-align: middle;
        left: 0%;
        right: 0%;
        top: 0%;
        background-color: rgba(0, 45, 155, 0.6);
        padding: 5px;
    }
    #myModal {
        display: none;
        overflow: hidden;
        position: fixed;
        top: 100px;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1050;
        -webkit-overflow-scrolling: touch;
        outline: 0;
    }
    #myModaldialog {
        width: 88%;
        margin: auto;
    }
    #serviciosimage {
        width: 100%;
        height: 100px;
        margin-top: 110px;
        background-image: url(../images/SERVICIOS2.png);
        background-repeat: no-repeat;
        background-size: cover;
        ;
    }
    #containerservicios {
        margin-top: 0px
    }
    .top-icon,
    .bottom-icon {
        display: block;
        font-size: 20px;
        color: #fdfeff;
        text-align: center;
        margin: 0 auto;
    }
    .mbr-header__text {
        display: block;
        font-size: 15px;
        font-weight: bold;
        letter-spacing: 0px;
        line-height: 1em;
        margin: 0;
        padding: 10px;
    }
    #isolatedcontainer {
        margin-top: 0px
    }
    .mbr-section__right {
        padding-left: 15px;
        padding-top: 10px;
    }
    .mbr-header--inline .mbr-header__text {
        display: block;
        margin: 0 0 10px 0;
    }
    .float-li-icons {
        float: right;
        width: 33%;
        text-align: left;
        margin-bottom: 10px;
    }
    #imagenoticias{
    width:100%; height:100px; margin-top:110px; background-image: url(../images/blog2.jpg) ; background-repeat: no-repeat;
background-size: cover;  ;
}
    #serviciosimage{
    width:100%; height:100px; margin-top:110px; background-image: url(../images/SERVICIOS2.png);  background-repeat: no-repeat;
background-size: cover;
}
      #secundaria{
    width:100%; height:100px; margin-top:110px; background-image: url(../images/programas3.jpg);  background-repeat: no-repeat;
background-size: cover;
}
    #magnnet{
    padding-top: 0px;
}
    #magnnet div > div h3{
        
    padding-top: 0px;
    }

    #magnnet .mbr-section__container--middle {
    padding-bottom: 10px;
}
}


#galeria_imagen img{
    width: 100%;
    height: auto;
    object-fit: contain;
}