/*
Theme Name: ohmatdet
Theme URI: http://underscores.me/
Author: Студия сайтов "Фотобашня"
Author URI: http://fotobashnya.com.ua/
Description:  Сайты медицинской тематики
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acsu
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

acsu is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {	
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
    font-family: 'PT Sans',sans-serif;
    color:#6b6b6b;
    font-size:18px;
}

hr.hoverline {
    cursor: pointer;
    width: 100%;
    background:#ccc;    
}

body {
	margin: 0; 
  min-height: 100%;
}

.bgclr {
    background: #fcfcfc;
}

nav {
    float:right;
}

img, a img {
    outline: none;
    border: none;
}
.footer {
    position:static;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
    color: #ccc;
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}
h1.title {
	font-size: 1em;
        color:#094161;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

footer {
    background: #5f5f5f;
    /*padding: 30px 0 0 0;*/
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #000;
	font-family: 'PT Sans',sans-serif;
	line-height: 1.4;
    font-size:17px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h2, h2 a {
    font-family: 'PT Sans',sans-serif;
    font-size: 34px; 
    text-decoration: none;
    color:#000;
    font-weight:bold;
    padding: 0 0 10px 0;
}

h2.entry-title {
    font-size: 36px!important;
    color:#222;
    font-family: 'PT Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1;
}

h3.entry-title {
    /*font-size: 25px!important;*/
    color:#222;
    font-family: 'PT Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: normal;
}

.excerpt, .excerpt a  {
    font-family: 'PT Sans',sans-serif;
    font-size: 20px; 
    line-height: 24px;
    text-decoration: none;
    color:#000!important;
}

h3.widget-pic {
     font-size: 16px!important; 
    text-decoration: none;
    color:#000!important;
    text-align: center;
    padding: 0;
    margin: 15px 0 0 0;
    font-weight: bold;
}

.intro {
    padding-left: 30px;
}

.date {
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    padding: 10px 0;
    color:#666666;
    text-transform: lowercase;
   
}

.date-main {
    font-family: 'PT Sans', sans-serif;
    font-size: 12px;
    padding: 15px 0;
    color:#000;
    text-transform: lowercase;
}


h3, h3 a {
    font-family: 'PT Sans',sans-serif;
    text-decoration: none;
    font-weight: bold;
    line-height: 1;
    color:#222222!important;
    font-size: 26px;
}


p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote {
    padding: 10px 20px;
    font-size: 20px;
    border-left: 5px solid #444;
    padding: 0 0 0 20px;
    margin: 30px 0 30px 40px;
    font-weight: 400;
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	/*margin: 0 0 1.5em;*/
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #2a398e;
	/*border-radius: 3px;*/
	background: #2a398e;
	/*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);*/
	color: #fbfbfb;
	font-size: 14px;
	line-height: 1;
	padding: 16px 5px;
    margin-bottom:20px;
    text-align: center;
	/*text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);*/
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	/*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);*/
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	/*border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);*/
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #000;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}




/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #6b6b6b;
}

a:visited {
	color: #999;
}

a:hover,
a:focus,
a:active {
	color: #da393b;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}
article a {
    text-decoration: underline;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
/*header {
    position:sticky;
}
.header {
	
	clear: both;
	display: block;	
	float: none;      
   
}
.header-intro {
	/*background: rgba(251, 251, 251, .2);*/
  /*  background: #fafafa;
	clear: both;
	display: block;
    position: relative;
	float: none; 
    padding: 10px;
    width:100%;
    
}*/

.header img, .header-intro img {
    /*width:65px;*/
    text-align: right;
    padding: 2px 0 0 0;
    margin-left:-7px;
}

/*.main-navigation {	
	clear: both;
	display: block;	
	float: left;
    width:100%;
}

.main-navigation ul {
	float: none;
	list-style: none;
	margin: 0;
	padding-left: 0;	
	font-family: 'Roboto', sans-serif;
	text-align:center; 
    text-transform: uppercase;
}

.main-navigation li {
	float: none;
	display: inline-block;	
	position: relative;
	color: #f1f1f1;
    margin:  0 25px 0 0;
}

.main-navigation ul li  a {
	display: block;    
	position: relative;
    z-index: 5;
    color: #222!important;
}

.main-navigation ul li:hover, .main-navigation ul li:active {	
    color: #ccc!important;
}

.main-navigation ul li  a:hover, .main-navigation ul li  a:focus, .main-navigation ul li  a:active {	
    color: #ccc!important;
}

.intromenu.main-navigation ul li  a {
	display: block;    
	position: relative;
    z-index: 5;
    color: #222222!important;
}

/*.main-navigation ul li::before {
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	width: 0px;
	height: 0;
	opacity: 0;
	background: #2a398e;  	
	transition: all .3s ease;
}*/




/*.main-navigation li:hover 
{
	background: #b71124; transition: color .3s ease;
}*/

/*.main-navigation ul li a {
	display: block;
	text-decoration: none;
	color: #fbfbfb!important;
	padding: 18px 20px 18px 0;
    margin-right: 10px; 
	font-size: 18px;
  	font-weight: 500;
/* background: url(/wp-content/themes/ohmatdet/images/ho.png) right 35% no-repeat!important;*/
}

/*.main-navigation ul ul {	
	float: left;
	position: absolute;	
	left: -999em;
	z-index: 99999;
	text-transform: none;    
 
	}

.main-navigation ul ul li {		
    text-align: left;
    display: inline-block;
    float: left;
}

.main-navigation ul ul li a{
	font-weight: bold!important;
	color: #222!important;
	padding:7px 20px !important;
    font-size:16px;
}
.main-navigation ul ul li a:hover{
	font-weight: bold!important;
	color: #da393b!important;
	padding:7px 20px !important;
    font-size:16px;
}

.main-navigation ul ul ul li a{
	font-weight: normal!important;
	color: #222!important;
	
}


.main-navigation ul ul li:hover {
	display: block;	
	font-weight: 300!important;	
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.dateintro {
    padding: 10px 50px 0 0;
    border-top:2px solid #222;
    margin-top: 10px; 
    display: inline-block;
}

.dateintro-white {
    padding: 0 50px 0 0;
    border-top:1px solid #fbfbfb;
    margin-bottom: -20px; 
    display: inline-block;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {

	
	color: #fafafa!important;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
	
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
background: #b71124;
color: #fbfbfb!important;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

#toggle {
		display: none;
	}

@media (max-width: 700px) {
.logobrand {
    background: none!important;
}
.menu-item a.menu-image-title-after.menu-image-not-hovered img
    {
    padding-right: 10px;
    display: none!important;
} 

}




@media (max-width: 1000px) {

    /*header {
    display: block;
    position: unset!important;
    width: 100%;
    z-index: 999;
}*/

.main-navigation ul ul {		
	float: none;
	position: static;	
	/*left: -999em;
	z-index: 99999;*/	
	padding-bottom: 7px;	
}
    
.main-navigation ul ul li {
	text-align: left!important;
	display: block;
}

.main-navigation ul ul li {
	text-align: left!important;
	font-weight: 300!important;}

.main-navigation ul ul li a{
	font-weight: 300!important;
	color: #444;
	padding: 7px 0 7px 30px!important;
}

.main-navigation ul ul li:hover {
	display: block;
	color:#444!important;
	font-weight: 300!important;	
}

#toggle:hover {		
		
			
}

.main-navigation {
	padding: 10px;
}

.main-navigation ul {
		display: none;
}
    
.main-navigation li {
	float: none;
	display: block;	
	text-align: left: important;	
	}
}

