/*
	CardDavMATE - Web CardDav Client
	Copyright (C) 2011-2012 Jan Mate <jan.mate@inf-it.com>

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU Affero General Public License as
	published by the Free Software Foundation, either version 3 of the
	License, or (at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU Affero General Public License for more details.

	You should have received a copy of the GNU Affero General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

body, input, select, textarea
{
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
}

#System
{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: none;
}

#System > div.update_d
{
	position: absolute;
	display: block;
	overflow: hidden;
	top: 24px;
	padding-top: 8px;
	bottom: 0px;
	right: 0px;
	width: 24px;
	background: #000000;
	color: #eeeeee;
	z-index: 20;
}

#System *> div.update_h
{
	width: 24px;
	font-size: 1.1em;
	font-weight: bold;
	writing-mode: tb-rl;
	white-space: nowrap;
	-webkit-transform:rotate(90deg);
	-moz-transform:rotate(90deg);
	-o-transform: rotate(90deg);
}

#System *> span.update_h
{
	cursor: pointer;
}

#System > div.resources_d
{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	border-right: 1px solid;
	border-right-color: #c0c0c0;
	width: 224px;
	height: 24px;
	background: #000000;
	color: #eeeeee;

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

#System *> div.resources_h
{
	position: absolute;
	padding-left: 8px;
	padding-top: 3px;
	font-size: 1.1em;
	font-weight: bold;
}

#System > div.collection_d
{
	position: absolute;
	top: 0px;
	left: 225px;
	border-right: 1px solid;
	border-right-color: #c0c0c0;
	width: 250px;
	height: 24px;
	background: #000000;
	color: #eeeeee;

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

#System *> div.collection_h
{
	position: absolute;
	padding-left: 8px;
	padding-top: 3px;
	font-size: 1.1em;
	font-weight: bold;
}

#System *> input.collection_a
{
	position: absolute;
	right: 0px;
	padding-top: 4px;
	padding-right: 6px;
	width:16px;
	height: 16px;
}

#System > div.contact_d
{
	position: absolute;
	top: 0px;
	left: 476px;
	right: 0px;
	height: 24px;
	background: #000000;
	color: #eeeeee;

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

#System *> div.contact_h
{
	position: absolute;
	padding-left: 8px;
	padding-top: 3px;
	font-size: 1.1em;
	font-weight: bold;
}

#System *> input.system_l
{
	position: absolute;
	right: 0px;
	padding-top: 4px;
	padding-right: 6px;
	width:16px;
	height: 16px;
}

#System > #ResourceList
{
	position: absolute;
	display: block;
	top: 24px;
	bottom: 0px;
	left: 0px;
	border-right: 1px solid;
	border-right-color: #c0c0c0;
	width: 224px;
	overflow: auto;
	overflow-x: hidden;
	background: #e0e0e0;

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

#System > #ResourceListOverlay
{
	position: absolute;
	top: 24px;
	left: 0px;
	bottom: 0px;
	border-right: 1px solid;
	border-right-color: #c0c0c0;
	width: 224px;
	background: #ffffff;
	display: none;
	z-index: 10;
}

#System > #SearchBox
{
	position: absolute;
	display: block;
	top: 24px;
	left: 225px;
	border-right: 1px solid;
	border-right-color: #c0c0c0;
	width: 250px;
	overflow: hidden;
	background: #ffffff;

	height: 28px;
	border-top: 1px solid;
	border-top-color: #ffffff;
	border-bottom: 1px solid;
	border-bottom-color: #c0c0c0;
}

#System > #SearchBox > .container
{
	position: absolute;
	top: 5px;
	left: 29px;
	width: 192px;
}
#System > #SearchBox *> input[data-type=search]
{
	width: 192px;
	background-color: #ffffff;
}

#System > #ABList
{
	position: absolute;
	display: block;
	top: 54px;	/* search support */
	left: 225px;
	border-right: 1px solid;
	border-right-color: #c0c0c0;
	bottom: 0px;
	width: 250px;
	overflow: auto;
	overflow-x: hidden;
	background: #ffffff;

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

