/*DIN PAGE_GAME*/


/*Pentru loaderul cand schimbi datele profil*/
.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/*end pentru loaderul cand schimbi datele profil*/

/*pentru useri oline si anonimi pe site*/
.counting-container{
	display: flex;	
}
.counting-box{
	border: 1px solid #D1C2BA;
	text-align: center;
	width: 25%;
	margin: 10px;	
	flex: auto;
}
.counting-box img{
	width: 40%;
}
.counting-box p{
	font-family: 'Roboto Condensed', sans-serif;
	color: #000;
}
.count-this{
  color:#000;
}

.count-name{
  color:#000;
}

#encounter{
	border-bottom: 2px solid #3185E8;
}
#battles{
	border-bottom: 2px solid #D9884D;
}
#locations{
	border-bottom: 2px solid #D95E4D;
}
.fa {font-size:150px;
color: #000;	
}

.counter-item {
    position: relative;
    text-align: center;
}

    .counter-item h5 {
        text-align: center;
        margin-bottom: 0px;
    }

    .counter-item i {
        font-size: 40px;
    }

.timer {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    line-height: 80px;
}	
/*end pentru useri oline si anonimi pe site*/


#img_user:hover{
   background:linear-gradient(to bottom, rgb(14, 17, 30) 0%,rgb(2, 2, 2) 81%);
}
#lista_prieteni_css:hover{
   background:linear-gradient(to bottom, rgb(14, 17, 30) 0%,rgb(2, 2, 2) 81%);
}
#lista_mesaje_css:hover{
   background:linear-gradient(to bottom, rgb(14, 17, 30) 0%,rgb(2, 2, 2) 81%);
}
/*END DIN PAGE_GAME*/


/*pentru ascuns elementele de la jocuri*/
.hidden_elemente{
   display: none;
}	

.shadow-box {
  display:inline-block;
  margin:1em;
  width:100%;
  text-align:center;
  border-radius:20px;
  box-shadow:
    0 0 0 1px,
    -2px -2px 3px #111, 
    1px 1px 3px gray,
    inset 0 0 0 1px,
    inset 1px 1px 2px 1px ,    inset -1px -1px 2px 1px  lightgray ,
    inset 0 0 0 500px rgba(0,0,0,0.25);
  border:10px rgba(0,0,0,0) solid;  
  background:
    linear-gradient(to bottom, transparent, rgba(255,255,255,0.25),transparent),
    radial-gradient( farthest-side ellipse at bottom right,rgba(255,255,255,0.5),
    rgba(255,255,255,0.1) 50%, 
    transparent 49%) no-repeat bottom right;
  background-size:auto auto, 200% 150%;
  font-weight:bold;
  font-family:"verdana";
  position:relative;
  overflow:hidden
    }
.box {
  display:inline-block;
  line-height:1.4em;
  vertical-align:middle;
  position:relative;
  z-index:3;
  padding:1em;
}
.red {
  background-color :red ;
}
.green {
  background-color:green;
}
.blue {
  background-color:blue;
}
.pink {
  background-color:pink;
}
.gray {
  background-color:gray;
}
.yellow {
  background-color:yellow;
}


/*end pentru ascuns elementele de la jocuri*/


