/**********************************************************************************
* phpComasy Web Content Management System                                         *
* http://www.phpcomasy.com                                                        *
*                                                                                 *
* Copyright (c) 2005 - 2010 indual GmbH (http://www.indual.ch)                    *
*                                                                                 *
* phpComasy is released under his own licence (http://www.phpcomasy.com/licence)  *
**********************************************************************************/

/* FORMS ------------------------------------------------------------------------ */

form {
  margin: 0;
  padding: 0;
}

form p {
  margin: 0 0 3px 0;
}

input,
select,
textarea {
  font: normal 12px Arial, Helvetica, Verdana, sans-serif;
  color: #666;
  margin: 0;
  padding: 3px 2px;
  outline: none;
  line-height: 15px;
  border: 1px solid #999;
}
textarea {
	max-width: 99%;
}

input:focus, input:hover, input:active, 
select:focus, select:hover, select:active, 
textarea:focus, textarea:hover, textarea:active {
  border: 1px solid #000;
  color: #333;
  outline: none;
}

input[type=checkbox],
input[type=radio] {
	border: none;
}

label {
  display: inline;
  float: left;
  width: 140px;
}

label.checkbox {
  width: 140px;
}

div#show-link-url {
  border: 1px solid gray;
  background: #f7f7f7;
  margin: 5px 0 10px 0;
  padding: 5px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

div#show-link-url label {
  width: 159px;
}

