/*
Theme Name: Huikia
Author: Laboratorio Uleåborg
Version: 1.0.0
*/


body{

    font-family: 'Rubik', sans-serif;
    font-weight: 300;
}

.site-header{
		position:relative;
		width:100%;
		background:#fff;
	}


.site-branding {
    display: block;
    float: left;
    margin: 1% 0 0;
    min-width: 100px;
    padding: 0;
    width: 230px;
}


.site-title{
	margin:0;
	padding:0;
	line-height:1em;
}

#topbar{
	width: 100%;
	background: #e9413e;
	padding: 0.4em 0 0;
	margin:0 auto;
	overflow: hidden;
}

#topbar a{
	color:#fff;
	text-decoration:none;
	font-weight: 500;
	margin:0 0.6em 0 0;
	letter-spacing: 0.04em;
}

#topbar a:hover{
	text-decoration:underline;
}

.toplinks{
	float:right;
	text-align:right;
	text-transform:uppercase;
	color:#fff;
	margin: 0.2em 0 0 0;

}


#lang{float:right;margin:7px 6% 0 0}

.wpml-ls-legacy-list-vertical{border:0!important}
.wpml-ls-legacy-list-vertical a{padding:0;margin:0;}
.wpml-ls-statics-shortcode_actions {
    background-color:transparent!important;
}
.wpml-ls-statics-shortcode_actions a{border:0!important;}
a.wpml-ls-link{padding:0!important;margin:0!important;line-height:10px!important;color:#fff;}
#lang_sel_list li{padding:0!important;margin:0!important;height:12px!important}

.wpml-ls-legacy-list-vertical .wpml-ls-flag + span {
    margin-left: .4em !important;
}

.info{
	float:right;
	text-align:right;
	text-transform:uppercase;
	color:#fff;
	color: #000;
	padding: 1.8em 0;

}

.info h5, .info p{
	color:#000;
	margin:0;
	padding:0;
}


.info-mobile{
	display:none;
}


.content-wrapper {
    display: block;
    margin: 0 auto;
    padding: 0 4%;
     max-width: 1300px;
}

.content-wrapper.narrow {
     max-width: 600px;
}

.content-wrapper.lead{
    max-width: 1100px;
    text-align:center;
    font-size:1.2em;
}

.entry-content{
	margin:0;
	padding:1.5em 0;
	background:#f2efe5;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
	background:#676563 url("_img/grey-bg.jpg");
	padding: 12px 0;
	 height: 48px;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
 	padding: 0;
}

.main-navigation li {
	float: left;
	position: relative;
	border-right:1px solid #fff;
	height:30px;
}

.main-navigation li:last-child {
	border-right:0;
}


.main-navigation a {
	display: block;
	text-decoration: none;
	color:#fff;
	text-transform:uppercase;
	font-weight:500;
	padding: 0 15px 6px;
	font-size:1em;
	transition:color ease 0.4s;
	
	
	
	     
        line-height: 30px;
  
}



.main-navigation li:hover > a,
.main-navigation li.focus > a {

	color:#cbc8c0 ;
}





.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
	color:#cbc8c0;
}



/***** DROPDWON ****/


.main-navigation ul ul {
	   background-color:#e9413e;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 2.25em;
	left:-999em;
	z-index: 99999;
	padding:15px 0;
	width: 200px;

}



.main-navigation ul ul a {
    font-size: 0.8em;
    font-weight: 400;
     padding: 6px 15px 0;
     background-color:#e9413e;
     transition:background-color ease 0.4s ;
     

}

.main-navigation ul ul li {
	margin:0;
	width:100%;
	padding:0;
	border-right:0;
	height:auto;


}

.main-navigation ul ul li:last-child {
	padding:0;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
	color:#fff;
	background-color:#c33634;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}



.main-navigation  ul li .current_page_item  a,
.main-navigation  ul li .current-menu-item  a {
	color:#000;
}





/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width:945px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}

}


