body
{
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	font-family: "Roboto";
	font-weight: 300;
}

a
{
	text-decoration: none;
}

b
{
	font-family: "Roboto-Bold";
}

input
{
	font-family: "Roboto";
	font-weight: 300;
}

h3 {
	font-family: "Roboto";
	font-weight: 400;
}

.btn-cont
{
	justify-content: space-between;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}


.btn-cont > *
{
	display: inline-block;
	margin-bottom: 10px;
}

.active {
	background-color: #de5e49!important;
	color: white;
}

.btn
{
    padding: 8px;
    width: 170px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    background-color: #F3F2F5;
	font-family: "Roboto";
	font-weight: 300;
}


.btn:hover
{
	background-color: rgb(224, 224, 224);
	cursor: pointer;
}

.btn-confirm, .btn-green
{
	background-color: green;
	color: white;
}

.btn-confirm:hover, .btn-green:hover
{
	background-color: rgb(0, 107, 0);
}

.btn-blue
{
	background-color: teal;
	color: white;
}

.btn-blue:hover
{
	background-color: rgb(0, 112, 112);
}

.btn-red
{
	background-color: rgb(180, 0, 0);
	color: white;
}

.btn-red:hover
{
	background-color: rgb(162, 0, 0);
}

.w-100
{
	width: 100%;
}

/*
** -- Search Bar
*/

.search-cont
{
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	color: white;
	transition-duration: 0.3s;
	justify-content: center;
	flex-basis: 0;
	flex-grow: 1;
	margin: 0px 3%;
	max-width: 400px;
}

.search-cont input {
	width: 0%;
    font-size: 14px;
	font-family: "Roboto";
	font-weight: 300;
    padding: 0;
    border: 0px;
    background-color: transparent;
	display: block;
	transition-duration: 0.3s;
	color: white;
}

.search-icon
{
    background-image: url(../assets/pictos/search.png);
    background-size: auto 90%;
    background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	padding: 10px;
	margin-bottom: 0px;
}

.search-cont.open
{
	border-bottom: 1px solid white;
}

.search-cont.open input
{
	
	width: 100%;
	transition-duration: 0.8s;
}

.search-cont.open .search-icon
{
	margin-bottom: 3px;
}

.search-icon.load
{
	background-image: url(../assets/pictos/spinner-w.png);
	animation: spinner 1.2s ease-in-out infinite;
}

@keyframes spinner {
	0%   { transform: rotate(0deg);}
	20%   { transform: rotate(-70deg);}
	100%   { transform: rotate(720deg);}
}

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


/*
** -- Misc
*/

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

.toggle-cont
{
	padding: 0px !important;
}

.toggle {
	background-color: white;
    width: 40px;
    height: 18px;
    display: block;
    border-radius: 30px;
    position: relative;
    transition-duration: 0.5s;
}

td .toggle
{
	margin-left: auto;
    margin-right: auto;
}

.toggle.on
{
	background-color: rgb(3, 197, 45);
}

.toggle.on:before
{
    background-color: rgb(1, 158, 35);
    left: 21px;
}

.toggle:before {
	position: absolute;
    display: block;
    content: "";
    background-color: grey;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    left: 0px;
    top: -1px;
	border: 2px solid white;
	transition-duration: 0.3s;
}

.toggle.on.load
{
	background-color: rgb(182, 182, 182);
}

.toggle.on.load:before
{
	animation: load 4s infinite linear;
    background-image: url(../assets/pictos/spinner-red.png);
    background-size: 80%;
    background-position: center;
	background-repeat: no-repeat;
	background-color: white;
}

.toggle.on.wait
{
	background-color: rgb(0, 172, 224);
}

.toggle.on.wait:before
{
	background-color: rgb(0, 137, 179);
}



/*
** -- Switch New version
*/

.switch {
    position: relative;
    box-sizing: border-box;
    height: 20px;
    cursor: pointer;
	width: 45px;
	z-index: 0;
}

.switch:before {
    background-color: #b6b6b6;
    width: 100%;
    display: block;
    content: " ";
    height: 100%;
    border-radius: 20px;
    z-index: 1;
	position: relative;
	transition-duration: 0.5s;
}

.switch:after {
	background-color: #00000060;
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    z-index: 2;
    position: absolute;
    border-radius: 50%;
    top: 0px;
    left: 0px;
    transition-duration: 0.5s;
}

.switch:checked:before {
    background-color: rgb(3, 197, 45);
}

.switch:checked:after {
    left: calc(100% - 20px);
}