﻿
.ms-header.ms-header-primary:before {
    position: absolute;
    top: 0;
    content: '';
    width: 100%;
    height: 76px;
    background: url(../images/shape0.png) center;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    background-size: contain;
}


.ms-header {
    background-color: #fff;
    position: relative;
    z-index: 2;
}

    .ms-header .ms-title {
        padding-top: 0;
        display: inline-block;
    }

        .ms-header .ms-title img {
            margin: 15px 0 0 20px;
        }

        .ms-header .ms-title .ms-logo {
            margin-top: 20px;
            margin-right: 10px;
            vertical-align: middle;
        }

        .ms-header .ms-title h1 {
            line-height: 1;
            display: inline-block;
            vertical-align: middle;
            font-weight: 300;
            font-size: 32px;
            padding-top: 0;
            color: #717171;
        }

            .ms-header .ms-title h1 span {
                font-weight: 400;
            }

    .ms-header .header-right {
        margin-top: 25px;
        float: left;
    }

        .ms-header .header-right .share-menu {
            display: inline-block;
        }

            .ms-header .header-right .share-menu .share-menu-button {
                display: inline-block;
            }

            .ms-header .header-right .share-menu .share-menu-list {
                display: none;
                padding: 0;
                margin: 0;
                list-style-type: none;
            }

                .ms-header .header-right .share-menu .share-menu-list li {
                    display: inline-block;
                }

            .ms-header .header-right .share-menu:focus .share-menu-list, .ms-header .header-right .share-menu:hover .share-menu-list {
                display: inline-block;
            }

        .ms-header .header-right .btn-ms-menu i {
            font-size: 21px;
            font-size: 2.1rem;
            margin-top: -2px;
        }

        .ms-header .header-right .search-form {
            vertical-align: top;
            display: inline-block;
            position: relative;
            height: 50px;
            min-width: 50px;
            padding: 0;
            margin: 0;
            transition: width ease 1s;
            z-index: 0;
        }

            .ms-header .header-right .search-form #search-submit {
                position: relative;
                left: -5000px;
                width: 0;
                padding: 0;
                border: 0;
                height: 0;
            }

            .ms-header .header-right .search-form label {
                width: 50px;
                height: 50px;
                text-align: center;
                line-height: 50px;
                font-size: 20px;
                color: #ffffff;
                cursor: pointer;
                position: absolute;
                left: 0;
                top: 0;
                z-index: 3;
                transition: -webkit-transform ease .5s;
                transition: transform ease .5s;
                transition: transform ease .5s,-webkit-transform ease .5s;
                transition-delay: .2s;
            }

                .ms-header .header-right .search-form label:before {
                    transition: all ease .5s;
                    border-radius: 150px;
                    z-index: -1;
                    content: "";
                    position: absolute;
                    display: block;
                    background-color: #ffffff;
                    height: 0;
                    width: 0;
                    top: 25px;
                    left: 25px;
                }

                .ms-header .header-right .search-form label:hover {
                    color: #000;
                }

                    .ms-header .header-right .search-form label:hover:before {
                        height: 50px;
                        width: 50px;
                        top: 0;
                        left: 0;
                    }

            .ms-header .header-right .search-form .search-input {
                height: 50px;
                border: 0;
                width: 0;
                padding: 0;
                background-color: transparent;
                display: inline-block;
                transition: width ease .5s;
                vertical-align: top;
                padding-left: 50px;
                border-radius: #616161;
                color: #000;
            }

                .ms-header .header-right .search-form .search-input::-webkit-input-placeholder {
                    color: rgba(0, 0, 0, 0.3);
                }

                .ms-header .header-right .search-form .search-input::-moz-placeholder {
                    color: rgba(0, 0, 0, 0.3);
                }

                .ms-header .header-right .search-form .search-input:-ms-input-placeholder {
                    color: rgba(0, 0, 0, 0.3);
                }

                .ms-header .header-right .search-form .search-input:-moz-placeholder {
                    color: rgba(0, 0, 0, 0.3);
                }

                .ms-header .header-right .search-form .search-input:focus {
                    width: 250px;
                    border-bottom: solid 3px #ffffff;
                    border-radius: 0;
                }

                    .ms-header .header-right .search-form .search-input:focus + label {
                        -webkit-transform: ScaleX(-1);
                        transform: ScaleX(-1);
                        color: #ffffff;
                    }

                        .ms-header .header-right .search-form .search-input:focus + label:before {
                            transition: none;
                            display: none;
                        }

    .ms-header.ms-header-dark {
        background-color: #424242;
        color: #fff;
    }

        .ms-header.ms-header-dark .ms-title h1 {
            color: #fff;
        }

        .ms-header.ms-header-dark .search-form label {
            color: #fff;
        }

            .ms-header.ms-header-dark .search-form label:before {
                background-color: #ffffff;
            }

            .ms-header.ms-header-dark .search-form label:hover {
                color: #fff;
            }

        .ms-header.ms-header-dark .search-form .search-input {
            color: #fff;
            font-weight: 400;
        }

            .ms-header.ms-header-dark .search-form .search-input::-webkit-input-placeholder {
                color: rgba(255, 255, 255, 0.5);
            }

            .ms-header.ms-header-dark .search-form .search-input::-moz-placeholder {
                color: rgba(255, 255, 255, 0.5);
            }

            .ms-header.ms-header-dark .search-form .search-input:-ms-input-placeholder {
                color: rgba(255, 255, 255, 0.5);
            }

            .ms-header.ms-header-dark .search-form .search-input:-moz-placeholder {
                color: rgba(255, 255, 255, 0.5);
            }

            .ms-header.ms-header-dark .search-form .search-input:-webkit-autofill {
                -webkit-text-fill-color: white !important;
            }

            .ms-header.ms-header-dark .search-form .search-input:focus {
                border-bottom: solid 3px #ffffff;
            }

                .ms-header.ms-header-dark .search-form .search-input:focus + label {
                    color: #fff;
                }

        .ms-header.ms-header-dark .btn-circle-primary {
            color: #fff;
        }

            .ms-header.ms-header-dark .btn-circle-primary:before {
                background-color: #ffffff;
            }

            .ms-header.ms-header-dark .btn-circle-primary:hover, .ms-header.ms-header-dark .btn-circle-primary:focus {
                color: #fff;
            }

    .ms-header.ms-header-primary {
        display: flex;
        justify-content: flex-end;
        background-color: #ffffff;
        color: #176666;
    }

        .ms-header.ms-header-primary .btn-circle {
            color: #000;
        }

            .ms-header.ms-header-primary .btn-circle:before {
                /*background-color:#fff*/
            }

            .ms-header.ms-header-primary .btn-circle:hover, .ms-header.ms-header-primary .btn-circle:focus {
                color: #115740;
            }

            .ms-header.ms-header-primary .btn-circle.no-focus:focus {
                color: #fff;
            }

                .ms-header.ms-header-primary .btn-circle.no-focus:focus:before {
                    height: 0;
                    width: 0;
                    top: 25px;
                    left: 25px;
                }

            .ms-header.ms-header-primary .btn-circle.no-focus:hover {
                color: #115740;
            }

                .ms-header.ms-header-primary .btn-circle.no-focus:hover:before {
                    height: 50px;
                    width: 50px;
                    top: 0;
                    left: 0;
                }

        .ms-header.ms-header-primary .ms-title h1 {
            color: #000;
        }

        .ms-header.ms-header-primary .ms-logo {
            color: #ffffff;
            background-color: #fff;
            text-shadow: 1px 1px 0 rgba(3, 169, 244, 0.04), 1px 2px 0 rgba(3, 169, 244, 0.04), 1px 3px 0 rgba(3, 169, 244, 0.04), 2px 4px 0 rgba(3, 169, 244, 0.04), 3px 5px 0 rgba(3, 169, 244, 0.04), 4px 6px 0 rgba(3, 169, 244, 0.04), 5px 7px 0 rgba(3, 169, 244, 0.04), 6px 8px 0 rgba(3, 169, 244, 0.04), 7px 9px 0 rgba(3, 169, 244, 0.04), 8px 10px 0 rgba(3, 169, 244, 0.04), 9px 11px 0 rgba(3, 169, 244, 0.04), 10px 12px 0 rgba(3, 169, 244, 0.04), 11px 13px 0 rgba(3, 169, 244, 0.04), 12px 14px 0 rgba(3, 169, 244, 0.04), 13px 15px 0 rgba(3, 169, 244, 0.04), 14px 16px 0 rgba(3, 169, 244, 0.04), 15px 17px 0 rgba(3, 169, 244, 0.04), 16px 18px 0 rgba(3, 169, 244, 0.04), 17px 19px 0 rgba(3, 169, 244, 0.04), 18px 20px 0 rgba(3, 169, 244, 0.04), 19px 21px 0 rgba(3, 169, 244, 0.04), 20px 22px 0 rgba(3, 169, 244, 0.04), 21px 23px 0 rgba(3, 169, 244, 0.04);
        }

        .ms-header.ms-header-primary .search-form label {
            color: #000;
        }

            .ms-header.ms-header-primary .search-form label:before {
                background-color: #afabb0;
            }

            .ms-header.ms-header-primary .search-form label:hover {
                color: #115740;
            }

        .ms-header.ms-header-primary .search-form .search-input {
            color: #000;
            font-weight: 400;
        }

            .ms-header.ms-header-primary .search-form .search-input::-webkit-input-placeholder {
                color: rgba(255, 255, 255, 0.5);
            }

            .ms-header.ms-header-primary .search-form .search-input::-moz-placeholder {
                color: rgba(255, 255, 255, 0.5);
            }

            .ms-header.ms-header-primary .search-form .search-input:-ms-input-placeholder {
                color: rgba(255, 255, 255, 0.5);
            }

            .ms-header.ms-header-primary .search-form .search-input:-moz-placeholder {
                color: rgba(255, 255, 255, 0.5);
            }

            .ms-header.ms-header-primary .search-form .search-input:-webkit-autofill {
                -webkit-text-fill-color: white !important;
            }

            .ms-header.ms-header-primary .search-form .search-input:focus {
                border-bottom: solid 3px #000;
            }

                .ms-header.ms-header-primary .search-form .search-input:focus + label {
                    color: #000;
                }


.headerStyle {
    height: 80px;
    background-image: -moz-linear-gradient(-124deg,#ebebeb 49%,#e3e3e3 51%);
    background-image: -webkit-linear-gradient(-133deg,#d7d7d7 48.5%,#f3f3f3 50%);
    background-image: -ms-linear-gradient(-124deg,#ebebeb 49%,#e3e3e3 51%);
}