/*
Theme Name: Ordercom
Author: Zobnin Andrei
Author URI: http://fiter.su
Description: Theme for ordercom.ru
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ordercom

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.
*/


@font-face {
    font-family: 'pf din text cond pro';
    src: url('fonts/pf_din_text_cond_pro.eot');
    src: url('fonts/pf_din_text_cond_pro.eot?#iefix') format('embedded-opentype'),
         url('fonts/pf_din_text_cond_pro.woff2') format('woff2'),
         url('fonts/pf_din_text_cond_pro.woff') format('woff'),
         url('fonts/pf_din_text_cond_pro.ttf') format('truetype'),
         url('fonts/pf_din_text_cond_pro.svg#pf_din_text_cond_proregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pf din text cond pro';
    src: url('fonts/pfdintextcondpro-light.eot');
    src: url('fonts/pfdintextcondpro-light.eot?#iefix') format('embedded-opentype'),
         url('fonts/pfdintextcondpro-light.woff2') format('woff2'),
         url('fonts/pfdintextcondpro-light.woff') format('woff'),
         url('fonts/pfdintextcondpro-light.ttf') format('truetype'),
         url('fonts/pfdintextcondpro-light.svg#pf_din_text_cond_prolight') format('svg');
    font-weight: 300;
    font-style: normal;

}

html {
    font-size: 16px;
}

body {
    font-family: 'pf din text cond pro';
    background-color: #f6f6f6;
}

.home {
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color:#326c94;
}

a:hover {
    color:#326c94;
}

h1, h2, h3, h4, h5, h6 {
    /*font-weight: bold;*/
}

.btn {
    background-color: #fc7300;
    color: #fff;
    font-size: 1.5em;
    /*font-weight: bold;*/
    width: 280px;
    max-width: 100%;
    border-radius: 10px;
    padding: .5rem .75em;
    font-family: 'pf din text cond pro' !important;
}

.orange,
.orange:hover {
    color: #fc6a1f;
}

input {
    max-width: 180px;
    background-color: #fcfcfc;
    border: 1px solid #dfdfdf;
    margin-bottom: 5px;
}

textarea {
    max-width: 100%;
    background-color: #fcfcfc;
    border: 1px solid #dfdfdf;
    width: 100%;
    height: 7.5em;
}

label {
    color: #6e6e6e;
    /*font-weight: bold;*/
}

.wpcf7-acceptance {
    display: block;
    margin: 0;
    text-align-last: left;
    font-size: 0.75em;
    text-align-last: center;
    text-align: center;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin:0;
    display: inline-block;
}

.wpcf7-acceptance a {
    text-decoration: underline;
}

span.wpcf7-not-valid-tip {
    font-size: .875em;
    line-height: 1;
}

.g-recaptcha > div {
    margin: 0 auto;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing, div.wpcf7-mail-sent-ok {
    border-color:#fe7300;
}

.wpcf7 div.wpcf7-response-output {
    margin-top: -1em;
    font-size: 0.875em;
    color: #fe7300;
    line-height: 1.2;
    padding: .5em;
}

/*****************
    HEADER
*****************/

header { 
    background-color: #fff;
}

header .address-wrapper p {
    margin: 0;
    /*font-weight: bold;*/
}

header .address-wrapper .worktime{
    color: #9f9f9f;
    font-size: 1.5em;
}

header .address-wrapper .address img {
    width: 1.125em;
    margin-right: 5px;
}

header .address-wrapper .address span {
    font-size: 1.125em;
    color: #3c3c3c;
    display: inline-block;
    line-height: 1;
}

header .phone-wrapper p {
    margin-bottom: 0;
    text-align: right;
}


header .phone-wrapper a {
    font-size: 1.4em;
    /*font-weight: bold;*/
}

/*****************
    HEADER NAV
*****************/

nav.primary-nav #mega-menu-wrap-top,
nav.primary-nav #mega-menu-wrap-bottom{
    background-color: #3d3d3d;
}

nav.primary-nav #mega-menu-wrap-top #mega-menu-top,
nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

nav.primary-nav #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item > a.mega-menu-link,
nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom > li.mega-menu-item > a.mega-menu-link {
    line-height: 1.2;
    font-family: Roboto;
    display: flex;
    align-items:center;
}

nav.primary-nav #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item > a.mega-menu-link:before,
nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom > li.mega-menu-item > a.mega-menu-link:before {
    content: "•";
    top: -3px;
    left: -6px;
    position: relative;

}

nav.primary-nav #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item-has-children > a.mega-menu-link:after, 
nav.primary-nav #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item-has-children > a.mega-menu-link span.mega-indicator:after,
nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom > li.mega-menu-item-has-children > a.mega-menu-link:after, 
nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom > li.mega-menu-item-has-children > a.mega-menu-link span.mega-indicator:after  {
    display: none !important;
}

nav.primary-nav #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item:last-child > ul.mega-sub-menu,
nav.primary-nav #mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout:last-child ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link,
nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom > li.mega-menu-item:last-child > ul.mega-sub-menu,
nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom > li.mega-menu-flyout:last-child ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link  {
    min-width: 0;
    max-width: 137px;
}

nav.primary-nav #mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link,
nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link  {
    white-space: normal;
    line-height: 1.2;
    font-family: Roboto;
}

#mega-menu-wrap-top #mega-menu-top li.mega-menu-item-has-children > a.mega-menu-link:after, #mega-menu-wrap-top #mega-menu-top li.mega-menu-item-has-children > a.mega-menu-link span.mega-indicator:after,
#mega-menu-wrap-bottom #mega-menu-bottom li.mega-menu-item-has-children > a.mega-menu-link:after, #mega-menu-wrap-top #mega-menu-top li.mega-menu-item-has-children > a.mega-menu-link span.mega-indicator:after  {
    margin-left: 5px;   
}

