/* Site */
#site-header { margin-bottom: 56px; }

#site-logo {
	padding-top: 17px;
	height: 65px;
	width: 275px;
	background: url(images/latvijas_republikas_satversmes_tiesa_logo_mobile.png) 0 17px no-repeat;
	display: block;
    margin-left:16px;
}

#site-menu {
	top: 100px;
	left: 0;
	right: 0;
	z-index: 10;
}

#site-menu-toggle a {
	right: 18px;
    top: -82px;
    top: -75px;
    height: 48px;
    width: 48px;
}

#site-menu-toggle i {
	margin-top: 19px;
    margin-top: 11px;
}


#site-language a {
    margin-right: 8px;
    margin-left: 6px;
    border-width: 0px;
}



#site-footer {
	height: 216px;
}

#site-footer-copy {
	margin: 0px;
	padding: 0px;
	text-align: center;
	border-top: 1px solid #c4c4c4;
	line-height: 18px;
	padding-top: 16px;
}

#site-footer-links li {
	display: inline-block;
	line-height: 71px;
	width: 49%;
	text-align: center;
	font-size: 18px;
	padding: 0px;
}

#site-footer-links li + li {
	border-left: 1px solid #c4c4c4;
}

#site-footer-links #site-footer-version-switch {
	display: block;
	clear: both;
	border-left: none;
	border-top: 1px solid #c4c4c4;
	width: 100%;
}

[class*='col-'] {
	float: none;
	width: 100% !important;
	clear: both;
	margin-left: 0px !important;
}

#site-content { padding-bottom: 232px; }

/* Search */
#search-tools {
	margin: 0px 16px;
	font-size: 16px;
	line-height: 66px;
}

#search-tools li {
	padding-bottom: 2px;
}

#search-tools a {
	padding: 0 19px;
}

#search-tools li i {
	margin-right: 11px;
	margin-left: -6px;
}

#search-tools li + li {
	border-top: 1px solid #fff;
}

#search-filters { display: none; }

 div .search-results {
	padding: 6px;
	margin: 0 16px;
}

/* Case */
.search-case .head {
	padding-top: 21px;
	font-size: 12px;
	position: relative;
}

.search-case .head .first i {
	margin-right: 10px;
	margin-top: 14px;
	margin-left: 10px;
	vertical-align: top;
}

.search-case .result.block, .search-case .files.block {
    margin:12px;
    padding: 12px 0;
}
.search-case .head .second {
	padding-left: 44px;
	padding-right: 16px;
	margin-top: -8px;
	white-space: nowrap;
	padding-bottom: 23px;
	overflow-x: hidden;
	text-overflow: ellipsis;
}

.search-case .head .third {
	position: absolute;
	top: 21px;
	right: 16px;
}

.search-case .details {
	font-size: 12px;
	margin: 0 19px;
	padding-top: 19px;
	line-height: 24px;
	position: relative;
}

.search-case .details .first {
	width: 48%;
}

.search-case .details .third {
	position: absolute;
	top: 19px;
	right: 0px;
}

.search-case .details .second {
	padding-top: 24px;
	padding-bottom: 24px;
}

.search-case .result {
	margin: 0 19px;
	font-size: 12px;
	line-height: 16px;
	padding-top: 24px;
	padding-bottom: 24px;
}

.search-case .files {
	margin: 0 19px;
	font-size: 12px;
}

.search-case .files .more {
	font-weight: normal;
}

.search-case .files .icn, .search-case .files .more{
	float: right;
    display: block;
	margin-top: -8px;
	margin-right: 4px;
    margin-bottom: 6px;
}

.search-case .file {
	position: relative;
	padding-top: 25px;
}

.search-case .file + .file {
	border-top: 1px solid #e2e2e2;
}

.search-case .file label {
	width: 50%;
	display: inline-block;
	padding-bottom: 28px;
}


#search-advanced-form {
	margin: 1px 16px 0px 16px;
	padding: 0 19px;
	padding-bottom: 24px;
}

#search-advanced-form label {
	display: block;
	float: none;
	margin-left: 4px;
	font-size: 18px;
	padding-top: 29px;
	margin-bottom: -2px;
	width: 100%;
	line-height: 24px;
}

#search-advanced-form .controls {
	padding-bottom: 8px;
}

