
/*****************************/
/*           HTML            */
/*****************************/

   * {
       margin: 0;
   }

    html, body {    
        height: 100%;    
        margin: 0;  	
        min-height:100%;	
    }  
    
    body {
        background: #fff;
        color: #204763;       
        font: normal 18px Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;;
    }
    
    body.modal {
		overflow: hidden;
    }
   
    ul, li {
        margin: 0;
        padding: 0;
    }    
 
    input, select, textarea, button {
        font-family: inherit;
        outline: none;
    }
    
    input[type=submit] {
		cursor: pointer;
    } 
       
    
    .mobile {
        display: none;
    }
    
    a {
		text-decoration: none;
		color: inherit;
    }
	
    a img {
		border: none;
    }
    
    h1,
    h2,
    h3,
    h4 {
    	font-weight: 300;         	
    } 
    
    
    mark {
		background: none !important;
		color: inherit;
    }
   
    
/*****************************/
/*          1. main          */
/*****************************/  

	.wrapper {
		/*display: flex;
	   flex-flow: column;	*/
		min-height: 100%;	
	}
		    
    .inner {
        padding: 0 2.75em;
        margin: 0 auto;  
        position: relative;
    }   
 
    
    .mobile {
		display: none;
    }    
    
	
	/* images */
      
    img a {
		border: none;
    }    
    
    .image img {
		max-width: 100%;
    }
    
    .image.padded {
		position: relative;
    }
    
    .image.padded:before {
		display: block;
		content: "";
    }
    
    .image.padded img {
		position: absolute;
		top: 0;
		left: 0;
		max-width: none !important;
    }
    
    .responsive_image {
    	width: 100%;
    	display: block;
		position: relative;
		background: #ccc url(../img/logo.png) no-repeat 50% 50%;
		overflow: hidden;
    }    
    
    .responsive_image.loaded {
		background: none;
    }  
	
	 .responsive_image img {
		 z-index: 10 !important;
	 }
	   
	 .responsive_image.el_box img {
		  position: absolute;			
	 } 
	 
	 /* columns */
	 
	 .column_wrapper {
		 
	 }
	 
	 .column_main {
		float: left;	 
		width: 100%;
		position: relative;	
		z-index: 0;	
	 }
	 
	 .column_main > div:last-of-type {
		  
	 }
	 
	 .column.left {	
		 width: 33.33%;		
	 }	
	 
	 .template_home .column.left {
		 position: absolute;
		 left: 0;
		 top: 0;
	 }
	 
	 .column.center {
		
	 }	 
	 
	 .column.right {
		 float: right;    	 
    	 position: relative;
    	 z-index: 10;
	 }
	 
	 .column {
		 box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    -webkit-box-sizing: border-box;
	 }
	 
	 
	 /* divider */
	 
	 .dotted {
	 	 position: relative;
		 background: transparent url(../img/dots.png) repeat-x 0px 100%;
	 }
	 
	 /* buttons */
	 
		
	.button {		
		height: 48px;
		position: relative;
		display: inline-block;		
		padding: 0 60px 0 14px;
        min-width: 170px;
        line-height: 48px;
        cursor: pointer;		
	}
	
	.button:after {
		display: inline-block;
		position: absolute;
		height: 100%;
		width: 46px;
		content: "";
		top: 0;
		right: 0;		
	}
	
	.button.dark {
		background: #555972;
		color: #fff;
		font-weight: 300;
	}
	
	.button.dark.active,
	.button.dark:hover {
		color:#72cc96;
	    -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;      
	}
	
	.button.dark.active:after,
	.button.dark:hover:after {
		background-color:#72cc96 !important;
		-webkit-transition: all 0.75s ease;
        -moz-transition: all 0.75s ease;
        -o-transition: all 0.75s ease;
        transition: all 0.75s ease;      		
	}
	
	.button:after {
		background-color: #224a63 !important;
	}
	
	.button.style_2 {
		background: #214a63;
		height: 36px;
		line-height: 35px;
	}
	
	.button.style_2:after,
	.button.style_2:hover:after {		
		background-color:#51947f !important;
	}
	
	.button span {
		
	}
	
	/* candle buttons */
	
	.button.view_on_field:after {
		background: transparent url(../img/sprite_icons.png) no-repeat -45px -147px;	
	}
	.button.view_on_field.group:after {
		background: transparent url(../img/sprite_icons.png) no-repeat 10px -150px;			
	}
	.button.light_another:after {
		background: transparent url(../img/sprite_icons.png) no-repeat -44px -195px;	
	}
	.button.light_group:after {
		background: transparent url(../img/sprite_icons.png) no-repeat 10px -200px;	
	}
	
	   
/*****************************/
/*         2. header         */
/*****************************/  

    
    /* header */
	
	.header {		
		background: #1f415f;
		color: #fff;
		z-index: 20;
		position: relative;
		
	}
	
	.header .inner {		
		position: relative;	
	}    
   
	.header a {
		color: inherit;		
	}
	
	/* logo */
	
	.header .logo {			
		position: absolute;
		z-index: 20;		
		left: 2.75em;		
	}
	
	.header .logo img {
		max-width: 100%;			
	}
	
	
/*****************************/
/*       2. navigation       */
/*****************************/  
	
	
	/* navigation */
	
	.header ul.navigation {				
        overflow: hidden;            
        display: block;       
        min-height: 100%;
        text-align: right;
	}
	
	.header ul li {
		list-style-type: none;
	}
	
	.header ul li {
		display: inline-block;		
	}
	
	.header ul li a {
		display: block;
		padding: 2em 20px;
		background: #555c73;
		width: 7em;
		text-align: center;		
		position: relative;		
		
	}
	
	.header ul li:nth-child(2) a {
		background: #529580;
	}
	.header ul li:nth-child(3) a {
		background: #24726f;
	}
	.header ul li:nth-child(4) a {
		background: #264d67;
	}
	
	.header ul li:nth-child(3) a,
	.header ul li:nth-child(4) a {
		padding-right: 40px;
		padding-left: 0;
	}
	
	.header ul li:nth-child(3) a:after,
	.header ul li:nth-child(4) a:after {
		right: 24px;
		top: 50%;
		display: block;
		width: 40px;
		height: 33px;
		position: absolute;		
		margin-top: -15px;
		background: transparent url(../img/sprite_icons.png) no-repeat 0px -53px;
		content: "";
	}
	
	.header ul li:nth-child(4) a:after {
		background-position: 0 0;
	}

