#bades-window-overlay {
	position: fixed;
	display: none;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(16, 75, 125, 0.95);
	z-index: 101;
}


.badges-panel h2 {
    font-family: 'Baloo', cursive;
}

.containerbaget {position:  relative;height: 85vh;width: 100%;top: 2vh;/* border-radius: 10px; */overflow:  hidden;}

.badges-window-wrapper {
    width: 550px;
    position: relative;
    margin: 0 auto;
    display: inline-block;
}

@media (max-width: 667px) {
	.badges-window-wrapper {
    	max-width: 450px;
    	font-size: 130% !important;
  }
 	img.badges-window-image {
 		max-width: 80%;
 		min-height: 20vh;
 	}
}

@media (max-width: 420px) {
	.badges-window-wrapper {
    	max-width: 190px;
    }
}

.bades-window-view {
	position: relative;
	margin: 0 auto;
	text-align: center;
	display: block;
	vertical-align: middle;
	color: #fff;
	font-family: 'Baloo', cursive;
}
.badges-window-counter {
	display: none;
    font-style: italic;
}

.badges-nav-btn {
    display: none;
    vertical-align: top;
    width: 70px;
    height: 100px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    z-index: 100;
    padding: 45vh 40px;
}

@media (max-width: 768px){
	.badges-nav-btn {
    padding: 45vh 5px;
}
}

@media (-webkit-max-device-pixel-ratio: 1.2){
	.badges-nav-btn:hover {
		background-position: 50% 48%;
	}
}

.badges-window-prev {
	background-image: url('img/prevbtn.png');
}

.badges-window-next {
	background-image: url('img/nextbtn.png');
}
img.mybadges-image-preview {
    cursor: no-drop;
    -webkit-filter: grayscale(100%) blur(1px) brightness(35%);
    filter: grayscale(100%) blur(1px) brightness(35%);
}
.enlarge-badge img.mybadges-image-preview {
    cursor: pointer;
    -webkit-filter: grayscale(0%) blur() brightness(100%);
    filter: grayscale(0%) blur() brightness(100%);
    transition: all .3s ease;
}
.enlarge-badge img.mybadges-image-preview:hover {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0px 10px rgba(255, 255, 255, 0.2);
}

.mybadges-image-preview {
    width: 15%;
    margin: 12px 20px;
/*    position: absolute;
    right: -20px;
    bottom: -5px;*/
}

#imagepreview {
    height: auto;
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
}

#imagemodal {
    width: 100%;
    height: 100%;
    background: rgba(18, 71, 116, 0.95);
    z-index: 1071;
}

#imagemodal .modal-dialog {
    position: relative;
    display: flex;
    height: inherit;
    top: 5vh;
    width: fit-content;
    max-width: 90%;
    max-height: 90%;
    /* max-width: 100%; */
    margin: 0 auto;
    padding: 0;
    align-items: center;
}

#imagemodal .modal-content {
    height: fit-content;
    width: auto;
    margin: 0;
    padding: 0;
    background-color: rgb(151, 221, 244);
    box-shadow: 1px 4px 7px 1px rgba(0, 0, 0, 0.1), 0 0 0 3px #3299f0, inset 0 0 15vh 5vh rgb(41, 125, 195);
}

#imagemodal .modal-body {
    height: fit-content;
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    /* box-shadow: inset 0 0 10vh 3vh rgb(41, 125, 195); */
}

#imagemodal>.fa-times-circle {
    position: absolute;
    top: 1%;
    right: 1%;
    font-size: -webkit-xxx-large;
    color: #fff;
    pointer-events: none;
}

.modal-content {

}

.mybadges-footer {
	font-size: 12px;
}

.badges-window-image {
    max-height: calc(80vh - 220px);
    max-width: 35vmax;
    width: auto;
    height: auto;
}

.enlarge-badge {
    text-decoration: none;
}

.enlarge-badge:hover {
    text-decoration: none;
}

.badges-panel {
    position: relative;
    /* width: calc(100% - 30px); */
    height: 100%;
    /* bottom: 20px; */
    /* border-radius: 20px 20px 10px 10px; */
    /* overflow:  hidden; */
}

.badges-panels-wrapper {
    background: rgba(255, 255, 255, 0.4);
    overflow: auto;
    height: calc(100% - 80px);
    position: relative;
    width: calc(100% - 20px);
    margin: 0 10px 10px 10px;
    padding: 10px 0;
    top: 70px;
    border-radius: 5px;
	box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.25) inset;
}

.badges-panel-body::after {
	position: absolute;
	display: block;
	bottom: 10px;
	content: '';
	width: 100%;
	height: 40px;
	background: rgb(50, 153, 240);
	background: -webkit-linear-gradient(top, transparent 0%, rgb(50, 153, 240) 100%);
	background: linear-gradient(to bottom, transparent 0%, rgb(50, 153, 240) 100%);
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.1) {

	.badges-panels-wrapper {
		overflow: scroll !important;
		overflow: -webkit-paged-x;
	}
}

.badges-panel-head {
    display:  none;
    width: 100%;
    position: relative;
    margin: 0px;
}
.badges-panel-body {
    background: #3299f0;
    background: -webkit-linear-gradient(top, rgb(21, 109, 183) 0%, rgb(50, 153, 240) 50%);
    background: linear-gradient(to bottom, rgb(21, 109, 183) 0%, rgb(50, 153, 240) 50%);
    /* background-image: url('img/badges_block_body.fw.png'); */
    /* background-size: contain; */
    /* background-repeat: no-repeat; */
    /* background-position: 50% 0px; */
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px 20px 5px 5px;
    box-shadow: 1px 4px 7px 1px rgba(0, 0, 0, 0.1);
}

.mybadges-heading {
    font-size: 15px;
    text-align: center;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 80%);
    background: linear-gradient(to bottom, rgba(2255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 80%);
    border-radius: 5px;
    width: calc(100% - 50px);
    margin: 0 auto;
    border: none;
    /*    top: 149px;
    left: 182px;
    width: 380px;*/
}

.mybadges-panel {
	background: transparent;
    position: relative;
    font-size: 16px;
    text-align: center;
    padding: 0px;
/*    top: 240px;
    left: 110px;
    width: 505px;*/
}



@media(max-width: 730px) {

    .mybadges-heading {
        font-size: 12px;
    }
}
@media(max-width: 500px) {

    .mybadges-image-preview {
        margin: 5px;
    }

    .mybadges-heading {
        font-size: 8px;
    }
}


#badges-category-selector {
    position: absolute;
    top: 10px;
    left: calc(50% - 140px);
    width: 280px;
    color: #fff;
    font-family: 'baloo', cursive;
    font-size: 28px;
    z-index: 10;
    border: 0px;
    padding: 0px 30px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    transition:  all .3s ease;
}

#badges-category-selector:hover {
	background: rgba(255, 255, 255, 0.4);
}

#badges-category-selector option {
	color: #3299f0;
}

#badges-category-selector:hover,
#badges-category-selector:focus,
#badges-category-selector:active
 {
	border: none;
	outline:none;
}


@media (max-width: 650px) {

    .badges-nav-btn{
        height: 52px;
    }
    .badges-window-prev {
        /* background-size: 30px 50px; */
    }

    .badges-window-next {
        /* background-size: 30px 50px; */
    }
}