.input-addon {
	width: 52px;
}

#search-advanced-form input[type=text] + input[type=text],
#search-advanced-form input[type=text] + select {
	margin-left: 0px;
	margin-top: 12px;
}

#search-advanced-form button {
	width: 100%;
	margin: 0px;
	margin-top: 2px;
}

#search-advanced-form input[type=text],
#search-advanced-form select,
.input-group {
	width: 100% !important;
}

#search-advanced-form .separate {
	margin-top: 47px;
	margin-left: -19px;
	margin-right: -19px;
	padding-left: 19px;
	padding-right: 19px;
}

.icn-date { background-position: -48px -48px; }
.input-addon i { margin-left: 1px; }


.search-facet {
	margin-left: 18px;
	margin-right: 18px;
}

.search-facet .label {
	font-size: 21px;
	padding-bottom: 21px;
}

.search-facet .item {
	font-size: 18px;
	line-height: 26px;
	padding-left: 31px;
}

.search-facet .more {
	margin-top: 25px;
	font-size: 18px;
	margin-bottom: 14px;
}

.search-facet label {
	display: inline-block;
	width: 60%;
}

.search-facet .count {
	font-size: 18px;
	right: 20px;
}

.search-facet + .search-facet {
	padding-top: 36px;
}

.search-facet .item input[type=checkbox] {
	margin-right: 15px;
	margin-top: -4px;
	margin-left: -31px;
	vertical-align: middle;
}

#search-filters.modal {
	background: #e3e3e3;
	display: block;
	position: absolute;
	top: 291px;
	left: 16px;
	right: 16px;
	width: auto;
	z-index: 5;


    left: 0px;
    right: 16px;
}

/* Form */
input[type=text],
select,
textarea,
.input-addon,
.btn,
button {
	height: 40px;
	font-size: 16px;
}

#search-filters button {
    width: 100%;

}

#search-filters .button-container {
	display: block;
    margin: 5px 16px 23px 16px;
	padding-top:  25px;
    width: auto;
	border-top: 1px solid #dbdbdb;
}


/* Page */
.page-title { margin: 0 16px; font-size: 20px; line-height: 80px; }
.page-context-title { font-size: 24px; margin-top: 32px; padding-left: 19px; }
.page-context-title a { display: block; position: absolute; right: 20px; top: 29px; }

/* Blocks */
.block-group {
	background: #fff;
}

.block {
	background: #efefef;
}

.block-group .block {
    /* PSS */
	/* margin: 0 16px; */
}

.block + .block,
.block {
	margin-top: 24px;
    /* PSS */
    margin-bottom: 24px;
}

.block .block-label {

    font-size: 28px;
    /* PSS */
	font-size: 16px;
	line-height: 34px;
	padding: 17px 16px 10px;
}

#site-contacts {
	padding-bottom: 16px;
}

#site-contacts p,
#site-contacts ul {
	padding: 13px 16px;
	font-size: 21px;
	line-height: 30px;
}

#site-contacts ul {
	padding-top: 16px;
}

#site-contacts p:first-of-type {
	padding-top: 20px;
}

#site-contacts .more {
	padding: 11px 15px;
	font-size: 21px;
	line-height: 30px;
}


#site-search-widget {
	margin: 0 16px;
	padding: 18px 0px 17px 0px;
}

#site-search-widget .input-group,
#site-search-widget .input-group input {
	width: 100%;
}

#site-search-widget button {

	margin-left: -1px;
	padding-right: 11px;
}

.icn-search { background-position: -120px -48px; }


#site-subscribe {
	padding: 15px 15px 18px 15px;
}

#site-subscribe input,
#site-subscribe button {
	width: 100%;
}

#site-subscribe button {
	margin-top: 16px;
}


#site-subscribe-captcha {
	margin-top: 18px;
	display: table;
	width: 100%;
}

#site-subscribe-captcha > input,
#site-subscribe-captcha > img,
#site-subscribe-captcha > a {
	display: table-cell;
	width: 100%;
}

#site-subscribe-captcha > a {
	width: 45px;
	text-align: center;
}

#site-subscribe-captcha > img {
	min-width: 66px;
	height: 32px;
	vertical-align: middle;
}

