/* Additional fonts */

@font-face
{
  font-family: 'Exo';
  src: url('font/exo2-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face
{
  font-family: 'Exo-Black';
  src: url('font/exo2-black-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face
{
  font-family: 'Exo-Bold';
  src: url('font/exo2-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body{
  background: url('svg/background.svg');
  background-size: 100%;
}

#main > .login-frame{
  text-align: center;
  position: absolute;
  left: 41%;
  top: 20%;
}

/*.background_framework{
  background: #fff;
  bottom: 0;
  direction: ltr;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}*/



/**************/
/* P4A_Button */
/**************/

.button {
	background: white;
	border: 1px solid black;
	cursor: pointer;
	overflow: visible; /* used to fix the IE stretched buttons bug */
}

.button_image {
	border: 1px solid white;
	padding: 0;
}

.button:hover {
	border: 1px solid black;
	outline: 1px solid black;
}

.button_disabled,
.button_image_disabled {
	opacity: 0.5;
	-moz-opacity: 0.5;
	filter: alpha(opacity=50);
	cursor: default;
}

.button_disabled:hover {
	color: black;
	background: white;
	border: 1px solid black;
}

/*************/
/* Frame */
/*************/

.frame {
	float: left;
  /*width: 100%;*/
}

.frame .col {
	padding: 2px 0;
  position: relative;
}

/*************************/
/* Default mask template */
/*************************/
* {
	font-family: Exo,Arial,sans-serif;
	font-size: 12px;
	color: black;
}

a:focus {
	outline: none;
}

#top_container{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
}

#footer_container{
  width: 100%;
  position: fixed;
  bottom:0;
  z-index: 2;
  background: #181C1D;
  color: white;
  text-align: right;
}

*html #top_container{
  position: absolute;
}


#main_inner_container>*{
  margin-left: auto;
  margin-right: auto;
}

#footer {
  text-align: right;
}

#body form{
  display: inline;
}

#body h2,
#body h2 table td {
	text-align:center;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
}

#sidebar_left,
#sidebar_right {
	background: white;
	border-bottom: black;
	position: fixed !important;
	position: absolute;
 	top: 0;
 	height: 100%;
	padding: 10px;
	z-index: 2;
}

#sidebar_left {
 	left: 0;
 	border-right: 1px solid black;
}
#sidebar_right {
	border-left: 1px solid black;
 	right: 0;
}

ol.backtrace {
	margin-left: 20px;
}

ol.backtrace li {
	list-style: decimal outside;
}

/*****************/
/* Label Styles */
/****************/
.label{
  overflow: visible;
  display: block;
  text-align: right;
  margin-right: 5px;
  cursor: pointer;
  float: left;
  width: 100px;
  white-space: normal;
}

.label_required {
	font-weight: bold;
}

.label .tooltip_icon {
	float: right;
}

.tooltip {
	display: none;
	position: absolute;
	margin-left: 20px;
	z-index: 10000;
}

.tooltip_inner {
	padding: 10px;
	text-align: left;
	font-weight: normal;
	color: black;
	background: white;
	border: 2px solid black;
}

.tooltip_inner strong {
	font-weight: bold;
}

.tooltip_inner em {
	font-style: italic;
}


/* Menu */
#menu {
	background: #fff200;
	border-bottom: 1px solid black;
}

* html #menu {
	/*background-image: none;*/
}

.menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: static;
	z-index: 20;
}

.menu table.idget_layout_table {
	margin: 0;
}

.menu table.widget_layout_table td.c1 img {
	margin-left: 5px;
}

.menu li {
	float: left;
	display: block;
}

.menu ul {
	position: absolute;
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: none;
	background-color: white;
	z-index: 40;
	border: 1px solid #ccc;
	width: 120px;
}

* html .menu ul {
	margin-top: -5px;
}

.menu ul li {
	width: 120px;
	margin: 0;
}

.menu li a,
.menu li div {
	display: block;
	text-decoration: none;
	color: black;
	margin: 0;
	padding: 5px;
}

.menu li:hover {
	display: block;
	background: #ED1F24 bottom repeat-x;
  cursor: pointer;
}



.menu li:hover>a,
.menu li:hover>a>span,
.menu li:hover>div,
.menu li:hover>div>span {
	color: white;
  font-family: Exo-Bold;
}

.menu ul ul {
	display: none;
	margin-top: -2em;
	margin-left: 120px;
}

.menu li:hover ul ul,
.menu li:hover ul ul ul,
.menu li:hover ul ul ul ul,
.menu li:hover ul ul ul ul ul {
	display: none;
}

.menu li:hover ul,
.menu ul li:hover ul,
.menu ul ul li:hover ul,
.menu ul ul ul li:hover ul,
.menu ul ul ul ul li:hover ul {
	display: block;
}

