
h4 {
    font-weight: normal;
}

#menu_stanga_sus
{  
    border-radius: 2px;
	box-shadow: 2px 2px 2px #888888;
    position: absolute;
	z-index: 4;
	background-color: #FFFFFF;
	display: block;
	padding: 4px 4px;
	left: 2px;
    top: 2px;
}

#menu_dreapta_sus
{
    /*border-radius: 4px;
	box-shadow: 2px 2px 2px #888888;*/
	position: absolute;
	z-index: 4;
    top: 2px;
    right: 42px;
	display: block;
	padding: 4px 4px;
}

#menu_jos
{
    border-radius: 2px;
	box-shadow: 2px 2px 2px #888888;
	position: absolute;
	z-index: 4;
    bottom: 2px;
    left: 2px;
	background-color: #FFFFFF;
	display: block;
	padding: 4px 6px;
}

#menu_jos_2
{
    border-radius: 2px;
	box-shadow: 2px 2px 2px #888888;
	position: absolute;
	z-index: 4;
    bottom: 2px;
    right: 2px;
	background-color: #FFFFFF;
	display: block;
	padding: 2px 2px;
}


.slidingDiv_stanga {
    border-radius: 2px;
	box-shadow: 2px 2px 2px #888888;
	position: absolute;
	z-index: 8;
	background-color: #FFFFFF;
	display: block;
	padding: 8px 8px;
}

.slidingDiv_stanga_2 {
    border-radius: 2px;
	box-shadow: 2px 2px 2px #888888;
	position: absolute;
	z-index: 8;
	background-color: #FFFFFF;
	display: block;
	padding: 8px 8px;
}

.slidingDiv_dreapta {
    border-radius: 2px;
	box-shadow: 2px 2px 2px #888888;
	position: absolute;
	z-index: 8;
	background-color: #FFFFFF;
	display: block;
	width: 272px;
	overflow: auto;
}





/* smartphones, iPhone, portrait 480x320 phones */
@media screen and (min-width:320px) 	{
html, body {
font-size: 12px;
}
.button {
/*display: none;*/
}
#menu_stanga_sus
{  
	width: 250px;
	height: 32px;
	/*top: 6px;
    left: 6px;*/
}
#menu_dreapta_sus
{
	width: 128px;
	height: 32px;
	/*top: 6px;*/
}
#menu_jos
{
	/*width: 142px;*/
	height: 20px;
}
#menu_jos_2
{
	/*width: 142px;*/
	height: 36px;
    right: 52px;
    bottom: 24px;
}
.slidingDiv_stanga {
    top: 52px;
    left: 8px;
	width: 250px;
	/*height: 384px;*/
	padding: 4px 4px;
}
.slidingDiv_stanga_2 {
    top: 52px;
    left: 8px;
	width: 250px;
	height: 40px;
	padding: 4px 4px;
}
.slidingDiv_dreapta {
    top: 52px;
    right: 8px;
	width: 280px;
	/*height: 384px;*/
	padding: 4px 4px;
}
						}


/* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
@media screen and (min-width:481px) {  }


/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
@media screen and (min-width:641px) {  }


/* tablet, landscape iPad, lo-res laptops ands desktops */
@media screen and (min-width:961px) {
div .button {
display: block;
}
html, body {
font-size: 14px;
}
#menu_stanga_sus
{  
	width: 250px;
	height: 40px;
	top: 8px;
    left: 8px;
}
#menu_dreapta_sus
{
	width: 250px;
	height: 40px;
}
#menu_jos
{
	width: 132px;
	height: 20px;
}
.slidingDiv_stanga {
    top: 60px;
    left: 8px;
	width: 250px;
	height: 420px;
}
.slidingDiv_stanga_2 {
    top: 60px;
    left: 8px;
	width: 322px;

}
.slidingDiv_dreapta {
    top: 58px;
    right: 8px;
	width: 272px;
}
}