@media (max-width: 1024px) {
.bgimage_two {
    height:600px;
    width: 100%;
    display: flex;
    -webkit-box-align: top;
    align-items: top;
    -webkit-box-pack: left;
    justify-content: left;
    background-size: 400px;
    background: url(http://ago.fotobashnya.com.ua/wp-content/uploads/2017/07/title-image-1.jpg) 60% 25% no-repeat fixed!important;
    text-decoration: none;
    padding:40px 0;
}
.aboutimage .directions {
    padding: 20px 10px 20px 10px!important;
    text-align: center;
    color: #fbfbfb!important;
    /* font-size: 20px; */
    line-height: 20px!important;
    font-weight: normal;
}
    
.bgimage {
    width: 100%;
    display: flex;
    -webkit-box-align: top;
    align-items: top;
    -webkit-box-pack: left;
    justify-content: left;
    background-size: 400px;
    background: url(http://ago.fotobashnya.com.ua/wp-content/uploads/2017/07/title-image-1.jpg) 60% 25% no-repeat fixed!important;
    text-decoration: none;
    padding: 40px 0;
}  
    
    .menu-item a img {
        border: none;
        box-shadow: none;
        vertical-align: middle;
        width: 50px!important;
        display: inline;
}
    
    
    
    .colorblockred {
        background: rgba(164, 99, 80, .8);
        padding: 20px;
        height: 100%;
        margin: 0 30%;
}


    .statistics .stat {
        display: inline-block;
        margin: 35px 5px!important;
        line-height: 1.4;
}
    #tf-stat-129 .stat .count-title {
        width: 160px!important;
        line-height: 1;
        margin-bottom: 0;
        font-size: 14px!important;
        padding: 10px;
        font-weight: bold;
}
    .statistics .stat span.number {
        margin: 20px 0 -20px 0;
        font-size: 60px!important;
        font-family: 'PT Sans',sans-serif;
}
 h1.site-title a  {
        text-align: left!important;
        line-height:30px!important;
        font-size:30px!important; 
        color:#fff;
    }
    
 h1.site-title a span  {
        text-align: left!important;
        line-height:25px!important;
        font-size:22px!important;
        color:#fff;    
        padding: 10px 0 0 0;
}
}



@media (max-width: 600px) {
.bgimage_two {
    height:600px;
    width: 100%;
    display: flex;
    -webkit-box-align: top;
    align-items: top;
    -webkit-box-pack: left;
    justify-content: left;
    background-size: 400px;
    background: url(http://ago.fotobashnya.com.ua/wp-content/uploads/2017/07/title-image-1.jpg) 40% 25% no-repeat fixed!important;
    text-decoration: none;
    padding:40px 0;
}
    
    .aboutimage .directions {
    padding: 20px 10px 20px 10px!important;
    text-align: center;
    color: #fbfbfb!important;
    /* font-size: 20px; */
    line-height: 20px!important;
    font-weight: normal;
}
    
    .bgimage {
    width: 100%;
    display: flex;
    -webkit-box-align: top;
    align-items: top;
    -webkit-box-pack: left;
    justify-content: left;
    background-size: 400px;
    background: url(http://ago.fotobashnya.com.ua/wp-content/uploads/2017/07/title-image-1.jpg) 40% 25% no-repeat fixed!important;
    text-decoration: none;
    padding: 40px 0;
}
        
.menu-item a img {
    border: none;
    box-shadow: none;
    vertical-align: middle;
    width: 50px!important;
    display: inline;
}
    
.colorblockred {
    background: rgba(164, 99, 80, .8);
    padding: 20px;
    height: 100%;
    margin: 0 10%;
}
   
.statistics .stat {
    display: inline-block;
    margin: 35px 5px!important;
    line-height: 1.4;
}
    
#tf-stat-129 .stat .count-title {
    width: 250px!important;
    line-height: 1;
    margin-bottom: 0;
    font-size: 14px!important;
    padding: 10px;
    font-weight: bold;
}
    
.statistics .stat span.number {
    margin: 20px 0 -20px 0;
    font-size: 60px!important;
   font-family: 'PT Sans',sans-serif;
}   }

@media (max-width: 990px) {
    /*.directionsmm ul li:nth-child(2n) {
	float: none;
	display: inline-block;	
	position: relative;
	color: #cb7464;   
    font-family: 'Roboto', sans-serif;
    font-size: 22px;    
    width: 33%;
    border-right: 0px solid #ccc;
}*/

.block-position:nth-child(2n) .left-position:first-child, .block-position .left-position    {
   float: left!important;
    margin: 18px;
     -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.es_textbox {
    float: none!important;
    width: 80%;
}
    .advertisement {
    color: #000000;
    font-family: 'Open-Sans', sans-serif;
    padding: 15px 10px 10px 30px;
    line-height: 16px;
    font-size: 15px;
    border-right: 0px solid #dfdedc!important;
}
}

@media (max-width: 960px) {
	#toggle {
		display: block;	
        background: transparent;
        border:0px solid red;
        margin-top: -40px;
}
    
    .main-navigation ul {
        width:100%;
        transition: 3c;
        margin: 0 5%;
    } 
    
    .main-navigation ul li a{
        color:#fbfbfb;
        border-bottom:1px solid #3c4dae;
        text-align: left;
    } 

    
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
    background: transparent;
    color: #fbfbfb!important;
    font-weight: bold!important;font-size:24px;
}
    
    .main-navigation ul ul li a {
	color: #fafafa!important;
}
    
    .main-navigation ul li {
        text-align: left;
        font-size:30px;
    }
    
    .main-navigation ul li ul li a {
        text-align: left;
        font-size:14px;
        border-bottom:0px solid #e1e1e1;
    }
.main-navigation ul ul li {
    text-align: left!important;
    font-weight: 300!important;
    border-bottom:1px solid #e1e1e1;
}
.main-navigation ul ul {		
	/*float: none;
	position: static;	
	/*left: -999em;
	z-index: 99999;*/
	/*border-bottom: 3px solid #ссс;
	padding-bottom: 7px;
	background: #c1806e;
    color:#ccc;*/
    display:none;
	}
    
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	display: block;
    float: none;
	position: static;	
	left: -999em;
	z-index: 99999;

	padding-bottom: 7px;
	background: transparent;
    color:#ccc;
}
    
.main-navigation:focus ~ .sub-menu, 
.main-navigation:active ~ .sub-menu, 
.sub-menu:hover 
{ 
   
} 
    
 /*.main-navigation ul li::before {
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	width: 0px;
	height: 100%;
	opacity: 0;
	background: transparent;  
	color: #fbfbfb;
	transition: all .3s ease;
}   
    
.main-navigation ul li ul li::before {
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	width: 0px;
	height: 100%;
	opacity: 0;
	background: #c1806e;  
	color: #fbfbfb;
	transition: all .3s ease;
}*/
    
.main-navigation ul ul li {
	text-align: left!important;
	display: block;
     color:#ccc;
}

.main-navigation ul ul li {
	text-align: left!important;
	font-weight: 300!important;}

.main-navigation ul ul li a{
	font-weight: 300!important;
	color: #444;
	padding: 7px 0 7px 30px!important;
}

.main-navigation ul ul li:hover {
	display: block;
	color:#444!important;
	font-weight: 300!important;	
}

#toggle:hover {
		
		display: block;	
	}

.main-navigation {
	padding: 10px;
}

	.main-navigation ul {
		display: none;
	}
.main-navigation li {
	float: none;
	display: block;	
	text-align: left: important;
	
	}

.centro
{text-align: center;}

.top-article {
	border-right: 0px solid green;
	text-align: center;
    }
#downmenu li
{
	float: none;
	/*display: block;*/
	font-weight: bold;
	text-align: left!important;
}

/*.main-navigation ul ul li:hover {
	display: none;
}*/


#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}
#toggle span:after{
  top: 9px;
}
#toggle span {
  position: relative;
  display: block;
}

#banner {
	text-align: center;
}
.wite-block {
text-align: center;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 100%;
  height: 5px;
  background-color: #888;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 2px;
}

/* on activation */
#toggle.on span {
  background-color: transparent;
}
#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}
#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}
#toggle.on + #primary-menu {
  opacity: 1;
  visibility: visible;
}
}


/*нижнее меню*/

#footermenu {
    font-family: 'PT Sans', sans-serif;
	display: block;
	/*float: left;*/
    list-style:none;
     margin: 15px 20px 0 -20px;
}


#footermenu li {
	
    float:left;
    padding: 0 10px;
    -webkit-transition-duration: 2s;
    -o-transition-duration: 2s;
    -moz-transition-duration: 2s;
    transition-duration: 2s;
    border-right:1px solid #f1f1f1;
}

#footermenu a {
	font-family: 'PT Sans', sans-serif;
    display: inline-block;
	text-decoration: none;
    color: #f1f1f1;
    font-size:11px;
    font-weight: 500;
    clear: both;
    text-transform:uppercase;
}

#footermenu li:hover > a,
#footermenu li.focus > a {
    color: #f1f1f1;
   
}

.footerblock  {
    margin-top:10px;
}

/*2 уровень*/

#footermenu ul {
	/*display: none;*/
	list-style: none;
	margin: 0;
	padding-left: 0;
    padding: 15px 0 0 0;
    line-height:14px;
}

#footermenu ul li {
	display:block;
    float:none;
    z-index: 10000;
    padding: 0 20px 0 0;    
    -webkit-transition-duration: 2s;
    -o-transition-duration: 2s;
    -moz-transition-duration: 2s;
    transition-duration: 2s;
}

#footermenu ul li a {
	font-family: 'PT Sans', sans-serif;
    display: inline-block;
	text-decoration: none;
    color: #f1f1f1;
   font-size:12px;
    line-height:14px;
  font-weight: normal;
   border-bottom: 0px solid #f1f1f1;
}
/*2 уровень*/
.post-categories li a {
    color: #cccccc!important;
    text-decoration: underline;
    font-size: 18px; 
    font-family: 'PT Sans', sans-sarif;
    font-weight:normal;    
}

#footermenu ul ul {
	border:1px solid red;
}



#footermenu ul ul ul {
}

#footermenu ul ul a {
	width: 200px;
}

#footermenu ul ul li {

}


#footermenu ul ul :hover > a,
#footermenu ul ul .focus > a {
}

#footermenu ul ul a:hover,
#footermenu ul ul a.focus {
}



#footermenu ul ul li:hover > ul,
#footermenu ul ul li.focus > ul {
	left: 100%;
}

#footermenu .current_page_item > a,
#footermenu .current-menu-item > a,
#footermenu .current_page_ancestor > a,
#footermenu .current-menu-ancestor > a {
}


/*/нижнее меню*/

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}
header.header {
    display: block;
    position: fixed;
    width: 100%;
    z-index: 999;
}

 header.header-intro {
    display: block;
    position:relative;
    width: 100%;
    z-index: 999;
}
/*
#main  {
    padding: 0 30px;*/




/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: left;
    border-bottom: 1px solid #777;
    padding: 10px;
    font-size: 12px;
    color: #777;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


.searchblock .col-md-6 {
 background: #e31f24; 
    height: 90px;
    color:#fbfbfb;
}

.searchblock .col-md-6 li{
    margin: 0;
    text-align: right;
    list-style-type: none;
     color: #fbfbfb!important;
}

.searchblock .col-md-8 a {
 color: #fbfbfb!important;
 margin: 0;    
}


