/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/*
 * Custom Style Sheet - Use this file to style your content
 */

/* Layout
----------------------------------------------------------------------------------------------------*/

.custom-logo { 
	width: 238px; /*138px*/
	height: 100px;
	background: url(../../../images/lagun-onak-mb/lagun-onak-mendi-bazkuna-logo.jpg) 0 0 no-repeat;
	background-size: contain;
}

.margin-tb-20 { margin: 20px 0; }
.margin-l-40 { margin-left: 40px; }


/* Modules
----------------------------------------------------------------------------------------------------*/

/* Fixing the flickering for -webkit- browsers */
.module { -webkit-backface-visibility: hidden; }


/* Frontpage: Features
----------------------------------------------------------------------------------------------------*/

.frontpage-teaser1 {
	background-image: url(../../../images/lagun-onak-mb/slide/slide-lagun-onak-mb-01.jpg);
	background-position: 0 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.frontpage-teaser2 {
	background-image: url(../../../images/lagun-onak-mb/slide/slide-lagun-onak-mb-02.jpg);
	background-position: 0 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.frontpage-teaser3 {
	background-image: url(../../../images/lagun-onak-mb/slide/slide-lagun-onak-mb-03.jpg);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.frontpage-teaser7 {
	background-image: url(../../../images/lagun-onak-mb/slide/slide-lagun-onak-mb-07.jpg);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Frontpage: Features
----------------------------------------------------------------------------------------------------*/

.frontpage-features { 
	margin-top: 30px; 
	overflow: hidden;
}

.frontpage-features h1 {
	margin: 20px 0 5px 0;
	font-size: 19px;
	line-height: 20px;
}

/* Frontpage: Check
----------------------------------------------------------------------------------------------------*/

.frontpage-check {
	float: left;
	margin-bottom: 20px;
	text-transform: uppercase;
}


/* Frontpage: Team
----------------------------------------------------------------------------------------------------*/

.frontpage-team h1 {
	margin: 20px 0 0 0;
	font-size: 40px;
	line-height: 41px;
}

.frontpage-team p {
	margin: 10px 0 0 0;
	font-size: 17px;
	line-height: 22px;
}


/* Frontpage: Contact
----------------------------------------------------------------------------------------------------*/

ul.line.frontpage-contact > li {
	margin: 0;
	padding: 15px 0;
	border-top: none;
	background: url(../images/line_bg.png) bottom repeat-x;
}

ul.line.frontpage-contact > li:first-child { 
	background: url(../images/line_bg.png) top repeat-x,
				url(../images/line_bg.png) bottom repeat-x;
}

ul.line.frontpage-contact strong {
	float: left;
	width: 140px;
	text-transform: uppercase;
	color: #FFF;
	font-weight: normal;
}

ul.line.frontpage-contact div { display: inline-block; }


/* Frontpage: Clients
----------------------------------------------------------------------------------------------------*/

.frontpage-clients a {
	float: left;
	opacity: 0.5;
	margin: 0 -1px -1px 0;
	border: 1px solid #616a73;
	border: 1px solid rgba(255,255,255,0.5); 
}

.frontpage-clients a:hover {
	opacity: 1;
	border: 1px solid #FFF;
	background-color: rgba(255,255,255,0.05);
}

.frontpage-teaser { line-height: 0; }
.frontpage-teaser img { 
	display: block; 
	line-height: 0;
}

/*añadido*/

/*header caption*/
.uk-overlay-caption {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
  bottom: 0;
  color: #fff;
  left: 0;
  opacity: 0;
  padding: 20px;
  position: absolute;
  right: 0;
  transition: opacity 0.15s linear 0s;
}

.uk-overlay-area {
  background: none repeat scroll 0 0 rgba(65, 169, 190, 0.6);
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 0.15s linear 0s;
}


.uk-grid:before, .uk-grid:after {
  content: " ";
  display: table;
}

.uk-grid:after {
  clear: both;
}

.uk-grid {
  list-style: outside none none;
  margin: 0 0 0 -20px;
  padding: 0;
}

.uk-grid > * {
  float: left;
  margin: 0;
  padding-left: 20px;
}

.uk-grid > * > *:last-child {
  margin-bottom: 0;
}

.uk-grid + .uk-grid {
  margin-top: 20px;
}

.box-info2 {
  background: 50px 0 #ebf5fa;
  border-color: #d2dce1;
}

.box-dif1 {
  background: url("../images/tools/mendia-zailtasuna-1.png") no-repeat scroll 0px 5px #ebf5fa;
  border-color: #d2dce1;
  width: 25%;
}

.box-dif2 {
  background: url("../images/tools/mendia-zailtasuna-2.png") no-repeat scroll 0px 5px #ebf5fa;
  border-color: #d2dce1;
  width: 25%;
}

.box-dif3 {
  background: url("../images/tools/mendia-zailtasuna-3.png") no-repeat scroll 0px 5px #ebf5fa;
  border-color: #d2dce1;
  width: 25%;
}

.box-dif4 {
  background: url("../images/tools/mendia-zailtasuna-4.png") no-repeat scroll 0px 5px #ebf5fa;
  border-color: #d2dce1;
  width: 25%;
}

/* lineas color */
.uk-badge-notification {
  border-radius: 500px;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 20px;
  min-width: 20px;
}

.uk-badge {
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0);
  border-bottom: 2px solid #41a9be;
  color: #41a9be;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  line-height: 15px;
  padding: 0 5px;
  text-align: center;
  text-transform: none;
  vertical-align: middle;
}

.uk-badge-warning {
  background-color: rgba(255, 255, 255, 0);
  border-bottom-color: #feaa29;
  color: #feaa29;
}

.uk-badge-success {
  background-color: rgba(255, 255, 255, 0);
  border-bottom-color: #b9db58;
  color: #b9db58;
}

.uk-badge-danger {
  background-color: rgba(255, 255, 255, 0);
  border-bottom-color: #d24452;
  color: #d24452;
}     

/* logo menu lasterketak */
.logo-menu {
	width:80px;
	padding-left:20px;
}

.logo-verde {
	background: none repeat scroll 0 0 #008ad0;
	background-image:url(../images/fondo-mb.png);
	color:#ffffff;
	font-weight:bold;
}

.logo-verde .menu-dropdown li.active .level1 {
  color: #ffffff;
}

.logo-verde .menu-dropdown a.level1, .menu-dropdown span.level1 {
  color: red;
  font-size: 15px;
  text-transform: uppercase;
}

	
	/*  
Generally */  
#menu ul.menu.menu-dropdown li.level1 a.mystyle.level1 span {  
color: #ffffff;  
background:#3595d1;
font-size:13px;
text-decoration:none;
}  
/*first-child*/
#menu ul.menu.menu-dropdown li.level1:first-child a.mystyle.level1:first-child span {
	background:#ffffff;
	background-repeat: no-repeat;
}
	

/*   
When currently active */  
#menu ul.menu.menu-dropdown li.level1 a.mystyle.active.current span {  
color: #ffffff;
background:#06456d;  
font-size:17px;
text-decoration:underline;
border-right: 2px solid #ffffff;
border-left: 2px solid #ffffff;
}  