.sticky-wrapper{
    position: relative;
    z-index:100;
}

/*****************
    SECTION-1
*****************/

.section-1 {
    background-position: center;
    background-size: cover;
    height: 689px;
    position: relative;
    color: #fff;
}

.section-1 .first-title {
    font-size: 3.75em;
    /*font-weight: bold;*/
    margin: 0;
}

.section-1 .second-title {
    font-size: 2.25em;
    /*font-weight: bold;*/
    margin-bottom: 2em;
}

.section-1  .p1 {
    font-size: 1.125em;
    margin-bottom: 1.5em;
}

.section-1  .p1 u {
    text-decoration: none;
    border-bottom: 1px solid #f97b40;
}

.section-1  .p2 {
    font-size: 3em;
    /*font-weight: bold;*/
    text-decoration: underline;
    margin-bottom: 0;
    line-height: 1;
}

.section-1 .p3 {
    margin-bottom: 2em;
    font-size: 1.125em;
}

.section-1 .p4 {
    font-size: 2.25em;
    /*font-weight: bold;*/
    margin-bottom: 0;
}

.section-1 ul {
    font-size: 1.125em;
    padding-left: 0;
    list-style-position: inside;
}

.section-2 {
    padding: 50px 0;
}

/*****************
    NEWS LIST
*****************/

.news-item {
    padding: 2em 0;
    border-bottom: 1px solid #cfcfcf;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item .news-time {
    font-size: 1.5em;
    /*font-weight: bold;*/
    line-height: 1;
    margin-bottom: 0.5em;
}

.news-item h3 {
    font-size: 1.5em;
    margin-bottom: .75em;
    /*font-weight: bold;*/
}

.news-item .news-excerpt p {
    font-size: 1.125em;
    color: #5e5e5e;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.news-item .link-more {
    text-align: right;
}

.news-item .link-more a {
    text-transform: uppercase;
    font-size: 1.125em;
    /*font-weight: bold;*/
    text-decoration: underline;
}

.news-item .link-more a:hover { 
    text-decoration: none;
}



/*****************
    RIGHT SIDEBAR
*****************/

.sidebar {

}

.page-content-wrapper .sidebar {
    margin-top: 10px;
}

.sidebar .widget:not(.widget_custom_html) {
    border-radius: 10px;
    border: 1px solid #b5b5b5;
    padding: 15px;
    overflow: hidden;
}

.sidebar .widget + .widget  {
    margin-top: 1.75em;
}


.sidebar .widget .widget-title {
    background-color: #eeeeee;
    margin: -15px -15px 0;
    text-align: center;
    color:#6e6e6e;
    font-size: 1.5em;
    padding: .75em 0;
    /*font-weight: bold;*/
    margin-bottom: 1em;
}