/*footer seo*/
.texto {
  color: transparent;
  text-align: center;
  text-shadow: 0 0 100px #FF0000;
  animation: an 5s ease-out 0s infinite alternate;
}
@keyframes an {
  0% {text-shadow: 0 100vh 60px #FF0000;}
  80% {text-shadow: 0 0 3px #FF0000;}
  100% {text-shadow: 0 0 0px #FF0000;}
}
/*end footer seo*/

/* inceepe icons jocuri*/

/*PENTRU ICONITELE CU FACEBOOK TWITER ETC*/	
.section {
  padding: 1px;
  transition: all 1.5s ease .1s;
}
.section p {
  padding: 1px;
  transition: all 1.5s ease .1s;
}
.section:hover {
  transform:   translateY(-15px);
}

.section:hover p {
  background: #c30a0a87;
  color:#F21414;	
}
.section .ui-box {
  position: relative;
  padding: 5px 10px 10px;
  transition: all 1.5s ease .1s;
}
.section:hover .ui-box {
  transform:   translateY(-10px);
}
.section .bottom-strip:before,.section .bottom-strip:after {
    content: '';
    position: absolute;
}

.section .bottom-strip:after {
    border-bottom: 3px solid #F06292;
/*     z-index:-1; */
    left: 0;
    right: 100%;
    bottom: 0;
    -webkit-transition-property: all;
    -moz-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-timing-function: cubic-bezier(0, 0.98, 0.51, 0.93);
    -moz-transition-timing-function: cubic-bezier(0, 0.98, 0.51, 0.93);
    -o-transition-timing-function: cubic-bezier(0, 0.98, 0.51, 0.93);
    transition-timing-function: cubic-bezier(0, 0.98, 0.51, 0.93);
    -webkit-transition-duration: 800ms;
    -moz-transition-duration: 800ms;
    -o-transition-duration: 800ms;
    transition-duration: 800ms;
    -webkit-transition-delay: 0.4s;
    -moz-transition-delay: 0.4s;
    -o-transition-delay: 0.4s;
    transition-delay: 0.4s;
/*   -webkit-box-shadow: 0 0 2px 2px rgba(205,9,244,0.5) ;
box-shadow: 0 0 2px 2px rgba(205,9,244,0.8) ; */
}

.section:hover .bottom-strip:after {
    right: 0%;
}

.move p{
  display:inline-block;
  position:relative;
  background: none;
  margin:0.4em;  padding:1em;
  cursor:pointer;
  z-index:0;

}
.move p:before {
  content: "";
  z-index:-1;
  top: 0;  left: 0;  right: 0;  bottom: 0;
  background: #494a4e;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s ease-out;
}
.move:hover p:before{transform: scaleX(1);}
/*END PENTRU ICONITELE CU FACEBOOK TWITER ETC*/

	
/*pentru nav bar cu cele 3 butoane dupa ce isi pierde focusul*/	
.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    color: #108B04;
    background-color: #000;
}
/*end pentru nav bar cu cele 3 butoane dupa ce isi pierde focusul*/		


/*STYLE PENTRU LINKURILE LA JOCURI CU POZELE*/	

.box{
    text-align: center;
    overflow: hidden;
    /*box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); */
    position: relative;
	padding:1em;
}
	
.box:before{
    content: "";
    width: 90%;
    height: 92%;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    /*top: 0;
    left: 0; */
    opacity: 0;
    transition: all 0.15s ease 0s;
}
.box:hover:before{
    opacity: 1;
}
	
.box img{
    width: 100%;
    height: auto;
}
	
.box .box-content{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
}
.box .box-content:before,
.box .box-content:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    transition: all 0.7s ease 0s;
}
.box .box-content:before{
  /*  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5); */
    transform: scale(0, 1);
    transform-origin: 0 0 0;
}
.box .box-content:after{
   /* border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.5); */
    transform: scale(1, 0);
    transform-origin: 100% 0 0;
}
.box:hover .box-content:before,
.box:hover .box-content:after{
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.5s;	
}
.box .title{
    font-size: 0.5em;
    font-weight: bold;
    color: #fff;
    margin-top: 15px;
    opacity: 0;
    transform: translate3d(0px, -50px, 0px);
    transition: transform 0.5s ease 0s;
}
.box:hover .title{
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
}
.box .post{
    display: inline-block;
    font-size: 1em;
    color: #fff;
    text-transform: capitalize;
    padding: 4px;
	background: linear-gradient(to right,rgba(255, 255, 0, 1), rgba(0,0,0,0.5));
    opacity: 0;
    border-radius: 0 19px 0 19px;
    transform: translate3d(0px, -50px, 0px);
    transition: all 0.7s ease 0s;
	margin-top: 1%;
}
.box:hover .post{
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
    transition-delay: 0.15s;
}
.box .icon{
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    bottom: -10px;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: all 0.7s ease 0s;
}
.box:hover .icon{
    bottom: 5px;
    opacity: 1;
    transition-delay: 0.15s;
}
	
.box .icon li{
    display: inline-block;
}
	
.box .icon li .linkuri{
    display: block;
    width: 2.0em;
    height: 2.0em;
    line-height: 40px;
    border: 1px solid #fff;
    border-radius: 0 16px 0 16px;
    font-size: 1.3em;
    color: #fff;
    margin-right: 5px;
    transition: all 0.4s ease 0s;
}
.box .icon li .linkuri:hover{
    background: #d79719;
    border-color: #d79719;
}

/*pentru butonul play*/

.box .icon1{
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    /*bottom: 50px;*/
	top:50%;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: all 0.7s ease 0s;
}
.box:hover .icon1{
    bottom: 50px;
    opacity: 1;
    transition-delay: 0.15s;
}
	
.box .icon1 li{
    display: inline-block;
}
	
.box .icon1 li .linkuri{
    display: block;
    width: 4.5em;
    height: 2.5em;
    line-height: 40px;
    border: 1px solid #fff;
    border-radius: 0 16px 0 16px;
    font-size: 1.3em;
    color: #fff;
    margin-right: 5px;
    transition: all 0.4s ease 0s;
}
.box .icon1 li .linkuri:hover{
    background: #d79719;
    border-color: #d79719;
}

/*@media only screen and (max-width:990px){
    .box{ margin-bottom: 30px; }
} */

.btn_play{
  width:15em;
  height:3em;	
  background: linear-gradient(to right,rgba(0%, 100%, 0%, 1), rgba(0,0,0,0));
 /* border-color:linear-gradient(to right,rgba(0%, 100%, 0%, 1), rgba(0,0,0,0)); */
  color: #fff;
  border-radius:0px 25px 0px 25px;
  margin-bottom: 20%	
}
.btn_play:hover,
.btn_play.active {
  text-shadow: 0 1px 0 #b12f27;
  background-color: #f64136;
  border-color: #b12f27;
}

.btn_play span { color: #f64136; }
.btn_play:active span {
  color: #b12f27;
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

	
.centered {
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translate(-50%, -50%);	
  background-color: #0e0e0d29;
  font-size:24px;
}	
	/*end icon jocuri*/



/*togle button moderat*/

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*end togle btn moderat*/

/*pentru divul de la chat lobbi unde se vede ce a scris userul*/
.div_lobbi{	
   width:auto;
   height:auto;
   color:#fff;
   font-size: 12px;
}
.data_to_lobbi{
   display:inline;
   color:#abad9f;
   font-size:11px;	
}

.avatar_lobbi{
  border-radius:50%;	
  display:inline;
  width:360px;
  height:30px;
}
/*end divul de la chat*/




/*-------------------------------------------PENTRU LOBI TEST-------------------------------------------------------------*/

.title_utilizatori{
	color:#fff;
    text-align:center; 
	background-image: linear-gradient(to bottom, #242424 0%, #000 100%);
    font-size: x-small;
    border-radius: 50px;
}

.row_online{
	background-image: linear-gradient(to bottom, #650909 10%, #000 100%);
	color:#fff;
	cursor:pointer;
	text-align:center;
	box-shadow: 0px 0px 10px grey; 
	border-radius:3px;
}
.row_online:hover{
	background-image: linear-gradient(to bottom,  #000 100%, #30cfd0 10%, #000 100%);
}

.alaturate_s {
	background-image: linear-gradient(to bottom, #30cfd0 10%, #000 100%);
	border-radius:8px;
}
.alaturate_s:hover{
	background-image: linear-gradient(to bottom, #F1103B  90%, #30cfd0 10%, #000 100%);
}

.alaturate_m {
	background-image: linear-gradient(to bottom, #30cfd0 10%, #000 100%);
	border-radius:8px;
}
.alaturate_m:hover{
	background-image: linear-gradient(to bottom, #F1103B  90%, #30cfd0 10%, #000 100%);
}



/*
.alaturate_s {
	background-image: linear-gradient(to bottom, #30cfd0 10%, #000 100%);
	border-radius:8px;
}
.alaturate_s:hover{
	background-image: linear-gradient(to bottom, #F1103B  90%, #30cfd0 10%, #000 100%);
}
.row_online{
	background-image: linear-gradient(to bottom, #30cfd0 10%, #000 100%);
	color:#fff;
	cursor:pointer;
}
.row_online:hover{
	background-image: linear-gradient(to bottom,  #000 100%, #30cfd0 10%, #000 100%);
}
#useri_online_joc_s:hover{
   background-image: linear-gradient(to bottom,  #000 100%, #30cfd0 10%, #000 100%);
}
.title_utilizatori{
	color:#fff;
    text-align:center; 
	background-image: linear-gradient(to bottom, #30cfd0 0%, #330867 100%);
}
.jocuri_active{
	margin:12px 5px 5px 5px;
	background:#fff;
	float:left;
	width:60%;
	height:400px;
	border:2px solid #000;
	overflow:auto;
	}

.jocuri_active_v{
	margin:12px 5px 5px 5px;
	background:#fff;
	float:left;
	width:60%;
	height:400px;
	border:2px solid #000;
	overflow:hidden;
	}
.ascunde_creare_joc{
    visibility: hidden;
    position:absolute;
    left:-100px;	
}
.creaza_joc{
	padding:30px 30px 30px 30px;
	margin:12px 5px 5px 5px;
	background:#fff;
	float:left;
	width:60%;
	height:400px;
	border:2px solid #000;
	overflow:auto;
	}

.utilizatori_activi{
  text-align:center; 
  background-image: linear-gradient(to bottom, #30cfd0 0%, #330867 100%);
  margin:12px 0px 5px 10px;
  float:left;
  width:38%;
  height:600px;	
  border:2px solid #000;
  background:#fff;
  overflow:auto;	
}

.chat_lobby{
  background-image: linear-gradient(to bottom, #30cfd0 0%, #000 100%);
  float:left;
  width:60%; 
  margin-top:-165px;	
  height:290px;
  margin-left: 5px;
}

.detalii_lobbi{
  background-image: linear-gradient(to bottom, #30cfd0 0%, #000 100%);	
  margin:5px 3px 10px 10px;
  float:right;
  width:38%;
  height:120px;
  border:2px solid #000;
  background:#fff;
}

#chat_input_lobbi{
  width:90%;
}

#rank_1{
  padding:10px 20px 20px 40px;
	color:#abad9f;
}

#rank_2{
  padding:10px 20px 20px 20px;
	color:#abad9f;
}


@media screen and (max-width: 1024px) {

.jocuri_active{
	margin:12px 5px 5px 5px;
	background:#fff;
	float:left;
	width:60%;
	height:400px;
	border:2px solid #000;
	overflow:auto;
	}
	
.jocuri_active_v{
	margin:12px 5px 5px 5px;
	background:#fff;
	float:left;
	width:60%;
	height:400px;
	border:2px solid #000;
	overflow:hidden;
	}	
.ascunde_creare_joc{
    visibility: hidden;
    position:absolute;
    left:0;	
}
.creaza_joc{
	padding:30px 30px 30px 30px;
	margin:12px 5px 5px 5px;
	background:#fff;
	float:left;
	width:60%;
	height:400px;
	border:2px solid #000;
	overflow:auto;
	}

.utilizatori_activi{
  text-align:center; 
  background-image: linear-gradient(to bottom, #30cfd0 0%, #330867 100%);
  margin:12px 0px 5px 10px;
  float:left;
  width:37%;
  height:600px;	
  border:2px solid #000;
  background:#fff;
  overflow:auto;	
}

.chat_lobby{
  background-image: linear-gradient(to bottom, #30cfd0 0%, #000 100%);
  float:left;
  width:60%; 
  margin-top:-165px;	
  height:290px;
  margin-left: 5px;
}

.detalii_lobbi{
  background-image: linear-gradient(to bottom, #30cfd0 0%, #000 100%);
  margin:5px 8px 10px 0px;
  float:right;
  width:37%;
  height:120px;
  border:2px solid #000;
  background:#fff;
}

#chat_input_lobbi{
  width:82%;
}

#rank_1{
  padding:10px 1px 1px 20px;
  width:49%;
  float:left;
	color:#abad9f;
	
}

#rank_2{
  padding:10px 1px 1px 1px;
  width:49%;
  float:right;
	color:#abad9f;
}	
			
}



@media screen and (max-width: 700px) {
 .jocuri_active{
	 margin-left:0px;
	background:#fff;
	width:100%;
	height:400px;
	border:2px solid #000;
	overflow:auto;
	}

 .jocuri_active_v{
	 margin-left:0px;
	background:#fff;
	width:100%;
	height:400px;
	border:2px solid #000;
	overflow:hidden;
	}
	
.creaza_joc{
	padding:30px 30px 30px 30px;
	margin-left:0px;
	background:#fff;
	width:100%;
	height:400px;
	border:2px solid #000;
	overflow:auto;
	}	
	
.utilizatori_activi{
  text-align:center;
  background-image: linear-gradient(to bottom, #30cfd0 0%, #330867 100%);
  margin-top:35px;	
  margin-left:0px;
  width:100%;
  height:400px;	
  border:2px solid #000;
  background:#fff;
  overflow:auto;	
}	

.chat_lobby{
  background-image: linear-gradient(to bottom, #30cfd0 0%, #000 100%);
  margin-top:10px;	
  margin-left:0px;
  width:100%; 	
  height:290px;
}

.detalii_lobbi{
  background-image: linear-gradient(to bottom, #30cfd0 0%, #000 100%);
  margin-top:10px;
  margin-left:10px;
  width:100%;
  height:90px;
  border:2px solid #000;
  background:#fff;
  margin-bottom:70px;	
}	

#chat_input_lobbi{
  width:75%;
  display:inline-block;	
}	

#rank_1{
  padding:1px 1px 1px 20px;
  width:49%;
  float:left;
	color:#abad9f;
	
}

#rank_2{
  padding:1px 1px 1px 1px;
  width:49%;
  float:right;
	color:#abad9f;
}	
	
}


------------------------------------------------------------------END LOBBI TEST----------------------------------------*/

.code_capcha{
	  position:absolute;
	  z-index:1;
	  font-size:34px;
	  letter-spacing:15px;
	  left:40px;
	  top:15px;
  }



/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
.sidenav {
    height: 73%;
    width: 0;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    margin-top: 115px;
    margin-bottom: 190px;
}

.prieteni{
    text-decoration: none;
    font-size: 15px;
    color: #818181;
    display: block;
    transition: 0.3s;
	margin-left: 40px;
    margin-top: -25px;
}	
	
} 

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
	
} 

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
	
	
} 

#badge_are_mesaje{
    position:absolute;
    margin-top;-10px;
    margin-left:-11px;
	background-color:rgba(0, 0, 0, 0);	
	color:red;
	}
#badge_fara_mesaje{	 
	background-color:rgba(0, 0, 0, 0);	
	color:rgba(0, 0, 8, 0);
	}
.time{  
	font-size:10px; 	
	}

/*--------------------
Body
--------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

#back_chat{
   
    width:100%;
    height: 83%;
    /*background: linear-gradient(135deg, #044f48, #2a7561);*/
    background-size: cover;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 1.3;
    overflow: hidden;
	
}

/*PENRTU EMOTICURI CHAT*/
.emoticuri{
    background-color:rgba(0,0,0,0.0);
	border:0px;
	float:right; 	 
	margin-bottom:-30px;
	position:relative;
	margin-right:20%;	
	}

.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu	{
	background-color: rgba(0, 0, 0, 0.3);
	float:right;
	width:50%; 
	height:250px;
	margin-left:25%;
	margin-bottom:35px;
	border-radius:25px 25px 0px 25px;
	overflow:auto;
	text-align:center;
	color:#fff;
	}
.emo_chat{
	width:35px;
}
.emo_edit_out{
	width:40px;
}
	
/*END EMOJI CHAT*/

/*PENTRU SPINERUL DIN JURUL POZEI DE PROFIL SI CHAT*/
@keyframes spinner {
  to {transform: rotate(360deg);}
}
 
.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  margin-left:-45px;
  margin-top:-18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-top: 1px solid #ffffb3;
  border-right: 2px solid transparent;
  animation: spinner 20.0s linear infinite;
}
@keyframes spinner {
from {transform:rotate(0deg);}
to {transform: rotate(360deg);}
}

/*END SPINER POZA PROFIL CHAT*/

/*PENTRU UPLOAD MORE FROM dB*/

#loader {display:none;} 

.lds-ellipsis {
  display: flex;
  position: relative;
  width: 64px;
  height: 24px;
  top: 80px;
  -moz-margin: auto;
  -webkit-margin: auto;
  margin: auto;
   align-items: center;
  justify-content: center;
}
.lds-ellipsis div {
  position: absolute; 
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(19px, 0);
  }
}

/*end loading*/

.bg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: url("profil/chat/foto/back.jpg") no-repeat 0 0;
    filter: blur(80px);
    transform: scale(1.2);
}

/*--------------------
Chat
--------------------*/
/*PENTRU SCROOL*/	
       /* width */
#chat_output::-webkit-scrollbar { width: 10px;}
      /* Track */
#chat_output::-webkit-scrollbar-track {box-shadow: inset 0 0 5px grey; border-radius: 10px;}
      /* Handle */
#chat_output::-webkit-scrollbar-thumb { background: #4db8ff;  border-radius: 10px;}
      /* Handle on hover */
#chat_output::-webkit-scrollbar-thumb:hover { background: #b30000; }
/*END PENTRU SCROOL*/



.chat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80vh;
    max-height: 100%;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    /*background: rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #044f48, #2a7561);
    background-size: cover; */
	background: radial-gradient(circle, rgba(2, 19, 101, 0.75) 0%, rgb(0, 0, 0) 100%);
   /* border-radius: 20px; */
    display: flex;
    justify-content: space-between;
    flex-direction: column;
	width: 100%;
    height: 100%;
	margin-top: 75px;
}

