html		{	background: url("../images/bg.png") top left repeat; }
body		{	font: normal 12px/1.6em "Oxygen", Arial, Helvetica, sans-serif; }


a			{	color: #294F1C; text-decoration: none; }
a:hover		{	text-decoration: underline; }
a:visited	{	color: #294F1C; }


.shadow		{	-webkit-box-shadow: 1px 1px 3px #bbb; -moz-box-shadow: 1px 1px 3px #bbb; box-shadow: 1px 1px 3px #bbb; }
.box { float: left; display: inline; }
.halfed { width: 45%; margin-right: 40px; }
.clear {clear: both; }
.cf { zoom: 1; }
.cf:before, .cf:after {  content: ""; display: table; }
.cf:after { clear: both; }

#wrapper	{	position: relative; min-width: 960px; margin: 0 10px; }
#wrapper-popup	{	position: relative; max-width: 800px; margin: 0 10px; }


header		{	position: relative; background: #296514 url("../images/highlight-bg.png") top left repeat-x; border: 1px solid #296514; margin: 10px 0 0; padding: 10px; min-height: 50px;
          -webkit-border-radius: 3px 3px 0 0; -moz-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
}

a.site-title		{	position: relative; float: left; color: #eee; text-decoration: none;
                font: 400 24px/48px "Oswald", sans-serif; text-transform: uppercase;
                -webkit-text-shadow: 1px 1px 1px #000; -moz-text-shadow: 1px 1px 1px #000; text-shadow: 1px 1px 1px #000;
}
a.site-title:hover	{	text-decoration: none; }


#userPanel	{	position: relative; float: right; height: 38px; padding: 5px 64px 5px 16px; font-size: 11px;
             color: #ccc; text-align: right; border: 1px solid #294F1C; background-color: #294F1C;
             -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background-clip: padding-box;
}
#userPanel strong	{	color: #fff; }
#userPanel a		{	color: #fff; }
#userPanel ul		{	margin: 0; padding: 0; }
#userPanel li		{	display: inline-block; border-left: 1px solid #999; padding-left: 12px; margin-left: 12px; height: 12px; line-height: 12px; }
#userPanel li:first-child	{	border: 0; padding: 0; margin: 0; }

#userAvatar			{	position: absolute; top: 0; right: 0; width: 48px; height: 48px; background: #296514 url('../images/user-icon.png') center center no-repeat; text-align: center; line-height: 48px; vertical-align: middle;
                -webkit-border-radius: 0 3px 3px 0; -moz-border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0; 
}
#userAvatar img		{	vertical-align: middle; width: 48px; height: 48px; border-left: 1px solid #222; -webkit-border-radius: 0 3px 3px 0; -moz-border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0; }

#mainMenu	{	position: relative; z-index: 11; background: #c5becd url("../images/highlight-more.png") top left repeat-x;
            padding: 0; margin: 0px 0 20px; border: 1px solid #999; border-top: none;
            -webkit-border-radius: 0 0 3px 3px; -moz-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px;
}
#mainMenu>ul>li	{	position: relative; float: left; font: normal 12px/1.6em "Oxygen", sans-serif; border-right: 1px solid #eee; text-shadow: 1px 1px 1px #fff; margin: 0 0 0 -1px; }
#mainMenu>ul>li:first-child	{	-webkit-border-radius: 0 0 0 3px; -moz-border-radius: 0 0 0 3px; border-radius: 0 0 0 3px; }
#mainMenu>ul>li.active		{	background: #bbb; }

#mainMenu>ul>li>a		{	position: relative; display: block; color: #333; text-decoration: none; padding: 8px 12px; border-right: 1px solid #999; }

#mainMenu>ul>li:hover	{	background: #296514; text-shadow: 0px 0px 0px #000; }
#mainMenu>ul>li:hover a	{	color: #fff; }

#mainMenu>ul>li.sub>a			{	padding-right: 24px; }

