/* Pre-styled elements */

* {
    margin:0;
    padding:0;
    outline:0;
}

body {
    background: url(images/fon.jpg) repeat no-repeat top;
    font-family: Century Gothic, 'Helvetica Neue', Helvetica, Arial, serif;
    font-style: normal;
    font-variant: normal;
}

header {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding-top: 10px;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

ul {
    list-style: none;
}

a, a:visited {
    color: #505050;
    text-decoration: none;
}

h1, h2, h3 {
    font-family:'Trebuchet MS', Tahoma, sans-serif;
    font-weight:Bold
}

h1, h2, h3, p {
    padding:10px;
    margin:0
}

code {
    margin:5px 0;
    padding:10px;
    text-align:left;
    display:block;
    overflow:auto;
    font:500 1em/1.5em 'Lucida Console', 'courier new', monospace;
    background:#F5F5F5;
    border-left:3px solid #D4D4D4
}

acronym {
    cursor:help;
    border-bottom:1px dashed #777
}

blockquote {
    font:1.2em 'Trebuchet MS', Tahoma, sans-serif;
    margin:5px;
    padding:0 0 0 10px;
    background:#F5F5F5;
    border-left:3px solid #D4D4D4;
    color:#444;
    font-style:italic
}

table {
    border-collapse:collapse;
    margin:10px
}

th strong {
    color:#fff
}

.float-left {
    float: left;
}

.float-right {
    clear: both;
    float: right;
}

/* The actual stylesheet */

#wrap {
    display: flex;
    flex-direction: column;
    width: 60%;
    max-width: 1180px;
    margin: 0 auto;
}

#content-wrap {
    list-style: none;
}

#logo {
    width: 255px;
}

#zvonok-zamer {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#zvonok-zamer img {
    margin-right: 5px;
}

#contacts {
    color: #65686d;
    font-size: 19px;
}

.slicknav_menu {
    display: none;
}

.g-hidden {
    display: none;
}

#nav {
    width: 100%;
    order: 1;
    margin: 15px 0;
}

#nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#nav ul li {
    width: 16%;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 18px;
    background-color: #f3973a;
    padding: 10px 0;
    text-align: center;
}

#nav ul li a {
    color: #fff;
    text-decoration: none;
}

.navigation {
    width: 100%;
    order: 1;
    margin: 15px 0;
}

.navigation ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.navigation ul li {
    width: 16%;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 18px;
    background-color: #f3973a;
    padding: 10px 0;
    text-align: center;
    position: relative;
}

.navigation ul li a {
    color: #fff;
    text-decoration: none;
}

.navigation li:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
}
.navigation .sub-menu {
  overflow: hidden;
}
.navigation .sub-menu {
  position: absolute;
  padding-top: 4px;
  top: 40px;
  left: 0;
  width: 100%;
  display: block;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.2s ease-in;
}
.navigation .sub-menu ul {
  top: 0;
}
.navigation .sub-menu li {
  width: 100%;
  float: none;
}
.navigation .sub-menu a {
  border: 0;
  padding: 0;
  display: inline-block;
  line-height: 19px;
  text-indent: 0;
  height: auto;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, height 0s, line-height 0s;
}

aside {
    width: 33%;
    float: left;
    flex-direction: column;
    text-decoration: none;
}

#sidebar-name, #sidebar-akciya, #sidebar-news-title {
    width: 80%;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

#sidebar-akciya {
    overflow: hidden;
}

#sidebar-name ul,  #sidebar-akciya-title ul, #sidebar-news-title ul {
    position: relative;
}

aside #sidebar-name ul:nth-child(1), #sidebar-akciya-title ul:nth-child(1), #sidebar-news-title ul:nth-child(1) {
    height: 33px;
    line-height: 33px;
    text-align: center;
    list-style: none;
    background-color: #FF5521;
}

aside #sidebar-name ul:before {
    content: url("images/list-icon.png");
    position: absolute;
    left: 15px;
}

