.header {
    position: relative;
}

.header ul.nav {
    position: static;
}

.header .has-dropdown {
    position: static;
}

.header .has-dropdown i {
    font-size: 19px;
}

@media (max-width: 1091px) {
    .header .has-dropdown i {
        -webkit-transform: rotate(-90deg) translate(-2px, 0);
        transform: rotate(-90deg) translate(-2px, 0);
    }
}

.header .has-dropdown>a {
    position: relative;
    -webkit-transition: .2s color;
    transition: .2s color;
}

.header .has-dropdown>a i {
    position: relative;
    top: 2px;
}

.flyout {
    max-height: 0;
    display: block;
    position: absolute;
    background: #ffffff;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 15px;
    opacity: 0;
    overflow: hidden;
    -webkit-transition: .25s;
    transition: .25s;
    z-index: 9999;
    -webkit-transform: scale(1, 0.5);
    transform: scale(1, 0.5);
    -webkit-transform-origin: top;
    transform-origin: top;
}

@media (max-width: 1091px) {
    .flyout {
        top: 82px;
        opacity: 1;
        overflow: auto;
        -webkit-transition: .2s transform;
        transition: .2s transform;
        -webkit-transform: translate(100%, 0);
        transform: translate(100%, 0);
        max-height: initial;
    }

    .flyout:before {
        display: none;
    }
}

@media (min-width: 1091px) {
    .flyout {
        padding: 0 15px;
    }
}

@media (min-width: 1280px) {
    .flyout {
        padding: 0;
    }
}

.flyout a.close {
    display: block;
    position: absolute;
    font-size: 40px;
    text-decoration: none;
    color: #000;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 0.2em;
    right: 30px;
    top: 30px;
    z-index: 9999999;
    -webkit-transition: .2s color;
    transition: .2s color;
}

.flyout a.close span {
    font-weight: 700;
}

.flyout a.close span:first-child {
    display: block;
}

.flyout a.close span:last-child {
    display: none;
}

@media (max-width: 1091px) {
    .flyout a.close {
        position: static;
        display: block;
        width: 100%;
        margin: 15px 0 30px;
        top: initial;
        right: initial;
        font-size: 18px;
        font-weight: 700;
        text-align: left;
        padding: 15px 30px;
    }

    .flyout a.close span:first-child {
        display: none;
    }

    .flyout a.close span:last-child {
        display: block;
    }

    .flyout a.close span:last-child i {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        margin-right: 10px;
    }
}


.flyout a.close:hover {
    color: #ed5929;
}

.flyout:before {
    content: '';
    pointer-events: none;
    position: absolute;
    display: block;
    height: 30px;
    top: 0;
    left: 0;
    right: 0;
    -webkit-box-shadow: inset 0 15px 15px -15px rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 15px 15px -15px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

@media (max-width: 1091px) {
    .flyout:before {
        display: none;
    }
}

.flyout>ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    background: #ffffff;
    margin: auto;
    float: none;
    clear: both;
}

@media (max-width: 1091px) {
    .flyout>ul {
        padding-bottom: 100px;
    }
}

.flyout>ul>li {
    display: block;
    margin: 0;
    /* -webkit-box-flex: 0;
    -ms-flex: 0 0 38%; */
    /* flex: 1 0 auto; */
    /* width: 38%; */
    -webkit-box-flex: 1;
    flex-grow: 1;
    flex-basis: 0;
    background: #ffffff;
}

.flyout>ul>li:last-child {
    background: #f2f2f2;
    position: relative;
    /* flex: 1;
    width: 24%; */
    min-width: 400px;
    max-width: 430px;
}

.flyout>ul>li:last-child:after {
    content: '';
    background: #f2f2f2;
    position: absolute;
    display: block;
    width: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    -webkit-transform: translate(99%, 0);
    transform: translate(99%, 0);
}

@media (max-width: 1091px) {
    .flyout>ul>li:last-child:after {
        content: none;
        display: none;
    }
}

