/* ------------------------------------------------------------------------------

   Copyright (c) 2010, Dragan Babic
   
   Permission is hereby granted, free of charge, to any person
   obtaining a copy of this software and associated documentation
   files (the "Software"), to deal in the Software without
   restriction, including without limitation the rights to use,
   copy, modify, merge, publish, distribute, sublicense, and/or sell
   copies of the Software, and to permit persons to whom the
   Software is furnished to do so, subject to the following
   conditions:
   
   The above copyright notice and this permission notice shall be
   included in all copies or substantial portions of the Software.
   
   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
   OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
   NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
   HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
   WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
   OTHER DEALINGS IN THE SOFTWARE.

   ------------------------------------------------------------------------------ */
/* #############################   GENERALS   ################################### */
/* ------------------------------------------------------------------------------ */

.uniForm{ margin: 0; padding: 0; position: relative; z-index: 1; } /* reset stuff */
  
  /* Some generals and more resets */
  .uniForm fieldset{ border: none; margin: 0; padding: 0; }
    .uniForm fieldset legend{ margin: 0; padding: 0; }
    
    /* This are the main units that contain form elements */
    .uniForm .ctrlHolder { margin-bottom: 15px; padding: 0; clear: both; border-bottom: 0px; text-align: left; background: none;}
    .uniForm .buttonHolder{ margin: 0px; padding: 0; clear: both; border-bottom: 0px; text-align: left; background: none;}
    
    /* Clear all floats */ 
    .uniForm:after,
      .uniForm .buttonHolder:after, 
      .uniForm .ctrlHolder:after, 
        .uniForm .ctrlHolder .multiField:after,
          .uniForm .inlineLabel:after{ content: "."; display: block; height: 0; line-height: 0; font-size: 0; clear: both; min-height: 0; visibility: hidden; }
      
      .uniForm label,
      .uniForm button{ cursor: pointer; }

