.padding-thin{
  padding:10px;
}

.margin-thin{
    padding:10px;
}

/*
.nafin-image-caption-static {
    position: absolute;
    right: 5%;
    z-index: 10;
    padding: 10px;
    color: #fff;
    text-align: center;
    text-shadow: 0 4px 8px rgba(0,0,0,.8);
    background: rgba(0,0,0,0.4);
    width: 90%;
    height: 90%;
    top: 5%;
    font-weight: bold;
    font-family:ITCOfficinaSansBold;
}*/

/* thumbnail */

.thumbnail-img-noborders{
    padding: 0px;
    border:none;
}

.thumbnail .caption {
    padding: 9px;
}

.thumbnail p a, .thumbnail p a:hover, .thumbnail p a:visited  {
    color: inherit;
    text-decoration: underline;
}
.thumbnail-shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.thumbnail-shadow:hover {
    box-shadow:  0 6px 10px 0 rgba(0, 0, 0, 0.4), 0 8px 22px 0 rgba(0, 0, 0, 0.38)!important;
}

/* nafin-thumbnail */

.nafin-thumbnail{
    padding: 0px;
    border:none;
    border-color:#e7e7e7;
    border-radius: 0px;
    transition: transform .2s, border-top .5s ease,border-bottom .5s ease ;
}

.nafin-thumbnail:hover{
  transform: scale(1.025);
  border-top:2px solid #00728F;
  border-bottom:2px solid #00728F;
}
.nafin-thumbnail-hover{
  transform: scale(1.015);  
  border-top:2px solid #00728F;
  border-bottom:2px solid #00728F;
}

.horizontal-thumbnail:hover{
  transform: scale(1.025);
  border-top:2px solid #00728F;
  border-bottom:2px solid #00728F;
}




.nafin-thumbnail .caption {
    padding: 9px;
}

.nafin-thumbnail p a, .nafin-thumbnail p a:hover, .nafin-thumbnail p a:visited  {
    color: inherit;
    text-decoration: underline;
}

.nafin-thumbnail a>img, .nafin-thumbnail>img{
    width: 100%;
}

/* thumbnail HORIZONTAL */

.horizontal-thumbnail{
    float: left;
    padding: 0px;
    border:none;
    border-radius: 0px;
    width:100%;
}

.horizontal-thumbnail .caption {
    padding: 9px;
    width: 50%;
    float: left;
}
.horizontal-thumbnail p a, .horizontal-thumbnail p a:hover, .horizontal-thumbnail p a:visited  {
    color: inherit;
    text-decoration: underline;
}

.horizontal-thumbnail > img {
    float: left;
    width: 50%;
}



/* nafin-panel */

.nafin-panel .panel-body a{
    color: inherit;
    text-decoration: underline;
}

.nafin-panel-image{
    width:70%;
    display: inline-block;
}

/* minimundo-content*/


/* MINI MUNDOS */


