/*
Theme Name: Impreza child 101cursuri.ro
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/
.center {text-align:center;margin:0 auto;}

/*-------
Admin BAR 
---------*/
 

/*--------------------------------------------------
================== Searh custom style ==============
---------------------------------------------------- */
.w-search-form-h {
    border: 1px solid #e2e2e2;
}
.w-search-form-btn {
    border-left: 1px solid #e2e2e2;
}

/*---------------------------------------
------------- MAIN MENU -----------------
--------------------------------------- */
.header_hor .l-subheader-cell.at_left .w-nav:first-child .w-nav-control {
    margin-left: -0.6rem;
}
.w-nav-control {
    z-index:999;
    position:relative;
}

.w-nav-list {
    position:relative; 
    text-align:center;
}
.w-nav {
    background: #000000;
    padding: 0px 0px 0px 8px;
	  /*border-radius: 0px 3px 3px 0px;
-moz-border-radius: 0px 3px 3px 0px;
-webkit-border-radius: 0px 3px 3px 0px;
border: 0px solid #000000;*/
}
.w-nav-control {  padding: 0 0.7rem 0px 0.8rem !important;}
.w-nav-control:focus ~ .w-nav-list {
  background: transparent !important;
	  animation-name: elemente-lista;
	animation-duration: .4s;
	/* -webkit-animation-delay: .1s;  Safari 4.0 - 8.0 
    animation-delay: .1s;*/
	  }
/*.w-nav {line-height: 100px;}*/
.w-nav:hover::after {
  content: "MENIU";
 position:absolute;
  top: 0px;
  left: 50px;
  color: #000000;
   animation-duration: .3s;
  animation-name: nume-meniu;
}
.w-nav-control:focus ~ .w-nav-list li {
  color:#ffffff;
	  }    
.w-nav-control:focus ~ .w-nav-list::after {
    position:fixed;
    content:"";
    background:rgba(0, 0, 0, 0.87);
    width:100%;
    height:100%;
    left:0px;
    top:0px;
    z-index:-1;
  	transition:all .3s;
  	animation-name: fundal-meniu;
  	animation-duration: .4s;
    }
.w-nav-icon {color: #ffffff;}

@keyframes fundal-meniu {
   from {height:0%;}
    to {height:100%;}
}
@keyframes elemente-lista {
   from {margin-top:45px;}
    to {margin-top:inherit;}
}
@keyframes nume-meniu {
  from{opacity: 0; left:70px;}
  to{opacity: 1; left:50px;}
}

 /*Strip the ul of padding and list styling*/
#menu {
    list-style-type:none;
    margin:0;
    padding:0;
    display: none;
    position: fixed;
    right: 43px;
}
/*Create a horizontal list with spacing*/
#menu li {
    display:inline-block;
   margin-right:-4px;
}
/*Style for menu links*/
#menu li a {
    display:block;
    min-width:50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    background: #e2e2e2;
    text-decoration: none;
}
/*Hover state for top level links*/
#menu li:hover a {
    background: #000000;
}
/*Style 'show menu' label button and hide it by default*/
.show-menu {
    text-decoration: none;
    color: #818181;
    background: #d1d1d1;
    text-align: center;
    padding: 13px;
    display:block;
    float:right;
}
/*Hide checkbox*/
.meniu-social input[type=checkbox]{
    display: none;
}
/*Show menu when invisible checkbox is checked*/
.meniu-social input[type=checkbox]:checked ~ #menu{
    display: block;
    animation-name:social-animation;
    animation-duration:.3s;
}
@keyframes social-animation {
    from{margin-top:-35px;}
    to{margin-top:0px;}
}
.meniu-social {    
	display: flex;
    justify-content: flex-end;
    height: 50px;
    align-items: center;
}
#btn-social {
    cursor:pointer;
}
#social-links {
    display:flex;
    justify-content: flex-end;
    height: 50px;
    align-items: center;
	visibility:hidden;
	
}
#social-links.vizibil {
	visibility:visible;
	animation-name:social-animation;
    animation-duration:.3s;
}
.item-social, .item-icon {
    display: block;
    padding: 1em;
    width: 50px;
    background: #dddddd;
    height: 50px;
    align-items: center;
    text-align: center;
    margin:0 auto;
}
#btn-social .fa-share-alt.close::before {content:"\f00d"; animation-name:closeBtnAnimation; animation-duration:.3s;}
@keyframes closeBtnAnimation {
	from{margin-left:10px;}
	to{margin-left:0px;}
}
/* ==========================================================
================== IMAGE BOX ==================
============================================================= */

.img-box {
	position:relative; 
	height:310px;
	margin-bottom: 40px;
}
.img-box .txt-box {
    position: absolute;
  top: 100px;
    left: 15%;
    width: 70%;
    padding: 15px 7px 15px 7px;
    box-sizing: border-box;
}
.txt-box h2 {
	font-size: 19px;
    text-transform: uppercase;
}
.txt-box p {font-size:14px;}



/*---------------------------------------
------------- Cookie -----------------
--------------------------------------- */


#cookie-notice {
background-color: rgba(0, 0, 0, 0.79) !important;
}
#cn-notice-text {
    color: #ffffff;
}
#cookie-notice .button {
    display: block;
    width: 20%;
    text-align: center;
    margin: 0 auto;
}

/* ==========================================================================
=============================== RESPONSIVE ==================================
============================================================================= */

@media screen and (min-width:901px) {
  .header_hor .l-subheader.at_middle {
    height: 50px !important;
	}
  	/*---------------------------------------
	------------- MAIN MENU -----------------
	--------------------------------------- */
	.w-nav {
  /*	margin-left: -1.47rem !important; */
    margin-right: 1.47rem !important;
	  }
}

@media screen and (max-width:900px) {
    /*---------------------------------------
	------------- MAIN MENU -----------------
	--------------------------------------- */
  	.meniu-social { 
	 	position: absolute;
    	right: -13px;
    	top: 0px; 
	}
  .w-nav { margin-left: -15px !important; }
	.w-nav:hover::after {left: 35px;}
	.img-box { height:auto; }
	.img-box .txt-box {
    bottom:0px;
	top:inherit;
    left: 10%;
    width: 80%;
    }
	/*---------------------------------------
	------------- Cookie -----------------
	--------------------------------------- */
	#cookie-notice .button {width: 60%;}
}

@media screen and (max-width:767px) {
   /*---------------------------------------
	------------- MAIN MENU -----------------
	--------------------------------------- */
  /*.l-subheader-cell.at_left {margin-right: 92px;}*/
	.w-nav {margin-left: -13px !important;}
	.w-nav-control { padding: 0 1.1rem 0px 1.2rem !important;}
	.w-nav:hover::after {left: 38px;}
	.show-menu {
		padding: 0px 20px 0px 20px;
		margin-top: -0.002em;
  		line-height: 50px;
  	}
	#menu { right: 1px; top: 51px; }
	#menu li { display: block; margin: 0px -4px; }
	@keyframes social-animation {
		from {right:-15px;}
		to {right:1px;}
	}
}

@media screen and (max-width:420px) {
   /*---------------------------------------
	------------- HOMEPAGE -----------------
	--------------------------------------- */
  .home-servicii h2 {font-size:25px !important;}
}