/*============================================================
	For Small Desktop
==============================================================*/

@media (min-width: 980px) and (max-width: 1150px) {

}


/*============================================================
    Ipad Portrait 1024px
==============================================================*/

@media only screen and (max-width: 1024px) {
    #responsive_design,
    #parallax1,
    #parallax2,
    #parallax3,
    #parallax4,
    #parallax5 {
        background-attachment: scroll !important;
    }
}


/*============================================================
	Tablet (Portrait) Design for a width of 768px
==============================================================*/

@media (min-width: 768px) and (max-width: 979px) {
    p {
      font-size: 16px;
      line-height: 28px;
    }

    .page_title .border span {
        font-size: 24px;
    }

    #primary {
        border-radius: 0;
        height: auto;
        left: 15px;
        padding: 0;
        right: 15px;
        width: auto;
    }

    #primary .logo {
        display: block;
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
           -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
             -o-transform: translateY(-50%);
                transform: translateY(-50%);
    }

    #primary .nav-collapse {
        padding: 0;
    }

    #primary ul {
        float: right;
        list-style: outside none none;
        overflow: visible;
        padding: 0;
        position: relative;
    }
    #primary li {
        float: left;
        width: auto;
    }
    #primary li a {
        min-width: auto;
        font-size: 14px;
        line-height: 26px;
        padding: 15px 12px;
        text-align: inherit;
    }

    .service_hover p,
    .service_hover a {
        font-size: 16px;
        line-height: 28px;
    }
}


/*============================================================
	Mobile (Portrait) Design for a width of 320px
==============================================================*/

@media only screen and (max-width: 767px) {

    p {
        font-size: 16px;
        line-height: 28px;
    }
    #primary {
        background-color: #ffffff;
    }
    .site-header {
        padding: 0;
    }
    .site-header.animated {
        padding: 0;
    }
    .site-header .logo {
        margin: 10px 0 10px 15px;
    }
    .site-header .navbar-brand {
        margin: 10px 0 10px 15px;
    }
    
    .site-header .navbar-toggle {
        margin: 10px 15px 10px 0;
    }
    .site-header .navbar-brand img {
        width: 110px;
        margin: 0;
    }
    .site-header.animated .navbar-brand img {
        margin: 0;
    }
    .site-header .navbar-nav {
        margin: 0;
    }
    .site-header .navbar-nav > li > a {
        padding: 10px;
    }
    .site-header.animated .navbar-nav > li > a {
        padding: 10px 0;
    }
    #responsive_design h2 {
        line-height: 45px;
        margin-bottom: 0;
    }

    .postby {
        display: block;
        margin: -10px 0 0 20px;
    }

    #parallax2 h1 {
        line-height: 45px;
    }
    #parallax3 h1 {
        font-size: 28px;
    }
    .pf-info {
        margin-top: 40px;
    }
}


/*============================================================
    iPhone 5 & 5S in landscape
==============================================================*/

@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {

}


/*============================================================
    iPhone 6 in landscape
==============================================================*/

@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) {

}

/*============================================================
    Mobile (Landscape) Design for a width of 480px
==============================================================*/

@media only screen and (min-width: 320px) and (max-width: 375px) {

}


/*============================================================
    Mobile (Landscape) Design for a width of 480px
==============================================================*/

@media only screen and (min-width: 480px) and (max-width: 767px) {

}