@media(min-width: 768px){
ul li ul {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    display: none;
    float: right;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: right;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
ul li ul>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
ul li:hover ul {
    display: block;
    top: 40px;
}
ul>li>ul>li>a:focus, ul>li>ul>li>a:hover {
    color: #ffffff;
    background-color: #e85167;
    text-decoration: none;
}
}
@media(max-width: 767px){
    #logo {
        background-position: left center;
        float: left;
        height: 45px;
    margin-top: 0;
    position: relative;
    top: 11px;
    }
    .bgw .carousel-caption > .h2 {
    font-size: 18px;
}
.h1, h1 {
    font-size: 36px;
}
header {
    right: 0;
    left: 0;
    padding-bottom: 0;
}
 .menu-item-has-children::after {
    border-top: 8px dashed;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
        left: 12px;
}
 
.menu-item-has-children::after{
        top: 15px;
}
.contact-us.glyphicon-envelope:before {
    right: 0px;
    top: 8px;
}
html, body {
    overflow-x: hidden;
}
.modal-open .responsive-box ,.modal-open #responsive-menu,
.modal-open .dial-phone{
    z-index: 9;
}
.modal-dialog {
    margin: 0;
}
main {
    margin-top: 74px;
}
}