body {
	margin: 0;
	padding: 0;
}
#root--drawWidget {
  	top:0;
	width: 100%;
	height: 100%;
	position: fixed;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Montserrat';
	z-index: 99999;
}

.draw-widget * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.draw-widget > * {
	z-index: 500;
}

.draw-widget-canvas {
	position: absolute;
	top:0;
	z-index: 1;
}

.draw-widget {
	cursor: none;
}

.color-switcher {
	cursor: default;
	max-width: 340px;
	width: 35%;
	min-width: 290px;
	height: 74px;
	background: #FFFFFF;
	border: 2px solid #F1F1F1;
	border-radius: 60px;
	padding: 15px 20px;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	top: 22px;
	left: 4%;
}

.color-switcher__svg-wrapper {
	position: relative;
	width: 100px;
	height: 100px;
	left: -30px;
	filter: drop-shadow(0px 5px 4px rgba(0, 0, 0, 0.5));
}

.check-icon {
	width: 12px;
	height: 12px;
	border: 2px solid #afa9a3;
	border-bottom: none;
	border-right: none;
	transform: rotate(-135deg);
	margin-bottom: 4px;
}

.color-switcher__current-color-text {
	vertical-align: middle;
	height: 100%;
	font-style: normal;
	font-weight: bold;
	font-size: 14px;
	color: #23272A;
	margin-right: 45%;
	position: absolute;
	left: 110px;
	top: 15px;
}

.color-switcher__color-name {
	font-size: 24px;
	line-height: 29px;
	color: #DE143D;
}

.color-switcher__dropdown-btn {
	border: 2px solid #F1F1F1;
}

.color-switcher__dropdown {
	position: absolute;
	text-align: center;
	width: 410px;
	height: 380px;
	right: calc(0% - 169px);
	top: 80px;
	background: #FFFFFF;
	border: 3px solid #F1F1F1;
	box-shadow: 0px 8px 12px rgba(28, 28, 28, 0.1);
	border-radius: 8px;
	padding: 50px;
	font-weight: bold;
	font-size: 24px;
	line-height: 29px;
	color: #23272A;
}
.color-switcher__dropdown::after {
	content: '';
	position: absolute;
	width: 40px;
	height: 40px;
	background: #FFFFFF;
	border: 3px solid #F1F1F1;
	box-shadow: 0px 8px 12px rgba(28, 28, 28, 0.1);
	border-bottom: none;
	border-right: none;
	border-radius: 10px;
	transform: rotate(45deg);
	top: -18px;
    left: calc(50% - 20px);
	z-index: -1;
}
.color-switcher__dropdown::before {
	content: '';
	position: absolute;
	width: 38px;
	height: 38px;
	background: #FFFFFF;
	border-radius: 10px;
	transform: rotate(135deg);
	top: -14px;
    left: calc(50% - 17.5px);
    z-index: 5;
}

.color-switcher__examples-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin-top: 20px;
	margin-bottom: 50px;
}

.color-switcher__color-example {
	width: 25%;
	display: flex;
	justify-content: center;
	-ms-align-items: center;
	align-items: center;
	padding: 2px;
	transition: 0.2s;
}

.brush-hover:hover {
	cursor: pointer;
	transform: scale(1.1);
	filter: drop-shadow(0px 5px 4px rgba(0, 0, 0, 0.5));
}

.blured,
.brush-active  {
	filter: drop-shadow(0px 5px 4px rgba(0, 0, 0, 0.5));
	position: relative;
}

.brush-active::after {
	position: relative;
	position: absolute;
	content: '';
	width: 9px;
	height: 13px;
	border: 3.5px solid white;
	border-radius: 3px;
	border-bottom: none;
	border-right: none;
	transform: rotate(-135deg);
}

.widget-starter {
	box-shadow: 0 0 10px #eee;
	z-index: 99999;
	right: 5%;
	top: 50%;
	position: fixed;
	width: 217px;
	height: 83px;
	background-color: white;
	border-radius: 9px;
	display: flex;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
	padding: 10px;
}

.widget-starter__start-btn {
	position: absolute;
	left: -52px;
	width: 104px;
	height: 104px;
	border: 6px solid white;
	border-radius: 50%;
	background-image: url('./img/start-btn.png');
	background-color: white;
	background-size: cover;
	box-shadow: 0px 4px 12px rgba(28, 28, 28, 0.1);
	transition: 0.5s ease;
}

.widget-starter__start-btn:hover {
	transform: rotate(360deg);
	box-shadow: 0px 0px 7px rgba(28, 28, 28, 0.4);
	cursor: pointer;
}