/* Field */

.field {
	white-space: nowrap;
}

.field input,
.field textarea,
.field select,
.field_file table {
	/*border: 1px solid <?php echo $_GET['input_border'] ?>;
	color: <?php echo $_GET['input_fg'] ?>;*/
}

.field option {
	/*color: <?php echo $_GET['input_fg'] ?>;*/
}

.field_label div {
	text-align: left;
	margin-left: 5px;
	clear: both;
}

.field input {
	width: 150px;
}

.field select {
	min-width: 100px;
}

.field_radio input,
.field_checkbox input {
	border: none;
	width: auto;
}

.field input:focus,
.field textarea:focus {
 	/*border: 1px solid <?php echo $_GET['selected_border'] ?>;
 	outline: 1px solid <?php echo $_GET['selected_border'] ?>;*/
 	/*background-image: url(gradient.png);*/
 	/*background-position: bottom;*/
 	/*background-repeat: repeat-x;*/
}

.field_file table {
	margin-left: 1px;
	text-align: center;
	float: left;
	white-space: nowrap;
}

.field_date input,
.field_data_integer input,
.field_data_decimal input,
.field_data_float input,
.field_data_date input,
.field_data_time input
 {
	text-align: left;
}

.field_error input,
.field_error textarea,
.field_error select,
.field_error iframe {
	border: 1px dashed red;
	/*background: ;*/
}

.field_error .field_error_msg {
	position: absolute;
	color: black;
	display: none;
	background: white;
	padding: 10px;
	border: 2px solid red;
  z-index: 10;
}

.field_radio_values,
.field_multicheckbox_values {
	text-align: left;
	float: left;
}

.field_radio_values input,
.field_multicheckbox_values input {
	border: none;
	width: auto;
}

.field table.widget_layout_table {
	display: block;
	float: left;
	clear: both;
}

.field .field_date_trigger {
	width: 20px;
	/*background: <?php echo $_GET['bg'] ?>;*/
	text-align: center;
}

.field_rich_textarea textarea {
	border: none;
}

/* Various */
.row,
.br {
	clear: both;
}


/* Message and system messages */
.system_messages{
  z-index: 10000;
  position: absolute;
  display: none;
  width: 300px;
  overflow: hidden;
}

.system_messages_inner {
	color: black;
	background: white;
	border: 2px solid black;
}

.system_messages table.p4a_message {
	margin: 10px 20px;
}

.system_messages em {
	font-style: italic;
}

/* Toolbar */
.toolbar {
	background: #FFF200;
	border-bottom: 2px solid #ED1F24;
	padding: 2px;
}

#main_container .toolbar {
	border: 1px solid black;
}

#popup .toolbar {
	border: none;
}

* html .toolbar {
	background-image: none;
}

.toolbar .button {
	background: none;
	border: 1px solid transparent;
  margin-left: 3px;
  margin-right: 3px;
}

* html .toolbar .button {
	border: 1px solid black;
}


.toolbar .button_image:hover {
	/*border: 1px solid black;*/
	/*outline: none;*/
  background: #ED1F24;
    color: white;
}

.toolbar .button_image i.fa :hover {
	/*border: 1px solid black;*/
	/*outline: none;*/
    color: !inherit white;
}


.toolbar_16 button {
	height: 21px;
}

.toolbar_32 button {
	height: 37px;
}

.toolbar_48 button {
	height: 53px;
}

.toolbar_separator {
	border-left: 1px solid black;
	margin: 3px 5px 0 5px;
}

/* Table */
.table{
  border: 1px solid black ;
	text-align: left;
}

.table caption {
	/*background: <?php echo $_GET['bg'] ?> url(gradient.png) bottom repeat-x;*/
	border: 1px solid black;
	padding: 5px;
	font-weight: bold;
}

* html .table caption {
	background-image: none;
}

.browser_gecko .table caption {
	margin-left: -1px;
}

.browser_safari .table caption {
	margin-right: -1px;
	border-bottom: none;
}

.browser_opera .table caption {
	border-bottom: none;
}

.table td,
.table th {
	border-right: 1px solid black;
}

.table
  tr.active_row td.table_rows1,
  tr.active_row td.table_rows2{
    background-color: #ED1F24;
  }

.table
  tr.active_row td.table_rows1>a,
  tr.active_row td.table_rows2>a{
    color: white;
    font-size: 14px;
  }

.table th {
	padding: 5px;
	font-weight: bold;
  background-color: white;
	/*background: <?php echo $_GET['bg'] ?> url(gradient.png) bottom repeat-x;*/
	border-bottom: 1px solid black;
}

* html .table th {
	background-image: none;
}

