/* ----------- 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) {*/
@media 
(max-width: 568px)
{
    #bootstrap-touch-slider {
        margin-top: 50px;
    }



    .navbar-brand {
        padding: 0 !important;
        height: 50px;
        margin-top: 0px !important;
    }

    .navbar-brand img {
        height: 100%;
        margin-top: 0px !important;
        padding-bottom: 5px !important;
        padding-top: 5px !important;
    }

    .mynavbarx {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .p-mail-na {
        margin-left: 40px !important;
    }





    .slide-text {
        /*top: 0% !important;*/
        /*padding-top: 5px !important;*/
    }

    .slide-text > h1, .slide-text > h2 {
        padding: 5px !important;
    }





}

/* Portrait */
@media only screen 
and (min-device-width: 320px) 
and (max-device-width: 340px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {

    .slide-text-yt {
        top: 54% !important;
        z-index: 10000;
    }
}

/* Landscape */
@media only screen 
and (min-device-width: 320px) 
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
    .slide-text {
        top: 38% !important;
    }
}

/* ----------- iPhone 6, 7 ----------- */

/* Portrait and Landscape */
/*@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { */
@media
(min-width: 375px) 
and (max-width: 667px) 
{ 
    .slide-text h1 {
        font-size: 30px !important;
        line-height: 30px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .slide-text p {
        font-size: 13px !important;
        line-height: 18px !important;
        margin-bottom: 0px !important;
        margin-top: 8px !important;
    }
}

/* Portrait */
@media only screen 
and (min-device-width: 375px) 
and (max-device-width: 667px) 
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) { 

}

/* Landscape */
@media only screen 
and (min-device-width: 375px) 
and (max-device-width: 667px) 
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) { 

}

/* ----------- iPhone 6+, 7+ ----------- */

/* Portrait and Landscape */
/*@media only screen 
and (min-device-width: 414px) 
and (max-device-width: 736px) 
and (-webkit-min-device-pixel-ratio: 3) { */
@media
(min-width: 414px) 
and (max-width: 736px) 
{ 
    .slide-text h1 {
        font-size: 35px !important;
        line-height: 35px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .slide-text h2 {
        font-size: 35px !important;
        line-height: 35px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .slide-text p {
        font-size: 15px !important;
        line-height: 18px !important;
        margin-bottom: 0px !important;
        margin-top: 10px !important;
    }
}

/* Portrait */
@media only screen 
and (min-device-width: 414px) 
and (max-device-width: 736px) 
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: portrait) { 

}

/* Landscape */
@media only screen 
and (min-device-width: 414px) 
and (max-device-width: 736px) 
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: landscape) { 
    .slide-text {
        top: 38% !important;
    }
}

/* ----------- 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) {


}

/* Portrait */
@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation: portrait) 
and (-webkit-min-device-pixel-ratio: 1) {
    .container-white { 
        width: 100% !important;
    }

    .navbar .navbar-nav>li>a {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .mynavbarx {
        padding-left: 0px !important;
    }

    .navbar-right {
        display: none !important;
    }

    .navbar-brand {
        padding-right: 0px !important;
        padding-left: 10px !important;
    }
}

@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation: portrait) 
and (-webkit-min-device-pixel-ratio: 2) {
    .navbar-right {
        display: initial !important;
    }
    .stamp {
        left: 65.5%;
    }
}

/* Landscape */
@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation: landscape) 
and (-webkit-min-device-pixel-ratio: 1) {

    .container-white { 
        width: 100% !important;
    }

    .navbar .navbar-nav>li>a {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }


}

/*************** RESPONSIVE.CSS ****************/

@media (max-width: 1200px) and (min-width: 992px)
{
    .stamp {
        height: 109px;
        width: 200px;
        top: 9px;
        left: 67%;
    }
}

@media (min-width: 568px) and (max-width: 767px) {
    .stamp {
        top: -7px;
        left: 31%;
        background-size: 75%;
        height: 90px;
        width: 185px;
    }
    .slide-text-yt {
        z-index: 10001;
    }
}

@media (max-width: 1024px) {
    .mapy-container {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
        margin-top: 20px;
    }

    .mapy-container iframe, .video-container object, .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    section.footer .footer-right {
        margin-top: 0px !important;
    }
    .newBox-right {
        height: auto !important;
        padding-bottom: 10px !important;
    }
    .newBox-right .see-more {
        width: 100%;
        position: initial !important;
        text-align: right;
        margin-bottom: 10px;
    }

    .dist-box {
        border-right: none !important;
    }


    .world-map img {
        max-width: 100% !important;
    }

    .dam-box {
        border-right: none !important;
        border-bottom: 2px dotted #DDD;
        width: 100%;
    }

    .dam-box:last-of-type {
        border-bottom: 0px !important;
    }

    .row-dam {
        border: none;
    }

    .dam-box-right-less-padd {
        padding-left: 45px !important;
    }
    #quote-carousel .carousel-indicators {
        display: none !important;
    }

    #quote-carousel .scr-box-right {
        min-height: 200px !important;
    }
}
@media (max-width: 767px) and (orientation: portrait) {

    .hideTo767 {
        display: none !important;
    }

    .firmware-bar {
        top: 49%;
        left: 60%;
        width: 20%;
    }
}

