/* Form Elements */

form {
	display: inline;
}

input[type="text"], input[type="number"], input[type="password"], textarea {
	display:inline-block;
	outline: none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border-radius:3px;	
	font-family: var(--primary-font);
	border:1px solid var(--main-border-color);
	line-height:14px;
	background-color:#fafafa;
}

input[type="text"], input[type="number"], input[type="password"] {
	padding: 0px 5px;
	height:30px;
}

textarea {
	padding: 8px 5px;
	height:100px;
}

/* Buttons */

.button-style-one {
	display:inline-block;
	outline: none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color: var(--main-color-scheme-c);
	border:1px solid var(--main-border-color);
	border-radius:3px;
	padding: 8px 15px;
	font-family: var(--secondary-font);
	font-size:11px;
	font-weight:600;
	color:#fff;
	line-height:14px;
	cursor: pointer;
	text-align: center;
	vertical-align: top;
	min-width:50px;
	height:30px;
}

.button-style-two {
	display:inline-block;
	outline: none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color: var(--main-color-scheme-a);
	border:1px solid var(--main-border-color);
	border-radius:3px;
	padding: 8px 15px;
	font-family: var(--secondary-font);
	font-size:11px;
	font-weight:600;
	color:#fff;
	line-height:14px;
	cursor: pointer;
	text-align: center;
	vertical-align: top;
	min-width:50px;
	height:30px;
}

.button-style-two:hover, .search-button:hover, .button-style-one:hover {
	opacity:1;
	filter:alpha(opacity=100);
	-webkit-transition:all 0.1s ease-in-out;
	-moz-transition:all 0.1s ease-in-out;
	-o-transition:all 0.1s ease-in-out;
	transition:all 0.1s ease-in-out;		
	background-color: var(--main-color-scheme-b);
}

.discord{
	width:100%;
	display:inline-block;
	outline: none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color: #7289da;
	border:1px solid var(--main-border-color);
	border-radius:3px;
	padding: 8px 15px;
	font-family: var(--secondary-font);
	font-size:11px;
	font-weight:600;
	color:#fff;
	line-height:14px;
	cursor: pointer;
	text-align: center;
	vertical-align: top;
	min-width:50px;
	height:30px;	
}

.discord:hover{
background-color: #6070a8;	
}

/* Search Bar */

.search-bar-wrapper {
	width:40%;
}

@media screen and (max-width: 600px), screen and (max-device-width: 600px) {
	.search-bar-wrapper
	{
		width:100%;
		margin-bottom:6px;
	}
}

.search-bar {
	width:100%;
	border-box: box-sizing !important;
	background-image: url('/images/default/search-icon2.png') !important;
	background-size: 18px 18px !important;
	background-position: 12px 6px !important;
	background-repeat: no-repeat !important;
	padding: 14px 20px 12px 40px !important;
}

.search-result {
	position: absolute;        
	z-index: 999;
	top: 100%;
	left: 0;
	margin-top:2px;
	width: 100%;
}

.search-box {
	position: relative;
	display: inline-block;
}

.search-result p {
	width: calc(100% - 22px);
	display:inline-block;
	font: 11px/100% Verdana,Geneva,sans-serif;
	text-align:left;
	text-shadow: none;
	line-height:14px;
	background:#fff;
	padding: 10px 10px;
	color: #000;
	border:none;
	margin:0;
}

.search-result p:first-child {
	border-top-left-radius:2px;
	border-top-right-radius:2px;
}

.search-result p:last-child {
	border-bottom-left-radius:2px;
	border-bottom-right-radius:2px;
}

.search-result p:hover {
	background: #cecece;
	cursor:pointer;
}

/* Upload Area */

.upload-area-single {
	position: relative;
	width: 100%;
	height: 60px;
	border: 2px dashed #fff;
	text-align: center;
	padding-top:40px;
	color: #ffffff;
	font-family: Arial;
}

.upload-form input {
	position: absolute;
	top:0;
	left:0;
	padding: 0;
	width:100%; height:100%;
	outline: none;
	opacity: 0;
}

/* Custom Selection https://andrejgajdos.com/custom-select-dropdown/ */

.custom-select-wrapper {
	position: relative;
	user-select: none;
	width: 100%;
}

.custom-select__trigger {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	border:1px solid var(--main-border-color);
	border-radius:3px;
	font-family: var(--primary-font);
	line-height:30px;
	background-color:#fafafa;
	padding-left: 10px;
	border:1px solid var(--main-border-color); 
}

.custom-options {
	position: absolute;
	display: block;
	margin-top: 4px;
	border-radius: 3px;
	max-height:240px;
	overflow-y:auto;
	top: 100%;
	left: 0;
	right: 0;
	opacity: 0;
	visibility: hidden;
	z-index: 2;
	border:none;
	background-color:#fafafa;
    border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	color:#000;
	border:1px solid var(--main-border-color);
    -webkit-transform-origin: 50% 0;
        -ms-transform-origin: 50% 0;
            transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
        -ms-transform: scale(0.75) translateY(-21px);
            transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
}

.custom-selector.open .custom-options {
	opacity: 1;
	visibility: visible;
	-webkit-transform: scale(1) translateY(0);
			-ms-transform: scale(1) translateY(0);
				transform: scale(1) translateY(0);	
}

.custom-option {
	position: relative;
	display: block;
	cursor: pointer;
	line-height: 30px;
	outline: none;
	color: #000;
	padding-left: 10px;
	padding-right: 20px;
	text-align: left;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}

.custom-options .custom-option:hover, .custom-option.selected {
	background-color:var(--main-table-color-scheme-a);
}

.arrow {
     position: relative;
}

 .arrow:after {
	border-bottom: 2px solid #222;
    border-right: 2px solid #222;
    content: '';
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
        -ms-transform-origin: 66% 66%;
            transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 5px;
}

 .open .arrow:after {
 -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg);
}

/* Number Range */

input[type=range] {
	-webkit-appearance: none;
	margin: 20px 0;
}

input[type=range]:focus {
	outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 10px;
	cursor: pointer;
	animate: 0.2s;
	background-color: var(--main-color-scheme-a);
}
input[type=range]::-webkit-slider-thumb {
	height: 10px;
	width: 24px;
	border-radius: 2px;
	background-color: #fff;
	cursor: pointer;
	-webkit-appearance: none;
}

input[type=number] {
	position: relative; 
	padding: 5px;
	padding-right: 25px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	opacity: 1;
}

input[type=number]::-webkit-outer-spin-button, 
input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: inner-spin-button !important;
	width: 25px;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
}