/*****************
    RIGHT NAV
*****************/

.menu-right-container ul {
    list-style: none;   
    margin: 0;
    padding: 0;
}

.menu-right-container ul li a {
    color: #6e6e6e;
    font-size: 1.9em;
    display: block;
    text-align: right;
    border-bottom: 1px solid #cfcfcf;
    padding: .3em 0;
    line-height: 1;
}

.menu-right-container ul li:last-child a {
    border-bottom: none;
}



/*****************
    RIGHT FORM
*****************/

.sidebar .wpcf7 .form-body {
    text-align: right;
}

.sidebar .wpcf7 .form-body .btn {
    font-size: 1.375em;
    font-weight: normal;
    padding: .4rem .75em;
}

.sidebar .wpcf7 .form-body p:last-child {
    margin-bottom: 0;
    text-align: center;
}



/*****************
    ELEMENTOR
*****************/

div.elementor-widget-heading .elementor-heading-title {
    font-family: 'pf din text cond pro';
    font-weight: normal;
    color: #425b6f;
    font-size: 3.125em;
}

div.elementor-widget-image-box .elementor-image-box-content .elementor-image-box-title {
    font-family: 'pf din text cond pro';
    font-weight: normal;
    color: #425b6f;
}

.elementor-widget-heading.elementor-widget-heading h1.elementor-heading-title {
    font-size: 3.75em;
    /*font-weight: bold;*/
    margin: 0;
    color: #ffffff;
    line-height: 1.2;
}

.elementor-widget-heading.elementor-widget-heading h2.elementor-heading-title {
    font-size: 2.25em;
    /*font-weight: bold;*/
    color: #ffffff;
    line-height: 1.2;
}


div.elementor-widget:not(:last-child) {
    margin-bottom: 0;
}

div.elementor-widget-text-editor {
    font-family: 'pf din text cond pro';
}

div.elementor a:hover {
    text-decoration: underline;
}


/*****************
    SECTION-1
*****************/

.section-1 .elementor-widget-heading.elementor-widget-heading h2.elementor-heading-title {
    margin-bottom: 2em;
}

.section-1  .elementor-widget-text-editor {
    color:#fff;

}

/*****************
    SERVICES
*****************/


.home .elementor-widget-heading.elementor-widget-heading h3.elementor-heading-title {
    color: #425b6f;
    font-size: 3.125em;
    background-color: #efebd7;
    border-radius: 10px;
    padding: .25em;
    margin-bottom: 0.5em;
}

.home .elementor-widget-image-box, .home .elementor-widget-image-box .elementor-widget-container {
    height: 100%;
}

.home .elementor-image-box-wrapper {
    border-radius: 5px;
    border: 1px solid #d5d5d5;
    padding: 2em 1.25em;
    height: 100%;
}

.home .elementor .elementor-widget .elementor-image-box-img {
     margin: .5em 0 0 !important;
}

.home .elementor-widget-image-box .elementor-image-box-content .elementor-image-box-title {
    font-size: 2em;
    max-width: 220px;
    margin: .75em auto;
    line-height: 1.5;
}

.home .elementor-image-box-content ul {
    text-align-last: left;
    padding-left: 28px;
}

.home .elementor-image-box-content ul li {
    color: #6c6c6a;
    font-size: 0.875em;
    font-family: Roboto;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1em;
    text-align: left;
    list-style-image: url('images/list-item.png');
}


/*****************
    PARTNERS
*****************/


.partners {
    background-color: #faf9f0;
    padding: 2.25em 0 4em;
    margin-top: 1em;
}


.partners .elementor-widget-heading.elementor-widget-heading h3.elementor-heading-title  {
    margin-bottom: 1em;
}

div.pa-gallery-img.style1 .pa-gallery-icons-inner-container, 
div.pa-gallery-img.default .pa-gallery-icons-inner-container {
    top: 0;
    left: 0;
    transform: none;
    height: 100%;
}

.pa-gallery-img-link {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/*****************
    CONTACTS
*****************/

.contacts  .elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {
    padding: 0;
}

.contacts .elementor-widget-google_maps {
    margin-bottom: 0 !important;
}

.contacts .map-info {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate( calc(-50% - 375px), -50%);
    background-color: #fff;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    text-align: center;
    display: flex;
}

.contacts .map-info .elementor-widget-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    width: 100%;
    font-family: 'pf din text cond pro';
}