/* ------------------------------------------------------------------------------ */
/* ##########################   DEFAULT LAYOUT   ################################ */
/* ------------------------------------------------------------------------------ */
/*       Styles for form controls where labels are above the input elements       */
/* ------------------------------------------------------------------------------ */

      .uniForm label,
      .uniForm .label{ color: #3A3A3A; display: block; float: none; margin: 0 0 .5em 0; padding: 0; line-height: 100%; width: auto; font-size: 12px; }
      
      /* Float the input elements */
      .uniForm .textInput,
      .uniForm .fileUpload,
      .uniForm .selectInput,
      .uniForm select,
      .uniForm textarea{ 
      	float: left; 
      	width: 210px; 
      	margin: 0;  
      	padding: 2px 2px 3px 2px;
      	border: 1px solid #cacaca;
      	color: #3a3a3a;
    	font-size: 12px;
    	font-family: Tahoma;
      }
      
	.uniForm .textInput:focus,
      .uniForm .fileUpload:focus,
      .uniForm select:focus,
      .uniForm textarea:focus{ border: 1px solid #0074a9; outline: none; }
      
      /* Read-Only output */
      .uniForm .readOnlyLabel{ margin: 0; font-size: 1em; font-weight: bold; }
      .uniForm .readOnly{ font-size: .85em; }
        .uniForm .readOnly .choiceLabel{ color: #777; text-transform: uppercase; font-size: .75em; letter-spacing: .15em; }
      
      /* Postition the hints */
      .uniForm .formHint{ float: right; width: 43%; margin: 0; clear: none; }
      
      /* Position the elements inside combo boxes (multiple inputs/selects/checkboxes/radio buttons per unit) */
      .uniForm ul{ float: left; width: 53%; margin: 0; padding: 0; }
        .uniForm ul li{ margin: 0 0 .5em 0; list-style: none; }
          .uniForm ul li label{ margin: 0; float: none; display: block; overflow: visible; }
        /* Alternate layout */
        .uniForm ul.alternate li{ float: left; width: 30%; margin-right: 3%; }
          .uniForm ul.alternate li label{ float: none; display: block; width: 98%; }
            .uniForm ul .textInput,
            .uniForm ul .selectInput,
            .uniForm ul select,
            .uniForm ul.alternate .textInput,
            .uniForm ul.alternate .selectInput,
            .uniForm ul.alternate select{ width: 98%; margin-top: .5em; display: block; float: none; }
            
        /* Required fields asterisk styling */
        .uniForm label em,
        .uniForm .label em{ float: left; width: 1em; margin: 0 0 0 -1em; color: #0074a9; }

/* ------------------------------------------------------------------------------ */
/* #########################   ALTERNATE LAYOUT   ############################### */
/* ------------------------------------------------------------------------------ */
/*    Styles for form controls where labels are in line with the input elements   */
/*    Set the class of the parent (preferably to a fieldset) to .inlineLabels     */
/* ------------------------------------------------------------------------------ */

      .uniForm .inlineLabels label,
      .uniForm .inlineLabels .label,
      .uniForm .inlineLabels .readOnlyLabel{ float: left; margin: .3em 2% 0 0; padding: 0; line-height: 1; position: relative; width: 32%; }
      
      .uniForm .inlineLabels .readOnlyLabel{ margin: 0; }
      
      /* Float the input elements */
      .uniForm .inlineLabels .textInput,
      .uniForm .inlineLabels .fileUpload,
      .uniForm .inlineLabels .selectInput,
      .uniForm .inlineLabels select,
      .uniForm .inlineLabels textarea{ float: left; width: 64%; }
            
    /* Postition the hints */
    .uniForm .inlineLabels .formHint{ clear: both; float: none; width: auto; margin-left: 34%; position: static; }
    
    /* Position the elements inside combo boxes (multiple inputs/selects/checkboxes/radio buttons per unit) */
    .uniForm .inlineLabels ul{ float: left; width: 66%; }
      .uniForm .inlineLabels ul li{ margin: .5em 0; }
        .uniForm .inlineLabels ul li label{ float: none; display: block; width: 100%; }
      /* Alternate layout */
      .uniForm .inlineLabels ul.alternate li{ margin-right: 3%; margin-top: .25em; }
          .uniForm .inlineLabels ul li label .textInput,
          .uniForm .inlineLabels ul li label textarea,
          .uniForm .inlineLabels ul li label select{ float: none; display: block; width: 98%;  }
    
    .uniForm .inlineLabels .readOnly{ float: right; width: 66%; }
    
    /* Required fields asterisk styling */
    .uniForm .inlineLabels label em,
    .uniForm .inlineLabels .label em{ display: block; float: none; margin: 0; position: absolute; right: 0; }

/* ----------------------------------------------------------------------------- */
/* ########################### Additional Stuff ################################ */
/* ----------------------------------------------------------------------------- */

  /* Generals */
    .uniForm legend{ color: inherit; }
    
      .uniForm .secondaryAction{ float: left; }
      
      /* .inlineLabel is used for inputs within labels - checkboxes and radio buttons */
      .uniForm .inlineLabel input,
      .uniForm .inlineLabels .inlineLabel input,
      .uniForm .blockLabels .inlineLabel input,
      /* class .inlineLabel is depreciated */
      .uniForm label input{ float: none; display: inline; margin: 0; padding: 0; border: none; }
            
      .uniForm .buttonHolder .inlineLabel,
      .uniForm .buttonHolder label{ float: left; margin: .5em 0 0 0; width: auto; max-width: 60%; text-align: left; }
      
      /* When you don't want to use a label */
      .uniForm .inlineLabels .noLabel ul{ margin-left: 34%; /* Match to width of label + gap to field */ }
      
      /* Classes for control of the widths of the fields */
      .uniForm .small { width: 30% !important; }
      .uniForm .medium{ width: 45% !important; }
      .uniForm .large {  } /* Large is default and should match the value you set for .textInput, textarea or select */
      .uniForm .auto  { width: auto !important; height: auto !important; }
      .uniForm .small,
      .uniForm .medium,
      .uniForm .auto{ margin-right: 4px; }

/* Columns */
.uniForm .col{ float: left; }
.uniForm .col{ width: 50%; }

  
.uniForm .ctrlHolder.error,
  .uniForm .ctrlHolder.focused.error{ background: none; border: 0px;
                                      /* CSS3 */
                                      border-radius:         0px;
                                      -webkit-border-radius: 0px;
                                      -moz-border-radius:    0px;
                                      -o-border-radius:      0px;
                                      -khtml-border-radius:  0px;
                                    }

.uniForm .ctrlHolder.error input,
    .uniForm .ctrlHolder.error select,
    .uniForm .ctrlHolder.error textarea,
    .uniForm .ctrlHolder .left.error input,
    .uniForm .ctrlHolder .left.error select,
    .uniForm .ctrlHolder .left.error textarea { border: 1px solid #ff3100; }
    
    .uniForm  input.error,
    .uniForm  select.error,
    .uniForm textarea.error{ border: 1px solid #ff3100; }

.uniForm div.error{
    color: #ff3100;
    padding-top: 2px;
    font-size: 11px;
}
/********************************* GENERAL BUTTONS *********************************/
button {
    border: 0;
    cursor: pointer;
    text-align: center;
    outline: 0;
    margin: 0;
    padding: 0;
}

button.formButton {
	font: bold 12px Tahoma;
    height: 22px;
    line-height: 20px;
    background: #0081bc;
    color: #ffffff;
    -moz-border-radius: 5px;
  	-webkit-border-radius: 5px;
  	-khtml-border-radius: 5px;
  	border-radius: 5px;
  	padding: 0 10px 1px 10px;
}

button.button-flag {
	font: bold 11px Tahoma;
    height: 20px;
    width: 73px;
    line-height: 20px;
    background: #0081bc;
    color: #ffffff;
    -moz-border-radius: 5px;
  	-webkit-border-radius: 5px;
  	-khtml-border-radius: 5px;
  	border-radius: 5px;
  	margin: 0 5px;
}

button.button-flag:hover {
    background: #ff6600;
}

button.formGrayButton {
	font: bold 12px Tahoma;
    height: 22px;
    line-height: 20px;
    background: #b1b1b1;
    color: #ffffff;
    -moz-border-radius: 5px;
  	-webkit-border-radius: 5px;
  	-khtml-border-radius: 5px;
  	border-radius: 5px;
  	padding: 0 10px 1px 10px;
}

/********************************* MESSAGES *********************************/
.flash_notice {
    margin-bottom: 10px;
}
.flash_error {
    margin-bottom: 10px;
}
/*
.successMsg {
    font-size: 12px;
    background-color: #00be4d;
    border:1px solid  #248e4f;
    color: #ffffff;
    padding: 5px 15px 5px 15px;
    position: relative;
}*/

.successMsg {
	background: url("../images/design/ico-success.gif") no-repeat scroll 7px 7px transparent;
	/*border:1px dotted #41A218;*/
	color: #41A218;
	font-weight: bold;
	/*margin-bottom: 5px;
	margin-top: 5px;*/
	padding: 8px 8px 8px 35px;
	position: relative;
}

.errorMsg {
	background: url("../images/design/ico-error.gif") no-repeat scroll 7px 7px transparent;
	/*border:1px dotted #41A218;*/
	color: #ff3100;
	font-weight: bold;
	/*margin-bottom: 5px;
	margin-top: 5px;*/
	padding: 8px 8px 8px 35px;
	position: relative;
}

/*
.errorMsg {
    font-size: 12px;
    background-color: #ff3100;
    border:1px solid  #ec2f02;
    color: #ffffff;
    padding: 5px 15px 5px 15px;
    position: relative;
}*/

.warningMsg {
    /*font-size: 12px;
    background-color: #fbea9a;
    border:1px solid  #EFD000;
    color: #3a3a3a;
    padding: 5px 15px 5px 15px;
    position: relative;*/
	background:url("../images/design/ico-warning.gif") no-repeat scroll 0 7px transparent;
	color: #3a3a3a;
	font-weight:bold;
	margin-bottom:5px;
	margin-top:10px;
	padding:8px 8px 8px 26px;
	position:relative;
}

/* List of errors above the form */
/*
.formErrorMsg div {
    background-color: #ff3100;
    border:1px solid  #ec2f02;
    color: #ffffff;
    padding: 5px 15px 5px 15px;
    position: relative;
    margin-bottom: 5px;
}
	
.formErrorMsg ol {
    margin-left: 35px;
    margin-bottom: 10px;
    padding: 0;
}
.formErrorMsg ol li {
    margin: 0;
    list-style-position: outside;
    position: relative;
    color: #ff3100;
    padding: 0;
    line-height: 16px;
    float: left;
    margin-right: 3em;
    font-weight: bold;
}
.formErrorMsg ol li span {
    font-weight: normal;
    font-size: 11px;
}*/


.formErrorMsg div {
	background: url(../images/design/ico-error.gif) no-repeat 7px 7px;
	/*border: 1px #bf0d0d dotted;*/
	font-weight: bold;
	/*color: #bf0d0d;*/
	 color: #ff3100;
	padding: 8px 8px 8px 35px;
	margin-top: 10px;
	margin-bottom: 5px;
	position: relative;
}
	.formErrorMsg div h3 {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 14px;
		font-weight: bold;
		color: #ffffff;
		text-transform: uppercase;
	}
	.formErrorMsg div a:link, .errorMsg div a:visited {
		color: #ffffff;
		text-decoration: underline;
	}
	.formErrorMsg div a:hover {
		color: #ffffff;
		text-decoration: none;
	}
.formErrorMsg ol {
	margin-left: 20px;
	margin-bottom: 20px;
	padding: 0;
}
	.formErrorMsg ol li {
		margin: 0;
		list-style-position: inside;
		/*border-bottom:1px dotted #f8b3a0;*/
		position: relative;
		/*color: #e3001b;*/
		color: #ff3100;
		padding: 0;
		line-height: 16px;
		font-size: 11px;
	}

ul.error_list{
    margin-top: 5px;
    color: #ff3100;
    font-size: 11px;
}
.filterTable td {
    padding-right: 5px;
}
.search-intrebari-concurs td {
    padding-bottom: 10px;
}
.filterForm .textInput {
    padding: 2px 2px 3px 2px;
    background: #FFFFFF;
    border: 1px solid #cacaca;color: #3a3a3a;
    font-size: 12px;
    font-family: Tahoma;
}
.filterForm .selectInput {
    padding: 2px;
    background: #FFFFFF;
    border: 1px solid #cacaca;color: #3a3a3a;
    font-size: 12px;
    font-family: Tahoma;
}
.filterForm .textInput:focus{ border: 1px solid #0074a9; outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ }
.filterForm .selectInput:focus{ border: 1px solid #0074a9; outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ }
.searchForm .textInput {
    padding: 2px 2px 3px 2px;
    background: #FFFFFF;
    border: 1px solid #C0C0C0;color: #3a3a3a;
    font-size: 12px;
    font-family: Tahoma;
}
.searchForm .selectInput {
    padding: 2px;
    background: #FFFFFF;
    border: 1px solid #C0C0C0;color: #3a3a3a;
    font-size: 12px;
    font-family: Tahoma;
}
.searchForm .textInput:focus{ border: 1px solid #0074a9; outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ }
.searchForm .selectInput:focus{ border: 1px solid #0074a9; outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ }

.selectReference {
	padding: 2px;
    background: #FFFFFF;
    border: 1px solid #C0C0C0;color: #3a3a3a;
    font-size: 12px;
    font-family: Tahoma;
}
.selectReference:focus{ border: 1px solid #0074a9; outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ }

textarea.apiCode {
    width: 580px;
    padding: 5px 2px 0 2px;
    background: #FFFFFF;
    border: 1px solid #cacaca;color: #3a3a3a;
    font-size: 12px;
    font-family: Tahoma;
    color: #ADADAD;
    margin-bottom: 10px;
    font-family: Courier New, Courier;
}

textarea.apiCode:focus {
    border: 1px solid #0074a9; outline: none;
}

.captcha-input, #scoreName, .daily-res-date {
    padding: 2px;
    background: #FFFFFF;
    border: 1px solid #cacaca;color: #3a3a3a;
    font-size: 12px;
    font-family: Tahoma;
    width: 69px;
}
.captcha-input:focus, #scoreName:focus, .daily-res-date:focus { border: 1px solid #0074a9; outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ }

/* Checkbox List */
.checkbox-list {
	list-style-type: none;
	border-top: 1px #ebebeb solid;
	padding-top: 5px;
	margin-top: 3px;
	margin-top: 0px;
}
.checkbox-list li {
	float: left;
	width: 30%;
	display: inline;
	/*height: 20px;*/
	padding: 0;
	border-top: 0;
	margin: 0;
	padding-bottom: 2px;
}
.checkbox-list input {
	display: inline;
	float: left;
}
.checkbox-list label {
	display: block;
	cursor: pointer;
	text-transform: none;
	float: left;
	width: 80%;
	padding-left: 5px;
	margin: 0;
	color:#3a3a3a;
	font-size: 12px;
}
.no-lines {
	border: 0;
}
.no-lines li {
	border: 0;
}
.checkbox-group .toogle {
	color:#ff6600;
	cursor:pointer;
	display:inline;
	font-size:14px;
	font-weight:bold;
	padding-left:3px;
}

.checkbox-group .toogle span{
	color:#3a3a3a;
	cursor:pointer;
	font-size:11px;
	font-weight:normal;
}

.captcha_image {
	float: left;
	margin-left: 10px;
}

.margin-left {
	margin-left: 18px;
}

.tooltip.form {
	float: left;
	margin-left: 6px;
	padding-top: 2px;
}