button#responsive-menu-button {
    background:#e9413e!important;
    height: 35px!important;
    position: fixed!important;
    right: 5%!important;
    top: 32px!important;
    width: 37px!important;
}



#main-slider {
    background:#e9413e;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 ;
    position: relative;
    height:630px; 
    overflow:hidden;
}

/*******************************************
************ COLUMNS ***********************
*******************************************/
/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}


.section.some {
	 background:#fff;
	 border-top:8px solid #e9413e;
	 padding:4% 0;
}


.section.wide {
    background-position: center center;
    background-size: cover;
    margin: 0 0 0 !important;
    padding: 2% 0;
    color:#fff;
}

.col {
	display: block;
	float:left;
	margin: 1% 0 1% 4.6%;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID OF TWO  */
.span_2_of_2 {
	width: 100%;
}
.span_1_of_2 {
width: 47.7%;
}

/*  GRID OF THREE  */
.span_3_of_3 { width: 100%; }
.span_2_of_3 { width: 65.13%; }
.span_1_of_3 { width: 30.26%; }


/*  GRID OF FOUR  */
.span_4_of_4 {
	width: 100%;
}
.span_3_of_4 {
	width: 73.85%;
}
.span_2_of_4 {
	width: 47.7%;
}
.span_1_of_4 {
	width: 21.55%;
}

.span_1_of_1 {
    width: 100%;
}

@media only screen and (max-width: 600px) {
	.section.some .col { 
		margin: 1% 0 1% 0%;
	}
	
		.section.some .span_1_of_2{
		 width: 100%; 
	}
}


@media only screen and (max-width: 480px) {
	.col { 
		margin: 1% 0 1% 0%;
	}
}

@media only screen and (max-width: 480px) {
	.span_2_of_2, .span_1_of_2 { width: 100%; }
	.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
	.span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4 { width: 100%; }

}

/*************************************
************ BUTTONS *****************
*************************************/

.link-btn{
	background-color: #e9413e;
    border-radius: 25px;
    color: #fff !important;
    display: inline-block;
    font-weight: 500;
    margin: 10px 0 0;
    padding: 0.5em 1.8em;
    text-transform: uppercase;
    cursor:pointer;
    transition:background-color ease 0.4s;
    text-decoration:none;
}

.link-btn:hover{

	background-color: #cb3936;
}

/*******************************************
*************** MAIN BOXES *****************
*******************************************/

#mainboxes {
    display: block;
    margin: 0 auto;
    padding: 0 0 2%;
    position:relative;
    width:100%;
    z-index:10000;
    background:#f2efe5;
   
}



.box-image{

}

.box-content{
	padding:6%;
	display:block;
	position:relative;
	overflow:hidden;

}

#mainboxes p{
	margin:0;
	padding:0;
}

#mainboxes h1{
    font-size:1.250em;
    font-weight:500;
	margin: 0.2em 0 0.8em;
	padding:0;
	line-height: 1.2em;
}

#mainboxes .span_1_of_3{
	background:#fff;
	box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.2);
	border: 8px solid #fff;
	

}

.boxes .col{
 /* margin-top:-250px; */
 margin-top:-180px;

}

.span_1_of_3.red h1{
	color: #e9413e;

}

.span_1_of_3.red .link-btn{
	margin: 0 6% 30px;

}

.span_1_of_3.blu h1{
	color: #1b9faa
}

.span_1_of_3.blu .link-btn{
	background-color: #1b9faa;
	margin: 0 6% 30px;
}

.span_1_of_3.blu .link-btn:hover{
	background-color:#17858e; 
}


.span_1_of_3.pink h1{
	color: #e11472
}

.span_1_of_3.pink .link-btn{
	background-color: #e11472;
	margin: 0 6% 30px;
}

.span_1_of_3.pink .link-btn:hover{
	background-color: #b7105d;
}