/*****************************/
/*       3. slideshow        */
/*****************************/ 
	
	.slideshow {		
		position: relative;
		z-index: 0;		
	}
	
	.slideshow:before {
		content: "";
		display: block;
		padding-top: 45%;
	}
	
	.slideshow {		
		margin: 0 200px;		
	}
	
	.slideshow img {
		max-width: 100%;
	}
	
	.slideshow .slides,
	.slideshow .slides .slide,
	.slideshow .slides .slide .image {
		position: absolute;
		top: 0;
		width: 100%;
		left: 0; height: 100%;	
		overflow: hidden;
		z-index: 0;
		text-align: center;		
	}	
    
    .slideshow .slides .slide .image img {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
	
	.slideshow_pager {
		position: absolute;
		z-index: 10;
		left: 0;
		bottom: 0;
		text-align: center;
		width: 100%;
		padding: 10px 0;		
		font-size: 0;
	}
	
	.slideshow_pager a {
		display: inline-block;
		width: 18px;
		height: 18px;		
		background: #8fa4b1;
		margin: 0 8px;
		border: 4px solid transparent;	
		background-clip: padding-box;
		
		-webkit-border-radius: 50% !important;
		-moz-border-radius: 50% !important;
		border-radius: 50% !important;
	}
	
	.slideshow_pager a:hover,
	.slideshow_pager a.activeSlide {
		background: #204963; 
		border-color: #204963;
	}
	
	.slideshow .nav {
		width: 120px;
		display: inline-block;
		position: absolute;
		top: 50%;
		left: -140px;
		margin-top: -25px;
		
		background: #565b71;
		color: #fff;
		font-weight: 300;
		padding: 14px 28px;
		height: 50px;
		
		box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    -webkit-box-sizing: border-box;
	}
	
	.slideshow .nav.next {
		left: auto;
		right: -140px;
	}
	
	.slideshow .nav:after {
		content: "";
		position: absolute;
		display: block;
		border-bottom: 25px solid transparent;
	    border-right: 25px solid #565b71;
	    border-top: 25px solid transparent;
	    height: 0;
	    width: 0;
	    top: 0;
	    width: 25px;
	    left: -50px;
	}

	.slideshow .nav.next:after {
		left: auto;
		right: -50px;	
		border-right: 0;
		border-left: 25px solid #565b71;
	}
	
/*****************************/
/*        3.2.. sections     */
/*****************************/

a.collapsed {
	display: block;
	width: auto;
	margin-bottom: 1em;
}

a.collapsed:after {
	content: "+";
	font-size: 40px;
	font-weight: 700;
	text-align: center;
	line-height: 44px;
}

a.collapsed.active:after {
	content: "-";
	color: #fff;
}

a.collapsed:hover:after {
	color: #fff;
}

div.section {
	padding-bottom: 2em;
	display: none;
}
	
/*****************************/
/*         4.2. cart         */
/*****************************/
	
	.main .content_cart,
	.main .content.candle_profile,
	.main .content_search,
	.background_light,
	.cart_overlay {
		min-height: 100%;		
		background: transparent url(../img/background/clouds.jpg) no-repeat 50% 50%;
		background-size: cover;
	}
	
/*****************************/
/*         4. content        */
/*****************************/

	/* main */

	.main {
		position: relative;		
		z-index: 10;			
  		overflow: auto; 
  		/*flex: 1; */
  		min-height: 100%;
  	}	
	
	.main .content {		
		min-height: 100%;		
		background-size: cover;
		box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    -webkit-box-sizing: border-box;   
	}
	
	.content_grid {
		background: transparent url(../img/background/plains.jpg) no-repeat 50% 50%;		
	}
	
	.template_content .main .content {
		padding: 4em 2.75em;		
	}
	
	/* breadcrumbs */
	
	div.breadcrumbs {
		margin: -15px 0 20px;
	}
	
	div.breadcrumbs a {
		color: #529060;
	}
	
	div.breadcrumbs span {
		display: inline-block;
		margin: 0 5px;
	}

	.rl_template {
		overflow: visible !important;
	}
	
	/* title */
	
	h1 {
        color: #204763;
        font-size: 2em;        
    }
    
    h1 em {
		font-size: 20px;
		padding-left: 1em;		
    }
	
	/* home */
	
	.content_home {	
		text-align: center;		
	    padding-top: 4.5em;
	   
	}
	
	.content_grid > .inner {
		width: 33%;	
	    margin: 0 auto;
        padding: 0 0 3em !important;
        position: relative;
        z-index: 5;        
    }
	
	.content_home h1 {
		color: #fff;
		font-size: 4.5em !important;
        font-weight: 400;
	}
    
    /* grid */
    
    .content_grid h1 {
		color: #fff;
		font-size: 2.5em;
        font-weight: 400;
	}
    
    
    div.grid {
        position: absolute;
        top: 40%;
        padding: 0 2%;
        left: 0;
        width: 96%;
        height: 60%;
        z-index: 1;
        overflow: hidden;    
        
    }
    
    div.grid > div {
        position: absolute;
        height: 100%;
        width: 0;       
      
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;        
    
        bottom: 0; 
    }    
   
    
    /* grid candle */
    
    .content_grid .candle_box {	
		/*border: 1px solid #fff;*/
		float: left;
		width: 33.33%;
		height: 33.33%;
		position: relative;
		
		box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;        
	}
    
    .content_grid .sc { 
    	/*bottom: 20px;*/
    	
    }
    
    .content_grid .sc.rows_2 .candle_box {
		height: 50%;
    }
    
    .content_grid .candle_holder {		
		position: absolute;
		width: 50%;				
		margin-top: -25%;
    }
    
    .content_grid .candle {
		display: inline-block;
		width: 100%;		
		background: rgba(0,0,0,0.4);
		position: relative;		
		color: #fff;
		text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
		font-weight: 700;
		z-index: 20;
		
		-webkit-background-clip: padding-box; 
		background-clip: padding-box;
		
    }
   
    .content_grid .candle,
    .content_grid .candle span.duration {
		border: 4px solid rgba(255,255,255,0.20);
    }
    
    .content_grid .candle span.duration {
    	display: inline-block;
		position: absolute;
		top: -20px;		
		right: -20px;
		width: 30px;
		height: 30px;
		background: #000;
		line-height: 30px;
		text-align: center;
		font-size: 12px;
		font-weight: 300;		
		-webkit-background-clip: padding-box; 
		background-clip: padding-box;
    }
    
    .content_grid .candle span.duration.group {
		left: -20px;
		right: auto;
    }
    
    .content_grid .candle span.title {
    	position: absolute;
    	text-align: center;
    	display: block;
    	min-width: 100%;
    	max-width: 200%;
    	left: 70%;
		top: 50%;
  		transform: translateY(-50%);
  		line-height: 100%;
  		font-size: 16px;  		
  		z-index: 10;
  		max-height: 120%;
  		font-weight: 400;
  		line-height: 120%;
  		overflow: hidden;  		
    }
    
    .content_grid .candle:after {
		width: 100%;
		height: 24%;
		position: absolute;
		/*bottom: -10px;*/
		left: 0;
		content: "";	
		z-index: 0;	
		background: transparent url(../img/shadow_candle.png) no-repeat 50% 50%;
		background-size: cover;
    }
    
    
   
    
    /* page */
    
    .content_page h1,
    .content_search h1 {
        margin-bottom: 1em;   
    }
    
    .content_page a {
        color: #72cc96;
        font-weight: 700;
    }
    
    /* account */
    
    .content_account a.light_another {
		margin-left: 20px;
    }
    
    
    /* iskanje */
    
    .content_search  {
		
	}
	
	.content_search.form > div.inner {
		max-width: 900px;
		margin: 0 auto;
	}
	
	.content_search  div.field {
		margin-right: 0 !important;
	}
		
	.content_search .region_select {
		background: rgba(255,255,255,0.5);
		overflow: hidden;
		padding: 17px 15px 0 44px;		
	}
	
	.content_search .region_select li {
		list-style-type: none;
		width: 33%;
		float: left;
		margin-bottom: 15px;
	}	
	
	.content_search .region_select input {
		display: none;
	}
	
	.content_search .region_select label {
		font-size: 20px;
		padding-left: 30px;
	}
	
	.content_search .controls {
		margin-top: 40px !important;		
	}
	
	.content_search .candle_row {
		cursor: pointer;
		font-size: 16px;
	}
	
	.content_search .candle_row div.image {
		display: inline-block;
		float: left;
		width: 40px;
		text-align: center;
		margin-right: 6px;		
	}
	
	.content_search .candle_row img {
		
		
		
	}
	
	/* date */
	
	.content_search .custom_field {
		width: 160px;
		display: inline-block;
	}
	
	.content_search .custom_field.date:after {
		background: transparent url(../img/sprite_icons.png) no-repeat -45px -246px;	
	}
	
	/* results */
	
	.content_search table {	
		width: 100%;
	}
	
	.content_search table tr th {
		text-align: left;
		border-bottom: 10px solid transparent;
		
		color: #fff;
		font-weight: 300;
		font-size: 20px;	
		padding-right: 7px;	
		
	}
	
	.content_search table tr th:last-of-type {
		padding-right: 0;
	}
	
	.content_search table tr th .button {
		width: 100%;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	
	.content_search table tr th .button:after {		
		background: transparent url(../img/sprite_icons.png) no-repeat -44px -75px;	
	}
	
	
	.content_search table tr td {
		color: #204763;
		border-collapse: collapse;
		background: rgba(255,255,255,0.7);
		padding: 10px 15px;
	}
	
	.content_search table tr:nth-child(2n+1) td {
		background: rgba(85,89,113,0.1);
	}
	
	/* pagination */
	
	.content_search .pagination {
		margin-top: 20px;
	}
	
	
	.content_search .pagination span {
		display: block;
		margin-bottom: 10px;		
	}
	
	/*.content_search .pagination > div {
		float: right;
	}*/
	
	.content_search .pagination a {
		display: inline-block;
		width: 28px;
		height: 28px;
		background: #1f415f;
		color: #fff;
		text-align: center;
		line-height: 28px;
		margin-right: 6px;
		margin-bottom: 7px;
	}
	
	.content_search .pagination a:hover,
	.content_search .pagination a.active {
		color: #fff;
		background: #72cc96;
	}
	
    
    /* contact */
    
    .content_contact {
		margin-top: 0;
		padding-top: 1em;
		margin-top: 3em;
		border-top: 2px solid #77b284;
    }
    
    .content_contact h3 {
		font-size: 1.5em;
		margin-bottom: 10px;
		
    }
	
    
/*****************************/
/*           5. news         */
/*****************************/

	/* latest */
	
	.news.latest {
		
	}
	
	
	.article {
		margin-bottom: 2em;
	}
	
	.article:last-of-type {
		margin: 0;
	}
	
	.article .dotted {
		padding-bottom: 8px;
		margin-bottom: 15px;
	}
	
	.article h3 {
		font-size: 1.75em;
		color: #77b284;		
		line-height: 110%;		
	}
	
	.article span.date {
		font-family: 'BebasNeue';	
		color: #6b6b6b;
		float: right;	
		margin-left: 10px;	
		font-size: 1.125em;
	} 
	
	.article .image {
		position: relative;
		margin-bottom: 10px;
	}
	
	.article .image img {		
		max-width: 100% !important;
	}
	
	.article .image:before {
		padding-top: 35%;		
	}
   
/*****************************/
/*         6. candle         */
/*****************************/

	
	/* profile */
	
	.candle_profile {
		font-weight: 300;
		color: #204763;				
	}
	
	.candle_profile .column.left {
		width: 36%;		
		/*margin-left: 50px;*/
		margin-right: 8%;
		position: relative;	
		
	}
	
	.candle_profile .column_top {
		width: 100%;
		position: relative;
	}
	
	.candle_profile .column_top:before {
		content: "";
		display: block;
		padding-top: 65%;
	}
	
	.candle_profile .column.left .holder {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;	
		height: 100%;		
	}
		
	.candle_profile .column.right {
		overflow: hidden;
		float: none !important;
		margin-right: 150px;
		margin-bottom: 70px;
	}
	
	.candle_profile .column.right h3 {
		color: #23716e;
		font-size: 2em;
		margin-bottom: 1em;
	}
	
	.candle_profile blockquote,
	.content_embed blockquote {
		display: block;
		font-size: 2.4em;		
		quotes: "\201C""\201D""\2018""\2019";		
	}
	
	.candle_profile blockquote:before,
	.content_embed blockquote:before {
		color: inherit;
		content: open-quote;
		font-size: inherit;
		line-height: 0.1em;
		margin-right: 10px;		
		vertical-align: 6px;
	}
	
	.candle_profile blockquote:after,
	.content_embed blockquote:after {
		color: inherit;
		content: close-quote;
		font-size: inherit;
		line-height: 0.1em;
		margin-left: 10px;		
		vertical-align: 6px;
	}
		
	.candle_profile .column.right h4 {
		color: #23716e;
		font-size: 1.4em;
		display: block;
		text-align: right;
	}
	
	/* profile image */
	
	.candle_image {	
		width: 40%;				
		position: absolute;
		/*padding: 13px 18px;*/
		/*box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;*/
		left: 0;
		bottom: 20px;
		max-height: 100%;
	}
	
	.candle_image:before {
		content: "";
		padding-top: 120%;
		display: block;
	}
	
	.candle_image:after {
		left: 0;
	    height: 100%;
	    position: absolute;
	    width: 100%;
	    top: 0;
	    z-index: 10;
	    background: transparent url(../img/picture_frame_front.png) no-repeat 0px 0px;
		background-size: contain;
		content: "";
	}
	
	.candle_image > div.image_frame {	
	    height: 100%;
	    position: absolute;
	    width: 94%;
	    left: 3%;
	    top: 0;
		-webkit-backface-visibility : hidden; 
		backface-visibility : hidden; 
	    -webkit-transform           : skew(-2deg, 0);
	    transform 					: skew(-2deg, 0);
	    
	    z-index: 0;
	}
	
	.image_frame:after {
		position: absolute;
		right: -20%;
		bottom: 10%;
		content: "";
		width: 40%;
		height: 60%;
		background: transparent url(../img/picture_frame_back.png) no-repeat 100% 100%;
		background-size: contain;	
		z-index: 0;	
	}
	
	.candle_image div.image {			
		position          	: absolute;
		top: 0;
		width: 100%;
		height: 100%;			
		overflow: hidden;
		z-index: 1;		
	}
	
	.candle_image div.image img {
		webkit-transform 	: skew(2deg, 0);
		transform 			: skew(2deg, 0);	
		margin-left: -4px;		
	}
	
	.candle_image div.image img.landscape {
		max-height: 110% !important;		
		max-width: none !important;
		height: 110%;
	}
	.candle_image div.image img.portrait {
		max-width: 110% !important;
		max-height: none !important;
		width: 110%;
	}
	
	/* buttons */
	
	.candle_buttons {
		margin-top: 2em;
	}
	
	.candle_buttons a.button {
		float: left;
		margin-bottom: 15px;
	}
	
	.candle_buttons a.button:nth-child(2n) {
		float: right;
	}
	
	/* social */
	
	.candle_profile .social {
		margin-top: 5em;
	}
	
	.candle_profile .social p {
		font-size: 20px;
		padding-bottom: 7px;
	}
	
	.candle_profile .social .button {
		float: right;
		margin-left: 16px;
	}
	
	.candle_profile .social .button:after {		
		background: transparent url(../img/sprite_icons.png) no-repeat -46px -34px;
	}
	
	.candle_profile .social a img {
		margin-right: 3px;
		margin-bottom: 14px;
	}
	
	
/*****************************/
/*       6.1. candle item    */
/*****************************/

	.candle_item {				
		text-align: center;		
		
	}	
	
	.candle_profile .candle_item {
		position: absolute;
		bottom: 0;
		width: 100%;
	}
	
	.candle_profile .column.left .holder.has_image .candle_item {		
		width: 40%;
		right: 0;		
		min-width: 80px;		
		
	}
	
	.candle_item .element {
		
		/*position: absolute;
		width: 100%;*/
		position: relative; 		
		/*margin-top: 80px;	*/	
	}	
	
	.candle_profile .candle_item {
		overflow: hidden;
	}		
	
	
	/* A. stem */
	
	.candle_stem {		
		position: relative;
		z-index: 1;		
	}
	
	.candle_profile .candle_stem {
		min-width: 80px;
		text-align: center;
	}
	
	.candle_profile .candle_stem img {
		max-width: 100%;		
	}
	
		/* stem on the field */
		
		.content_grid .candle .candle_item .element .candle_stem {
			height: 100%;
			border: none;
			box-sizing: border-box;
    		-moz-box-sizing: border-box;
    		-webkit-box-sizing: border-box;
		}
		
		.content_grid .candle .candle_item .candle_stem img {
			max-height: 100%;
			max-width: 100%;
		}
		
		/* stem on closed candle */
		
		 .candle_item_closed .candle_stem {		
			z-index: 0;	
			/*top: 5% !important;*/
	    }
	    
	    .candle_item_closed .candle_stem.overlay {
			z-index: 10;
			position: absolute !important;
			top: 0;
			width: 100%;
			left: 0 !important;
			opacity: 0.4;
	    }
	    
	    /* eternal flame on the grid */
	    
	    .content_grid .candle .eternal_flame {
			width: 200% !important;
			left: -50% !important;
			top: 25% !important;
	    }
	    
	    /* stem on candle profile on field */
	    
	    .content_candle.content_grid > .inner .candle_item .element .candle_stem {
			height: 75%;
			top: 20%;		
			position: absolute;
			width: 100%;
	    }
	    
	    .content_candle.content_grid > .inner .candle_item .element .candle_stem img {
			max-height: 100%;
			max-width: 100%;			
	    }
	    
	    .content_candle.content_grid > .inner .candle_item.ci_0 .element .candle_stem img {
			top: 50%;
			position: relative;
			transform: translateY(-50%);
	    }
	    
	    /* eternal flame profile on the field */	    
	     
	    .content_candle.content_grid > .inner .candle_item .element .candle_flame_holder {		
			width: 30%;				
	    }
	    
	    .content_candle.content_grid > .inner .eternal_flame .candle_stem {
			height: 35% !important;	
			top: 52% !important;	
	    }
	    
	    /* closed candle profile on the field */
	    
	    .content_candle.content_grid > .inner .candle_item_closed .element {
			top: 0% !important;
	    }
	    
	
	/* B. flame */
	
	.candle_flame_holder {		
		max-width: 80px;		
		z-index: 5;			
		margin: 0 auto;
		margin-bottom: -23px;
		position: relative;			
	}
		
	.candle_flame {
		margin: 0 auto;
		max-width: 100%;			
		display: none;
	}	
	
	.candle_profile .candle_flame {
		margin-left: -3px;
	}
	
		/* flame on the field */
				
	 	.content_grid .candle .candle_item .element .candle_flame_holder {
			margin: 0;
			position: absolute !important;
			width: 30%;
			height: 30%;
			left: 50%;
			margin-left: -15%;
			top: -20%;				
		}
	
		/* eternal flame */
					
		.eternal_flame .candle_flame {
			margin-left: 0;
		}		
		
		.eternal_flame .candle_flame_holder {
			z-index: 20;		
		}
		
			/* eternal flame on the field */
			
			.content_grid .candle .eternal_flame .element .candle_flame_holder {
				top: -140% !important;
			}		
   			
    
    	/* flame on closed candle */
    
	    .candle_item_closed .candle_flame_holder {		  
			position: absolute;
		    margin: 0;		  
			width: 100%;
			left: 50%;
			z-index: 10;
			
			transform: translateX(-50%) !important;
			
	    }	    	
	    
	    .candle_item_closed.ci_4 .candle_flame_holder {
			top: 30% !important;			
	    }
	    .candle_item_closed.ci_3 .candle_flame_holder {
			top: 35% !important;
	    }
	    .candle_item_closed.ci_2 .candle_flame_holder {
			top: 40% !important;
	    }
	    .candle_item_closed.ci_1 .candle_flame_holder {
			top: 45% !important;
	    }
	   	    	    	
	    	/* flame on closed candle on field */
	    	
	    	.content_grid .candle_item_closed .candle_flame_holder {		  
	    		margin: 0 !important;
			}
	
	/* C. grid */
	
	.content_grid .candle .candle_item {		
		position: absolute;
		top: 15%;
		left: 10%;
		width: 80%;
		height: 80%;		
	}
	
	.content_grid .candle .candle_item .element {		
		width: 100%;
		height: 100%;		
		margin: 0;
		position: relative;		
		border: none;		
    }
    
	
		/* group item */
		
		.content_grid .candle .candle_item.candle_group {
			width: auto;
			max-width: 50% !important;
			left: 5%;		
			z-index: 10;
			height: 50%;
			top: 35%;	
			
		}
		
		.content_grid .candle .candle_item.candle_group:nth-child(2) {
			left: 45%;		
		}
		
		.content_grid .candle .candle_item.candle_group:nth-child(3) {
			left: 50% !important;
			z-index: 5;
			margin-left: -25%;
			top: 20%;
			height: 70%;
		}	
		
		.content_grid .candle .candle_group.cg_2 {
			top: 20%;
			height: 65%;
			left: 15%;
		}
		
		.content_grid .candle .candle_group.cg_1 {
			left: 25% !important;
		}
		
		.content_grid .candle .candle_group.cg_2:last-of-type {
			left: 35% !important;
			height: 50%;
			top: 40%;		
		}
		
		/* eternal flame in group */
				
		.content_grid .candle .candle_item.candle_group.eternal_flame .element {
			width: 200%;
			left: -50% !important;
		}
		
		.content_grid .candle .candle_item.candle_group.eternal_flame .candle_flame_holder {
			top: -80% !important;
		}
		
		.content_grid .candle .candle_item.candle_group.eternal_flame .element .candle_stem {
			height: auto !important;
		}
		
		/* flame only candle in group */
		
		.content_grid .candle .candle_item.candle_group.eternal_flame.cg_1 .element {
			width: 300%;
			left: -100% !important;
		}
		
		.content_grid .candle .candle_item.candle_group.eternal_flame.cg_1 .candle_flame_holder {
			top: -160% !important;
		}
    
    	
    /* D. candle profile on the field */
    
    .content_candle.content_grid {
		padding-top: 2em !important;		
    }
    
    .content_candle.content_grid .description {
		overflow: hidden;		
		display: block;		
    }
    
    .content_candle.content_grid .description h1 {
    	line-height: 100%;
	}
    
    .content_candle.content_grid h1 span {
		display: block;
		font-size: 60%;
    }
    
    .content_candle.content_grid > .inner {
		padding: 0 !important;
		
    }
    
    
    .content_candle.content_grid > .inner .candle_item {		
		float: left;
		max-width: 240px;
		margin-right: 1em;
		width: 100%;
		border: 4px solid rgba(255, 255, 255, 0.2);
		background: rgba(0,0,0,0.5);
		position: relative;
		
		-webkit-background-clip: padding-box; 
		background-clip: padding-box;		
    }
    
    .content_candle.content_grid > .inner .candle_item .element {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		width: 100%;
		height: 100%;
    }
    
    .content_candle.content_grid > .inner .candle_item.ci_1 .element {
		top: 10%;
    }
    
    /* sharing icons */
    
    .content_candle.content_grid .social {
		position: absolute;
		top: 50%;
		height: 50%;
		width: 100%;
		left: 0;		
		z-index: 10;		
    }
    
    .content_candle.content_grid .social div {
		display: inline-block;		
		width: 13%;
		
		text-align: center;
		
		background: #000;
		-webkit-background-clip: padding-box; 
		background-clip: padding-box;
		border: 4px solid rgba(255,255,255,0.2);  
		position: absolute;
		left: 0;
		top: 0;  
    }
    
    .content_candle.content_grid .social div:before {
		content:"";
		display: block;
		padding-top:100%;
    }
    
    .content_candle.content_grid .social div a {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		line-height: 100%;
		text-align: center;
    }
    
    .content_candle.content_grid .social div a img {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
    }
    
    .content_candle.content_grid .social div:nth-child(1) {
		left: -15px;
		top: -15px;
    }
    .content_candle.content_grid .social div:nth-child(2) {
		left: -3%;
		top: 23%;
    }
    .content_candle.content_grid .social div:nth-child(3) {    	
		left: 6%;
		top: 55%;
    }
    .content_candle.content_grid .social div:nth-child(4) {
		left: 22%;
		top: 76%;
    }
    .content_candle.content_grid .social div:nth-child(5) {
		left: 42%;
		top: 84%;
    }
     .content_candle.content_grid .social div:nth-child(6) {
		left: 62%;
		top: 76%;
    }
    
   
  
    	
/*****************************/
/*          6.2. embed       */
/*****************************/ 

	.content_embed a.iframe_link {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		background: #fff;
		padding: 5px 20px;
	} 
	/*
	.content_embed > .inner {
		
		width: 80% !important;
		display: block;
		position: relative;
		top: 50%;
		transform: translateY(-50%);
		color: #fff;
		text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
	}  	
	
	.content_embed .description blockquote {
			
		font-size: 1.2em;
		display: inline-block;
		margin: 20px 0;
	}
	*/
	/*
	.content_embed .description {		
		display: inline-block !important;		
	}
	
	.content_embed .description > span {
		display: block;
		text-align: right;
		font-size: 1.2em;
	}
	
	.content_embed .description > span.date {
		margin-top: 20px;
		text-align: left;
	}*/
    	

/*****************************/
/*          7. carousel      */
/*****************************/

	/* carousel */
	
	.candle_selector {
		
		width: 90%;	
		
		margin: 1.5em auto;
		position: relative;
        text-align: center;
        visibility: hidden;   
        
       
	}
	
	.candle_selector:before {
		display: block;
		content: "";
		padding-top: 38%;
	}
	
	.candle_selector .holder {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;	
        text-align: left;
	}
	
	.content_home .candle_selector .holder {
		background: transparent url(../img/background_fade.png) no-repeat 50% 50%;
		background-size: contain;	
	}
	
	.candle_selector #carousel {			
		position: relative;
		height: 88%;
		width: 83%;	
		margin: 0 auto;		
	}
	
	.candle_selector #carousel > div {
		width: 30%;		
		/*background: #fff;	*/	
		display: inline-block;
		-webkit-border-radius: 50% !important;
		-moz-border-radius: 50% !important;
		border-radius: 50% !important;
		opacity: 0.9;
		color: #000;
		cursor: pointer;		
		position: relative;		
	}
	
	.candle_selector #carousel > div:before {
		padding-top: 100%;
		content: "";
		position: relative;
	}
	
	.candle_selector div.selection_title {
		min-width: 120px;
		display: inline-block;
		padding: 0 20px;
		font-weight: 700;
		color:#1f4d61;
		text-transform: uppercase;
		background: #fff;
		margin: 0 auto;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px;
	}
	
	.candle_selector div.image {
		height: 90%;		
		position: absolute;
		top: 5%;
		left: 0;
		text-align: center;
		width: 100%;		
	}
	
	.candle_selector .responsive_image {
		background: none !important;
	}
	
	
	.candle_selector div.image img {
		max-height: 100% !important;
		width: auto !important;
		position: relative !important;
		top: 50%;
  		transform: translateY(-50%);
	}
    
	
	/* buttons */
	
	.candle_selector a.arrow {
		display: inline-block;
		width: 24px;
		height: 44px;				
		position: absolute;
		top: 50%;
		margin-top: -22px;
		background: transparent url(../img/sprite_buttons.png) no-repeat 0px 0;
		left: 0;
		cursor: pointer;
	}
	
	.candle_selector a.arrow.selection_right {
		left: auto;
		right: 0;
		background-position: 0px -63px;
	}
	
	
	
