/* BEGIN common styles
 * ========================= */
.page{
//  margin-top: 37px;
  }

  .page .entries,
  .page .person,
  .page .doc .item{
    padding-left: 20px;
    padding-right: 20px;
//    padding-top: 40px;
  }
/* page bottom lines for some pages */

.page.about,
  .page.calendar,
  .page.search,
  .page.person_page,
  .page.event,
  .page.message_form{
    border-bottom: 3px solid;
  }

  .page img {
      display: block;
    }
  .page h2{
      margin-top: 80px;
      margin-bottom: 20px;
      font-size: 2em;
      line-height:125%;
    }
  .page .first{
      margin-top:0px;
    }

.lead{
  font-size: 1.4em;
  line-height: 1.9em;
  margin-bottom: 20px;
  margin-top: 1.7em;
  padding: 0 20px 20px;
}
.body{
  line-height: 1.9em;
  margin: 1.3em 0;
}
.body p em{
  font-size: 1em;
  line-height: 1.9em;
  margin: 1.7em 0;
}
.body table{
    border-collapse: collapse;
    }
.body table td{
    border: 1px solid #000;
    padding: .2em;
    }

/*
.text_only{
    font-size: 0px !important;
    color: #fff !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    line-height: 0px !important;
}
*/
/* webaim version: */
.text_only{
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.published {
    font-size: 0.75em;
  }

/* =fancy-inputs
----------------------------------------------- */
.fancy-input{
    border: 2px solid; /* inherits global border-color */
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding-left: 6px;
    height: 40px;
    font-size: 30px;
  }
.fancy-textarea{
    border: 2px solid; /* inherits global border-color */
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    height: 400px;
    font-size: 30px;
  }
.fancy-button{
    border: 2px solid; /* inherits global border-color */
    color: #FFF;
    background-color: #000;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    height: 44px;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 0px;
    font-size: 30px;
    cursor: pointer;
  }
.fancy-radio-unchecked{
  background: url(/static/img/special/unselected.png) left center no-repeat;
  width: 17px;
  float: left;
  height: 35px;
  margin-right: 20px;
}
.fancy-radio-checked{
  background: url(/static/img/special/selected.png) left center no-repeat;
  width: 17px;
  float: left;
  height: 35px;
  margin-right: 20px;

}
.fancy-radio-unchecked input,
.fancy-radio-checked input{
  cursor: pointer;
  margin: 0px;
  padding: 0px;
  width: 15px;
  height: 35px;
  opacity: 0;
  -moz-opacity: 0;
  -khtml-opacity: 0;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}

/* =Bubled-menu -- bubler
 * used in calendar timeline
----------------------------------------------- */
.bubler{
  display: block;
  overflow: hidden;
  }
  .bubler ul{
	list-style:none;
	font-size:22px;
	padding:11px 0 8px 0px;
	/*width:650px;*/
	}
	.bubler li{
		float:left;
                margin: 5px 5px;
		}
		.bubler li a{
			float:left;
			text-decoration:none;
		        cursor:hand;
			padding:0 0 5px 0;
			}
		.bubler li a span{
			float:left;
			padding:2px 7px;
			margin-right:4px;
			-moz-border-radius: 3px;
			-khtml-border-radius: 3px;
			-webkit-border-radius: 3px;
			border-radius:3px;
			white-space:nowrap;
                        font-size: 24px;
                        font-weight: normal;
                        letter-spacing: 1px;
                        line-height: 31px;
			}
		.bubler li a.here{
			color:#fff;
			background:url(/static/img/special/access/arr.png) no-repeat 50% 100%;
			}
			.bubler li a.here span{
				background:#000;
				-moz-border-radius: 3px;
				-khtml-border-radius: 3px;
				-webkit-border-radius: 3px;
				border-radius:3px;
				float:left;
				padding:2px 7px
				}
                #out .bubler li a.here:hover {
                        outline: none;
                        text-decoration: none;
                        color: #FFF !important;
                  }
                  #out .bubler li a.unavalible,
                  #out .bubler li a.unavalible span,
                  #out .bubler li a.unavalible:hover {
                    color: #AAA;
                    outline:none;
                    }

