


/* Home Page Carousel */

header.carousel {
    height: 100%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.carousel-caption-shadow{
     background: rgba(0,0,0,0.4);
}

.My-carousel-caption {
    padding: 10px;
    margin-bottom: 50px;
    left: 55%;
    right: 15%;
    height: 200px;
}

.carousel-title{
    /*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
    font-size: 18px;
    font-weight:bold;
    margin: 0px 0px 10px;
}

.carousel-description{
    display: block;
    display: -webkit-box;
    max-width: 100%;
    max-height: 70px;
    margin: 0 auto;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.7;
    font-size:14px;
}
/*
.descCaption{
    display: block;
    display: -webkit-box;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.7;
}*/


/* NAVBAR */
/*.navbar-container{
    float:right;
}*/
    .navbar-default .navbar-toggle .icon-bar.icon-bar-nafin{
        color:#fff;
        height:3px;
        background-color:#fff;
    }
.navbar-custom {
    padding: 25px 0;
    background: transparent;
    -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
    -moz-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
    transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
    border: none;

    height: 70px;
    margin-top: 0px !important;
}
.navbar-custom .navbar-brand {
    font-size: 2em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.navbar-custom .navbar-toggle {
    color: #ffffff;
    font-size: 12px;
    border:none;
}

.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background-color: #002C50;
}

.navbar-custom .nav li a {
    color: #ffffff;
    background: rgba(128, 128, 128, 0.42);
    margin-right: 5px;
    width: 115px;
    word-wrap: break-word;
    text-align: center;
    height: 60px;
    padding: 0px 0px;
    margin-bottom: 5px;
    text-decoration:none;
}


.navbar-brand {
    padding: 0px 0px;
}

.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus,
.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus
{
    color: #FFFFFF;
    outline: none;
    background: #808080;
}


.navbar-custom.affix {
    background-color: #002C50;
    padding: 0px 0px;
    box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.05);
}
.navbar-custom.affix .card-item{
   background-color: #002C50; 
}
.navbar-custom.affix .card-item:hover,
.navbar-custom.affix .card-item:focus {
    background-color: #345F78;
}
/*.navbar-custom.affix .navbar-nav > .active > a {
    background-color: #345F78;
}*/

.navbar-custom.affix .navbar-brand {
    font-size: 1.5em;
}

.navbar-custom.affix .nav li a {
    background: transparent;
    margin-bottom: 0px;
    height: 80px;
}

.navbar-custom.affix .nav li a:hover,
.navbar-custom.affix .nav li a:focus {
    background-color: #345F78;
}
.navbar-custom.affix .navbar-nav > .active > a {
    background-color: #345F78;
}

.navbar-custom.affix .searchBarNafin{
    display:none;
}
.navbar-custom.affix .card-item{
    height: 70px;
}
.navbar-custom.affix .navBarOther{
        /*display:block;*/
       max-width: 100%; 
}



/* LOGO NAFIN*/


.logo {
    background: url(/static/img/LOGO_BLANCO.png);
    z-index:1000;
    width: 120px;
    height: 71px;
    background-size: 120px 71px;
    position:absolute;
}

/*
.bg-svg {
    width: 100%;
    background-image: url(/static/img/svg-pegado-346738x154.svg);
    background-size: cover;
    height: inherit;
    padding: 0;
    padding-bottom: 92%;
    border: thin dotted darkgrey;
}
*/

.navbar-custom.affix .navbar-brand .logo {
    width: 120px;
    height: 71px;
    background-size: 120px 71px;
    margin-top: 0px;
}

/* BARRA DE BUSQUEDA */

.searchBarNafin{
    margin-bottom:10px;
    margin-right:10px;
    max-width:720px;
}
.collapse .navbar-collapse .searchBarNafin{
    display:none;
}

.searchNafin{
    background-color:#00728F;
    color:white;
    border-width:0px;
    border-radius:0px;
}
.searchNafin-form-phone{
    padding: 0px 0px;
}

.searchNafin-phone{
    color:#333;
    border-width:0px;
    border-radius:0px;
    cursor:pointer;
}
.textSearchNafin-phone{
    color: #000000;
    font-weight: lighter;
    font-style: italic;
    border-radius:0px;
    border-width:0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    
}

.textSearchNafin{
    color: #000000;
    font-weight: lighter;
    font-style: italic;
    border-radius:0px;
    border-width:0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width:180px !important;
    font-size:14px;
}
.textSearchNafin::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #555;
    margin:0px;
}
.textSearchNafin::-moz-placeholder { /* Firefox 19+ */
    color: #555;
    margin:0px;
}
.textSearchNafin:-ms-input-placeholder { /* IE 10+ */
    color: #555;
    margin:0px;
}
.textSearchNafin:-moz-placeholder { /* Firefox 18- */
    color: #555;
    margin:0px;
}
.socialNetworks a{
    margin-left:10px;
    text-decoration: none;
}
.socialNetworks a:hover{
    color:white;
    text-decoration: none;
}