#System > #ABListOverlay
{
	position: absolute;
	top: 24px;
	left: 225px;
	bottom: 0px;
	width: 250px;
	overflow: hidden;
	background: #ffffff;
	display: none;
	z-index: 10;
}

#System > #ABListLoader
{
	position: absolute;
	display: none;
	top: 54px;
	left: 225px;
	border-right: 1px solid;
	border-right-color: #c0c0c0;
	bottom: 0px;
	width: 250px;
	overflow: hidden;
	background: #ffffff;
}

#System *> .half
{
	position: relative;
	height: 50% !important;
}

#System > #ABContact
{
	display: block;
	position: absolute;
	top: 24px;
	left: 476px;
	right: 0px;
	bottom: 0px;
	padding-bottom: 8px;
	overflow: auto;
	overflow-x: hidden;
	background: #f0f0f0;
	border-top: 1px solid #ffffff;
}

#System > #ABContactOverlay
{
	position: absolute;
	top: 24px;
	left: 476px;
	right: 0px;
	bottom: 0px;
	overflow: hidden;
	background: #ffffff;
	display: none;
	z-index: 10;
}

#Login img[data-type=system_logo]
{
	padding-bottom: 5px;
}

#Login table, #System table
{
	padding: 0px 0px 0px 0px;
	border: none;
	border-collapse: collapse;
}

#Login td, #System td
{
	position: relative;
	padding: 0px 3px 0px 0px;
	height: 21px;	/* subpixel problem if top padding is used */
	vertical-align: top;
	border: none;
}

#System td.clean
{
	padding: 0px 0px 0px 0px !important;
}

#System td.buttons
{
	padding-top: 10px;
}

#System td.type
{
	width: 116px;
}




select
{
	font-size: 1em;
	min-height: 18px;
	max-height: 18px;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	border: none;

	background: #ffffff url(%appswebroot%/apps/carddavmate/img/select.png) no-repeat center right;

	padding-left: 3px;		/* minor problem with chrome on windows */
	padding-right: 13px;	/* original: 18 - minor problem with chrome on windows */

	appearance: none;
	-webkit-appearance: none;

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

	outline: none;
	-moz-outline: none;
}

@-moz-document url-prefix() {
	select
	{
		font-size: 0.95em;
		line-height: 18px;

		padding-left: 0px;
		padding-right: 0px !important;

		padding-bottom: 1px;
		background: transparent url(%appswebroot%/apps/carddavmate/img/x.png) repeat-x;
	}

	select option
	{
		background-color: #ffffff !important;
	}
}

select[disabled]
{
	/* Safari problem with textfield (it is one pixel higher than the selectbox) */
	min-height: 18px;
	max-height: 18px;
	padding-right: 3px !important;


	font-size: 1em;

	color: #000000;
	background: #f9f9f9 none;

	appearance: textfield;
	-webkit-appearance: textfield;
	-moz-appearance: window !important;
}
select[disabled]:-moz-last-node
{
	font-size: 0.95em;

	padding-left: 0px;

	/* FF for windows fix */
	padding-right: 0px !important;
	background: transparent url(%appswebroot%/apps/carddavmate/img/y.png) repeat-x;
}

select[disabled][data-type="%country"]
{
	/* Safari problem with textfield (it is one pixel higher than the selectbox) */
	min-height: 18px;
	max-height: 18px;

	color: #000000;
	background: #f9f9f9;

	appearance: textfield;
	-webkit-appearance: textfield;
	-moz-appearance: window;
}
select[disabled][data-type="%country"]:-moz-last-node
{
	margin-left: 0px !important;
	background: transparent url(%appswebroot%/apps/carddavmate/img/y.png) repeat-x;
}