@media only screen and (max-width: 600px) {
   .chat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
   /* height: 80vh; */
    max-height: 100%;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    /*background: rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #044f48, #2a7561);*/
	background: radial-gradient(circle, rgba(2, 19, 101, 0.75) 0%, rgb(0, 0, 0) 100%);
    background-size: cover;
    border-radius: 0px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
}


/*--------------------
Chat Title
--------------------*/
.chat-title {
    flex: 0 1 45px;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    /*text-transform: uppercase;*/
    text-align: left;
    padding: 10px 10px 10px 50px;
}

.chat-title h1, .chat-title h2 {
    font-weight: normal;
    font-size: 14px;
    padding: 0;
	margin-bottom: -10px;
}

.chat-title h2 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 8px;
    letter-spacing: 1px;
}

.chat-title .avatar {
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 9px;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.24);
}

.chat-title .avatar img {
    width: 100%;
    height: auto;
}

/*--------------------
Messages
--------------------*/

#data_to{
   font-size: 9px;
   margin-left: -60px;
   margin-top: 7px;
   position: absolute;
   color: rgba(255, 255, 255, 0.6);  
}
#data_from{
   font-size: 9px;
   margin-left: 0px;
   margin-top: 7px;
   position: absolute;
   color: rgba(255, 255, 255, 0.3);
   min-width: 80px;
}
.messages {
    flex: 1 1 auto;
    color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    position: relative;
    width: 100%;	
}