li .current-lang{
 color: #fbfbfb!important;
 margin: 0;    
}


.directions {
    display: table;
    width:100%;
    margin-top:-40px;
}

#directions h3{
   font-family: 'PT Sans',sans-serif;
    color:#6b6b6b!important;
    font-size: 15px!important;
    font-weight: bold;
    text-align: center;
    margin: 0 0 10px 0;
}

#golov h3{
    font-family: 'PT Sans',sans-serif;
    color:#fbfbfb!important;
    font-size: 20px!important;
    font-weight: bold;
    float: left;
    margin: 0 0 10px 0;
}

.directions div{
   /* display: table;
    float: left;*/
    vertical-align: top;
    /*width:100%;*/
    margin:0 auto;
    /*margin: 0 0 0 -20px;*/
}
.statistics-inner {
    padding: 0; 
    text-align: center;
    z-index: 2;
    position: relative;
}


/*

.directions img {
    border: 1px solid #ccc;
    padding: 22px;
    margin: 15px 20px;
    width: auto;
    height:120px;
}

*/



.site-branding {
    /*margin: 60px auto 15px auto;
    text-align: center;*/
}
.site-branding p {margin-bottom: 0em!important;}
.site-branding-intro {
    width:70%;
    margin-top:40px;
}

.site-branding-intro .description{padding-left:12px;}

.gallerey img{
    width: 120px;
    height:75px;
    padding: 2px;
    display: inline-block;
    vertical-align: baseline;   
}
.blockfixed {
    position: fixed;
    z-index: 10000;
}

.clearfix {
	clear: both;
}

.blueblock {
    padding: 40px;
    color: #fbfbfb;
    background: #61c6f0 url(images/heart.png) no-repeat top center;
    background-size: contain;
}

.blueblock h3, .blueblock textwidget div {
    color: #fbfbfb!important;
}


.zigz {
  background-image: url(images/zigz.jpg);
    background-repeat:  repeat-x; 
    height:10px;
    margin: 20px;
}

.calendar a{
    color: #3c92ca;
    border-bottom: 1px dashed #3c92ca;
    margin: 20px 0 0 0;
}

.calendar a:hover {
    text-decoration: none;
}


/*поиск*/
.searchblock input[type=text] {
   background: #094161;
    padding: 12px 20px 9px 30px;
    border: 0px solid red;
    height: 60px;
    width: 200px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    color:#fbfbfb;
     
}

.searchblock input[type=text]:focus {
    width: 400px;    
    background-color: #094161;
    outline: none;  
     height: 60px;
}

.searchblock input[type=submit] {
     
     background: #094161 url(images/serch.png) no-repeat right center;
     outline: none;  
     height: 60px;
     width:99px;
     border: 0px solid red;
     color:transparent;
    margin-left: -6px; 
}

.searchblock input[type=submit]:focus {
     
     background: #094161 url(images/serch.png) no-repeat right center;
     outline: none;  
     height: 60px;
     width:99px;
    border: 0px solid red;
    margin-left: -6px;
}

.searchblock li a {
    color: #fbfbfb;
    padding: 3px 10px; 
    display: inline-block;
    float: right;
}

.searchblock li.current-lang  {
    color: #fbfbfb;
    padding: 2px;
    font-size: 14px;   
    display: inline-block;   
    float: right;
    background: #094161;       
}

.searchblock li.lang-item {
     margin: 10px 0 0 0; 
    color: #fbfbfb;
    padding: 2px;
    font-size: 14px;   
    display: inline-block;   
    float: right;
}

.introimg{
    height: 240px;
    overflow: hidden;
    width: 100%;
}

.breadcrumbs {
    font-size: 12px;  
    color:#aeaeae;
    padding: 10px 10px 10px 0;
}

.breadcrumbs a {  
    color:#aeaeae;
    text-decoration: underline;
}

/*поиск*/


.sizes {
    font-size: 90px;
    text-align: center;
    color:#109dcd;
    width:100%;
    font-family: 'Arial', sans-serif;
}

h3.news-title {
    font-family: 'Open-Sans', sans-serif; 
    color: #000000;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    
}

h4.entry-title {
    font-family: 'Open-Sans', sans-serif; 
    color: #000000;
    font-weight: bold;
    font-size: 18px!important;
    line-height: 20px;
    padding: 7px 0 0 0;
}

h4.entry-title a{
    font-family: 'Open-Sans', sans-serif; 
    color: #000000;    
}

.news a {
    color:#6b6b6b!important;    
}


h2.news  {
    line-height: 1;
    padding: 30px 0 10px 0;
    font-family: 'Open-Sans', sans-serif; 
    font-weight:bold;
  
}
.colorblock h2 {
    padding: 0 0 0 30px;
}

.advertisement {
  color: #000000;   
  font-family: 'Open-Sans', sans-serif;   
  padding: 15px 10px 10px 30px;
  line-height: 16px;
  font-size:15px;
  border-right: 1px solid #dfdedc;
}


.advertisement img {text-align: center;}
.advertisement:last-child {
  color: #000000;   
  font-family: 'Open-Sans', sans-serif;   
  padding: 10px 10px 10px 30px;
  line-height: 16px;
  font-size:15px;
    border-right: 0px solid #dfdedc!important;
}

.statistics .stat span.number:last-child {
    margin-bottom: 10px;
    font-size: 80px;
   font-family: 'PT Sans',sans-serif;
    border-right: 0px solid #d9d9d9;
}

.advertisement a { 
    color:#6b6b6b;
}
.advertisement .date-main a { 
    color:#cb7464!important;
}


/**/

/* скрываем чекбоксы и блоки с содержанием */
.hide,
.hide + label ~ div {
    display: none;
}
/* вид текста label */
.hide + label {
    margin: 0;
    padding: 0;    
    cursor: pointer;
    display: inline-block;
}
label {
    /*color:#3c92ca;
    border-bottom:1px dashed #3c92ca;*/ 
    font-weight: normal;
    padding: 0 0 10px 0;
    /*margin: 20px 0 0 0;*/
}


/* вид текста label при активном переключателе */
.hide:checked + label {
    border-bottom: 0;
}
/* когда чекбокс активен показываем блоки с содержанием  */
.hide:checked + label + div {
    display: block; 
    width: 50%;
   /* margin-left: 20px;*/
    /* чуточку анимации при появлении */
     -webkit-animation:fade ease-in 0.5s; 
     -moz-animation:fade ease-in 0.5s;
     animation:fade ease-in 0.5s; 
}
/* анимация при появлении скрытых блоков */
@-moz-keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }
}
@-webkit-keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }
}
@keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }   
}
/*.hide + label:before {
    /*background-color: #1e90ff;
    color: #fff;
    content: "\002B";
    display: block;
    float: left;
    font-size: 14px; 
    font-weight: bold;
    height: 16px;
    line-height: 16px;
    margin: 3px 5px;
    text-align: center;
    width: 16px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.hide:checked + label:before {
    content: "\2212";
}*/
   
.contentn, .contentn a{
    color:#6b6b6b!important;
    line-height: 15px;
    font-size:14px;
}

.nav-days th {
    border-top: 0px solid #cbe2f0;
    border-bottom: 0px solid #5c2217;
    color:#5c2217;
}

.nav-days td {
    border: 0px solid #d2d2d2;
    font-size: 14px;
    padding: 0 0 0 12px; 
    color:#fbfbfb;    
}
.nav-days td a {
    border: 0px solid #d2d2d2;
    font-size: 18px;
    
    color:#5c2217; 
    font-weight:bold;
}
.nav-days td.today {
    border: 0px solid #d2d2d2;
    font-size: 14px;
    padding: 0 0 0 12px; 
    color:#fbfbfb;   
    border:1px solid #fbfbfb;
}


.active-month {
    color:#fbfbfb;
    
}

.month {
   font-size:16px;
    text-align: center; 
   letter-spacing: 10px;
    text-transform: lowercase;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
}
.year {
  font-size:64px;
    text-align: center;
    margin: -30px 0 -20px 0;
}
.month {
    color:#fbfbfb;
    border-bottom: 1px solid #fbfbfb;
}

.nav-months {
    font-size: 14px;
}


#loginform label {
    border: 0px solid #d2d2d2;
    font-size: 14px;
    color: #000;
    display: block;
}

#loginform input[type="text"],#loginform input[type="password"], #loginform input[type="login"] {
    border: 1px solid #d2d2d2;
    font-size: 14px;
    color: #000;
    padding: 10px;  
    background: transparent;
     border-top:0px solid red;
     border-right:0px solid red;
     border-left:0px solid red;
     border-bottom:2px solid #be1920;
}