aside #sidebar-akciya-title ul:before {
    content: url("images/sidebar-akciya.png");
    position: absolute;
    left: 15px;
}

aside #sidebar-news-title ul:before {
    content: url("images/sidebar-news.png");
    position: absolute;
    left: 15px;
}

aside .cat-text-name a{
    color: #ff5521;
    font-size: 17px;
}

#sidebar-news ul li {
    position: relative;
    margin-top: 25px;
    list-style: none;
    font-size: 13px;
}

#sidebar-news ul li img {
    float: left;
    margin-right: 5px;
}

.news-post-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.news-post-title a {
    color: #ff5521;
    border: 0;
}

.asidepost1, .asidepost2, .asidepost3, .asidepost4, .asidepost5, .asidepost6, .asidepost7 {
    display: flex;
    width: auto;
    font-size: 14px;
}

.asidepost1 ul, .asidepost2 ul, .asidepost3 ul, .asidepost4 ul, .asidepost5 ul, .asidepost6 ul, .asidepost7 ul {
    /*margin-block-start: 0.1em;*/
    /*margin-block-end: 0.1em;*/
    /*padding-inline-start: 50px;*/
    margin-top: 0.1em;
    margin-bottom: 0.1em;
    padding-left: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.asidepost1 ul li, .asidepost2 ul li, .asidepost3 ul li, .asidepost4 ul li, .asidepost5 ul li, .asidepost6 ul li, .asidepost7 ul li {
    display: inline-block;
    list-style: none;
    width: 44%;
    position: relative;
    margin-bottom: 2px;
}

aside ul li a {
    border-bottom: 1px dotted black;
}

.asidepost1{
    background:url(images/sidelogo1.png) left no-repeat
}

.asidepost2{
    background:url(images/sidelogo2.png) left no-repeat
}

.asidepost3{
    background:url(images/sidelogo3.png) left no-repeat
}

.asidepost4{
    background:url(images/sidelogo4.png) left no-repeat
}

.asidepost5{
    background:url(images/sidelogo5.png) left no-repeat
}

.asidepost6{
    background:url(images/sidelogo6.png) left no-repeat
}

.asidepost7{
    background:url(images/sidelogo3.png) left no-repeat
}

article {
    width: 66%;
    float: right;
}

article iframe {
    max-width: 100%;
}

article h1 {
    margin: 10px 10px 10px 10px;
    font: normal 1.7em Verdana, "Times New Roman", Times, serif;
    color: #ff5521;
    padding: 15px 0 2px 0;
    border-bottom: 1px solid #dadada;
    font-weight: 300;
}

article h2 {
    margin: 10px 10px 10px 10px;
    font: normal 1.4em Verdana, "Times New Roman", Times, serif;
    color: #ff5521;
    padding: 15px 0 2px 0;
    font-weight: 300;
    border-top: 1px #fa9a7d;
}

article h3 {
    margin: 10px 10px 10px 10px;
    font: normal 1.2em Verdana, "Times New Roman", Times, serif;
    color: #ff5521;
    padding: 15px 0 2px 0;
    font-weight: 300;
}

article h5 {
    padding: 15px 0 10px 0;
}

article p {
    color: #373737;
    font-size: 16px;
    line-height: 1.625;
}

table {
    border-collapse:collapse;
    margin:10px
}

.maintable table td {
    border:none
}

article ul {
    margin: 1px 20px;
    line-height: 1.625;
    color: #373737;
    padding: 0 20px;
}

article ul li {
    color: #373737;
    font-size: 16px;
    margin: 10px 10px 10px 15px;
    list-style-image: url(images/listdot2.png);
}

td {
    padding-left:5px;
    padding-right:5px;
}

#phone-plate {
    width: 80%;
    border-radius: 15px;
    background: url(images/plate-fon.png) repeat-x;
    margin: 0 auto 15px auto;
}