.widget-starter__close-btn {
	width: 24px;
	height: 24px;
	-ms-align-self: flex-start;
	align-self: flex-start;
	border-radius: 50%;
	background-image: url('./img/close-btn.png');
	background-repeat: no-repeat;
	background-position: center;
	box-shadow: 0px 4px 12px rgba(28, 28, 28, 0.1);
	transition: 0.5s ease;

}.widget-starter__close-btn:hover {
	transform: rotate(180deg);
	box-shadow: 0px 0px 10px rgba(28, 28, 28, 0.4);
	cursor: pointer;
} 

.widget-starter__text {
	margin-left: 55px;
	font-weight: bold;
	font-size: 16px;
	line-height: 20px;
	color: #23272A;

}

.widget-starter__text > span {
	font-size: 20px;
}


/*     
	---	FOOTER ---
*/


.draw-widget-footer {
	cursor: default;
	background-color: white;
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 25px 0;
	display: flex;
	justify-content: center;
	-ms-align-items: center;
	align-items: center;
	font-weight: bold;
	font-size: 14px;
	line-height: 17px;
	box-shadow: 0px 0px 12px rgba(28, 28, 28, 0.1);
	z-index: 50;
}

.footer-actions {
	display: flex;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
	width: 70%;
	min-width: 500px;
	max-width: 960px;
	position: relative;
}

.footer-actions__white-bg {
	display: flex;
	-ms-align-items: center;
	align-items: center;
	width: 130px;
	justify-content: space-between;
}

.footer-actions__white-bg > p {
	width: 95px;
	margin-left: 0.5vw;
}

.footer-actions__white-bg:hover {
	cursor: pointer;
}

.white-bg--checked::after {
	content: '';
	width: 6px;
	height: 12px;
	border: 3.5px solid black;
	border-radius: 3px;
	border-bottom: none;
	border-right: none;
	transform: rotate(-135deg);
}

.footer-actions__checkbox {
	display: flex;
	justify-content: center;
	-ms-align-items: center;
	align-items: center;
	width: 32px;
	height: 32px;
	border: 2px solid #F1F1F1;
	border-radius: 3px;
}

.footer-actions__brush-types {
	display: flex;
	position: relative;
}

.footer-actions__current-type {
	display: flex;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
	padding: 10px;
	width: 96px;
	height: 50px;
	border: 2px solid #F1F1F1;
	border-radius: 60px;
}

.footer-actions__dropdown {
	display: none;
	position: absolute;
	text-align: center;
	width: 410px;
	height: 230px;
    left: -51px;
    bottom: 95px;
	background: #FFFFFF;
	border: 3px solid #F1F1F1;
	box-shadow: 0px 8px 12px rgba(28, 28, 28, 0.1);
	border-radius: 8px;
	padding: 50px;
	font-weight: bold;
	font-size: 24px;
	line-height: 29px;
	color: #23272A;
	z-index: 1
}
.footer-actions__dropdown::after {
	content: '';
	position: absolute;
	width: 40px;
	height: 40px;
	background: #FFFFFF;
	border: 3px solid #F1F1F1;
    box-shadow: -8px -8px 8px rgba(28, 28, 28, 0.1);
	border-bottom: none;
	border-right: none;
    border-top-left-radius: 10px;
	transform: rotate(225deg);
	bottom: -24px;
    left: calc(50% - 20px);
	z-index: 2;
}

.footer-actions__brush-types {
	display: flex; 
	-ms-align-items: center;
	align-items: center;
}

.footer-actions__brush-types > p {
	width: 90px;
}

.footer-actions__type-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin-top: 20px;
	margin-bottom: 50px;
}

.footer-actions__type-example {
	width: 25%;
	display: flex;
	justify-content: center;
	-ms-align-items: center;
	align-items: center;
	padding: 2px;
	transition: 0.2s;
}

.dropdown-btn {
	border-radius: 50%;
	border:none;
	height: 32px;
	width: 32px;
	background: transparent;
	display: flex;
	justify-content: center;
	-ms-align-items: center;
	align-items: center;
	transition: 0.5s ease;

}
.dropdown-btn:hover {
	cursor: pointer;
	box-shadow: 0px 0px 10px rgba(28, 28, 28, 0.4);
}

.footer-actions__sizes-list {
	display: flex;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
	width: 70%;
	list-style: none;
	position: relative;
}

.footer-actions__brush-sizes{
	display: flex;
	width: 62%;
	min-width: 320px;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
}

.footer-actions__brush-sizes > p {
	min-width: 110px;
}

.footer-actions__sizes-list::after {
	content: '';
	position: absolute;
	width: 95%;
	height: 3px;
	background: #C4C4C4;
	border-radius: 3px;
	z-index: 5;
	top: calc(50% - 4px);
	left: 2.5%;
}

.footer-actions__size-example {
	position: relative;
	z-index: 20;
}

.footer-actions__size-example:hover {
	cursor: pointer;
}

