.grid-container {
    max-width: 1240px;
}

.product-area__item {
    width: 100%;
}

.useful-links__button {
    width: 100%;
}

.arch-products__accordion .button-repeater .button {
    margin: 10px 0;
}

.product-area__icon {
    width: 170px;
    height: 170px;
}

@media only screen and (min-width: 40.0625em) and (min-width: 768px) {
    .header-menu.menu li>a {
        font-size: 13px;
    }
}

@media only screen and (min-width: 1300px) and (min-width: 40.0625em) {
    /* .header-menu.menu .submenu li .second-level__heading {
        font-size: 18px;
    } */

    /* .header-menu.menu .submenu li>a {
        font-size: 14px;
    } */
}

@media print,
screen and (min-width: 40.0625em) {
    .products__button {
        font-size: 16px;
    }

    .header-menu.menu .submenu li .second-level__footer {
        font-size: 15px;
    }

    .product-area__item {
        width: 45%;
    }

    .product-area__item:nth-child(3n) {
        margin-left: 0;
    }

    .useful-links__button {
        width: 45%;
    }
}

@media print,
screen and (min-width: 40.0625em) and (min-width: 64.0625em) {
    .useful-links__button {
        width: 23%;
        font-size: 15px !important;
        padding: 22px 1%;
    }
}

