body, html { overflow-x:hidden; }

body {
    background-color: #A4A4A2;
    font-family:  "Trebuchet MS", Helvetica, sans-serif;
    font-size: 12px;
	
	font-weight: 300; 
	font-style: normal; 
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6, span, p { font-family: 'Open Sans', Arial, Helvetice Neue, sans-serif; }

form label {
    margin: auto 8px;
}

.jj_clear {
	clear: both;
}

.height30 {
	height: 30px;
}

.container .container {
    margin-top: 5px;
    width: 100%;
}

.jj-top-bar {
    min-height: 40px;
    background-color:#000000;
}

.jj-top-menu {
    min-height:110px;
    background-color:#A4A4A2;
    z-index: 5000;
    width:100%;
}

.jj-top-menu .navbar-toggle {
    margin-top: 38px;
}

.jj-top-menu .navbar-brand {
    padding: 0;
    margin: 5px 0 0 0;
}

.jj-tr-centrada td {
    vertical-align: middle !important;
}

.jj-centrado {
    margin: 0 auto;
    text-align: center;

}

.pagination>.active>a, 
.pagination>.active>span, 
.pagination>.active>a:hover, 
.pagination>.active>span:hover, 
.pagination>.active>a:focus, 
.pagination>.active>span:focus {
    background-color:  #9b0015;
    border-color: #9b0015;
}

.pagination>li>a, .pagination>li>span {
    color:  #9b0015;
}
/* ------ Carousel ----- */


#jj-carousel {
    background: url('../images/fondo_nave.jpg') no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow-x: hidden;
    margin-bottom:0;
    height: 350px;
}

#jj-carousel .carousel-caption {
    z-index: 10;
    font-weight: bolder;
}

#jj-carousel .item {
    height: 350px;
}
#jj-carousel .carousel-inner > .item > img {
    position: absolute;
    min-width: 100%;
    /*height: 350px;*/
    min-height: 350px;
    left: 0;
    top: 0;
}

@media (min-width: 768px) {
    #jj-carousel .carousel-caption p {
        margin-bottom: 20px;
        line-height: 1.4;
        font-size: 21px;
    }

    #jj-carousel .carousel-caption {
        padding-bottom: 55px;
        right: 20%;
        left: 20%;
    }
}

@media (max-width: 768px) {
    #jj-carousel .carousel-caption {
        padding-bottom: 80px;
        font-weight: bolder;
    }
}

@media (max-width: 1024px) {
    #jj-carousel {
        background: url('../images/fondo_nave.jpg') no-repeat center center; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        overflow-x: hidden;
        margin-bottom:0;
        height: 350px;
    }
}

/* ------ End of Carousel ----- */

/* ------ Welcome & Slogna ------ */
.jj-welcome {
    border-bottom: 1px solid #cccccc;
    min-height: 150px;
}

.jj-slogan {
    font-family:  'Open Sans', sans-serif;
    font-weight: normal;
    font-size: 42px;
    margin: 25px 0;
    color: #333333;
}

.jj-service {
    margin-bottom: 100px;
    margin-top: 100px;
}

.jj-service-item {
    font-family:  'Open Sans', sans-serif;
    margin-bottom: 10px;
    font-size: 20px;
}


.jj-service-item p {
font-weight: lighter;
text-align: justify;
margin-top: 25px;
font-size: 14px;
color: #030303;
font-family: "Trebuchet MS", Helvetica, sans-serif;
}

.subheader {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    margin-top: 12px;
    font-size: 12px;
    color: #e67e22;
}

.subheader .txt_red {
    font-weight: bold;
}

.btn-red, .btn-danger {
    background-color: #9B0015;
    border-bottom: 1px solid #770A0A;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3;
    border-radius: 3px;
    color: #ffffff;
}

.btn-red:hover, .btn-red:focus, .btn-red:active, .btn-red.active, .open .dropdown-toggle.btn-red {
    background-color: #E43535;
    color:#ffffff;
}

.btn-primary {
    background-color: #3A3132;
    border-bottom: 1px solid #770A0A;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3;
    border-radius: 3px;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #E43535;
    color:#ffffff;
}