@media (max-width: 1025px) and (orientation: portrait) {
    .ms-video {
        left: 21.2%;
        top: 33%;
        width: 56%;
    }

    .slide-text p.ms-text { 
        line-height: 35px;
        background-color: rgba(0,0,0,0.5);
    }

    .firmware-bar {
        top: 49%;
        left: 60%;
        width: 20%;
    }
}


@media (max-width: 768px) {

    .hideTo768 {
        display: none !important;
    }

    .dist76 {
        display: none;

    }



    .op-nav .carousel-control {
        top: 26% !important;
    }

    h2.classic {
        font-size: 30px !important;
    }

    .block-btn {
        display: block;
    }

    .marginbottom50to991 {
        margin-bottom: 50px;
    }
    .marginbottom60to991 {
        margin-bottom: 60px;
    }

    .op-prod {
        margin-bottom: 0px;
        padding-bottom: 5px !important;
        font-size: 20px !important;
        text-align: center;
    }

    h2.classic.op-subhead {
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
        font-size: 20px !important;
        text-align: center;
    }

    .download-icon {
        float: left;
        margin-bottom: 10px;
    }

    .m-top {
        margin-top: 15px;
    }

    .m-bottom {
        margin-bottom: 15px;
    }


}

@media (max-width: 567px) {



    .display-none-to-567 {
        display: none;
    }

    .scrollToTop{ 
        right: 15px !important;;
    }

    .aa-logo {
        max-width: 200px !important;
    }
    .stamp {
        top: -7px;
        left: 31%;
        background-size: 75%;
        height: 90px;
        width: 185px;
    }

    .hp-fasit-holder {
        /*background: transparent;*/
        width: 100% !important;
        float: left;
    }

    .hp-fasit {
        float: left;
    }

    .hp-fasit-status-warning {
        position: absolute;
        bottom: 21%;
        width: 30%;
    }

    .hp-fasit-statuses {
        font-size: 1.8em;
        text-align: left;
    }

    .adash-line h5 {
        font-size: 1.5em;
    }

    .adash-line h6 {
        font-size: 1.75em;
        text-align: center;
    }

    .hp-fasit-image img {
        width: 50px;
    }

    .hp-fasit-image {
        padding-left: 10vw;
    }

    .slide-text-hp {
        top: 0% !important;
    }

}

@media (min-width: 568px) and (max-width: 767px) {
    .hp-fasit-holder {
        /*background: transparent;*/
        width: 100%;
        float: left;
    }

    .hp-fasit {
        float: right;
    }

    .hp-fasit-status-warning {
        position: absolute;
        bottom: 21%;
        width: 30%;
    }

    .hp-fasit-statuses {
        font-size: 1.8em;
    }

    .adash-line h5 {
        font-size: 1.5em;
    }

    .adash-line h6 {
        font-size: 1.75em;
        text-align: center;
    }

    .hp-fasit-image img {
        width: 50px;
    }

    .hp-fasit-image {
        padding-left: 10vw;
    }

    .slide-text-hp {
        top: 0% !important;
    }
}

@media (max-width: 450px) {
    .adash-line h6 {
        font-size: 1.5em;
    }

    .adash-line-spanish-text {
        font-size: 1.3em !important;
    }

    .slide-desc {
        line-height: 25px !important;
    }
}
@media (max-width: 325px) {
    .marginleftminus5 {
        margin-left: -5px;
    }
}