.messages .messages-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 101%;
    width: 100%;
	overflow-x: auto;
	overflow-x: hidden;
	padding-top:4%;
	padding-bottom:2%;
	-webkit-padding-top:4%;
	-webkit-padding-bottom:2%;
}

.messages .message {
    clear: both;
    float: left;
    padding: 6px 10px 7px;
    border-radius: 10px 10px 10px 0;
    background: rgba(0, 0, 0, 0.3);
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.4;
    margin-left: 35px;
    position: relative;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.messages .message::before {
    content: '';
    position: absolute;
    bottom: -6px;
    border-top: 6px solid rgba(0, 0, 0, 0.3);
    left: 0;
    border-right: 7px solid transparent;
}

.messages .message .avatar {
    position: absolute;
    z-index: 1;
    bottom: -15px;
    left: -35px;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.24);
}

.messages .message .avatar img {
    width: 100%;
    height: auto;
}

.avata {
    position: absolute;
    z-index: 1;
    bottom: -15px;
    right: -35px;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.24);
}

.avata img {
    width: 100%;
    height: auto;
}

.messages .message.message-personal {
    transform: scale(0);
    transform-origin: 0 0;
    animation: bounce 500ms linear both;
}

.messages .message.new {
    transform: scale(0);
    transform-origin: 0 0;
    animation: bounce 500ms linear both;
}