@media print,
screen and (min-width: 64.0625em) {
    body {
        font-size: 20px;
    }

    .header__button {
        font-size: 10px;
    }

    #home-slider .slider-caption h3 {
        font-size: 42px;
    }

    .header__phone {
        font-size: 26px;
        /* bottom: -40%; */
    }

    .header__phone .show-for-medium {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header__phone i {
        top: 0;
        margin-right: 5px;
    }

    h1,
    .h1,
    h1 span {
        font-size: 64px;
    }

    h2,
    .h2,
    h2 span {
        /* font-size: 40px; */
        font-size: 34px;
    }

    h3,
    .h3,
    h3 span {
        font-size: 30px;
    }

    h4,
    .h4,
    h4 span {
        font-size: 24px !important;
    }

    .text--22,
    h5,
    .h5,
    h5 span {
        font-size: 17px;
    }

    h6,
    .h6,
    h6 span {
        font-size: 15px;
    }

    .text--15 {
        font-size: 12px;
    }

    .text--16 {
        font-size: 13px;
    }

    .text--18 {
        font-size: 15px;
    }

    .text--20 {
        font-size: 16px;
    }

    .text--21 {
        font-size: 16px;
    }

    .text--24 {
        font-size: 18px;
    }

    .text--26 {
        font-size: 20px;
    }

    .text--28 {
        font-size: 23px;
    }

    .text--34 {
        font-size: 26px;
    }

    .text--35 {
        font-size: 27px;
    }

    .text--40 {
        font-size: 30px;
    }

    .reviews__description p {
        font-size: 15px;
    }

    .cg-tv__description p,
    .cg-tv__description ul {
        font-size: 15px;
    }

    .home-about__subtitle {
        font-size: 20px;
    }

    .products-menu .second-level__heading {
        font-size: 20px;
    }

    .products-menu .menu-product-menu-container .menu.submenu li>a {
        font-size: 15px;
    }

    .team__intro ul {
        font-size: 30px;
    }

    .avatar__name {
        font-size: 15px;
    }

    .team__filter {
        font-size: 16px;
    }

    .video-hero__descrition h1,
    .video-hero__descrition h2,
    .video-hero__descrition h3,
    .video-hero__descrition h4 {
        font-size: 52px;
    }

    .video-intro__editor h1,
    .video-intro__editor h2,
    .video-intro__editor h3,
    .video-intro__editor h4 {
        font-size: 52px;
    }

    .video-intro__editor h1 span,
    .video-intro__editor h2 span,
    .video-intro__editor h3 span,
    .video-intro__editor h4 span {
        font-size: 52px !important;
    }


    .documents__category .dropdown__parent {
        font-size: 16px;
    }

    .dropdown__link {
        font-size: 16px;
    }

    .product-area__item {
        width: 24%;
    }

    .product-area__item:nth-child(3n) {
        margin-left: 5%;
    }

    .product-area__item:first-child {
        margin-left: 0;
    }

    .news-single__hero h1 {
        font-size: 48px;
    }

    .about-intro__editor {
        font-size: 23px;
    }

    .timeline__title {
        font-size: 30px !important;
    }

    .timeline__date {
        font-size: 18px;
    }

    /* .timeline__description h2 {
        font-size: 30px;
    } */

    /* .timeline__description p {
        font-size: 16px;
    } */

    .home-about .grid-margin-x>.large-offset-1 {
        margin-left: calc(10% + -5.8875rem);
    }

    .specials__item h6 {
        padding-left: 15px;
    }

    .home-about__row>.large-4 {
        width: calc(40% - -4.375rem);
    }

    .home-about__wrapper {
        margin: 0 30px 0 0;
        width: 28vw;
        height: 28vw;
        float: right;
    }

    .home-about__icon {
        width: 25.86vw;
        height: 25.86vw;
    }

    .product-cards__icon img {
        max-width: 65px;
        max-height: 70px;
    }

   

    .product-cards__icon {
        min-width: 125px;
        min-height: 125px;
    }

    .product-cards__item h5 {
        font-size: 15px;
        line-height: 1.1;
    }

    /* .home-about__wrapper::before {
        left: -100%;
        width: 47vw;
    } */

    .products__editor ul {
        font-size: 30px;
    }

    .arch-products__accordion .button-repeater .button {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .header__repeater {
        margin-bottom: 24px;
    }

    .header__wrapper {
        padding: 0 0 20px;
    }

    /* .location-map_image .marker-description .description-wrapper p,
    .location-map_image .marker-description .description-wrapper p span,
    .contact-map__address.contact-card p,
    .contact-map__address.contact-card p span {
        font-size: 20px !important;
    }

    .contact-map__address.contact-card ul li span,
    .contact-map__address.contact-card ul {
        font-size: 20px !important;
    } */

    .brands__image {
        max-width: 100%;
    }

    .reviews__controllers {
        width: 104%;
    }
}

@media only screen and (min-width: 1400px) {
    .location-map_image .marker-description .all-category {
        font-size: 16px;
    }
}

@media only screen and (min-width: 1550px) {
    .product-area__item h5 {
        font-size: 15px;
    }
}

@media only screen and (min-width: 1700px) {
    .logo {
        width: 20%;
    }
}

@media screen and (max-width: 1100px) {
    .footer__contact-us a {
        width: 35px;
        height: 35px;
    }
}

.timeline__item {
    margin-top: 2%;
}

.link-card__button {
    /* max-height: 72px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.news__filter {
    padding: 5px 2.1%;
}

.news__search {
    padding: 5px 2.1% 5px 29px;
}

/* .job__toggle,
.job__apply {
    font-size: 15px;
} */


.job__content--small {
    height: 163px;
    overflow-y: hidden;
}

.codrops-top {
    line-height: 24px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    z-index: 9999;
    position: relative;
    -webkit-animation: slideOut 0.5s ease-in-out 0.3s backwards;
}

@-webkit-keyframes slideOut {
    0% {
        top: -30px;
        opacity: 0;
    }

    100% {
        top: 0px;
        opacity: 1;
    }
}

.codrops-top a {
    padding: 0px 10px;
    letter-spacing: 1px;
    color: #333;
    text-shadow: 0px 1px 1px #fff;
    display: block;
    float: left;
}

.codrops-top a:hover {
    background: #fff;
}

.codrops-top span.right {
    float: right;
}

.codrops-top span.right a {
    float: left;
    display: block;
}

.codrops-demos {
    text-align: center;
    display: block;
    padding-top: 20px;
}

.codrops-demos a,
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
    display: inline-block;
    border: 1px solid #719c7f;
    padding: 4px 10px 3px;
    font-size: 13px;
    line-height: 18px;
    margin: 0px 3px;
    font-weight: 800;
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #90bd9e;
    background: -moz-linear-gradient(top, #90bd9e 0%, #72a081 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #90bd9e), color-stop(100%, #72a081));
    background: -webkit-linear-gradient(top, #90bd9e 0%, #72a081 100%);
    background: -o-linear-gradient(top, #90bd9e 0%, #72a081 100%);
    background: -ms-linear-gradient(top, #90bd9e 0%, #72a081 100%);
    background: linear-gradient(top, #90bd9e 0%, #72a081 100%);
}

.codrops-demos a:hover {
    background: #85b995;
}

.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
    color: #506757;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3);
}

/* clears the 'X' from Internet Explorer */
input[type=search]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

input[type=search]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

/* clears the 'X' from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

/* Media Queries */
@media screen and (max-width: 767px) {
    .container>header {
        text-align: center;
    }

    p.codrops-demos {
        position: relative;
        top: auto;
        left: auto;
    }
}

.dg-container {
    width: 100%;
    height: 450px;
    position: relative;
    margin-bottom: 222px;
    /* overflow: hidden; */
}

.dg-wrapper {

    width: 481px;
    height: 316px;
    margin: 0 auto;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    -o-perspective: 1000px;
    -ms-perspective: 1000px;
    perspective: 1000px;
}

@media only screen and (min-width: 1024px) {}

.dg-wrapper a {
    visibility: hidden !important;
    width: 558px;
    height: 395px;
    /* width: 482px;
        height: 347px; */
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background: transparent url('../images/iPad_frame.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 17px;
    cursor: default;
}

@media only screen and (min-width: 1025px) {
    .dg-wrapper a {
        visibility: visible !important;
        z-index: 1;
    }

}

.dg-wrapper a.dg-center {
    visibility: visible !important;
}

.dg-wrapper a.dg-center::after {
    position: absolute;
    right: 0;
    top: 0;
    background-image: url(../images/Batery.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 5%;
    height: 2%;
}

.dg-wrapper a.dg-center {
    position: relative;
    z-index: 1000 !important;
}

.dg-wrapper a.dg-center .video__play-button {
    cursor: pointer;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url('../images/play_button.png');
    width: 84px;
    height: 84px;
    transform: translate(-50%, -50%);
}

.dg-wrapper .video__play-button:hover {
    opacity: 0.65;
}

.dg-wrapper a.dg-transition {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}


.dg-wrapper a img {
    display: block;
    padding: 0;
}

.dg-wrapper a .caption {
    text-align: center;
    line-height: 50px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
    color: #333;
    font-size: 12px;
    display: none;
    position: absolute;
    width: 900px;
    margin-left: -35%;
    padding-top: 55px;

}

.dg-wrapper a .caption h4 {
    color: #00529b;
    font-size: 42px;
}

.dg-wrapper a .caption p {
    font-size: 23px;
}

.dg-wrapper a.dg-center .caption {
    display: block;
}

.dg-container nav {
    pointer-events: none;
    position: absolute;
    display: flex;
    justify-content: space-between;
    transform: translateX(-50%);
    z-index: 1000;
    width: 46%;
    top: 47%;
}
.dg-container nav {
    
}

@media only screen and (min-width: 370px) {
    .dg-container nav span {
        pointer-events: initial;
    }
}
@media only screen and (min-width: 640px) {
    .dg-container nav {
        width: 115%;
        top: 40%;
        left: 54%;
        width: 113%;
        top: 26%;
        left: 50.5%;
    }
}

@media only screen and (min-width: 1024px) {
    .dg-container nav {
        width: 115%;
        left: 54%;
        top: 42%;
    }

}

@media only screen and (min-width: 1150px) {
    .dg-container nav {
        left: 54%;
        width: 100%;

    }

}

.dg-container nav span {
    width: 24px;
    height: 25px;
    position: relative;
}

.dg-container nav span::before {
    display: none;
}

.dg-container nav span:hover {
    opacity: 0.75;
}

.dg-container nav span.dg-next {
    background-position: top right;
    margin-left: 10px;
}

.video__pop-up {
    display: none;
}

.video__pop-up video:hover, .video__pop-up video:focus, .video__pop-up video:active{
    outline: 0;
}
.dg-container {
    margin-left: -3%;
}

.hide-btn {
    display: none;
}

@media screen and (max-width: 1024px) {
    .video-intro .dg-container {
        width: 100%;
        height: 755px;
        position: relative;
        max-width: 560px;
        margin: 0 auto 30px;
        /* overflow: hidden; */
    }

    .video-intro .dg-wrapper {
        width: 641px;
        height: 316px;
    }

    .video-intro .dg-wrapper a {
        width: 561px;
        height: 403px;
        padding: 20px;
    }

    .video-intro .dg-wrapper a .caption {
        width: 560px;
        margin-left: -280px;
        left: 50%;
        position: relative;
    }

    .video-intro .dg-container nav span::before {
        color: white;
    }
}

@media screen and (max-width: 640px) {
    .video-intro .dg-container {
        width: 100%;
        height: 460px;
        position: relative;
        max-width: 100%;
        margin: 0 auto 30px;
        overflow: hidden;
    }

    .video-intro .dg-wrapper {
        width: 260px;
        height: 316px;
    }

    .video-intro .dg-wrapper a {
        width: 260px;
        height: 187px;
        padding: 9px;
    }

    .dg-container nav {
        /* top: 46%; */
        left: 50%;

    }

    .video-intro .dg-wrapper a .caption {
        width: 280px;
        margin-left: -140px;
        left: 50%;
        position: relative;
        padding-top: 70px;
    }

    .video-intro .dg-container nav span::before {
        color: white;
    }

    .video-intro__editor h2 span {
        font-size: 24px !important;
    }

    .dg-wrapper a .caption h4 {
        font-size: 24px;
    }

    .dg-wrapper a .caption p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 640) {
    .product-cards__icon {
        min-width: 150px;
        min-height: 150px;
    }

    .product-cards__icon img {
        width: 85%;
    }
}

/* @media only screen and (min-width: 1500px) {
    .product-cards__icon {
        min-width: 100px;
        min-height: 100px;
    }
} */
@media only screen and (min-width: 1500px) {
    .product-cards__icon {
        min-width: 100px;
        min-height: 100px;
    }
}