#loginform input[type="submit"] {
    background:#000626;
    color:#ccc;
}
.bgimage {
  
    width: 100%;
    display: flex;
    -webkit-box-align: top;
    align-items: top;
    -webkit-box-pack: left;
    justify-content: left;
    background-size: 400px;
    background: url(http://ago.fotobashnya.com.ua/wp-content/uploads/2017/07/title-image-1.jpg) 25% 25% no-repeat fixed;
    text-decoration: none;
    padding:40px 0;
}

.bgimage_two {
  height:600px;
    width: 100%;
    display: flex;
    -webkit-box-align: top;
    align-items: top;
    -webkit-box-pack: left;
    justify-content: left;
    background-size: 400px;
    background: url(http://ago.fotobashnya.com.ua/wp-content/uploads/2017/07/title-image-1.jpg) 25% 25% no-repeat fixed;
    text-decoration: none;
    padding:40px 0;
}



.bgimageintro {
    height: 250px;
    width: 100%;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: left;
    justify-content: left;
    background-size: 480px;
    background: url(http://ago.fotobashnya.com.ua/wp-content/uploads/2017/07/title-image-1.jpg) 50% 22% no-repeat fixed;
    text-decoration: none;
}

.aboutimage {
    
    width: 100%;    
    background: url(http://ago.fotobashnya.com.ua/wp-content/uploads/2017/07/abouimage.jpg) no-repeat;
}

.aboutimage .directions{
    padding:10px 10% 20px 10%;
    text-align: center;
    color:#fbfbfb!important;    
    /*font-size:20px;*/
    line-height: 22px;
    font-weight: normal;
}

.directions h3{
    padding:20px 10%;
    text-align: center;
    color:#fbfbfb!important;
    font-family: 'PT Sans',sans-serif;
    font-size:36px!important;
    font-weight: normal;
    
}

.amosovablock {
    height: 500px;
    width: 100%;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: left;
    justify-content: left;
    background-size: 480px;
    background: url(images/amosov.jpg) 90% 42% no-repeat fixed;
    text-decoration: none;
}


/*второстепенное меню*/


.colorblock {
    background:  rgba(251, 251, 251, .8);
    padding: 20px;
    height:100%;
}

.colorblockred {
    background:  rgba(164, 99, 80, .8);
    padding: 20px;
    height:100%;
}

.statistics .stat span.number {
    margin: 20px 0 -20px 0;
    font-size: 70px;
    font-family: 'PT Sans',sans-serif;
}

.statistics .stat span.fa {
    display:none;
}

.logobrand {
     background: url(images/logo.png) no-repeat left center;
}

.logobrand-intro {
     background: url(images/logo-intro.png) no-repeat left center;
}

 .site-title {
    color: #000;
    font-size: 25px!important;
    line-height: 30px!important;
    font-weight: bold;
    padding:3px 0 0 0;
    margin: 5px 0 0 0;
    padding-left: 80px;
    font-family: 'Roboto',sans-serif;
    text-transform: uppercase;  
         
}

.site-title-intro {    
    margin: 5px 0 0 0;
}
    
.site-title-intro a {
    color: #fff;
    font-size: 25px!important;
    line-height: 30px!important;
    font-weight: bold;
    margin: 5px 0 0 0;
    padding-left: 80px;
    font-family: 'Roboto',sans-serif;
    text-transform: uppercase; 
    text-decoration: none;
}
.site-title p {
    color: #0f5d5a;
    font-size: 28px!important;
    line-height: 28px!important;
    display: block;
    margin: 0!important;
}
    
.site-title-intro p {
    color: #fff;
    font-size: 28px!important;
    line-height: 28px!important;
    display: block;
    margin: 0!important;
}
    .logo {
    width:112px;
    margin-top:30px;
    }

#tf-stat-129 .stat .count-title {
    width:200px;
    line-height:1;
    margin-bottom: 0;
    font-size: 16px;
    padding: 10px;
    font-weight:bold;
}

.events-list  {
    margin: 0 0 0 -40px;
    list-style-type: none;
}
.event-link a {
    color:#2b2b2b;
    font-weight: bold;
    font-size: 18px;
    line-height: 18px;
    font-family: 'PT Sans',sans-serif;
}

.subscribe label {
    color: #3c92ca;
    border-bottom: 1px dashed #3c92ca;
    font-weight: normal;
    padding: 10px 0;
    margin: 20px 0 0 0;
    display: none;
}

.subscribe input[type="button"]{
  background: #000626;
}

/*.tg, .tagcloud {
    margin: 20px 0 20px 0;
    font-weight: bold;
}*/

.tg a, .tagcloud a {
    background: #fbfbfb;
    padding: 12px 20px;
    color: #000000;
    font-size: 14px!important;
    border-radius: 4px;
    margin: 2px 2px 5px 0;
    text-decoration: none;
    font-weight: normal;
    display: inline-block;
}
.menu-vtorostepennoe-menyu-container ul {
    /*margin: 0 0 0 -40px;*/
    list-style-type: none;
}
.menu-vtorostepennoe-menyu-container ul li{
    background: transparent;
    margin: 0;
    padding: 15px 3%;   
    transition: all .3s ease;
    -moz-transition: all 1s 0.1s ease-in;
-o-transition: all 1s 0.1s ease-in;
-webkit-transition: all 1s 0.1s ease-in;
}

.menu-vtorostepennoe-menyu-container ul li:hover{
    background: #050d3b;
    -webkit-transform: rotate(20deg);
-moz-transform: rotate(20deg);
-o-transform: rotate(20deg);
}
.menu-vtorostepennoe-menyu-container ul li a { color:#cb7463; text-decoration: none;font-weight: bold;}

/*.social {
    margin: 20px 0 0 -10px;
}*/



.widget_events_calendar .nav-months a {
    color:#5c2217!important;
    text-decoration: none;
}
.event-link {
    margin: 7px 0 0 0;
}
.entry-date {
    color: #000000;
    font-size:14px;
    font-family: 'PT Sans',sans-serif;
    padding: 0 0 20px 0;
}
.block-position:nth-child(2n) .left-position:first-child  {
   float: right;
     -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}


.post-categories {
    list-style-type: none;
    display: inline-block;
        margin: 0 0 0 -40px;
    
}
.post-categories li {
    list-style-type: none;
    display: inline-block;
    color:#cb7464;
}


.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.ugol {
     background: url(images/ugol.png) no-repeat right center;
}
/*subscribe*/
.subscribe {
    background:#cb7464;
    color:#e9e9e4;
    padding: 20px;
}
.subscribe h2{
    color:#fbfbfb!important;
    font-family: 'PT Sans',sans-serif;
    float: left;
    font-size:28px!important;
    padding: 0;
    padding-right:15px;
}
.es_textbox_class {
    /*width: 40%; */   
    border-radius: 2px;
    background: #e8e9e4;    
   
}
.es_textbox input[type="text"], input[type="email"] {
    padding: 12px;
    /*border: 1px solid #cb7463;*/
    /*margin: 25px 0 0 30px;*/
    width: 100%;    
}

.es_button {
    padding: 0;
    /* padding-bottom: 5px; */
}

.es_textbox {   
    float: left;
    width: 40%;
}

.es_lablebox {
    padding: 12px 0 0 0;
}

.es_msg {
    padding-top: 5px;
    padding-bottom: 5px;
    color: #fbfbfb;
    float: left;
    width: 100%;
}

..menu-item a img:hover {
    -webkit-animation: swing 1s ease;
    animation: swing 1s ease;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    }
/*subscribe*/

/*иконки документов*//*npd*/
.tab-pane a[href$='.pdf'] {
    background: url(images/pdff.png) no-repeat left center;
    /* background-size: 150px; */
    /* color: #0272c6; */
    font-weight: normal;
    font-size: 14px;
    line-height: 1;
    padding-left: 60px;
    padding: 15px 15px 15px 60px;
}

.tab-pane a[href$='.rar'] {
    background: url(images/rar.png) no-repeat left center; 
    font-weight: normal;
    font-size: 14px;    
    line-height: 1;
     padding-left: 60px;
    padding: 15px 15px 15px 60px;
}

.tab-pane a[href$='.zip'] {
    background: url(images/rar.png) no-repeat left center;
    
    font-weight: normal;
    font-size: 14px;    
    line-height: 1;  
     padding-left: 60px;
    padding: 15px 15px 15px 60px;
}

.tab-pane a[href$='.doc'] {
    background: url(images/word.png) no-repeat left center;
    
    font-weight: normal;
    font-size: 14px;    
    line-height: 1;    
     padding-left: 60px;
    padding: 15px 15px 15px 60px;
}

.tab-pane a[href$='.docx'] {
    background: url(images/word.png) no-repeat left center;
   
    font-size: 14px;
    font-weight: normal;
    line-height: 1; 
     padding-left: 60px;
    padding: 15px 15px 15px 60px;
}

.tab-pane a[href$='.xls'] {
    background: url(images/exel.png) no-repeat left center;
    
    font-weight: normal;
    font-size: 16px;    
    line-height: 1;  
     padding-left: 60px;
    padding: 15px 15px 15px 60px;
}
/*иконки документов*/
/*
.container {border:1px solid red;}
.row  {border:1px solid #ccc;}*/

.point {
    cursor:pointer;
}

.clinic { 
    border-left:3px solid #da393b;
    margin-left:0;  
    margin-bottom:7%; 
    padding:10px 0; 
}

.clinic ol {    
   /*border-left: 3px solid #fbfbfb;*/
    display: block;
    counter-reset:li; /* Инициализируем счетчик */
    padding:0; /* Удаляем  установленное по умолчанию левое поле*/
    list-style:none; /* Отменяем нумерацию установленную по умолчанию */
    margin-left:40px; 
}

.clinic ol li {
    position:relative;
    float:left;
    display:block;
    color:#fbfbfb;
    max-width:25%;
    margin: 0 30px 10px 30px;
    font-size:20px;
    line-height:1;
    padding-left:10px;    
}

.clinic ol li:before {
      content:counter(li); /* В качестве данных используем счетчик */
      counter-increment:li; /* Увеличиваем значение счетчика на 1 */
      /* Позиционируем и оформляем цифры */
      position:absolute;
      top:-3px;
      left:-2em;
      width:1.5em;
    height:1.5em;
      padding:4px 0;
      border:2px solid #fbfbfb;
      color:#fbfbfb;
      background:transparent;
      font-weight:bold;
      font-family:'Roboto', sans-serif;
      font-size:20px;
      text-align:center;
     border-radius: 2em;
      }


.newstitle a {
    font-weight: bold;
    font-size: 16px;
    font-family: 'PT Sans',sans-serif;
    color: #000;
    line-height: 1;
    display: block;
    margin: 0;
}

.newstitle img {
    margin-bottom:10px;
}

.newstitle p {
    
    font-size: 14px;
    font-family: 'PT Sans',sans-serif;
    color: #444!important;
    line-height: 1;
    font-weight: normal;
}

.newstitle img {
    width:300px;
    height:160px;
}

#customizer .options {
    background: #fff;
    width: 45px;
    position: absolute;
    top: 250px;
    left: -45px;
    cursor: pointer;
    z-index:9999;
    border-left: 0;
    border-radius: 0;
    -webkit-box-shadow: -10px 0 25px -1px rgba(0,0,0,.05);
    -moz-box-shadow: -10px 0 25px -1px rgba(0,0,0,.05);
    box-shadow: -2px 0 20px -5px rgba(0,0,0,.08);
    padding: 8px 0;
}

.gallery-thumbnail-main img {
   width:90px;
    height:90px;
    float: left;
    margin: 0 10px 10px 0;
}

div .box:before {
    background: rgba(4, 3, 33, .6);
    content: "";
    display: block;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    max-height: 350px;
    overflow: hidden;
}



.navmain nav, .navintro nav {
    position:absolute;
    margin-top:30px;
}


/*.modalblock {   
    text-align: center;
    padding:10px;    
    position: fixed;
    background: rgba(0, 6, 38, .7);
    top:160px;
    right:0;
    z-index: 999;
}

.modalblock div{
    padding: 10px 2px;         
}*/


.modalblock, .modalblock div {
    display:inline;
}

#wppb-login-wrap .login-password label {
    width: 100%!importan;
    float: none!important;
    min-height: 1px;
}

.wppb-form-field label, #wppb-login-wrap .login-username label, #wppb-login-wrap .login-password label {
    width: 100%!importan;
    float: none!important;
    min-height: 1px;
}
ol.tribe-list-widget {
    list-style-type: none;
    margin-left: -40px;
    padding-top: 0;
    padding-bottom: 0px;
    
}

#sdgagdgd10018 ul, ol {
    margin-left: 30px;
    margin-bottom: 10px;
}

