.hidden,
#edit-submitted-fail-ajax-wrapper .help-block,
.element-invisible,
.element-invisible {
	display: none !important
}
.tabs.primary {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 30px;
    list-style: none;
	border-bottom: 1px solid #dee2e6;
}
.tabs.primary li {
	margin-bottom: -1px;
}
.tabs.primary li a {
	display: block;
	padding: 0.5rem 1rem;
	border: 1px solid transparent;
	border-top-left-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
}
.tabs.primary li a.active {
	color: #495057;
	background-color: #fff;
	border-color: #dee2e6 #dee2e6 #fff;
}


.form-group .help-block{
	font-size: 12px;
}
.form-group .control-label,
.form-group label{
	display: block;
    font-size: 14px;
    font-weight: 500;
    color: #666666;
}
.hide_label label,
.form-group .hide_label label {
	display: none;
}
#user-pass .btn-default,
#user-register-form .btn-default{
	color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
#user-pass .btn-default:hover,
#user-register-form .btn-default:hover{
	color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

/* Override inline dom styles from modal.js */
#modalContent {
	position: fixed !important;
	top: 12% !important;
	bottom: 12% !important;
}
/* Limit max width to 1000px */
div.ctools-modal-content {
	width: 100% !important;
	margin: 0 auto;
	max-width: 1000px;
}
div.ctools-modal-content .modal-content {
	width: 100% !important;
}

.sticky-top {
	z-index: 10
}

.views-exposed-form .form-control{
	margin: 0
}
.section-calendar .fc-button-primary.disabled {
	background-color: #666666;
	border-color: #666666;
}


#webform-component-ogp-meropriyatiya label,
#webform-component-ogp-ozhidaemye-rezultaty label {
	min-height: 65px;
}
.wfm-remove {
	position: absolute;
	right: 15px;
	bottom: 17px;
}


.date .help-block {
	display: none;
}

.print_button span {
float: right;
}

/*Print styles*/
.print-logo{
	height: 80px;
}
.print-content .table th,
.print-content .table td{
	font-size: 14px;
	padding: 5px;
}


/*HARD RESET*/
#fromDate,
#toDate{
	display: none;
}

/*Table*/
.table-responsive{
	display: table;
}
.section .card-body .table-responsive td,
.section .card-body .table-responsive th{
	font-size: 14px;
	padding: 4px;
}
.section .card-body .table-responsive thead th{
	font-size: 12px;
}
.table-reports th:nth-child(2),
.table-reports th:last-child,
.table-reports td:nth-child(2),
.table-reports td:last-child{
  width: 12%;
}

/*Header*/
header .navbar-nav .nav-item{
	padding: 0 4px;
}
header .navbar-extra{
	position: absolute;
	right: 30px;
}
header .navbar-extra form{
    right: 0;
    min-width: 320px;
	z-index: 1;
}
header .navbar-extra .dropdown{
    margin-right: 20px;
}
header .navbar-extra .dropdown-toggle span{
    margin-right: 5px;
}
header .navbar-extra .dropdown-menu{
    min-width: auto;
    padding: 15px;
}
header .navbar-extra .dropdown-menu a{
    margin-bottom: 5px;
}
header .navbar-extra .dropdown-menu a:last-child{
    margin-bottom: 0;
}
header .navbar-extra .dropdown-menu span{
    margin-right: 0;
}
header .dropdown-header{
  padding: 16px 24px 4px;
  color: #cccccc;
}
header .dropdown-item__lower{
  padding: 4px 24px;
}
header .dropdown-submenu {
  position: relative;
}

header .dropdown-submenu>a:after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

header .dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0px;
  margin-left: 0px;
}



/*Projects*/
.media-less{
	margin-top: 20px;
	font-size: 14px;
	font-weight: 500;
}
.view-section-projects .views-exposed-form .views-exposed-widget{
  width: 75%;
}

/*Comments*/
.section-comment .comment-item{
    margin-bottom: 20px;
    padding: 0 0 20px;
}
.comment-reply{
    padding-top: 20px;
    padding-left: 40px;
}
.comment-item__reply{
    margin-top: 5px;
}
.comment-item__reply_link{
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: dashed;
}

/*Buttons*/
#edit-actions .btn{
	color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