.table th.row_indicator {
	border-bottom: none;
	background: #FFF200;
	width: 15px;
}

.table td {
	padding: 2px;
}

.table th a,
.table td a {
	display: block;
	text-decoration: none;
}

.table td a:hover {
	text-decoration: underline;
}

.table td.integer,
.table td.decimal,
.table td.float,
.table td.date,
.table td.time,
.table td.filesize,
.table td.integer textarea,
.table td.decimal textarea,
.table td.float textarea,
.table td.date textarea,
.table td.time textarea,
.table td.filesize textarea {
	text-align: right;
	white-space: nowrap;
}

.table td.file {
	text-align: center;
}

.table td.action {
	background: white;
}

.table td.action a img {
	vertical-align: middle;
}


.table_rows1 {
	background-color: #f3f3f3;
}

.table_rows2 {
	background-color: #FFFFFF;
}

.table th.toolbar {
	font-weight: normal;
	border-top: 1px solid black;
	padding: 0;
}

.table th.toolbar .box,
.table th.toolbar .field {
	margin-top: 3px;
}

.table_navigation_bar .label {
	width: auto;
	margin-right: 5px;
}

/****************/
/* Fieldset */
/****************/

.fieldset {
	border: 1px solid black;
	padding-top: 10px;
	padding-bottom: 10px;
  padding-right: 10px;
  padding-left: 10px;
	float: left;
  background-color: white;
}

.fieldset .row {
	margin-right: 10px;
}

* html .fieldset .row {
	margin-left: -10px;
}

.fieldset legend {
	font-weight: bold;
	font-size: 14px;
	margin-left: 10px;
	color: white;
	padding: 0 10px;
	text-align: left;
  background: #ED1F24;
  border-radius: 25px;
}

/***************************/
/* Widget_Layout_Table */
/***************************/

table.widget_layout_table {
	border-collapse: collapse;
	margin: 0;
	text-align: left;
}