ol.tribe-list-widget a {
    color: #000;
    font-weight: bold;
    font-size:18px;
}
.tribe-event-duration {
    color: #2a398e;
    font-size:13px;
}
.tribe-events-widget-link a{
    color: #6b6b6b;
    font-size:12px;
}
@media (max-width: 1199px) {
 .menu-vtorostepennoe-menyu-container ul li {
    background: transparent;
    margin: 2px 0;
    padding: 15px 2%;
}
}


.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]{
    background-color: #2a398e!important;
    color: #fff;
}

.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-] {
    color:#000;
}

.rightblock  {
    background: #fcfcfc;
    padding: 30px;
    margin-bottom:10px;
}
.rightblock p {
    width:100%;
}

.rightblock h2 {
    font-family: 'PT Sans',sans-serif;
    font-size: 30px!important;
    text-decoration: none;
    color: #000!important;
    font-weight: bold;
    line-height:32px;
    padding-bottom: 20px;
}
.rightblock ul {
    list-style-type: none;
    margin-left: -40px;
}

.rightblock ul li {
    line-height: 1;
    padding: 15px 0 15px 0;
    border-bottom: 1px solid #ccc;    
}

.rightblock ul li .post-date {
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    padding: 5px 0;
    color:#666666;
    text-transform: lowercase;
    display: block;
}

.rightblock ul li a {color:#000000;font-size: 20px; font-weight:bold; padding: 10px 20px 0 0; } 
.single-tribe_events .tribe-events-single-event-title {
    font-size: 30px!important;
    line-height: 1;
    font-weight: bold!important;
    margin: 0;
    padding: 0;    
}

.tribe-events-schedule h2 {
    font-size:16px!important;
    font-style: italic;
    font-weight: normal!important;
    padding: 0 0 20px 0!important;
    margin:0!important;
    border-bottom:1px solid #ccc;
}

.tribe-events-back a {    
    font-size: 15px;
    font-weight: normal!important;
    color:#2a398e!important;
}

#tribe-events .tribe-events-button {
        background-color: #bc1e2e!important;
}
.tribe-events-meta-group .tribe-events-single-section-title {
    font-size: 24px!important;
    padding: 0 0 15px 0;
}
/**/

/**/

.bord {
    height: 2px;
    background: #da393b;
    color: #002047;
    border: 1px solid #da393b;
}
.similar_records ul {
    margin: 0px 0 0 -40px;
}
.similar_records li {
    list-style-type: none;
    padding: 0 0 10px 0;
}
.similar_records li a {
    color: #6b6b6b;
    font-size: 18px;
    line-height: 1;
    padding-right: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-decoration: underline;
}
.similar_records h4{
    font-weight: bold;
    font-style: italic;
    font-size:18px;
}

.botcontainer {
    margin-top:-200px;
    position:absolute;
    z-index:999;
}


.directions {    
    background: #da393b;
    position:relative;
    
    /*margin-top:-105px;*/
    
}

.directions ul {
       margin: 0 auto 0 -40px;
}

.directions li  {
    float:left;        
    list-style-type: none;
    padding: 0 10px;
}

.directions li:first-child  {   
    padding: 0 10px 0 0;
}


.directions li a {
    
    display: inline-block;
    color:#fff;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    padding: 20px 0px 20px 0px;
    line-height: 20px;
    transition-duration: 1s;
    animation-delay: 1s;
}


.directions li a:hover{
    text-decoration:none;
    letter-spacing: 2px;
}

.post-categories li a {
     transition-duration: 1s;
    animation-delay: 1s;
}

.post-categories li a:hover {
    letter-spacing: 2px;
}

.bgnews {
    background: #fff;
    padding-right: 20px;
    line-height: 1.2;  
    transition-duration: 1s;
    animation-delay: 1s;
    position: relative;
    z-index:999;
   
}

.bgnews:hover {
    cursor: pointer;    
    -webkit-box-shadow: -1px 0px 31px -3px rgba(110,110,110,1);
    -moz-box-shadow: -1px 0px 31px -3px rgba(110,110,110,1);
    box-shadow: -1px 0px 31px -3px rgba(110,110,110,1);
}


.imgstyle .bgnews {
    background: #fff;
    padding-right: 20px;
    line-height: 1.2;
    margin-right:5px;    
}

.videostyle .bgnews {
    background: #fff;
    width:100%;
    padding-right: 0;    
    margin-right:5px;  
    
}
.videostyle .bgtext {
    height: 130px;
    display: table;    
}



.bgnews h3, .bgnews p {
    padding: 0 20px 20px 20px;
    vertical-align: middle;
    /*display: table-cell;
    vertical-align: middle;*/
}

.bgnews h3, .bgtext h3  {
    padding-top: 25px;  
}

.bgtext h3  {
    padding-bottom: 25px;  
}

.nav-links a {
    background: #ccc;
    padding: 10px 15px;
    color: #444;
}
.nav-links a:hover {
    text-decoration: none;
    background: #da393b;
    color:#ccc;
}

.nav-links span {
    background: #da393b;
    padding: 10px 15px;
    color: #fff;
}

.similar_records {
    background: #f6f6f6;
    padding-top: 20px; 
    margin-bottom:20px;
}


.similar_records a  {
    color:#222!important;
    font-size:18px;
    line-height: 18px;
    font-weight: bold;
    line-height: 16px!important;
    
}

.header {    
    background:transparent;
    transition: all .3s ease;    
}


.header.scroll{ 
    background:rgba(243, 243, 243, .95);
}
.header.scroll .main-navigation ul li a {
    color:#222222!important;
     /*background: url(/wp-content/themes/ohmatdet/images/ho-intro.png) right 35% no-repeat!important;*/
}
.header.scroll #full {
    display: none;
}



.header.scroll #intro {
  display: inline-block;
}

.header #intro {
    display: none;    
}

.titleintro h2 {
     color:#fbfbfb;    
}

.header.scrollmenu{ 
    background:rgba(243, 243, 243, .95);
}
.header.scrollmenu .main-navigation ul li a {
    color:#222222!important;
     /*background: url(/wp-content/themes/ohmatdet/images/ho-intro.png) right 35% no-repeat!important;*/
}
.header.scrollmenu #full {
    display: none;
}

.header #full {
    /*display: block;*/   
}

.header.scrollmenu #intro {
  display: inline-block;
}

.header #intro {
    display: none;    
}

 /*
.imgcatbg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.3);  
  z-index: 1;
}

*/

.item-text {
    text-align:center;
    overflow:hidden;
    position: absolute;
    bottom:20px;
    width:100%;
}



.newpost {
   -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: top left;
    min-height: 200px;
    max-height: 500px;
}

.post-main {
   -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: top;
    min-height: 300px;
    max-height: 600px;
}

#mask {
    background: url(demo.png) no-repeat 0 0 transparent;
    height: 37px;
    overflow: hidden;
    position: relative;
    width: 95px;
}