.panel-red {
    border-color: #9b0015;
}

.panel-red > .panel-heading, .panel-danger > .panel-heading {
color: #ffffff;
background-color: #9b0015;
border-color: #9b0015;
}

/*modal*/
.modal-header {
min-height: 16.43px;
padding: 15px;
border-bottom: 1px solid #e5e5e5;
background-color: #9B0015;
color: white;

}
.modal-body {
position: relative;
padding: 15px 21px;
}
.modal-body .form-group {
margin-bottom: 2px;
}
.btn-green {
    background-color:#2ecc71;
    border-bottom:2px solid #27ae60;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color:#ffffff;
}

.btn-green:hover, .btn-green:focus, .btn-green:active, .btn-green.active, .open .dropdown-toggle.btn-green {
    background-color: #27ae60;
    color:#ffffff;
}

.nav > li > a {
    padding: 10px 20px;
}

.nav > li > a:hover,
.nav > li > a:focus {
    background-color: #9B0015;
    color:#fff;
    font-weight: bolder;
}
.navbar-nav {
    float: right;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    background-color: #3A3132;
    color: #fff;
    border-radius: 10px;
    box-shadow: 3px 3px grey;
}


.nav > li > a {
    color: #929292;
}
.navbar-default {
    background-color:#A4A4A2;
    border:none;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: #A4A4A2;
    color:#fff;
    font-weight: bold;
}

.navbar {
    margin-bottom: 0px;
}

.jj-service-item-header {
    margin-left: -10px; 
    padding: 16px 20px 20px; 
    font-weight: bold;
    display: inline-block;
}

.jj-header-red {
    background-color:#9B0015;
    min-width: 298px;
    height: 67px;
    color: #fff; 

}

.team_hr {
    border: 1px solid #fff; 
    width: 39.5%; 
    float: left;
}

.team_hr_left {
    margin-right: 30px;
    margin-left: 15px; 
}

.team_hr_right {
    margin-left: 30px;
}

.hr_gray {
    border: 1px solid #cccccc; 
}

.jj-team {
    background: url('../images/background.png') ; 
    font-family:  'Open Sans', sans-serif;
    min-height:590px;
    color:#ffffff;

}
.jj-line-header {
    margin-top:100px;
    margin-bottom:80px;
}

.member-thumb:hover .thumb-overlay {
    transition: all 0.3s ease-in-out 0s;
    visibility: visible;
    opacity: 1;
}

.member-thumb {
    position: relative;
    overflow: hidden;
}

.member-thumb .thumb-overlay {
    background-color: rgba(220, 157, 102, 0.8);
    position: absolute;
    visibility: hidden;
    padding-top: 35%;
    padding-left: 25%;
    height: 100%;
    width: 100%;
    opacity: 0;
    right: 0;
    top: 0;
}

.thumb-overlay a {
    float:left;
    margin-right: 5px;
}



.team-inner {
    margin-top:10px;
}

.team-inner-header {
    font-family: 'Open Sans', sans-serif;
    font-weight:600;
    font-size:16px;
}

.team-inner-subtext {
    font-weight:normal;
    font-size:12px;
}

.row_team {
    margin-left:-50px;
    margin-top:70px;
}

.row_team li {
    list-style: none;
}

.jj-project-box {
    background-size: cover;
    position: relative;
    overflow: hidden;
    cursor:pointer;
    height: 200px;
    width: 200px;
}

.jj-project-box:hover .project-overlay {
    transition: all 0.3s ease-in-out 0s;
    visibility: visible;
    opacity: 1;
}

.project-overlay {
    background : rgba(0,0,0,.75);
    border : 2px solid #9B0015;
    visibility: hidden;
    position: absolute;
    text-align:center;
    padding-top:40px;
    color: #ffffff;
    height: 100%;
    width: 100%;
    opacity: 0;
    right: 0;
    top: 0;
}


.project-overlay hr {
    width : 70%;
	
}

.jj-project-gallery li {
    margin:15px;
}

.txt_darkgrey {
    color: #333333;
}

