/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/


/*==========  Mobile First Method  ==========*/


/* Custom, iPhone Retina */

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

/* Extra Small Devices, Phones */

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

/* Small Devices, Tablets */

@media only screen and (min-width: 768px) {}

/* Medium Devices, Desktops */

@media only screen and (min-width: 992px) {}

/* Large Devices, Wide Screens */

@media only screen and (min-width: 1200px) {}

/*==========  Non-Mobile First Method  ==========*/


/* Large Devices, Wide Screens */

@media only screen and (max-width: 1200px) {
    .wid-container {
        padding: 0 15px;
        max-width: 900px;
    }
    ribbon .rib-left {
        width: 22px;
    }
    .ribbon {
        max-width: 917px;
    }
    .ribbon .rib-mid {
        width: 870px;
        padding: 18px 20px 0;
    }
    .footer-box h4 {
        font-size: 17px;
    }
    .f-logolf {
        width: 17%;
    }
    .f-b-mid {
        width: 64%;
        padding-top: 0;
    }
    .f-b-rh {
        width: 19%;
        padding-top: 0;
    }
    .ab-itemleft {
        width: 31%;
    }
    .ab-itemright {
        width: 31%;
    }
    .our-services h4 {
        font-size: 20px;
    }
    .our-services .service {
        min-height: 200px;
    }
    .botbits {
        width: 912px;
        height: 330px;
        position: relative;
        margin-left: -61px;
        background-size: 912px 600px;
    }
    #portfol-gal ul {
        min-height: 393px;
        position: relative;
    }
}

/* Medium Devices, Desktops */

@media only screen and (max-width: 992px) {
    .wid-container {
        max-width: 768px;
        z-index: 1;
    }
    .ribbon {
        max-width: 786px;
    }
    .ribbon .rib-mid {
        width: 738px;
    }
    .f-logolf {
        width: 20%;
    }
    .f-b-rh {
        width: 9%;
    }
    .home-body-wrap {
        padding: 30px;
    }
    #slidenav {
        padding-right: 30px;
    }
    #panel .nlcontent .nltxt .inputbox {
        width: 192px;
    }
    .nl-logo {
        padding-top: 4%;
        padding-right: 5%;
    }
    .inner-container {
        padding: 30px;
    }
    .blogbox-lf {
        padding-right: 10px;
    }
    .blogbox-rh {
        padding-left: 10px;
    }
    .ribbon-box-left {
        padding: 20px;
        background: #FF9000;
        min-height: inherit;
        width: 100%;
        margin-left: 0;
    }
    #adminForm_1 textarea {
        height: 150px;
    }
    .our-services .service {
        background-repeat: no-repeat;
        min-height: inherit;
        margin-bottom: 30px;
        width: 100%;
        padding: 0 0 20px 200px;
    }
    .botbits {
        width: inherit;
        /*height: inherit;*/
        margin-left: 0;
        background-size: auto;
        background: #FF9000;
        padding: 12px;                   /*------------------------changed-----------------------------*/
        margin: 20px 0;
        height:371px;
    }
    
    .botleft .highlight li{
        width: 51% !important;
    }
    
    .botleft {
        width: 100%;
        padding-right: 0;
    }
    .botright {
        width: 100%;
        padding-left: 0;
        padding-top: 20px;
    }
    #portfol-gal ul {
        min-height: 338px;
    }
    #portfol-gal .portfol-nav {
        top: 118px;
    }
    .footer-box p a {
        word-break: break-all;
    }
    
      .botbits
    {
        background: none;
        background-color: rgb(254,152,1);
        height: 540px;
    }
}

/*------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 980px){
    .carousel-items p {
        width: 100%;
    }
    
    .moduleItemImage span.case-tag-overlay{
        padding:0px 10px;
    }
    
    .mrtp-30 {
    margin-top: 3px;
}
    
    /*.po-head{
        width: 90% !important;
    }*/
}