select[disabled][data-type="im_service_type"]
{
	/* Safari problem with textfield (it is one pixel higher than the selectbox) */
	min-height: 18px;
	max-height: 18px;

	color: #000000;
	background: #f9f9f9;

	appearance: textfield;
	-webkit-appearance: textfield;
	-moz-appearance: window;
}
select[disabled][data-type="im_service_type"]:-moz-last-node
{
	margin-left: 0px !important;
	background: transparent url(%appswebroot%/apps/carddavmate/img/y.png) repeat-x;
}



td[data-size="half"] > select[data-type="%country"]
{
	min-width: 164px !important;
	max-width: 164px !important;
}
@-moz-document url-prefix() {
	td[data-size="half"]
	{
		background: url(%appswebroot%/apps/carddavmate/img/ff_half.png) no-repeat;
	}
}

td[data-size="small"] > select
{
	min-width: 111px !important;
	max-width: 111px !important;
}
@-moz-document url-prefix() {
	td[data-size="small"]	/* FF image hack to show select box as text box */
	{
		background: url(%appswebroot%/apps/carddavmate/img/ff_small.png) no-repeat;
	}
}

td[data-size="full"] > select[data-type="%country"]
{
	min-width: 331px !important;
	max-width: 331px !important;
}
td[data-size="full"] > select[data-type="language"]
{
	min-width: 331px !important;
	max-width: 331px !important;
}
@-moz-document url-prefix() {
	td[data-size="full"]	/* FF image hack to show select box as text box */
	{
		background: url(%appswebroot%/apps/carddavmate/img/ff_full.png) no-repeat;
	}
}








input
{
	font-size: 1em !important;
	margin: 0px 0px 0px 0px;
	padding: 0em 0em 0em 0em;
}
input::-moz-focus-inner	/* FF buttons */
{
	border: none;
	padding: 0.07em 0em 0em 0em !important;
}

input[data-type=system_login]
{
	margin-top: 3px;
}

input[type=button], input[type=submit]
{
	cursor: pointer;
	border: 1px solid;
	border-color: #c0c0c0;
	font-size : 0.9em !important;
	padding-left: 0.5em;
	padding-right: 0.5em;

	background: #ffffff;
	color: #000000;
	position : relative;

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

	-webkit-appearance: none;
}
input[data-type=cancel]
{
	margin-right: 1.5em;
}

input[disabled][data-type=date_bday], input[disabled][data-type=date_anniversary]	/* for datepicers because these are also disabled */
{
	color: #010101;	/* webkit bug - the black color not works */
	border-style: none;
	background: #f9f9f9;
	opacity: 1 !important;
}

input[readonly]
{
	border-style: none;
	background: #f9f9f9 !important;
}
input::-webkit-input-placeholder
{
	color: #e0e0e0;
}
input[readonly]::-webkit-input-placeholder
{
	color: #e0e0e0;
}
input[disabled]::-webkit-input-placeholder
{
	color: #e0e0e0;
}
textarea::-webkit-input-placeholder
{
	color: #e0e0e0;
}
textarea[readonly]::-webkit-input-placeholder
{
	color: #e0e0e0;
}
input:-moz-placeholder
{
	color: #e0e0e0;
}
input[readonly]:-moz-placeholder
{
	color: #e0e0e0;
}
input[disabled]:-moz-placeholder
{
	color: #e0e0e0;
}
textarea:-moz-placeholder
{
	color: #e0e0e0;
}
textarea[readonly]:-moz-placeholder
{
	color: #e0e0e0;
}



input[type=text], input[type=password]
{
	height: 18px;
	margin-left: 0px;
	outline: none;
	border: 0px solid;
	border-color: #000000;

	padding-left: 2px;	 /* it resizes the input size :( */

	/* mobile safari remove rounded corners */
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
}

input[type=text].fs, input[type=password].fs
{
	width: 329px;
}

input[type=text].ms, input[type=password].ms
{
	width: 215px;
}