.share-block {
	right: calc(-18vw + 140px);
	display: flex;
	flex-direction: column;
	font-weight: 500;
	font-size: 15px;
	height: 60px;
	color: #23292A;
	justify-content: space-between;
	position: relative;
	-ms-align-items: center;
	align-items: center;
}

.share-block__heading {
	min-width: 150px;
}

.share-block__social-list {
	list-style: none;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	width: 150px;
	height: 40px;
	justify-content: space-between;
}

.share-block__social-logo {
	width: 32px;
	height: 32px;
	background: grey;
	border-radius: 50%;
}

.share-block__social-logo:hover {
	cursor: pointer;
}

.draw-widget-footer-burger {
	display: none;
}

.global-actions {
	display: flex;
	width: 300px;
	justify-content: space-between;
	position: absolute;
	right: 4%;
	top: 30px;
	font-weight: 500;
	font-size: 16px;
}

.global-actions__reset {
	cursor: default;
	width: 236px;
	height: 54px;
	padding: 0 30px;
	background: #FFFFFF;
	border: 2px solid #F1F1F1;
	box-shadow: 0px 4px 12px rgba(28, 28, 28, 0.1);
	border-radius: 54px;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	justify-content: space-between;
}

.global-actions__reset-btn {
	position: relative;
	border-radius: 50%;
	background-image: url('./img/reset-btn.png');
	background-repeat: no-repeat;
	background-position: center;
	width: 32px;
	height: 32px;
}

.global-actions__exit-btn:hover, 
.global-actions__reset:hover {
	cursor: pointer;
}

.global-actions__exit-btn {
	cursor: default;
	background-color: #fff;
	background-image: url('./img/exit-btn.png');
	background-repeat: no-repeat;
	background-position: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 2px solid #F1F1F1;
	box-shadow: 0px 4px 12px rgba(28, 28, 28, 0.1);
}


/*  ------  SIDEBAR -------*/

.related-sidebar {
	cursor: default;
	transition: 0.5s ease;
	display: flex;
	flex-direction: column;
	-ms-align-items: center;
	align-items: center;
	width: 465px;
	max-width: 100vw;
	height: 100vh;
	background-color: #fff;
	position: absolute;
	top:0;
	left: 0;
	z-index: 100;
	padding-top: 130px;
	color: #23292A;
	font-weight: bold;
}

.related-sidebar__close-btn {
	display: none;
}

.related-sidebar__heading {
	font-size: 14px;
	line-height: 18px;
	text-align: center;
}

.related-sidebar__comb-name {
	font-size: 24px;
	font-style: normal;
	line-height: 32px;
	color: black;
	margin-bottom: 5px;
}

.related-sidebar__art-code {
	font-style: italic;
	margin-bottom: 20px;
}

.unactive-color {
	color: #c4c4c4;
	font-weight: normal;
}

.related-sidebar__slider-btn {
	background-color: grey;
	background-image: url('./img/slider_arrow.png');
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	margin-top: -225px;
}

.related-sidebar__slider-btn:hover {
	cursor: pointer;
}

.related-sidebar__slider-btn:first-child {
	transform: rotate(180deg);
}

.related-sidebar__slider-wrapper {
	display: flex;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
	width: 100%;
	height: 90%;
	max-height: 620px;
	padding: 0 4%;
	margin-top: 15px;
}

.related-sidebar__slider {
	width: 290px;
	height: 100%;
	overflow: hidden;
	display: flex;
	position: relative;
}

.related-sidebar__items-wrapper {
	display: flex;
	height: 100%;
	position: absolute;
	left: 0;
	transition: 0.3s ease;
}

.related-sidebar__slider-item {
	height: 100%;
	width: 290px;
	display: flex;
	flex-direction: column;
	-ms-align-items: center;
	align-items: center;
}

.related-sidebar__slider-item > * {
	text-align: center;
}

.related-sidebar__img-wrapper {
	width: 100%;
	height: 380px;
	text-align: center;
	margin-bottom: 25px;
	border: 2px solid #F1F1F1;
}

.related-sidebar__deleted-price {
	font-size: 22px
}

.related-sidebar__price {
	font-size: 30px;
}

.related-sidebar__img-wrapper > img {
	height: 100%;
}

.related-sidebar__buy-btn {
	margin-top: 15px;
	width: 150px;
	height: 37px;
	background-color: #94D600;
	border: none;
	border-radius: 5px;
	color: white;
	display: flex;
	justify-content: center;
	-ms-align-items: center;
	align-items: center;
	text-decoration: none;
}

.related-sidebar__buy-btn:hover {
	opacity: 0.8;
}