#phone-logo {
    color: #FFC600;
    float: left;
    font-size: 27px;
    margin: 14px;
    width: 50%;
}

.phone-title, #phone-logo ul li {
    border-bottom-color: #999999;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

#phone-logo ul {
    margin: 2px 3px 4px 1px;
}

#phone-logo ul li {
    font-size: 14px;
    margin: 8% 0 11%;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
    color: white;
    list-style: none;
}

#phone-list ul {
    margin: 5px 13px 5px 5px;
    float: right;
}

#phone-list a {
    display: block;
    clear: both;
    margin-left: 30px;
}

#phone-list ul li {
    pointer-events:none !important;
    cursor:default !important;
    text-decoration:none !important;
    color: #FFC600 !important;
    font-size: 19px;
    margin-bottom: 8px;
    margin-right: 23px;
    margin-top: 4px;
    list-style: none !important;
}

#footer-wrap {
    border-top: 1px solid #ffc926;
    border-bottom: 1px solid #ff5521;
    background-color: #666;
}

#footer {
    display: flex;
    align-items: flex-start;
    margin: 0 auto;
    width: 60%;
    max-width: 1180px;
    padding: 15px 0;
    justify-content: space-between;
    text-decoration: none;
    list-style: none;
}

#footer h2, #footer .h2 {
    color: #ffc926;
    margin-bottom: 4px;
    padding: 0 10px;
    font-size: 17px;
    font-weight: 700;
    border-bottom: 1px dotted;
    width: 90%;
}

#footer a, #footer p {
    font-size: 14px;
    color: #fff;
    list-style: none;
    padding: 0;
}

#footer-uslugi {
    max-width: 400px;
}

#footer-menu {
    max-width: 80px;
}

#footer-menu h2 {
    max-width: 50px;
}

#footer-address {
    max-width: 450px;
}

#footer-contact {
    max-width: 190px;
}

#footer-text {
    text-align: center;
    color: #fff;
    padding-bottom: 10px;
    font-size: 13px;
}

#footer-text p {
    padding: 0;
}

.scrollup {
    z-index: 102;
    width: 40px;
    height: 40px;
    opacity: 0.2;
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: none;
    text-indent: -9999px;
    background: url(images/icon_top.png) no-repeat;
}

.alignright {
    float: right;
    margin-left: 5px;
    margin-right: 5px;
}

.alignleft {
    float: left;
    margin-left: 5px;
    margin-right: 5px;
}

#post_thumbnail a:hover {
    border:none;
    cursor:pointer;
}

#nav li:hover {
    text-decoration:none;
    background-color:#ff5521
}

a:hover {
    text-decoration:none
}

input.button:hover {
    background:#EEE;
    color:#000;
    cursor:pointer
}

#breadcrumbs a:hover {
    color:#ff5521
}

article a:hover {
    color:#ff5521;
    text-decoration:none;
    font-weight:bold
}

#post-title a:hover {
    color:#61abc2;
    text-decoration:none;
    font-weight:300;
    border:none
}

#uslugimenu a:hover {
    text-decoration:none;
    color:#ff5521
}

.uslugi_post a:hover {
    color:#ff5521;
    opacity:0.8
}

aside a:hover {
    color:#ff5521
}

#sidebar-akciya a:hover {
    text-decoration:none
}

#footer-wrap a:hover {
    color:#61abc2;
    text-decoration:none;
    border-bottom:1px dotted #61abc2
}

.b-modal_close:hover {
    color:#000
}

#uslugi {
    width: 100%;
    margin: 0 auto;
}

#uslugimenu {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 10px;
    list-style: none;
}

#uslugimenu li {
    border-bottom: 1px dotted;
    margin: 7px;
    width: 48%;
    text-transform: uppercase;
}

#uslugimenu li img {
    margin-right: 15px;
}

.yakor {
    position: relative;
}

.yakor img {
    position: absolute;
    top: -35px;
    right: 0;
}