.contacts .map-info  h4 {
    color:#485c71;
    font-size: 3em;
    /*font-weight: bold;*/
    margin-bottom: 0;
}

.contacts .map-info .phone a {
    color: #0c0c0c;
    font-size: 1.5em;
    /*font-weight: bold;*/
    line-height: 1.2;
}

.contacts .map-info hr {
    max-width: 140px;
    margin: 0.75em auto;
    border-color: #e0d2ba;
}

.contacts .map-info .address {
    color: #767676;
    font-size: 1.125em;
    line-height: 1.3;
}

.contacts .map-info .worktime {
    color: #999999;
    font-size: 0.875em;
    margin-top: 0.5em;
}



/*****************
    BREADCRUMBS
*****************/

.breadcrumbs {
    margin: 2em auto;
    color: #fc6a1f;
    font-size: 1.25em;
}

.breadcrumbs a {
    color: #fc6a1f;
}

/*****************
    PAGINATION
*****************/

.pagination {
    margin-top: 2em;
}

.pagination .page-link {
    color: #fc6a1f;
}

.pagination .page-item.active .page-link {
    background-color: #fc6a1f;
    border-color: #fc6a1f;
}

/*****************
    INNER PAGE
*****************/

.page-content-wrapper {
    background-color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
    padding-bottom: 3em;
}

.page-content-wrapper .page-title {
    background-color: #4c5763;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-size: 2.25em;
    padding: 1em;
    margin: 0 -15px 1.5em;
}

.page-content {
    padding: 0 4em;
    font-size: 1.125em;
}

.page-content-category {
    font-size: 1em;
}

.elementor-page .addthis_tool {
    padding: 0 10px;
}

.post-date {
    color:#fc6a1f;
}

.elementor-page .post-date {
    padding-left: 10px;
}


.posts-nav {
    font-family: Roboto;
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    border: none;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 300;
    padding: 3px 10px 1px;
    border-radius: 5px;
}

.posts-nav a { 
    color: #fff;
}

.posts-nav span { 
    margin: 0 3px;
}

/*****************
    MODAL
*****************/

.premium-modal-box-container {
    padding: 0;
    color:#000;
    text-align: center;
}

.premium-modal-box-modal-content  .wpcf7mf-mask {
    border-radius: 10px;
    padding: .5rem .75em;
    font-size: 1.5em;
    width: 100%;
    max-width: 100%;
}

.premium-modal-box-container .wpcf7 .btn {
    width: 100%;
}
.premium-modal-box-container .wpcf7  .ajax-loader {
    position: absolute;
    bottom: -13px;
    left: 50%;
    margin-left: -8px;
}

.premium-modal-box-container .wpcf7 div.wpcf7-response-output {
    margin: 0.5em 0 0;
}

.premium-modal-box-modal .premium-modal-box-modal-dialog {
    max-width: 334px !important;
    width:90% !important;
}

/*****************
    FOOTER
*****************/

footer {
    background-color: #425b6f;
    color: #fff;
}


footer .address-wrapper p {
    margin: 0;
    /*font-weight: bold;*/
    font-size: 1.125em;
    margin-bottom: 0.25em;
}

footer .address-wrapper .worktime{
    color: #9f9f9f;
    font-size: 1.5em;
}

footer .address-wrapper span {
    color: #999999;
}

footer .address-wrapper a {
    color: #fff;
}

footer .phone-wrapper p:first-child {
    margin-bottom: 0;
}


footer .phone-wrapper a {
    font-size: 1.4em;
    /*font-weight: bold;*/
}

footer .socials {
    width: 155px;
    max-width: 100%;
}

footer .socials a + a {
    margin-left: 1em;
    margin-left: 7%;
}

footer .copyright p {
    margin: 0;
    margin-right: 2em;
    font-size: 0.75em;
    font-family: Roboto;
}

footer .copyright .telegramim_button {
    font-size: 14px;
    width: 44px;
    height: 44px;
    background-color: #27A5E7;
    box-shadow: 1px 1px 5px #27A5E7;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 1;
    padding: 7px 10px;
    font-family: Roboto;
}