input[type=text].hs, input[type=password].hs
{
	width: 162px;
}

input[type=checkbox]
{
	vertical-align: middle;
	margin-right: 4px;
}
input[type=checkbox], x:-moz-any-link, x:default /* FF checkbox hack */
{
	margin-bottom: 3px !important;
}
input[disabled][type=checkbox]	/* Opera checkbox hack */
{
	background: #e0e0e0;
}
label	/* checkbox + text */
{
	font-size: 0.95em;
}

textarea
{
	font-size: 1em;
	width: 445px;
	height: 64px;	/* if <61 firefox not shows the scroll bar ?! - note: we use autoResize plugin here */
	margin: 0px 0px 0px 0px;
	border-style: none;
	resize: none;
	padding-left: 3px;

	outline: none;
	-moz-outline: none;
	-moz-border-radius: 0px;

	/* mobile safari remove rounded corners */
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
}
textarea:-moz-last-node
{
	width: 448px;
	padding-left: 2px !important;
}
textarea[readonly]
{
	color: #010101;		/* webkit bug - the black color not works */
	background: #f9f9f9;
}


#EditorBox
{
	padding-left: 8px;
	padding-top: 4px;
}

#EditorBox *> .attr_desc
{
	font-size: 1em;
	height: 1.3em !important;
	vertical-align: middle !important;
	text-align: baseline !important;
}

#EditorBox *> .opw	/* + and - image button IE bug with input type="image" and width */
{
	width:13px;
}

#EditorBox *> .op	/* + and - image buttons (width is defined separately in .opw) */
{
	padding-top: 3px;
}

#EditorBox *> .zero_height
{
	height: 0px !important;
}

#EditorBox *> .photo_box
{
	width: 148px !important;
	height: 160px !important;
}

#EditorBox *> .photo_div
{
	overflow:hidden;
	width: 141px;
	height: 160px;

	border: 1px solid;
	border-color: #c0c0c0;
}

#EditorBox *> .photo
{
	position: relative;
}

#EditorBox *> .heightfix
{
	height: 18px !important;
	min-height: 18px !important;
	max-height: 18px !important;
	line-height: 16px !important;
}




#LoginPage
{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 30;
	background: #f0f0f0;
	display: none;	/* by default the login window is hidden */
}

#LoginPage > .window
{
	position: relative;
	top: 25%;
	left: 50%;
	display: inline-block;

	margin-top: -50px;
	margin-left: -175px;
	border: 1px solid;
	border-color: #575757;

	background: #f0f0f0;
	color: #000000;
	text-align: center;
}

#LoginPage > .window > #Login
{
	padding-top: 7px;
	padding-left: 7px;
	padding-right: 4px;
	padding-bottom: 6px;

	margin-left:auto;
	margin-right:auto;
}

#LoginPage > .window > #Login *> #login_message
{
	font-size: 0.8em;
}

#LoginPage > .window > #Login *> #login_message > td
{
	padding-top: 2px;
	height: 1em !important;
}


#LoginPage > .window > #LoginLoader
{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	overflow: visible;
	background: #ffffff;
	display: none;
	z-index: 1;
}

.loader
{
	width: 100%;
	height: 100%;
	background: url(%appswebroot%/apps/carddavmate/img/loadinfo.gif) no-repeat center center;
}


#ABMessage
{
	position: absolute;
	top: 23px;
	left: 476px;
	right: 0px;
	z-index: 20;
	
	background: #ffffff;
	border-bottom: 1px solid;
	border-bottom-color: #000000;
	border-top: 0px;
	display: block;
	height: 0px;
	overflow: hidden;
}

#ABInMessage
{
	position: relative;
	top: -1px;

	background: #ffffff;
	border-bottom: 1px solid;
	border-bottom-color: #000000;
	border-top: 0px;
	display: block;
	height: 0px;
	overflow: hidden;
}