div.captcha_protection {
	padding: 14px 15px;
	margin: 20px 0 15px;
	background: #eee;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
	background: -moz-linear-gradient(top,  #fff,  #eee);
	background: -o-linear-gradient(top,  #fff,  #eee);
	background: linear-gradient(to bottom, #fff, #eee);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee');
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: 0 0 3px #eee;
	width: auto;
	display: inline-block;
	zoom: 1;
	*display: inline;
}
div.captcha_protection span.captcha_title {
	font-weight: normal;
	display: block;
	font-size: 12px;
	line-height: normal;
	border-bottom: 1px solid #ccc;
	margin: -14px -15px 8px;
	padding: 8px 15px;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
	background: -moz-linear-gradient(top,  #fff,  #eee);
	background: -o-linear-gradient(top,  #fff,  #eee);
	background: linear-gradient(to bottom, #fff, #eee);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee');
	border-radius: 7px 7px 0 0;
	color: #333;
}
div.captcha_protection span.captcha_input_title {
	font-weight: normal;
	margin-bottom: 1px;
	display: block;
	color: #555;
}
div.captcha_protection label {
	margin-right: -8px;
	display: none;
}
div.captcha_protection span#captcha_help_link {
	font-size: 10px;
	text-decoration: underline;
	position: relative;
	cursor: help;
	color: #666;
}
div.captcha_protection span#captcha_help_link:hover {
	color: #333;
}
div.captcha_protection span#captcha_help_text {
	position: absolute;
	top: 10px;
	right: -195px;
	width: 180px;
	background: #f0f0f0;
	border: 1px solid #666;
	border-radius: 5px;
	box-shadow: 0 0 3px #666;
	padding: 5px 8px;
	background: #eee;
	background: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#eee));
	background: -moz-linear-gradient(top,  #fff,  #ddd);
	background: -o-linear-gradient(top,  #f0f0f0,  #eee);
	background: linear-gradient(to bottom, #f0f0f0, #eee);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0', endColorstr='#eee');
}

input.fullwidth,
textarea.fullwidth {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}


/* fieldsets -------------------------------------------------------------------- */

fieldset {
  border: 1px solid #ccc;
  margin: 5px 0 10px;
  padding: 2px 8px 8px 8px;
  background: #eee;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
div#content fieldset p,
div#content fieldset table {
	margin-bottom: 3px;
}

.management fieldset, fieldset > fieldset {
  background: #fff;
}

legend {
  font-weight: bolder;
  color: black;
  padding: 2px 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

fieldset.nopadding legend {
  margin-left: 6px;
}

fieldset.page_properties {
  background: #fff;
}

fieldset input,
fieldset textarea,
fieldset select {
  border: 1px solid #aaa;
}

.fieldset-content-right {
  width: 205px;
  float: right;
  clear: right;
  margin-left: 10px;
  margin-bottom: 10px;
  background: white;
}

.fieldset-right {
  float: right;
  clear: right;
}

.fieldset-left {
  float: left;
  clear: left;
  width: 98%;
}

* html legend {
  position: absolute;
  margin: -20px 0 0 0;
  padding: 3px;
}

* html fieldset {
  margin-top: 10px;
  padding-top: 10px;
  position: relative;
}

form.add_portlet select {
  max-width: 100%;
}

/* Buttons --------------------------------------------------------------------------- */

input.button,
a.button {
  margin: 0 5px 0 0;
  width: auto !important;
  cursor: pointer;
  background-color: #ddd;
  color: #000;
  border: 1px solid #666;
  padding: 3px 10px;
  font-weight: bold;
}
input.button.float_right {
	float: right;
	margin: 0 0 0 5px;
}
input.button.float_left {
	float: left;
}

.management input.button,
.management a.button {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  overflow: visible;
  width: auto !important;
}

.management .general_settings label {
  width: 98% !important;
}

.management .general_settings input,
.management .general_settings textarea {
  width: 350px;
}
.management .general_settings textarea {
  height: 75px;
}

input.button:hover,
input.button:focus,
input.button:active,
a.button:hover,
a.button:focus,
a.button:active {
  border: 1px solid #333;
  background-color: #666;
  color: #fff !important;
}

.management input.float_right {
  margin: 0 0 0 5px;
}

.management input.submit_button {
  width: auto !important;
  cursor: pointer;
}

input.fieldset_button {
  margin-left: 140px;
  margin-right: 10px;
  width: auto !important;
  cursor: pointer;
}

.checkbox {
  border: none !important;
  width: 16px;
}

.management input.calendar {
  width: auto;
}

/* management ----------------------------------------------------------------------- */

.management input,
.management textarea {
  width: 220px;
}

.management textarea {
  height: 100px;
}

.management label {
  width: 165px;
}

.management input[type=checkbox],
.management input[type=radio] {
  width: 16px;
  border: none;
}

.management label.page_template_label,
.management input.page_template_radio,
.management input#date_beginning,
.management input#date_terminated,
.management input#show_comments,
.management input#special_access {
  width: auto !important;
  float: none;
}

.permission_matrix fieldset fieldset label {
  width: 350px !important;
}

.permission_matrix fieldset fieldset input {
  width: 16px !important;
  border: none !important;
}

/* misc ----------------------------------------------------------------------- */

.language_label {
  font-style: italic;
  font-weight: bolder;
  background: #CDCDCD;
  margin-top: 8px;
}

.selected, .disabled {
  color: gray;
}

.error {
  color: red;
}

.highlighting {
  background: yellow;
}

.language {
  margin-right: 5px;
}

.language.current {
  font-weight: bolder;
}

.hidden {
  display: none;
}
p.p_lost_password label {
	width: 190px;
}


/* button bars ------------------------------------------------------------------ */

div.button_bar_top {
	background: #fafafa;
	border-bottom: 1px solid #bbb;
	padding: 10px;
	margin: 5px 0 10px 0;
	overflow: hidden;
}

div.button_bar_bottom {
	background: #fafafa;
	border-top: 1px solid #bbb;
	padding: 10px;
	margin: 10px 0 5px 0;
	overflow: hidden;
}

div.button_bar_top a,
div.button_bar_bottom a {
	display: block;
	float: left;
	margin-right: 10px;
	text-decoration: none !important;
}

div.button_bar_top a img,
div.button_bar_bottom a img {
	margin-right: 5px;
}


/* ---------- Social Media Logins ---------- */
.login_form {
	position: relative;
}
.login_form > p:first-child {
	margin: 0 0 10px;
}
.login_form div + form {
	overflow: hidden;
	border-right: 1px solid #333;
}
.social_media_logins {
	float: right;
	width: 33%;
	padding: 0 0 0 7%;
}
.social_media_logins a.facebook_login {
	background: url(../img/facebook_connect.png) no-repeat center center;
	width: 90px;
	height: 24px;
	display: inline-block;
}
.social_media_logins a.facebook_login span {
	display: none;
}