@media (max-width: 991px) {


    .releaseBox-right {
        float: right;
        width: 100%;

    }

    .releaseBox .releaseBox-right a {
        margin-top: 10px;
        margin-bottom: 14px;
    }

    .next-video {
        padding-bottom: 15px;
    }

    .mega-dropdown-menu > li > ul > li > a {
        margin-top: 5px;
        margin-bottom: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .img-3800 {
        margin-bottom: 30px;
    }

    .display-none-to-992 {
        display: none;
    }


    .map-flag {
        top: 0px !important;
    }

    .s-v-detail {
        margin-top: 50px !important;
    }

    .row-top {
        margin-top: 60px;
    }

    .maxwidth50 {
        max-width: 50%;
        margin: auto;
    }

    .map-box {
        margin-top: 30px;
    }

    .hideTo991 {
        display: none !important;
    }

    .scr-box-right .scr-title {
        text-align: center;
        padding-top: 10px;
    }

    #quote-carousel .scr-box-right {
        min-height: 1px !important;
    }

    .scr-box-right p {
        text-align: center;
    }


    section.news-and-events-2 a.new-perrex {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 2px dotted #DDDDDD;
    }



    .download-right {
        padding-left: 15px !important;
    }

    .products-img {
        margin-bottom: 15px;
    }

    #product-nav {
        display: none !important;
    }
    .show-on-mobile {
        display: block !important;
    }



    #jts-dropdown.md-fixed {
        right: 70px !important;
        font-size: 14px !important;
    }
    /*    #product-nav a {
            font-size: 1.1em !important;
        }
        
        #product-nav .navbar-header {
            display: none;
        }
        
        #product-nav .nav>li {
            display: inline-block;
        }
        
        .pn-fixed {
            top: 50px !important;
        }
    */

    .slide-text {
        /*display: none !important;*/
    }

    .col-md-6.newBox-img {
        float: left;
    }

    .navbar-brand {
        padding: 0 !important;
        height: 50px;
        margin-top: 0px !important;
    }

    .navbar-brand img {
        height: 100%;
        margin-top: 0px !important;
        padding-bottom: 5px !important;
        padding-top: 5px !important;
    }
    .navbar .navbar-nav>li>a {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }
    .container-white {
        background-color: white !important;
    }

    .mega-dropdown-menu .dropdown-header {
        white-space: initial;
        padding-left: 0px !important;
    }

    .read-more {
        padding-bottom: 5px;
        margin-bottom: 15px;
        border-bottom: 1px dotted #b5b5b5;
    }

    .read-more:last-of-type { 
        border-bottom: none !important;
    }

    .mega-dropdown-menu {
        padding-left: 10px; 
        background-color:  #F5F5F5 !important;
    }
    .dropdown-menu {
        background-color:  #F5F5F5 !important;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
        color: #222 !important;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    #mm-3 {
        display: none;
    }
    .mega-dropdown-menu > li > ul > li > a {
        padding-left: 0px;
    }

    .newBox-img img {
        opacity: 1 !important;
    }

    .read-more {
        background-position: right bottom 8px;
    }

    .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
        max-height: 100vh;
    }

    .navbar .navbar-nav>li>a {
        padding-left: 5px !important;
    }

    .pdt-top {
        margin-top: 50px !important;
    }

    #quote-carousel .carousel-control {
        margin-top: 53% !important;
    }

    .pdt-main-img {
        display: none;
    }

    .img-to-992 {
        display: initial !important;
        max-width: 100%;
    }

    .data-sheet-item-box {
        text-align: left !important;
    }

    #quote-carousel .carousel-control {
        margin-top: 145px !important;
    }

    #product-nav li {
        display: inline-block !important;
    }

    #product-nav ul.navbar-left {
        margin-top: 0px !important;
    }

    li.pdt-name {
        display: none !important;
    }

    li.pdt-name.open {
        padding-right: 5px !important;
        padding-left: 0px !important;
    }

    .pn-fixed {
        top: 50px !important;
    }
}

@media (min-width: 992px) {

    .slide-text p.ms-text {
        display: table;
    }

    .slide-text-app {
        top: 48%;
    }

    .navbar-rightx {
        float: right!important;
        margin-right: -15px;
    }

    .aa-a {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .img-3800 {
        max-height: 486px;
        width: auto !important;
        margin-left: 30px;
    }
    .noborderbottom {
        border-bottom: none !important;
    }

    #vd-boxes .vd-box:nth-child(3n) {
        border-right: none !important;
    }

    .margintopminus25 {
        margin-top: -25px !important;
    }
    .margintopminus45 {
        margin-top: -45px !important;
    }

    ul.navbar-rightx li a {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .va3-carousel .carousel-control {
        margin-top: 140px !important;
    }
    .carousel-indicators.va3-indicators {
        left: 53%;
        top: 245px !important;
    }

    #quote-carousel {
        min-width: 710px;
    }

    .products-box {
        min-height: 510px;
    }

    .products-img {
        min-height: 245px;
    }

    .vib-ex-last-p {
        padding-bottom: 70px !important;
    }

    .vib-ex-img {
        max-height: 660px;
        width: auto !important;
        padding-top: 0px !important;
    }

    .ex-box {
        margin-left: 25px;
    }
}

@media (min-width: 1200px) {
    .dam-box, .dist-box {
        padding-top: 25px;
        min-height: 405px;
        /*margin-bottom: 40px;*/
    }

    .slide-text-hp {
        top: 19% !important;
    }
}


