 /*!
 * LABELAUTY jQuery Plugin Styles
 *
 * @file: jquery-labelauty.css
 * @author: Francisco Neves (@fntneves)
 * @site: www.francisconeves.com
 * @license: MIT License
 */

/* Prevent text and blocks selection */
input.labelauty + label ::-moz-selection { background-color: rgba(255, 255, 255, 0); }
input.labelauty + label ::selection { background-color: rgba(255, 255, 255, 0); }
input.labelauty + label ::-moz-selection { background-color: rgba(255, 255, 255, 0); }

/* Hide original checkboxes. They are ugly! */
input.labelauty { display: none !important; }

/*
 * Let's style the input
 * Feel free to work with it as you wish!
 */
input.labelauty + label
{
	display: inline-block;
	font-size: 13px;
	padding: 5px;
	color: black;
	cursor: pointer;

	border-radius: 3px 3px 3px 3px;
	-moz-border-radius: 3px 3px 3px 3px;
	-webkit-border-radius: 3px 3px 3px 3px;


	transition: background-color 0.25s;
	-moz-transition: background-color 0.25s;
	-webkit-transition: background-color 0.25s;
	-o-transition: background-color 0.25s;

	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
}

/* Stylish text inside label */
input.labelauty + label {
	display: inline-grid;
	grid-template-columns: 30px auto auto;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	grid-column-gap: 7px;
	-webkit-column-gap: 7px;
	   -moz-column-gap: 7px;
	        column-gap: 7px;
}

input.labelauty + label > span.labelauty-unchecked,
input.labelauty + label > span.labelauty-checked
{
	display: inline-block;
	line-height: 1.1;
	vertical-align: middle;
}

/* Stylish icons inside label */

input.labelauty + label > span.labelauty-unchecked-image,
input.labelauty + label > span.labelauty-checked-image
{
	grid-column: 1;
	width: 30px;
	height: 30px;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;

	transition: background-image 0.5s linear;
	-moz-transition: background-image 0.5s linear;
	-webkit-transition: background-image 0.5s linear;
	-o-transition: background-image 0.5s linear;
}

input.labelauty + label > span.labelauty-unchecked-image + span.labelauty-unchecked,
input.labelauty + label > span.labelauty-checked-image + span.labelauty-checked
{
	grid-column: 2;
	text-align: left;
	justify-self: start;
}

/* When not Checked */
input.labelauty:not(:checked):not([disabled]) + label:hover
{
	background-color: #eaeaea;
	color: #a7a7a7;
}
input.labelauty:not(:checked) + label > span.labelauty-checked-image
{
	display: none;
}

input.labelauty:not(:checked) + label > span.labelauty-checked
{
	display: none;
}

/* When Checked */
input.labelauty:checked + label
{
	background-color: #3498db;
	color: #ffffff;
}

input.labelauty:checked:not([disabled]) + label:hover
{
	background-color: #72c5fd;
}
input.labelauty:checked + label > span.labelauty-unchecked-image
{
	display: none;
}

input.labelauty:checked + label > span.labelauty-unchecked
{
	display: none;
}

input.labelauty:checked + label > span.labelauty-checked
{
	display: inline-block;
}

input.labelauty.no-label:checked + label > span.labelauty-checked
{
	display: block;
}

/* When Disabled */
input.labelauty[disabled] + label
{
	opacity: 0.5;
}

/* Add a background to (un)checked images */
input.labelauty + label > span.labelauty-unchecked-image
{
	background-image: url( images/icons/folder.png );
}

input.labelauty + label > span.labelauty-checked-image
{
	background-image: url( images/icons/folder.png );
}

input.labelauty.email + label > span.labelauty-checked-image,
input.labelauty.email + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/email.png );
}

input.labelauty.cloudfiles + label > span.labelauty-checked-image,
input.labelauty.cloudfiles + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/cloudfiles.png );
}

input.labelauty.dreamobjects + label > span.labelauty-checked-image,
input.labelauty.dreamobjects + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/dreamobjects.png );
}

input.labelauty.dropbox + label > span.labelauty-checked-image,
input.labelauty.dropbox + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/dropbox.png );
}

input.labelauty.pcloud + label > span.labelauty-checked-image,
input.labelauty.pcloud + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/pcloud.png );
}

input.labelauty.ftp + label > span.labelauty-checked-image,
input.labelauty.ftp + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/folder.png );
}

input.labelauty.sftp + label > span.labelauty-checked-image,
input.labelauty.sftp + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/folder.png );
}

input.labelauty.googledrive + label > span.labelauty-checked-image,
input.labelauty.googledrive + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/googledrive.png );
}

input.labelauty.s3generic + label > span.labelauty-checked-image,
input.labelauty.s3generic + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/folder.png );
}

input.labelauty.onedrive + label > span.labelauty-checked-image,
input.labelauty.onedrive + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/onedrive.png );
}

input.labelauty.azure + label > span.labelauty-checked-image,
input.labelauty.azure + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/azure.png );
}

input.labelauty.backblaze + label > span.labelauty-checked-image,
input.labelauty.backblaze + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/backblaze.png );
}

input.labelauty.openstack + label > span.labelauty-checked-image,
input.labelauty.openstack + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/openstack.png );
}

input.labelauty.s3 + label > span.labelauty-checked-image,
input.labelauty.s3 + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/s3.png );
}

input.labelauty.updraftvault + label > span.labelauty-checked-image,
input.labelauty.updraftvault + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/updraftvault.png );
}

input.labelauty.webdav + label > span.labelauty-checked-image,
input.labelauty.webdav + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/webdav.png );
}

input.labelauty.googlecloud + label > span.labelauty-checked-image,
input.labelauty.googlecloud + label > span.labelauty-unchecked-image {
	background-image: url( ../../images/icons/googlecloud.png );
}

#remote-storage-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 10px;
	gap: 10px;
	padding: 10px;
}

#remote-storage-container.available-remote-storages > label:first-of-type {
	grid-column: 1 / -1;
}

@media (max-width: 768px) {
	#remote-storage-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	#remote-storage-container {
		grid-template-columns: 1fr;
	}
}