/* Global */

@font-face {
    font-family: "Rubik";
    src: url('../../../web/resources/fonts/Rubik-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Rubik";
    src: url('../../../web/resources/fonts/Rubik-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

html, body {
	margin: 0;
	padding: 0;

	font-family: "Rubik", "Helvetica", "Arial", "Lucida Grande", "Segoe UI";

	-webkit-text-size-adjust: 100%;
}

a {
	color: inherit;
	text-decoration: inherit;
}

/* GC */

.gc {
	color: #ffffff;
	display: inline-block;
	/* font-family: "Helvetica", "Arial", "Lucida Grande", "Segoe UI"; */
	font-size: 14px;
	text-decoration: none;
	text-align: center;
	/* user-select: none; */
	outline-color: transparent;
	outline-style: none;

	max-height: 5000em;
		
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.gc.flex {
	display: flex !important;
}

.red {
	background-color: #d42024;
}

.green {
	background-color: #41AD55;
}

.blue {
	background-color: #218ad8;
}

.grey {
	background-color: #c3c3c3;
}

.red:disabled {
	background-color: rgba(212, 32, 36, 0.33);
}

.green:disabled {
	background-color: rgba(39, 175, 68, 0.33);
}

.blue:disabled {
	background-color: rgba(41, 135, 205, 0.33);
}

.grey:disabled {
	background-color: rgba(206, 206, 206, 0.33);
}


/* Bar */

.bar {
	padding: 0;
	margin: 0 auto;

    list-style: none;
            
    flex-direction: column;
            
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content: center;
	
	max-width: 100%
}

.bar_scroll_horizontal {
	padding: 0;
	margin: 0 auto;

    list-style: none;
            
    flex-direction: row;
            
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	
	-webkit-flex-flow: nowrap;
	flex-flow: nowrap;
	justify-content: left;
	white-space: nowrap;

	overflow-x: auto;
	overflow-y: hidden;

	scroll-behavior: smooth;

	/* scroll-behavior: smooth; */

	-ms-overflow-style: none;  /* IE and Edge */
  	scrollbar-width: none;  /* Firefox */
	
	max-height: 100%
}

/* Hide scrollbar for Chrome, Safari and Opera */
.bar_scroll_horizontal::-webkit-scrollbar {
    display: none;
}

.bar_scroll_vertical {
    list-style: none;

	padding: 0;
	margin: 0 auto;

    list-style: none;
            
    flex-direction: column;
            
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content: center;

	white-space: nowrap;	
	
	max-width: 100%;

	overflow-x: hidden;
	overflow-y: auto;

	scroll-behavior: smooth;

	-ms-overflow-style: none;
  	scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.bar_scroll_vertical::-webkit-scrollbar {
    display: none;
}


/* Button */

.button {
	padding: 10px 10px;
	
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;

	font-family: "Rubik", "Helvetica", "Arial", "Lucida Grande", "Segoe UI";
	
	cursor: pointer;
	border: none;
}

.button.circle {
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.button.rounded {
	-moz-border-radius: 999px;
	-webkit-border-radius: 999px;
	border-radius: 999px;
}

.button .image {
	width: 100%;
	height: 100%;

	border: 0px;
}

.button.red:hover {
	background-color: #a1090d;
}

.button.green:hover {
	background-color: #1a9835;
}

.button.blue:hover {
	background-color: #156aa9;
}

.button.grey:hover {
	background-color: #a9a9a9;
}

.button.red:disabled:hover {
	background-color: rgba(212, 32, 36, 0.33);
}

.button.green:disabled:hover {
	background-color: rgba(39, 175, 68, 0.33);
}

.button.blue:disabled:hover {
	background-color: rgba(41, 135, 205, 0.33);
}

.button.grey:disabled:hover {
	background-color: rgba(204, 204, 204, 0.33);
}

.button.simple.transparent {
	background-color: transparent;
	
	color: #09384f;
	
	box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.0) inset;
}

.button.simple.red {
	background-color: transparent;
	
	color: #d42024;
	
	box-shadow: 0px 0px 0px 1px #d42024 inset;
}

.button.simple.green {
	background-color: transparent;
	
	color: #0f5e2e;
	
	box-shadow: 0px 0px 0px 1px #0f5e2e inset;
}

.button.simple.blue {
	background-color: transparent;
	
	color: #218ad8;
	
	box-shadow: 0px 0px 0px 1px #218ad8 inset;
}

.button.simple.grey {
	background-color: transparent;
	
	color: #c3c3c3;
	
	box-shadow: 0px 0px 0px 1px #c3c3c3 inset;
}

.button.simple.transparent:hover {
	background-color: transparent;
	
	color: #09384f;
	
	box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.0) inset;
}

.button.simple.red:hover {
	background-color: #a1090d;
	color: #ffffff;
}

.button.simple.green:hover {
	background-color: #1a9835;
	color: #ffffff;
}

.button.simple.blue:hover {
	background-color: #156aa9;
	color: #ffffff;
}

.button.simple.grey:hover {
	background-color: #c3c3c3;
	color: #ffffff;
}

.button.simple.red:disabled {
	background-color: transparent;
	
	color: rgba(212, 32, 36, 0.33);
	
	box-shadow: 0px 0px 0px 1px rgba(212, 32, 36, 0.33) inset;
}

.button.simple.red:disabled:hover {
	background-color: transparent;
	
	color: rgba(212, 32, 36, 0.33);
	
	box-shadow: 0px 0px 0px 1px rgba(212, 32, 36, 0.33) inset;
}

.button.simple.green:disabled {
	background-color: transparent;
	
	color: rgba(39, 175, 68, 0.33);
	
	box-shadow: 0px 0px 0px 1px rgba(39, 175, 68, 0.33) inset;
}

.button.simple.green:disabled:hover {
	background-color: transparent;
	
	color: rgba(39, 175, 68, 0.33);
	
	box-shadow: 0px 0px 0px 1px rgba(39, 175, 68, 0.33) inset;
}

.button.simple.blue:disabled {
	background-color: transparent;
	
	color: rgba(41, 135, 205, 0.33);
	
	box-shadow: 0px 0px 0px 1px rgba(41, 135, 205, 0.33) inset;
}

.button.simple.blue:disabled:hover {
	background-color: transparent;
	
	color: rgba(41, 135, 205, 0.33);
	
	box-shadow: 0px 0px 0px 1px rgba(41, 135, 205, 0.33) inset;
}


/* Label */

.label {
	vertical-align: middle;
	background-color: rgba(0, 0, 0, 0);
	/* color: #09384f; */
	color: #000000;
	text-align: left;
	
	padding: 10px;
}

.label.simple.green {
	background-color: transparent;
	
	color: #27af44;
}

.label.simple.blue {
	background-color: transparent;
	
	color: #218ad8;
	
	box-shadow: 0px 0px 0px 1px #218ad8 inset;
}


/* Droplist */

.droplist {
	vertical-align: top;

	/* width: 300px; */
	height: auto;
	
	margin: 0px;
	border: 0px;
  border-radius: 0px;

	background-color: transparent;

	-webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;

	cursor: pointer;

	position: relative;
}

.droplist .title {
	position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    height: 20px;
    line-height: 20px;
    padding: 0 14px;
    font-weight: bold;
    
    color: #000000;
  
    margin: 11px 0 8px 0;
  
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.droplist .arrow_down,
.droplist .arrow_up {
	width: 2px;
	height: 2px;
	position: absolute;
	right: 14px;
	background-color: transparent;
	border: solid #218ad8;
	border-width: 0 2px 2px 0;
	padding: 2px;
}

/* Стрілка вниз — трохи вище */
.droplist .arrow_down {
	top: calc(50% - 6px); /* Центр трохи вище */
	transform: rotate(45deg);
	display: inline-block;
}

/* Стрілка вверх — трохи нижче */
.droplist .arrow_up {
	top: calc(50% - 2px); /* Центр трохи нижче */
	transform: rotate(225deg);
	display: none;
}

/* Slider */

.slider {
	height: 5px;
	position: relative;
	background: #ddd;
	border-radius: 5px;
}

.slider .progress {
	height: 100%;
	left: 25%;
	right: 25%;
	position: absolute;
	border-radius: 5px;
	background: #17a2b8;
}

.range-input {
	position: relative;
}

.range-input input {
	position: absolute;
	width: 100%;
	height: 5px;
	top: -5px;
	background: none;
	pointer-events: none;
	/* -webkit-appearance: none; */
	/* -moz-appearance: none; */
}

input[type="range"]::-webkit-slider-thumb {
	height: 17px;
	width: 17px;
	border-radius: 50%;
	background: #17a2b8;
	pointer-events: auto;
	-webkit-appearance: none;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

input[type="range"]::-moz-range-thumb {
	height: 17px;
	width: 17px;
	border: none;
	border-radius: 50%;
	background: #17a2b8;
	pointer-events: auto;
	-moz-appearance: none;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}


/* Input */

.input {
	vertical-align: top;

	-webkit-appearance: none;
    -moz-appearance: none;
	appearance: none;
	
	width: 100%;
	padding: 8px;
	padding-top: 9px;
	outline: none;
	margin: 0px;
    
    font-size: 14px;
    text-align: left;
	color: #1E357B;
    background-color: #ffffff;
	
	border: 0px;
    border-radius: 0px;
    
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
}


/* Checkbox */

.checkbox {
	display: block;
	position: relative;

	height: 38px;
	
	font-size: 14px;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;

	background-color: transparent;

	user-select: none;
}

.checkbox input {
	height: 38;
	width: 0;

	position: absolute;

	background-color: transparent;

	opacity: 0;
}

.checkbox .checkmark {
	top: 0;
	left: 0;
	
	height: 16px;
	width: 16px;

  border: 2px solid #bcbcbc;

	position: absolute;
	
	background-color: white;

	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.checkbox input:checked ~ .checkmark {
	height: 16px;
	width: 16px;

  border: 2px solid #FF7F10;

	box-shadow: 
    inset 0 0 0 4px white, 
    inset 0 0 0 15px #FF7F10;
}


/* Textarea */

.textarea {
	vertical-align: top;

	-webkit-appearance: none;
    -moz-appearance: none;
	appearance: none;
	
	width: 100%;
	padding: 8px;
	outline: none;
	margin: 0px;
    
    font-size: 14px;
    text-align: left;
	color: #1E357B;
    background-color: #ffffff;
    
    border: 0px;
	border-radius: 0px;

	resize: none;
    
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
}


/* Image */

.image {
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	
	cursor: pointer;
	
	border: 1px solid #d1d1d1;
}


/* Modal */

.modal {
	z-index: 99;
	left: 0%;
	top: 0%;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.7);
	position: fixed;
	display: none;
}

.modal .loader {	
	top: 50%;
	width: 70px;
	height: 70px;

	margin-left: -38px;
	margin-top: -38px;
	
	position: fixed;
	
	border: 3px solid #d1d1d1;
	border-radius: 50%;
	border-top: 3px solid #f99b1f;
	border-bottom: 3px solid #f99b1f;
	
	-webkit-animation: spin 1s linear infinite;
	animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.modal .title {
	z-index: 99;
	
	left: 0px;
	top: 53%;
	width: 100%;
	height: 16px;
	
	position: fixed;
	
	vertical-align: middle;
	background-color: rgba(0, 0, 0, 0);
	color: #1E357B;
	text-align: center;
}


/* Sizes */

.medium {
	font-size: 14px;
}
		
.big {
	font-size: 18px;
}
