.clip {
	display: inline-block;
}


#emptyClipMessage {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    font-size: 3em;
    text-aligN: center;
    flex-direction: column;
    color: grey;
}

#clipInfo {
display: flex;
    justify-content: center;
    /* padding: 0.25em; */
	align-items: center;

}

.clip .title {
    font-size: 1.15em;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    color: white;
    font-weight: bold;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2em;
    max-height: 2.4em;
	    max-height: 2.1em;
    padding: 0.25em;
}
.clip .displayName {
	color: white;
}
.clip .thumbnail {
	    display: flex;
}
.clip .thumbnail, .clip  img {
	/* margin-bottom: 1px; */
    max-height: 100%;
    max-width: 100%;
   /* height: 203.328px; */
   
    min-height: 200px;

}
.clip { 
	display: flex;
	flex-direction:column;
}

 
.rightText {
	text-align: right;
}

.clip .viewers{

            user-select: none;
}
.clip .viewers > svg {
    filter: drop-shadow(0 0 1px  rgba(0,0,0,1));
    vertical-align: top !important;
}

.clip .viewers {
    /* position: absolute; */
    /* top: 0px; */
    /* right: 0px; */
    /* color: rgba(255,255,255,0.75); */
    /* color: rgba(255, 255,255,1); */
    color: white;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.6), 1px -1px 0 rgba(0,0,0,0.6), -1px 1px 0 rgba(0,0,0,0.6), 1px 1px 0 rgba(0,0,0,0.6);

    font-weight: bold;
    /* background-color: rgba(255,255,255,0.4); */
    justify-self: flex-end;

}
.clip .displayName {
    /* position: absolute; */
    /* top: 0px; */
    /* left: 0px; */
    /* color: rgba(255,255,255,0.75); */
    /* color: rgba(255, 255,255,1); */
	/* color: white; */
    /* font-size: 0.9em; */
    text-shadow: -1px -1px 0 rgba(0,0,0,0.6),
	1px -1px 0 rgba(0,0,0,0.6),
	-1px 1px 0 rgba(0,0,0,0.6), 
	1px 1px 0 rgba(0,0,0,0.6);
    line-height: 1em;

	font-weight: bold;
    /* background-color: rgba(255,255,255,0.4); */
}
.clip .overlay {
    color: #000;
 background-color: rgba(0,0,0,0.5);
    position: absolute;
	width: 100%;
	height: 100%;

	float: left;
	display: none;
}
.clip .overlay .message {
	position: relative;
	text-align: center;
	width: 100%;
	color: #FFC112;
z-index: 9998;	height: 50%;
	top: 25%;
}
.clip > span {
	font-weight: bold;
}
.clip {
    width: 350px;
    /* max-width: 95vw; */
    margin: 0px;
    max-width: 480px;
    /* padding: 5px; */
    flex-grow: 1;
}
.clip .bottomLine .time {
justify-self: flex-end;
    flex-grow: 2;
    text-align: right;
}
.clip .bottomLine {
    display: flex;
    font-weight: bold;
    /* justify-content: flex-end; */
    margin: 0.25em;
	margin: 0.5em 0.25em;
}
.nameBar {
	    width: 100%;
    position: absolute;
    top: 0px;
    z-index: 5999;
    min-height: 1.2em;
    overflow: hidden;

		    background: linear-gradient(0deg, rgba(25,25,25,0) 0%, rgba(25,25,25,0.05) 3%, rgba(25,25,25,0.2) 11%, rgba(25,25,25,0.45) 28%, rgba(25,25,25,1) 100%);

}
.nameBar  .displayName {
    font-size: 1.1em;
}.nameBar  .viewers {
    font-size: 0.9em;
}
.nameBar > .wrapper {
    display: flex;
    /* position: relative; */
    /* justify-content: space-around; */
    /* width: 100%; */
    justify-content: space-between;
     padding: 0.25em; 
    /* left: 0px; */
    /* right: 0px; */
	
}
.clip .title {
	background: linear-gradient(0deg, rgba(25,25,25,0) 0%, rgba(25,25,25,0.05) 3%, rgba(25,25,25,0.2) 11%, rgba(25,25,25,0.45) 28%, rgba(25,25,25,1) 100%);
	background: linear-gradient(180deg, rgba(25,25,25,0) 0%, rgba(25,25,25,0.05) 3%, rgba(25,25,25,0.2) 11%, rgba(25,25,25,0.45) 28%, rgba(25,25,25,1) 100%);

}
@media (max-width: 740px) and (min-width: 590px) {
	/* .clip { */
	    /* width: 280px; */
    /* height: 180px; */
	/* }  */
	/* .clip .thumbnail, .clip .thumbnail img { */
		/* height: unset; */
	/* } */
}
.clip figure {
		margin: 0px;
	    position: relative;

}

#clipWraper  .content { 
flex-grow: 2;
    background-color: #212d38;
    padding: 15px;
    /* margin-bottom: 10px; */
    color: white;
    display: flex;
    flex-direction: column;
    padding: 0em;
    margin: 0;

}

