/* COMMON */
.sidebarr {float: right; }
.entry-content p, .entry-content div, .entry-content span {font-size: 18px;}
a, div, p, span, h1, h2, h3, h4, h5, h6 {font-family: Arial !important; color: black;}
table td > p:last-child {margin-bottom: 0px;}
h1 {font-size: 35px !important;}
h2 {font-size: 30px !important; line-height: 30px !important; padding-bottom: 10px; font-weight: normal; border-bottom: 1px solid #CCCCCC; color: #C1272D; text-align: center;}
h1.entry-title {    background: url(/wp-content/uploads/2017/11/foot2.jpg);
    background-size: 40px;
    padding-left: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    border: 3px solid #ffc627;  border-radius: 15px;}
.us-arrow {    font-family: 'untitled-font-7' !important;}
a:focus {outline: none !important;}
img {box-shadow: none !important;}
#primary {margin-top: 0px !important; width: 100%; float: right;}
#secondary {display: none; float: left;}
.parent-pageid-16 #primary, .page-id-16 #primary {width: 75%;}
.parent-pageid-16 #secondary, .page-id-16 #secondary {width: 25%;   
    box-sizing: border-box; display: block;     margin-top: 0px;}
.red {color: #C1272D;}
#colophon {display: none;}
article {border-bottom: 0px !important; margin-bottom: 0px !important;}
#page {max-width: 1210px; box-shadow: 0 2px 120px rgba(0, 0, 0, 1) !important; margin-top: 10px; border-top-left-radius: 15px; border-top-right-radius: 15px; border-top: 3px solid #ffc627; border-left: 1px solid #ffc627; border-right: 1px solid #ffc627; margin-bottom: 0px; padding-left: 0px !important; padding-right: 0px !important;}
#footer-m {background: url(/wp-content/uploads/2017/11/foot2.jpg); background-size: 40px; border-top: 3px solid #ffc627;}
#footer-m {margin-bottom: 20px !important; padding-top: 15px; padding-bottom: 15px; max-width: 1170px; margin: 0 auto; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; padding-left: 20px; padding-right: 20px; color: black; overflow: hidden; border-left: 1px solid #ffc627; border-right: 1px solid #ffc627;}
#footer-m p {color: black; }
.foot-left {width: 50%; text-align: left; float: left;}
.foot-right {width: 50%; text-align: right; float: right;}
#footer-m a {color: black; text-decoration: none !important;}
.home h1.entry-title {display: none !important;}
.metaslider {}
img.header-image {margin-top: 0px !important; }
.home header.entry-header  {display: none !important;}
div#main {padding-left: 20px !important; padding-right: 20px !important;}
#metah {margin-top: 20px;}
 ul#menu-main li a:hover {color: #FFC627 !important;}
.ewd-slider-section .slider .ewd-slide .slideText .slideTitle, .ewd-slider-section .slider .ewd-slide .slideText .slideExcerpt {text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);}
#metah {display: none;}
.tels {display: none; width: 28%;
    box-sizing: border-box;
    float: right;
    height: 150px;
    text-align: right;
    /*background: url(/wp-content/uploads/2017/11/foot2.jpg);*/
  background-color: #c7c7c7;
    background-size: 40px;
    border-left: 3px solid #ffc627;
    border-bottom: 1px solid gray;}
.buro {display: none; padding-top: 45px; width: 72%;
    box-sizing: border-box;
    float: left;
    height: 150px;
    border-bottom: 1px solid gray;}
.smallh {font-size: 21px !important; font-weight: normal;}
#feedback-div {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    font-size: 150%;
    left: -65px;
    bottom: 15%;
    width: 175px;
  text-align: center; position: fixed;}
#feedback-div a {padding: 20px 10px 20px 8px;
    border-top-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-bottom-right-radius: 3px;
    background: #d4d4d4;
    transition: background .25s linear 0s;
    -moz-transition: background .25s linear 0s;
    -webkit-transition: background .25s linear 0s;
    display: block; text-decoration: none; border-radius: 15px;}
div.telbot {margin-bottom: 10px;}
#feedback-div a:hover {color: white; background: black;}
.page-id-14 table td {vertical-align: middle !important; color: black !important;}
.page-id-14 table td a {color: black !important; line-height: 12px;}
.page-id-14 table tr > td:first-child {padding-left: 15px;}
.emodal-title {margin-bottom: 15px !important;}
.category-novosti header img {margin-left: auto; margin-right: auto; display: block;}

/* NAVIGATION */
#site-navigation {margin-top: 0px !important;}
ul#menu-main {border: 0px !important;}
ul#menu-main li a {text-transform: none; color: black; font-size: 16px; line-height: 18px; max-width: 100px; white-space: normal; text-align: center; vertical-align: middle;}
ul#menu-main li {margin-right: 44px !important;}
ul#menu-main li:last-child {margin-right: 10px !important;}

