
/* *********************************************************** */
/* ***************** BEGIN COMMON STYLES ********************* */

/* COMMON CLASSES */
.clear {clear: both !important;}
.left {float: left !important;}
.right {float: right !important;}
.centerText {text-align: center !important;}
.rightText {text-align: right !important;}
hr.clear {visibility: hidden;}
/* COMMON CLASSES END */


/* COMMON FORM ELEMENTS */
fieldset {padding: 5px;}

label {
    display: inline-block;
    vertical-align: middle;
}
form input[type=text],
form input[type=password] {
    border: 1px solid;
    vertical-align: middle;
}
form input[type=radio] {
    margin: 0;
    vertical-align: middle;
}
textarea {vertical-align: middle;}

form p {margin: 0;}
/* COMMON FORM ELEMENTS END */

/* ALERTS */
.alertERROR {background: #EED3DB url('images/dialog-warning.png') no-repeat center right;}
.submiterrorglobe{
    background:url('images/globepointer.png') center left no-repeat;
    margin-top:-5px;
    margin-left:2px;
}
.submiterrorglobetext {
    background-color:#FF301F;
    color:#fff;
    font-size:11px;
    padding:4px;
    margin-left:5px;
    /*round borders*/
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
}
.errorContainer {background: #EED3DB url('images/dialog-warning.png') no-repeat center right;}
.errorSumary {
    background: #EED3DB url('images/dialog-warning.png') no-repeat center right;
    color: red;
    width: 80%;
    text-align: center;
    margin: 0 auto 0 auto;
}
.errorSumary li {text-align: left;}

/* *********************************************************** */
/* ***************** BEGIN PAGE STRUCTURE ******************** */

body {
    margin: 0;
    font-family: Arial, Papyrus, Lucida Sans Unicode, Geneva, sans-serif;
    font-size: 62.5%; /* 16px × 62.5% = 10px */
    background-color: #ddeddf;	
}

#MainHeader {
    width: 100%;
    height: 97px;
    background:url('images/admin_webstruct/header_back.png') center center repeat-x;
    border-bottom: 1px solid #043e51;
}
#MainHeader img.right {
    margin-right: 100px;
}

#MainMenu {
    list-style: none;
    margin: 0;
    padding: 0 4% 0 4%;
    height: 45px;
    border-bottom: 1px solid #043e51;
    background-color: #3d8aa9;
}
#MainMenu li {
    display: inline-block;
    padding: 0 10px;
    margin: 7px 0 0 0;
    height: 30px;
    line-height: 30px;
    vertical-align: top;
    background-color: #ddeddf;

    border: 2px solid #77b1dd;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
}
#MainMenu li a {
    vertical-align: middle;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    color: #7da7ca;
}
#MainMenu li:hover,
#MainMenu li.menuselected {
    margin-top: 14px;
    cursor: pointer;
    background-color: #d0e0aa;
    border-color: #2f772e;
    border-bottom-color: #d0e0aa;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-bottomright: 0;
}
#MainMenu li.menuselected a {
    color: #043e51;
}

#MainMenu li.menuselected {
    background-color: #d0e0aa;
}

#MainMenu li#logout {
    float: right;
    background-color: transparent;
}
#MainMenu li#logout:hover {
    margin-top: 7px;
    background-color: #043e51;
    border-color: #dedede;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
}
#MainMenu li#logout:hover a {
    color: #fff;
}

#MainContent {
    width: 95%;
    margin: 0 auto;
    padding: 1%;
    padding-top: 0;
    border: 2px solid #2f772e;
    background-color: #d0e0aa;
}

/*#WindowContent {
        margin:30px;
}*/

/* *********************************************************** */
/* ***************** BEGIN PAGE SECTIONS ********************* */

/*********** General form styles ***************/
div#ResourceContainer,
div#ResourceclassContainer,
div#ActivityContainer,
div#adminform,
div#xestoresform {
    width:1000px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 10px 20px 10px 20px;
    background:url('images/admin_webstruct/form_back.png') center center repeat-y;
    border: 1px solid #043e51;
}

