/* COMMON */
@font-face {
    font-family: Roboto Condensed;
    src: url(fonts/Roboto-Condensed.ttf);
   }
	@font-face {
    font-family: UbuntuCondensed;
    src: url(fonts/UbuntuCondensed-Regular.ttf);
  }
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {font-size: 20px;}
/* body {cursor: url('/cur/mec.cur'), pointer} */
.archive-title, .page-title, .widget-title, .entry-content th, .comment-content th {color: black;}
.entry-content table, .comment-content table {color: black;}
.entry-content .attention {color: red; font-weight: bold; font-size: 21px; line-height: 30px; text-align: center;}
article {border-bottom: 0px !important; margin-bottom: 0px !important;}
article h2 {font-size: 38px !important; text-align: center; line-height: 44px !important;}
a:focus, button:focus {outline: none !important;}
#primary {margin-top: 0px;}
img {box-shadow: none !important;}
body {color: black;}
body.custom-font-enabled {font-family: UbuntuCondensed, "Open Sans", Helvetica, Arial, sans-serif;}
#page {background-color: #e0e0e0; max-width: 1200px !important; box-sizing: border-box; box-shadow: none; margin-top: 10px;}
.site {padding: 0 0.7rem !important;}
.grecaptcha-badge {display: none;}
h1.entry-title {text-align: center; font-size: 72px !important; line-height: 79px !important; color: #ee3926;}
.entry-content > table > tbody > tr > td {border: 1px solid black; padding-left: 3px; padding-right: 3px;}

/* HEADER */
.home header.entry-header {display: none;}
#header-m {min-height: 175px; display: -webkit-flex; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; overflow: unset;}
#masthead {padding-top: 0px; padding-bottom: 5px;}
#tickandlogo {width: 24%; float: left; }
#cittitle {  font-weight: bold;
    margin-bottom: 3px;
    text-align: center;
    letter-spacing: 1px;
    font-size: 16px;
    color: #BFA312;}
#mtphr-dnt-367{    margin-top: 6px;}
#logo {transition: all 0.5s ease; padding-top: 15px;}
#logo:hover {transition: all 0.5s ease;}
#logo img {width: 100%; transition: all 0.5s ease;}
#logo img:hover {transition: all 0.5s ease; width: 95%;}
#hat {width: 42%; padding-top: 5px; padding-bottom: 5px; text-align: center;}
#hat img {max-height: 160px;}
#topcontalign {text-align: center;}
#topcont {width: 30%; float: right; font-size: 29px;}
#mailtop:hover {color: #8EC742 !important; transition: all 0.5s ease;}
#mailtop, #phonetop {display: block; color: #EC3243 !important; text-decoration: none !important; font-size: 25px; line-height: 41px; transition: all 0.5s ease;}
.iconc {width: 29px; margin-right: 6px; margin-bottom: -7px;}
#callbut {text-decoration: none; font-size: 26px; color: white; background-color: #8EC742; padding: 5px; border-radius: 10px; text-transform: uppercase; display: inline-block; margin-top: 15px; transition: all 0.5s ease;}
#callbut:hover {background-color: #EC3243; transition: all 0.5s ease;}
.emodal-title {margin-bottom: 5px;}
.wpcf7-form input {box-sizing: border-box; width: 100%; margin-top: 5px;}
#eModal-1 {padding-top: 30px !important;}
.wpcf7-form input {font-size: 18px;}
.ajax-loader {display: none !important;}
.is-active {display: inline-block !important;}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {font-size: 14px; margin-top: 5px;}

/* NAVIGATION */
#site-navigation {margin-top: 10px;}
#site-navigation ul.nav-menu {text-align: center !important; border: 0px !important; background-color: #ee3926; border-radius: 10px; display: -webkit-flex !important; display: flex !important; justify-content: space-evenly; align-items: center; flex-wrap: wrap; width: 350px; margin-left: auto; margin-right: auto;}
#site-navigation > button {box-shadow: none !important;}
ul.nav-menu li {margin-left: 10px; margin-right: 10px;}
ul.nav-menu li a {color: white; font-size: 36px; line-height: 60px; text-transform: none !important; width: 100% !important; box-sizing: border-box; font-weight: normal !important;}
ul.nav-menu li a:focus, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a {color: #8EC742; font-weight: normal;}
ul.nav-menu li a:hover {color: white;}
.main-navigation .current-menu-ancestor > a {color: white !important;}
ul.sub-menu {background: #ee3926 !important; border-radius: 10px; border-top-left-radius: 0px; border-top-right-radius: 0px;}
ul.sub-menu li {margin-left: 0px; margin-right: 0px; width: 100%;}
ul.sub-menu li a {color: white; font-size: 36px !important; line-height: 33px !important; background: #3188C0 !important; border-bottom: 0px !important; padding-top: 8px !important; padding-bottom: 8px !important;}
ul.sub-menu li a:hover {color: #8EC742 !important;}
ul.sub-menu > li:last-child a {border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;}
.home ul.nav-menu {
  -webkit-animation: blink5 2s linear infinite;
  animation: blink5 2s linear infinite;
}
@-webkit-keyframes blink5 {
  0% { background-color: #3188C0; }
  50% { background-color: #8EC742; }
  100% { background-color: #3188C0; }
}
@keyframes blink5 {
  0% { background-color: #3188C0 }
  50% { background-color: #8EC742; }
  100% { background-color: #3188C0 }
}

/* HOME */
.allnews {text-align: right; color: #EE3926; display: block;}

/* STRUCTURE */
.home .entry-title {display: none !important;}
.pt-cv-title {line-height: 20px !important; text-align: center;}
.pt-cv-title a {text-transform: uppercase; font-size: 20px; letter-spacing: 2px; color: black;}
.pt-cv-href-thumbnail {height: 300px !important; display: -webkit-flex; display: flex; justify-content: center; align-items: center; flex-wrap: wrap;}
.pt-cv-href-thumbnail img {width: auto !important; max-height: 100%; height: auto !important;}
.pt-cv-view .pt-cv-title {min-height: 44px;}
.pt-cv-content {height: 118px !important; position: relative; font-size: 19px; line-height: 23px;}
.pt-cv-wrapper .btn-success {background-color: black !important; color: white !important; border: 0px !important; border-radius: 0px !important; width: 100%; box-sizing: border-box; height: 40px !important;  position: absolute; bottom: 0px; font-size: 18px;}
.pt-cv-meta-fields time {font-size: 15px;}
#dochome {overflow: hidden;}
.docitem {height: 120px; box-sizing: border-box; border: 5px solid red; border-radius: 10px; margin-bottom: 10px; padding-bottom: 1%; font-size: 24px; line-height: 40px; padding-top: 13px; padding-left: 10px; padding-right: 10px; width: 47%; margin: 0px; margin-top: 5px; margin-bottom: 5px; margin-left: auto; margin-right: auto;}
.docitem img {width: 95px; float: left; margin-right: 20px; margin-top: -3px;}
.docitem a {font-size: 30px; color: #3188C0; text-decoration: none;}
.otdhome {margin-top: 20px;}
.otdel {width: 45%; box-sizing: border-box; float: left; border: 5px solid #8EC742; border-radius: 10px;     margin-left: 2.5%;
    margin-right: 2.5%; margin-bottom: 10px; padding-bottom: 5px; padding-top: 8px;}
.otdel a {color: black !important; text-decoration: none !important; font-size: 27px; text-align: center;}
.otdel h3 {font-size: 35px; line-height: 35px; text-align: center; margin-bottom: 5px; margin-top: 0px;}
.otdel p {margin-bottom: 0px; text-align: center;}
#wpcf7-f35-p6-o1 input {width: 100%; box-sizing: border-box; font-size: 16px; margin-bottom: 5px;}
#wpcf7-f35-p6-o1 p {margin-bottom: 5px;}
.wpcf7-recaptcha > div {margin-left: auto; margin-right: auto;}
.flexitems {display: -webkit-flex; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap;}
.flexitems > div {width: 47%; margin: 0px; margin-top: 5px; margin-bottom: 5px; margin-left: auto; margin-right: auto;}
.adr a {font-size: 19px; color: black;}

/* Отдельная новость */
article.type-post .entry-header img {margin-left: auto; margin-right: auto; max-height: 470px; width: auto; display: block;}
article.type-post .entry-meta {font-size: 0px;}
article.type-post .entry-meta time.entry-date {font-size: 16px; font-family: ProximaNova; color: black;}
article.type-post .entry-meta > a {text-decoration: none !important;}
.nav-previous a, .nav-next a {font-family: ProximaNova; color: #EE3926 !important;}
.type-post h1.entry-title {text-align: center;}
.entry-meta > a {font-size: 0px;}
.entry-meta > a:firsct-child {font-size: 17px;}

/* FOOTER */
#colophon {display: none !important;}
#footer-m {display: -webkit-flex; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;}
.footer-menu {text-align: center; width: 100%; margin-bottom: 40px;}
.footer-menu p {font-size: 26px; margin-bottom: 10px; font-weight: bold;}
ul#menu-footer {display: -webkit-flex; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap;}
ul#menu-footer li a {font-size: 20px; margin-top: 5px; margin-bottom: 5px; display: inline-block; padding-left: 5px; padding-right: 5px;}

/* MEDIA */
@media screen and (max-width: 1199px) {

#header-m {display: inline-flex; align-items: center; width: 100%;}
  #mtphr-dnt-367, #cittitle {display: none;}
#tickandlogo, #topcont {width: 50%;}
#hat {display: none;}
#topcontalign {}
#topcont {}
#mailtop, #phonetop {font-size: 32px; line-height: 56px;}
.iconc {width: 40px; margin-right: 6px; margin-bottom: -10px;}
#topcont a:hover {-webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1);}
#callbut {}
#site-navigation {margin-top: 20px;}
#wrapper, .man {display: none !important;}
.docitem { width: 48.75%; font-size: 17px; line-height: 28px;}
div#dochome div:nth-child(odd) {margin-right: 0px;}
  .docitem a {font-size: 23px;}
.otdel {width: 100%; margin-left: 0px !important;}
.otdel h3 {line-height: 27px !important; font-size: 27px;}
.otdel a {font-size: 20px;}
#wpcf7-f35-p6-o1 input {font-size: 16px !important;}
#wpfront-scroll-top-container img {width: 40px !important;}
  
}

@media screen and (max-width: 767px) {
  .alignleft, .alignright, .aligncenter {display: block; float: unset; margin-left: auto !important; margin-right: auto !important;}
  #header-m {display: inline-block;}
  #tickandlogo, #topcont {width: 100%;}
  #mailtop, #phonetop {font-size: 26px; line-height: 44px;}
  #callbut {top: 0px; font-size: 27px;  margin-left: 0px; margin-top: 5px; display: block; width: 100%; box-sizing: border-box; margin-left: auto; margin-right: auto;}
  #logo img {max-width: 590px; margin-left: auto; margin-right: auto; display: block;}
  #topcontalign {float: none !important; min-height: 44px; display: inline-block;}
  #topcont {text-align: center;}
  #topcontalign p #mailtop, #topcontalign p #phonetop {width: 303px; box-sizing: border-box; padding-left: 10px; padding-right: 10px; text-align: left; display: inline-block;}
  .iconc {width: 34px; margin-right: 9px; margin-bottom: -8px;}
  #mailtop {width: 100% !important;}
  .pt-cv-href-thumbnail {height: auto !important;}
  .pt-cv-content {height: auto !important;}
  .pt-cv-wrapper .btn-success {bottom: unset !important;}
  .docitem {width: 100%;}
  .docitem {font-size: 16px;}
  .docitem a {    font-size: 20px;}
  #site-navigation {margin-top: 0px;}
button.menu-toggle {background: #ee3926 !important; color: white !important; border-radius: 10px; font-size: 27px; width: 100%; margin-top: 5px; border: 3px solid;}
  button.menu-toggle:before {font-family: FontAwesome; content: "\f0c9"; margin-right: 10px;}
  #site-navigation ul.nav-menu {display: none !important; width: auto;}
  #site-navigation ul.toggled-on {display: inline-block !important; border-top-left-radius: 0px; border-top-right-radius: 0px;}
  #site-navigation ul.toggled-on li {margin-top: 0px !important;}
  #site-navigation ul.toggled-on li a {text-decoration: none !important; font-size: 26px; line-height: 41px;}
  ul.nav-menu > li {max-width: 250px;}
  ul.nav-menu li a {font-size: 28px !important; line-height: 24px !important;}
  ul.sub-menu li a {font-size: 24px !important; display: inline-block; padding-top: 5px !important; padding-bottom: 5px !important;}
  .home ul.nav-menu {
  -webkit-animation: unset;
  animation: unset;
}
  .flexitems > div {width: 100%;}
  #footer-m {justify-content: center;}
  #footer-m > div {padding-left: 10px; padding-right: 10px; margin-top: 5px; margin-bottom: 5px;}
  
}