.icon-facebook,
.icon-instagram{
	background-color: #e9413e;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2em;
    line-height: 1.8em;
    margin: 0 15px 0 0;
    padding: 4px 3px;
    vertical-align: middle;
}





a.play-video {
   display: inline-block;
   overflow:hidden;
	height:70px;
	width:70px;
	margin: 40px 0;
	line-height: 108px!important;
}

a.play-video:before {
	color:#fff!important;
    border-radius: 2px;
    content: "\E800";
    display: inline-block;
    font-family: "Fontello";
    font-size: 68px!important;
    margin: 0;
    padding: 0;
    font-weight:400;
    line-height:normal;
    transition:color ease 0.4s;
}

a.play-video:hover:before{
	color:#cbc8c0!important;

}
/*********************************************
***************** SUBPAGE ********************
**********************************************/


.page-header{
	width:100%;
	margin:0 auto;
	position:relative;
	/*min-height: 320px;*/
	overflow:hidden;
	background-size:cover;
	background-position:center;
	padding:0;
}
.page-header img {
    display: block;
    height: auto;
    width: 100%;
}


/************************************
*********** SIDE BLOCK **************
************************************/

.sidebox{
	background:#fff;
	margin: 0 0 20px;
    padding: 8%;

}


/************************************
*********** COLLAPSE **************
************************************/
.collapseomatic {
    background-image: none;
    background-repeat: no-repeat;
    background-position:right;
    cursor: pointer;
    padding: 0 0 10px 0px;
    margin:0 0 10px;
    font-weight:400;
    
}

.colomat-close {
	background-image: none;
}

.collapseomatic_excerpt, .collapseomatic_content {
    margin-left: 16px;
    margin-top: 0;
    padding: 0 0 30px;
}

.collapseomatic:after{
	content:' \E804 ';
	font-family:'Fontello';
	float:right;
	color:#e9413e;
	font-size:1.2em;

}

.colomat-close:after {
	content:' \E807 ';
	font-family:'Fontello';
	color:#e9413e;
	font-size:1.2em;

}

/****************************************************
************** FACEBOOK *****************************
*****************************************************/

.cff-wrapper{
	color:#000;

}

.cff-wrapper a{
	color:#000!important;
	transition:color ease 0.4s;

}

.cff-wrapper a:hover{
	color:#7f7f7f!important;
	text-decoration:none!important;
}

.cff-media-link{
	display:none;
	
}


#cff .cff-item {
    float: left;
    width: 100%;
    clear: both;
    padding: 20px 0 15px 0;
    margin: 0;
    border-bottom: 1px solid #ddd;
}

#cff .cff-item:last-child {
     border-bottom: 0;
}

.cff-more, .cff-less {
    display: none;
}

#cff .cff-date {
    float: left;
    min-width: 50px;
    width: auto;
    margin: 0 0 0.6em;
    padding: 0;
}

.cff-post-text{
	margin-top:0!important;
	font-size:0.9em!important;
}

#cff .cff-photo {
    display: block;
    float: left;
    margin: 0;
    max-height: 100px!important;
    max-width: 100%;
    overflow: hidden!important;
    position: relative;
}

/****************************************************
************** Instagram *****************************
*****************************************************/

.insta-img {
     background-position: 50% center;
    background-repeat: no-repeat;
    bottom: 0;
    height: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}
.insta-img a{
	 display: block;
    height: 100%;
    width: 100%;

}
.insta-img img{

	display:none;

}

ul.gridlist{
	margin:0;
	padding:0;

}

ul.gridlist.insta li {
    display: inline-block;
    float: left;
    height: 250px;
    margin: 0.5%;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 49%;
    cursor:pointer;
    background-position: 50% center;
    background-repeat: no-repeat;
    background-size: cover;
   
    
}
ul.gridlist.insta li:hover {
    opacity:0.85;
}

ul.gridlist.insta li img {
	display:none;

}

@media (max-width: 970px)  {
	ul.gridlist.insta li {
		width: 48% !important;
	}

}