p#formcontrols {
    text-align: center;
}

form * {
    font-size: 1.1em;
    color: #043e51;
}
form fieldset {
    border: 1px solid #2f772e;
}

/******************** Resource form ************************/
form#Resource {

}
#Resource fieldset legend {
    text-align: left;		/* chrome supports centered legends but firefox no */
}

/* TABS */
ul#tabNav_lng {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul#tabNav_lng li {
    display: inline;
    padding: 3px 7px 0 7px;
    border: 1px solid #043e51;
    margin-left: 8px;
    background-color: #ccc;
    color: #7a7a7a;
}
ul#tabNav_lng li:hover {
    background-color: #ddeddf;
    color: #2f772e;
    cursor: pointer;
}
ul#tabNav_lng li.selected {
    background-color: #ddeddf;
    border-bottom-color: #ddeddf;
    color: #043e51;
}

.tab_lng {
    background-color: #ddeddf;
    border: 1px solid #043e51;
    padding: 8px;
}
.tab_lng fieldset {
    text-align: center;
}
.tab_lng fieldset div {
    line-height: 60px;
}
.tab_lng fieldset div.left label {
    width: 160px;
}
.tab_lng fieldset div.right label {
    width: 140px;
}
.tab_lng input[type=text] {
    width: 280px;
}
.tab_lng textarea {
    width: 888px;
    height: 80px;
}
.tab_lng fieldset div textarea {
    width: 290px;
    height: 60px;
}

.tab_lng tbody div{ line-height:8px !important;font-size:10px;}
/* CONTACTO */
#Resource_contactoset label {
    width: 85px;
    padding-right: 5px;
    text-align: right;
}
#Resource_contactoset select {
    width: 150px;
    margin-right: 20px;
}
#Resource_contactoset input[type=text] {
    margin-left: 2px;
    width: 887px;
}
#Resource_contactoset div.left input[type=text] {
    width: 100px;
}
#Resource_contactoset div.right input[type=text] {
    width: 400px;
}

#web_info{
    font-style:italic; 
    color:#1e4d1e; 
    font-size:11px;
    margin-left:97px;
    margin-top:3px;
}


/* PHOTO & LOCATION */
#Resource_photoset, #Resource_mapset {
    height: 410px;
    width: 450px;
}
/* PHOTO */
#Resource_photoset div.fl_file {
    margin: 0 auto;
    width: 400px;
}
#Resource_photoset p.preview {
    line-height: 320px;
    text-align: center;
}
#Resource_photoset img {
    vertical-align: middle;
    max-width: 400px;
    max-height: 320px;
}
/* MAP */		
#Resource_mapset {
    position: relative;
    top: -17px;
}
#resource_map {
    width: 370px;
    height: 300px;
    position: relative;
    margin: 15px auto 0 auto;
}
#Resource_mapset div.left,
#Resource_mapset div.right {
    width: 220px;
    height: 50px;
}
#Resource_mapset p {
    margin-top: 5px;
    text-align: center;
}
#Resource_mapset label {
    width: 80px;
    text-align: right;
}
#Resource_mapset input {
    width: 120px;
    text-align: left;
}
#Resource_mapset div.right {
    line-height: 50px;
}
#Resource_mapset div.right input {
    vertical-align: middle;
}

/* ACCESIBILIDADE */
#Resource_accesibleset input[type="radio"] {
    margin-left: 220px;
}