#ABMessageText, #ABInMessageText
{
	position: absolute;
	padding: 7px;
	text-align: center;
	vertical-align: bottom;
	width: 100%;
	font-weight: bold;
	background: #ffffff;
	bottom: 0px;
}

.message_success
{
	color: #000000;
}

.message_error
{
	color: #ff0000;
}

.element_grayed
{
	color: #e0e0e0;
}

.element_default_hidden
{
	visibility: hidden;
}

.element_hide
{
	height: 0px !important;
	max-height: 0px !important;
	overflow: hidden;
}

.element_no_display
{
	display: none;
}

.element_no_display_af
{
	display: none !important;
}




.ablist_header
{
	position: relative;
	overflow: hidden;
	left: 0px;
	top: 0px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
	bottom: auto;
	height: 20px;
	line-height: 17px;
	color: #404040;
	cursor: default;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 0.8em;
	font-weight: bold;
	display: block;
	background: #e0e0e0;

	border-top: 1px solid;
	border-top-color: #ffffff;
	border-bottom: 1px solid;
	border-bottom-color: #c0c0c0;
}

.ablist_item
{
	position: relative;
	display: block;
	overflow: hidden;
	left: 0px;
	top: 0px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	height: 20px;
	line-height: 19px;
	border-top: 1px solid;
	border-top-color: #ffffff;
	border-bottom: 1px solid;
	border-bottom-color: #ffffff;
	color: #404040;
	cursor: default;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 1em;
	background: #ffffff;
}

.ablist_item_data
{
	position: relative;
	display: block;
	overflow: hidden;
	left: 0px;
	top: 0px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
	height: 20px;
}

.ablist_item, x:-moz-any-link, x:default
{
	line-height: 17px;
}

.ablist_item_selected
{
	color: #eeeeee;
	border-bottom: 1px solid;
	border-bottom-color: #a0a0a0;
	background-color: #585858;
}

.ablist_item:hover
{
	cursor: pointer;
	color: #000000;
	background-color: #b9b9b9;
	border-top-color: #f0f0f0;
	border-bottom-color: #c0c0c0;
}

@media only screen and (device-width: 1536px)
{
	/* Rule matched by 1024x768 tablets, like the iPad and iPad2 and ignored by other browsers */
	.ablist_item:hover
	{
		cursor: default;
		color: #404040;
		background-color: #ffffff;
		border-top-color: #ffffff;
		border-bottom-color: #ffffff;
	}
}

@media only screen and (device-width: 768px)
{
	/* Rule matched by 1024x768 tablets, like the iPad and iPad2 and ignored by other browsers */
	.ablist_item:hover
	{
		cursor: default;
		color: #404040;
		background-color: #ffffff;
		border-top-color: #ffffff;
		border-bottom-color: #ffffff;
	}
}

.company, .ablist_item_selected.company:hover
{
	padding-right: 30px;
	background-image: url(%appswebroot%/apps/carddavmate/img/company_s_b.svg);
	background-repeat: no-repeat;
	background-position: right top;
}

.ablist_item_selected.company
{
	background-image: url(%appswebroot%/apps/carddavmate/img/company_s_w.svg);
	background-repeat: no-repeat;
	background-position: right top;
}

.ablist_item_dragged
{
	border: 1px dashed #ffffff;
	background-color: #585858 !important;
	color: #ffffff !important;
}

.resource_header
{
	position: relative !important;
	display: block;
	overflow: hidden;
	left: 0px;
	top: 0px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 224px;
	bottom: auto;
	height: 20px;
	line-height: 17px;
	color: #404040;
	cursor: default;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 0.9em;
	font-weight: bold;
	font-style: italic;
	display: block;

	border-top: 1px solid;
	border-top-color: #ffffff;
	border-bottom: 1px solid;
	border-bottom-color: #c0c0c0;
}

.resource_item, .contact_group
{
	position: relative;
	display: block;
	overflow: hidden;

	left: 0px;
	top: 0px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
}