.messages .message.message-personal {
    float: right;
    color: #fff;
	margin-right:37px;
    text-align: right;
    background: linear-gradient(120deg, #040110, #257287);
    border-radius: 10px 10px 0 10px;
	/*min-width: 80px;*/
}

.messages .message.message-personal::before {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 5px solid transparent;
    border-top: 4px solid #257287;
    bottom: -4px;
}

/*PENTRU ATUNCI CAND CINEVA VREA SA SCRIE IN CHAT*/
.messages .message.loading::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 2;
    margin-top: 4px;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    border: none;
    animation-delay: .15s;
}

.messages .message.loading span {
    display: block;
    font-size: 0;
    width: 20px;
    height: 10px;
    position: relative;
}

.messages .message.loading span::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 2;
    margin-top: 4px;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    margin-left: -7px;
}

.messages .message.loading span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 2;
    margin-top: 4px;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    margin-left: 7px;
    animation-delay: .3s;
}
/*END SCRIE IN CHAT*/


/*--------------------
Message Box
--------------------*/
.message-box {
	transition: all .5s;
    flex: 0 1 40px;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    position: relative;
}

.message-box .message-input {
    background: none;
    border: none;
    outline: none !important;
    resize: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    height: 17px;
    margin: 0;
    padding-right: 20px;
    width: 80%;
}

.message-box textarea:focus:-webkit-placeholder {
    color: transparent;
}

.message-box .message-submit {
    position: absolute;
    z-index: 1;
	width: 20%;
    top: 9px;
    right: 10px;
    color: #fff;
    border: none;
    background: #248A52;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 10px;
    outline: none !important;
    transition: background .2s ease;
}

.message-box .message-submit:hover {
    background: #1D7745;
}