#mainMenu>ul>li.sub>a:before,
#mainMenu>ul>li.sub>a>.before	{	position: absolute; top: 50%; right: 6px; margin-top: -6px; width: 12px; height: 12px; background: url("../images/menu-drop-down.png") top center no-repeat; content: ""; }

#mainMenu>ul>li.sub:hover>a:before,
#mainMenu>ul>li.sub:hover>a>.before	{	background-position: bottom center; }


#mainMenu ul>li.sub ul		{	display: none; position: absolute; top: 100%; left: 0; background: #296514; }
#mainMenu ul>li.sub:hover>ul	{	display: block; }

#mainMenu ul>li.sub ul a		{	position: relative; display: block; padding: 6px 24px 6px 12px; white-space: nowrap; }

#mainMenu>ul>li.sub .sub>a:before,
#mainMenu>ul>li.sub .sub>a>.before	{	position: absolute; top: 50%; right: 6px; margin-top: -6px; width: 12px; height: 12px; background: url("../images/menu-expand.png") bottom center no-repeat; content: ""; }

#mainMenu ul>li.sub ul li		{	position: relative; border-top: 1px dotted #555; }
#mainMenu ul>li.sub ul li:first-child		{	border-top: 0; }

#mainMenu ul>li.sub ul li:hover	{	background: #75AD5F; }
#mainMenu ul>li.sub ul li:hover a	{	text-decoration: none; }

#mainMenu ul>li.sub .sub ul		{	top: 0; left: 100%; }


#content	{	position: relative; padding: 0; margin: 0 0 20px; background: #fafafa; border: 1px solid #fff;
           -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}