.resource
{
	position: relative;
	display: block;
	overflow: hidden;

	left: 0px;
	top: 0px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
	height: 40px;
	line-height: 38px;
	border-top: 1px solid;
	border-top-color: #ffffff;
	border-bottom: 1px solid;
	border-bottom-color: #c9c9c9;
	color: #404040;
	cursor: default;
	font-size: 0.9em;
	font-weight: bold;

	padding-left: 8px;
	padding-right: 8px;
}

.resource:hover
{
	cursor: pointer;
	color: #404040 !important;
	background-color: #b9b9b9 !important;
	border-top: 1px solid;
	border-top-color: #f0f0f0;
	border-bottom: 1px solid;
	border-bottom-color: #c0c0c0;
}

.resource_dropped_to
{
	background-color: #b9b9b9;
	border: 1px dashed #ffffff !important;
	/* padding change because here is also left and right border */
	padding-left: 7px;
	padding-right: 7px;
}

.resource_selected
{
	color: #eeeeee !important;
	border-bottom: 1px solid;
	border-bottom-color: #a0a0a0;
	background: #585858;
}

.resource_ro, .resource.resource_ro:hover
{
	background-image: url(%appswebroot%/apps/carddavmate/img/read_only_b.svg);
	background-repeat: no-repeat;
	background-position: 95% center;
	padding-right: 32px;
}

.resource_selected.resource_ro
{
	background-image: url(%appswebroot%/apps/carddavmate/img/read_only_w.svg);
}

.group
{
	position: relative;
	display: block;
	overflow: hidden;

	left: 0px;
	top: 0px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
	height: 20px;
	line-height: 17px;
	border-top: 1px solid;
	border-top-color: #ffffff;
	border-bottom: 1px solid;
	border-bottom-color: #c9c9c9;
	color: #404040;
	cursor: default;
	padding-left: 14px;
	padding-right: 8px;
	font-size: 0.9em;
	background-image: none !important;
}

.group:hover
{
	cursor: pointer;
	color: #404040 !important;
	background: #b9b9b9;
	border-top: 1px solid;
	border-top-color: #f0f0f0;
	border-bottom: 1px solid;
	border-bottom-color: #c0c0c0;
}

.group_dropped_to
{
	background-color: #b9b9b9;
	border: 1px dashed #ffffff !important;
	/* padding change because here is also left and right border */
	padding-left: 13px;
	padding-right: 7px;
}




.r_operate
{
	background-image: url(%appswebroot%/apps/carddavmate/img/loadinfo_s1.gif) !important;
	background-repeat: no-repeat !important;
	background-position: 97% center !important;
	padding-right: 32px;
}

.r_operate.resource_selected
{
	background-image: url(%appswebroot%/apps/carddavmate/img/loadinfo_s3.gif) !important;
}

.r_operate:hover
{
	background-image: url(%appswebroot%/apps/carddavmate/img/loadinfo_s2.gif) !important;
}

.r_success
{
	background-image: url(%appswebroot%/apps/carddavmate/img/success_b.svg) !important;
	background-repeat: no-repeat !important;
	background-position: 97% center !important;
	padding-right: 32px;
}

.r_success.resource_selected
{
	background-image: url(%appswebroot%/apps/carddavmate/img/success_w.svg) !important;
}

.r_success:hover
{
	background-image: url(%appswebroot%/apps/carddavmate/img/success_b.svg) !important;
}

.r_error
{
	background-image: url(%appswebroot%/apps/carddavmate/img/error_b.svg) !important;
	background-repeat: no-repeat !important;
	background-position: 97% center !important;
	padding-right: 32px;
}

.r_error.resource_selected
{
	background-image: url(%appswebroot%/apps/carddavmate/img/error_w.svg) !important;
}

.r_error:hover
{
	background-image: url(%appswebroot%/apps/carddavmate/img/error_b.svg) !important;
}