/*--------------------
Bounce
--------------------*/
@keyframes bounce {
    0% {
        transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    4.7% {
        transform: matrix3d(0.45, 0, 0, 0, 0, 0.45, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    9.41% {
        transform: matrix3d(0.883, 0, 0, 0, 0, 0.883, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    14.11% {
        transform: matrix3d(1.141, 0, 0, 0, 0, 1.141, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    18.72% {
        transform: matrix3d(1.212, 0, 0, 0, 0, 1.212, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    24.32% {
        transform: matrix3d(1.151, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    29.93% {
        transform: matrix3d(1.048, 0, 0, 0, 0, 1.048, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    35.54% {
        transform: matrix3d(0.979, 0, 0, 0, 0, 0.979, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    41.04% {
        transform: matrix3d(0.961, 0, 0, 0, 0, 0.961, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    52.15% {
        transform: matrix3d(0.991, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    63.26% {
        transform: matrix3d(1.007, 0, 0, 0, 0, 1.007, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    85.49% {
        transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    100% {
        transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
}

@keyframes ball {
    from {
        transform: translateY(0) scaleY(0.8);
    }
    to {
        transform: translateY(-10px);
    }
}


/*PETRU PARTEA DIN STANGA CHAT PRIETENI*/
.avata_prieteni img{
	margin-top:10px;
	width:30px;
	height:30px;
	border-radius:50%;
	display: inline-block;
	border: 2px solid #fff6;
}
.avatar_user img{
	width:40px;
	height:40px;
	border-radius:50%;
	border: 2px solid #fff6;
	display: inline;
	margin-left: -45px;
    margin-top: -20px;
}
.sidenav {
    height: 73%;
    width: 0;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    margin-top: 115px;
    margin-bottom: 190px;
}

.prieteni{
    text-decoration: none;
    font-size: 15px;
    color: #818181;
    display: block;
    transition: 0.3s;
	margin-left: 40px;
    margin-top: -25px;
}

.prieteni:hover {
    color: green;
	text-decoration:none;
}
.closebtn:hover {
	text-decoration:none;
    color:red;	
}
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 30px;
}

#main {
    transition: margin-left .5s;
    padding: 16px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}


/*-----------------------------------------PENTRU VIDEO CALL---------------------------------*/
.text-center{
    text-align: center;
}

.time_video{
 text-align:center;
 color:#000000;
 font-size:12px; 
 position:absolute;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: auto; /* 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.4); /* Black w/ opacity */
}

/* Modal Header */
.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

/* Modal Body */
.modal-body {
    position: relative;
    padding: 15px;
}

/* Modal Content */
.modal-content {        
    position: relative;
    width: auto;
    margin: 10px;
    background-color: #fff;
    -webkit-background-clip: padding-box;
        background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

@media (min-width: 768px) {
  .modal-content {
    width: 600px;
    margin: 30px auto;
  }
}

/* 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}
}

.margin-top-20{
    margin-top: 20px;
}

.margin-top-50{
    margin-top: 50px;
}

.pointer{
    cursor: pointer;
}



/* -----------------------------------------------------VIDEO ------------------------------------------------------------*/

.callBtns{
 left:15px;	
 bottom: 10px;
 max-height:30px;	
 position:absolute;
 display:inline-block;	
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: auto; /* 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.4); /* Black w/ opacity */
}

/* Modal Header */
.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

/* Modal Body */
.modal-body {
    position: relative;
    padding: 15px;
}

/* Modal Content */
.modal-content {        
    position: relative;
    width: auto;
    margin: 10px;
    background-color: #fff;
    -webkit-background-clip: padding-box;
        background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

@media (min-width: 768px) {
  .modal-content {
    width: 600px;
    margin: 30px auto;
  }
}

/* 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}
}

.margin-top-20{
    margin-top: 20px;
}

.margin-top-50{
    margin-top: 50px;
}

.pointer{
    cursor: pointer;
}

/* VIDEO */

#peerVid{
    position: relative;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
}


#myVid{
    width: 300px;
    height: 200px;
    bottom: 0;
    position: absolute;
    right: 0;
	z-index:103;
}
.hide{
	display:none;
}

/* Small screens */
@media(max-width:768px){
	#peerVid{
    position: relative;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
}
    #myVid{
        width: 200px;
        height: 100px;
        bottom: 0;
        position: absolute;
        right: 0;
    }
}

/* _VIDEO */



/* SNACKBAR */

@-webkit-keyframes snackbar{
    0%{
        opacity:0;
        -webkit-transform:scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
        transform:scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
        -webkit-animation-timing-function:cubic-bezier(.55, .055, .675, .19);
        animation-timing-function:cubic-bezier(.55, .055, .675, .19)
    }
    60%{
        opacity:1;
        -webkit-transform:scale3d(.475, .475, .475) translate3d(0, -60px, 0);
        transform:scale3d(.475, .475, .475) translate3d(0, -60px, 0);
        -webkit-animation-timing-function:cubic-bezier(.175, .885, .32, 1);
        animation-timing-function:cubic-bezier(.175, .885, .32, 1)
    }
    100%{
        opacity:1
    }
}
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: rgba(158,31,99,0.9); /* background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 120; /* Add a z-index if needed */
    right: 40%; /* Right the snackbar */
    top: 40%; /* 90px from the top */
	-webkit-animation: snackbar 10s infinite; /* Safari 4.0 - 8.0 */
  animation: snackbar 10s infinite;
}

/* Show the snackbar when clicking on a button (class added with JavaScript)*/ 
#snackbar.show {
    visibility: visible; /* Show the snackbar */
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {right: 0; opacity: 0;} 
    to {top: 90px; opacity: 1;}
}

@keyframes fadein {
    from {right: 0; opacity: 0;}
    to {top: 90px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {top: 90px; opacity: 1;} 
    to {right: 0; opacity: 0;}
}

@keyframes fadeout {
    from {top: 90px; opacity: 1;}
    to {right: 0; opacity: 0;}
}
/* _SNACKBAR */




/*pentru modalul care se deschide videocamera*/
.overlay-vid {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
	right:0;
	bottom:0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-y: hidden;
    transition: 0.5s;
}

.overlay-content-vid {
    position: relative;
    top: 0;
    width: 100%;
	padding:1px;
	height:100%;
}

.overlay-vid .closebtn-vid {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
	z-index:101;
}

@media screen and (max-height: 760px) {
  .overlay-vid {overflow-y: auto;}
  .overlay-vid a {font-size: 20px}
  .overlay-vid .closebtn-vid {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
/*end modalulcare se deschide video calul*/



/*style pentru include menu*/
#prietenii{
	/*margin-left:-22px;*/
	display: block;
	width:100%; 
	margin-top:7px;
	background-color: rgba(5, 6, 15, 0.53);
	}
.cereri_pr{	
	display: inline-block;
	width:100%;
	height:auto;
	margin-top:7px;
	background-color: rgba(5, 6, 15, 0.53);

}
#mesaje{
	background-color:rgba(5, 6, 15, 0.53);
	margin-left:-22px;
	margin-top:-17px;
	}
.link_jocuri{
    color:#f2cf8e;	
	}
	
@media screen and (max-width: 600px) {	
	#image_css{
	  display: inline-block;
	}

	#lista_prieteni_css{
	  display: inline-block;
	}
	#lista_mesaje_css{
	  display: inline-block;
	  margin-left:-20px;
	  margin-bottom:-20px;
	  padding-top:10px;	
	}

}
/*end include menu*/


/*PARTEA CU CARTILE DE PE PRIMA BAGINA SI BUTOANELE CELE 3  */

	
.textcamera{
	color:red;
	text-decoration:none;
	font-size:24px;
	}	
.textcamera:hover{
  color:#ffff00;
	text-decoration:none;
}	
.text-block {
	position:absolute;
	text-align:center;   
    background-color: transparent;
    color: #fff;
    padding-left: 20%;
    margin-top:-30px;
	float:left;	
	font-weight: bold;
}	
	
.card .side img{
	 height: 220px;
	width: 160px;
} 	
	
.card .back img{
	 height: 220px;
	width: 160px;
}	
/* entire container, keeps perspective */
.card-container {
	 display:inline-block;
	  -webkit-perspective: 800px;
   -moz-perspective: 800px;
     -o-perspective: 800px;
        perspective: 800px;
        margin-bottom: 30px;
	 
}
/* flip the pane when hovered */
.card-container:not(.manual-flip):hover .card,
.card-container.hover.manual-flip .card{
	-webkit-transform: rotateY( 180deg );
-moz-transform: rotateY( 180deg );
 -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}

.card-container.static:hover .card,
.card-container.static.hover .card {
	-webkit-transform: none;
-moz-transform: none;
 -o-transform: none;
    transform: none;
}
/* flip speed goes here */
.card {
	-webkit-transition: -webkit-transform .5s;
   -moz-transition: -moz-transform .5s;
   -o-transition: -o-transform .5s;
      transition: transform .5s;
   -webkit-transform-style: preserve-3d;
   -moz-transform-style: preserve-3d;
   -o-transform-style: preserve-3d;
      transform-style: preserve-3d;
	position: relative;
	height: 220px;
	width: 160px;
}

/* hide back of pane during swap */
.side, .back {
	background-image:url("../../../images/back1.png");
	-webkit-backface-visibility: hidden;
   -moz-backface-visibility: hidden;
     -o-backface-visibility: hidden;
        backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
    box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.14);
}

/* front pane, placed above back */
.side {
	z-index: 2;
}

/* back, initially hidden pane */
.back_text{
    color:#ffff00;
	text-align:center;
}	
	
.back {	
		-webkit-transform: rotateY( 180deg );
   -moz-transform: rotateY( 180deg );
     -o-transform: rotateY( 180deg );
        transform: rotateY( 180deg );
        z-index: 3;
}

.card{
   /* background: none repeat scroll 0 0 #FFFFFF;*/
    border-radius: 18px;
    color: #444444;
	box-shadow: 5px 5px 10px 5px #000;
}
.card-container, .side, .back {
	height: 220px;
	width: 160px;
	border-radius: 4px;
	
	-webkit-box-shadow: 0px 0px 19px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 0px 0px 19px 0px rgba(0,0,0,0.16);
     box-shadow: 0px 0px 19px 0px rgba(0,0,0,0.16);
}

/*       Fix bug for IE      */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .side, .back{
        -ms-backface-visibility: visible;
        backface-visibility: visible;
    }

    .back {
        visibility: hidden;
        -ms-transition: all 0.2s cubic-bezier(.92,.01,.83,.67);
    }
    .side{
        z-index: 4;
    }
    .card-container:not(.manual-flip):hover .back,
    .card-container.manual-flip.hover .back{
        z-index: 5;
        visibility: visible;
    }
}	
	
	
/*PENTRU BUTOANELE LINK SPRE JOCURI*/
.nav-item li {
    width: 33.3333%;
    float: left;
    padding: 1%;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    text-align: center;
}

	
/*DUPA CE APESI CLICK PE BUTON*/	
.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
 background: #000000;
}
	
#but1{
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
	box-shadow: 5px 10px 10px #000;
}
#but2{
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
	box-shadow: 5px 10px 10px #000;
}	
#but3{
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
	box-shadow: 5px 10px 10px #000;
}	
/*
#buton {
	text-align:center;    
    width: 108px;
	min-width: 20%;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    -webkit-transform: translatez(0);
    -moz-transform: translatez(0);
      -o-transform: translatez(0);
         transform: translatez(0);
    text-decoration: none;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    font-size: 12px;
}

#buton:hover, #buton:focus {
    text-decoration: none;
}
*/

.buton {
	text-align:center;    
  /*  width: 108px; */
	min-width: 20%;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    -webkit-transform: translatez(0);
    -moz-transform: translatez(0);
      -o-transform: translatez(0);
         transform: translatez(0);
    text-decoration: none;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    font-size: 12px;
}

.buton:hover, .buton:focus {
    text-decoration: none;
	background: #000000 !important;
}


.sweepButon {
    padding: 26px;
    border: 2px solid rgba(255, 38, 38, 0.2);
    color: #fff;
    background: #000000;
    -webkit-transition: all 0.2s ease-out 0s;
    -o-transition: all 0.2s ease-out 0s;
    -moz-transition: all 0.2s ease-out 0s;
    transition: all 0.2s ease-out 0s;
	box-shadow: 5px 10px 10px #000;
}

.sweepButon .gradient {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 300%;
    height: 100%;
    bottom: auto;
    margin: auto;
    z-index: -1;
    background: #000000;
    background: -moz-linear-gradient(90deg, black 0%, #f8bb04 94%, black 100%);
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, black), color-stop(94%, #2e3762), color-stop(100%, black));
    background: -webkit-linear-gradient(90deg, black 0%, #f8bb04 94%, black 100%);
    background: -o-linear-gradient(90deg, black 0%, #f8bb04 94%, black 100%);
    background: -webkit-linear-gradient(left, black 0%, #f8bb04 94%, black 100%);
    background: -moz-linear-gradient(left, black 0%, #f8bb04 94%, black 100%);
    background: -o-linear-gradient(left, black 0%, #f8bb04 94%, black 100%);
    background: linear-gradient(90deg, black 0%, #f8bb04 94%, black 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=1 );
    -webkit-transition: all 0s ease-out 0s;
    -o-transition: all 0s ease-out 0s;
    -moz-transition: all 0s ease-out 0s;
    transition: all 0s ease-out 0s;
    -webkit-transform: translateX(-35%);
    -moz-transform: translateX(-35%);
    -o-transform: translateX(-35%);
       transform: translateX(-35%);
}

.sweepButon:hover, .sweepButon:focus {
    border: 2px solid rgba(242, 235, 235, 0.32);
    color: #f0f0f0;
    -webkit-transition: all 0.3s ease-out 0.1s;
    -o-transition: all 0.3s ease-out 0.1s;
    -moz-transition: all 0.3s ease-out 0.1s;
    transition: all 0.3s ease-out 0.1s;
}

.sweepButon:hover .gradient, .sweepButon:focus .gradient {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
       transform: translateX(100%);
    -webkit-transition: all 0.8s ease-out 0s;
    -o-transition: all 0.8s ease-out 0s;
    -moz-transition: all 0.8s ease-out 0s;
    transition: all 0.8s ease-out 0s;
}

/*END PARTEA CU CARTILE DE PE PRIMA BAGINA SI BUTOANELE*/


/* sectiunea  AJUTOR --------------------------------------------------------------------*/

button.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

button.accordion.active, button.accordion:hover {
    background-color: #ddd; 
}

div.panel {
    padding: 0 18px;
    display: none;
    background-color: white;
}

/* END AJUTOR -----------------------------------------------------------------------------*/

/*NOTIFICATII PRIETENII*/
#notificatii_prietenii{
	padding: 1%;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
   text-align: center;
	font-size:small;
	width:auto;
	}

div#notesBox{
	float:left; 
	width:auto; 
	border:#F0F 1px dashed; 
	margin-right:5px; 
	padding:10px; 
	}
img.user_pic{
	float:left; 
	width:50px; 
	height:50px; 
	margin: 0px 10px 0px 0px;
	display:inline-block;
	}
div.user_info{ 
	width:100%;
	font-size:14px;
	color:#fff;
	}

.notification_time{
 color:#fff;
}
/*END NOTIFICATII PRIETENII*/



/*icepe pentru page game*/
.img-responsive {
	border-radius:50%;
	}
	
.multi-item-carousel{
  .carousel-inner{
    > .item{
      transition: .6s ease-in-out all;
    }
    .active{
      &.left{
        left:-33%;
      }
      &.right{
        left:33%;
      }
    }
    .next{
      left: 33%;
    }
    .prev{
      left: -33%;
    }
  }
  .carouse-control{
    &.left, &.right{
      background-image: none;
    }
  }

  @media all and (transform-3d), (-webkit-transform-3d) {
    &{
      .carousel-inner {
        > .item{
          transition: .6s ease-in-out all;
          -webkit-backface-visibility: visible;
          backface-visibility: visible;
          -webkit-perspective: none;
          -webkit-transform: none!important;
          transform: none!important;
        }
      }
    }
  }
}
	.centeredtextjoc {
 /*position: absolute;
  top: 70%;
  left: 50%; 
  transform: translate(-50%, -50%); */
  background-color:#050c2d42;
  color:white;
  font-size: medium;
}
		.centeredtextpuncte {
 /* position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%); */
  background-color:#050c2d42;
  color:white;
  font-size: xx-small;			
}
		.centeredtextuser {
/*position: absolute; 
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%); */
  background-color:#050c2d42;
  color:white;
 font-size: xx-small;
			
}
	

.image-box {
    position: relative;
    margin: auto;
    overflow: hidden;
    /*width: 540px; */
}
.image-box img {
    max-width: 100%;
    transition: all 0.3s;
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1);
}

.image-box:hover img {
    transform: scale(2.1);
}


/* sf page game*/


/*  conditii*/
	.container-conditii {
	width: 100%;
	height:auto;
	padding:1px;
    background-color: rgba(0,0,0,0.5);
    border-bottom: 10px solid rgba(0,0,0,0.3);
	border-radius: 50px;
	margin:auto;	
}
/* sf conditii*/

/* sf reguli*/
	.reguli {
  display: none;
}
/* sf reguli*/
/* incepe footer gb*/
div.panel,p.flip
{
line-height: 30px;
margin:auto;
font-size:16px;
padding:5px;
text-align:center;
color:#000;
border-radius:3px;
user-select:none
}
div.panel
{
display:none;
}
p.flip
{
cursor:pointer;
}
/* sf footer gb*/

/*PENTRU SCROOL*/	
/* width */	
::-webkit-scrollbar { width: 10px;}
/* Track */
::-webkit-scrollbar-track {box-shadow: inset 0 0 5px grey; border-radius: 10px;}
/* Handle */
::-webkit-scrollbar-thumb { background: #070110; border-radius: 10px;}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover { background: #b30000; }
/*END PENTRU SCROOL*/
/* st gaby zoom img*/
.zoom {
  padding: 50px;
  transition: transform .4s;
 /* width: 20px;
  height: 20px; */
  margin: 0 auto;
}

.zoom:hover {
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.5); 
}
/* st gaby zoom img*/
/* st gaby loader lobby si game*/
.contentloader {display:none;
	}
.preload {
    position: relative;
    left: 0px;
    top: 0px;
}
	.preloadertext {
  position: relative;
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 1em;
  letter-spacing: 4px;
  overflow: hidden;
  background: linear-gradient(90deg, #000, #A7E92B, #000);
  background-repeat: no-repeat;
  background-size: 80%;
  animation: animate 3s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  display: flex;
}

@keyframes animate {
  0% {
    background-position: -500%;
  }
  100% {
    background-position: 500%;
  }
}
/* sf gaby loader lobby si game*/