@media (max-width: 1200px) and (min-width: 970px) {
    ul.gridlist.insta li {
        width: 48% !important;
      
        
    }

}



@media (max-width: 800px) {
	ul.gridlist.insta li {
		width: 100% !important;
		margin:1% 0;
	}
	
}




/*********************************************
***************** CHOOSE SITE********************
**********************************************/
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding: 200px 6% 0; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
	z-index: 999999;
}

/* Modal Content */
.modal-content {
    position: relative;
	background-image:url('_img/modal-bg.jpg');
	background-color:#e9413e;
    margin: auto;
    padding: 0;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
	animation-duration: 0.4s;
	padding:4%;
	text-align:center;
	max-width:600px;
	color:#fff;
	border: 0.6em solid #fff;
}

.modal-content h1,
.modal-content h2,
.modal-content h3,
.modal-content h4{
	color:#fff;

}
a.modal-btn{
	background: #fff;
color: #e9413e;
font-weight: 700;
text-decoration: none;
border-radius: 20px;
padding: 0.6em 1.6em;
margin-top: 1.2em !important;
display: inline-block;

}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}






/*********************************************
***************** FOOTER********************
**********************************************/

.site-footer{

	padding:4% 0;
}
.site-footer img{
   -webkit-filter: invert(100%);
	filter: invert(100%);
	  filter:progid:DXImageTransform.Microsoft.BasicImage(invert='1');
}

body.home .site-footer img{
   -webkit-filter: invert(0%);
	filter: invert(0%);
	  filter:progid:DXImageTransform.Microsoft.BasicImage(invert='0');
}

body.home .site-footer{
	background:#e9413e;
	color:#fff;

}

body.home .site-footer h1,
body.home .site-footer h2,
body.home .site-footer h3,
body.home .site-footer h4,
body.home .site-footer h5{
	color:#fff;
}

body.home .site-footer a{
	color:#fff;

}

.hdr-col{
	display:inline-block;
	width:70%;
	vertical-align:top;
}
.hdr-col.right{
	width:30%;
}

/************************************
*********** MEDIA QUERIES **********
************************************/
@media (max-width: 1100px) {
		.flex-caption h1 {
    	
    	font-size: 2.4em!important;
		}
}


@media (max-width: 1000px) {
		.flex-caption {
			width:88%!important;
		}
}

@media (max-width: 945px) {

	body{
		font-size:14px;
	}
	button#responsive-menu-button {
       top: 47px !important;
   }

	.main-navigation{
		display:none;
	}
	
	.site-content{
		padding:100px  0 0 0;
	
	}
		.toplinks, .info{
		display:none;
	}
	
	#topbar{
		position:fixed;
		width:100%;
		height: 30px;
		z-index:12001;
	}	
	.site-header{
		position:fixed;
		height:70px;
		z-index:12000;
		margin: 30px 0 0 0;
		
	}
	
	.site-branding {
		max-width: 140px;
		margin: 0.7em 0 0;
		
	}
	
	
	
	.sb-content	.col { 
		margin: 1% 0 1% 0%;
	}

	.sb-content	.span_2_of_3, 
	.sb-content .span_1_of_3{
		width:100%;
	
	}
	.flex-caption h1 {
    	
    	font-size: 2.4em!important;
    	
   }

   .boxes .col {
	margin:1% 0;
}

.boxes .span_1_of_3{
	width:100%;
}

.info-mobile{
	display:block;
    margin: 0 auto;
    padding: 2% 5%;
    max-width: 1300px;
}
	
	
}


@media (max-width:600px) {


	
	.flex-caption {
       width: 80%!important;
   }
	
	.flex-caption h1 {
    	
    	font-size: 1.6em!important;
    	font-weight: 700;
    	line-height: 1.3em;
   }
   
   #main-slider,
   .flexslider .slides > li,
   .caption-wrapper {
   		height:400px!important;
   }
}