/*------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 909px) {
    .menu-toggle {
        margin: 0;
        padding: 10px;
        font-size: 14px;
        text-transform: uppercase;
        color: #fff;
        font-weight: bold;
        position: absolute;
        top: -39px;
        right: 0;
    }
    .innerwrap .atopnav {
        padding-top: 30px;
        width: 100%;
        position: relative;
        z-index: 99;
    }
    .innerwrap .atopnav ul li {
        display: block;
        margin-left: 0;
    }
    .innerwrap .atopnav ul {
        float: none;
    }
    .innerwrap .logo {
        padding: 25px 0 0 13px;
        width: 100%;
    }
    .site-header-menu {
        margin: 0;
        background-color: #000;
        position: relative;
    }
    .innerwrap .atopnav ul li a {
        padding: 10px;
        border-bottom: 0;
        text-align: center;
        display: block;
    }
    .innerwrap .logo {
        padding: 30px 0 0 0;
        width: 100%;
    }
    .innerwrap .logo a {
        max-width: 200px;
        display: inline-block;
    }
    #panel .nlcontent .nltxt .inputbox {
        width: 180px;
    }
    .main-navigation li {
        border-top: 0;
    }
    .menu-toggle:hover,
    .menu-toggle:focus {
        border-color: #FF9000;
        color: #FF9000;
    }
    .ribbon-box {
        width: auto;
        height: auto;
        padding: 20px;
        background: #FF9000;
        position: relative;
        top: 10;
        right: 0;
        top: 0;
        margin-top: 30px;
    }
    .about-intro .text-block {
        padding-right: 0;
    }
    .ribbon-box-left h3 {
        font-size: 20px;
    }
}

/*----------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 800px) {
    .carousel-items p {
        width: 80%;
    }
}

/*----------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 785px) {
    .ribbon .rib-left {
        display: none;
    }
    .ribbon .rib-right {
        display: none;
    }
    .ribbon {
        margin: 0 auto;
    }
    .ribbon .rib-mid {
        width: inherit;
        max-width: 738px;
        margin: 0 auto;
        float: none;
    }
}

/* Small Devices, Tablets */

@media only screen and (max-width: 767px) {
    /*-------------------------------------------------------------------------------------*/
    .carousel-items p {
        width: 80%
    }
    .po-head {
    width: 88% !important;
}
      
    /*----------------------------------------------------------------------------------------*/
    .mrt-ft-top {
        text-align: center;
    }
    .footer-box {
        background: none;
        min-height: inherit;
    }
    .footer-box h4 {
        margin: 26px 0 12px 0;
    }
    .ribbon .rib-mid {
        width: auto;
        margin: 0 15px;
        padding: 18px 20px;
    }
    .f-logolf {
        width: 100%;
        background-image: none;
    }
    .f-b-mid {
        width: 100%;
        padding: 15px 0;
    }
    .f-b-rh {
        width: 100%;
    }
    .fo-trcright {
        padding: 30px 0 30px 0;
    }
    .footer-inner {
        padding: 0;
    }
    .bd-lf {
        width: 100%;
        padding-right: 0;
    }
    .bd-rh {
        width: 100%;
        padding-left: 0;
    }
    .portfolio-section ul li {
        width: 50%;
        padding: 10px;
    }
    .ribbon .ribbonin {
        background: #FF9000;
        float: none;
        height: inherit;
    }
    .carousel-item .home-head {
        padding-top: 0;
    }
    .carousel-items p {
        font-size: 18px;
        line-height: 26px;
    }
    .home-body-wrap {
        padding: 20px;
    }
    #slidenav {
        padding-right: 20px;
    }
    .po-rh-info {
        float: none;
        font-size: 13px;
        display: block;
        padding-top: 10px;
    }
    .po-head {
        font-size: 20px;
    }
    .welcome-t-block h3 {
        font-size: 20px;
    }
    .wel-list-rh .blogtitle {
        font-size: 16px;
    }
    .nl-logo {
        width: 100%;
        padding: 10px 0;
        text-align: center;
    }
    .nl-logo a {
        max-width: 180px;
    }
    #panel .nlcontent .nltxt {
        border-left: 0;
        padding-left: 0;
        width: 100%;
        padding-bottom: 15px;
    }
    #panel .nlcontent {
        margin: 0 15px;
        text-align: center;
        height: auto;
        max-width: inherit;
        padding-top: 0;
    }
    #panel .nlcontent .nltxt .inputbox {
        width: 100%;
        margin: 0 0 10px 0;
    }
    #panel .nlcontent .nltxt p {
        padding-bottom: 10px;
    }
    #panel {
        height: auto;
        clear: both;
    }
    #panel .nlcontent .nltxt .button {
        width: 100%;
    }
    #quicklinks {
        margin: 10px 0;
    }
    #quicklinks li {
        width: auto;
        float: none;
        padding: 2px 0;
    }
    .inner-container {
        padding: 20px;
    }
    .ab-itemleft {
        width: 100%;
        text-align: center;
    }
    .ab-itemright {
        width: 100%;
        text-align: center;
    }
    .in-head-box h2 {
        font-size: 20px;
    }
    .about-intro .text-block .wel01 {
        font-size: 15px;
    }
    .mrt-ab-top {
        margin-top: 30px;
    }
    .blogbox-lf {
        padding-right: 0;
        width: 100%;
    }
    .blogbox-rh {
        padding-left: 0;
        width: 100%;
    }
    .contentblog-item h3 a {
        font-size: 18px;
    }
    .ribbon-box-left {
        margin-bottom: 40px;
    }
    .portfolio-body-wrap {
        padding: 0;
    }
    .page-template-page-portfolio .inner-container {
        background: url(../images/pfcrnr.png) #fff no-repeat bottom center;
        padding-bottom: 185px;
    }
    #portfol-gal ul {
        min-height: inherit;
    }
    #portfol-gal .portfol-nav {
        display: none !important;
    }
    .nav-pd {
        float: none;
        display: block;
        margin-top: 10px;
    }
    .nav-pd a {
        font-size: 13px !important;
    }
    .ql-lf {
        width: 100%;
        padding-right: 0;
    }
    .ql-rh {
        width: 100%;
        padding-left: 0;
        padding-top: 10px;
        text-align: center;
    }
	.services-panel {
		padding:50px 15% 0 8%;
		width:100%;
	}
	
	.services-panel-image {
		background-size:cover;
		height:auto;
		padding:50px 15% 0 8%;
		width:100%;
	}

}

