/*
Theme Name: Bootstrap Basic4 Child
Template: bootstrap-basic4
*/

@import url("../bootstrap-basic4/style.css");

@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|PT+Serif:400,400i,700');


/*colors and basics*/

.col-md-9 {
	border-left:1px solid #eee;
}

#custom #main .post, #custom #main .page {
border:none;
}

.page-header-sitebrand-topbar {
background: #00316a; /* Old browsers */
background: -moz-linear-gradient(left,  #00316a 0%, #517EB4 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  #00316a 0%,#517EB4 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  #00316a 0%,#517EB4 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00316a', endColorstr='#517EB4',GradientType=1 ); /* IE6-9 */
}

#custom .bg-faded {background:none;}

#logo {
	background:url('../bootstrap-basic4-child/images/logo_tr.png');
	width:73px;
	height:57px;
	float:left;
}

#custom .site-title {
	padding-left:30px;
}

#custom .site-title-heading a, #custom .site-title-heading a:hover {
	font-family: 'open sans condensed', sans-serif;
	color: #f1f1f1;
	text-decoration:none;
	font-size:3rem;
}

#custom .site-description {
	margin-left:75px;
	color:#B5B5B5;
}

blockquote {
	color: #817f7f;
	font-style: italic;
}

.example {
	    font-size: 0.9rem;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 10px 20px;
    margin: 10px 0;
}

#custom h1.entry-title {
	font-size:2rem;
    margin-bottom: 1rem;
}

/*end*/

/*images*/


.alignright, .alignleft {
	margin-top: 0.5em;
    margin-bottom: 0.5em;
}


@media (max-width: 321px) {
	img {
		width:100%;
		}
}
/*end*/



/*accordion*/

.closepanel {
	font-size: 0.8em !important;
    margin-top: 10px;
    background: transparent;
    border: 1px solid #d1d1d1 !important;
}

.level2, .level3, .level4 {
	/*margin-left:10px;
	padding:10px;*/
    border-top: 1px solid #d1d1d1;
	border-bottom:1px solid #d1d1d1;
}

.level2, .level4 {
/*background:#f5f5f5;*/
padding:10px;
}

.level3 {
	background:#fff;
}

/*glossary*/

#glossary_text .entry-meta {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    padding-bottom: 20px;
	font-size:0.9em;
}

#glossary_text .entry-title {
	font-size:1.4rem;
}

#glossary_text .author h4 {
	font-size:1.3rem;
	}
	
#glossary_text .text_excerpt {
	margin:10px 0;
}

#glossary_text .cat-links, .words {
	display:block;
}

#glossary_text .page-title {
	font-size:2rem;
}

.wp-video {
	margin-bottom:10px;
}

/*user verification*/

.user-verification {
	background:none;
}

/*subscription */

#subscribe .wysija-paragraph {
	display:inline-block;
}

#subscribe .wysija-submit-field {
	display:inline-block;
	margin-top:5px;
}

@media (max-width:768px) {
#subscribe {
		margin:10px;
}
	
#subscribe .wysija-paragraph, #subscribe .wysija-submit-field {
	display:block;
}

#subscribe .wysija-paragraph {
	float:left;
	padding-right:5px;
}
}


/*fonts*/

body#custom {
	font-family:'PT Serif', serif;
}

#custom .navbar, #custom .site-description {
	font-family:'tahoma', sans-serif;
}

#custom .h1, #custom .h2, #custom .h3, #custom .h4, #custom .h5, #custom .h6, #custom h1, #custom h2, #custom h3, #custom h4, #custom h5, #custom h6 {
	font-family:'Open sans condensed', sans-serif;
}


/*end*/

/*links*/

#custom a {
	color: #2D6BB4;
}

#custom a:hover {
	color: #00306A;
	text-decoration:none;
}

.current a {
	color:#B5B5B5 !important;
}

.active {
	text-decoration:underline;
}

.view {
	background: url(/wp-content/themes/bootstrap-basic4-child/images/view.png) 0 0 no-repeat;
}

.download {
	background: url(/wp-content/themes/bootstrap-basic4-child/images/download.png) 0 0 no-repeat;
}

.view, .download {
	width: 32px;
	height: 32px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	display: block;
}

#custom .page-item.active .page-link {
    color: #fff;
    background-color: #00316a;
    border-color: #00316a;
}
	