@media (max-width: 1024px) {
	.footer-actions {
		width: 100%;
		height:100%; 
		justify-content: space-between;
		display: none;
	}

	.draw-widget-footer-burger {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		width: 32px;
		height: 20px;
		top: 10px;
		left: 5%;
		position: static;
	}
	
	.draw-widget-footer-burger:hover {
		cursor: pointer;
	}

	.draw-widget-footer-burger  > span {
		width: 100%;
		height: 2px;
		background-color: #C4C4C4;
	}

	.draw-widget-footer {
		justify-content: space-between;
		padding: 30px 5%;
		height: 85px;
	}

	.share-block {
		flex-direction: row;
		width: 305px;
		position: static;
		right: 5%;
		bottom: 13px;
	}


	.footer-actions__white-bg {
		position: absolute;
		top:  100px;
		width: 120px;
	}

	.footer-actions__brush-sizes {
		position: absolute;
		top: 0px;
		right: -2%;
	}

	.footer-actions__brush-types {
		position: absolute;
		top: 10px;
		left: 0;
	}

	.footer-actions__dropdown {
		left:0px
	}
	.footer-actions__dropdown::after{
		left: calc(50% - 73px);
	}
}

@media (max-width: 768px) {
	
	.related-sidebar__close-btn {
		margin: -10px 0 10px 0;
		border-radius: 5px;
		border: 1px solid black;
		width: 75px;
		height: 30px;
		display: flex;
		justify-content: center;
		-ms-align-items: center;
		align-items: center;
		text-align: center;
		background-color: green;
	}

	.related-sidebar__close-btn:hover {
		cursor: pointer;
	}

	.color-switcher {
		height: 60px;
		min-width: 220px;
		left: 3%;
		padding-right: 10px;
	}

	.color-switcher__svg-wrapper svg {
		width: 80px;
	}

	.color-switcher__current-color-text {
		left: 75px;
		font-size: 12px;
		top: 7px;
	}

	.color-switcher__color-name {
		font-size: 20px;
	}

	.color-switcher__dropdown {
		width: 290px;
		height: 355px;
		right: calc(0% - 118px);
		padding: 20px 10px;
	}

	.footer-actions {
		min-width: 0;
		left: 200px;
		margin-top: 50px;
		width: 100%;
		height:100px;
		justify-content: center;
		display: none;
		position: static;
	}


	.draw-widget-footer-burger {
		position: absolute;
		top: 20px;
		left: calc(50% - 16px);
	}

	.share-block:after {
		content: '';
		position: absolute;
		height: 12px;
		left: 0;
		bottom: 77px;
		width: 100vw;
		box-shadow: 0px -3px 10px rgba(28, 28, 28, 0.1);
	}

	.draw-widget-footer-burger  > span {
		width: 100%;
		height: 2px;
		background-color: #C4C4C4;
	}

	.draw-widget-footer {
		justify-content: center;
		-ms-align-items: flex-end;
		align-items: flex-end;
		padding-bottom: 15px;
		height: 150px;
		flex-direction: column;
		-ms-align-items: center;
		align-items: center;
	}

	.share-block {
		position: static;
		margin-bottom: -20px;
	}


	.footer-actions__white-bg {
		position: absolute;
		top:  154px;
		width: 120px;
		right: 5%;
	}

	.footer-actions__brush-sizes {
		position: static;
		margin-top: -130px;
		width: 90vw;
		max-width: 500px;
	}

	.footer-actions__brush-types {
		position: absolute;
		top: 145px;
		left: 5%;
	}

	.global-actions__reset-text {
		display: none;
	}

	.global-actions__reset {
		padding: 0;
		border-radius: 50%;
		width: 54px;
		justify-content: center;
	}

	.global-actions {
		width: 110px;
		right: 2%;
		top: 22px;
	}

	.footer-actions__dropdown {
		width: 290px;
		padding: 20px 10px;
		left: 64px;
		z-index: 100;
	}

	.related-sidebar {
		width: 100vw;
		padding-top: 110px;
	}
}

@media (max-width: 380px) {	
	.color-switcher__dropdown {
		width: 290px;
		height: 355px;
		right: calc(0% - 85px);
		padding: 20px 10px;
	}

	.global-actions > * {
		border-radius: 50%;
		width: 40px;
		height: 40px;
	}

	.global-actions {
		width: 83px;
		top: 30px;
	}

	.footer-actions__white-bg {
		right: 1%;
	}

	.footer-actions__brush-types {
		left: 1%;
	}
	
	.related-sidebar__slider-wrapper {
	    padding: 0 3px;
	}

}

/*Animation*/
.lds-ring {
	display: inline-block;
	position: relative;
}

.lds-ring > * {
	position: absolute;
}

.lds-ring div {
	top: -4px;
	left: -4px;
	box-sizing: border-box;
	display: block;
	width: 40px;
	height: 40px;
	border: 2px solid #fff;
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: blue transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
	animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
	animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
	animation-delay: -0.15s;
}
@keyframes lds-ring {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