/* PRACITCE */
.widget-title {    font-size: 26px;
    color: #C1272D;
    text-align: center;}
#menu-prac li a {    color: #C1272D !important;
    font-size: 17px;
    text-decoration: none !important;}
#menu-prac li:before {font-family: FontAwesome; content: "\f02b"; color: #C1272D; margin-right: 10px;}

/* FOOTER */
#menuf {padding-left: 10px; padding-right: 10px; padding-bottom: 15px; display: inline-block; overflow: hidden; width: 100%; box-sizing: border-box;}
#menuf li {display: inline-block; margin-right: 20px;}
#menuf li a {color: #C1272D; text-decoration: none !important; line-height: 30px;}
#menuf li a:hover {color: black !important;}
#menuf ul {text-align: center;}
#foot {border: 3px solid #FFC800;
    margin-left: 20px;
    margin-right: 20px;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 15px;    text-align: center;
    line-height: 30px;
    font-size: 23px;}

/* HOME */
.home #primary {margin-top: 15px !important;}
.nivo-controlNav {padding-top: 0px !important;}
.home #metah {display: block !important;}
.home #masthead {padding-bottom: 0px !important;}
.home .buro, .home .tels {display: block !important;}
.home .tels {    font-size: 18px;
    padding: 15px;
    line-height: 26px;
    padding-top: 38px;}
.home .tels a {text-decoration: none !important;}

/* Сферы деятельности */
.owc-section-page {border-bottom: 0px !important;}
.owc-section-page h2 {margin-top: 0px !important; margin-bottom: 0px !important; color: black !important; text-align: left;}

/* CONTACTS */
.mapplace {height: 400px !important;}
.wpcf7-form input, .wpcf7-form textarea {width: 100%; box-sizing: border-box !important; margin-bottom: 10px !important; margin-top: 5px;}
.wpcf7-form label {margin-top: 10px; margin-bottom: 5px;}
.g-recaptcha > div {margin-left: auto !important; margin-right: auto !important;}
.wpcf7-form input[type="submit"] {font-size: 23px !important;}
#eModal-1 {padding-bottom: 0px !important;}
.cont, .obrs {display: block !important;}
.cont {    font-size: 18px;
    line-height: 26px;
   }
.cont a {text-decoration: none !important; font-size: 24px; line-height: 25px;}
.cont a span {border-bottom: 1px dotted black; font-size: 24px; line-height: 25px;}
.obrs {width: 50%;
    box-sizing: border-box;
  float: right;}
.cont {width: 48%;
    box-sizing: border-box;
    float: left;
   }
.wpcf7-response-output {margin-top: 0px !important;}

@media screen and (max-width: 400px) {
  .imgcenter {
      margin-left: auto !important;
    margin-right: auto !important;
    display: block;
    float: none;}
}

@media screen and (max-width: 600px) {
  .foot-left {width:100%; text-align: left; margin-bottom: 5px;}
  .foot-right {width:100%; text-align: left;}
  .us-arrow {font-size: 20px !important; margin-top: 30px;}
  /* Полезные ссылки */
  .tables {overflow-x: auto !important;}
}

@media screen and (max-width: 1170px) {
  ul#menu-main {text-align: center;}
 ul#menu-main li a {line-height: 16px;}
   ul#menu-main li{margin-top: 8px;}
#site-navigation {width: 100%; margin-top: 10px;}
  img.header-image {text-align: center; margin-left: auto; margin-right: auto; display: block;} 
  .buro, .tels, .cont, .obrs {width: 100% !important;}
  .smallh {font-size: 17px !important; font-weight: normal;}
  h1 {font-size: 25px !important;}
  #foot {font-size: 16px !important; line-height: 19px;}
  .lcp_catlist li {list-style: none !important; margin-left: 0px;}
 .lcp_catlist li img {margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 15px;}
  .parent-pageid-16 #primary, .page-id-16 #primary {width: 100%; float: right;}
.parent-pageid-16 #secondary, .page-id-16 #secondary {width: 100%;     
    box-sizing: border-box; display: block; float: left;}
}

@media screen and (max-width: 1340px) {
  #feedback-div {display: none !important;}
}

@media screen and (min-width: 1170px) {
   #site-navigation {float: right; border: 0px;}
  ul#menu-main li {margin-right: 30px;}
 #site-navigation {margin-top: 98px !important; padding-right: 10px;}
  img.header-image {padding-left: 10px;}
  /* NEWS */
.lcp_catlist li {list-style: none !important; height: 150px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #E6E6E6;}
.lcp_catlist li img {float: left; margin-right: 25px;}
.lcp_catlist li h4 {display: inline; font-size: 24px; line-height: 24px;}
.lcp_catlist li h4 a {color: black !important;}
.date-n {float: right !important; color: black !important;}
.ex-n {height: 105px; margin-bottom: 0px !important;}
.lcp_catlist li > a:last-child {float: right; color: #9f9f9f !important;}
  #menu-prac {padding-left: 30px;}
}