/* ACTIVITY & TYPES/CLASSES */
#actInfo, #classInfo {
    text-align: center;
    font-style: italic;
    font-size: 1.4em;
}
#Resource_activityset div.left,
#Resource_classset div.col1 {
    overflow: auto;
    border: 1px solid #333;
    background-color: #ddeddf;
}
ul#dragActivities,
ul#dragClasses {
    list-style: none;
    padding: 2px 0;
    margin: 0;
}
#dragActivities li,
#dragClasses li {
    padding-left: 4px;
}
#dragActivities li:hover,
#dragClasses li:hover {
    background-color: #ccf;
    cursor: pointer;
}
div.highlight {
    outline: 5px dashed #d00;
}
div.highlightok {
    outline: 5px dashed #0d0 !important;
}
table.dropTable {
    border: 1px solid #333;
    text-align: center;
}	
.dropTable thead tr {
    position: relative;
    display: block;
    font-size: 0.9em;
}		
.dropTable th {
    background-color: #ddeddf;
    /*border: 1px solid #333;
    border-top-width: 0;*/
    padding: 0;
    padding-right: 1px;	
    color: #000;
    font-weight: normal;
    font-style: italic;
}
.dropTable tbody {
    display: block;
    overflow: auto;
    width: 100%;
    font-size: 0.9em;
}
.dropTable tbody tr {
    border-bottom: 8px solid transparent;
    background-color: #ddeddf;
}
.dropTable td {
    padding: 0px;
    padding-right: 1px;	
}
.dropTable a {
    color: blue;
    cursor: pointer;
}
.dropTable a:hover {
    color: red;
    text-decoration: underline;
}

/* ACTIVITY */
#Resource_activityset {}
#Resource_activityset div.left,
#Resource_activityset div.right,
#Resource_activityset div#dragActivities {
    height: 200px;
}
#Resource_activityset div.left {
    width: 260px;
}
#dropActivities {
    width: 686px;
    margin-right: 15px;
    /*overflow: hidden;*/
}
#dropActivities table {
    width: 686px;
}
#dropActivities tbody {
    height: 182px;
}
#dropActivities thead th {width: 166px;}
#dropActivities tbody td {width: 159px;}
#dropActivities thead th + th,
#dropActivities tbody td + td { width: 57px; }
#dropActivities thead th + th + th + th + th + th + th {font-size: 0.7em;}
#dropActivities thead th + th + th + th + th + th + th + th  {font-size: 1em;}
#dropActivities thead th + th + th + th + th + th + th + th + th + th {width: 62px; border-right: none;}
#dropActivities tbody td + td + td + td + td + td + td + td + td + td {width: 46px;}

/* RESOURCE CLASS */
#Resource_classset {}
#Resource_classset div.left,
#Resource_classset div.right {
    height: 200px;
}
#Resource_classset div.col1 {
    width: 260px;
}
#dropClasses {
    width: 480px;
    margin-left: 20px;
}
#dropClasses table {
    width: 480px;
}
#dropClasses tbody {
    height: 182px;
}
#dropClasses thead th {width: 163px;}
#dropClasses tbody td {width: 159px;}
#dropClasses thead th + th,
#dropClasses tbody td + td { width: 79px; }
#dropClasses thead th + th + th + th + th { width: 81px; border-right: none;}
#dropClasses tbody td + td + td + td + td { width: 64px; }
#Resource_classset div.right {
    width: 200px;
    font-size: 0.8em;
}
#Resource_classset div.right p {
    margin-bottom: 8px;
}
#Resource_classset div.right span,
#Resource_classset div.right input {
    display: inline-block;
    margin: 0;
    width: 42px;
    vertical-align: middle;
    text-align: center;
}
#Resource_classset div.right label {
    width: 105px;
}


/******************** Resourceclass & Activity form ************************/
form#Resourceclass,
form#Activity {
    color: #333;
}
#Resourceclass label,
#Activity label {
    padding-right: 5px;
    text-align: right;
}
#Resourceclass fieldset p,
#Activity fieldset p {
    text-align: center;
}

/* NAMES */		
#resourceclass_names label,
#activity_names label{
    width: 90px;
}
#resourceclass_names input,
#activity_names input{
    width: 600px;
}

/* TEXT */
#resourceclass_desc textarea,
#activity_desc textarea {
    width: 850px;
    height: 60px;
}

/* OPTIONS */
/* resourceclass form */
#resourceclass_options label {
    width: 180px;
}
#resourceclass_options select {
    width: 170px;
    text-align: left;
}
/* activity form */
#activity_options label {
    width: 160px;
}
#activity_options select {
    width: 182.5px;
    text-align: left;
}
/* both forms */
#radiotrap label {
    width: 90px;
    padding: 0;
    text-align: center;
}