/* =hentry
----------------------------------------------- */
.entries {
  border-bottom: 2px solid;
  padding-bottom: 1em;
  margin-bottom: 1em;
  padding-left: 20px;
}
.hentry{
	margin-bottom:40px;
        margin-top: 20px;
	padding:0 0px;
	}
.hentry h3, .hentry .body, .hentry div.annonce{
	font-size:1em;
	font-weight: normal;
	}
	.hentry h3 a, .hentry p a, .hentry div.annonce a{
//		color:#000;
		text-decoration:none;
		}
	p.published{
		margin:.4em 0;
		}
	 .tags{
		margin-top:.6em;
		}
		 .tags a{
			text-decoration:none;
			padding:1px 2px;
			}
		 .tags a:hover {
			background:#d8edff;
			}
/* =pagi
----------------------------------------------- */
/* also use in calendar for days */
.pagi{
	padding:0 23px;
	margin:2em 0;
	width:90%;
	overflow:hidden;
	}
	.pagi a{
		float:left;
		color:#000;
		text-decoration:none;
		padding-bottom:5px;
		margin-right:8px;
        }
         #out .pagi a:hover {
             outline: none;
         }
	.pagi a span{
		float:left;
		border:1px solid #d7d7d7;
		padding:0 .8em;
		 -moz-border-radius: 5px;
		 -khtml-border-radius: 5px;
		 -webkit-border-radius: 5px;
		 border-radius:5px;
		 height:2em;
		 line-height:2em;
		cursor:hand;
		}
		#out .pagi a:hover,
                #out .pagi a:focus {
                        outline:none;
		}
			.pagi a:hover span{
				border-color:#990000;
				}
		.pagi a.here{
			background:url(/static/img/special/access/arr.png) no-repeat 50% 100%;
			}
		.pagi a.here span{
			background:#000;
			border-color:#000;
			color:#fff;
			font-weight:bold;

			}
			.pagi a.here b{
				font-size:30px;
				}
        .pagi a.inactive span {
            border-color: #e7e7e7;
            color: #d7d7d7;
          }
.pagi .pagi-prev{margin-right:25px;}
.pagi .pagi-next{margin-left:25px;}

.level1 h1{
    margin-top: 80px;
    margin-bottom: 20px;
    font-size: 2em;
    letter-spacing: 0.08em;
    line-height:125%;
}
.level3 h3{
    margin-top: 80px;
    margin-bottom: 20px;
    font-size: 2em;
    letter-spacing: 0.08em;
    line-height:125%;
    font-weight: bold;
}

/* jquery.select*/
.selectBox-dropdown .selectBox-label{
  color: black;
  }

/* =Agencies (in gov)
----------------------------------------- */
.agencies .institute{
    margin-top: 80px;
}



/* END common
 * ======================================== */




/* =cal
----------------------------------------------- */

  /* Timeline */
.timeline .years{
  margin:20px 0;
  padding:20px 0;
  border-top: 3px solid;
  border-bottom: 1px solid;
  }
.timeline .months{
  border-bottom: 1px solid;
  margin: 20px 0;
  padding: 0 0 20px;
}
.timeline .days{
  font-size: 18px;
  margin: 20px 0;
  padding: 0 0 20px;
  border-bottom: 3px solid;
}
.calendar{
    margin: 20px 0;
    padding: 20px 0;
  }
  .calendar .hentry{
      padding-left: 20px;
      padding-right: 20px;
    }
/* =gov
----------------------------------------------- */
.person{
  overflow:hidden;
  margin-top: 10px;
  clear: left; /* For IE6 */
}
  .person a,
  .person a{
    color: #000;
    text-decoration: none;
  }
  .person .photo{
    float:left;
    padding:5px;
  }
  .person .description{
    float: left;
    padding: 5px;
    margin-left: 50px;
    max-width: 600px;
  }
    .person .description .name{
      font-size: 1em;
      font-weight: bold;
    }
    .person .description .post{
      margin-top: 20px;
      font-style: italic;
    }

.person h2{
  clear:left; /* For IE6 */
}

/* =doc
----------------------------------------------- */