#edit-actions .btn:hover{
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

@media (max-width: 540px) {
	.tingle-modal__close{
		top: 0;
		background: none;
	}
	.tingle-modal__closeIcon{
		margin-right: 0;
	}
	.tingle-modal__closeLabel{
		display: none;
	}

  .view-section-projects .views-exposed-form .views-exposed-widget{
    width: 100%;
  }

    .section-social .card-body iframe{
	height: 500px !important;
	}
}
@media (max-width: 992px) {
	.table-responsive{
		display: block;
	}
	/*Header*/
	header .navbar{
		height: 100px;
		padding: 0;
	}
	header .navbar-brand{
		padding: 15px;
	}
	header .navbar-brand img{
		height: 70px;
	}
	header .navbar-toggler{
		padding-right: 15px;
	}
	header .navbar-toggler-icon{
		width: auto;
		height: auto;
	}
	header .navbar-toggler-icon i{
		font-size: 36px;
	}
	header .navbar-collapse{
	    padding: 15px 0;
    	border-top: 1px solid #ccddec;
		background-color: #fff;
		-o-box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2);
    	box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2);
	}
	header .navbar-nav .nav-item{
		padding: 0 15px;
	}
	header .dropdown-menu{
		-o-box-shadow: none;
    	box-shadow: none;
	}
	header .navbar-extra{
		position: relative;
		left: 0;
		right: auto;
		padding: 15px;
	}
	header .navbar-extra form{
		right: 15px;
	}
	header .navbar-search{
		position: absolute;
		right: 15px;
	}

	/*Slider*/
	.section-hero .card{
		height: 300px;
		border-radius: 0;
	}
	.section-hero .slick-slide-overlay{
		padding: 0 40px;
	}
	.section-hero .slick-slide .card-img{
		height: 100%;
		width: auto;
		left: 50%;
		top: 0;
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	.section-hero .slick-arrow__prev{
		left: 0;
	}
	.section-hero .slick-arrow__next{
		right: 0;
	}
	.section-hero .card-title{
		width: 100%;
		margin-bottom: 10px;
		font-size: 24px;
	}
	.section-hero .card .form-group .btn{
		margin-right: 15px;
		padding: 10px;
		font-size: 12px;
		line-height: 20px;
		border-width: 2px;
	}
	.section-hero .card .form-group .btn i{
		margin-right: 5px;
		font-size: 20px;
	}

	/*Sections*/
	.section{
		padding: 20px 0;
	}
	.section-hero,
	.section-social{
		padding: 0;
	}
	.section-news,
	.section-social,
	.section-post,
	.section-forum,
	.section-initiative,
	.section-commitments{
		padding-left: 15px;
		padding-right: 15px;
	}
	.card-body .section-news{
		padding: 0;
	}
	.section .card-header{
		font-size: 20px;
	}

	/*News*/
	.section-news .card-group-item:last-child{
		margin-bottom: 0;
	}
	.section-post .card-body .media img{
		margin-bottom: 15px;
	}
	.section-post .card-body iframe{
		width: 100%;
	}

	/*Social*/
	.section-social .card-body iframe{
		height: auto;
	}

	/*Publiactions*/
	.section-pubs .card{
		padding: 0 15px;
	}

	/*Footer*/
	.section-footer .social{
		margin-bottom: 30px;
	}
	.section-copyright .copyright-left span{
		margin-bottom: 15px;
	}

	/*Tingle Modal*/
	.tingle-modal-box{
		width: 100%;
	}
	.tingle-modal-box__content{
		padding: 15px;
	}

	/*Project*/
	.section-project{
		padding-top: 0;
	}
	.section-project > .card > .card-header,
	.section-project > .card > .card-body{
		padding-left: 15px;
		padding-right: 15px;
	}
	.section-project .nav-pills .nav-link{
		padding: 10px;
		font-size: 14px;
	}

	/*Comment*/
	.section-comment .nav-tabs .nav-link{
		font-size: 14px;
	}
}

.print_button {
  z-index: 999;
  position: relative;
}


.comment .links li {
  display: inline;
  padding: 0 !important;
}

.comment .links li a {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: dashed;
}


#comments .indented {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 40px;
}


.captcha .panel-heading,
.captcha .help-block {
	display: none;
}
