@media screen and (max-width: 667px) and (min-width: 375px) and (orientation:landscape) {
    #bg-menu img {
        width: 45px
    }
    .templatemo_titlewrappersmall {
        font-size: 18px;
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        top: 1px;
        left: -17px;
        right: 0;
    }
    #bg-menu {
        border-top: 61px solid #16B8F8 !important
    }
    #bg-submenu {
        margin-top: -67px
    }
    .templatemo_topbar {
        height: 50px
    }
    .navbar-toggle {
        right: 55px
    }
    #top-menu {
        border: 0;
    }
    .flex-control-paging li a {
        background: #fff;
        opacity: 8
    }
    .flex-control-paging li a.flex-active {
        background: #16B8F8;
        opacity: 8
    }
    .navbar-collapse {
        border: 0
    }
    .navbar-collapse {
        background: rgba(61, 44, 10, 0.6) !important;
        width: 667px;
        margin-left: -22px;
        margin-top: -26px
    }
    .templatemo_topbar .navbar-default .navbar-nav>li>a {
        border-bottom: 0;
        background:
    }
    .nav>li {
        display: inline-block
    }
    #home-info {
        display: inline-block
    }
}

@media screen and (min-width:328px) and (max-width:568px) {
    /*New changes*/
    .wedo {
        width: 100%
    }
    .wedo .effect-layla {
        border-bottom: 0
    }
    .gri figure {
        background: transparent
    }
    .dark-bg tr td,
    .light-bg tr td {
        display: block;
        width: 100%;
        word-wrap: normal;
        text-align: center
    }
    .griImg {
        height: 100%
    }
    .crsl-wrap {
        margin-left: -907px !important
    }
    body {
        overflow-x: hidden !important;
        margin: 0 auto;
        padding: ;
        box-sizing: border-box
    }
    .nav>li {
        display: block;
        margin: 0 -2px;
    }
    #bg-menu {
        border-left: 0px solid #16B8F8;
        border-right: 0px solid #16B8F8;
        margin-left: -15px;
        border-top: 56px solid #16B8F8;
    }
    .templatemo_titlewrappersmall {
        font-size: 10px;
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        top: 1px;
        left: -17px;
        right: 0
    }
    .txt-template {
        max-width: 50px;
        margin-left: -52px;
    }
    .templatemo_topbar .navbar-default .navbar-nav>li>a {
        border-bottom: 0;
        background: rgba(61, 44, 10, 0.6);
        margin: 3px auto;
        max-width: 100%
    }
    #bg-menu {
        padding: 0
    }
    #bg-submenu {
        margin-top: -48px;
    }
    #bg-submenu img {
        width: 30px
    }
    .txt-template1 {
        max-width: 48px;
        margin-right: -55px;
    }
    #top-menu {
        border: 0
    }
    .templatemo_topbar {
        max-height: 50px;
    }
    .navbar-header {
        margin-right: 5px !important
    }
    .navbar-collapse {
        height: auto !important;
        border: 0;
        float: right;
        max-height: 400px !important;
        margin-right: -21px;
    }
    margin-top:-60px
}


/*#home-info{margin-top:0}*/

.templatemo_homebutton {
    margin-left: auto;
    margin-right: auto;
    /* margin-left: 80px; */
    /* margin-top: 15px; */
    /*  margin-bottom: -43px; */
}

.templatemo_service_title {
    font-size: 13px
}

#edca-address h1 {
    font-size: 15px
}

.grey-footer {
    padding: 7px;
    margin: 0 auto;
    position: absolute;
    width: 100%;
    right: 0;
    left: 0;
    margin-top: 10px;
}

.flex-control-paging li a {
    background: #fff;
    opacity: 8
}

.flex-control-paging li a.flex-active {
    background: #16B8F8;
    opacity: 8
}


}
@media screen and (max-width: 568px) and (min-width: 328px) and (orientation:landscape) {
    body {
        overflow-x: hidden;
        margin: 0 auto
    }
    
    .templatemo_titlewrappersmall {
        font-size: 16px;
    }
    
    .templatemo_homebutton {
        margin-left: auto;
        margin-right: auto
    }
    
    #top-menu {
        display: block;
        top: 108px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .navbar-collapse {
        background: rgba(61, 44, 10, 0.6) !important;
        /* margin-top: -26px; */
        position: absolute;
        /* width: 82%; */
        top: -79px;
        z-index: 9999;
        left: -53px;
        margin-left: auto;
        margin-right: auto;
        /* text-align: center; */
        border: 0;
    }
}
@media screen and (device-aspect-ratio: 40/71) and (orientation:portrait) {
    body {
        overflow-x: hidden !important;
        margin: 0 auto;
        padding: ;
        box-sizing: border-box
    }
    
    .nav>li {
        display: inline-block;
        margin: 0 -6px;
    }
    
    .templatemo_titlewrappersmall {
        font-size: 4.5px;
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        top: 1px;
        left: 9px;
        right: 0;
    }
    
    .txt-template {
        max-width: 50px;
        margin-left: -52px;
    }
    
    .templatemo_topbar .navbar-default .navbar-nav>li>a {
        font-size: 10px;
        border-bottom: 0
    }
    
    #bg-menu {
        padding: 0
    }
    
    #bg-submenu {
        margin-top: -54px;
    }
    
    #bg-submenu img {
        width: 30px
    }
    
    .txt-template1 {
        max-width: 48px;
        margin-right: -55px;
    }
    
    #top-menu {
        border: 0
    }
    
    .templatemo_topbar {
        max-height: 50px;
    }
    
    .navbar-header {
        margin-right: 5px !important
    }
    
    .navbar-collapse {
        background: rgba(61, 44, 10, 0.6) !important;
        width: 568px;
        margin-left: -28px;
        margin-top: -60px
    }
    
    #home-info {
        margin-top: 0
    }
    
    .templatemo_homebutton {
        margin-left: 80px;
        margin-top: 15px;
        margin-bottom: -43px;
    }
    
    .templatemo_service_title {
        font-size: 13px
    }
    
    #edca-address h1 {
        font-size: 15px
    }
    
    .grey-footer {
        padding: 7px;
        margin: 0 auto;
        position: absolute;
        width: 100%;
        right: 0;
        left: 0;
        margin-top: 10px;
    }
    
    #bg-menu {
        border-top: 57px solid #16B8F8;
        margin-left: 13px
    }
    
    .flex-control-paging li a {
        background: #fff;
        opacity: 8
    }
    
    .flex-control-paging li a.flex-active {
        background: #16B8F8;
        opacity: 8
    }
    
    .flex-control-paging li a {
        background: #fff;
        opacity: 8
    }
    
    .flex-control-paging li a.flex-active {
        background: #16B8F8;
        opacity: 8
    }
}