.doc{

  }
  .doc .item{
    padding: 0 20px 40px;
    border-bottom: 3px solid black;

    }
  .doc p{
    }
  .doc .head{
    border-bottom: 1px solid #000;
    margin-bottom: 4em;
    padding-bottom: 4em;
    padding-top:0px;
    margin-top:2em;
    }
    .doc .head h1{
      font-size: 1.4em;
    }

  .doc .additionals{
    padding-top: 3em;
    margin-top: 3em;
    border-top: 1px solid #000;
    }


/* = power
----------------------------------------------- */
.institute{
  padding: 0 20px;
  border-bottom: 3px solid;
  }
  .institute .body{
    border-top: 1px solid;
    margin: 30px 0;
    /*padding-top: 30px*/
  }
  .institute .subinstitute{
    line-height: 160%;
    margin-top: 40px;
  }
  .institute h3{
    font-size: 2em;
    letter-spacing: 0.08em;
    line-height: 125%;
    margin-bottom: 20px;
    margin-top: 80px;
  }
  .institute h4{
    font-weight: normal;
  }



/* =index
----------------------------------------------- */


/* =letter
----------------------------------------------- */
.letter{
	margin:0 ;
	}
	.letter h2{
		margin:0 23px 20px 23px;
		font-size:1.8em;
		}
	.letter .note{
		border-bottom:1px solid #d8d8d8;
		padding:10px 23px 10px 23px;
		}
	.letter .req{
		font-weight:bold;
		font-size:44px;
		position:relative;
		color:#970000;
		line-height:18px;
		font-family:Georgia,serif;
		}
	.letter .row{
		margin-bottom:20px;
		}
	.letter  form{
		margin:1.5em 0 1em 0
		}
	.letter label{
		display:block;
		font-size:1.3em;
		font-weight:bold;
		padding-bottom:5px;
		font-family:Georgia,serif
		}
		.letter label span{
			font-weight:normal;
			}
	 .inp, .letter textarea{
		width:901px;
		border:2px solid; /* inherits global border-color */
		font-size:22px;
		padding:6px 12px;
		font-family:Georgia,serif
		}
	.letter select{
		font-size:22px;
		width:100%;
		}
		.letter select option{
			padding:3px;
			}
		.letter textarea{
			height:546px;
			}
		.letter .error .inp{
			color:#970000;
			border-color:#970000;
			font-weight:bold
			}
	.letter  .disabled{
		color:#fff;
		background:#000;
		}
.last{
	width:60%;
	overflow:hidden;
	margin-top:20px;
	float:right;
	}
	.last a, .search .row a{
		float:right;
		background:#000;
		border:4px solid ; /* inherits global border-color */
		text-decoration:none;
		}
		.last a span, .search .row a span{
			border:2px solid #fff;
			padding:5px 17px 5px 48px;
			color:#fff;
			font-size:32px;
			float:left;
			background:url(/static/img/special/access/send.png) no-repeat 14px 50%;
			}


/* Events
----------------------------------------------- */
.event{

}
.event .item{
}

.event .head{
    padding: 0 20px;
  }

  .event .head .top{
    overflow:hidden;
    }
  .event .head .published{
      width: 49%; float:left;
    }
  .event .head .participant{
      width:49%; float:right;
      font-size: 0.75em;
    }

/*  .event .body .description{
    margin-bottom: 4em;
  }*/
  .event .representation{
      border-bottom: 3px solid;
    }
  .event h1{
      margin-top: 80px;
      margin-bottom: 40px;
      font-size: 2em;
      letter-spacing: 0.1em;
      line-height: 125%;
    }
  .event .lead{

    }
  .event .body{
      padding: 0 20px;
    }

.event .doc_photo{
  overflow: hidden;
  margin: 1.7em 0;
  }
  .event .doc_photo .photo{
    float: left;
    }
  .event .doc_photo .description{
    font-style: italic;
    margin-left: 20px;
    float: left;
    font-size: 1.4em;
    line-height: 1.9em;
    }

  .event .tabs{
    margin-top: 20px;
    padding: 0 20px 20px;
    border-bottom: 1px solid ; /* inherits global border-color */
  }


  .event .audio .text{
    font-style: italic;
  }
  .event .video .text{
    font-style: italic;
  }