.txt_red {
    color: #bf3108;
}

.txt_red_bold {
    color: #bf3108;
    font-weight: bolder;
}

.txt_slogan {
    font-size:14px; 
    color:#fff;
}

.jj-line-header span {
    font-size: 18px; 
    float :left; 
    margin-top: 10px;
}

.team_box  div {
    text-align: center; 
    padding-top: 100px;
}S

.span_blog {
    margin-bottom: 80px;
}

.blog_post {
    color: #333333; 
    padding: 10px;
}

.blog_header {
    font-weight: bold; 
    font-size: 16px; 
}

a.blog_header {
    text-decoration: none;
}

.blog_text {
    text-align: justify; 
    font-size: 14px; 
    margin-top: 20px;
}

.blog-img {
    max-height: 300px;
    overflow: hidden;
}

.blog_date {
    float: right;
    font-size: xx-small;
}

.comments {
    list-style:  none;
    padding: 10px;

}

.comments li {
    background-image: linear-gradient(to bottom, #F5F5F5 0px, #E8E8E8 100%);
    background-repeat: repeat-x;
    border: thin solid #C0C0C0;    
    margin-bottom: 15px;
    border-radius: 5px;    
    font-style: oblique;
    padding: 15px;
}

#jj-contact {
	margin-top:100px; 
	border-top: 1px solid #cccccc; 
	font-size:14px;
}
.jj-contact-map {
    margin-bottom: 15px;
    height: 378px;

}

.head_contact {
    padding-bottom:80px; 
    margin-bottom:0;
}

.contact_right img {
	margin-right:5px;
}

.contact_right form {
	padding-left:15px;
	padding-right:15px
}

.tweet_txt {
	border-left:2px solid #ffffff; 
	min-height:160px;
}

.twitter_user {
	color: #FFFF33; 
	font-size: 14px;
	float: right;
}

.jj-partners {
	border-top: 2px solid #cccccc;
}

.jj-partners .jj-partner-item {
    margin-bottom: 5px;
}

.jj-footer {
/*	border-top: 2px solid #cccccc; 
	margin-top: 100px;*/
}

.footer_container {
	margin-top:30px; 
	margin-bottom:20px;
}

.footer_bottom_content {
	margin: auto;
	margin-bottom: 30px;
	font-size: 14px;
	color:#333333;
}