/*****************
    RESPONSIVE
*****************/

@media(max-width: 1199px) {

    .menu-right-container ul li a {
        font-size: 1.5em;
    }

    .sidebar .widget .widget-title {
        font-size: 1.25em;
    }

}


@media(max-width: 991px) {

    html {
        font-size: 14px;
    }

    .news-item {
        padding: 1em 0;
    }

    .elementor-column-gap-extended>.elementor-row>.elementor-column>.elementor-element-populated {
        padding: 10px;
    }

    .home .elementor-widget-image-box .elementor-image-box-content .elementor-image-box-title {
        font-size: 1.5em;
    }

    .home .elementor-image-box-wrapper {
        padding: 1em .5em;
    }

    .home .elementor-widget-heading.elementor-widget-heading h3.elementor-heading-title {
        font-size: 2.5em;
    }
    
    .contacts .map-info {
        top: auto;
        transform: translate( calc(-50%));
        bottom: 1em;
        width: 240px;
        height: 240px;
    }

    .contacts .map-info .elementor-widget-container {
        padding: 1em;
    }

    .page-content {
        padding: 0 15px;
    }

    .page-content-wrapper .page-title {
        font-size: 2em;
    }

    .breadcrumbs {
        margin: 1.5em auto;
    }
}

@media(max-width: 767px) {

    header .worktime {
        text-align: center;
    }

    nav.primary-nav #mega-menu-wrap-top #mega-menu-top, nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom {
        display: none;
    }

    nav.primary-nav #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item:last-child > ul.mega-sub-menu, nav.primary-nav #mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout:last-child ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link, nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom > li.mega-menu-item:last-child > ul.mega-sub-menu, nav.primary-nav #mega-menu-wrap-bottom #mega-menu-bottom > li.mega-menu-flyout:last-child ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
        max-width:100%;
    }

    .sticky-wrapper {
        z-index: 100000000;
    }

    nav.primary-nav #mega-menu-wrap-top {
        max-height: calc( 100vh - 146px );
        overflow-y: scroll;
    }

    .section-1 .elementor-text-editor {    
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .section-1 .elementor-widget-heading {
        text-align: center;
    }

    .elementor-widget-heading.elementor-widget-heading h1.elementor-heading-title {
        font-size: 2.5em;    
    }

    .section-1 .elementor-widget-heading.elementor-widget-heading h2.elementor-heading-title {
        font-size: 1.5em;
        margin-bottom: 0;
    }

    .section-1 .p1 {
        text-align: center;
    }
    
    input:not([type="checkbox"]) {
        max-width: 100%;
        width: 100%;
    }

    .sidebar .wpcf7 .form-body {
        text-align: center;
    }

    .services .elementor-widget-image-box .elementor-image-box-wrapper {
        max-width: 360px;
        margin: 0 auto
    }

    .home .elementor-image-box-wrapper {
        padding: 1em;
    }

    footer  {
        text-align: center;
    }

    footer .socials {
        width: 130px;
        margin: 0 auto 1em;
    }

    .breadcrumbs {
        font-size: 1em;
    }

    .sidebar .widget_maxmegamenu {
        display: none;
    }
    

    .sidebar .g-recaptcha {
        margin-bottom: 1em;
    }

}

@media(max-width: 575px) {

    .home .elementor-widget-heading.elementor-widget-heading h3.elementor-heading-title {
        font-size: 1.5em;
        padding: .5em;
    }

    nav.primary-nav #mega-menu-wrap-top {
        max-height: calc( 100vh - 139px );
    }

    .news-item .news-time {
        margin-top: 1em;
    }
    
    .page-content-wrapper .page-title {
        font-size: 1.5em;
    }

}

@media(max-width: 359px) {

    header .phone-wrapper a {
        font-size: 1.25em;
    }

    nav.primary-nav #mega-menu-wrap-top {
        max-height: calc( 100vh - 133px );
    }

    .elementor-widget-heading.elementor-widget-heading h1.elementor-heading-title {
        font-size: 2em;    
    }

    .section-1 .elementor-widget-heading.elementor-widget-heading h2.elementor-heading-title {
        font-size: 1em;
        margin-bottom: 0;
    }

    footer .phone-wrapper a {
        font-size: 1.25em;
    }
}