/*..............................*/
/*_______POP UP BEST/LIKE_______*/
/*..............................*/

.bestOrLikePopupOpacity {
	position: fixed;
	z-index: 12;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: none;
}

.iconBestOrLikeWrap{
    display: flex;
    justify-content: center;
    align-items: center;
	width: 100vw;
	height: 100vh;
    font-size: 50px;
    color: #ffffff;
    opacity: 0;
}

/*................................*/
/*_________POPUP PICTURE__________*/
/*................................*/
.popupPicture {
	position: fixed;
	top: 140px;
	bottom: 0px;
	right: 0;
	left: 0;
	display: none;
	margin: auto;
	max-width: 960px;
	z-index: 9;
	background-color: #000;
}

.pictureWrapPopup {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 90%;
}

.popupPictureBlur {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	z-index: -1;
}

#popupImg {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background-color: rgba(0, 0, 0, 0.6);
}

.popupClosePicture {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	right: 0px;
	top: calc(50% + 30px);
	font-size: 35px;
	width: 60px;
	height: 60px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.40);
    border-radius: 10px;
	cursor: pointer;
	z-index: 1;
	transition: .2s;
	box-shadow: 0 0 10px 5px #000;
}

.popupClosePicture:hover {
	color: #f00;
}

.popupResizeBigPicture,
.popupResizeSmallPicture{
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
    text-align: center;
    line-height: 60px;
	right: 0px;
	top: 25px;
	font-size: 35px;
	width: 60px;
	height: 60px;
	color: #fff;
    background-color: rgb(2 36 55 / 63%);
    border-radius: 10px;
	cursor: pointer;
	z-index: 1;
	transition: .2s;
	box-shadow: 0 0 10px 5px #000;
}

.popupResizeBigPicture:hover,
.popupResizeSmallPicture:hover{
	color: #0042d8;
}

.popupResizeSmallPicture{
     display: none;
}