.title	{	position: relative; margin: 0 0 20px; padding: 2px 8px; background: #296514; color: #fff;
         font: 400 16px/28px "Oswald", sans-serif; text-transform: uppercase;
         border-left: 32px solid #294F1C;
         -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
}
.title span		{	color: #c5becd; }

.title .icon	{	position: absolute; top: 8px; left: -24px; width: 16px; height: 16px; background: url("../images/icons/title-default.png") center center no-repeat; }
.title .icon.warnings		{	background-image: url("../images/icons/title-warnings.png"); }
.title .icon.add			{	background-image: url("../images/icons/title-add.png"); }
.title .icon.listing		{	background-image: url("../images/icons/title-listing.png"); }
.title .icon.login			{	background-image: url("../images/icons/title-login.png"); }


.secondary-title	{	font-size: 14px; font-weight: bold; border-bottom: 1px solid #75AD5F; padding: 2px 0; margin: 16px 0 8px; }


.breadcrumb		{	position: relative; margin: 0 0 20px; padding: 0; list-style: none; overflow: hidden; background: #f3f3f3; border: 1px solid #ddd; font-size: 11px;
               -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
}
.breadcrumb li	{	position: relative; float: left; padding: 2px 8px 2px 20px; background: url("../images/breadcrumb.png") center left no-repeat; }
.breadcrumb li:first-child	{	padding-left: 16px; background: transparent; }


.widget		{	position: relative; background: #fff; padding: 16px; margin: 0; border: 1px solid #eee;
           -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
           -webkit-box-shadow: 1px 1px 3px #bbb; -moz-box-shadow: 1px 1px 3px #bbb; box-shadow: 1px 1px 3px #ddd;
}
.widget .title:first-child	{	margin: -16px -16px 16px;
                             -webkit-border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0;
}

.widget .form	{	margin: 0; }


.form	{	position: relative; margin: 16px 0 20px; padding: 0; list-style: none; }
.form>li			{	position: relative; margin: 0; padding: 0 8px 12px 200px; }

/* Clearfix */
.form>li:before,
.form>li:after		{	content: ""; display: table; }
.form>li:after		{	clear: both; }
.form>li			{	zoom: 1; }

.form>li.basic		{	padding: 12px 0; }

.form>li .label		{	position: relative; float: left; width: 180px; margin-left: -200px; font-weight: bold; }
.form>li .notes		{	font-weight: normal; font-size: 11px; color: #999; }
.form>li .mandatory	{	color: #d00; font-weight: bold; }

.form>li.error .label	{	color: #d00; }

.form input[type="file"]		{	font-size: 13px; line-height: 1.6em; height: 24px; }

.form input[type="text"],
.form input[type="password"],
.form select,
.form textarea					{	background: #fafafa; border: 1px solid #ccc; color: #666; padding: 6px 4px;
                     -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
                     -webkit-box-shadow: inset 1px 1px 2px #ddd; -moz-box-shadow: inset 1px 1px 2px #ddd; box-shadow: inset 1px 1px 2px #ddd;
}
.form input[type="text"]:focus,
.form input[type="password"]:focus,
.form select:focus,
.form textarea:focus			{	background: #fff; }


.form textarea		{	resize: vertical; height: 48px; }

.form .checkable	{	position: relative; display: inline-block; margin-right: 24px; line-height: 24px; }
.form .checkable input	{	position: relative; top: -1px; margin-right: 4px; vertical-align: middle; }

.form .short		{	width: 30%; }
.form .medium		{	width: 60%; }
.form .long			{	width: 90%; }


.form .form-actions		{	border-top: 1px solid #ddd; margin-top: 16px; padding-top: 24px; text-align: right; }
.form .form-actions		{	font-size: 14px; }
.form .form-actions a,
.form .form-actions button,
.form .form-actions .button	{	display: inline-block; margin: 0 16px; }


button,
a.button	{	display: inline-block; background: #296514 url("../images/highlight-more.png") top left repeat-x; color: #fff; border: 1px solid #296514; font-weight: normal; font-size: 12px; line-height: 1.6em; font-family: Arial, Helvetica, sans-serif;
           padding: 3px 12px; margin: 0 8px; cursor: pointer; text-decoration: none; vertical-align: middle; white-space: nowrap; outline: none; overflow: visible;
           -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
}

button:hover,
a.button:hover		{	background-color: #c5becd; border-color: #aaa; color: #000; text-decoration: none; }

button.big,
a.button.big		{	font-size: 14px; padding: 4px 16px; }

button.secondary,
a.button.secondary	{	background-color: #296514; color: #fff; border-color: #296514; }

button.secondary:hover,
a.button.secondary:hover	{	background-color: #c5becd; color: #000; border-color: #aaa; }

button.tertiary,
a.button.tertiary	{	background-color: #296514; color: #fff; border-color: #296514; float: right; margin-bottom: 15px; margin-right: 0; }

button.tertiary:hover,
a.button.tertiary:hover	{	background-color: #c5becd; color: #000; border-color: #aaa; }

button.quaternary,
a.button.quaternary 	{	background-color: #75AD5F; color: #fff; border-color: #296514; float: right; margin-bottom: 15px; margin-right: 0; font-weight: bold;}

button.quaternary :hover,
a.button.quaternary :hover	{	background-color: #c5becd; color: #000; border-color: #aaa; }

button::-moz-focus-inner	{	padding: 0; border: 0; }



table.listing	{	position: relative; z-index: 10; width: 100%; table-layout: fixed; margin: 0 0 20px; border-bottom: 1px solid #bbb; background: #fafafa; }

table.listing thead			{	background: #296514 url("../images/highlight-bg.png") top left repeat-x; color: #fff; }
table.listing thead th		{	padding: 12px 4px; }
table.listing thead a			{	position: relative; color: #fff; padding-right: 16px; }
table.listing thead a:hover		{	text-decoration: none; }

table.listing thead a:after,
table.listing thead a .after		{	display: none; position: absolute; top: 4px; right: 0; width: 8px; height: 8px; background: url("../images/icons/sorting.png") top center no-repeat; content: ""; }

table.listing thead a.down:hover:after,
table.listing thead a.up.active:after,
table.listing thead a.down.active:hover:after,
table.listing thead a.down:hover .after,
table.listing thead a.up.active .after,
table.listing thead a.down.active:hover .after	{	display: block; background-position: top center; }

table.listing thead a.up:hover:after,
table.listing thead a.down.active:after,
table.listing thead a.up.active:hover:after,
table.listing thead a.up:hover .after,
table.listing thead a.down.active .after,
table.listing thead a.up.active:hover .after	{	display: block; background-position: bottom center; }

table.listing th,
table.listing td			{	text-align: left; }

table.listing td			{	padding: 12px 4px; vertical-align: top; }

table.listing .alt td		{	background: #e9edee; }
table.listing .hover td		{	background: #D3F9C5; }
table.listing .hover.alt td	{	background: #D3F9C5; }

table.listing .checkable	{	width: 32px; text-align: center; }
table.listing .actions		{	width: 120px; }


.listing-actions	{	position: relative; z-index: 10; left: -4px; margin: -2px 0; padding: 0; list-style: none; cursor: pointer; font-size: 11px; background: #fff; }
.listing-actions li		{	display: none; position: absolute; left: 0; right: 0; padding: 0; background: #296514; }
.listing-actions li.default		{	display: block; position: relative; padding: 2px 24px 2px 4px; border: 1px solid #999; background: #fff; cursor: default; height: 16px; line-height: 16px; overflow: hidden;
                               -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}

.listing-actions li.default:before,
.listing-actions li.default .before	{	position: absolute; top: 50%; right: 6px; margin-top: -6px; width: 12px; height: 12px; background: url("../images/menu-drop-down.png") top center no-repeat; content: ""; }

.listing-actions a				{	display: block; padding: 4px 8px; outline: none; color: #e9edee; }
.listing-actions a:hover		{	background: #75AD5F; color: #fff; text-decoration: none; }

.listing-actions:hover			{	z-index: 20; background: #fff; }
.listing-actions:hover li		{	display: block; margin-top: -1px; }
.listing-actions:hover .default	{	-webkit-border-radius: 3px 3px 0 0; -moz-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; border-color: #222; background: #c5becd; color: #fff; margin-top: 0; }

.listing-actions:hover .default:before,
.listing-actions:hover .default .before	{	background-position: bottom center; }




.listing-delete-all	{	position: relative; float: left; z-index: 10; }
.listing-delete-all button			{	background-color: #900; border-color: #900; }
.listing-delete-all button:hover	{	background-color: #ccc; border-color: #aaa; }

.paging		{	position: relative; padding: 0; margin: 0 0 20px; list-style: none; text-align: right; }
.paging li		{	display: inline; margin: 0 5px; width: 32px; text-align: center; }
.paging li span	{	display: inline-block; width: 32px; text-align: center; }
.paging li a	{	display: inline-block; background: #eee; width: 32px; height: 32px; text-align: center; font-size: 14px; line-height: 36px; border-bottom: 2px solid #666; }
.paging li a:hover	{	background: #75AD5F; color: #fff; border-color: #000; text-decoration: none; }

.paging li.selected span	{	background: #666; color: #fff; width: 32px; height: 32px; text-align: center; font-size: 14px; line-height: 36px; border-bottom: 2px solid #000; }


.message-box	{	position: relative; padding: 8px 32px 8px 80px; min-height: 16px; margin: 0 0 20px;
               -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}

.message-box a			{	text-decoration: underline; }
.message-box a:hover	{	text-decoration: none; }
.message-box .close		{	position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; border: 1px solid #fff; font: normal 16px/16px Consolas, "Courier New", Courier, monospace; text-decoration: none; text-align: center;
                       -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
}
.message-box .icon		{	position: absolute; top: 1px; bottom: 1px; left: 1px; width: 64px; background-position: center center; background-repeat: no-repeat;
                      -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}


.message-box.success		{	background-color: #efb; border: 1px solid #cd7; }
.message-box.success .icon	{	background-image: url("../images/icons/msg-success.png"); background-color: #cd7; }
.message-box.success a		{	color: #782; }
.message-box.success .close			{	border-color: #efb; }
.message-box.success .close:hover	{	border-color: #cd7; }

.message-box.error			{	background-color: #fdc; border: 1px solid #f98; }
.message-box.error .icon	{	background-image: url("../images/icons/msg-error.png"); background-color: #f98; }
.message-box.error a		{	color: #930; }
.message-box.error .close			{	border-color: #fdc; }
.message-box.error .close:hover		{	border-color: #f98; }

.message-box.warning		{	background-color: #ffb; border: 1px solid #fd8; }
.message-box.warning .icon	{	background-image: url("../images/icons/msg-warning.png"); background-color: #fd8; }
.message-box.warning a		{	color: #c81; }
.message-box.warning .close			{	border-color: #ffb; }
.message-box.warning .close:hover	{	border-color: #fd8; }

.message-box.info			{	background-color: #def; border: 1px solid #9ce; }
.message-box.info .icon		{	background-image: url("../images/icons/msg-info.png"); background-color: #9ce; }
.message-box.info a			{	color: #75AD5F; }
.message-box.info .close			{	border-color: #def; }
.message-box.info .close:hover		{	border-color: #9ce; }

.message-box.alert-birthday		{	background-color: #ffb; border: 1px solid #fd8; }
.message-box.alert-birthday .icon	{	background-image: url("../images/icons/msg-birthday.png"); background-color: #fd8; }
.message-box.alert-birthday a		{	color: #c81; }
.message-box.alert-birthday .close			{	border-color: #ffb; }
.message-box.alert-birthday .close:hover	{	border-color: #fd8; }

.message-box.alert-next-call		{	background-color: #ffb; border: 1px solid #fd8; }
.message-box.alert-next-call .icon	{	background-image: url("../images/icons/msg-phone.png"); background-color: #fd8; }
.message-box.alert-next-call a		{	color: #c81; }
.message-box.alert-next-call .close			{	border-color: #ffb; }
.message-box.alert-next-call .close:hover	{	border-color: #fd8; }

.message-box.alert-treatment		{	background-color: #ffb; border: 1px solid #fd8; }
.message-box.alert-treatment .icon	{	background-image: url("../images/icons/msg-treatment.png"); background-color: #fd8; }
.message-box.alert-treatment a		{	color: #c81; }
.message-box.alert-treatment .close			{	border-color: #ffb; }
.message-box.alert-treatment .close:hover	{	border-color: #fd8; }


#loginBox		{	width: 600px; margin: 40px auto; }

.styled_select {    background: #fafafa; border: 1px solid #ccc; color: #666; padding: 6px 4px;
                    -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
                    -webkit-box-shadow: inset 1px 1px 2px #ddd; -moz-box-shadow: inset 1px 1px 2px #ddd; box-shadow: inset 1px 1px 2px #ddd;
}	
.styled_select:focus    {	background: #fff; }

.styled_select_h3 {    background: #fafafa; border: 1px solid #ccc; color: #666; padding: 2px;
                    -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
                    -webkit-box-shadow: inset 1px 1px 2px #ddd; -moz-box-shadow: inset 1px 1px 2px #ddd; box-shadow: inset 1px 1px 2px #ddd;
                    text-transform: none; font-size: 13px; line-height: 1.6em;
}	
.styled_select_h3:focus    {	background: #fff; }

.styled_input {	background: #fbfafa; border: 1px solid #ccc; color: #666; padding: 6px 4px;
                -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
                -webkit-box-shadow: inset 1px 1px 2px #ddd; -moz-box-shadow: inset 1px 1px 2px #ddd; box-shadow: inset 1px 1px 2px #ddd;
}	
.styled_input:focus    {	background: #fff; }