.minimundo-contennt { position:relative;  }
.minimundo-content  a > .minimundo-image{
    /*margin:10px 0px;*/
    position:relative;
    background: white; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(white,white, #f5f5f5); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(white,white, #f5f5f5); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(white, white,#f5f5f5); /* For Firefox 3.6 to 15 */
    background: linear-gradient(white,white, #f5f5f5); /* Standard syntax */
    border:0px solid #ddd;
}
.minimundo-content  a{
    color:white;
}

.minimundo-content a > .minimundo-image img {
    display: block;
    width: 100%;
    margin:0px auto;
}

.minimundo-content a > .minimundo-image .Square {
    position:absolute;
    top:40px;
    bottom:40px;
    right:40px;
    left: 40px;
    border-radius:7px;
    border: 1px solid #256D91;
    -webkit-transition: top 0.5s, bottom 0.5s, rigth 0.5s, left 0.5s; /* Safari */
    transition: top 0.5s, bottom 0.5s, rigth 0.5s, left 0.5s;
}

.minimundo-content a > .minimundo-image:hover .Square{
    position:absolute;
    top:20px;
    bottom:20px;
    right:20px;
    left: 20px;
    border-radius:7px;
    border: 1px solid #ffffff;
}

.minimundo-content a > .minimundo-image.min-hover .Square{
    position:absolute;
    top:20px;
    bottom:20px;
    right:20px;
    left: 20px;
    border-radius:7px;
    border: 1px solid #ffffff;
}
/*
.minimundo-content a > .minimundo-image .Square-caption {
    position:absolute;
    top:10px;
    bottom:10px;
    right:10px;
    left: 10px;
    border-radius:7px;
    border: 1px solid #ffffff;
}*/



.minimundo-content a > .minimundo-image .Square .graySquare {
    background: rgba(0,0,0,0.29);
    border-radius:7px;
    position: absolute;
    right: 18px;
    left: 18px;
    top: 18px;
    bottom: 18px;
    text-align:center;
    word-wrap: break-word;
    text-transform: uppercase;
    /*font-family: cabinregular,"Trebuchet MS","sans-serif";*/
    font-size: 26px;
    opacity:1;
}

.minimundo-content a > .minimundo-image:hover .Square .graySquare {
    opacity: 0;
}

.minimundo-content a > .minimundo-image.min-hover .Square .graySquare {
    opacity: 0;
}



.minimundo-content a > .minimundo-image .Square .graySquare-caption {
    background: rgba(0, 0, 0,0.5);
    border-radius: 7px;
    text-align: center;
    word-wrap: break-word;
    position: absolute;
    right: 18px;
    left: 18px;
    top: 18px;
    bottom: 18px;
    padding: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    line-height: 1.4;
}

.minimundo-content a > .minimundo-image:hover .Square .graySquare-caption {
    animation: affixFadeIn 1s  ease-in;
    -webkit-animation: affixFadeIn 1s;
    opacity:1;
}

.minimundo-content a > .minimundo-image.min-hover .Square .graySquare-caption {
    animation: affixFadeIn 1s  ease-in;
    -webkit-animation: affixFadeIn 1s;
    opacity:1;
}

@keyframes affixFadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@-webkit-keyframes affixFadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}



/* captions*/

.minimundo-content-caption-title{
    /*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
    font-size: 28px;
}


/* row color image*/
.row-nafin-color{
        position: relative;
        min-height: 1px;
        padding: 10px;
        background-color:#abc345;
        text-align:center;
}
.row-nafin-color:after, .row-nafin-color:before {
        display: table;
        content: " ";
}
.row-nafin-color:after{
        clear:both;
}



/* phone devices*/

@media(max-width:767px) {

    .minimundo-content a > .minimundo-image .Square{
        top:20px;
        bottom:20px;
        right:20px;
        left: 20px;
    }
    .minimundo-content a > .minimundo-image  .graySquare{
        font-size: 22px;
    }

    .minimundo-content-caption-title{
        /*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
        font-size: 22px;
    }

    .minimundo-content-caption-description {
        line-height: 1.3;
    }
}

/* TABLETS */

@media (min-width: 768px) and (max-width: 991px) {
    .minimundo-content a > .minimundo-image .Square{
        top:20px;
        bottom:20px;
        right:20px;
        left: 20px;
    }

    .minimundo-content a > .minimundo-image .Square-caption .graySquare-caption {
        display: block;
        display: -webkit-box;
        /*-webkit-line-clamp: 4;*/
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        /* line-height:1.6;*/

    }

    .minimundo-content a > .minimundo-image .blueMarquee .graySquare{
        font-size: 28px;
    }

    .minimundo-content-caption-title{
       /* font-family: "Trebuchet MS", Helvetica, sans-serif;*/
        font-size: 28px;
    }

    .minimundo-content-caption-description {
        line-height: 1.7;
    }

}


/* nafin-image-caption*/
.nafin-image-caption {
    display: block;
    position: relative;
    float: left;
    overflow: hidden;
    width:100%;
    margin-bottom: 20px;
}
.nafin-image-caption img{
    width:100%;
}

.nafin-figcaption {
    position: absolute;
    background: black;
    background: rgba(37, 109, 145,0.59);
    color: white;
    padding: 10px 20px;
    opacity: 1;
    -webkit-transition: all 0.6s ease;
    -moz-transition:    all 0.6s ease;
    -o-transition:      all 0.6s ease;
    transition: all 0.6s ease;
    height: 100%;
    width: 100%;
}

.nafin-figTitle {
    position: absolute;
    background: transparent;
    color: white;
    padding: 10px 20px;
    opacity: 1;
    margin: auto;
    top: 0;  bottom: 0;
    -webkit-transition: all 0.6s ease;
    -moz-transition:    all 0.6s ease;
    -o-transition:      all 0.6s ease;
    transition: all 0.6s ease;
    height: 100%;
    width: 100%;
    /*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
    font-size: 50px;
}

/*
.nafin-image-caption:hover .nafin-figcaption {
    opacity: 1;
}



.nafin-image-caption:hover .nafin-figTitle {
    opacity: 0;
}*/


/*
.nafin-image-caption:before {
    content: "?";
    position: absolute;
    font-weight: 800;
    background: black;
    background: rgba(255,255,255,0.75);
    text-shadow: 0 0 5px white;
    color: black;
    width: 24px;
    height: 24px;
    -webkit-border-radius: 12px;
    -moz-border-radius:    12px;
    border-radius:         12px;
    text-align: center;
    font-size: 14px;
    line-height: 24px;
    -moz-transition: all 0.6s ease;
    opacity: 0.75;
}*/
/*
.nafin-image-caption:hover:before {
    opacity: 0;
}*/



.cap-left:before {  bottom: 0px; left: 0px; }
.cap-left .nafin-figcaption { bottom: 0; left: -100%; }
.cap-left:hover .nafin-figcaption { left: 0; }

.cap-left.cap-hover .nafin-figcaption { left:0; }
.cap-left.cap-hover .nafin-figTitle { right: -100%; }

.cap-left:before .nafin-figTitle {  bottom: 0px; right: 0px; }
.cap-left .nafin-figTitle { bottom: 0; right: 0px; }
.cap-left:hover .nafin-figTitle { right: -100%; }

.cap-right:before { top: 0px; right: 0px; }
.cap-right .nafin-figcaption { top: 0px; right: -100%; }
.cap-right:hover .nafin-figcaption { right: 0px; top: 0px; }

.cap-right:before .nafin-figTitle {  bottom: 0px; left: 0px; }
.cap-right .nafin-figTitle { bottom: 0; left: 0px; }
.cap-right:hover .nafin-figTitle { left: -100%; }

.cap-right.cap-hover .nafin-figcaption { right: 0px; }
.cap-right.cap-hover .nafin-figTitle { left: -100%; }


.cap-top:before { top: 0px; left: 0px; }
.cap-top .nafin-figcaption { left: 0; top: -200%; }
.cap-top:hover .nafin-figcaption { top: 0; }

.cap-top:before .nafin-figTitle{ bottom: 0; left: 0; }
.cap-top .nafin-figTitle { left: 0; bottom: 0; }
.cap-top:hover .nafin-figTitle { bottom: -200%; }

.cap-top.cap-hover .nafin-figcaption { top: 0; }
.cap-top.cap-hover .nafin-figTitle { bottom: -200%; }

.cap-bot:before { bottom: 0px; left: 0px; }
.cap-bot .nafin-figcaption { left: 0; bottom: -200%;}
.cap-bot:hover .nafin-figcaption { bottom: 0; }

.cap-bot:before .nafin-figTitle{ top: 0px; left: 0px; }
.cap-bot .nafin-figTitle { left: 0; top: 0%;}
.cap-bot:hover .nafin-figTitle { top: -200%; }

.cap-bot.cap-hover .nafin-figcaption { bottom: 0; }
.cap-bot.cap-hover .nafin-figTitle { top: -200%; }

/* phone devices*/

@media(max-width:767px) {

    .nafin-panel-image {
        width: 30%;
    }

    .horizontal-thumbnail{
        clear: both;
        padding: 0px;
        border:none;
        border-radius: 0px;
    }

    .horizontal-thumbnail .caption {
        padding: 9px;
        width: 100%;
        clear: both;
    }

    .horizontal-thumbnail > img {
        clear: both;
        width: 100%;
    }

}

 /* Add This Bar Center*/
.pull-center{
    margin: 0 auto;
}