.popupPrevPicture {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: calc(50% - 40px);
	left: 0px;
	width: 60px;
	height: 60px;
	cursor: pointer;
	color: #fff;
    background-image: linear-gradient(#ff8b00, #d97600);
    border-radius: 10px;
    font-size: 30px;
	box-shadow: 0 0 10px 5px #000;
	padding-right: 5px;
	transition: .2s;
}

.popupPrevPicture:hover {
	color: #000
}

.popupNextPicture {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: calc(50% - 40px);
	right: 0px;
	width: 60px;
	height: 60px;
	cursor: pointer;
	color: #fff;
    background-image: linear-gradient(#ff8b00, #d97600);
    border-radius: 10px;
	font-size: 30px;
	box-shadow: 0 0 10px 5px #000;
	padding-left: 5px;
	transition: .2s;
}

.popupNextPicture:hover {
	color: #000
}

.popupInfoPicture {
	position: absolute;
	bottom: 7px;
	left: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
	animation: opacity 1.5s;
}

@keyframes opacity {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}
.popupNickAndLike {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.popupNickPicture {
	text-decoration: none;
	border-top-left-radius: 20px;
	border-bottom-right-radius: 20px;
    font-size: 12px;
	padding: 5px 20px;
    background-image: linear-gradient(#ff8b00, #d97600);
	color: #000;
	border: 1px solid #e27f00;
	box-shadow: 0 0 10px 5px #000;
	transition: .2s;
}

.popupLovePicture {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	right: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    padding-right: 2px;
	cursor: pointer;
	color: #fff;
    background-image: linear-gradient(#ff0000, #d9008c);
    border-radius: 10px;
	font-size: 10px;
	box-shadow: 0 0 10px 5px #000;
	padding-left: 5px;
	transition: .2s;
}

.popupLikePicture {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 10px;
    bottom: 62px;
    width: 40px;
    height: 40px;
    padding-right: 2px;
    cursor: pointer;
    color: #fff;
    background-image: linear-gradient(#b16300, #ff8b00);
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 0 10px 5px #000;
    padding-left: 5px;
    transition: .2s;
}


.popupTrashPicture {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 8px;
    top: 10px;
    width: 40px;
    height: 40px;
    padding-right: 2px;
    cursor: pointer;
    color: #fff;
    background-image: linear-gradient(#282828, #090909);
    border-radius: 10px;
    font-size: 10px;
    box-shadow: 0 0 10px 5px #000;
    padding-left: 5px;
    transition: .2s;
}


.popupNickPicture:hover,
.popupTrashPicture:hover {
    background-image: linear-gradient(#ffc400, #d97600);
	color: #fff;
}

.popupLikePicture:hover,
.popupLovePicture:hover{
    color: #000;
 }

.popupDescriptionPicture {
	border-top-left-radius: 20px;
	border-bottom-right-radius: 20px;
    font-size: 10px;
	padding: 5px 20px;
	background-color: #000;
	color: #fff;
	border: 1px solid #e27f00;
	box-shadow: 0 0 10px 5px #000;
	cursor: default;
    word-wrap: break-word;
    max-width: 330px;
    text-align: center;
}

.popupRatingPicture {
    display: flex;
    position: absolute;
    right: 6px;
    bottom: 10px;
    font-size: 14px;
	border-top-left-radius: 20px;
	border-bottom-right-radius: 20px;
	padding: 5px 15px;
    background-image: linear-gradient(#282828, #090909);
	color: #fff;
	border: 1px solid #e27f00;
	box-shadow: 0 0 10px 5px #000;
	cursor: default;
    z-index: 1;
}

.starRating {
	padding: 5px;
	margin: -5px;
	transition: .2s;
}

.starHovered,
.starSelected {
	color: #f9b600;
}


/*..............................*/
/*__________RESPONSIVE__________*/
/*..............................*/
@media (max-width: 850px) and (orientation: landscape) {

	.popupPicture {
		top: 50px;
	}
}

@media (max-height: 600px) {
	.popupPicture {
		top: 50px;
	}
}

@media(max-width: 900px) {

	.popupPicture {
		top: 50px;
	}
}

@media (max-width: 750px) {
	.popupPicture {
		top: 50px;
	}
    
}

@media(min-height: 571px) and (max-width: 600px) {
    
	.popupPicture {
		top: 30px;
	}
    
    .popupRatingPicture {
        top: calc(50% + 55px);
        bottom: unset;
        flex-direction: column;
        transform: rotate(180deg);
	}
    .starRating {
        padding: 11px 0px;
        transform: rotate(180deg);
    }
    .popupClosePicture {
        top: calc(50% + -119px);
    }
    
}

@media(max-height: 570px) and (max-width: 600px) {

    .popupRatingPicture {
        top: 60px;
        bottom: unset;
        flex-direction: flex;
        transform: rotate(0deg);
	}

    .starRating {
	    padding: 5px;
        transform: rotate(0deg);
    }
    
}


@media(max-width: 450px) {
    
    .popupClosePicture,
    .popupPrevPicture,
    .popupNextPicture{
        width: 35px
    }
    
    
    .popupRatingPicture {
        right: 0px;
        padding: 4px 11px;
    }
    
    .popupTrashPicture {
        position: relative;
        left: 0px;
        top: 0px;
        margin-left: 10px;
    }
    
    .popupLovePicture{
        top: calc(50% - 130px);
        bottom: unset;
        right: 0;
        width: 35px;
    }
    
    .popupLikePicture{
        top: calc(50% - 180px);
        bottom: unset;
        right: 0;
        width: 35px;
    }
    
}

@media(max-width: 400px) {
	.popupPicture {
		top: 40px
	}
    
    .popupNickPicture span {
        display: none;
    }
}

@media(max-width: 223px) and (max-height: 650px){
    
    .popupRatingPicture {
        top: 10px;
        right: 0;
/*        left: 0;*/
        bottom: unset;
        flex-direction: flex;
        justify-content: space-around;
	}
    .starRating {
        top: 5px;
    }
}

@media(max-width: 223px){
    .popupPicture {
         top: 0px; 
    }
    
    .popupInfoPicture {
        margin-bottom: 40px;
    }
    
    .popupNickAndLike {
        justify-content: space-around;
        width: 100%;
    }
    
    .popupLovePicture,
    .popupLikePicture{
        position: relative;
        top: unset;
        bottom: unset;
        right: unset;
        width: 35px;
        margin-left: 5px;
    }
}

@media(max-height: 470px){
    .popupLovePicture,
    .popupLikePicture{
        position: relative;
        top: unset;
        bottom: unset;
        right: unset;
        width: 35px;
        margin-left: 5px;
    }
}
