/* Posts */
.posts-small,
.posts-activities {
	padding-top: 5px;
	padding-bottom: 23px;
}

.posts-activities .post date,
.posts-small .post date {
	padding: 5px 0px 3px 0px;
	font-size: 16px;
	line-height: 24px;
}

.posts-activities .post,
.posts-small .post {
	padding: 12px 16px;
}

.posts-small .post {
	margin-top: 1px;
	padding: 16px;
}

.posts-small .post {
	padding-left: 127px;
}

.posts-small .post .post-image {
	width: 96px;
	height: 96px;
	margin-left: -109px;
	float: left;
	margin-top: 9px;
}

.posts-activities .post .post-title,
.posts-small .post .post-title {
/*	font-size: 24px;
	line-height: 34px;*/
    font-size: 12px;
    line-height: 14px;
}

.posts-activities .post .post-desc,
.posts-small .post .post-desc {
/*	font-size: 18px; */
	line-height: 14px;
	padding-top: 6px;
}

.posts-small,
.posts-activities {
	padding-top: 5px;
	padding-bottom: 23px;
}

.posts-activities .post date,
.posts-small .post date {
	padding: 5px 0px 3px 0px;
	font-size: 14px;
	line-height: 24px;

    font-size: 12px;
}

.posts-activities .post,
.posts-small .post {
	padding: 12px 16px;
}

.posts-small .post {
	margin-top: 1px;
	padding: 16px;
}

.posts-small .post {
	padding-left: 127px;
}

.posts-small .post .post-image {
	width: 96px;
	height: 96px;
	margin-left: -109px;
	float: left;
	margin-top: 9px;
}

.posts-activities .post .post-title,
.posts-small .post .post-title {
    font-size: 24px;
    /* PSS */
    font-size: 18px;
	line-height: 34px;
    /* PSS */

    font-size: 12px;
    line-height: 20px;
}

.posts-activities .post .post-desc,
.posts-small .post .post-desc {
	/*font-size: 14px;
	line-height: 24px;*/

    line-height: 14px;
	padding-top: 6px;
}

.breadcrumb {
	display: none;
}

#site-content .wrapper {
	padding: 0 16px;
}

.post.full {
	font-size: 14px;
	line-height: 34px;
	margin-bottom: 96px;
}

.post.full .post-title {
	font-size: 24px;
	line-height: 36px;
	padding: 19px 0px 11px 0px;
}

.post.full .post-image {
	display: block;
	width: 100%;
}

.post.full date {
	font-size: 14px;
	line-height: 18px;
	padding-top: 4px;
	padding-bottom: 5px;
}

.post.full p {
	padding-top: 25px;
}

.post.full img {
/*	display: none; */
    max-width: 100%;
    height:auto;
}

.post.full img[align="right"], .post.full img.alignright {
    margin-left: 22px;
    float:right;
}

.post.full img[align="left"], .post.full img.alignleft {
    margin-right: 22px;
    float:left;
}