/*   
On HOVER (also when current) */  
#menu ul.menu.menu-dropdown li.level1 a:hover.mystyle.level1 span,  
#menu ul.menu.menu-dropdown li.level1 a:hover.mystyle.level1.active.current span {  
color: #ffffff !important;  
}
#menu .menu-dropdown li.level1:first-child a:hover.mystyle.level1:first-child span {background:#ffffff; }  

/* hasta aqui */



/* video youtube */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}



/* Responsive 
----------------------------------------------------------------------------------------------------*/

*/ Only phones */


/* Only Phones and Tablets (Portrait) */
@media (max-width: 959px) {

	/* Layout */
	.margin-l-40 { margin-left: 0; }

}

@media (min-width: 320px) and (max-width: 765px) {

.custom-logo { 
	width: 460px; /*138px*/
	height: 90px;
	background: url(../../../images/lagun-onak-mb/lagun-onak-mendi-bazkuna-logo.jpg) 0 0 no-repeat;
	background-size: contain;
}
h1.title {margin-top: 100px;font-size: 14px;}

select.menu-responsive {margin-top: -30px; width:120px; margin-right:0px;}
}

/* Only Tablets (Portrait) */
@media screen and (min-width: 768px) and (max-width: 1024px) {

	/* Layout */
	#block-bottom-b .width33 { width: 100%; }

	.frontpage-features img {
		float: none;
		margin: auto auto 15px;
	}

	.frontpage-check.width50 { width: 100%; }
div.mod-languages ul {margin-right: 150px;}	
div.mod-languages a {margin-right: 150px;}	

}