.flyout>ul>li:last-child p {
    color: #000;
}

.flyout>ul>li:last-child p strong {
    font-weight: 500;
}

.flyout>ul>li>.column {
    display: block;
    padding: 30px;
}

.flyout>ul>li:last-child .column{
    padding: 45px 35px 30px;
}

@media (max-width: 1091px) {
    .flyout>ul>li:last-child {
        background: #ffffff;
        min-width: inherit;
    }

    .flyout>ul>li:last-child>.column {
        padding: 0;
    }

    .flyout>ul>li:last-child>.column p {
        display: none;
    }

    .flyout>ul>li:last-child>.column .service-block {
        display: none;
    }
}

.flyout>ul>li>.column>p>a {
    font-size: 14px;
    width: 100%;
    border-radius: 0;
    margin-bottom: 10px;
}

.flyout>ul>li>.column>p>a>img {
    float: left;
    margin-right: 15px;
}

.flyout>ul>li>.column>p>a strong {
    display: block;
    color: #000;
    font-weight: 500;
    margin: 10px 0 5px;
    font-size: 16px;
    -webkit-transition: .2s color;
    transition: .2s color;
}

.flyout>ul>li>.column>p>a span {
    display: inline;
    padding: 0;
    font-size: 14px;
    color: #736e69;
}

.flyout>ul>li>.column>p>a:hover {
    background: transparent;
    color: #736e69;
}

.flyout>ul>li>.column>p>a:hover strong {
    color: #ed5929;
}

.flyout>ul>li>.column .view-all {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    -webkit-transition: .2s color;
    transition: .2s color;
    padding: 0;
    margin-top: 30px;
}

.flyout>ul>li>.column .view-all:hover {
    text-decoration: underline;
    color: #ed5929;
    background: transparent;
}

@media (max-width: 1091px) {
    .flyout>ul>li>.column .view-all {
        display: block;
        width: 100%;
        border-top: solid 1px #d9d9d9;
        border-bottom: solid 1px #d9d9d9;
        padding: 15px 30px;
        border-radius: 0;
        margin: 15px 0 100px;
    }

    .flyout>ul>li>.column .view-all i {
        -webkit-transform: rotate(0deg) translate(5px, 0);
        transform: rotate(0deg) translate(5px, 0);
    }
}

.flyout>ul>li>.column .service-block {
    /* display: block; */
    display: block;
    float: left;
    width: 50%;
    padding: 15px 0;
}

.flyout>ul>li>.column .service-block .item {
    display: block;
    font-size: 14px;
    color: #000;
    width: 100%;
    padding: 7px 0;
    -webkit-transition: .2s color;
    transition: .2s color;
}

.flyout>ul>li>.column .service-block .item:hover {
    background: transparent;
    color: #ed5929;
    text-decoration: underline;
}

@media (max-width: 1091px) {
    .flyout>ul>li>.column {
        padding: 0 15px;
    }

    .flyout>ul>li>.column>p>a img {
        width: 40px;
        float: none;
        display: inline-block;
        vertical-align: middle;
    }

    .flyout>ul>li>.column>p>a strong {
        display: inline-block;
        vertical-align: middle;
        margin-top: 0;
    }

    .flyout>ul>li>.column>p>a span {
        display: none;
    }
}

@media (max-width: 1091px) {
    .header .has-dropdown.open>a {
        color: #ed5929;
    }
}

.header .has-dropdown.open .flyout {
    max-height: 80vh;
    opacity: 1;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-box-shadow: 0 15px 15px -15px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 15px -15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1091px) {
    .header .has-dropdown.open .flyout {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
        padding: 0;
    }
}

@media (max-width: 1091px) {
    .header .has-dropdown.open .flyout>ul {
        display: block;
    }
}

@media (max-width: 1091px) {
    .header .has-dropdown.open .flyout>ul>li {
        display: block;
        width: 100%;
        padding: 0;
    }
}