.mask::before {
   background: -moz-linear-gradient(269deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%); /* ff3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.8))); /* safari4+,chrome */
background: -webkit-linear-gradient(269deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%); /* safari5.1+,chrome10+ */
background: -o-linear-gradient(269deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%); /* opera 11.10+ */
background: -ms-linear-gradient(269deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%); /* ie10+ */
background: linear-gradient(181deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%); /* w3c */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=0 ); /* ie6-9 */
    content: "";
    display: block;
    height: 100%;
    border-right:2px solid rgba(255, 255, 255, .1);
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}



#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    z-index: 9999;
    -webkit-border-radius: 0px 0px 0px 0px;
    -moz-border-radius: 0px 0px 0px 0px;
    -ms-border-radius: 0px 0px 0px 0px;
    -o-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
    /*background: #f6f6f6;*/
    padding: 15px 20px 15px 20px;
   background: rgba(243, 243, 243, .8);
    border-top: 3px solid #002147;
    border-left: 0px solid #002147;
    border-right: 0px solid #002147;
    border-bottom: 0px solid #002147;
    left: 0;
}
#mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu {
    opacity: 0;
    margin-top: 50px;
    transition-duration: 200ms;
    transition-timing-function: ease-in;
    transition-property: opacity, margin-top, visibility;
}


#mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu {
    position: absolute;
    width:100vw!important;    
    left:-39vw;
    opacity: 0;
    margin-top: 50px;
    transition-duration: 200ms;
    transition-timing-function: ease-in;
    transition-property: opacity, margin-top, visibility;
}

 #mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu {
    margin-left:-100%;
}

.tribe-events-list-widget .tribe-list-widget {
    margin-left: -40px;
    
}
.tribe-events-list-widget .tribe-event-featured .tribe-event-title a {
    color:#000;
    font-size:24px;
   
}
.tribe-events-list-widget .tribe-event-featured .tribe-event-duration {
    color: #da393b;
    margin:  20px 0 0 0;
}
.tribe-events-list-widget .tribe-event-featured {
    background: #fff;
    padding-bottom: 12px;
    padding-bottom: .75rem;
    
}

.tribe-events-list-widget .tribe-event-featured .tribe-event-title {
    margin-top: 12px;
    margin-top: .75rem;
     line-height:24px;
}
#tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title {
    font-family: sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.25;
    margin: 0;
    overflow: hidden;
    /* padding: 3%; */
    text-transform: none;
}
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-] {
    background-color: #da393b!important;
    color: #fff;
}
#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured {
    background: #da393b;
    margin: 0;
    padding: 6px 14px;
    padding: 6px calc(5% + 8px);
    color: #fff;
}

.tribe-events-calendar td.tribe-events-present.mobile-active {
        background-color: #da393b;
    color: #fff;    
}

#tribe-events-content .tribe-events-tooltip h4, #tribe_events_filters_wrapper .tribe_events_slider_val, .single-tribe_events a.tribe-events-gcal, .single-tribe_events a.tribe-events-ical {
    color: #222222;
    font-family: 'Roboto',sans-serif;
}

element.style {
}
#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured .tribe-events-month-event-title h3 a {
    color: #fff;
}
#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured h3 a {
    color: #fff;
}
#tribe-events-content table.tribe-events-calendar .type-tribe_events.tribe-event-featured .tribe-events-month-event-title a {
    color: #fff!important;
}
#tribe-events .tribe-events-button {
    background-color: #da393b!important;
}

.tribe-events-list-widget .tribe-events-widget-link a {
    font-size: 15px;
    font-weight: 700;
    border: 2px solid #000;
    padding: 10px 15px;
  
}
p .tribe-events-widget-link {
    text-align: center;
    display: block;
    margin: 0 auto;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover {
    border-top: 0px solid #222;
    border-left: 0px solid #222;
    border-right: 0px solid #222;
    border-bottom: 0px solid #222;
    outline: none;
    text-decoration: none;
    padding: 0px 30px 0px 10px;
    line-height: 40px;
    font-weight: bold;
    height: 75px;
    vertical-align: baseline;
    text-align: left;
    width: auto;
    display: block;
    color: #f1f1f1;
    text-transform: uppercase;
    text-decoration: none;
    background: rgba(0, 0, 0, 0);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(rgba(0, 0, 0, 0)));
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0));
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0));
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0));
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00FFFFFF', endColorstr='#00000000');
    -webkit-border-radius: 0px 0px 0px 0px;
    -moz-border-radius: 0px 0px 0px 0px;
    -ms-border-radius: 0px 0px 0px 0px;
    -o-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
    font-family: inherit;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
}
li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link:hover  {
    color:#da393b!important;
    font-weight: bold!important;
}

/*.info-intro {
    display: table;
}
.titleintro {
    display: table-cell;
	vertical-align: middle;
    text-align: left;
    float: none;
}
*/

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
    line-height: 16px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link{
    line-height: 1;
}


/*media*/

* Breadcrumbs
*/
/*.breadcrumbs-custom {
	position	: relative;
	width		: 100%; /* for IE 6 
}
.breadcrumbs-custom-inner {
    position	: absolute;
	top		: 15%;
	left		: 0;
	width		: 100%;
    z-index:88;
    height: 200px;
}
*/


/*.breadcrumbs-custom::before {
    content: '';
    position: relative;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display: block;
    background-color: rgba(0,0,0,0.3);  
}*/



.breadcrumbs-custom .breadcrumbs-custom-subtitle {
	color: #aeb1be;
}

.breadcrumbs-custom.bg-image {
	background-position: center top;
}

.breadcrumbs-custom-inner {
	display: flex;
	min-height: inherit;
	width: 100%;
	/*padding: 10% 0 25px;*/
}

.breadcrumbs-custom-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.breadcrumbs-custom-container::before {
	content: '';
	display: block;
}

.breadcrumbs-custom-path {
	margin-left: -15px;
	margin-right: -15px;
}

.breadcrumbs-custom-path > * {
	/*padding-left: 15px;
	padding-right: 15px;*/
}

.breadcrumbs-custom-path li {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	color: #fbfbfb;
     font-style: italic;
}

/*.breadcrumbs-custom-path li::after {
	content: "";
	font-family: "FontAwesome";
	position: absolute;
	top: 51%;
	right: -5px;
	display: inline-block;
	font-size: inherit;
	font-style: normal;
	color: rgba(255, 255, 255, 0.5);
	transform: translate3d(0, -50%, 0);
}
*/
.breadcrumbs-custom-path li:last-child:after {
	display: none;
}

.breadcrumbs-custom-path a {
	display: inline;
	vertical-align: middle;
   
}

.breadcrumbs-custom-path a, .breadcrumbs-custom-path a:active, .breadcrumbs-custom-path a:focus {
	color: #fbfbfb;
    text-decoration: underline;
}

.breadcrumbs-custom-path a:hover {
	color: #fff;
}

* + .breadcrumbs-custom-path {
	margin-top: 25px;
}

.breadcrumbs-custom-subtitle + .breadcrumbs-custom-title {
	margin-top: 15px;
}


/*.title-decorated {
	position: relative;
	padding-left: 40px;
	text-align: left;
}

.title-decorated::before {
	content: '';
	position: absolute;
	left: 0;
	top: .8em;
	width: 30px;
	border-bottom: 1px solid;
}

@media (min-width: 768px) {
	.title-decorated {
		padding-left: 70px;
	}
	.title-decorated::before {
		width: 50px;
		top: .7em;
		border-bottom-width: 2px;
	}
}

@media (min-width: 768px) {
	.title-decorated-lg {
		padding-left: 80px;
	}
	.title-decorated-lg::before {
		width: 62px;
	}
	.title-decorated-lg + p {
		margin-top: 32px;
	}
}*/

@media (max-width: 700px) {
	.clinic {
		display:none;
	}
}





.breadcrumbs-custom .breadcrumbs-custom-subtitle, .breadcrumbs-custom-title {
    color: #fff;
}

.breadcrumbs-custom-title {
    color: #fff;
}

h1.breadcrumbs-custom-title {
    font-size:36px;
}


.imgcatbg {
  position: relative;
}
 
.imgcatbg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.4);  
  z-index: 1;
}
h2.breadcrumbs-custom-title {
    font-size: 48px;
    font-family: 'Roboto',sans-serif;
    color:#fefefe;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom:-20px; 
}
.breadcrumbs-custom-path {
    margin-left:-40px; 
}


.su-spoiler-title {
    position: relative;
    cursor: pointer;
    /* min-height: 20px; */
    line-height: 20px;
    padding: 7px 7px 7px 34px;
    font-weight: bold;
    font-size: 20px!important;
}
.su-spoiler {
    margin-bottom: 10px!important;
}



#frm input[type="text"],
#frm input[type="email"],
#frm input[type="url"],
#frm input[type="password"],
#frm input[type="search"],
#frm input[type="number"],
#frm input[type="tel"],
#frm input[type="range"],
#frm input[type="date"],
#frm input[type="month"],
#frm input[type="week"],
#frm input[type="time"],
#frm input[type="datetime"],
#frm input[type="datetime-local"],
#frm input[type="color"],
#frm textarea {
	color: #444;
	border: 1px solid #ccc;	
	padding: 7px;
    font-weight: normal;
    background: #fff;
    margin: 3px;
    /* width: 230px; */ 
}

#frm1 button,
#frm1  input[type="button"],
#frm1 input[type="reset"],
#frm1 input[type="submit"] {
	border: 1px solid;
	border-color:#da393b;
	background: #da393b;	
	color: #fff;	
	font-size: 24px;
	line-height: 1;
	padding: 15px 50px;
}