/*end*/



/* Menus */

#sidebar_menu {padding-left:0;} /*убираем отступ слева во всех разрешениях*/

#sidebarnav 
{
-webkit-box-orient: vertical;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
} /*левое меню выстраивается по вертикали*/

#sidebarnav .nav-link, #sidebarnav .dropdown-toggle, #sidebarnav .dropdown-main {
	color:rgba(0,0,0,.5);
}/*цвет ссылок в левом меню*/

#sidebarnav li a {
	font-size:0.9rem;
}/*размер шрифта в левом меню*/


#sidebarnav li {
	border-bottom:1px solid #eee;
}

.dropdown-menu li {border:none !important;
padding-bottom: 0.5em;}


#sidebarnav .nav-link {padding-left:0;}

.dropdown-link {padding:.5em .5rem 1em 0;}


#custom .dropdown-toggle {
	display:inline-block;
	padding-top:0.6em;
} /*выстраиваем ссылку и стрелку в линию*/

.dropdown-link {
width: 91%;
float: left;
}/*двигаем выпадающие ссылки влево от стрелки*/


#custom #sidebarnav li .dropdown-menu {
	position:static;
	border:none;
	min-width:auto;
	padding-top:0;
} /*превращаем выпадающее меню в выезжающее*/

/*end*/

/*верхнее меню*/

.navbar-light .navbar-toggler {
	z-index:1;
}

.mr-auto {
	margin-top:50px;
}/*верхнее меню*/


#topnav li a {
	color:#f1f1f1;
}

#topnav li a:hover {
	color:#B5B5B5;
}

@media (min-width: 768px) {
.mr-auto {
	margin-top:0px;
}
}

/*footer*/

#footer_menu, #footer_bottom {
	list-style:none;
	padding:0;
	margin-bottom:0;
}

#footer_menu li, #footer_bottom li {
	display:inline-block;
}

#footer_bottom {
	margin-top:10px;
}

#footer_bottom li a {
	padding:.5em 1em;
	display:block;
}

@media (max-width:768px) {
#copyright {
	text-align:left;
	float:left;
}
}
	

/*end*/

/*форма поиска*/

/*general*/

.mobile_menu_header {
	display:none;
}

.gsc-adBlock {
	display:none !important;
}

#custom .gsc-control-cse {
	padding:0;
	border:0;
	background:transparent;
}

#custom #gsc-i-id1 {
	text-indent:9999px !important;
}

#custom #gsc-i-id1:focus {
	text-indent:0px !important;
}

#custom td.gsc-input {
	padding:0;
}

#custom input.gsc-input {
	border:0;
	box-shadow:none;	
	padding:2px 2px 2px 5px !important;
	background:#fff !important;
	font-size:14px;
}

#custom .gsc-search-button-v2:focus, .navbar-toggler:focus {outline:0;}


#custom .gsc-search-button-v2 {
    font-size: 0;
    background: none;
    border: 0;
    padding: 10px;
}

#custom .gsc-search-button-v2:active {
box-shadow: inset #00316a 1px 1px 1px 0px;
}

#custom .gsc-clear-button {
	display:none;
}

/*регистрация*/
.rcb_icon {display:inline-block;}
.rcb_hiden {display:none;}
.rcb_icon .fa {display:none;}


@media only screen and (min-device-width : 768px){
#custom .gsc-input-box {
	width:125px;
	float:right;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}

#search {
	width:300px;
    position: absolute;
    top: 5px;
    right: 25px;
}


#custom .gsc-input-box-focus {
	width:250px;
}

#custom .gsc-clear-button {
	position: absolute;
    bottom: 8px;
    right: 23px;
}

#login_register {
	position:absolute;
	right:10px;
	top:-100px;
}
}


@media only screen and (min-device-width : 768px) and (max-device-width : 991px) {
#search {
    top: -50px;
    position: absolute;
    background: transparent;
    padding: initial;
    right: 25px;
    width: 300px;
	display:initial;
}

#custom input.gsc-input {
	width:125px;
	float:right;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}


#custom input.gsc-input-focus {
	width:250px;
}

#custom .gsc-clear-button {
	position: absolute;
    bottom: 8px;
    right: 23px;
}

#login_register {
	position:absolute;
	right:10px;
	top:-100px;
}

}