#clipWraper  {
  /*position: absolute; */
    color: white;
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    /* padding: 10px; */
    border-radius: 5px;
    margin: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    max-height: 100vh;
    FONT-WEIGHT: 0;
    margin: 0;
}
#clipWraper .topBar > div {
    display: flex;
    gap: 0.5em;
    align-items: center;
}
#clipWraper .topBar > .middle {
    display: grid;
    grid-template-columns:auto 2em;
	    white-space: nowrap;

    overflow: hidden;
	text-overflow:  ellipsis;


}
#clipWraper .topBar  .title {
/* font-size: 1.25em; */
    font-weight: bold;
    overflow: hidden;
	text-overflow:  ellipsis;
}

#clipWraper  .topBar > .closeButton{ 
	padding: 5px;
	  -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
	    margin-left: 0.5em;
}
#clipWraper  .topBar {
    display: flex;
    Justify-content: SPACE-BETWEEN;
    flex-wrap: wrap;
    margin-bottom: 0.5em;
    align-items: center;
    gap: 0.25em;
    margin: 0.25em;
    display: grid;
    grid-template-columns: max-content auto max-content;
    overflow: hidden;
    amx-width: 90%;
    /* max-width: 90%; */
    margin: 0.25em 0.5em;

}
#clipWraper .topBar .rightCtrls {
	    justify-content: flex-end;
}

#clipWraper iframe {
	flex: 1 1 auto;
	width: 100%
}


#clipInfoWrapper li,#clipInfoWrapper ul{
	list-style-type: none;
    margin: none;
    padding: 0px;
}
#clipInfo a {
    padding: 0.35em;
}
.clipsContainer {
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    justify-content: center;
    /* max-width: 100vw; */
    column-gap: 0.5em;
    /* padding: 0 1em; */
}

.clip .thumbnail {
	 min-height: unset; 
}
.clip .thumbnail img {
	 /* min-height: 204.2px; */
	 /* min-height: 170.164px; */
	 /* min-height: 171.219px; */
	 min-height: unset;

	 
}
.clip .thumbnail, .clip img {
	max-width: 100%;
}
.clip .thumbnail, .clip img {
    width: 100%;
}
.clip .overlay {
	    z-index: 8888;
}
.clip .overlay .message {
	display: flex;
    align-items: center;
    justify-content: center;
}
.clipsContainer {
	align-items: flex-end;
}
.clip .thumbnail, .clip .thumbnail  img {
	  height: auto;
}
.clip {
	/* max-width: unset !important; */
	width: unset;
	flex-basis: 280px;
	flex-basis: 260px;
	max-width: 380px;
	max-width: 360px;
}
/* box borders */
.clip {
	background-color: #30475a;
    padding: 0.1em;
    padding: 0;
	border: 2px solid #30475a;
}

.clip:hover {
    border: 2px solid #ffc11282;

}
.clipsContainer {
	row-gap: 0.5em;
}
.clip .bottomLine {
	margin: 0.5em 0.1em 0;
	margin: 0.4em 0.1em 0;
	margin: 0.4em 0.15em 0.3em 0.25em;
	/* line-height:1em; */
	margin: 0.4em 0.2em 0.1em 0.2em;
	margin: 0.3em 0.2em 0.1em 0.2em;
}


/* Resize and move title */
.clip .title {
    font-size: 1em;
    padding: 0.25em 0.25em 0.15em;
    max-height: 2.5em;
    line-height: 1.25em;

}

/* Bold server */ 

.clip .server {
	font-weight: bold;
}

/* smaller times */
.clip .bottomLine {
    font-size: 0.9em;
}
/*No bold for bottom line*/

.clip .bottomLine {
	font-weight: unset;
}

/* Font change for fonts sake */
.clip .bottomLine {
	margin: 0.225em 0.2em 0.1em 0.2em;
	
	
	    line-height: 1.15em;
    margin-top: 0.3em;
	    line-height: 1.25em;
	margin: 0.225em 0.2em 0.2em 0.2em;

}
#clipsPage {
	background-color:  unset; /*todo DO THIS PROPERLY PLEASE*/
}
.clip .bottomLine,  .clip .bottomLine * {
    font-family: Tahoma;
	    font-family: Trebuchet MS;
}  

/* tweaked blue bottom (naughty)) */
.clip {
	background-color: #2c4153;
	    background-color: #2c415382;
}

.clip:hover {
	box-shadow: unset;
	    border-radius: 0;
}

/*move bottom line into ancho*/
.clip .bottomLine {
	    color: white;
    max-height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
	max-height: 1.4em;
}
.clip .bottomLine .time {
	font-weight: 100;

}

/* borders are distracting and retro */ 
.clip  {
	border: unset;
		background-color: #28486257;
}
.clip:hover {
	border:unset;
}
.clipsContainer {
	    gap: 0.75em;
}

@media (max-width: 925px) {
	.clipsContainer {
		justify-content: space-evenly;

	}

}