#frm1 input[type="text"],
#frm1 input[type="email"],
#frm1 input[type="url"],
#frm1 input[type="password"],
#frm1 input[type="search"],
#frm1 input[type="number"],
#frm1 input[type="tel"],
#frm1 input[type="range"],
#frm1 input[type="date"],
#frm1 input[type="month"],
#frm1 input[type="week"],
#frm1 input[type="time"],
#frm1 input[type="datetime"],
#frm1 input[type="datetime-local"],
#frm1 input[type="color"],
#frm1 textarea {
	color: #444;
	border: 1px solid #ccc;	
	padding: 7px;
    	font-weight: normal;
    	background: #fff;
    	margin: 3px;
    	width: 100%; 
}

#frm1 textarea {
	
    	height: 150px; 
}
 #frm1 input[type="submit"] {
	
    	margin-right: -25px; 
}

#frm1 label {
font-weight:normal!important;
}

div.wpcf7 {
	margin: 0;
	padding: 0;
}

div.wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
}

div.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

div.wpcf7-mail-sent-ok {
	border: 2px solid #398f14;
}

div.wpcf7-mail-sent-ng {
	border: 2px solid #ff0000;
}

div.wpcf7-spam-blocked {
	border: 2px solid #ffa500;
}

div.wpcf7-validation-errors {
	border: 2px solid #f7e700;
}

.wpcf7-form-control-wrap {
	position: relative;
}


/*social_button*/


.like {
	font-size: 18px;
	font-weight: 700;
	line-height: 50px;
    font-family: 'Roboto', sans-serif;
}
.push {
	display: inline-block;
	/*width: 17%;*/
	/*min-width: 100px;*/
	/*line-height: 40px;*/
	margin: 15px 5px 20px 5px;
	font-size: 13px;
	text-align: right;
	cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    
}

.push a, .push a:hover{text-decoration:none;}
 #share .social a {
    color:#444;   
    /*font-size:16px;*/
      font-weight: 700;
}

hr.hoverline {
    cursor: pointer;
    width: 100%;
    background: #ccc;
}

.facebook {color:#3b5998!important; }
.facebook:hover {color:#2d4373!important;}
.google {color:#dd4b39!important;}
.google:hover {color:#c23321!important; }
.twitter1 {color:#55acee!important;}
.twitter1:hover {color:#2795e9!important;}
.vkontakte {color:#587ea3!important;}
.vkontakte:hover {color:#466482!important; }
/*social_button*/


hr.pag {
    background-color: #222;
    border: 0;
    height: 2px;
    margin: 25px 0 10px 0;
}

    
#outer {
position: relative;
    /*margin-top: 140px;
     margin-bottom: -140px;*/
    top: 50%;
    /*-webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);*/
}
.entry-content table td {
    padding: 10px 0; 
}

#middle {position: absolute;  top: 50%;left:1%;width:98%;overflow: hidden;z-index:1;} /* For explorer only*/
#middle[id] {display: table-cell; vertical-align: middle; margin: 0 auto;}

#inner {position: relative; z-index: 9; top: -50%; text-align: center;} /* For explorer only */
/* Optional: #inner[id] {position: static;} */

@media (min-width: 1600px) {
    .directions li a {
   font-weight: 500;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    padding: 22px 20px 22px 20px;
}
    .post-categories li a {
    color: #cccccc!important;
    text-decoration: underline;
    font-size: 1.2vw;
    font-family: 'PT Sans', sans-sarif;
    font-weight: normal;
}}

@media (max-width: 700px) {
    .clinic ol li {
    position:relative;
    float:left;
    display:block;
    color:#fbfbfb;
    max-width:30%;
    margin: 0 30px 10px 30px;
    font-size:15px;
    line-height:1;
    padding-left:10px;    
}
}

@media (max-width: 1024px) {
    .clinic ol li {
    position:relative;
    float:left;
    display:block;
    color:#fbfbfb;
    max-width:30%;
    margin: 0 30px 10px 30px;
    font-size:18px;
    line-height:1;
    padding-left:10px;    
}
    .clinic {
    border-left: 3px solid #da393b;
    margin-left: 0;   
    margin-bottom: 7%;
    padding: 10px 0;
}
    
    #footermenu a {
	font-family: 'PT Sans', sans-serif;
    display: inline-block;
	text-decoration: none;
    color: #f1f1f1;
    font-size:11px;
    font-weight: 500;
    clear: both;
    text-transform:uppercase;
}
}
@media (min-height: 1024px) {
   
    .clinic {
    border-left: 3px solid #da393b;
    margin-left: 0;
    margin-top: 10%;
    margin-bottom: 7%;
    padding: 10px 0;
}
    .carousel-caption {
    position: relative;
    top: 50%!important;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    padding-right: 0;
}
    
}

@media (min-height: 768px) and (max-height: 1023px) {
   
    .clinic {
    border-left: 3px solid #da393b;
    margin-left: 0;
    margin-top: 5%;
    margin-bottom: 7%;
    padding: 10px 0;
}
}

@media (min-height: 600px) and (max-height: 767px) {
   
    .clinic {
    border-left: 3px solid #da393b;
    margin-left: 0;
    margin-top: 2%;
    margin-bottom: 7%;
    padding: 10px 0;
}
}

@media (max-height: 599px) {
   
    .clinic {
    border-left: 3px solid #da393b;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 10px 0;
}
}


@media (max-width: 1300px) {
    .clinic ol li {
    position:relative;
    float:left;
    display:block;
    color:#ccc;
    max-width:35%;
    margin: 0 30px 10px 30px;
    font-size:18px;
    line-height:1;
    padding-left:10px;    
}
    h3.nameslide, h3.nameslide a {
    color: #f1f1f1!important;
    font-family: 'Roboto';
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: none!important;
    text-decoration: none;
    text-align: left;
        font-size:28px;
}
    .directions li a {
    display: inline-block;
    color: #fff;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    padding: 20px 0px 20px 20px;
    line-height: 20px;
    transition-duration: 1s;
    animation-delay: 1s;
}
}



@media (max-width: 800px) {

     .bgnews {
    background: #fff;
    padding-right: 0px;
    line-height: 1.2;
}
    
    .directions ul {
       margin: 0 auto 0 0px;
}
    
    .menu-item a.menu-image-title-after.menu-image-not-hovered img {
        display: none;
    }
    .directions li {
    float: none;
    list-style-type: none;
    text-align: center;
}
    .menu-item a.menu-image-title-after.menu-image-not-hovered  {
        display: block;     
        padding: 20px 0;
    }
    
    .directions li {
    float: none;
    list-style-type: none;
    text-align:center;
    border-bottom: 1px solid #ccc;
    padding: 10px;
}
    
.directions li:last-child  {
    float: none;
    list-style-type: none;
    text-align:center;
    border-bottom: 0px solid #ccc;
}
         
.clinic { 
    border-left:3px solid #ccc;
    margin-left:0;  
    margin-bottom:7%; 
    padding:10px 0; 
}
    .carousel-caption {
    position: relative;
    top: 40%;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    padding-right: 0;
}
    #footermenu li {	
    float:none;
    display: block;
    padding: 15px 15px 15px 0;
    -webkit-transition-duration: 2s;
    -o-transition-duration: 2s;
    -moz-transition-duration: 2s;
    transition-duration: 2s;
    border-right:0px solid #f1f1f1;
     border-bottom:1px solid #f1f1f1;
}
    
    #footermenu li:last-child {	    
    border-bottom:0px solid #f1f1f1;
}
    #footermenu {
    font-family: 'PT Sans', sans-serif;
    display: block;
    /* float: left; */
    list-style: none;
    margin: 15px 20px 0 -20px;
}

    .footerblock {
        margin-left: 20px;
        margin-bottom: 20px;
    }
}





@media (max-width: 680px){
h3.nameslide, h3.nameslide a {
    color: #f1f1f1!important;
    font-family: 'Roboto';
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: none!important;
    /* text-decoration: none; */
    text-align: left;
    }
    
      .carousel-caption {
    position: relative;
    top: 50%;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    padding-right: 0;
}
    .cd-header-buttons li.mdl {
        display: none;
    }
   

}
    

@media (max-width: 480px){
    
.header img, .header-intro img {
    /* width: 65px; */
    text-align: center;
    padding: 2px 0 0 0;
    margin-left: 20px;
}  
.header img#full, .header img#intro, .header-intro img#introimg {
    padding-top: 10px; 
    width: 250px;
    height: 89px;
}
.cd-header-buttons li.mdl {
        display: none;
    }
.cd-header-buttons {
  position: absolute;
  display: inline-block;
  top: 5px;
  right: 5%;
}    
    
#footermenu li {	
    float:none;
    display: block;
    padding: 15px 0;
    -webkit-transition-duration: 2s;
    -o-transition-duration: 2s;
    -moz-transition-duration: 2s;
    transition-duration: 2s;
    border-right:0px solid #f1f1f1;
     border-bottom:1px solid #f1f1f1;
}
    
    #footermenu li:last-child {	    
    border-bottom:0px solid #f1f1f1;
}
    #footermenu {
    font-family: 'PT Sans', sans-serif;
    display: block;
    /* float: left; */
    list-style: none;
    margin: 15px 0 0 -40px;
}

    .footerblock {
        margin-left: 20px;
         margin-bottom: 20px;
    }
}
.footerclass {
    color:#ccc;
    font-size:12px;
    padding: 20px; 
}

