/* OVERRIDE DRUPAL THEME*/

.field-type-text-with-summary {
margin-bottom: 0px;
}

.header2.field.field-name-body.field-type-text-with-summary.field-label-hidden {
    margin-bottom:0px;
}

/* LOCAL CSS */
.search_container{
        padding: 10px;
        text-align: center;
}
.search_container input[type=text], select{
        border-radius: 5px;
        border-radius: 5px;
        font-size:12px;
        padding: 5px;
        background-color: #E9EFF1;
        border: none;
        width: 150px;
}
#techsearchid{
        width: 60% !important;
}
.search_container input[type=button]{
        border: 0;
        border-radius: 5px;
        background-color: rgb(0, 156, 205);
        height:27px;
        padding:0px 15px 0px 15px;
        text-align:center;
        text-transform: uppercase;
        color:#ffffff;
        font-size:13px;
        font-weight: 300;
        width: 30% !important;
}
.content_container{
        background-color: white;
        padding: 40px;
}
.content_container h1{
        color: rgb(0, 156, 205);
        text-transform: uppercase;
        font-size: 28px !important;
}
.content_container input[type=text], .content_container select{
        border-radius: 5px;
        border-radius: 5px;
        font-size:12px;
        padding: 5px;
        background-color: #E9EFF1;
        border: none;
}
.content_container input[type=button]{
        border: 0;
        border-radius: 5px;
        background-color: rgb(0, 156, 205);
        height:27px;
        padding:0px 15px 0px 15px;
        text-align:center;
        text-transform: uppercase;
        color:#ffffff;
        font-size:13px;
        font-weight: 300;
}
.content_container span{
        font-family: Arial, helvetica, "sans serif" !important;
}
.content_footer{
        margin-top: 40px;
        padding-top: 20px;
}
.well-tbdo{
        border-radius: 10px;
        padding: 20px;
        height: 340px;
        border: 0;
        overflow:auto;
        background-color: #E9EFF1;
        margin-bottom: 20px;
        font-size: 12px;
}
.well-tbdo small{ display:none; }
.well-tbdo h3{
        margin-top: 0;
        text-align: center;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 20px;
        margin-bottom: 20px;
}
.well-tbdo-mini{
        border-radius: 10px;
        padding: 10px;
        height: 150px;
        border: 0;
        overflow:auto;
        font-size: 12px;
        background-color: #E9EFF1;
        margin-bottom: 20px;
}
.well-tbdo-mini a{ font-size: 12px !important; }
.well-tbdo-mini h3{
        margin-top: 0;
        text-align: center;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 16px;
        margin-bottom: 10px;
        border-bottom: 1px solid white;
}
.c_tp_direct_link{
        border-radius: 10px;
        padding: 10px;
        border: 0;
        background-color: #FFF8A7;
}
.c_content table td[style="width:200px;"]{
        border-left: 4px solid #E9EFF1;
        padding-left: 10px;
}
.c_content table td[style="width:200px;"] b{
        margin-top: 20px;
        display: block;
        font-family: 'Oswald',sans-serif;
        text-transform: uppercase;
}

/* ===== CRG THEME + TB-MEGAMENU ===== */
/* ===== CRG DRUPAL THEME CSS ===== */
/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
   height: 100%; /*margin-top: 56px;*/
}
/*@media (min-width: 768px) {body {margin-top: 96px;}}*/

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}


h1, h2, h3, h4 { font-family: 'Oswald', sans-serif;;}
h1 {font-size: 42px;}

