/**
 * Copyright (C) 2009 eXo Platform SAS.
 * 
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 * 
 * This software 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
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

/***************************************  UIGadget   **************************************/

.UIGadget {
	margin: 3px 0px;
}

.UIGadget .GadgetMenuBar {
	height: 20px;
}

.UIGadget .GadgetTitle {
	padding: 0px 5px;
	color: #5b5b5b;
	font-weight: normal;
	cursor: move;
	overflow: hidden;
	white-space: nowrap;
	width: auto;
	margin-right: 75px !important; /* orientation=lt */
	margin: 0px 0px 0px 75px !important; /* orientation=rt */
}

.UIGadget .GadgetControl .GadgetDragHandleArea {
	cursor: move;
	background: url('background/Gadget.png') left -78px;
}

.UIGadget .GadgetControl .IconControl {
	background-image: url('background/IconGadget.gif');
	background-position: no-repeat;
	float: right; /* orientation=lt */
	float: left; /* orientation=rt */
	height: 14px;
	width: 14px;
	margin: 3px;
	cursor: pointer;
}

.UIGadget .GadgetControl .CloseGadget {
	background-position: top right;
}

.UIGadget .GadgetControl .MinimizeGadget {
	background-position: 48px top;
}

.UIGadget .GadgetControl .RestoreGadget {
	background-position: 31px top;
}

.UIGadget .GadgetControl .EditGadget {
	background-position: left top;
}

.UIGadget .GadgetControl .MaximizeGadget {
	background-position: 65px top;
}

.UIGadget .GadgetApplication {
	background: #f2f2f3;
	border: 1px solid #c3c3c3;
	border-top: none;
	padding: 3px;
	word-wrap: break-word;
}

.UIGadget iframe {
	width: 99.9%;
}

.UIGadgetContent .gadgets-gadget-user-prefs-dialog {
	background: #F2F2F3;
	padding: 0px 25px;
}

.UIGadgetContent span {
	float: left;
	width: 102px;
	margin-top: 5px;
}

.UIGadgetContent input {
	margin-top: 5px;
}

.UIGadgetContent .gadgets-gadget-user-prefs-dialog-action-bar {
	margin-left: 101px;
}

.UIGadgetContent .gadgets-gadget-user-prefs-dialog-action-bar input {
	cursor: pointer;
}

.UIGadgetContent .devToolbar {
	width: 56%;
}

.gadgets-gadget-content {
	padding: 10px 0;
	background: white;
	border: 1px solid white;
}