/* big landscape tablets, laptops, and desktops */
@media screen and (min-width:1025px) {
div .button {
display: block;
}
html, body {
font-size: 14px;
}
#menu_stanga_sus
{  
	width: 250px;
	height: 32px;
	top: 8px;
    left: 4px;
}
#menu_dreapta_sus
{
	width: 160px;
}
#menu_jos
{
	width: 132px;
	height: 20px;
}
.slidingDiv_stanga {
    top: 60px;
    left: 4px;
	width: 252px;
	height: calc(100% - 160px)
}
.slidingDiv_stanga_2 {
    top: 60px;
    left: 4px;
	width: 250px;
	height: 40px;
}
.slidingDiv_dreapta {
    top: 56px;
    right: 4px;
	width: 272px;
	height: calc(100% - 160px);
}
}


/* hi-res laptops and desktops */
@media screen and (min-width:1281px) { 

 }
 
 
 

 
@media all {
	.lightbox { display: none;}
	.fixwidth {
		background: rgba(256,256,256, 0.8);
	}
	.fixwidth .featherlight-content {
		width: 500px;
		padding: 25px;
		color: #fff;
		background: #111;
	}
	.fixwidth .featherlight-close {
		color: #fff;
		background: #333;
	}

}




div .button {
	margin: 0 15px 15px 0;
}

