body h1, body h2, body h3, body h4, body h5, body h6, .ec-portfolio-default .ec-portfolio-text h2, .ec-fancy-titlethree h2 {color: #5a5958;}
.no_wrap {  white-space: nowrap}
.no_padding {padding: 0!important}
.no_margin {margin: 0!important}

/*Эффект наведения на ссылку*/
#boxed_link {
    display: table;
    white-space: nowrap;
    margin: 0 auto;
}

#boxed_link li {
    display: table-cell;
    vertical-align: middle;
    padding: 0 10px;
    position: relative;
    line-height: 1.42857143;
}

#boxed_link a {
    text-decoration: none;
    color: rgba(38,38,38,1);
    position: relative;
    padding: 2px 7px;
    border-top: 2px solid rgba(38,38,38,0);
    border-bottom: 2px solid rgba(38,38,38,0);
    transition: padding .3s,border-color .3s;
}

#boxed_link a:focus, #boxed_link a:hover {
    padding: 5px 7px;
    border-color: rgba(129, 130, 127,1);
    outline: none;
}

#boxed_link a::before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    max-height: 0;
    color: rgba(129, 130, 127,0);
    border-left: 2px solid rgba(129, 130, 127,0);
    content: attr(data-text);
    transition: max-height .3s,border-color 0s;
}

#boxed_link a::after {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 5px;
    max-height: 0;
    color: rgba(129, 130, 127,0);
    border-right: 2px solid rgba(129, 130, 127,0);
    content: attr(data-text);
    transition: max-height .3s,border-color 0s;
}

#boxed_link a:focus::before, #boxed_link a:hover::before, #boxed_link a:focus::after, #boxed_link a:hover::after {
    max-height: 100%;
    transition-delay: .28s;
    border-color: rgba(129, 130, 127, 1);
}

/* Header */
.ec-megamenu .megamenu_item_wrap {padding: 10px; }
.ec-megamenu .megamenu_item {box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);}
.ec-megamenu .wp3_shd {
    position: absolute;
    width: 165px;
    height: 26px;
    background-image: url(/assets/extra-images/liftedshadow_medium.png);
    background-repeat: no-repeat;
}
.wp3_right { right: -12px; background-position: 100% 0;}
.wp3_left { left: -12px; background-position: 0 0;}
.ec-megamenu .ec-megamenu_label { left: 18%; position: absolute; top: 0; width: 172px; background-color: rgba(251, 255, 0, 1);
                                  transition: border-color 0.4s ease 0s, background-color 0.4s ease 0s; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
                                  border: solid rgba(127, 126, 126, 1) 0px; font-family: sans-serif; color: black; font-size: 20px; text-align: center; padding: 5px 0}

/*@media (min-width: 991px) {
    .ec-header-three .ec-megamenu-style .ec-megamenu { right: auto; left: 0;}
}
@media (min-width: 991px) and (max-width: 1200px) {
    .ec-header-three .ec-megamenu-style .ec-megamenu {width: 900px;}
}*/

/*Центрирование дива*/
.outer:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.inner {
    display: inline-block;
    vertical-align: middle;
}
/* добавим горизонтальное центрирование */
.outer {
    text-align: center;
}

/* Эффект для заголовков */
.wp3_shd {
    position: absolute;
    width: 165px;
    height: 26px;
    background-image: url(/assets/extra-images/liftedshadow_medium.png);
    background-repeat: no-repeat;
}
.wp3_right { right: -12px; background-position: 100% 0;}
.wp3_left { left: -12px; background-position: 0 0;}
.header_label { position: relative; top: 0; background-color: rgba(251, 255, 0, 1);
                transition: border-color 0.4s ease 0s, background-color 0.4s ease 0s; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
                border: solid rgba(127, 126, 126, 1) 0px; font-family: sans-serif; color: black; font-size: 28px; text-align: center; padding: 7px 50px; margin: 5px 0 15px 0}