/*****************************/
/*          8. files         */
/*****************************/

	.content_files {
		margin: 1em 0 1.5em;
		border-top: 2px solid #77b284;
		padding-top: 1em;
	}
    
    .content_files ul {
        margin-top: -12px;
    }
    
    .content_files li {
        font-family: 'BebasNeue';
        list-style-type: none;
        font-size: 1.5em;
        padding: 20px 0;    
        position: relative;    
    }    
    
    .content_files li span {
        position: absolute;
        top: 50%;
        margin-top: -24px;
        display: inline-block;
        width: 32px;
        left: 0;
        height: 48px;
        background: transparent url(../img/icon_file_32.png) no-repeat 50% 50%;
        line-height: 52px;
        color: #fff;
        text-align: center;
        font-size: 14px;
        font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
        font-weight: 700;
    }
    
    .content_files li a {
        display: inline-block;
        padding-left: 42px;
    }

/*****************************/
/*         8. footer         */
/*****************************/

	

	.footer {	
		padding: 1.5em 2.75em 1.2em;	
		background: #224a64;
		color: #fff;
	}
	
	
	.footer > .inner {
		
		box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    -webkit-box-sizing: border-box;
	   
	}
	
	/* counter */
	
	.footer div.left > span {
		display: inline-block;
		position: relative;
		height: 36px;
		line-height: 36px;		
	}
	
	.footer div.left > span:before {
		width: 36px;
		height: 36px;
		content: "";
		float: left;
		display: inline-block;		
		margin-right: 0.75em;
		background: transparent url(../img/sprite_icons.png) no-repeat 0px -106px;
	}
	
	/* social */
	
	.footer .social {
		float: right;		
		font-size: 0;
	}
	
	.footer .social img {
		margin-left: 10px;
	}
	
	
	