.social-icon-fb {
    background: url('../images/facebook.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-fb {
    background: url('../images/facebook_r.png') no-repeat;
}

.social-icon-g {
    background: url('../images/google.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-g {
    background: url('../images/google_r.png') no-repeat;
}

.social-icon-twitter {
    background: url('../images/twitter.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-twitter {
    background: url('../images/twitter_r.png') no-repeat;
}

.social-icon-linkedin {
    background: url('../images/linkedin.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-linkedin {
    background: url('../images/linkedin_r.png') no-repeat;
}

.social-icon-dribbble {
    background: url('../images/social-icon-dribbble.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-dribbble {
    background: url('../images/social-icon-dribbble-over.png') no-repeat;
}

ul.jj-project-gallery  li  a img:hover {
    border: 3px solid #9B0015;
}

.jj-gallery-category a {
	color:#333333; 
}

.jj-gallery-category a.active {
	color:#e67e22; 
	text-decoration:none;
}

.jj-gallery-category a:focus {
	color:#e67e22;
	text-decoration:none;	
}

.jj-gallery-category a:hover {
	color:#e67e22; 
	text-decoration:none;
}

.link_red:hover {
    text-decoration:none;
}
.jj-project-gallery {         
    margin:0 0 0 0;
    margin-top:30px;
    margin-left: -40px;
}
.jj-project-gallery li {     
    list-style:none;
    margin-bottom:25px;           
}
.jj-project-gallery li img {
  cursor: pointer;
}

.jj-tweets {
    background-color: #8996a0;
    min-height:200px;
    font-family:  'Open Sans', sans-serif;
    font-size:20px;
    color:#ffffff;
    margin-top:100px;
}

.form-control {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-style: italic;
}

.form-login {
  max-width: 430px;
  padding: 15px;
  margin: 0 auto;
}

.btn_loadmore {
	margin-top:30px; 
	margin-bottom:80px;
}

.blog_box {
	margin-left: -12px;
}

.modal-content {
    max-height: 500px;
    overflow-y: scroll;
}

#muestra, #img_muestra, .img_muestra {
    max-height: 100px;
    margin: 0 auto;
}

@media (min-width:991px) and (max-width:1200px) {
    .jj-project-box, .project-overlay {
        height:170px;
        width:170px;
    }

    .jj-project-gallery {
        margin-left: -70px;
    }

    .jj-service-item-header {
        padding: 16px 10px 20px;
    }

    .jj-header-red {
        min-width: 230px;
    }

    .team_box,  .team_box_over {
        height:220px;
        width:220px;
    }
	

}


@media (max-width:991px) {
    .team-inner {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .jj-btn-read-more {
        float:right;
        margin-bottom :40px; 
    }
}


@media (min-width:768px) and (max-width:990px) {
    .member-thumb .thumb-overlay {
        padding-left: 30%;
    }
    .jj-project-box , .project-overlay {
       height:130px;
       width:130px;
       padding-top: 0px;
    }

    .jj-project-gallery {
       margin-left: 10px; 
    }

    .blog_box{
       margin-right: -140px;
    }
}


@media (min-width: 768px) {
  .navbar-nav > li > a {
    padding-top: 9px;
    padding-bottom: 9px;
  } 
}

@media (max-width: 768px) {
    .member-thumb .thumb-overlay {
        padding-left: 40%;
       
    }
    .jj-btn-read-more {
            float:right;
            margin-bottom :40px; 
      }
}

@media (max-width: 380px) {
    .member-thumb .thumb-overlay {
            padding-left: 30%;

    }
    .jj-service-item-header {
        font-size: 16px;
        
        padding: 23px 10px 22px;
    }
    .jj-header-red {
        min-width: 0px;
    }
    
}

@media (min-width:991px) and (max-width: 1200px) {
     .team_hr {
        width: 37%; 
    }
}

@media (min-width:683px) and ( max-width: 991px) {
     .team_hr {
        width: 33%;
    }
}

@media (min-width:585px) and ( max-width: 683px) {
        .member-thumb .thumb-overlay {
            padding-left: 25%;

        }
     .team_hr {
        width: 30%;
    }
}

@media (min-width:536px) and ( max-width: 585px) {
     .team_hr {
        width: 28%;
    }
}

@media  (min-width:410px) and  ( max-width: 536px) {
     .team_hr {
        width: 21%;
    }
}

@media  ( max-width: 410px) {
     .team_hr {
        width: 11%;
    }
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
color: #FFFFFF;
cursor: default;
background-color: #9B0015;
border: 1px solid #ddd;
border-bottom-color: transparent;
font-weight: bolder;
font-size: initial;
}

.nav-tabs>li>a {
    background: lightgray;
    color: black;
}

.tab-pane {
    margin-top: 5px;
}


.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #F7F6F0;
    background-color: rgb(155, 0, 21);
    font-weight: bold;
    font-style: oblique;
}

/* ----------- paginacion ------------ */

.pagination {
    margin-top: 40px;
}

.pagination ul li{
    background-image: linear-gradient(to bottom, #F5F5F5 0px, #E8E8E8 100%);
    background-repeat: repeat-x;    float: left;
    padding: 10px;
    list-style: none;
    width: auto;
    margin: 1px auto;
    border: 1px solid #ddd;
}
 
.pagination a, .current, .disabled
{
    float: left;
    padding: 0 14px;
    line-height: 11px;
    text-decoration: none;
    /* border: 1px solid #ddd; */
    /* border-left-width: 0; */
    color: #9B0015;
}
 
.pagination span {
    float: left;
    padding: 0px 3px;
    line-height: 11px;
    text-decoration: none;
    border-left-width: 0;
    color: #fff;
}
 
.pagination *:first-child {
  border-left-width: 1px;
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
.pagination *:last-child {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
 
 .pagination ul{
    text-align: center;
    margin-top: -40px;
}