.ec-breadcrumb li {color:#464646}

.ec-bgcolor-two, .ec-bgcolorhover-two:hover, .ec-section-heading h2:before, .ec-circle-btn, .ec-app-btn a:hover, .ec-portfolio-link a, .ec-contact-network li:hover a { background-color: rgba(0, 236, 61, 1)}
.ec-bordercolor-two, .ec-bordercolorhover-two:hover, .ec-portfolio-link a { border-color: rgba(0, 236, 61, 1)}

.ec-simple-btn {padding: 11px 23px 12px 23px}

/****** Главная ******/
#main_works_types h3 {text-align: center; color: #404040; margin-bottom: 0}
#main_works_types .slick-arrow {background-color: transparent; border: none; color: #d7d7d7; position: absolute; top: 40%; height: auto; width: auto; }
#main_works_types img {padding: 0px 20px;}
#main_works_types .slick-arrow-left {left: 0; right: auto;}
#main_works_types .slick-arrow-right {right: 0; left: auto;}
#main_works_types a:hover h3 {color:#9c9898}

/*Наши работы*/
.ec-blog-carousel-wrap figure img {height: 470px;}

.ec-featured-text span { font-size: 22px; }
.ec-featured-text p { font-size: 18px; }
.ec-featured-list i {width: 80px; height: 80px; padding: 25px 0px 0px 0px; font-size: 36px;}

.ec-blog-carousel .slider_label { background: rgba(0, 236, 61, 0.91); padding: 15px 40px; font-size: 30px; position: absolute; left: 0; top: 70px; color: #fff; font-weight: 600;}

#about .ec-testimonial-slider:focus, #about .slick-slider:focus, #about .slick-track:focus, #about .ec-testimonial-paragraph:focus {outline: none!important}
#about .ec-testimonial-paragraph p {margin-bottom: 10px;}
#about .ec-testimonial-paragraph {font-size: 20px;}
#about .ec-testimonial-paragraph i {color: #00ec3d; padding-right: 5px}
#about .ec-testimonial-thumb small {font-size: 18px; width: 100%;}
#about .slick-slide {outline-width: 0}

#contacts .ec-for-contact i {color: #00ec3d; padding-right: 5px}

#price .ec-event-text h2 {margin-bottom: 20px; font-size: 20px!important;}
#price .ec-event-text a.ec-simple-btn {padding: 5px 15px 6px 15px}

#type_of_work .ec-fancy-title.text-center {margin-bottom: 10px;}
#type_of_work h3 {text-align: center; margin-top: 20px}
#type_of_work h4 {text-align: center}
#type_of_work .ec-list-style-icon li {font-size: 16px;}
#type_of_work .price_table {font-size: 16px; text-align: center; margin-bottom: 40px; clear: both; padding-left: 0; padding-right: 0; }
#type_of_work .table_col {padding: 0 5px; }
#type_of_work .price_table .table_header {font-size: 18px; margin: 5px 0; padding: 10px 0; background-color: rgb(159, 160, 154); color: #fff}
#type_of_work .price_table .table_cell { background-color: rgba(243, 243, 243, 0.8); margin: 3px 0px; padding: 6px 0;}
#type_of_work .price_table .table_cell.align-left { text-align: left; padding-left: 25px;}
#type_of_work .price_table .table_cell.hover:hover a { color: rgb(255, 255, 255);}
#type_of_work .price_table .table_cell.hover:hover { background-color: rgb(159, 160, 154);}
#type_of_work .price_table .table_last { background-color: #00ec3d; color: #fff; font-weight: 600}
#type_of_work p {font-size: 16px;}
#type_of_work .map_nums {margin-bottom: 50px}
#type_of_work .map_nums_table {margin-top: 60px}
#type_of_work .map_nums li span {min-width: 210px; display: block; float: left; font-weight: 600}

#type_of_work .video-container {position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden;}
#type_of_work .video-container iframe, #type_of_work .video-container object, .video-container embed {position:absolute;top:0;left:0;width:100%;height:100%;}

#type_of_work .ec-simple-btn:hover, #price .ec-simple-btn:hover {background-color: rgba(0,236,61,0.6)}
#type_of_work .ec-simple-btn.white {background-color: #fff; color: #444342; border: 1px solid #262626;}
#type_of_work .ec-simple-btn.white:hover {background-color: rgba(245, 245, 245, 0.9)}
#price .ec-simple-btn.white  {background-color: rgba(245, 245, 245, 0.9); color: #444342; border: 1px solid #262626;}
#price .ec-simple-btn.white:hover {background-color: #fff}
#type_of_work .map_marker:hover p, #price .map_marker:hover p  {color: #52bdea!important}

#type_of_work .ec-portfolio-text .ec-simple-btn {padding: 8px 20px;}
#type_of_work .row_number {display: none;}
#type_of_work .price_table_row {clear: both}
#map_wrapper  {margin-top: 50px; text-align: center}

/* Footer */
.widget_twitter .ec-contact-icon li {float: left; margin: 0px; list-style: none; margin-right: 15px; width: initial;}
.widget_contact_info ul.ec-contact-list li i {font-size: 20px; color: #00ec3d; padding-top: 3px}


/* Контакты */
.ec-contact-nav li.active a:before {    border-bottom-color: #4caf50;}

/*Тест заголовка*/
.ec-static-title span {    font-size: 40px!important;}
.ec-static-title span:before {    top: 31px!important;}
.ec-static-title span:after {    top: 31px!important;}

/* Акции */
.ec-eachday-info {
    display: flex;
    justify-content: center;
    background: url('/assets/images/paint-pattrenimg.png');
    background-repeat: no-repeat;
    background-position: center center;
    padding: 60px 0px;
}
.ec-eachday-info h2, 
.ec-eachday-info p {
    background: #fff;
    color: #262626;
    opacity: 0.8;
}
.ec-eachday-info h2 {
    margin-bottom: 50px;
}
.ec-eachday-info-wrap {
    width: 60%;
    padding: 0 100px;
}
.ec-full-width img {
    width: auto;
    height: 100%;
}
.sign-thumb {
    width: 45%;
}
.flex-items-center {
    display: flex;
    align-items: center;
}
@media (max-width: 768px) {
    .ec-eachday-info {
        padding: 20px 0;
    }
    .ec-eachday-info h2 {
        font-size: 30px;
    }
    .ec-eachday-info-wrap {
        width: 100%;
        padding: 0;
    }
    .sign-thumb {
        width: 80%;
    }
    .hidden-xs {
        display: none;
    }
}

/* Responsive */
.padding-top-30 {padding-top: 30px!important}

@media (max-width: 1300px) {
    .ec-dropdown-menu {width: 200px;}
}
@media (max-width: 1200px) {
    .ec-header-three .navbar-nav > li > a {padding: 1px 5px 1px 5px;}
    .ec-blog-carousel .slider_label { padding: 5px 15px; font-size: 20px; top:50px}
    #type_of_work .price_table .table_cell.align-left {padding-left: 10px}
    #type_of_work .map_nums_table {margin-top: 0}
}
@media (max-width: 1023px) {
    #rev_slider_7_1 .tp-caption {display: none}
}
@media (max-width: 992px) {
    #ec-header .navbar.navbar-default {padding-top: 0!important}
    .ec-blog-carousel-wrap figure img {height: 300px;}
    .ec-counter-slider .slick-arrow-left {right: 80px;}
    .ec-main-section.ec-counter-full .slick-arrow {width: 81px; height: 72px; padding: 11px 0px 0px 0px;}
    .ec-logo a {padding-top: 0}
    .ec-dropdown-menu {width: 100%}
    .ec-dropdown-menu .ec-dropdown-menu {left:0}
    .ec-header-three .ec-dropdown-menu {box-shadow: none;}
    #menu_naruzhnaya_reklama {display: none}
    .navbar-nav {padding: 0 15px;}
    .navbar-nav a {border-bottom: 1px solid #f8f8f8; border-radius: 0;}
    .navbar-nav li {line-height: 20px;}
    .ec-header-three .navbar-nav > li > a {padding: 8px 10px;}
    .ec-header-three .navbar-nav > li > a:hover { border-radius: 20px; background-color: #00ec3d; color: #fff!important;}
    #map_wrapper  {width:100%; margin-top: 0}
    .navbar-collapse {position: absolute; left: -240px;}
    
    /*Work table*/
    #type_of_work .ec-event-countdown {margin-bottom: 20px;}
    #type_of_work .price_table {width: 100%;}
    #type_of_work .price_table .table_cell, #type_of_work .price_table .table_header { margin: 2px;}
    #type_of_work .price_table_row {display: flex; align-items: center;}
    #type_of_work .no_background_color {background-color: transparent!important}
    #type_of_work .price_table .fa {color: #484848;}
    #type_of_work .ec-detail-editore .ec-list-style-icon {margin-bottom: 0; padding-top: 0}
    #type_of_work .row_number {display: initial;}
    #type_of_work .table_col {padding: 0; }
}
@media (max-width: 768px) {
    .ec-header-three .ec-logo {padding-left: 10px; padding-top: 5px;}
    .ec-custom-space {margin-bottom: 0}
    .ec-portfolio-default {text-align: center}
    .ec-portfolio-default .ec-portfolio-text p {margin-bottom: 0}
    .ec-fancy-titlethree h2 {font-size: 25px;}
    .ec-static-title span {font-size: 36px!important; line-height: 1; padding: 20px 0;}
    .ec-static-title span:after, .ec-static-title span:before {top:40px!important}
    .ec-fancy-titlethree {margin-bottom: 0}
    .ec-fancy-title h2 { font-size: 35px}
    #map_wrapper {margin-bottom: 10px;}
    #map_wrapper p {font-size: 30px!important;}
    .ec-portfolio-defaultfull {padding: 24px 0}
    .row {margin-left: -5px; margin-right: -5px}
}
@media (max-width: 500px) {
    #about .ec-plane-service .ec-service-wrap {padding-left: 0}
    #about .ec-service ul li {margin-bottom: 0px;}
    .ec-blog-carousel-wrap figure img {height: 170px;}
    .ec-blog-carousel .slider_label { padding: 4px 7px; font-size: 15px; top: 15px;}
    .ec-blog-carousel .slick-arrow {top: 26%}
    .ec-static-title span { font-size: 28px!important; padding: 15px 0;}
                           
    /*Work table*/   
    .ec-static-title span:after, .ec-static-title span:before {    background: none;}
    #type_of_work .price_table .table_header_small {font-size: 13px; height: 45px; line-height: 2}
    #type_of_work .price_table .table_cell.align-left {padding-left: 10px; font-size: 14px;}
}
    

@media (max-width: 990px) and (min-width: 768px) {
    .price_table .col-md-7, .price_table  .col-md-5 {  width: 50%;}
}


/* Галерея */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .pp_pic_holder{ left: 50% !important; width: 400px !important;  margin-left: -200px !important; }
    div.pp_default .pp_content_container .pp_right{ padding-right: 21px !important; }
    .pp_content, #pp_full_res img{ width: 100% !important; height: 100% !important; }
    div.pp_default .pp_details {margin-top: 20px !important; }
    div.facebook .pp_details {margin-top: -20px !important;width: 100%!important}
    .pp_top .pp_left, .pp_bottom .pp_left, .pp_top .pp_middle, .pp_bottom .pp_middle, .pp_top .pp_right, .pp_bottom .pp_right {height: 0;}
    .pp_content_container .pp_left, .pp_content_container .pp_right {padding: 0}
}

@media only screen and (max-width: 479px) {
    .pp_pic_holder{ left: 50% !important; width: 300px !important;  margin-left: -150px !important; }
    div.pp_default .pp_content_container .pp_right{ padding-right: 21px !important; }
    .pp_content, #pp_full_res img{ width: 100% !important; height: 100% !important; }
    div.pp_default .pp_content_container .pp_details {margin-top: 20px !important; }
    div.facebook .pp_details {margin-top: -30px !important;width: 100%!important}
    .pp_top .pp_left, .pp_bottom .pp_left, .pp_top .pp_middle, .pp_bottom .pp_middle, .pp_top .pp_right, .pp_bottom .pp_right {height: 0;}
    .pp_content_container .pp_left, .pp_content_container .pp_right {padding: 0}
}