@import "../../assets/sass/core/vars.scss";

.gtc-rc-select-menu-container {
	position: relative;
	width: 100%;

	.gtc-rc-select-menu-label {
		padding-bottom: 5px;
	}

	.gtc-rc-select-menu-container-input {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		align-self: stretch;

		.gtc-rc-select-menu-input {
			font-size: 14px !important;
			padding: 10px;
			width: calc(100% - 20px);
			border: 1px solid $color-border;
			border-radius: 3px;
			background-color: white;
			cursor: pointer;
			color: black;

			&:focus {
				box-shadow: 0 0 8px #88daf8;
				border-color: #288dbf;
				border-style: solid;
				border-width: 1px;
				outline-color: none;
				outline: none;
			}
		}

		&:hover {
			span {
				color: #000000 !important;
			}
		}

		.gtc-rc-select-menu-icon-button {
			//font-size: 18;
			position: absolute;
			right: 5px;
			top: 2px;
		}

  	}
  
	.gtc-rc-input-loading{
		text-align: center;
	}

	.gtc-rc-select-menu-file-container {
		//display: inline;
    	padding-top: 14px;
    	width: 100%;
		max-height: 400px;
		//overflow: scroll;
		overflow-x: hidden;
		overflow-y: auto;
		//padding: 5px;
		ul li {
			position: relative;
			display: inline-block;
			text-align: center;
		}

		ul {
			padding: 0;
			margin: 0;
			text-align: left;
		}

		.gtc-rc-select-menu-file {
			display: inline;
			background-color: $color-button-green;
			border-radius: 13px;
			color: #fff;
			display: flex;
			align-items: center;
			margin: 5px 5px 5px 0;

			span {
				font-size: 14px;
				line-height: unset;
				cursor: pointer;
				//padding-left: 5px;
			}

			.gtc-rc-select-menu-file-text {
				padding: 3px 5px 3px 10px;
			}

			.gtc-rc-select-menu-file-download {
				background-color: #000;
				border-radius: 0px 13px 13px 0px;
				padding: 3px 5px 3px 0px;
			}
		}

		.css-ffjoah-MuiGrid-root{
			width: 100%;
    		margin-left: 0px;
		}
	}
}

.gtc-rc-extra-option {
	background-color: transparent;
	color: inherit;
	cursor: default;
	display: block;
	font-size: inherit;
	padding: 8px 12px;
	width: 100%;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	box-sizing: border-box;

	&:hover {
		background-color: #deebff;
	}
}

.gtc-rc-buttonCollapsed {
    width: 100%;
    background-color: #fcfcfc;
    margin: 10px 0;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    font-weight: 600;
}