/* = Additionals
----------------------------------------------- */
.additionals .additional{
  clear:left;
  margin-top: 2em;
}
  .file{
    overflow: hidden;
    height: 65px;
    padding: 5px 0;
  }
  #out .file .link{
    background: url(/static/img/special/attachment.png) 0 0px no-repeat;
    height: 56px;
    display: block;
    width: 64px;
    text-align: center;
    float: left;
    line-height: 64px;
  }
  #out .file .link:hover {
    outline: none;
    background-position: 0 -56px;
  }

  .file .size{
    display: block;
    float: left;
    margin-left: 20px;
    font-size: 1em;
    line-height: 64px;
  }
.additionals h2{
  font-size: 1.4em;
  margin-top:0px;
}
.additionals h3{
  font-weight: normal;
  font-size: 1 em;
  margin-bottom: 20px;
}

/* =priorities
----------------------------------------------- */
.prioryties ul.sections{
  list-style-type: none;
  padding-left: 20px;
  padding-right: 20px;
  }
  .prioryties ul.sections li{
    font-size: 2.8em;
    line-height: 1.6em;
    padding: 4px 4px 4px 0;
    margin-bottom: 1em;
    overflow: hidden;
    }
    .prioryties ul.sections .count{
      color: #D60E0E;
      width: 7%;
      display: block;
      float: left;
      vertical-align: super;
      font-size: 0.4em;
      line-height: 4em;
      }
    .prioryties ul.sections .title{
      width: 93%;
      float:left;
    }

/* =person page
----------------------------------------------- */
.person_page .person{
    border-bottom: 2px solid ; /* inherits global border-color */
    padding-left: 0px;
    margin-top: 40px !important;
}
.person_page ul.contacts{
    list-style: none;
    padding: 40px 0 40px 20px;
    font-size: 22px;
}
.person_page .nav{
    margin-top:20px;
    padding-bottom: 20px;
    height: 70px;
}
.person_page .nav h2{
    margin-top:0px;
}

.body p{
    margin-bottom: 1em;
}
.body ul,
.body ol{
    /* XXX */
    margin-left: .5em;
}
.border_b2{
    border-bottom: 2px solid;
}
.organs .hentry{
    margin-top: 40px;
}
/* person page: end */


/* =Documents bank
----------------------------------------------- */
.documents-bank h1{
  padding: 0 20px;
  margin: 20px 0 10px;
  }

.documents-bank .quantity{
  margin: 10px 0 30px;
  padding: 0 20px;
  }

.documents-bank .filter-form .search-input{
    width: 516px;
    height: 40px;
  }
.documents-bank .order-clause{
    margin: 40px 0;
  }
  .documents-bank .order-clause strong{
      padding: 0 20px;
    }
  .documents-bank .order-clause .orderby_option{
      overflow: hidden;
    }
.documents-bank .filter-form .search-button{
    height: 44px;
    width: 137px;
  }

.documents-bank .filter-form .start-date{
  margin-top: 40px;
  }
  .documents-bank .filter-form .start-date strong,
  .documents-bank .filter-form .start-date label{
    padding: 0 20px;
    }
.documents-bank .filter-form .form-footer{
  overflow: hidden;
}
.documents-bank .filter-form .form-footer .submit-form{
  float: left;
  width: 40%;
}
.documents-bank .filter-form .form-footer .clear-form{
  float: right;
  width: 40%;
}
.documents-bank .filter-form .form-footer .clear-form input{
  float: right;
}
.documents-bank .filter-form .day-select,
.documents-bank .filter-form .month-select,
.documents-bank .filter-form .year-select{
  margin: 20px 0;
  }
