/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 599px) {
#page-title {
    position: relative;
    padding: 9rem 0;
    /* background-color: #F5F5F5; */
    border-bottom: 1px solid #EEE;
    background-image: url(../images/banner.jpg);
    background-size: 100%;
    height: 95px;
    background-repeat: no-repeat;
}
#page-title h1 {
    line-height: 25px;
    font-size: calc( 0.7rem + 1vw );
    margin-top: 40px;
    padding-top: 20px;
}
.primary-menu {
    max-width: 100%;
    background: #fff;
}
#page-title {
    padding: 0px 14px;
    text-align: center;
    margin-top: 14px;
}
#page-title .breadcrumb {
    margin: 5px 0 0 !important;
  
}
.topmargin {
    margin-top: 0rem !important;
}
.custom-mrg1 {
    margin-top: 0px;
    padding: 39px 0px 0px;
    /* background: rgba(112,85,255,0.1); */
}
.bottommargin-lg {
    margin-bottom: 2rem !important;
}
.box {
    height: auto !important;
    margin-bottom: 30px;
}
}

/* For Ipad */

@media only screen and (min-device-width : 600px) and (max-device-width : 768px) {
.custom-bg {
    background: #fff !important;
    margin-bottom: 0px;
    margin-top: 4px;
    z-index: 999;
    /* position: absolute; */
    float: right;
    margin-top: 0px;
    width: 100%;
}
ul.menu-container1 {
}
.menu-link {
    padding: 12px 24px !important;
    color: #666;
}
.top-menu {
    color: #000 !important;
    /*padding: 12px 2px !important;*/
    display: block;
    line-height: 22px;
    letter-spacing: 1px;
    font-size: 14px;
}
#primary-menu-trigger, #page-menu-trigger {
    margin-left: -15px;
}
.line.line-sm {
    margin: 0rem 0;
}
#page-title {
    margin-top: 70px;
    height: 190px;
    padding: 4rem 0
}
#page-title h1 {
    padding: 0;
    margin: 0 auto;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

.breadcrumb {
    position: absolute !important;
    width: auto !important;
    top: 180% !important;
    left: auto !important;
    right: 15px !important;
    /* margin: 48px !important; */
    background-color: transparent !important;
    padding: 0 !important;
    font-size: 90%;
    transform: translateY(-50%);
}
.media-box.fbox-bg .fbox-content1 {
    padding: 1rem !important;
}
.custom-mrg1 {
    margin-top: 0px !important;
    padding: 40px 0px 0px;
    }
    .widget_links li, .widget_links li a {
    background-image: none !important;
    padding-left: 0;
    color: #000 !important;
    font-size: 12px !important;

}
.footer-widgets-wrap p {
    margin-bottom: 8px !important;
    font-size: 10px !important;
}
.top-menu {
    color: #000 !important;
    padding: 13px 21px !important;

}
.box {
    height: auto !important;
    margin-bottom: 30px;
}
}

@media only screen and (min-device-width : 1024px) and (max-device-width : 1366px) {
.menu-link {
    padding: 12px 8px !important;
}
}