@media only screen and (min-device-width : 1px) and (max-device-width : 767px) {
	
#sidebar_menu {
background:none;
border:0;
}	
	
.mobile_menu_header {
	display:block;
	text-transform: uppercase;
    font-size: 0.7em;
    line-height: 35px;
    margin-left: 5px;
}	
	
	#login_register {
	position: relative;
    top: 0;
    right: 0;
	}
	
#custom #top {
	background: #f5f5f5;
    border: 1px solid #d1d1d1;
    border-top: 0;
	padding-left:0;
	padding-right:0;
}


#custom .navbar-toggler {
	border:0;
	padding: 0.3rem 0rem 0.3rem 0.75rem;
	font-size:1rem;
}


.mobile_menu_search {
	align-self: flex-start;
    padding: .4rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background: 0 0;
    position: absolute;
    right: 2.3em;
}

#mobile_search:after {	
	content: "\f002";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 14px;
    color: #000;
	display: inline-block;
	opacity:0.5;
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
 }



	
	

#custom .gsc-search-box {
	padding:0;
	margin:0;
}


#custom .gsc-input {
	width:100%;
	float:none;
	border-radius:3px;
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}

#custom .gsc-search-button-v2 {
background:#000;
opacity:0.4;
}

#custom .gsc-clear-button {
	bottom:3px;
}
	
#search {
	position: relative;
    top: 0;
    right: 0;
    width: 100%;
    background: #fff;
	padding-top:20px;
	padding-right:0;
	display:none;
}	

.mr-auto {
	margin:10px 15px;
}

#topnav li a {
	color:#2D6BB4;
	padding:10px 0;
	text-transform:uppercase;
	font-size:0.8em;
}
}




/*end*/

@media only screen and (max-device-width : 767px) {
#login_register .btn-primary, .login_register_separator {
color:#000 !important;
opacity:0.7;
}
}


#login_register .btn-primary {
    color: #f1f1f1;
    background-color: transparent;
    border:0;
	font-family:'tahoma', sans-serif;
	font-size:0.9em;
}

#login_register .btn-primary:hover {
text-decoration:underline;
color:#fff;
}

#login_register .btn-primary:focus{
box-shadow:none;
}





/*back to top*/
.b-top {z-index:2600;position:fixed;left:0;bottom:90px;width:34%;margin-left:50%;opacity: 0.5;filter:alpha(opacity=50);}
.b-top:hover {opacity:1;filter:alpha(opacity=100);cursor:pointer;}
.b-top-but {z-index:2600;position:absolute;display:block;left:56px;bottom:0;margin:0 0 0 100%;padding:32px 28px 8px;
color:white;background:#ddd url(/wp-content/themes/bootstrap-basic4-child/images/top.png) no-repeat 50% 11px;border-radius:7px;}

@media (max-width:768px) {
	.b-top {bottom:0px;width:100%;margin-left:0%;}
	.b-top-but {left:0px;bottom:0;margin:0;padding:0px 0px 35px 0;width:100%;}
}

/*contact form*/
.shift {
	color: #0275d8;
    font-size: 0.8em;
}

#FSContact1 select {
	max-width:100%;
}

.send_ann {
	padding: 10px;
    margin: 10px 0;
    font-size: 0.8em;
    color: #292b2c;
    font-style: italic;
}

#styl_menu a.btn-info {
	border:1px solid #ddd;
	border-top:0;
	border-left:0;
}

#styl_menu a.btn-info:last-child {
	border-right:0;
}


#styl_menu .dropdown-menu a {
	border-bottom:1px solid #ddd;
	font-size:0.8em;
}

#styl_menu .dropdown-menu a:last-child {
border:0;
}

/* entries */
.tags-icon {
	color:#00316a;
}

.tags-links {
	font-size:0.8em;
}

.date {
    font-size: 0.8em;
    padding-bottom: 5px;
    border-bottom: 1px solid #d1d1d1;
    margin-bottom: 10px;
	}

#commentform .btn-primary {
	background:#00316a;
	border-color:#00316a;
}
#commentform .btn-primary:focus {
box-shadow: 0 0 0 1px #00316a;
}

.text_links {
	list-style:none;
    padding: 0;
    margin: 15px 0;
}

.text_links li {
    display: inline-block;
    padding-right: 15px;
}