.box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.box .well {
    flex: 1;
    order: 2;
    text-align: center;
    padding: 110px 0;
    position: relative;
     z-index: 2;
}  




.imgcatbgintro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 1;
}
.socialpush {
    color:#444;
    font-size: 18px;
}

#post-45 img {
    display:inline-block;
    border:1px solid #ccc;
    padding:10px;
    margin: 0 20px 20px 0;
    vertical-align: top;
}

.su-subpages li, .su-subpages li li, .su-subpages li li li {
    list-style-type: none;
}

.su-subpages {
    margin-left: -40px; 
}

.su-subpages li {
    font-size:20px;
    font-weight: bold;
}

.su-subpages li ul {padding-bottom: 20px; padding-top: 10px; margin-left:-10px;}

.su-subpages li li {
    font-size:17px;
    font-weight: 400;
}

.su-subpages li a {    
    color: #444!important;
}
h3.quest {
    margin-bottom:20px;
}
.pag {
    margin-bottom:20px;
}


.infoboxright {
    position: fixed;
    z-index: 9;
    width: 500px;
   /* height: 200px;*/
    top: 20%;
    right: -500px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

.infoboxright a {
    display: block;
    float: left;
    font-weight: bold;
    text-align: center;
    color: #fbfbfb;  
    padding: 10px;  
}

.infoboxright .infoclick {      
    background: #3953a4;   
    color: #fff!important;
}

.infoboxright .pojertv {      
    background:#5db02e;
}



.infoboxright a:hover { 
    background: rgba(238, 51, 66, .9);
    text-decoration: none;
    }

@media (max-width: 680px){
   
}
a.goarticle {
    display: inline-block;
    background: rgba(255, 255, 255, 1);
    padding: 15px 40px;
    font-weight: bold;
    border: 2px solid #fff;
    color: #000!important;
    margin-top: 20px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 2px;
}
a.goarticle:hover {
    background: rgba(218, 57, 59, 1);
    border: 2px solid rgba(218, 57, 59, 1);
    color: #fff!important;
}


/*accordion*/

/* Стиль для панелей першого рівня */
.panel-group .panel-heading .panel-title {
    font-size: 20px; /* Размер шрифта для панели первого уровня */
    border-top: 1px solid #fff;
    padding: 15px;
    display: block;
    background: #3953a4;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: all 0.6s ease;
}

.panel-group .panel-heading .panel-title:hover {
    background: #2e4287; /* Темнее при наведении */
    
}

.panel-group .panel-heading .panel-title:focus,
.panel-group .panel-heading .panel-title:active {
    background: #233161; /* Еще темнее при клике */
   
}

.panel-group .panel-heading .panel-title:hover {
    background: #2b4186;
    padding-left: 30px;
}

.panel-group .panel-heading .panel-title a {
    color: #fff!important;
}
.panel-group .panel-heading .panel-title a:hover {
    text-decoration: none;
}


/* Стиль для панелей другого рівня */
.panel-group .panel .panel-collapse .panel-body  {
    font-size: 14px; /* Розмір шрифта для панелі другого рівня */
    font-weight: bold; /* Жирний шрифт */
    margin-top: 5px; /* Відступ зверху */
    margin-bottom: 5px; /* Відступ знизу */
    padding-left: 20px;
  
}
/* Додаткові стилі для заголовків другого рівня */
.panel-group .panel .panel-collapse .panel-body .panel-group .panel .panel-heading {
    padding-left: 15px; /* Зміщення заголовків другого рівня */
}

/* Стиль для таблиці всередині вкладок */
.panel-group .panel .panel-collapse .panel-body table {    
    border-collapse: collapse; /* Забезпечує, щоб кордони клітинок не дублювались */
    width: 100%!important; /* Таблиця буде займати всю ширину доступного простору */
}

.panel-group .panel-heading .panel-title a {
    display: block;
    width: 100%;
}

/* Стиль для клітинок таблиці */
.panel-group .panel .panel-collapse .panel-body table td,
.panel-group .panel .panel-collapse .panel-body table th {
    border-bottom: 1px solid #87a4ff; /* Кордон клітинок таблиці кольору #ccc */
    padding: 10px; /* Відступи від країв клітинок */
    font-weight: 400;    
}

.panel-group .panel .panel-collapse .panel-body table thead {
    color: #3953a4!important;
    font-weight: 600!important;
    background: #f1f4ff;
}

/* Стиль для заголовків таблиці */
.panel-group .panel .panel-collapse .panel-body table th {
    background-color: #f9f9f9; /* Світлий фон для заголовків таблиці */
   
}

.panel-group .panel .panel-collapse .panel-body table tr:hover {
    background:  #FDFDFF;
}

.panel-title .toggle-icon {
    float: left;
    font-size: 18px;
    font-weight: bold;
    padding-right: 20px;
}

/* Вирівнювання*/
.panel-group .panel .panel-collapse .panel-body table td:nth-child(1),
.panel-group .panel .panel-collapse .panel-body table td:nth-child(3),
.panel-group .panel .panel-collapse .panel-body table td:nth-child(4),
.panel-group .panel .panel-collapse .panel-body table th:nth-child(1),
.panel-group .panel .panel-collapse .panel-body table th:nth-child(3),
.panel-group .panel .panel-collapse .panel-body table th:nth-child(4) {
    text-align: center;
}

/*  */
.panel-group .panel .panel-collapse .panel-body table tbody td:nth-child(3) {
    font-weight: 700;
}

.panel-group .panel .panel-collapse .panel-body table thead {
    text-align: center;  
}

ul.pay {
    list-style-type: none;
    margin-left: -40px;
}

ul.pay li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    background: #dc3545;
    border-radius: 4px;
    margin-bottom: 2px;
    width: 100%;
    color: #fff;    
}

ul.pay li a:hover{
    background: #b31928;
}

html {
    scroll-behavior:smooth;
}

/*accordion*/


#post-444 .psgal img {
    border: 1px solid #ccc!important;
}


#poradnikAccordion {
    display: block;
    width: 100%;
    margin-top: -20px;
}

#poradnikAccordion .panel-heading .panel-title {
    display: block;
    width: 100%;
    font-size: 20px;   
    padding: 25px 15px;
    display: block;
    background: #f6f6f6;
    border-radius: 4px;    
    text-decoration
    transition: all 0.6s ease;
    font-weight: bold;
    margin-bottom: 5px;
   
}

#poradnikAccordion .panel-heading .panel-title a {
    color: #000!important;
    font-size: 20px;
}

#poradnikAccordion .panel .panel-collapse .panel-body
 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
    border-bottom: 2px solid #f6f6f6;
    margin-bottom: 20px; 
}

 #poradnikAccordion .accordion-toggle::before {
    content: '+';
    float: left;
    margin-right: 20px;
    transition: transform 0.3s;
  }

#poradnikAccordion .accordion-toggle.collapsed::before {
    content: '+';
     color: red;
    
  }

#poradnikAccordion .accordion-toggle:not(.collapsed)::before {
    content: '–';
  }

.titlevac {
    font-size: 14px!important;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 0 5px 0;
    display: inline-block;
}

.textsmall {
    font-size: 12px;
    letter-spacing: 1px;
    color: #4b4b4b !important;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Оригинальные стили: адаптированы */
.job-type-label {
  display: inline-block;
  position: relative;
  padding-left: 29px;
  margin-right: 10px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  line-height: 22px;
}

.job-type-label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border: 2px solid #3953a4;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.job-type-checkbox {
  display: none;
}

.job-type-checkbox:checked + .job-type-label:before {
  background-color: #96b6d7;
  border-color: #3953a4;
}

.job-type-checkbox:checked + .job-type-label:after {
 
  position: absolute;
  left: 5px;
  top: 0;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
}

.job-type-checkbox:active + .job-type-label:before,
.job-type-checkbox:checked + .job-type-label:active:before {
  transform: scale(0.95);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.rating-stars {
  text-align: left; /* центрируем всю группу */
}

.rating-stars .wpcf7-list-item {
  display: inline-block; 
  text-align: center;
  margin: 0 10px;
  vertical-align: top;
}

.rating-stars input[type="radio"] {
  display: none; /* скрываем стандартные радиобаттоны */
}

.rating-stars .wpcf7-list-item-label {
  display: block;
  cursor: pointer;
  font-size: 10px;
  text-transform: uppercase;
  
}

/* сами звёзды */
.rating-stars .wpcf7-list-item-label::before {
  display: block;
  font-size: 28px;
  color: #ccc;
  margin-bottom: 5px;
  transition: color 0.2s;
}

/* подписи под звёздами */
.rating-stars .wpcf7-list-item-label span {
  display: block;
  font-size: 12px;
  color: #999;
  text-align: center;
}

/* количество звёзд по позиции */
.rating-stars .wpcf7-list-item:nth-child(1) .wpcf7-list-item-label::before { content: "★"; }
.rating-stars .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label::before { content: "★★"; }
.rating-stars .wpcf7-list-item:nth-child(3) .wpcf7-list-item-label::before { content: "★★★"; }
.rating-stars .wpcf7-list-item:nth-child(4) .wpcf7-list-item-label::before { content: "★★★★"; }
.rating-stars .wpcf7-list-item:nth-child(5) .wpcf7-list-item-label::before { content: "★★★★★"; }

/* выбранный вариант подсвечивается */
.rating-stars input[type="radio"]:checked + .wpcf7-list-item-label::before {
  color: gold;
}

/* подсветка при наведении */
.rating-stars .wpcf7-list-item-label:hover::before {
  color: gold;
}