.post table {
	font-size: 21px;
	line-height: 45px;
	width: 100%;
	text-align: left;
	margin-top: 35px;
	margin-bottom: 6px;
	margin-right: 16px;
	overflow-x: auto;
	display: block;
	background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #ffffff), color-stop(100%, rgba(255, 255, 255, 0))), -webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #ffffff), color-stop(100%, rgba(255, 255, 255, 0))), -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #c3c3c5), color-stop(100%, rgba(195, 195, 197, 0))), -webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #c3c3c5), color-stop(100%, rgba(195, 195, 197, 0)));
  background-image: -webkit-linear-gradient(left, #ffffff, rgba(255, 255, 255, 0)), -webkit-linear-gradient(right, #ffffff, rgba(255, 255, 255, 0)), -webkit-linear-gradient(left, #c3c3c5, rgba(195, 195, 197, 0)), -webkit-linear-gradient(right, #c3c3c5, rgba(195, 195, 197, 0));
  background-image: -moz-linear-gradient(left, #ffffff, rgba(255, 255, 255, 0)), -moz-linear-gradient(right, #ffffff, rgba(255, 255, 255, 0)), -moz-linear-gradient(left, #c3c3c5, rgba(195, 195, 197, 0)), -moz-linear-gradient(right, #c3c3c5, rgba(195, 195, 197, 0));
  background-image: -o-linear-gradient(left, #ffffff, rgba(255, 255, 255, 0)), -o-linear-gradient(right, #ffffff, rgba(255, 255, 255, 0)), -o-linear-gradient(left, #c3c3c5, rgba(195, 195, 197, 0)), -o-linear-gradient(right, #c3c3c5, rgba(195, 195, 197, 0));
  background-image: linear-gradient(left, #ffffff, rgba(255, 255, 255, 0)), linear-gradient(right, #ffffff, rgba(255, 255, 255, 0)), linear-gradient(left, #c3c3c5, rgba(195, 195, 197, 0)), linear-gradient(right, #c3c3c5, rgba(195, 195, 197, 0));
  background-position: 0 0, 100% 0, 0 0, 100% 0;
  background-repeat: no-repeat;
  background-color: white;
  background-size: 4em 100%, 4em 100%, 1em 100%, 1em 100%;
  background-attachment: local, local, scroll, scroll;
}

.post table th {
	font-weight: 600;
	border-bottom: 2px solid #dddddd;
	white-space: nowrap;
}

.post table th,
.post table td {
	padding: 0 0px 0px 15px;
}

.post table tr + tr td {
	border-top: 1px solid #dddddd;
}

.post table tr:nth-child(even) {
	background: #f9f9f9;
}

.post ul {
	margin-top: 18px;
	margin-bottom: -3px;
}

.post ul li {
	list-style-type: none;
}

.post ul li:before {
	content: "•";
	color: #d50000;
	padding: 0 14px;
}


.post.block {
	margin-top: 30px;
	padding: 0 15px;
	padding-bottom: 17px;
}

.post.block .post-title {
	font-size: 24px;
	line-height: 34px;
	padding-bottom: 6px;
}

.post.block .post-image {
	margin: 0 -15px;
	margin-bottom: 9px;
	width: calc(100% + 30px);
}

.post.block .post-desc {
	font-size: 16px;
	line-height: 24px;
}

.post.block.link {
	display: block;
	text-decoration: none;
	min-height: 200px;
	box-sizing: border-box;
	position: relative;
	padding-bottom: 40px;
}

.post.block.link .post-title {
	padding-top: 16px;
	padding-bottom: 15px;
}

.post.block.link:hover .post-title {
	color: #d50000;
}

.post.block.link .post-desc {
	padding-bottom: 32px;
}

.post.block.link .post-link {
	font-size: 16px;
	line-height: 24px;
	position: absolute;
	bottom: 23px;
	color: #9a2117;
}

.post.block.gallery .post-title {
	padding-left: 0px;
}

.post.block.gallery .count {
	font-size: 16px;
	padding: 0 13px;
	padding-top: 1px;
	top: -45px;
}

.page-title-a {
	font-size: 36px;
	line-height: 48px;
}

.page-title-a span {
	padding-top: 11px;
	font-size: 18px;
	line-height: 40px;
}

.galleries .post.full img {
    display: inline;
    width: 100%;
}

#search-simple{


    padding: 16px;
}

#search-simple .searchformbig input{
    width:70%;
}
#search-simple .searchformbig button{
    width:30%;
}
#search-simple .searchformbig{
}

#search-archive{
    padding: 16px;
    border-bottom: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
}
#search-archive .special {
    font-size: 16px;
    line-height: 32px;
    padding: 0 15px 0 0;
    display: block;
    float: left;
}

#search-archive .input-group {
    width: 192px !important;
    width: 72% !important;
    margin-bottom: 10px;
}


#search-archive input[type="text"]{
    width: 140px;
    width:100%;
    font-size: 12px;
}

.yearpicker{
    left:-155px;
    top:40px;
}

.yearpicker .top-corner-target{
    left:auto;
    right:20px;
}


.input-group.simple-search-case{
    margin-bottom:6px;
}

.committer_div.committer-togglable .committer-content{
    overflow: hidden;
    height:69px;
}

.search-case .result.block, .search-case .files.block.filesblock4{
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.search-case.active
.filesblock2 .files{
    padding-top:12px;
}

.search-case .files ul.filelist{
    display: block;
    float: right;
    width:50%;
    margin:0px;
    padding:0px;
}

p {
    text-align: justify;
}