table.widget_layout_table td {
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

table.widget_layout_table td.c1 {
	width: 1px;
	padding-right: 5px;
}

/* Box */


.box{
  position: relative;
  border-radius: 3px;
  background: #ffffff;
  border-top: 3px solid #d2d6de;
  border-top-color: rgb(210, 214, 222);
  margin-bottom: 20px;
  width: 100%;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.box > .inner {
    padding: 10px;
}

.box .icon{
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  position: absolute;
  top: -10px;
  right: 10px;
  z-index: 0;
  font-size: 25px;
  color: rgba(0,0,0,0.15);
}

.box.box-default{
  border-top-color: #d2d6de;
}

.box-header {
    color: #444;
    display: block;
    padding: 10px;
    position: relative;
}

.box-body{
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  padding: 10px;
}

.box-header.with-border {
    border-bottom: 1px solid #f4f4f4;
}

.ion, .box-header .box-title {
    display: inline-block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
}

/*System Object*/
.system-object{
  border-radius: 2px;
  position: relative;
  display: block;
  margin: 10px;
  /*margin-bottom: 20px;*/
  box-shadow: 0 3px 3px rgba(0,0,0,0.5);
  background: #fff200;
  height: 100px;
  width: 300px;
}

.system-object > .inner{
  padding: 5px 10px;
}

.system-object .title{
  color: #000;
  font-weight: bold;
  font-size: 1.1em;
}

.system-object .sub-title{
  color: #000;
  color: rgba(0,0,0,.8)
}

.system-object .icon {
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  position: absolute;
  top: -10px;
  right: 10px;
  z-index: 0;
  font-size: 90px;
  color: rgba(0,0,0,0.15);
}

.system-object>.system-object-footer{
  position: relative;
  text-align: center;
  padding: 3px 0;
  color: rgba(0,0,0,0.8);
  display: block;
  z-index: 1;
  background: rgba(0,0,0,0.1);
  text-decoration: none;
}

.system-object:hover{
  color:white;
  background: #ed1f24;
  cursor:pointer;
}
/*.system-object>.system-object-footer:hover{
  color:#000;
  background:rgba(0,0,0,0.15);
  cursor:pointer;
}*/


/* Tab Pane */

.tabpane,
div.ui-tabs {
	padding: 0;
	border: 1px solid black;
	border: none;
}

.tabpane ul.tabs {
	border: 0;
	background: none;
}

.tabpane ul.tabs li {
	border: 1px solid black;
	height: 25px;
}

.tabpane ul.tabs li img {
	float: right;
	margin: -2px -6px 0px 5px;
}

.browser_ie .tabpane ul.tabs li img {
	float: none;
	vertical-align: top;
}

.tabpane ul.tabs li a {
	/*color: black;*/
  padding:10px;
  font-size: 1.1em;
}

.tabpane ul.tabs li.disabled a {
	cursor: default;
	color: black;
}

.tabpane div.tabpane_page {
	padding: 10px 10px 15px 0;
	border: 1px solid black;
	overflow: auto;
}

/* Content header */
.content-header h1{
  font-size: 1.5em;
  color: #333;
}

.content-header h1 small{
  font-weight: 400;
  color: #777;
}

.content-header{
  position: relative;
  padding: 15px 0 10px 0;
}

.menu li span.label{
  position: absolute;
  top: 2.3px;
  /*right: 7px;*/
  text-align: center;
  font-size: 9px;
  padding: 2px 3px;
  line-height: .9;
  /*left: 70px;*/
  background: red;
  width: auto;
  margin-left: 10px;
  font-weight: bold;
}

.field_multiselect .label{
  padding: 5px;
}
/*position: absolute;
top: 9px;
right: 7px;
text-align: center;
font-size: 9px;
padding: 2px 3px;
line-height: .9*/

/* Stepper */

.md-stepper-horizontal {
	display:table;
	width:100%;
	margin:0 auto;
	background-color:#FFFFFF;
	box-shadow: 0 3px 8px -6px rgba(0,0,0,.50);
}
.md-stepper-horizontal .md-step {
	display:table-cell;
	position:relative;
	padding:24px;
}
.md-stepper-horizontal .md-step:hover,
.md-stepper-horizontal .md-step:active {
	background-color:rgba(0,0,0,0.04);
}
.md-stepper-horizontal .md-step:active {
	border-radius: 15% / 75%;
}
.md-stepper-horizontal .md-step:first-child:active {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.md-stepper-horizontal .md-step:last-child:active {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.md-stepper-horizontal .md-step:hover .md-step-circle {
	background-color:#757575;
}
.md-stepper-horizontal .md-step:first-child .md-step-bar-left,
.md-stepper-horizontal .md-step:last-child .md-step-bar-right {
	display:none;
}
.md-stepper-horizontal .md-step .md-step-circle {
	width:30px;
	height:30px;
	margin:0 auto;
	background-color:#999999;
	border-radius: 50%;
	text-align: center;
	line-height:30px;
	font-size: 16px;
	font-weight: 600;
	color:#FFFFFF;
}
.md-stepper-horizontal.green .md-step.active .md-step-circle {
	background-color:#00AE4D;
}
.md-stepper-horizontal.orange .md-step.active .md-step-circle {
	background-color:#F96302;
}
.md-stepper-horizontal .md-step.active .md-step-circle {
	background-color: rgb(33,150,243);
}
.md-stepper-horizontal .md-step.done .md-step-circle:before {
	font-family:'FontAwesome';
	font-weight:100;
	content: "\f00c";
}
.md-stepper-horizontal .md-step.done .md-step-circle *,
.md-stepper-horizontal .md-step.editable .md-step-circle * {
	display:none;
}
.md-stepper-horizontal .md-step.editable .md-step-circle {
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
}
.md-stepper-horizontal .md-step.editable .md-step-circle:before {
	font-family:'FontAwesome';
	font-weight:100;
	content: "\f040";
}
.md-stepper-horizontal .md-step .md-step-title {
	margin-top:16px;
	font-size:16px;
	font-weight:600;
}
.md-stepper-horizontal .md-step .md-step-title,
.md-stepper-horizontal .md-step .md-step-optional {
	text-align: center;
	color:rgba(0,0,0,.26);
}
.md-stepper-horizontal .md-step.active .md-step-title {
	font-weight: 600;
	color:rgba(0,0,0,.87);
}
.md-stepper-horizontal .md-step.active.done .md-step-title,
.md-stepper-horizontal .md-step.active.editable .md-step-title {
	font-weight:600;
}
.md-stepper-horizontal .md-step .md-step-optional {
	font-size:12px;
}
.md-stepper-horizontal .md-step.active .md-step-optional {
	color:rgba(0,0,0,.54);
}
.md-stepper-horizontal .md-step .md-step-bar-left,
.md-stepper-horizontal .md-step .md-step-bar-right {
	position:absolute;
	top:36px;
	height:1px;
	border-top:1px solid #DDDDDD;
}
.md-stepper-horizontal .md-step .md-step-bar-right {
	right:0;
	left:50%;
	margin-left:20px;
}
.md-stepper-horizontal .md-step .md-step-bar-left {
	left:0;
	right:50%;
	margin-right:20px;
}

/* Modal */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  border-radius: 25px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  float: right;
  font-size: 25px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  
  font-size: 2em;
  padding: 10px 20px;

  background-color: #fef874;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  border-bottom: solid red;
}

.modal-body {
  padding: 10px 20px
}

.modal-footer {
  padding: 10px 20px;
  background-color: #fef874;
  
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}