@media (min-width: 992px) and (max-width: 1199px) {
    .navbar .navbar-nav>li>a {
        padding-left: 17px !important;
        padding-right: 17px !important;
        font-size: 14px !important;
    }

    .slide_style_right {
        text-align: left !important;
    }

    /*    #slide-video-adash {
            width: 255px;
        }*/

}

@media (min-width: 1025px) {
    .mapy-container {
        margin-top: 15px;
    }
}

@media (min-width: 768px) {
    .tut-img {
        max-height: 185px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .hp-fasit-holder {
        float: none !important;
        margin: auto;
    }

    .slide-text-hp {
        margin-left: -20%;
    }

    .slide-text p {
        text-align: left;
    }

    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;

    }

    .stamp {
        top: -8px;
        left: 39%;
        background-size: 80%;
    }


    .slide-text-hp {
        top: 45% !important;
    }

    #jts-dropdown.md-fixed {
        right: 90px !important;
    }

    .our-products-box { padding-bottom: 60px; }

    .our-products-box img { max-height: 500px;}

    .margintop60from768to992 {
        margin-top: 60px !important;
    }
    .margintop130from768to992 {
        margin-top: 130px !important;
    }
    .margintop200from768to992 {
        margin-top: 200px !important;
    }
    .margintop240from768to992 {
        margin-top: 240px !important;
    }

    .navbar-header {
        float: none;
    }
    .navbar-brand {
        padding-left: 40px !important;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>ul>li {
        float: none;
    }

    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}

@media (min-width: 568px) and (max-width: 767px) {
    .hp-fasit-holder {
        /*background: transparent;*/
        width: 100%;
        float: left;
    }

    .hp-fasit {
        float: right;
    }

    .hp-fasit-status-warning {
        position: absolute;
        bottom: 21%;
        width: 30%;
    }

    .hp-fasit-statuses {
        font-size: 1.8em;
    }

    .adash-line h5 {
        font-size: 1.5em;
    }

    .adash-line h6 {
        font-size: 1.75em;
        text-align: center;
    }

    .hp-fasit-image img {
        width: 50px;
    }

    .hp-fasit-image {
        padding-left: 10vw;
    }

    .slide-text-hp {
        top: 10% !important;
    }
}



@media only screen 
and (min-device-width : 414px) 
and (max-device-width : 736px) { 
    .hp-fasit-holder {
        margin-top: 50%;
    }
    .hp-fasit-image {
        padding-left: 4vw !important;
    }

    .hp-fasit-statuses {
        text-align: left;
    }
}
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) { 
    .hp-fasit-holder {
        margin-top: 40%;

    }
    .hp-fasit-image {
        padding-left: 4vw !important;
    }

    .hp-fasit-statuses {
        text-align: left;
    }
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 736px)
and (orientation: portrait){
    .adash-line h6 {
        font-size: 1.7em;
    }


}
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 736px)
and (orientation: landscape){

    .slide-text {
        /*        top: 40%;*/
    }

    .hp-fasit-holder {
        margin-top: 5%;
    }

    .slide-text-yt {
        top: 56%;
    }
}

@media 
(-webkit-min-device-pixel-ratio: 2) and 
(min-device-width : 1921px) { 
    /*    #slide-video-adash {
            height: 285px;
        }*/
}

@media
(min-width: 992px) and
(max-width: 1280px) and (orientation: landscape) {
    .slide-text p.ms-text {
        margin-bottom: 10px;
        line-height: 36px;
    }

    .firmware-bar {
        top: 49%;
    }

    .watch-vid-button {
        margin-top: 0px !important;
    }
}


@media (max-width: 414px) and (orientation: portrait) {
    .slide-text p.ms-text {
        padding-top: 3px;
        padding-bottom: 3px;
        font-size: 15px !important;
        line-height: 18px !important;
    }

    .slide-text p.ms-text.ms-text-de {
        margin-bottom: 2px !important;
    }

    .slide-text-yt {
        top: 63%;
    }

    .slide-text-yt-de {
        top: 56%;
    }
}

@media (min-width: 1595px) and (max-width: 1601px) {
    .bs-slider {
        max-height: 81vh !important;
    }
}


/******** BIG SCREEN *************/

@media (min-width: 992px) {
    .row.like-table-row {
        display: table-row;
        table-layout: fixed;
    }
    .es-oa {
        margin-top: 30px;
    }

    .like-table-row .img-responsive {
        width: 100%;
    }

    .p-mail-na  {
        width: 360px !important;
    }

    .na-map-box {
        margin-top: -40px;
    }

    .row.like-table-row > div {
        display: table-cell;
        table-layout: fixed;
        padding-left: 0px;
        vertical-align: bottom;
        /*    border: 1px solid #000;*/
        float:none;
    }

    .width80percent {
        width: 80%;
    }

    .tutorial-box {
        margin-bottom: 30px !important;
        min-height: 272px;
    }
}