/*****************************/
/*          9. form          */
/*****************************/  

	/* form main */
	
	form.disabled input[type=submit] {
		opacity: 0.5;
		cursor: auto !important;
	}	
    
    .form_info {
        margin-left: 220px;
        margin-bottom: 1em;
        margin-right: 20px;
    }
    
    .content_info .form_info {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .form_info > em {
        font-style: italic;
        display: inline-block;
        float: right;
        color: #224a64;        
    }
    
    .form_info > span {
        display: inline-block;
        padding: 0 5px;
    }
    
    .form_area {
        max-width: 80%;
    }
	
	.light {
        
	}
	
	.light label {
		display: inline-block;
		width: 200px;
		float: left;
		margin-right: 23px;		
        font-size: 120%;
        line-height: 52px;
        color: #204763;
        font-weight: 400;
        text-align: right;
        position: relative;
	}
	
	
	
	.light > div {
        position: relative;
		margin-bottom: 1em;
		clear: both;           
	}
    
    .light > div > span.asterix {
        position: absolute;
        right: 0;
        font-size: 30px;
        margin-top: -15px;
        top: 50%;
        color: #224a64;
    }
	
	.light div.field {
		overflow: hidden;	
		max-width: 100%; 
        margin-right: 24px;      
	}
	
	.light input[type=text],
	.light input[type=password],
	.light select,
	.light textarea {
		width: 100%;
		color: #204763;
		font-weight: 300;
		border: 1px solid #c3d9e9;
		padding: 12px 16px;		
		font-family: inherit;
        font-size: inherit;
		resize: none;

		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;        
	}
    
    .light input[type=text]:focus,
    .light input[type=password]:focus,
    .light select:focus,
    .light textarea:focus {
        box-shadow:inset 0px 0px 0px 4px #DFEFFF;
        border-color: #C2D7EF !important;        
    }

    input.error,
    select.error,
    textarea.error {
        box-shadow:inset 0px 0px 0px 4px #FFDFE0;
        border-color: #c33 !important;        
    }
	
    .light .controls {
		margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .light input[type=submit] {
		
    }
    
    .light div.field {
		position: relative;
    }
    
    .light div.field > .light input[type=text] {
		display: block; width: 100%;
    }
    
    .light .loader {
		display: none;
    }
    
    .light .error {
		border: 1px solid red !important;
    }
    
    /* custom field */
    
    div.custom_field {
		position: relative;		
    }
    
    div.custom_field:after {
		position: absolute;
		width: 48px;
		height: 100%;
		right: 0;
		top: 0;
		content: "";
		background-color: #214a63 !important;
    }
    
    div.custom_field input {
		background: #555971;
		color: #fff !important;
		border: none !important;	
		margin-right: 48px;	
    }
    
    div.custom_field input:focus {
		box-shadow: none !important;
		border: none !important;	
    }
    
    /* radio */
    
    .radio_button, 
    .checkbox {
		width   : 22px;
		margin  : 0;
		padding : 0;
		opacity : 0;
	}
	
	.radio_button + label,
	.checkbox + label {
		display      : inline-block;
		margin-left  : -22px;
		padding-left : 22px;
		background   : url(../img/sprite_form.png) no-repeat 0 -22px;
		line-height  : 22px;
		height		 : 22px;
		width		 : 100%;
		cursor		 : pointer;
		font-weight	 : 300 !important;
		box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    -webkit-box-sizing: border-box;	    
	    text-align: left;
	}	
	
	.radio_button:checked + label{
		background-position : 0 0;
	}
	
	.checkbox + label {
		background-position: 0 -50px;
	}
	
	.checkbox:checked + label{
		background-position : 0 -70px;
	}
    
    
    /* submit */
    
    .light div.submit {
        position: relative;        
    }
    
    .light div.submit:after {
        background-image: url(../img/sprite_icons.png);
        background-position: 6px 7px;
    }
    
    .light div.submit input {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-right: 40px !important;
        background: none;
        border: 0;
        color: inherit;
        z-index: 10;
        font-size: inherit;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
   
    
    .status {
        clear: both;
        display: block;      
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        padding: 13px 10px;
        font-size: 1em;
        margin: 20px 24px 40px 220px;        
    }
    
    .content_info .status {
		margin: 0;
    }
    
     .status.error {
        color: red;
        border: 1px solid #EFC2C4;
        background: #FFDFE0;
       
    }
    
    .status.success {
        border: 1px solid #C2D7EF;
        background: #DFEFFF;
        color: #3489B9 !important;
    }
    
    /* placeholder */
    
    ::-webkit-input-placeholder { /* WebKit browsers */
	    color:    #606060;
	    font-style: italic;
	}
	:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	   color:    #606060;
	   font-style: italic;
	   opacity:  1;
	}
	::-moz-placeholder { /* Mozilla Firefox 19+ */
	   color:    #606060;
	   font-style: italic;
	   opacity:  1;
	}
	:-ms-input-placeholder { /* Internet Explorer 10+ */
	   color:    #606060;
	   font-style: italic;
	}
	
	/* search form */
	
	.content_home form[name=search] {
		position: relative;	
        padding-right: 70px;	
	}
	
	.content_home form[name=search] input[type=text] {
		font-size: 22px !important;        
	}
	
	.content_home form[name=search] input[type=submit] {
		position: absolute;
		top: 0;
		right: 0px;
		width: 70px;
		height: 100%;
		border: none;
		background: #509a83 url(../img/sprite_icons.png) no-repeat -34px 16px;
		padding: 0;          
	}
		
		
	/* loader */
	
	.cube_loader {
		width: 40px;
		height: 40px;
		z-index: 200;
		margin: 0 auto;
		display: none;
    }
   
	
	.sk-folding-cube {  
		-webkit-transform: rotateZ(45deg);
		transform: rotateZ(45deg);
	}

	.sk-folding-cube .sk-cube {
		float: left;
		width: 50%;
		height: 50%;
		position: relative;
		-webkit-transform: scale(1.1);
		-ms-transform: scale(1.1);
		transform: scale(1.1); 
	}
	.sk-folding-cube .sk-cube:before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: #fe482d;
		-webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
		animation: sk-foldCubeAngle 2.4s infinite linear both;
		-webkit-transform-origin: 100% 100%;
		-ms-transform-origin: 100% 100%;
		transform-origin: 100% 100%;
	}
	.sk-folding-cube .sk-cube2 {
		-webkit-transform: scale(1.1) rotateZ(90deg);
		transform: scale(1.1) rotateZ(90deg);
	}
	.sk-folding-cube .sk-cube3 {
		-webkit-transform: scale(1.1) rotateZ(180deg);
		transform: scale(1.1) rotateZ(180deg);
	}
	.sk-folding-cube .sk-cube4 {
		-webkit-transform: scale(1.1) rotateZ(270deg);
		transform: scale(1.1) rotateZ(270deg);
	}
	.sk-folding-cube .sk-cube2:before {
		-webkit-animation-delay: 0.3s;
		animation-delay: 0.3s;
	}
	.sk-folding-cube .sk-cube3:before {
		-webkit-animation-delay: 0.6s;
		animation-delay: 0.6s; 
	}
	.sk-folding-cube .sk-cube4:before {
		-webkit-animation-delay: 0.9s;
		animation-delay: 0.9s;
	}
	@-webkit-keyframes sk-foldCubeAngle {
		0%, 10% {
		-webkit-transform: perspective(140px) rotateX(-180deg);
		transform: perspective(140px) rotateX(-180deg);
		opacity: 0; 
		} 25%, 75% {
		-webkit-transform: perspective(140px) rotateX(0deg);
		transform: perspective(140px) rotateX(0deg);
		opacity: 1; 
		} 90%, 100% {
		-webkit-transform: perspective(140px) rotateY(180deg);
		transform: perspective(140px) rotateY(180deg);
		opacity: 0; 
		} 
	}

	@keyframes sk-foldCubeAngle {
		0%, 10% {
		-webkit-transform: perspective(140px) rotateX(-180deg);
		transform: perspective(140px) rotateX(-180deg);
		opacity: 0; 
		} 25%, 75% {
		-webkit-transform: perspective(140px) rotateX(0deg);
		transform: perspective(140px) rotateX(0deg);
		opacity: 1; 
		} 90%, 100% {
		-webkit-transform: perspective(140px) rotateY(180deg);
		transform: perspective(140px) rotateY(180deg);
		opacity: 0; 
		}
	}
	
	/* loader */
	
	.preloader .sk-folding-cube .sk-cube:before {
		background:#224a64; 
	}
	
	.preloader .modal-content > div {
		text-align: center;
		/*color: #fe482d;	*/	
		font-size: 1.35em;
		/*background: transparent url(../img/ajax-loader.gif) no-repeat 50% 100%;*/
    }
    
    .preloader .modal-content p {
		display: block;
		margin-bottom: 20px;
    }
    
   .preloader .modal-buttons {
	   display: none;
   }

/*****************************/
/*          10. misc         */
/*****************************/ 

  

	.el_one_one:before {
		content: "";
		display: block;
		padding-top: 100%;
	}	
	
	.el_rounded {
		-webkit-border-radius: 50% !important;
		-moz-border-radius: 50% !important;
		border-radius: 50% !important;
	}
	
	.el_one_one .image {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 0;
	}
	
	.el_box:before {
		content: "";
		display: block;
		padding-top: 100%;
	}
	
	.el_box .image
	/*.el_box img*/ {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 0;
	}
	
	.el_rounded {
		-webkit-border-radius: 50% !important;
		-moz-border-radius: 50% !important;
		border-radius: 50% !important;
	}
	
	.el_valign {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}

	.left {
		float: left;
	}
	
	.right {
		float: right;
	}
	
	.overflow:after {
		content: "";
		display: block; 
		height: 1px; 
		clear: both;               
	}   
    
    .el_justify {
        max-width: 100%;
        margin: 0 auto;      
        text-align: justify;           
    }
    
    .el_justify:after {
        content: "";
        width: 100%;
        height: 0;
        display: inline-block;   
        padding: 0;    
    }   
    
    .el_rounded {
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
    }
    
    .border_5 {
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
    }
    
    .border_5005 {
		-webkit-border-top-left-radius: 5px;
		-webkit-border-bottom-left-radius: 5px;
		-moz-border-radius-topleft: 5px;
		-moz-border-radius-bottomleft: 5px;
		border-top-left-radius: 5px;
		border-bottom-left-radius: 5px;
    }
    
    .border_0550 {
    	-webkit-border-top-right-radius: 5px;
		-webkit-border-bottom-right-radius: 5px;
		-moz-border-radius-topright: 5px;
		-moz-border-radius-bottomright: 5px;
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
	}
	
	@font-face {
	font-family: 'BebasNeue';
	src: 
		url('../font/BebasNeue.eot?#iefix') format('embedded-opentype'),  
		url('../font/BebasNeue.otf')  format('opentype'),
		url('../font/BebasNeue.woff') format('woff'), 
		url('../font/BebasNeue.ttf')  format('truetype'), 
		url('../font/BebasNeue.svg#BebasNeue') format('svg');
	font-weight: normal;
	font-style: normal;
	}

    
    
/*****************************/
/*          11. modal        */
/*****************************/

	.overlay_main {
		background: #fff !important;
	}

    .m_overlay {
        background: rgba(0,0,0,0.5);
        height: 100%;
        width: 100%;
        position: fixed;
        z-index: 11000;
        margin: 0;
        padding: 0;
        display: none;
        top: 0;
        left: 0;               
    }     

    .modal-box {       
    	width: 600px;    
        max-width: 95%;        
        min-width: 200px;      
        min-height: 150px;
        max-height: 80%;           
        margin: 0 auto;
        position: relative;        
        top: 50%;   
        padding-bottom: 20px;     
        transform: translateY(-50%);           
        background: #fff;      
       
    }
    
    .modal-content {  
    	padding-top: 40px;
    }
    
    .modal-buttons {
		position: relative;		
		height: 53px;
		margin-top: 80px;		
    }
    
    .modal-buttons a.button {		
		min-width: 100px;
		margin-right: 20px;		
		float: right;
    }
    
    .modal-buttons a.button_small:nth-child(2) {
		margin-right: 0;
		float: right;
    }
    
    /* lang selection */
    
    .modal-box.modal_green {
        background: #77b284;
        border-color: rgba(255,255,255,0.9);
        border: 8px solid #eeeed2;
        color:#eeeed2;
        text-align: center;
        font-size: 26px;
        font-family: 'BebasNeue';
    }
    
    
    
/* jquery-ui */

.ui-widget-content {
	background: #fff;
	border: 1px solid #bbd0e3;
	color: #858585;
	font-size: 18px;
	font-weight: 400;
	font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
}

.ui-widget-content li {
	padding: 5px 10px !important;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: none;
    border-bottom: 1px dotted #bbd0e3;
}

.ui-widget-content li:hover {
	background: none !important;
	border: none;
    border-bottom: 1px dotted #bbd0e3;
	
	font-weight: 700;
}
  
.ui-widget-content li:last-of-type {
	border:none;
}

.ui-state-focus {
	background: none !important;
	border: none;
    border-bottom: 1px dotted #bbd0e3;
}

/* tooltip */

.ui-tooltip {
	padding: 8px;
	position: absolute;
	z-index: 9999;
	max-width: 300px;	
	border-radius: 0;
	font-size: 16px !important;
}
body .ui-tooltip {
	border-width: 1px;
}

.ui-tooltip {
    max-width: 400px;
}

.ui-tooltip.preview {
	border: 4px solid rgba(255, 255, 255, 0.2);
	background: rgba(0,0,0,0.5);
	
	-webkit-background-clip: padding-box; 
	background-clip: padding-box;	
	
	color: #fff;	
}