.socialNetworks .aboutNafin{
    text-shadow: 0 4px 4px black;
    color: white;
    font-size: 16px;
}



/* btn circle*/

.btn-circle-slider {
    position: absolute;
    bottom: 80px;
    width: 50px;
    height: 50px;
    /* margin-top: 15px; */
    border: 2px solid white;
    border-radius: 100% !important;
    font-size: 25px;
    color: white;
    background: rgba(128, 128, 128, 0.42);
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
    left: 50%;
    z-index: 15;
    padding: 5px 0px 0px 0px;
    margin-left: -25px;
}

.btn-circle-slider:hover,
.btn-circle-slider:focus {
    outline: none;
    color:white;
    background:  rgba(128, 128, 128, 0.84);
}
/*.btn-circle-slider i.animated {
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
}
.btn-circle-slider:hover i.animated {
    -webkit-animation-name: pulse;
    -moz-animation-name: pulse;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}*/


.shine-me {
    animation: ShineAnimation 2s cubic-bezier(.12,.89,.98,.47) infinite,arrowSoliderMov 1s linear infinite;
    /*animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(.12,.89,.98,.47);*/
}

/*.arrow-slider-mov{
    animation-name: arrowSoliderMov;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}*/


/* animation */

/*@keyframes slide {
	0% {transform:translateY(-100%);}
	100% {transform:translateY(100%);}
}*/

@keyframes arrowSoliderMov{
    0% {padding:1px 0px 0px 0px;}
    50% { padding:9px 0px 0px 0px; }
    100% {padding:1px 0px 0px 0px;}
}

@keyframes ShineAnimation{
    from {
        border: 3px solid white;
        /*padding:1px 0px 0px 0px;*/
        background-repeat:no-repeat;
        background-image:-webkit-linear-gradient(
            top,
            rgba(255,255,255,0) 0%, 
            rgba(255,255,255,0.8) 50%, 
            rgba(125,185,232,0) 100%
        );
        background-image:-moz-linear-gradient(
            top,
            rgba(255,255,255,0) 0%, 
            rgba(255,255,255,0.8) 50%, 
            rgba(125,185,232,0) 100%
        );
        background-image:-o-linear-gradient(
            top,
            rgba(255,255,255,0) 0%, 
            rgba(255,255,255,0.8) 50%, 
            rgba(125,185,232,0) 100%
        );
        background-image:-ms-linear-gradient(
            top,
            rgba(255,255,255,0) 0%, 
            rgba(255,255,255,0.8) 50%, 
            rgba(125,185,232,0) 100%
        );
        background-image:linear-gradient(
            to bottom,
            rgba(255,255,255,0) 0%, 
            rgba(255,255,255,0.8) 50%, 
            rgba(125,185,232,0) 100%
        );
        /* background:
        linear-gradient(
          red, #f06d06
        );*/
        /*background-image:rgba(255,255,255,0.8);*/
        /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#007db9e8',GradientType=0 ); *//* IE6-9 */
        background-position: 0px -5px;
        background-size: 100% 8px;
    }
    to {
        border: 2px solid white;
        /*padding:7px 0px 0px 0px;*/
        background-repeat:no-repeat;
        background-position: 0px 80px;
    }
}



.horizon-swiper .horizon-item{
  font-size: 14px;
}

.horizon-item .card {
 width: 100%;
 text-align: center;
 /*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
 background-color: transparent;
 color: #000000;
 padding-right:5px;
 font-weight:500;
}
.horizon-swiper{
        background:transparent;
        font-size:0px;
}

.horizon-swiper.arrows.initialized {
        padding: 0px 50px;
}
.horizon-swiper.arrows {
        padding: 0px 0px;
}

.card-item {
        text-align: center;
        /*height: 60px;	*/
        height:70px;			
        word-wrap: break-word;
        /*padding: 0px 15px;*/
        /*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
        /*width:120px;*/
        width:130px;
        white-space: normal;
        background: rgba(128, 128, 128, 0.42);
        color: white;
        -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
        -moz-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
        transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.horizon-item .card a{
        text-decoration:none;
        color: #000000;
}
/*.horizon-item .card-item a:hover{
        color:white;
}*/

.horizon-item .card-item:hover{
        background: #808080;
        color:white;
}

.navBarOther{
    max-width: 100%;
}
.navBarOther-wrapper{
    display:inline-block;
    height:70px;
    overflow:hidden;
    margin-bottom:-5px;
    width: 100%;
    padding: 1px 0px;
}
#navBarPhone{
        display:none;
}