.documents-bank .period-clause label{
  display: block;
  padding: 20px 10px;
  }

  /*jquery.selectBox*/
  .documents-bank .filter-form .selectBox-dropdown{
      width: 206px;
      height: 37px;
      line-height: 11px;
      background: url(/img/special/small-select-arrow.png) center right no-repeat;
      border: 3px solid ; /* inherits global border-color */
      -moz-border-radius: 3px;
      -khtml-border-radius: 3px;
      -webkit-border-radius: 3px;
      border-radius: 3px;
    }
  .documents-bank .filter-form .selectBox-arrow{
    width: 44px;
    }

  .documents-bank .filter-form .selectBox-dropdown .selectBox-label {
    font-size: 18px;
    padding-top: 13px;
    padding-left: 20px
    }
  .documents-bank .filter-form .selectBox-options,
  .documents-bank .filter-form .selectBox-options LI,
  .documents-bank .filter-form .selectBox-options LI A{
    font-size: 18px;
    line-height:20px;
    }


.documents-bank .documents-list{
  margin: 40px 0 20px;
  padding: 40px 0;
  border-top : 3px solid ; /* inherits global border-color */
  }
.page.documents-bank{
  border-bottom: 3px solid ; /* inherits global border-color */
  margin-top: 20px;
  padding: 0 0 50px;
  }
/* END =documents bank*/


/* =Search page
----------------------------------------------- */
.page.search .what{
    width: 70%;
}
.page.search .fancy-button{
  width: 150px;
}

#targets {
  padding: 0 20px;
  margin: 30px 0;
  overflow: hidden;
}

#targets a {
  display: block;
  float: left;
  margin: 2px 10px;
  padding: 2px 4px;
  }
  .page.search #targets span{
    float: left;
    border: 1px solid #D7D7D7;
    padding: 0 .8em;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    height: 50px;
    line-height: 2em;
  }
  .page.search #targets a:hover,
  .page.search #targets a:focus {
     outline: none;
    }
  .page.search #targets a:hover span,
  .page.search #targets a:focus span{
      border: 1px solid #900;
    }
  .page.search #targets .active-section span{
    color: #FFF;
    background-color: #000;
    }

.page.search .results{
  padding: 0 20px;
  }
  .page.search .result{
    margin: 40px 0 30px;
    }
  .page.search .hentry h3{
    font-weight: bold;
    }

.page.search .search-foud{
  margin-bottom: 30px;
  border-bottom: 3px solid black;
  padding-bottom: 30px;
  padding-left: 20px;
  }

.page.search{
  margin-bottom: 30px;
  padding-bottom: 30px;
  }

.page input,
.page textarea,
.page select{
    display: block;
    font-size: 1.2em;
    padding:.2em;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #000;
    }
.page textarea{
    min-height: 15em;
    }
    span.error{
        display: block;
        font-weight: bold;
        color: #990000;
        margin-top: 1.5em;
        }
    .color1 span.error{
        color: #000;
        }
.page .form-row.has-error input,
.page .form-row.has-error textarea
.page .form-row.has-error select{
    border-color: #990000;
    }

.page button{
    font-size: 1.2em;
    padding: .4em .5em;
    background: #000;
    border: 2px solid #fff;
    outline: 4px solid #000;
    color: #fff;
    cursor: pointer;
    }
.form-row .selectBox-dropdown{
    height: 3em;
    font-size: inherit;
    }
    .form-row .selectBox-dropdown .selectBox-options,
    .form-row .selectBox-dropdown .selectBox-label{
        font-size: 1.1em;
        padding: .5em 0 0 35px;
        }

/* END Search page*/


/* =Question page
----------------------------------------------- */
div.form-field{
    margin-bottom: 20px;
}
div.form-field label{
    display: block;
}
div.form-field p.error{
    color:red;
    margin-bottom: 10px;
}
.page.message_form{
    margin-bottom: 30px;
    padding-bottom: 30px;
}
.message_form input.fancy-button{
    margin-top:20px;
}
.message_form .selectBox-label{
    width: 790px;
    overflow: hidden;

}
.message_form textarea.fancy-textarea{
    width:100%;
}
.message_form input.fancy-input{
    width:100%;
}
.message_form div.file-input{
    width: 280px;
    display: none;
    cursor: pointer;
}
.message_form div.file-input div{
    width: 280px;
    cursor: pointer;
}
.message_form div.file-input div input{
    width: 280px;
    cursor: pointer;
}
.message_form div.radio-input{
    height: 40px;
}
/* END question page*/