a { color: #189bcf}

.breadcrumb {
  padding: 8px 0px;
  margin: 5px 0;
  background: none;
  font-size: 12px;
}

.btn-primary {
  background-color: #189bcf;
border-color:#1791c1}



/* navbar i dropdown menu */
.navbar .row { margin-left:0px!important; margin-right:0px!important; padding-left:0px!important; padding-right:0px!important}
.navbar {margin-bottom: 0px}
.dropdown-menu {
	min-width: 200px;padding-bottom:10px;      
}

.dropdown-menu.columns-2 {
	min-width: 400px;
    background: rgb(255,255,255); /* Old browsers */
background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(left,  rgba(255,255,255,1) 63%, rgba(244,244,244,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(63%,rgba(255,255,255,1)), color-stop(100%,rgba(244,244,244,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 63%,rgba(244,244,244,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  rgba(255,255,255,1) 63%,rgba(244,244,244,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  rgba(255,255,255,1) 63%,rgba(244,244,244,1) 100%); /* IE10+ */
background: linear-gradient(to right,  rgba(255,255,255,1) 63%,rgba(244,244,244,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f4f4',GradientType=1 ); /* IE6-9 */


}
.dropdown-menu>li>a{ color: #189bcf}

.dropdown-menu li a {
	padding: 5px 15px;
	font-weight: 400;
}
.multi-column-dropdown {
	list-style: none;
    padding-left:4px;
}
.multi-column-dropdown li a {
	display: block;
	clear: both;
	line-height: 1.428571429;
	white-space: normal;
}
.multi-column-dropdown li a:hover {
	text-decoration: none;
	color: #262626;
	background-color: #f5f5f5;
}
 


.navbar-nav { margin-top:8px}
.navbar .container {  padding-left:0px; padding-right:0px;   padding-bottom: 2px;}
/*.navbar .container {border-bottom: 1px solid #e7e7e7}*/
.navbar-default .navbar-nav>li>a {color: #189bcf;}
.navbar-nav>li>a { padding-top: 5px; padding-bottom: 5px; font-weight: bold; }
.navbar-default { background-color: rgb(255,255,255); min-height: 90px; padding-top: 10px; border:none;
box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important; 
-moz-box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important; 
-webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;
}

.featured p { margin-bottom:0; margin-top:8px; color:#888}

.dropdown-menu .featured {border-left:1px solid #ddd; padding-left:20px}
.dropdown-menu .featured li  a {
	padding: 3px 0px ; font-size:12px; font-weight: normal; 	color: #888;
}
.featured.multi-column-dropdown li a:hover {
	text-decoration: underline;
	color: #23527c;
	background: none;
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
background: none
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {background: none}


.link-web { font-size: 12px}




.img1,
.img2,
.img3,
.img4 {
	float:left !important;
}

.text_img1
{
    text-align: center;
    margin-top: 20px;
	margin-bottom: 50px;

}

.text_img2,
.text_img3,
.text_img4 {
    text-align: center;
    margin-top: 10px;
	margin-bottom: 50px;
}


/***************************/

@media (max-width: 767px) {
	.dropdown-menu.multi-column {
		min-width: 240px !important;
		overflow-x: hidden;
	}
    .featured li { display: inline-block; padding-right: 10px;}
    .dropdown-menu .featured { border-left: none}
    .dropdown-menu.columns-2, .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover { background: none}
    .navbar-default .navbar-nav .open .dropdown-menu>li>a {color: #189bcf;}
    .navbar-default .navbar-collapse {margin-top: 10px;}
}


@media (min-width: 768px) {
ul.nav li.dropdown:hover ul.dropdown-menu {
            display: block;
        }
}


/* Home Page Carousel */

@media(min-width:1800px){
  .carousel-inner .item { /*max-width:1800px;  margin-left:10%; margin-right:10%; */}
  #views-bootstrap-carousel-2 .carousel-inner .item {max-width:1800px; margin-left:0px !important; margin-right:0px !important; } 
 
}

#views-bootstrap-carousel-2 {
    height: 150px !important;
}

#views-bootstrap-carousel-2 h4 {
	margin-top: 5px !important;
}

.carousel-control { width: 8%;}
.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
  display: block;
  width: 100%;
  height: auto;
}

.carousel-caption { 
    text-align: left;
    right: 10%;
    left: 6%;
     width: 35%;
     padding: 20px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
    margin-bottom: 15px;
}
.carousel-caption p em { font-size: 22px;line-height: 27px; font-family: 'Cardo', serif; }
.carousel-caption dl {color: #c4e7f2;  margin-top: 0px;   text-shadow: 0 1px 1px rgba(0,0,0,0.7);}
.carousel-caption dt { text-transform: uppercase}

@media (min-width: 1200px) { .carousel-caption { width: 35%;}.carousel .item {max-height: 550px;}}
@media (max-width: 1199px) { .carousel-caption h1 { font-size: 32px}}

@media(max-width:991px) { 
    .carousel-caption{ display: block; position: inherit; right: 20%; left: 3%; width: 90%;padding-top: 20px; background: none}
    .carousel-inner{ background: rgb(123, 123, 123);}
    .carousel {margin-bottom: 0px}
}

.firma-testimoni {margin-top: 24px}
.carousel-indicators {
  bottom: 0px;
}


.icon-next, .icon-prev {
  font: normal normal normal 50px/1 FontAwesome!important;margin-top: -35px!important;
}

/* Home Page */

#blocs-home { text-align: center!important;   padding: 20px 0; background:#ddd}
#blocs-home .container {background:#fff; padding:30px; border-radius:8px}
#blocs-home .col-md-4 { border-right:1px solid #ddd}
#blocs-home .col-md-4:last-child { border:none}
.news .row {padding-bottom:15px}
.news .row span {color: #888; font-size: 12px}
.news .row h4 {margin-top:6px; margin-bottom:6px; color:rgb(24, 155, 207); line-height: inherit}

.news .row p span {display:block}
.news .row { border-bottom:1px solid #eee; margin:20px 0 0 0}
.news .row:first-child { margin-top:0}
.news .row div {padding-left:0px}
.news a.btn { margin-top:20px}
.news hr { display:none}
.news img {
  width: auto;
}

.front .field-items .even h2{
    padding-bottom: 9px;
    margin: 40px 0 20px;
}
    
@media(max-width:991px) {#blocs-home .col-md-4{ border-right: none; border-bottom:1px solid #ddd; padding-bottom: 20px; margin-bottom: 20px} }


.team { position:relative;}
 
.team .caption {
    position:absolute;
    top:0;
    right:0;
    background:rgba(90, 90, 90, 0.75);
    width:100%;
    height:100%;
    padding:6%;
    display: none;
    text-align:center;
    color:#fff !important;
    z-index:2;
}
.team .caption h4 { font-size:15px}
.team .caption p { font-size:12px}
@media(max-width:321px) { .team .caption h4{ font-size:12px} .team .caption p {  display: none}}


.bab { background:rgb(233, 239, 241)}
.bab #quote-carousel.carousel {   border-bottom:1px solid #dfdfdf;  background:#eee; margin-top: 0px}
.bab h2 { margin:0px!important; padding:10px 28px; border-color: #fff; font-size:24px;  background:rgb(233, 239, 241)}
.bab .carousel  {padding: 15px 10px 15px 30px;}
.bab .carousel p { font-size:12px; line-height:14px}
.bab .carousel .carousel-inner{ min-height:110px}

.bab .carousel-control.left {
  left: 0px;
  top: 0%;
  color: #666;
}
.bab  .carousel-control.right {
  right : -10px!important;
  top: 0%;
  color: #666;
}
.bab .carousel-control { background:inherit; color:#666}
.bab .carousel-indicators { display:none}
.bab .carousel-inner {background:none}



/* Page nivell 1*/

.blue {background: #189bcf; color:#fff;
background: -moz-linear-gradient(top,  rgba(21,135,181,1) 0%, rgba(24,155,207,1) 4%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(21,135,181,1)), color-stop(4%,rgba(24,155,207,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(21,135,181,1) 0%,rgba(24,155,207,1) 4%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(21,135,181,1) 0%,rgba(24,155,207,1) 4%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(21,135,181,1) 0%,rgba(24,155,207,1) 4%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(21,135,181,1) 0%,rgba(24,155,207,1) 4%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1587b5', endColorstr='#189bcf',GradientType=0 ); /* IE6-9 */
}
/*.blue h2, .blue p { color:#fff8a7}
.blue a { color:#fff}
.blue .breadcrumb .active, .breadcrumb>li+li:before { color:#004a71 }*/


.gray {color:#fff;
background: rgb(186,186,186); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(186,186,186,1) 0%, rgba(204,204,204,1) 3%, rgba(237,237,237,1) 86%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(186,186,186,1)), color-stop(3%,rgba(204,204,204,1)), color-stop(86%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(186,186,186,1) 0%,rgba(204,204,204,1) 3%,rgba(237,237,237,1) 86%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(186,186,186,1) 0%,rgba(204,204,204,1) 3%,rgba(237,237,237,1) 86%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(186,186,186,1) 0%,rgba(204,204,204,1) 3%,rgba(237,237,237,1) 86%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(186,186,186,1) 0%,rgba(204,204,204,1) 3%,rgba(237,237,237,1) 86%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bababa', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
}

.gray h2, .gray p { color:#555}
.gray a { }
.gray .breadcrumb .active, .breadcrumb>li+li:before { color:#555 }



/*.width-fondo1 { background-image: url("../img-layout/trama1.jpg");
background-repeat:  no-repeat ; background-size: cover
}
.width-fondo2 { background-image: url("../img-layout/trama2.jpg");
background-repeat:  no-repeat ; background-size: cover
}
.width-fondo3 { background-image: url("../img-layout/trama3.jpg");
background-repeat:  no-repeat ; background-size: cover
}
.width-fondo4 { background-image: url("../img-layout/trama4.jpg");
background-repeat:  no-repeat ; background-size: cover}*/


/*.header {   padding-bottom: 130px; margin-bottom: -100px; padding-top: 20px}
.header2 {  padding-bottom: 20px; margin-bottom: 40px; padding-top: 20px}
.header p, .header2 p  { font-size: 18px}*/

.thumbnail { border-radius: 8px; background:  rgb(233, 239, 241); padding-bottom:20px}
.readmore { font-size: 12px}

.header2 {  padding-bottom: 20px;}

/* Page nivell 2*/

.quadre1, .quadre2 { text-align: center; color: #333; }
.quadre1 { text-transform: uppercase;   margin-bottom: 3px; margin-top: 20px}
.quadre2 { background: rgb(228, 228, 228); border:none}


.alert h4{  font-weight: bold;}
.alert.quadre1 {padding-bottom: 5px}

.subapartats { margin: 40px 0 }
.subapartats .col-md-6, .col-md-8 .subapartats .row {padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid #ddd;}
.subapartats .col-md-6:hover, .col-md-8 .subapartats .row:hover, .galeria-mini:hover { background: #E7F4FA}


.meet div .row {padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid rgb(238, 238, 238)}

.meet div:first-child .row { border:none}   

.panel {margin-top:20px}
.panel-heading h3 {margin-top:10px}
.panel.software img {margin-bottom: 10px}


.tab-s2b { margin: 40px 0 10px}
.s2b-dates {margin-top: 40px}
.s2b-dates th {background:  rgb(217, 237, 247)}


#menuyear {
    margin-top: 30px;
  margin-bottom: 10px;
}

#banner-school .carousel-caption {
    width: auto;
    right: auto;   
    left: auto;
    background: rgba(159, 201, 59, .8);
    border-radius: 0;
    margin-bottom: 60px;
}
@media(max-width:991px) { 
    #banner-school .carousel-caption { display: block; position: inherit;  width: 96%;   padding-top: 20px; background: none; margin-bottom:0px; padding-bottom:0}
    #banner-school .carousel-inner{ background:  rgba(159, 201, 59, .8);}
}

.view-biobusiness-view select.form-control {  margin-top: 24px; min-width: 130px;}


/*================================
     BROWSING
    ============================  */



.browsing .carousel  { margin: 10px 0 0}
/* Control buttons  */
.browsing .carousel-control
{
  background: none;
  color: #dadada;
  font-size: 2.3em;
  text-shadow: none;
}
/* Previous button  */
.browsing .carousel-control.left 
{
  left: -12px; top0%
}
/* Next button  */
.browsing .carousel-control.right 
{
  right: -12px !important;top:0%
}
/* Changes the position of the indicators */
.browsing .carousel-indicators 
{
  right: 50%;
  top: midle;
  bottom: 0px;
  margin-right: -19px;
}

@media (max-width: 991px){
.browsing .carousel-inner {background: none;}
}

.browsing-foto .img-portfolio { margin-bottom:0px; }
.browsing-foto h4 {border:1px solid rgb(221, 221, 221); padding: 8px; margin:0px; font-size:15px; min-height: 60px;}
.front .browsing-foto h4 {border:none;  min-height: inherit;}
@media (min-width: 992px) and (max-width: 1199px) {
  .front .browsing-foto .info-person p { font-size:10px!important; margin-bottom:4px}
} 


.browsing-foto {
    position:relative;
    overflow:hidden;
    margin-bottom: 20px;
}
 
.info-person {
    position:absolute;
    top:0;
    right:0;
    opacity: 0;
    background:rgba(90, 90, 90, 0.75);
    width:100%;
    height:100%;
    padding:6%;
    text-align:center;
    color:#fff !important;
    z-index:2;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.browsing-foto:hover .info-person {
    opacity: 100
}

/*.browsing-foto img { min-height: auto;}
    @media (min-width: 768px){ .browsing-foto img {  min-height:220px }}
    @media (min-width: 992px){ .browsing-foto img {  min-height:132px }}
    @media (min-width: 1200px){ .browsing-foto img { min-height:165px}}*/


.detall-destaca div {  background: rgb(233, 239, 241);  padding: 20px;}
.detall-destaca div h3 {margin-top:0px}
.detall-destaca ul { color: #666;  padding-right: 20px; margin-top: 20px; padding-left: 20px;}
.detall-destaca img { margin-top: 20px;}




/*================================
    TESTIMONIAL STYLES
    ============================  */

.testimonial-def {margin: 0 0 10px; background-color: #d9edf7; padding: 30px;  border-radius: 16px; background-size: cover; background-repeat:no-repeat}

.testimonial-def .text-testimonial {
    font-family: 'Cardo', serif; 
    font-size: 20px;
    line-height: 26px;
    font-style: italic;
    margin-left: 43%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;

    border-radius: 16px;
}
.name-testimonial { margin-left: 10px; padding-left: 10px; font-size:13px }
.name-testimonial dt { text-transform: uppercase}

@media(max-width:767px) {
  .testimonial-def .text-testimonial {margin-left: 0; display:block; margin-top:40%;  padding:20px; }
  .testimonial-def { padding:10px ; }
}
@media(max-width:480px) {
  .testimonial-def .text-testimonial {margin-left: 0; display:block; margin-top:40%; background:#d9edf7; padding:20px; }
  .testimonial-def { padding:10px ; background-size:150% }
}


/*old
 .testimonial-section {
    width: 100%;
    height: auto;
    padding: 35px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    border: 1px solid #ccc;
    font-family: 'Cardo', serif; 
    font-size: 22px;
    line-height: 32px;
    font-style: italic;
    margin: 0;
    background: rgb(255, 248, 167);
}
.testimonial-section:after {
    top: 100%;
    right: 20%;
    border: solid transparent;
    content: " ";
    position: absolute;
    border-top-color: #ccc;
    border-width: 15px;
    margin-left: -15px;
}

.testimonial-section-name {
    margin-top: 30px;
    margin-right: 15%;
    text-align:right;
    color:#000;
    
}
    .testimonial-section-name img {
        max-width:100px;
        border: 1px solid #ccc;
          margin-left: 15px;
    }

.testimonial-section-name dl {  display: inline-block;}
.testimonial-section-name dt { text-transform: uppercase}

.carousel-indicators-set {
    position:static;
    margin-left:0px;
    width:100%;
}

*/


/*================================
    INFOBOX STYLES
    ============================  */

.infobox-def {margin: 0 0 10px; background-color: #d9edf7; padding: 30px; border-radius:16px; font-size:16px}

.infobox-def .text-infobox {margin-left: 45px;}
.infobox-def .glyphicon {
    position: relative;
    top: -7px;
    left: -10px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 34px;
    color: rgb(24, 155, 207);
    background-color: rgb(255, 255, 255);
    border-radius: 16px;
    float: left;
}

/*old*/
.infobox {margin: 40px 0 10px;}
.infobox p {padding:20px}

.bg-info {
  background-color: #d9edf7;
}
.bg-warning {
  background-color: #fcf8e3;
}
.bg-success {
  background-color: #dff0d8;
}




/*================================
    quadre esquema start-up
    ============================  */

.quadre-startup .quadre2 {  min-height:350px; }
.quadre-startup .quadre2 p { margin-bottom:16px; font-size:14px; padding:0 8px}
.quadre-startup .quadre-fletxa{   position:absolute; bottom: 18%; left: 12%; right: 30%; padding: 12px 0px; color: #189bcf }
.quadre-startup .quadre-fletxa p { margin-bottom:0px; font-size: 13px; margin-left:4px; }

/*old  */
/*
.quadre-startup  { }
.quadre-startup .quadre-text{ font-size:12px; background-color: rgb(233, 239, 241); padding: 8px;  border-radius: 8px; margin-bottom: 20px; min-height:350px; text-align: center; border: 1px solid #C0D6E4;}
.quadre-startup .quadre-fletxa{ font-size: 11px;  position:absolute; bottom: 18%; left: 16%; right: 34%;     padding: 10px 18px;color: #189bcf }
.quadre-startup h3 {font-size: 18px;margin-top: 10px;border-bottom: 1px solid #ccc;padding-bottom: 10px;margin-bottom: 18px; }
 */

@media(max-width:480px) {
  .quadre-startup .quadre-fletxa { position:relative; left:5px; padding:5px; margin-right:40%; margin-top:50px; margin-bottom:20px}
}


.arrow_box {
	position: relative;
	background: rgb(255, 255, 255);
	
}
.arrow_box:after, .arrow_box:before {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
	border-color: rgba(136, 183, 213, 0);
	border-left-color: rgb(255, 255, 255);
	border-width: 40px;
	margin-top: -40px;
}
.arrow_box:before {
	border-color: rgba(194, 225, 245, 0);
	border-left-color:  rgb(255, 255, 255);
	border-width: 40px;
	margin-top: -40px;
}


.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 8px;
    padding-left: 8px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
.col-sm-5ths {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}





/*================================
    specialled services
    ============================*/


/* versiÃ³ 01 ////////////// */
/*
.specialized-services { margin-top: 20px}
.specialized-services .bs-callout {
    padding: 20px 20px 5px;
    margin: 10px 0;
    border: 1px solid #eee;
    border-left-width: 10px;
    border-radius: 3px;
    min-height:90px;
    background: rgba(254,254,254,1);
    background: -moz-linear-gradient(-45deg, rgba(254,254,254,1) 0%, rgba(245,245,245,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(254,254,254,1)), color-stop(100%, rgba(245,245,245,1)));
    background: -webkit-linear-gradient(-45deg, rgba(254,254,254,1) 0%, rgba(245,245,245,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(254,254,254,1) 0%, rgba(245,245,245,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(254,254,254,1) 0%, rgba(245,245,245,1) 100%);
    background: linear-gradient(135deg, rgba(254,254,254,1) 0%, rgba(245,245,245,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#f5f5f5', GradientType=1 );
  }

.specialized-services .bs-callout:hover { background:#E7F4FA; border-left-color: #189BCF;}



/* versiÃ³ 02 ////////////// */
/*
.specialized-services { margin-top: 20px}
.specialized-services .bs-callout {
    padding: 20px 36px 5px;
    margin: 6px 0px;
    border: 1px solid #bce8f1; 
    border-radius: 8px;
    min-height: 94px;  
    background-color: #d9edf7;
}

.specialized-services .bs-callout:hover {
    background: #EDF2F5;
    border-color: #DDE7EC;
}
.specialized-services .bs-callout h4{ text-transform:uppercase; text-align:center; color: #2d6987; line-height: 22px;} 

*/

/* versiÃ³ 03 ////////////// */

specialized-services { margin-top: 20px}
.specialized-services .bs-callout {
    padding: 26px 36px 5px 100px;
    margin: 6px 0px;
    border-radius: 8px;
    min-height: 100px;  
    border: 1px solid #DDE7EC; 
    background: #EDF2F5;
    background-repeat:  no-repeat ;  
    background-position: 10px 10px;
}

.specialized-services .bs-callout:hover {
    background: #d9edf7;
    border-color: #bce8f1 ;
    background-repeat:  no-repeat ;  
    background-position: 10px 10px;
}
.specialized-services .bs-callout h4{  color: #079ACF; line-height: 22px;} 





/* specialled services detall */

.specialized-services-detall h1 {}
.specialized-services-detall p, .specialized-services-detall ul, .specialized-services-detall ol { color:#666}
.specialized-services-detall h3  { text-transform:uppercase; font-size: 18px; border-bottom: 2px solid #7DBEE0; padding-bottom: 6px; margin-bottom:10px; margin-top:30px}
.specialized-services-detall .more-info {  border-top: 1px solid #F5F5F5;padding-top: 10px; margin-top: 20px;}

.specialized-services-detall .head-unit {padding: 20px; border: 1px solid #DDE8EB;border-top: none; margin-top: -10px;
 background: rgba(254,254,254,1);
    background: -moz-linear-gradient(-45deg, rgba(254,254,254,1) 0%, rgba(245,245,245,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(254,254,254,1)), color-stop(100%, rgba(245,245,245,1)));
    background: -webkit-linear-gradient(-45deg, rgba(254,254,254,1) 0%, rgba(245,245,245,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(254,254,254,1) 0%, rgba(245,245,245,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(254,254,254,1) 0%, rgba(245,245,245,1) 100%);
    background: linear-gradient(135deg, rgba(254,254,254,1) 0%, rgba(245,245,245,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#f5f5f5', GradientType=1 );
}


/*================================
    IMG GALLERY
    ============================  */

.galeria-mini {padding:15px;
  border-top: 1px solid #ddd;
margin-top: 40px; margin-bottom:30px}

.galeria-mini .carousel { text-align:center;background:#000;}
.galeria-mini .carousel img { height:200px!important; width:auto!important; display:inline-block}

.gallery-img #views-bootstrap-thumbnail-1 { padding-left:0px; padding-right;0px}
.gallery-img .thumbnail { height: 280px; background: rgb(233, 239, 241); }
.gallery-img .thumbnail.img-detall { height: auto!important; background: #000 }

.gallery-img .thumbnail .contenidor-img { text-align: center; background: #000;}
.gallery-img .thumbnail .caption {position: absolute;  top: 160px;padding: 10px 20px 0 10px;}
.gallery-img .thumbnail img { max-height: 150px; width: auto; display:inline-block}
.gallery-img .thumbnail.img-detall img { max-height: 500px; width: auto; display:inline-block}

.caption-detall span { color:#999; text-decoration:underline; text-transform:uppercase; font-size:0.8em}
.caption-detall button { margin-top: 20px}

.gallery-img .thumbnail .caption p { color: #666; margin-bottom: 0; text-align: left;}
.gallery-img .thumbnail .caption h4 {  margin-top: 5px; text-align: left}
a.thumbnail.active, a.thumbnail:focus, a.thumbnail:hover  { background: #fff7aa; border-color: #ddd}

.form-gallery-img{  padding: 20px; }
.form-gallery-img li.active a {color: #000} 
.filtres-form-img  { margin-bottom: 30px}

.page-industry-and-investors-licensing-images .views-exposed-form .views-exposed-widget, 
.page-industry-and-investors-licensing-images-favourites .views-exposed-form .views-exposed-widget,
.page-industry-and-investors-licensing-images-newest .views-exposed-form .views-exposed-widget {width: 45%;}

.page-industry-and-investors-licensing-images .views-exposed-form .views-exposed-widget.views-submit-button, 
.page-industry-and-investors-licensing-images-favourites .views-exposed-form .views-exposed-widget.views-submit-button,
.page-industry-and-investors-licensing-images-newest .views-exposed-form .views-exposed-widget.views-submit-button{  width: 4%;}


@media(max-width:767px) {
    .filtres-form-img input {margin-bottom: 10px}
    .page-industry-and-investors-licensing-images .views-exposed-form .views-exposed-widget, 
.page-industry-and-investors-licensing-images-favourites .views-exposed-form .views-exposed-widget,
.page-industry-and-investors-licensing-images-newest .views-exposed-form .views-exposed-widget{ width:auto}
}


/* CRG tables */

table.crg-table .info {background-color: #d9edf7!important;}
table.crg-table>thead>tr>th{ border-bottom-color:#999}
.border-blanc { border-bottom-color:#fff!important}
table.crg-table td {text-align:center; font-size:0.9em}
table.crg-table td.info-table { text-align: right; text-transform: uppercase; font-size: 0.8em}
table.crg-table h5 { text-transform:uppercase; color: #999; font-size: 1.2em;}

table.crg-table.cgf td.info { text-align: left}
table.crg-table.cgf td.separa { border-bottom-color:#999!important}
table.crg-table.cgf th {text-align: center}
table.crg-table.cgf th.text-left {text-align: left!important}


/* definicions */


.tab-partnerwidthus { margin: 20px 0}
.tab-partnerwidthus h3 { margin-bottom: 20px}
.dl-horizontal dd { margin-bottom: 10px;}
@media (min-width: 768px) {
    .dl-horizontal dt {
        float: left;
        width: 250px;
        text-overflow: inherit;
        clear: left;
        text-align: right;
        white-space: inherit;
    }
    
    .dl-horizontal dd {
    margin-left: 270px;
}
}



.tab-partnerwidthus ul li:nth-child(4) a, .tab-partnerwidthus ul li:nth-child(4).active a{ color:green}
.tab-partnerwidthus ul li:nth-child(5) a, .tab-partnerwidthus ul li:nth-child(5).active a{ color: #EA6447;}

.tab-partnerwidthus .tab-content{ padding:0; background-color:none}
.tab-partnerwidthus .tab-pane {padding:20px 40px 40px }
.tab-partnerwidthus #specialized, .tab-partnerwidthus ul li:nth-child(4).active a { background:rgb(223, 240, 216); }

.tab-partnerwidthus #strategic, .tab-partnerwidthus ul li:nth-child(5).active a  { background:rgb(255, 239, 227) }



/* llistes especials */

ol.number-list {  list-style-type: none; padding-left:10px  }
ol.number-list li { padding:6px 0;  counter-increment: step-counter ;
  margin-bottom: 6px; }


ol.number-list li::before {
    content: counter(step-counter);
    counter-style: decimal-leading-zero;
    margin-right: 10px;
    font-size: 80%;
    background-color: rgb(255, 255, 255);
    color: #000;
    font-weight: bold;
    width:30px ; display: inline-block; text-align:center;
    border-radius:18px; padding:8px
}

@media(max-width:991px) {
.tab-resources .col-md-6, .tab-resources .col-md-4 { margin-bottom: 30px}
}

/* Footer */

footer, .footer {  margin: 50px 0 0;
  padding: 0px;
  font-size: 13px;
  background: rgb(233, 239, 241);
}
footer .col-sm-2 ul li:first-child, footer .col-sm-2 ul li:first-child a { color:#000; font-weight:bold; text-transform:uppercase; margin-bottom:6px}
footer img { padding-bottom: 8px}
.footer hr { border-color: #fff}


/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}


/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}





/* Adequació per drupal */
#views-bootstrap-thumbnail-1 {text-align: center!important;   padding: 20px 0;}
.front .thumbnail {background:rgb(233, 239, 241); border:none; padding:20px}

#views-bootstrap-thumbnail-1, .region-footer, .node-page .field.field-name-body.field-type-text-with-summary.field-label-hidden .field-items, .node-page-level-2 .field.field-name-body.field-type-text-with-summary.field-label-hidden .field-items, .enquadrat{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}
@media (min-width:768px){#views-bootstrap-thumbnail-1, .region-footer, .node-page .field.field-name-body.field-type-text-with-summary.field-label-hidden .field-items, .node-page-level-2 .field.field-name-body.field-type-text-with-summary.field-label-hidden .field-items, .breadcrumb, .enquadrat{width:750px}}
@media (min-width:992px){#views-bootstrap-thumbnail-1, .region-footer, .node-page .field.field-name-body.field-type-text-with-summary.field-label-hidden .field-items, .node-page-level-2 .field.field-name-body.field-type-text-with-summary.field-label-hidden .field-items, .breadcrumb, .enquadrat{width:970px}}
@media (min-width:1200px){#views-bootstrap-thumbnail-1, .region-footer, .node-page .field.field-name-body.field-type-text-with-summary.field-label-hidden .field-items, .node-page-level-2 .field.field-name-body.field-type-text-with-summary.field-label-hidden .field-items, .breadcrumb, .enquadrat{width:1170px}}

.enquadrat { margin-top:40px; margin-bottom:20px;}

.node-page .field.field-name-body.field-type-text-with-summary.field-label-hidden {
  padding-bottom: 130px;
  margin-bottom: -100px;
  background-color: #ddd;
  padding-top: 20px;
}


/* igualar alçades capses thumbnails i botons */

@media(min-width:992px){
    .front .view-grills .row .col-md-4 {display:table;  height:550px!important;  } 
    .front #views-bootstrap-thumbnail-1 a.btn{
      position: absolute;
      bottom: 28px;
      left: 35%;
      right: 35%;}
    
      #views-bootstrap-thumbnail-1 .col-md-3 a.btn{
      position: absolute;
      bottom: 28px;
      left: 30%;
      right: 30%;
      }
    #views-bootstrap-thumbnail-1 .col-md-4 a.btn{
      position: absolute;
      bottom: 28px;
      left: 33%;
      right: 33%;
      }
    
    
}
@media(min-width:1200px){
    
    .front #views-bootstrap-thumbnail-1  a.btn{
      left: 37%;
      right: 37%;}
    
      #views-bootstrap-thumbnail-1 .col-md-3 a.btn{
      left: 33%;
      right: 33%;
      }
    
     #views-bootstrap-thumbnail-1 .col-md-4 a.btn{    
      left: 36%;
      right: 36%;
      }
    
}

@media (min-width: 992px){
    .page-node .view-grills .row .col-md-3 {display:table;  height:550px;  }
    .page-node .view-grills .row .col-md-3 .thumbnail, .page-node .view-grills .row .col-md-4 .thumbnail {display:table-cell; }
    .page-node .view-grills .row .col-md-4 {display:table;  height:490px;  }
}




/* menu */
.tb-megamenu {
  background-color: inherit;  /* border-bottom: 1px solid rgb(231, 231, 231);*/
  margin-top: 0px;
}



.tb-megamenu .nav > li > a {
  border-right: none;
  border-top: 0;
  color: rgb(136, 136, 136);
  font-weight: normal;
padding: 10px 20px 10px 0;
  text-shadow: none;
  text-transform:uppercase
}
.tb-megamenu .nav li.dropdown.active > .dropdown-toggle, .tb-megamenu .nav li.dropdown.open.active > .dropdown-toggle {
  background: none;
  border: none;
  color: #000;
}

@media (max-width: 738px) {
  .tb-megamenu .nav-collapse .nav li a {
    margin-bottom: 0;
    border-top: none;
  }
}

.tb-megamenu-submenu.dropdown-menu.mega-dropdown-menu.nav-child {
background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(left,  rgba(255,255,255,1) 63%, rgba(244,244,244,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(63%,rgba(255,255,255,1)), color-stop(100%,rgba(244,244,244,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 63%,rgba(244,244,244,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  rgba(255,255,255,1) 63%,rgba(244,244,244,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  rgba(255,255,255,1) 63%,rgba(244,244,244,1) 100%); /* IE10+ */
background: linear-gradient(to right,  rgba(255,255,255,1) 63%,rgba(244,244,244,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f4f4',GradientType=1 ); /* IE6-9 */
    
  border: 1px solid rgb(218, 218, 218);    
}

.tb-megamenu .dropdown-menu li > a{   color: rgb(136, 136, 136);; border:none; }
.tb-megamenu .dropdown-menu li > a:hover{ color: #000; background-color: rgb(233, 239, 241) }
.tb-megamenu .dropdown-menu .level-1 li > a {padding:4px 8px!important}
.tb-megamenu .nav > li.dropdown.open.active > a:hover,
.tb-megamenu .nav > li.dropdown.open.active > a:focus {color: #000;}

.tb-megamenu .dropdown-menu .active > a, .tb-megamenu .dropdown-menu .active > a:hover {background:none; color:#000;}

#tb-megamenu-column-5{
	border-left: 1px solid rgb(221, 221, 221);
}

#tb-megamenu-column-5, #tb-megamenu-column-5 a {color:rgb(136, 136, 136);}
#tb-megamenu-column-5 li {margin-bottom:8px}

@media (max-width: 767px){
    .tb-megamenu .nav-collapse .nav > li > a, .tb-megamenu .nav-collapse .dropdown-menu a {
     
      border-right: none; 
      text-shadow: none;
       -webkit-border-radius: 0;
      -moz-border-radius: 0;
       border-radius: 0; 
      
    }
        .tb-megamenu .nav-collapse .nav > li > a {
        border-bottom: 1px solid #222;
        border-right: none;
        color: #fff;
        text-shadow: none;
       
       
    }
        .tb-megamenu .nav-collapse .nav li a {
        margin-bottom: 0;
        border-top: 1px solid #d9d9d9;
    }
    .tb-megamenu .nav-collapse {  
        background-color: #fff;
        top: inherit;
        margin-top: inherit;
    }
    .tb-megamenu .nav-collapse .nav > li > a, .tb-megamenu .nav-collapse .dropdown-menu a{ color: #999}
    .tb-megamenu .nav-collapse .nav > li > a.dropdown-toggle{ color:#fff}
}


.tb-megamenu .nav > li > a:focus, 
.tb-megamenu .nav > li > a:hover {color: #000;}

.tb-megamenu .nav li.dropdown.open > .dropdown-toggle { color: #000;}
.tb-megamenu .dropdown-menu {padding:2px 0px 2px; border-bottom: none;   border-radius: 4px;}
.block-inner {border-left: 1px solid rgb(221, 221, 221);
  padding-left: 20px;}
.block-inner a { color: rgb(136, 136, 136)!important; }   
.block-inner a:hover { color: #000!important; text-decoration:underline!important}   
.block-inner li a {padding: 3px 0px; font-size: 13px!important;}
.tb-megamenu .dropdown-menu .block-title {margin:8px 0px}   

@media (max-width: 767px){
    .navbar .col-xs-3.text-right{ padding-right: 30px}
    .tb-megamenu .nav-collapse .nav > li,
    .tb-megamenu .nav-collapse .nav > li.active > a,
    .tb-megamenu .nav-collapse .nav > li.active > a:hover, 
    .tb-megamenu .nav-collapse .nav > li.active > a:focus,
    .tb-megamenu .nav-collapse .nav > li a.dropdown-toggle:hover,
    .tb-megamenu .nav-collapse .nav > li.whitetext > a {
        background-color: #189bcf!important;
        color: #fff!important;
    }
}

/*
li.tb-megamenu-item.level-1.mega.whitetext > a {
  color: #fff !important;
}
*/


.page-node-36 .panel-heading { background:rgb(255, 247, 170)}
.page-node-36 .panel-body p{ padding-left:30px; margin-bottom:0px }
.page-node-36 .panel-body h4 { margin-top:30px}
.page-node-36 .panel-body h4:first-child{  margin-top:inherit!important}





.tab-content { padding:20px 30px 30px; background: rgb(230, 230, 230); }
.nav-tabs {margin-bottom:0px}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus {background:rgb(230, 230, 230);}
.nav-tabs>li>a:hover, .nav-tabs> .open>a:hover,  .nav-tabs> .open>a:focus { background-color:#E7F4FA; border-color:rgb(221, 221, 221); }
.nav-tabs>li { text-transform: uppercase}
.nav-tabs>li.active>a:hover{ background-color:#E7F4FA}

.field-name-field-right ul { margin-bottom:40px}
.field-type-text-with-summary {margin-bottom:20px}

.node-page-level-2 .enquadrat {
    margin-top: 10px;
}
.node-page-level-2 h1{
    margin-top: 0px;  padding-bottom: 10px;
}




/* videos embedits */
.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}
.embed-responsive-4by3 {
  padding-bottom: 75%;
}
iframe.embed-responsive-item {padding-bottom:10px!important}

.node-type-page-level-2 .field-name-field-photo img {margin-bottom:30px}






/* ===== TB-MEGAMENU BOOTSTRAP2 GRID ===== */
.tb-megamenu .row-fluid {
  width: 100%;
  *zoom: 1;
}
.tb-megamenu .row-fluid:before,
.tb-megamenu .row-fluid:after {
  display: table;
  content: "";
  line-height: 0;
}
.tb-megamenu .row-fluid:after {
  clear: both;
}
.tb-megamenu .row-fluid [class*="span"] {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  margin-left: 2.127659574468085%;
  *margin-left: 2.074468085106383%;
}
.tb-megamenu .row-fluid [class*="span"]:first-child {
  margin-left: 0;
}
.tb-megamenu .row-fluid .controls-row [class*="span"] + [class*="span"] {
  margin-left: 2.127659574468085%;
}
.tb-megamenu .row-fluid .span12 {
  width: 100%;
  *width: 99.94680851063829%;
}
.tb-megamenu .row-fluid .span11 {
  width: 91.48936170212765%;
  *width: 91.43617021276594%;
}
.tb-megamenu .row-fluid .span10 {
  width: 82.97872340425532%;
  *width: 82.92553191489361%;
}
.tb-megamenu .row-fluid .span9 {
  width: 74.46808510638297%;
  *width: 74.41489361702126%;
}
.tb-megamenu .row-fluid .span8 {
  width: 65.95744680851064%;
  *width: 65.90425531914893%;
}
.tb-megamenu .row-fluid .span7 {
  width: 57.44680851063829%;
  *width: 57.39361702127659%;
}
.tb-megamenu .row-fluid .span6 {
  width: 48.93617021276595%;
  *width: 48.88297872340425%;
}
.tb-megamenu .row-fluid .span5 {
  width: 40.42553191489362%;
  *width: 40.37234042553192%;
}
.tb-megamenu .row-fluid .span4 {
  width: 31.914893617021278%;
  *width: 31.861702127659576%;
}
.tb-megamenu .row-fluid .span3 {
  width: 23.404255319148934%;
  *width: 23.351063829787233%;
}
.tb-megamenu .row-fluid .span2 {
  width: 14.893617021276595%;
  *width: 14.840425531914894%;
}
.tb-megamenu .row-fluid .span1 {
  width: 6.382978723404255%;
  *width: 6.329787234042553%;
}
.tb-megamenu .row-fluid .offset12 {
  margin-left: 104.25531914893617%;
  *margin-left: 104.14893617021275%;
}
.tb-megamenu .row-fluid .offset12:first-child {
  margin-left: 102.12765957446808%;
  *margin-left: 102.02127659574467%;
}
.tb-megamenu .row-fluid .offset11 {
  margin-left: 95.74468085106382%;
  *margin-left: 95.6382978723404%;
}
.tb-megamenu .row-fluid .offset11:first-child {
  margin-left: 93.61702127659574%;
  *margin-left: 93.51063829787232%;
}
.tb-megamenu .row-fluid .offset10 {
  margin-left: 87.23404255319149%;
  *margin-left: 87.12765957446807%;
}
.tb-megamenu .row-fluid .offset10:first-child {
  margin-left: 85.1063829787234%;
  *margin-left: 84.99999999999999%;
}
.tb-megamenu .row-fluid .offset9 {
  margin-left: 78.72340425531914%;
  *margin-left: 78.61702127659572%;
}
.tb-megamenu .row-fluid .offset9:first-child {
  margin-left: 76.59574468085106%;
  *margin-left: 76.48936170212764%;
}
.tb-megamenu .row-fluid .offset8 {
  margin-left: 70.2127659574468%;
  *margin-left: 70.10638297872339%;
}
.tb-megamenu .row-fluid .offset8:first-child {
  margin-left: 68.08510638297872%;
  *margin-left: 67.9787234042553%;
}
.tb-megamenu .row-fluid .offset7 {
  margin-left: 61.70212765957446%;
  *margin-left: 61.59574468085106%;
}
.tb-megamenu .row-fluid .offset7:first-child {
  margin-left: 59.574468085106375%;
  *margin-left: 59.46808510638297%;
}
.tb-megamenu .row-fluid .offset6 {
  margin-left: 53.191489361702125%;
  *margin-left: 53.085106382978715%;
}
.tb-megamenu .row-fluid .offset6:first-child {
  margin-left: 51.063829787234035%;
  *margin-left: 50.95744680851063%;
}
.tb-megamenu .row-fluid .offset5 {
  margin-left: 44.68085106382979%;
  *margin-left: 44.57446808510638%;
}
.tb-megamenu .row-fluid .offset5:first-child {
  margin-left: 42.5531914893617%;
  *margin-left: 42.4468085106383%;
}
.tb-megamenu .row-fluid .offset4 {
  margin-left: 36.170212765957444%;
  *margin-left: 36.06382978723405%;
}
.tb-megamenu .row-fluid .offset4:first-child {
  margin-left: 34.04255319148936%;
  *margin-left: 33.93617021276596%;
}

/* ===== TB-MEGAMENU CORE ===== */
/* Core */

.tb-megamenu{
  position: relative;
}
.tb-megamenu .nav,
.tb-megamenu .tb-block ul, .tb-megamenu .tb-block .nav {
  padding: 0;
}
.tb-megamenu .tb-block ul li, .tb-megamenu .tb-block .nav li {
  list-style: none;
}
.tb-megamenu .block-view-demo .item-list ul li{
  border-bottom:1px solid #444;
}
.tb-megamenu .dropdown-submenu:hover .dropdown-menu{
  display:none;
}
@media (max-width: 767px) {
  .tb-megamenu .nav-collapse .dropdown-menu .views-field-field-image a{
    border-top:0 none;
  }
  #user-login-form .item-list li a{
    border:0 none;
  }
  .tb-megamenu .nav-collapse, .tb-megamenu .nav-collapse.collapse{
    z-index: 999;
  }
  .tb-megamenu .dropdown-menu {
    border-radius: unset !important;
  }
}
/* End Core */-e 

/* ===== TP STANDALONE FIXES ===== */
/* ===== TP FIXES v7 ===== */

/* Hero text always white */
.header2 h1,
.header2 h2,
.header2 h3,
.header2 p,
.header2 a,
.header2 a:link,
.header2 a:visited,
.header2 a:hover,
.header2 a:active {
  color: #fff !important;
  text-shadow: .5px .5px rgb(0, 0, 0) !important;
}

/* Desktop header/menu from 768px up */
@media (min-width: 768px) {
  .navbar-toggle,
  .btn.btn-navbar.tb-megamenu-button {
    display: none !important;
  }

  .navbar a.hidden-xs {
    display: inline-block !important;
  }

  .link-web {
    display: none !important;
  }

  .tb-megamenu .nav-collapse,
  .tb-megamenu .nav-collapse.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
  }

  .tb-megamenu .tb-megamenu-nav.nav.level-0,
  .tb-megamenu .nav.level-0 {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    margin: 0 !important;
  }

  .tb-megamenu .tb-megamenu-nav.level-0 > li,
  .tb-megamenu .nav.level-0 > li {
    float: none !important;
    width: auto !important;
    background: transparent !important;
  }

  .tb-megamenu .tb-megamenu-nav.level-0 > li > a,
  .tb-megamenu .nav.level-0 > li > a,
  .tb-megamenu .nav-collapse .nav > li > a.dropdown-toggle {
    background: transparent !important;
    color: rgb(136, 136, 136) !important;
    white-space: nowrap !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .tb-megamenu .tb-megamenu-nav.level-0 > li.active > a,
  .tb-megamenu .tb-megamenu-nav.level-0 > li.active > a:hover,
  .tb-megamenu .tb-megamenu-nav.level-0 > li.active > a:focus,
  .tb-megamenu .tb-megamenu-nav.level-0 > li.open > a,
  .tb-megamenu .tb-megamenu-nav.level-0 > li.open > a:hover,
  .tb-megamenu .tb-megamenu-nav.level-0 > li.open > a:focus,
  .tb-megamenu .nav.level-0 > li.active > a,
  .tb-megamenu .nav.level-0 > li.active > a:hover,
  .tb-megamenu .nav.level-0 > li.active > a:focus,
  .tb-megamenu .nav.level-0 > li.open > a,
  .tb-megamenu .nav.level-0 > li.open > a:hover,
  .tb-megamenu .nav.level-0 > li.open > a:focus {
    background: transparent !important;
    color: #000 !important;
  }
}

/* Mobile menu only */
@media (max-width: 767px) {
  .navbar-toggle,
  .btn.btn-navbar.tb-megamenu-button {
    display: block !important;
  }
}
/* ===== FIX DEFINITIVO TP MENU + HERO ===== */

.header2 h1,
.header2 h2,
.header2 h3,
.header2 p,
.header2 a,
.header2 a:link,
.header2 a:visited,
.header2 a:hover,
.header2 a:active {
  color: #fff !important;
  text-shadow: .5px .5px rgb(0, 0, 0) !important;
}

/* Desktop real desde 768px */
@media (min-width: 768px) {
  .navbar-toggle,
  .tb-megamenu .btn-navbar {
    display: none !important;
  }

  .tb-megamenu .nav-collapse,
  .tb-megamenu .nav-collapse.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    position: static !important;
    background: transparent !important;
  }
}

/* Mobile real solo hasta 767px */
@media (max-width: 767px) {
  .tb-megamenu .btn-navbar,
  .navbar-toggle {
    display: block !important;
  }


  .navbar {
    position: relative !important;
  }

  .tb-megamenu .nav-collapse,
  .tb-megamenu .nav-collapse.collapse,
  .tb-megamenu .nav-collapse.in {
    background: #fff !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
  }
.tb-megamenu .mega-inner {
    padding: 10px 20px;
}

  /* Section headers: full-width blue bar — matches bootstrap.css mobile rule */
  .tb-megamenu .nav-collapse .nav > li > a {
    background: #189bcf !important;
    color: #fff !important;
   /* border: 0 !important;*/
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: 14px !important;
    padding: 9px 15px !important;
    display: block !important;
  }

  .tb-megamenu .nav-collapse .dropdown-menu,
  .tb-megamenu .nav-collapse .mega-dropdown-menu,
  .tb-megamenu .nav-collapse .tb-megamenu-submenu {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Sub-items — padding 9px 15px matches tb-megamenu bootstrap.css mobile rule */
  .tb-megamenu .nav-collapse .dropdown-menu a,
  .tb-megamenu .nav-collapse .dropdown-menu a:link,
  .tb-megamenu .nav-collapse .dropdown-menu a:visited,
  .tb-megamenu .nav-collapse .mega-nav > li > a,
  .tb-megamenu .nav-collapse .mega-nav > li > a:link,
  .tb-megamenu .nav-collapse .mega-nav > li > a:visited,
  .tb-megamenu .nav-collapse .tb-megamenu-subnav > li > a,
  .tb-megamenu .nav-collapse .tb-megamenu-subnav > li > a:link,
  .tb-megamenu .nav-collapse .tb-megamenu-subnav > li > a:visited {
    color: #999 !important;
    background: #fff !important;
    border-top: 1px solid #e5e5e5 !important;
    padding: 4px 8px !important;
    margin-left: 20px !important;
    white-space: normal !important;
    display: block !important;
    font-size: 14px !important;
  }

  .tb-megamenu .nav-collapse .dropdown-menu a:hover,
  .tb-megamenu .nav-collapse .mega-nav > li > a:hover,
  .tb-megamenu .nav-collapse .tb-megamenu-subnav > li > a:hover {
    color: #189bcf !important;
    background: #f5f5f5 !important;
  }

  /* Make Bootstrap 2 row-fluid columns stack vertically on mobile */
  .tb-megamenu .row-fluid [class*="span"] {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    display: block !important;
  }

  /* MUST be after row-fluid rule — same specificity (0,3,0) so source order wins */
  .tb-megamenu .row-fluid .hidden-collapse {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Block-inner links (second column Featured items) — keep original styling */
  .tb-megamenu .nav-collapse .dropdown-menu .block-inner {
    border-left: 1px solid rgb(221, 221, 221) !important;
    padding-left: 20px !important;
  }
  .tb-megamenu .nav-collapse .dropdown-menu .block-inner a,
  .tb-megamenu .nav-collapse .dropdown-menu .block-inner a:link,
  .tb-megamenu .nav-collapse .dropdown-menu .block-inner a:visited {
    color: rgb(136, 136, 136) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 9px 15px !important;
    border-top: 1px solid #e5e5e5 !important;
  }
}

/* ===== FINAL TP MENU + HERO OVERRIDES ===== */

/* Keep hero text identical to original */
.header2 h1,
.header2 h2,
.header2 h3,
.header2 p,
.header2 a,
.header2 a:link,
.header2 a:visited,
.header2 a:hover,
.header2 a:active {
  color: #fff !important;
  text-shadow: .5px .5px rgb(0, 0, 0) !important;
}

/* Desktop menu must look like tbdo.crg.eu */
@media (min-width: 768px) {
  .tb-megamenu .nav-collapse,
  .tb-megamenu .nav-collapse.always-show,
  .tb-megamenu .nav-collapse.collapse {
    height: auto !important;
    overflow: visible !important;
    display: block !important;
    position: static !important;
  }

  .tb-megamenu .nav,
  .tb-megamenu .tb-megamenu-nav {
    display: block !important;
  }

  .tb-megamenu .nav > li > a,
  .tb-megamenu .nav > li > a.dropdown-toggle,
  .tb-megamenu .tb-megamenu-nav > li > a,
  .tb-megamenu .tb-megamenu-nav > li > a.dropdown-toggle {
    border-right: none !important;
    border-top: 0 !important;
    color: rgb(136, 136, 136) !important;
    font-weight: 400 !important;
    padding: 10px 20px 10px 0 !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tb-megamenu .nav > li.active > a,
  .tb-megamenu .nav > li.active > a.dropdown-toggle,
  .tb-megamenu .nav > li.open > a,
  .tb-megamenu .nav > li.open > a.dropdown-toggle,
  .tb-megamenu .nav > li > a:hover,
  .tb-megamenu .nav > li > a:focus,
  .tb-megamenu .tb-megamenu-nav > li.active > a,
  .tb-megamenu .tb-megamenu-nav > li.active > a.dropdown-toggle,
  .tb-megamenu .tb-megamenu-nav > li.open > a,
  .tb-megamenu .tb-megamenu-nav > li.open > a.dropdown-toggle,
  .tb-megamenu .tb-megamenu-nav > li > a:hover,
  .tb-megamenu .tb-megamenu-nav > li > a:focus {
    color: #000 !important;
    background: transparent !important;
    border: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }

  .tb-megamenu .nav > li > a .caret,
  .tb-megamenu .tb-megamenu-nav > li > a .caret {
    display: none !important;
  }

  .tb-megamenu .dropdown-menu,
  .tb-megamenu .mega-dropdown-menu,
  .tb-megamenu .tb-megamenu-submenu {
    margin-top: 0 !important;
  }

  .tb-megamenu .dropdown-menu a,
  .tb-megamenu .mega-dropdown-menu a,
  .tb-megamenu .tb-megamenu-subnav > li > a {
    color: #777 !important;
    text-shadow: none !important;
  }

  .tb-megamenu .dropdown-menu a:hover,
  .tb-megamenu .mega-dropdown-menu a:hover,
  .tb-megamenu .tb-megamenu-subnav > li > a:hover {
    color: #0b6fa4 !important;
    background: transparent !important;
  }
}
/* ===== FIX FINAL MENU DESKTOP ===== */
@media (min-width: 768px) {
  .tb-megamenu .nav-collapse,
  .tb-megamenu .nav-collapse.always-show,
  .tb-megamenu .nav-collapse.collapse {
    height: auto !important;
    overflow: visible !important;
    display: block !important;
    position: static !important;
  }

  .tb-megamenu .nav > li > a,
  .tb-megamenu .nav > li > a.dropdown-toggle,
  .tb-megamenu .tb-megamenu-nav > li > a,
  .tb-megamenu .tb-megamenu-nav > li > a.dropdown-toggle,
  .tb-megamenu .navbar .nav > li > a,
  .tb-megamenu .navbar .nav > li > a.dropdown-toggle {
    border-right: none !important;
    border-top: 0 !important;
    color: rgb(136, 136, 136) !important;
    font-weight: 400 !important;
    padding: 10px 20px 10px 0 !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tb-megamenu .nav > li.active > a,
  .tb-megamenu .nav > li.active > a:hover,
  .tb-megamenu .nav > li.active > a:focus,
  .tb-megamenu .nav > li.open > a,
  .tb-megamenu .nav > li.open > a:hover,
  .tb-megamenu .nav > li.open > a:focus,
  .tb-megamenu .tb-megamenu-nav > li.active > a,
  .tb-megamenu .tb-megamenu-nav > li.active > a:hover,
  .tb-megamenu .tb-megamenu-nav > li.active > a:focus,
  .tb-megamenu .tb-megamenu-nav > li.open > a,
  .tb-megamenu .tb-megamenu-nav > li.open > a:hover,
  .tb-megamenu .tb-megamenu-nav > li.open > a:focus,
  .tb-megamenu .navbar .nav > li.active > a,
  .tb-megamenu .navbar .nav > li.open > a {
    color: #000 !important;
    background: transparent !important;
    border: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }

  .tb-megamenu .dropdown-menu li > a,
  .tb-megamenu .tb-megamenu-subnav > li > a,
  .tb-megamenu .mega-dropdown-menu li > a {
    display: block !important;
    color: rgb(136, 136, 136) !important;
    font-weight: 400 !important;
    text-shadow: none !important;
    background: transparent !important;
    padding: 4px 8px !important;
  }

  .tb-megamenu .dropdown-menu li > a:hover,
  .tb-megamenu .tb-megamenu-subnav > li > a:hover,
  .tb-megamenu .mega-dropdown-menu li > a:hover {
    color: #000 !important;
    background: rgb(233, 239, 241) !important;
  }
}

/* ===== HERO TEXT ===== */
.header2 h1,
.header2 h2,
.header2 h3,
.header2 p,
.header2 a,
.header2 a:link,
.header2 a:visited,
.header2 a:hover,
.header2 a:active {
  color: #fff !important;
  text-shadow: .5px .5px rgb(0, 0, 0) !important;
}

/* ===== SKIP LINK HIDDEN ===== */
#skip-link {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

#skip-link a,
#skip-link .element-invisible,
.element-invisible.element-focusable {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

#skip-link a:focus,
#skip-link a:active,
.element-invisible.element-focusable:focus,
.element-invisible.element-focusable:active {
  position: static !important;
  clip: auto !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  white-space: normal !important;
}

/* ===== MOBILE MENU INITIAL STATE ===== */
/* Hide nav on mobile unless Bootstrap has opened it (.in) or is animating (.collapsing) */
@media (max-width: 767px) {
  .tb-megamenu .nav-collapse:not(.in):not(.collapsing) {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

/* ===== TP VISUAL FIXES ===== */

/* Hero gradient — exact match to tbdo.crg.eu computed style */
.header2 {
  background: linear-gradient(to right, rgb(50, 118, 177), rgba(49, 116, 174, 0.51)) !important;
  background-size: cover !important;
  padding-bottom: 20px;
  padding-top: 20px;
  margin-bottom: 0;
}

/* Logo TBDO: 160x101px — same as tbdo.crg.eu */
.navbar .col-xs-9 img {
  height: 101px;
  width: auto;
}

/* Logo CRG: 186x98px — same as tbdo.crg.eu */
.navbar .col-xs-3 img {
  height: 98px;
  width: auto;
}

/* Dropdown submenu bullets — remove list markers */
.tb-megamenu ul,
.tb-megamenu ul li,
.tb-megamenu .mega-nav li,
.tb-megamenu .tb-megamenu-subnav li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}
