@media (max-width: 400px) {
    @-ms-viewport {
        width: 320px;
    }
    .subpage-home {
        margin-top: -30px;
    }
    .btnwidth {
        width: 80%;
    }
    .text-right {text-align: left;padding-left:0px;}
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;}

}
/* Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) { /* For tablets: */
   .text-right {text-align: left;padding-left:0px;}
    .subpage-home {
        margin-top: -30px;
    }
   .btnwidth {width: 80%;}
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;}
}

/* Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) { /* For tablets: */
   .text-right {text-align: left;padding-left:0px;}
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;}.btnwidth {width: 80%;}
    .subpage-home {
        margin-top: -30px;
    }
}

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) { /* For tablets: */
   .text-right {text-align: left;padding-left:0px;}
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;} .btnwidth {width: 80%;}
    .subpage-home {
        margin-top: -30px;
    }
}

/* Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) { /* For tablets: */
    .text-right {text-align: left;padding-left:0px;}
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;}.btnwidth {width: 80%;}
    .subpage-home {
        margin-top: -30px;
    }
}

/* Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
   .text-right {text-align: left;padding-left:0px;}
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;} .btnwidth {width: 80%;}
    .subpage-home {
        margin-top: -30px;
    }
}

/* Portrait and Landscape */
@media only screen and (min-device-width: 360px) and (max-device-width: 640px) and (orientation: landscape) { /* For tablets: */
    .text-right {
        text-align: left;
        padding-left: 0px;
    }
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;} .btnwidth {width: 80%;}
    .subpage-home {
        margin-top: -30px;
    }
}

/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) { /* For tablets: */
    .text-right {
        text-align: left;
        padding-left: 0px;
    }
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;}.btnwidth {width: 80%;}
    .subpage-home {
        margin-top: -30px;
    }
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) { /* For tablets: */
   .text-right {text-align: left;padding-left:0px;}
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;}.btnwidth {width: 80%;}
    .subpage-home {
        margin-top: -30px;
    }
}
/* ----------- iPhone 6+ ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
    .text-right {text-align: left;padding-left:0px;}
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;}.btnwidth {width: 80%;}
    .subpage-home {
        margin-top: -30px;
    }
}

/* Portrait */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) { /* For tablets: */
    .text-right {text-align: left;padding-left:0px;}
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;}.btnwidth {width: 80%;}
    .subpage-home {
        margin-top: -30px;
    }
}

/* Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) { /* For tablets: */
    .text-right {text-align: left;padding-left:0px;}
    .container{padding: 0px 0px;}
    .frmText{margin-left:0px;}
    .button-width {width: 90%;margin: 15px;}
    .navbar-collapse{margin-top:55px;}
    .logo {text-align: left;}
    .container{width:85%;}
    .margin-xs {margin: 10px auto 0 25px;float: none;}
    .right-bar {text-align: left;background: #001B47;height: 203px;padding: 0px;} .btnwidth {width: 80%;}
    .subpage-home {
        margin-top: -30px;
    }
}

/*TABLETS*/
@media (max-width: 1280px) and (min-width: 720px) {
    .text-right {text-align: left;padding-left: 0px;}
}
@media (max-width: 1024px) and (min-width: 768px) {
    .container {width:100%;}  
    .text-right {text-align: left;padding-left:0px;}
}

/* Portrait and Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
   .text-right {text-align: left;padding-left:0px;}
}

/* Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
  .text-right {text-align: left;padding-left:0px;}
}

/* Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
   .text-right {text-align: left;padding-left:0px;}
}

/* ----------- iPad 1 and 2 ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
   .text-right {text-align: left;padding-left:0px;}
}

/* Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
   .text-right {text-align: left;padding-left:0px;}
}

/* Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .text-right {text-align: left;padding-left:0px;}
}

/* ----------- iPad 3 and 4 ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
   .text-right {text-align: left;padding-left:0px;}
}

/* Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
   .text-right {text-align: left;padding-left:0px;}
}

/* Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
   .text-right {text-align: left;padding-left:0px;}
}
/* Portrait and Landscape */
@media screen and (device-width: 601px) and (device-height: 906px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) {
    .text-right {text-align: left;padding-left:0px;}
}

/* Portrait */
@media screen and (device-width: 601px) and (device-height: 906px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) and (orientation: portrait) {
.text-right {text-align: left;padding-left:0px;}
}

/* Landscape */
@media screen and (device-width: 601px) and (device-height: 906px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) and (orientation: landscape) {
    .text-right {text-align: left;padding-left:0px;}
}