/*----------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 600px) {
    .carousel-items p {
        width: 80%;
    }
    
    #portfol-gal{
        min-height:270px;
    }
    
    .po-head{
        width: 100% !important;
    }
}

/*----------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 568px) {
 .po-head{
        width: 100% !important;
    }

}
/* Extra Small Devices, Phones */

@media only screen and (max-width: 480px) {
    .portfolio-section ul li {
        width: 100%;
    }
    .our-services .service {
        padding: 200px 0 20px 0;
    }
    .botleft .highlight li {
        width: 80% !important;
    }
    
    .po-head{
        width: 100% !important;
    }
    
       .botbits
    {
        background: none;
        background-color: rgb(254,152,1);
        height: 600px;
    }
}

/* Custom, iPhone Retina */



/*----------------------------------------------------------------------------*/

@media only screen and (max-width: 360px) {
    .carousel-items p {
        width: 35%;
        font-size: 14px !important;
    }
    
     .po-head{
        width: 100% !important;
    }
    
    .botleft .highlight li {
        width: 80% !important;
        font-size: 12px;
    }
    
    #portfol-gal{
        min-height: 150px;
    }
    
    .botbits {
        height: 422px;
    }
    
    ul.wel02 span{
        font-size: 11px;
        min-width: 68px;
    }
    
    .welcome-t-block p{
        font-size: 12px;
        text-align:justify;
    }
    
        .botbits
    {
        background: none;
        background-color: rgb(254,152,1);
        height: 600px;
    }
    
}
@media only screen and (max-width: 320px) {
    .carousel-items p {
        width: 30%;
        font-size: 12px !important;
    }
    
    .botleft .highlight li {
        width: 80% !important;
    }
    
    ul.wel02 span {
    font-size: 12px;
    min-width: 62px;
    }
    
    .botbits {
    height: 422px;
    padding: 10px 7px;
    margin: 20px -18px;
    }
    
    #portfol-gal{
min-height:125px;
    }
    
    .botbits
    {
        background: none;
        background-color: rgb(254,152,1);
        height: 540px;
    }
    
    .po-head{
        width: 100% !important;
    }
    
}

/*----------------------------------------------------------------------------*/