.uslugi_post {
    float: left;
}

.uslugi_post a {
    display: flex;
    flex-direction: column;
    max-width: 250px;
}

.uslugi_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.uslugi_list li {
    margin: 10px 0;
    list-style: none;
}

.uslugi_cat h2 {
    font-size: 20px;
    color: #fff;
    background-color: #505050;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.uslugi_cat ul li {
    list-style: none;
    display: inline-block;
}

#uslugi a {
    text-decoration: none;
    color: #373737;
    font-weight: bold;
}
ul.blog_list {
  padding: 0;
  margin: 0;
}
ul.blog_list li {
  margin: 0;
  padding: 10px;
  list-style-image: none;
  width: 30%;
  float: left;
  display: inline-block;
}
ul.blog_list .uslugi_post {
  width: 100%;
  margin: 0;
}

ul.blog_list li img {
  min-width: 100%;
  width: 100%;
  height: auto;
}
/* Media queries */

@media only screen and (max-width:1700px) {
    #wrap, #footer {
        width: 80%;
    }
}

@media only screen and (max-width:1300px) {
    #wrap, #footer {
        width: 90%;
    }
}


@media only screen and (max-width:1115px) {
    #sidebar-news {
        margin-top: 100px;
    }

    #phone-logo {
        font-size: 25px;
    }

    #phone-list ul {
        float: none;
    }

    #phone-list a {
        margin: 0 auto;
    }
    ul.blog_list li {
      width: 29%;
    }
}

@media only screen and (max-width:1100px) {
    .uslugi_list li {
        flex: none;
    }
}

@media only screen and (max-width:950px) {
    .slicknav_menu {
        display: block;
    }

    aside, #nav, #menu-main-manu, #zvonok-zamer, #footer-address, #footer-menu, .scrollup {
        display: none;
    }

    #wrap, #content-wrap {
        display: flex;
        justify-content: center;
    }

    #content-wrap {
        width: 95%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #breadcrumbs {
        margin-top: 2px;
    }

    #uslugi #uslugimenu li {
        font-size: 12px;
        width: 100%;
    }

    #uslugi #uslugimenu img {
        margin-right: 10px;
    }

    header {
        justify-content: center;
    }

    .pt-cv-wrapper img {
        width: 100%;
    }

    article {
        width: 95%;
    }

    #phone-plate {
        width: 90%;
    }

    #phone-list {
        text-align: center;
    }

    #phone-list ul li {
        font-size: 16px;
    }

    #nav a:hover{
        text-decoration:none;
        background-color:#ff5521
    }

    #breadcrumbs a:hover{
        color:#ff5521
    }
    ul.blog_list li {
      width: 29%;
    }

}

@media only screen and (max-width: 580px) {
    .uslugi_list {
        justify-content: center;
    }

    #gallery-2, #gallery-3, #gallery-4, #gallery-5, #gallery-6, #gallery-7, #gallery-8, #gallery-9, #gallery-10, #gallery-11, #gallery-12 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        display: flex;
        justify-content: center;
    }
    .navigation ul li a {
      font-size: 12px;
    }
    .navigation .sub-menu {
      width: auto;
    }

}

@media only screen and (max-width:500px) {
    html {
        overflow-x: hidden;
    }

    #wrap, #content-wrap {
        width: 100%;
        margin: 5px 0;
    }

    .maintable tr {
        display: flex;
        flex-direction: column;
    }

    .alignleft, .alignright {
        float: none;
        width: 95%;
    }

    #phone-plate {
        display: flex;
        flex-direction: column;
        height: 450px;
        background: url(images/plate-fon.png) repeat;
    }

    #phone-logo {
        float: none;
        width: 100%;
    }

    #footer-uslugi {
        width: 45%;
    }
    ul.blog_list li {
      width: 100%;
      padding: 0;
      margin-bottom: 30px;
    }
    .uslugi_post {
      height: auto;
    }
}