/* ICONS & PREVIEW*/
#resourceclass_icons,
#activity_icons,
#resourceclass_preview,
#activity_preview {
    height: 140px;
}

/* ICONS */
#resourceclass_icons,
#activity_icons {
    width: 600px;
}
#resourceclass_icons div.line,
#activity_icons div.line {
    vertical-align: middle;
}
#resourceclass_icons label,
#activity_icons label {
    width: 130px;
}
#resourceclass_icons .fl_file,
#activity_icons .fl_file {
    display: inline;
    width: 400px;
    vertical-align: middle;
}

/* PREVIEW */
#resourceclass_preview,
#activity_preview {
    width: 320px;
}
#resourceclass_preview p,
#activity_preview p {
    line-height: 120px; 
}
#resourceclass_preview img,
#activity_preview img {
    vertical-align: middle;
}	

/* Resourceclass form */
#resourceclass_preview img.big {
    height: 50px;
    width: 50px;
}
#resourceclass_preview img.small {
    width: 20px;
    height: 20px;
}

/* Activity form */
#activity_preview img.big {
    width: 50px;
    height: 50px;
}
#activity_preview img.small {
    width: 20px;
    height: 20px;
}

/*************************************************************/
/****************USERADMIN STYLES FORM ***********************/
/************************************************************/
#adminform{
    font-size:1em;	
}
#useradmin_names label{
    width: 190px;
    margin-top:10px;
}

#useradmin_names input{
    width: 200px;
    font-size :0.9em;
}
#passTip{
    font-size:1em;
}

/***********************************************
                                TABLE STYLES
************************************************/

.AjaxTableFixCmds,
.AjaxTableTabs,
.AjaxTableControls,
.AjaxTable {
    width:99%;
    margin: 0 auto;
}
.AjaxTableTabs *,
.AjaxTableControls *,
.AjaxTable * {
    color: #043e51;
}
.AjaxTableFixCmds {
    position: absolute;
    width: 25px;
    height: 25px;
    margin-top: 5px;
    cursor: pointer;
}
.AjaxTableTabs { height:27px; }
.AjaxTableTabs ul {
    float:right;
    margin: 0;
    padding: 4px 0 5px 0;
}
.AjaxTableTabs ul li,
.AjaxTableTabs .new {
    list-style-type: none;
    display: inline; 
    margin-left:4px;
    padding:4px;
    cursor:pointer;
    font-size: 1em;
    color: #043e51;
    /* Borders */
    border:1px solid #043e51;
    border-top: 0;	
    -moz-border-radius-bottomleft:4px;
    -webkit-border-bottom-left-radius:4px;
    -moz-border-radius-bottomright:4px;
    -webkit-border-bottom-right-radius:4px;
}
.AjaxTableTabs ul li.selected,
.AjaxTableTabs ul li:hover {
    background-color:#2f772e;
    border-color:#2f772e;
    color:#fff;
}	
.AjaxTableTabs .new {
    float:right;
    margin-left: 40px;
    border-color: #043e51; 
    font-size:1.2em;
    color:#043e51;
}
.new:hover {
    background-color: #043e51;
    color: #fff;
}

.AjaxTableControls {
    text-align:left;
}
.searchReady,
.searching {
    border:1px solid #043e51;
    background:#fff url('images/system-search.png') center right no-repeat;
}
.searching {
    background:#fff url('images/loading-16.gif') center right no-repeat;
}
.AjaxTableControls a {
    margin-left: 10px;
    font-size:11px;
    font-weight:bold;
    color: #043e51; 
    cursor:pointer;
}
.AjaxTableControls a:hover {
    text-decoration: underline;
}
.tablecombo {
    height:20px;
    font-size:12px;
    border:1px solid #000;
    margin-left:10px;
    width:190px;
}

.AjaxTable {

    margin-top:5px;
    margin-bottom:5px;
    font-size:12px;
    background-color:#fff;
    color:#000036;
    cursor:default;
}