#socialNetworksButtons{
    display:inline-block;
}



/* phone devices*/

@media(max-width:767px) {
    
    .navBarOther-wrapper{
            display:none;
    }
    .navBarOther{
         display:none;
    }
    #navBarPhone{
            display:block;
    }
    
    .navbar-container{
        width:100%;
        clear:both;
    }
    
    .navbar-custom{
        padding: 5px 10px;
        background-color: #002C50;
    }

    .container-fluid>.navbar-collapse,
    .container-fluid>.navbar-header,
    .container>.navbar-collapse,
    .container>.navbar-header{
        margin-bottom: 0px;
    }

    .navbar-custom .nav li a:hover,
    .navbar-custom .nav li a:focus,
    .navbar-custom .navbar-nav > .active > a,
    .navbar-custom .navbar-nav > .active > a:hover,
    .navbar-custom .navbar-nav > .active > a:focus
    {
        color: #FFFFFF;
        outline: none;
        background: #345F78;
    }

    .searchBarNafin{
        display:none;
    }
    
    
    .navbar-custom .nav li a {
        font-weight: 400;
        background: transparent;
        padding: 10px 10px;
        width: 100%;
        height: auto;
    }
    .navbar-custom.affix .nav li a{
        height: auto;
    }

    .navbar-brand {
        padding: 0px 0px 0px 0px;
    }

    .navbar-toggle {
        position: relative;
        float: right;
        padding: 0px 0px;
        margin-top: 12.5px;
        margin-right: 15px;
        margin-bottom: 0px;
        /*border-radius: 4px;*/
    }
    

    .img-portfolio {
        margin-bottom: 15px;
    }

    .navbar-custom .navbar-brand .logo {
        width: 84px;
        height: 50px;
        background-size: 84px 50px;
    }

    .navbar-custom.affix  .navbar-brand .logo {
        width: 84px;
        height: 50px;
        background-size: 84px 50px;
    }

    .navbar-custom.affix {
        padding: 5px 10px;
    }
    .navbar-custom.affix .navbar-brand .logo{
        margin-top: 0px;
    }
    
    
    .My-carousel-caption {
        /*background: rgba(0,0,0,0.4);*/
        padding: 10px;
        margin-bottom: 10%;
        left: 15%;
        right: 15%;
        height: 30%;
    }

    .carousel-title {
        font-size: 18px;
        margin-bottom: 5px;
    }


    .carousel-description {
        display: none;
    }

    /*.btn-circle {

        bottom: calc(10% + 160px);
    }*/

    .My-carousel-caption {
        padding: 10px;
        margin-bottom: 20%;
        left: 15%;
        right: 15%;
        height: 130px;
    }
    
    .btn-circle-caption{
         bottom:50px;
    }
    .btn-circle-slider{
        bottom:50px;
    }


}



/* TABLETS */

@media (min-width: 768px) and (max-width: 991px) {
    .logo{
        margin-top: -18px;
    }
    .navbar-custom.affix .navbar-header{
        display: none!important;
    }

    .carousel-description {
        display: block;
        display: -webkit-box;
        max-width: 100%;
        max-height: 35px;
        margin: 0 auto;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }

    /*.btn-circle {
        bottom: 200px;
    }*/
    .My-carousel-caption {
        padding: 10px;
        margin-bottom: 40px;
        left: 15%;
        right: 15%;
        height: 130px;
    }
    
    .btn-circle-caption{
        bottom:200px;
    }
    
    #socialNetworksButtons{
        display:none!important;
        margin-right:0px;
    }
    .socialNetworks .aboutNafin{
        font-size:14px;
    }

}

/* DEKSTOPS AND MORE */

@media (min-width: 992px) {
    .navbar-custom .navbar-brand .logo {
        width: 177px;
        height: 105px;
        background-size: 177px 105px;
    }
    
    .navBarOther{
        max-width: calc(100% - 180px);
    }
    .navbar-custom.affix .navBarOther{
       max-width: calc(100% - 120px);  
    }
}

.horizon-swiper .horizon-next {
    right: 5px;
    background-image: url(/static/img/arrow_right_white.png);
}
.horizon-swiper .horizon-prev {
    left: 5px;
    background-image: url(/static/img/arrow_left_white.png);
}
header .warning-nav{
 display:none;
}



