body, html {
    height: 100%;
    min-height: 100%;
    font-family: Arial, Verdana;
    font-size: 12px;
    color: #000;
}

p, form {
    margin: 0;
}

.clearfix {
    float: none;
    clear: both;
    margin: 0;
    padding: 0;
}

.required-field {
    color: red;
    font-weight: bold;
}

/* 
    Lightbox style.
*/
#addrbook_lightbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-color: #FFF;
    display: none;
    /* Theoretically for IE 8 & 9 (more valid) */	
    /* ...but not required as filter works too */
    /* should come BEFORE filter */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    /* This works in IE 8 & 9 too */
    /* ... but also 5, 6, 7 */
    filter: alpha(opacity=50);
    /* Older than Firefox 0.9 */
    -moz-opacity:0.5;
    /* Safari 1.x (pre WebKit!) */
    -khtml-opacity: 0.5;
    -webkit-opacity:0.5;
    /* opera */
    -o-opacity:0.5;
    /* Modern!
    /* Firefox 0.9+, Safari 2?, Chrome any?
    /* Opera 9+, IE 9+ */
    opacity: 0.5;
}

/*
    Constrol wrapper
*/
#addrbook_ui {
    width: 500px;
    height: 500px;
    display: none;
    padding: 10px;
    position: absolute;
    top: 100px;
    left: 50%;
    margin-left: -260px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #FFF;
    border: 5px solid #CCC;
    border-radius: 6px;
    -o-border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -ms-border-radius: 6px;
    box-shadow: 10px 10px 5px #888888;
}

/*
    H3 title
*/
#addrbook_ui h3 {
    margin: 0;
    font-family: Arial, Trebuchet, Verdana;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 10px;
}

/*
    Close button style
*/
#addrbook_ui #closebtn {
    display:block;
    float: right;
    color: #FFF;
    width: 24px;
    height: 24px;
    line-height: 21px;
    text-align: center;
    text-decoration: none;
    font-family: Arial, Helvetica, Verdana;
    font-weight: bold;
    font-size: 18px;
    border: 1px solid #C00;
    border-radius: 6px;
    -o-border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -ms-border-radius: 6px;
    background: #a90329; /* Old browsers */
    background: -moz-linear-gradient(top,  #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a90329), color-stop(44%,#8f0222), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */

} #addrbook_ui #closebtn:hover {
    color: #CCC;
}

/*
    Arrow buttons
*/
.arrowDown {
    width: 22px;
    height: 22px;
    float: right;
    background: url('image/arrow-down.png') no-repeat;
}
.arrowUp {
    width: 22px;
    height: 22px;
    float: right;
    background: url('image/arrow-up.png') no-repeat;
}

/*
    Form
*/
.input-prepend {
    display: block;
    clear: both;
}

.list_hover {
	transition: background-color 1s;
}

.list_hover:hover {
	background-color: #A9DDFF;
}

.input-prepend .add-on {
    display: block;
    float: left;
    width: 120px;
    height: 28px;
    line-height: 28px;
    font-weight: bold;
}
.input-prepend .add-on-input {
    border: 1px solid #CCC;
    width: 350px;
    text-indent: 15px;
}

.addrbook_list_item {
	float:left;
	width:426px;
	overflow:hidden;
	padding: 12px 24px ;
	font-weight:bold;
	cursor:pointer;
}

.addrbook_button {
	background-color:#f1f1f1;
	border: 1px solid #c1c1c1;
	border-radius: 2px;
	padding: 6px 15px;
	margin-top: 6px;
	cursor: pointer;
	width: 200px;
	transition: background-color 1s;
}

.addrbook_button:hover {
	background-color:#A9DDFF;
}

.addrbook_edit_button {
	background-color:#f1f1f1;
	border: 1px solid #c1c1c1;
	border-radius: 2px;
	padding: 2px 6px;
	cursor: pointer;
	transition: background-color 1s;
}

.addrbook_edit_button:hover {
	background-color:#66FFBB;
}

.warning {
	color: #FFFFFF;
	background-color:#990000;
	padding: 6px 15px;
	border: 1px solid #330000;
	margin-top: 6px;
	cursor: pointer;
	box-shadow: 0 0 2px #000000;
	margin: 12px 0;
}

.right {
	float:right;
}

.left {
	float:left;
}

/*Sort arrow*/
.sort-link {
    padding: 5px;
    border-radius: 20px;
    border: none;
    display: inline-block;
    color: #2e2e2e;
    text-decoration: none;
    background-color: rgba(0,0,0,0.05);
}

.sort-arrow{
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #2e2e2e;
    content: "";
    position: relative;
    top: -2px;
    display: inline-block;
}