.OrdDown {background:url('images/ordDown.png') center center no-repeat;}
.OrdUp {background:url('images/ordUp.png') center center no-repeat;}

.AjaxTable tr {cursor:pointer; }
.AjaxTable tr td { line-height: 15px;}

.unpair { background-color:#C0C0F8; }
.AjaxTable tr:hover {background-color:#A1A1D0;color:#fff;}
.AjaxTable .selected {background-color:#A1A1D0;color:#fff;}
.AjaxTable .selected:hover {background-color:#A1A1D0;color:#fff;}
.AjaxTable .edit {color:#A1A1D0; width:16px;color:#fff;}

.AjaxTablePager {text-align:right;}
.AjaxTableBTN {cursor:pointer;font-weight:bold;}


.fixcommandBTN {cursor:pointer;}

#pager{
    margin-right:16px;
}

/*/
/// 	Pages
/*/

/*
//	Login Page
*/

#UseradminLoginContainer {
    width:350px;
    margin: 15% auto;
    padding: 40px 30px;
    background-color: #3d8aa9;
    text-align: center;
    font-size: 1.3em;
    color:#fff;
    border: 1px solid #2f772e;
    /*round borders*/
    -moz-border-radius:15px;
    -webkit-border-radius:15px;
    border-radius: 15px;
}
#UseradminLoginError {
    padding:10px;
    margin-bottom:5px;
    background-color:#C71100;
    text-align: center;
    color:#fff;
    /*round borders*/
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}
#UseradminLogin input {
    color: #043e51;
}
#UseradminLogin p {
    margin: 4px 0;
}
#UseradminLogin label {
    margin-right: 10px;
    width: 120px;
}
#UseradminLogin input[type=text],
#UseradminLogin input[type=password] {
    width: 150px;
    border-color: #2f772e;
}
#UseradminLogin p.formControls {
    margin-top: 25px;
    margin-bottom: 0;
}


#xestores_names label{
    width: 190px;
    margin-top:10px;
}

#xestores_names input{
    width: 160px;
    font-size :0.9em;
}
#entidade_xestora {
    margin-top:20px;
    margin-left:20px;
    margin-right:20px;
    padding-bottom:20px;
    padding-top:20px;
}
#entidade_xestora label {
    text-align:right;
    margin-left:40px;
    font-size:14px;
    width: 245px;
    margin-left:20px;
}
#xestor_basicos label{
    text-align:right;
    margin-left:40px;
    width:250px;
}
#xestor_login span label{
    font-size:12px;
    margin-left:0;
    width:auto;
}

#xestor_telefonos {margin-top:20px;margin-bottom:20px;}

#xestores_names .password {margin-top:30px;}
#xestor_name input {width:300px;}
#xestor_email input, #xestor_email_personal input {width:250px;}
#xestor_login input {width:120px;}
#xestor_url input,
#xestor_web input {width:400px;}
#xestor_posto_traballo input {width:350px;}
#xestor_cp input {width:60px;}
#xestor_direccion input {width:300px;}
#xestor_telefonos input {width:120px;}
#xestor_selectores {margin-top:10px;margin-bottom:10px;margin-left:30px;}
#xestor_selectores label {padding-left:30px;width: 235px;margin-left:0px;}
#xestor_selectores select {font-size:12px;}
#xestoresform .password label {width:290px;text-align:right;margin-right:5px;}

#xestores_explain {
    background-color:#D0E0AA;
    border:3px solid #9CAF6C;
    padding:20px;
    margin-left:20px;
    margin-right:20px;
    margin-top:10px;
    margin-bottom:35px;
}
#xestoresform .password label {font-size:15px;}

#xestoresform label {margin-bottom:10px;}

#xestoresform  #condiciones_input {float:left;position:absolute;}

#xestoresform  #condiciones {margin-left:100px;margin-right:100px;margin-top:10px;margin-bottom:10px;}
#xestoresform  #condiciones label {margin-left:30px;}