.button {
	display: inline-block;
	background-color: #f5f5f5;
	background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
	background-image: -moz-linear-gradient(top,#f5f5f5,#f1f1f1);
	background-image: -ms-linear-gradient(top,#f5f5f5,#f1f1f1);
	background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
	color: #444;
	
	border: 1px solid #dcdcdc;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	
	cursor: default;
	/*font-size: 11px;*/
	font-weight: bold;
	text-align: center;
	height: 27px;
	line-height: 27px;
	min-width: 54px;
	padding: 0 8px;
	text-decoration: none;
}
.button:hover {
	background-color: #F8F8F8;
	background-image: -webkit-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: -moz-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: -ms-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: -o-linear-gradient(top,#f8f8f8,#f1f1f1);
	
	border: 1px solid #C6C6C6;
	color: #333;
	
	-webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1);
	-moz-box-shadow: 0px 1px 1px rgba(0,0,0,.1);
	box-shadow: 0px 1px 1px rgba(0,0,0,.1);
}

/* blue */
.button.blue {
	background-color: #009999/*#4D90FE*/;
	background-image: -webkit-linear-gradient(top,#009999,#009999);
	background-image: -moz-linear-gradient(top,#009999,#009999);
	background-image: -ms-linear-gradient(top,#009999,#009999);
	background-image: -o-linear-gradient(top,#009999,#009999);

	border: 1px solid #ffffff;
	color: white;
}
.button.blue:hover {
	border: 1px solid #ffffff;
	
	background-color: #009999/*#357AE8*/;
	background-image: -webkit-linear-gradient(top,#009999,#009999);
	background-image: -moz-linear-gradient(top,#009999,#009999);
	background-image: -ms-linear-gradient(top,#009999,#009999);
	background-image: -o-linear-gradient(top,#009999,#009999);
	
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.1);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.1);
	box-shadow: 0 1px 1px rgba(0,0,0,.1);
}

/* red */
.button.red {
	background-color: #D14836;
	background-image: -webkit-linear-gradient(top,#dd4b39,#d14836);
	background-image: -moz-linear-gradient(top,#dd4b39,#d14836);
	background-image: -ms-linear-gradient(top,#dd4b39,#d14836);
	background-image: -o-linear-gradient(top,#dd4b39,#d14836);
	
	border: 1px solid transparent;
	color: white;
	text-shadow: 0 1px rgba(0, 0, 0, 0.1);
}
.button.red:hover {
	background-color: #C53727;
	background-image: -webkit-linear-gradient(top,#dd4b39,#c53727);
	background-image: -moz-linear-gradient(top,#dd4b39,#c53727);
	background-image: -ms-linear-gradient(top,#dd4b39,#c53727);
	background-image: -o-linear-gradient(top,#dd4b39,#c53727);
}

/* green */
.button.green {
	background-color: #3D9400;
	background-image: -webkit-linear-gradient(top,#3d9400,#398a00);
	background-image: -moz-linear-gradient(top,#3d9400,#398a00);
	background-image: -ms-linear-gradient(top,#3d9400,#398a00);
	background-image: -o-linear-gradient(top,#3d9400,#398a00);
	
	border: 1px solid #29691D;
	color: white;
	text-shadow: 0 1px rgba(0, 0, 0, 0.1);
}
.button.green:hover {
	background-color: #368200;
	background-image: -webkit-linear-gradient(top,#3d9400,#368200);
	background-image: -moz-linear-gradient(top,#3d9400,#368200);
	background-image: -ms-linear-gradient(top,#3d9400,#368200);
	background-image: -o-linear-gradient(top,#3d9400,#368200);
	
	border: 1px solid #2D6200;
	text-shadow: 0 1px rgba(0, 0, 0, 0.3);
}

/* default */
.button.default:active {
	-webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,.1);
	-moz-box-shadow: inset 0px 1px 2px rgba(0,0,0,.1);
	box-shadow: inset 0px 1px 2px rgba(0,0,0,.1);
	color: black;
}
.button.blue:active, .button.red:active, .button.green:active {
	-webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,.3);
	-moz-box-shadow: inset 0px 1px 2px rgba(0,0,0,.3);
	box-shadow: inset 0px 1px 2px rgba(0,0,0,.3);
}


.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 96px;
    background-color: #009999;
    color: #fff;
    text-align: center;
    padding: 4px;
    border-radius: 4px;
	font-size: 14px;
    position: absolute;
	margin-top: 42px;
	margin-left: -24px;
    z-index: 16;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}







/**
 * Featherlight 
**/
@media all {
	.featherlight {
		display: none;
		
		 border-radius: 5px;

		/* dimensions: spanning the background from edge to edge */
		position:fixed;
		top: 0; right: 0; bottom: 0; left: 0;
		z-index: 12; /* z-index needs to be >= elements on the site. */

		/* position: centering content */
		text-align: center;

		/* insures that the ::before pseudo element doesn't force wrap with fixed width content; */
		white-space: nowrap;

		/* styling */
		cursor: pointer;
		background: #333;
		/* IE8 "hack" for nested featherlights */
		background: rgba(0, 0, 0, 0);
	}

	/* support for nested featherlights. Does not work in IE8 (use JS to fix) */
	.featherlight:last-of-type {
		background: rgba(0, 0, 0, 0.8);
	}

	.featherlight:before {
		/* position: trick to center content vertically */
		content: '';
		display: inline-block;
		height: 100%;
		vertical-align: middle;
		margin-right: -0.25em;
	}

	.featherlight .featherlight-content {
		/* make content container for positioned elements (close button) */
		position: relative;

		/* position: centering vertical and horizontal */
		text-align: left;
		vertical-align: middle;
		display: inline-block;

		/* dimensions: cut off images */
		overflow: auto;
		padding: 25px 25px 0;
		border-bottom: 25px solid transparent;

		/* dimensions: handling large content */
		margin-left: 5%;
		margin-right: 5%;
		max-height: 95%;

		/* styling */
		background: #fff;
		cursor: auto;

		/* reset white-space wrapping */
		white-space: normal;
	}

	/* contains the content */
	.featherlight .featherlight-inner {
		/* make sure its visible */
		display: block;
	}

	.featherlight .featherlight-close-icon {
		/* position: centering vertical and horizontal */
		position: absolute;
		z-index: 9999;
		top: 0;
		right: 0;

		/* dimensions: 25px x 25px */
		line-height: 25px;
		width: 25px;

		/* styling */
		cursor: pointer;
		text-align: center;
		font-family: Arial, sans-serif;
		background: #fff; /* Set the background in case it overlaps the content */
		background: rgba(255, 255, 255, 0.3);
		color: #000;
	}


	.featherlight .featherlight-image {
		/* styling */
		width: 100%;
	}


	.featherlight-iframe .featherlight-content {
		/* removed the border for image croping since iframe is edge to edge */
		border-bottom: 0;
		padding: 0;
	}

	.featherlight iframe {
		/* styling */
		border: none;
	}

	.featherlight * { /* See https://github.com/noelboss/featherlight/issues/42 */
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
	.featherlight .featherlight-content {
		/* dimensions: maximize lightbox with for small screens */
		margin-left: 10px;
		margin-right: 10px;
		max-height: 98%;
        overflow: hidden;
		padding: 10px 10px 0;
		border-bottom: 10px solid transparent;
	}
}




