.search-glossary {
	max-width: 500px;
	width: 100%;
	position: relative;
}

.search-glossary input#search {
    -webkit-appearance: noneimportant;
    -moz-appearance: noneimportant;
    appearance: noneimportant;
    border: none !important;
    border-radius: 2px;
    height: 60px;
    width: 100%;
    padding: 7px 15px 5px 15px;
    margin: 0;
    font-family: inherit;
	font-size: 18px;
    color: #232323;
	box-shadow: inset 0 0 0 1px #ff0000;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition:all .3s
}

.search-glossary input#search:hover, 
.search-glossary input#search:focus {
    box-shadow: inset 0 0 0 2px #ff0000, 0 1px 39px rgba(13, 73, 87, 0.06);
}

.lds-dual-ring {
    position: absolute;
    right: 30px;
    top: 17px;
    display: none;
    width: 24px;
    height:24px
}

.lds-dual-ring.show {
    display:inline-block
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 8px;
    border-radius: 50%;
    border: 2px solid #ff0000;
    border-color: #ff0000 transparent;
    animation:lds-dual-ring 1.2s linear infinite
}

@keyframes lds-dual-ring {
    0% {
        transform:rotate(0deg)
    }

    100% {
        transform:rotate(360deg)
    }
}


/***** Letters ********/

.glossary-letters-container {
    position: absolute;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    z-index: 2 !important;
    border-bottom: 1px solid #e2e2e2;
}

.is-sticky > .glossary-letters-container {
    width:100vw !important
}

.glossary-letters {
    display: block;
    width: 100%;
    clear: both;
    max-width: 1200px;
    padding: 0 30px;
    margin:0 auto
}

.glossary-letters ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    background: 0 0;
    width: 100%;
    padding: 30px 0;
    margin: 0 !important;
    text-align: center;
    transform: translate(0, 0);
    transform:translate3d(0, 0, 0)
}

.glossary-letters ul li {
    list-style: none;
    display: inline-block;
    text-align: center;
    margin: 0 auto 5px auto;
    cursor: pointer;
    width: 26px;
    height: 26px;
    line-height: 26px;
    font-size: 18px;
    border: 1px solid transparent;
	border-radius: 50%;
	color: #ff0000;
    -webkit-transition: border .3s;
    -moz-transition: border .3s;
    transition: border .3s
}

.glossary-letters ul li:hover {
	border: 1px solid #ff0000;
}

.glossary-letters ul li.active {
    border: 1px solid transparent;
	background: #ff0000;
	color: #fff;
    opacity:1
}

.glossary-letters ul li:before {
    display:none
}

.glossary-letters ul li.blocked {
    opacity: .2;
	pointer-events: none!important;
    /* display:none */
}

@media all and (max-width: 840px) {
    .glossary-letters ul {
        gap:20px
    }

    .glossary-letters ul li {
        flex-basis: 8%;
        flex-grow: 0;
        flex-shrink: 0;
        margin:0
    }
}

@media all and (max-width: 640px) {
    .glossary-letters-container {
        position: relative;
        left: -30px;
        transform:none
    }

    .glossary-letters ul li a {
        transition:none !important
    }
}



/*** main container ****/

.glossary-container {
	padding-top: 40px;
}


.glossary-section {
	margin-top: 20px;
}

.glossary-section:not(:last-child) {
	margin-bottom: 60px;
}

/**** search and category ********/
.wrapper.search-and-category {
	display: flex;
	align-items: center;
	gap: 40px;
}

.wrapper.search-and-category > .col {
	flex-basis: 50%;
}

@media all and (max-width:840px) {
	.wrapper.search-and-category {
		flex-direction: column;
	}
	
	.wrapper.search-and-category > .col {
		flex-basis: 100%;
	}
}

/***** categories ********/

#glossary-categories > .container {
	width: 100%;
	padding: 0;
}

ul.category-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.category-list li {
	display: inline-block;
	cursor: pointer;
	padding: 12px 25px 10px 25px;
	font-family: 'Calibri bold';
	font-size: 17px;
	color: #ff0000;
	line-height: 20px;
	border: 1px solid #ff0000;
	border-radius: 1px;
	margin-bottom: 5px;
}

ul.category-list li.active {
	color: #fff;
	background: #ff0000;
}


/**** single letter *******/

.glossary-letter {
	border-bottom: 1px solid #e2e2e2;
	padding: 40px 0;
}

.glossary-letter > .glossary-letter-heading {
	color: #ff0000;
}
