﻿/*Mobile styles*/
@media screen and (max-width: 480px) {
    .content {
        width: 95%;
        margin: 0 auto;
    }
    .jGrowl.bottom-right {
        right: 0;
    }

 ul.filters select, ul.filters input[type="text"], ul.filters input[type="password"] {
        width: 100%;
     margin: 15px 0 25px;
    }

    .tab-content {
        margin-top: 80px;
    }
    div.service-block div.service-tab-active {
        background-color: #ee5b3f !important;
        color: #fff;
    }
    .product-wrapper {
        margin: 30px 0;
    }

    td.header-user-block a.user-link-to-events span {
      display: none;
    }
    td.header-user-block a.user-link-to-events img {
            top: 14px;
    left: 0;
    }
    .search-block #option-button {
     position: relative;
     left: 177px;
     top: 6px;
    }
    .cardInfo {
        width: 100%;
    }
    .headline button {
       width: 100px;
       margin-right: 8px;
    }
    .owl-theme .owl-dots .owl-dot span {
        margin: 5px 11px;
        width: 41px;
        height: 8px;
        background: #e4e9ef;
        border: none; 
    }
    .owl-theme .owl-dots .owl-dot:hover span {
        border: none;
        background: #6397ca;
    }
    .owl-theme .owl-dots .owl-dot.active span {
        border: none;
        background: #6397ca;
    }
    .owl-dot.active:before {
        display: none;
    }
    .second, .steper-row-2 {
        flex-direction: column;
        width: 100%;
        margin-top: 80px;
    }
    .steper-row-2 {
        margin: 0;
    }
    div.viewport {
            width: 100%;
        }
   .wrapper {
       width: 100%;
       margin: 0 auto;
       padding:0 !important;
   }
    .owl-dots {
        margin: 0 auto;
    }
    .order-btn-carousel {
         bottom: 0px;
         left: 0px;
        z-index: 50;
        width: 76%;
    }
    .order-btn-carousel img {
        left: 50px
    }
    .content .banner-container h1 {
        width: 95%;
        margin: 0 auto;
        text-align: center;
        font-size: 20pt;
    }
    .content .banner-container p {
        text-align: center;
        width: 100%;
    }
    .content .banner-container .cards-banner {
        width: 100%;
    }
    .content .banner-container .cards-banner p {
        width: 100%;
    }
    .content .banner-container .banner-text-block-hand {
        width: 100%;
        z-index: 50;
        bottom: 68px;
    }
    .content .banner-container .owlImg-card {
        display: none;
    }
    .content .banner-container .owlImg-hand,
     .content .banner-container .owlImg-map {
        display: none;
    }
    .step {
        width: 100%;
        height: auto;
    }
    .step_1 p {
        margin-top: 5px;
    }
        .step p {
         text-align: left;
        }
    .step_1 {
        width: 95%;
        flex-direction: row;
        justify-content: baseline;
    }
    .icon {
        height: auto;
        margin: 0;
        width: 115px;
        top: -47px;
        left: 14px;
        float: left;
    }
        .stepText {
            float: right;
            width: 58%;
            position: relative;
            top: -35px;
        } 
    .wrapper .second .step p {    
        font-size: 12pt;
    }
    .wrapper .second .step_headline p {
        font-size: 50pt;
        position: relative;
        right: 49px;
    }
    .third {
        margin: 0 auto;
    }
        .third .product-wrapper img {
            width: 100%;
        }
        .third .product-wrapper a {
            width: 45%;
            margin-right: 1px;
        }
    .headline {
        align-items: center;
        margin-top: 0;
    }
    .headline h2 {
        display: block;
    }
    .wrapper .headline h2 {
        font-size: 22pt;
        width: 100%;
        text-align: center;
    }
    .cardContainer {
        margin: 0 auto;

    }

    .content .headline_stepper_second h2 {
        margin: 80px 0 25px;
    }
    div.content h2 {
        line-height: 97%;
        font-size: 22pt;
        text-align: center;
        margin: 0 0 25px;
    }

    div.tab .tab-first {
        flex-wrap: wrap;
        width: 100%;
    }

    .tab-first .tablinks {
        width: 100%!important;
    }
    .tab button {
        width: 80%;
        margin: 20px auto 0;
        float: none;
        display: block;
        height: 50px;
    }

    div.tab .tariffButton {
        width: 100%!important;
    }

    div.tab .tariffButton button {
        width: 100%;
    }
    .tab a {
        text-decoration: none;
    } 
    .tab .tariffButton button {
        margin-left: 0;
        display: block;
        margin: 20px auto 0;
        width: 80%;
        height: 50px;      
    }
    .cardInfo {
        margin-top: 30px;
    }
    .CardButton {
        margin-top: 20px;
        width: 100%;
    }
    .product {
        width: 79%;
        align-items: center;
        padding: 20px;
        flex-direction: column;
        margin: 20px auto;
    }
    .product-info {
        margin-top: 10px;
        width:100%;
        position: relative;
    }
    .product-info h3 {
        display: inline-block;
        width: 80%;
    }
    .hamburger {
        width: 20px;
        position: absolute;
        top:20px;
        right: 20px;    
    }
    .product-wrapper img {
        height: auto;
    }
    .product-icon, .product-icon img {
        height: auto;
        margin-right: 0px;
        width: 100%;
    }
    div.service-block {
        margin-bottom: 150px;
    }
    .bottom-line {
        flex-direction: row-reverse;
        flex-wrap: wrap-reverse;
        justify-content: flex-end;
        margin-top: 4%;
        width: 100%;
        position: inherit;
    }

    .balance_btn {
        width: 100%;
    }

    .bottom-line .balance_btn a.action-link {
        margin: 0;
    }
    .balance-wrapper {
        display: flex;
        height: auto;
        width: 95%;
        margin: 5px 0 20px;
        flex-direction: row;
    }
    .bottom-line a.action-link {
        margin-left: 10px;
        width: 71%;
        padding: 15px 0;
    }
    .bottom-line-order {
        display: flex;
        position: inherit;
        width: 100%;      
    }
    .bottom-line a {
        width: 20%;
    }
    .bottom-line .balance-img {
        width: 28px;
        left: 0px;
        bottom: -3px;
        position: absolute;
    }
    .bottom-line-order a {
        width: 80%;
    }

    .dropdown-content {
        min-width: 250px;
        top: 14px;
    }
     .dropdown-content a {
            padding: 20px 16px;
        }
    .balance-wrapper .balance {
        font-size: 12pt;
        margin-left: 20px;
    }
    .number {
        margin-top: 7px;
    }
    .order-btn {
        margin: 25px auto;
        padding: 15px 0;
        width: 70%;
        display: block;
        text-align: center;
    }

    .history-data {
        flex-wrap: wrap;
    }
    .history-data select {
        margin-left: 10px;
    }
    .calendar {
       margin: 25px -13px;;
    }

    .history-img {
        width: 50%!important;
        margin: 0 66px 15px;
    }
    .filters-buttons {
        width: 100%;
        
    }
    .filters-buttons input {
        width: 80%;
        margin: 20px auto;
    }
    .history-block {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .history-block a {
        margin: 25px auto;
    }
    .center-message {
        line-height: 29px;
        padding: 0;
        font-size: 18pt;
        text-align: center;
        float: none;
        width: 90%;
    }
    .product-order {
        flex-direction: row;
        flex-wrap: wrap;   
    }
    div.tariff-table {
        width: 100%;
    }

    div.tariff-table table {
        font-size: 11pt;
        width: 100%;
    }
    .product-order img {
        width: 92%;
    }
     .order {
            width: 100%;
            flex-wrap: wrap;
            margin-left: 15px;
        }
        .order-btn {
           margin: 0 auto;
        }

        .value {
            text-align: left;
            width: 100%;
            order:3;
          }
        .result {
              margin: 20px 0 0 20px;
        }
        .result .headline {
            margin-top: 35px;
        }
        .result:before {
            content: "";
            display: block;
            width: 90%;
            background: #8a9eb1;
            height: 1px;
        }
        .formGrey {
            width: 95%;   
            padding: 1px 10px;
            overflow: hidden;
        }
        .check label {
            line-height: 1.3;
            display: block;
            width: 90%;
        }
        .check-item {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin: 25px 0;
        }
        .check-item label {
            width: 90%;
            margin-left: 14px;
        }
        .check input[type="checkbox"] {
            display: block;
            position: inherit;
            margin: 4px 0;
        }
        .content .forms {
            line-height: 1.3;
        }
        .value span {
            margin:0 31px;
            font-size: 24pt;
        }
        .price1 {
            line-height: 1.3;
        }
          .price {
            width: 86%;
            order: 2;
            margin: 0 auto;
        }
          .ml35 {
              margin: 0;
          }
          #back {
              display: block;
              width: 80%;
              text-align: center;
              margin: 0 auto;
          }
          #submit-button {
              display: block;
              width: 80%;
              margin: 10px auto;
              background: #ee5b3f!important;
              -webkit-appearance: none;
              float: none;
              height: 50px;
          }
     .order-buttons {
         display: block;
         margin: 0 auto;
         margin-top: 30px;
         clear: both;
     }
     .check {
         margin-left: 15px;
     }
     ul.forms > li {
         padding: 5px;
     }
     .calendar input {
         width: 15%;
         font-size: 9pt;
     }
     .ui-dialog .ui-widget .ui-widget-content .ui-corner-all 
     .ui-front .ui-dialog-buttons .ui-draggable .ui-resizable {
         width: 80%;
     }
     .ui-dialog {
         width: 100%!important;
     }
     .update-img {
         position: relative;
         width: 40px;
         padding: 0;
         height: 43px;
     }
     .content .forms {
         padding-left: 15px;
     }
     /*.loader {
       top: 183px;
       right: 10px;
     }*/
     .fourth {
         margin-top: 50px;
     }
     .orderInfBlock {
         position: relative;
         width: 85%;
         margin: 0 auto;
     }
     .orderInfBlock p {
         position: absolute;
         top: 81%;
     }

     .closeBtn {
       width: 9%;
       vertical-align: middle;

     }
     .closeBtn button {
         width: 20%;
     }
     .rowresponsive, .autopayInput {
         flex-direction: column;
       
     }
     .autopaySelect, .autopayInput {
         width: 90%;
           margin: 0 auto;
     }
     .autopayInput input {
         width: 93%;
     }
      .autopaySelect select {
          width: 100%;
      }
      .autopay {
          width: 97%;
          margin: 0 auto;
      }
      .owlImg {
          height: 100%;
          z-index: 2;
      }
      .owl-item .item {
          height:280px;
      }

    div.tab {
        flex-direction: column;
    }
    .step-arrow {
        display: none;
    }
     
}

@media screen and (min-width: 481px) and (max-width: 693px) {

    div.content {
        width: 100%;
    }

    div.wrapper {
        width: 100%;
        padding: 0!important;
    }
        .content .owl-item .item .owlImg {
            width: auto;
            height: 250px;
        }
        .content .owl-item .item {
            height: 250px;
        }
        .content .banner-container p {
            width: 90%!important;
        }
        .content .banner-container .owlImg-card {
            display: none;
        }
        .content .banner-container .cards-banner {
            top: -67px;
        }
        .content .banner-container .banner-text-block-hand {
            margin-top: 30px;
            width: 100%;
            z-index: 10;
            position: initial;
            padding-bottom: 20%;
        }
        .content .banner-container .banner-text-block-hand  p {
            width: 100%!important;
           
        }
        .content .banner-container .owlImg-map {
            right: 15rem;
            bottom: 38px;
            z-index: 8;
        }
        .content .banner-container h1 {
            font-size: 1.7rem;
            width: 100%!important;
        }
        .banner-img {
            display:none;
            width: 100%;
            position: absolute;
            bottom: -92px;
            left: 296px;
        }
        .content .second {
            flex-wrap: wrap;
        }

        .content .second .step {
            margin-bottom: 80px;
            width: 45%;
        }
        .order-btn-carousel {
            z-index: 15;
        }
        .content .second .tab {
            width: 100%;
          
        }
        .tab .tariffButton button {
            margin: 0;
        }
       .tab button {
            font-size: 1rem;
       }
       .cardInfo {
           width: 100%;
           margin: 30px auto;   
       }
    .content .product-order {
        flex-direction: column;
    }
     .viewport {
              width:100%!important;
              padding: 0 15px;
          }
     .formGrey {
         width: 100%;
         padding: 20px 25px;
     }
     .formGrey input.form-element-medium {
         width: 97%;
     }
     .orderInfBlock {
         margin: 0 auto;
     }
     .product-wrapper .product {
         width: 100%;
         justify-content: space-between;
     }

        .product-wrapper .product .product-info {
            /*margin: 0;*/
            width: 60%;
        }

    .balance_btn {
        width: 64%;
    }
    .content .history-data {
        width: 100%;
        flex-wrap: wrap;
    }
     .calendar-card {
         margin-bottom: 30px;
     }
     .history-data .filters-buttons  {
         margin-top: 30px;
     }
     .history-data .calendar-card{
         width: 90%;
     }
     .history-data .calendar-card select {
         width: 71%;
     }
     .content .balance-table th {
         font-size:0.8rem;
     }
     .content .balance-table .table-header th {
         font-size: 0.9rem;
     }
     .order-form-input .rowresponsive {
         width: 100%;
     }
     .order-form-input .order-buttons a, input{
         width: 250px;
     }
    .step-arrow {
        display: none;
    }

    div.tab {
        flex-wrap: wrap;
    }

        div.tab .tab-first {
            width: 100%;
        }
            div.tab .tab-first .tablinks {
                margin: 0;
            }

                div.tab .tab-first .tablinks {
                    width: 48%;  
                }

                div.tab .tariffButton {
                    width: 100%;
                    margin-top: 20px;
                }

    .jGrowl.bottom-right {
        right: 0;
    }

}
    /*Tablet styles*/
    @media screen and (min-width: 694px) and (max-width: 812px) {
        .jGrowl.bottom-right {
            right: 0;
        }
        .viewport {
              width:100%!important;
              padding: 0 30px;
          }

        div.wrapper {
            padding: 0 !important;
        }

        .product-wrapper {
            width: 100%;
        } 

        .headline {
            text-align: center;
        }
        h2 {
            text-align: center;
            margin-top: 50px;
        }
        .content .owl-item .item .owlImg {
            width: auto;
            height: 300px;
        }
        .content .banner-container p {
            width: 80%;
        }
        .content .banner-container .owlImg-card {
            left: 326px;
        }
        .content .banner-container .cards-banner {
            top: -114px;
        }
        .content .banner-container .banner-text-block-hand {
            bottom: -3px;
        }
        .content .banner-container .owlImg-hand {
            top: -268px;
            right: 41%;
        }
        .banner-img {
            display: block;
            width: 100%;
            position: absolute;
            bottom: -92px;
            left: 296px;
        }
        .cardContainer {
            display: flex;
            width: 100%;
        }

     
        .cardInfo {
            margin-left: 35px;
            float: none;
        }
        .product-icon {
             height: auto!important;
        }

        .product-icon img {
            width: auto;
        }
        .bottom-line {
            margin-top: 0!important;
            justify-content: space-between;
            width: 90%;
        }
        .order .product-order .price {
            width: 44%;
        }
        .content .banner-container .cards-banner h1{
            margin-top: 30px;
            font-size: 24pt;
        }
        .tab {
            display: flex;
            width: 100%;
        }
 
        .tab .tariffButton button {
            margin-left: 0;
        }
        .second {
            flex-wrap: wrap;
            margin: 50px auto;
            width: 93%;
        }
        .step, .step_1 {
            width: 49%;
            margin: 0px auto 35px;
        }
        .step .step_1 img {
            width: 130px;
        }
        .step_1 {
            width: 80%;
        }
        .second .icon {
            margin-bottom: 0;
            
        }
        .step .step_1 .icon {
            left: -7px;
            margin: 10px auto -8px;
        }
      .second .stepText {
               width: 100%;
        }
      .wrapper .headline_stepper_second h2 {
               text-align: center;
           }
      .banner-1 {
          bottom: 70px;
      }
      .step_headline p {
              left: 91px;
      }
      .owl-theme .owl-dots .owl-dot span {
              background: #699bcc;
      }
       .owl-theme .owl-dots .owl-dot span:hover {
              background: #699bcc;
      }
          .owl-theme .owl-dots .owl-dot.active span {
              background: #699bcc;
              border: none;
      }
          .owl-dot.active:before {
              display: none;
          }
        .third, .fourth {
            width: 100%;
            margin: 45px auto;
        }
        .third .product-wrapper a {
            margin: 20px 0 0 15px;
        }
        .product-wrapper {
            width: 100%;  
            margin: 40px auto;  
        }
        div.viewport {
            width: 100%;
        }
        .result h3:before {
            height: 74px;
        }


   .wrapper {
       width: 100%;
       margin: 0 auto;
   }
        .headline {
            width: 100%;
            margin: 0 auto;
        }
        .owl-carousel {
            width: 90%;
        }
        .owl-theme .owl-dots, .owl-theme .owl-nav {
            bottom: -41px;
        }
        .owl-theme .owl-dots .owl-dot span {
            width: 63px;
            height: 8px;
            background: #ddebfa;
            border: none;
            margin: 5px 15px;
        }
        .headline_stepper_second {
            margin-top: 100px;
        }
        .update-img img {
            width: 26px;
            height: 26px;
           bottom: 9px;
           right: -5px;
        }
        .update-img {
            width: 30px;
            height: 28px;
        }
        .product {
            width: 100%;
            justify-content: space-between;
        }
        .product-icon, .product-icon img {
            height: 160px;
        }
        .product-info {
            width: 59%;
        }

        .balance_btn {
            width: 55%;
        }

        .product-info .middle-line p {
            font-size: 11pt;
        }
        .product-info .number h2 {
            font-size: 18pt;
        }
        .bottom-line-order {
            margin-top: 13%;
        }
        .bottom-line a {
           height: auto;
           width: 40px;
        }
        .balance-wrapper .balance {
            font-size: 12.5pt;
        }
        a.action-link {
          width: 136px;
          padding: 14px 0;
          font-size: 11pt;
        }
        .owl-carousel .owl-stage-outer {
            width: 91%;
            margin: 0 auto;
        }
        .owl-item {
            width: 100%;
        }

        .wrapper .headline_stepper_second h2 {
            margin: 30px 0 auto;
        }

        .owl-dots {
            margin: 0 auto;
        }
        .order {
            width: 100%;
            flex-wrap: wrap;
        }

        .order-btn {
            margin-left: 20px;
        }
        .product-order {
            flex-wrap: wrap;
            flex-direction: row;
        }
        .result {
            text-align: left;
            width:25%;
            order:3;
            margin-top: 20px;
        }
        .value span {
            margin: 15px 0 0 32px;
        }
     
        .formGrey {
            width: 100%;   
        }
        
        input.form-element-medium {
            height: 28px;
        }
       .check-item {
           display: flex;
           justify-content: space-between;
           margin-top: 25px;
       }
       .check label {
           width:93%;
       }
       .check-label-top {
           margin-left: 20px;
       }

        .wrapper .value h3 {
            font-size: 16pt;
            margin-bottom: 20px;
        }

        .div.content ul.forms, ul.forms {
            margin: 0 auto;
        }

        div.content ul.forms, ul.forms {
            font-size: 12pt;
            border-top: 1px solid#d1dae5;
        }

        .w35 {
            width: 16%;
        }

        .ml35 {
            margin-left: 16%;
        }

        .order-buttons, .check {
            margin: 30px auto;
        }
        .order-buttons .order-buttons a, input {
            width: 250px;
        }
        .faq-c {
            width: 90%;
        }

        .faq-a {
            width: 100%;
        }

        .tarifs-table {
            width: 72%!important;
        }

     .history-data {
         width: 100%;
         flex-wrap: wrap;
         margin-bottom: 30px;
     }
     .calendar {
         display: inline-block;
         width: 65%;
     }
    .calendar input {
        width: 18%;
    }
#refresh-button {
     margin-top: 30px;
 }

div.tariff-table table tbody tr th {
    width: 40%;
}

ul.filters {
    margin-bottom: 50px!important;
}

div.tariff-table table thead tr td, div.tariff-table table thead tr th {
    padding: 5px;
}
  .content .forms {
         padding-left: 15px;
     }

  .rowresponsive, .autopayInput {
      flex-direction: column;
  }
  .autopayInput, .autopaySelect {
      width: 100%;
  }
  .autopayInput input {
      width: 96%;
  }

        .jGrowl.bottom-right {
            right: 0;
        }



    }

@media screen and (min-width: 534px) and (max-width: 617px) {
    .product-wrapper .product .product-info {
        width: 55%;
    }

        .product-wrapper .product .product-info .balance_btn {
            width: 56%;
        }
}

      @media screen and (min-width: 813px) and (max-width: 959px) {
          .viewport {
              width:100%!important;
              padding: 0 30px;
          }

          div.wrapper {
              width: 100%;
              padding: 0 !important;
          }
          .content h2 {
              text-align: left;
              margin-top: 50px;
          }
          .content h3{
              font-size: 1.2rem;
          }

          .owl-carousel .owl-stage-outer {
              width: 100%;
          }
          .owl-item {
              height: 330px;
          }
          .item .owlImg {
              height: 100%;
              width: auto;
          }
          .banner-container {
              bottom: 3.3rem;
          }
          .content .banner-container .owlImg-hand {
              right: -2rem;
              top: -7.4rem;
          }
          .content .banner-container h1 {
              font-size: 2rem;
          }
          .content .banner-container p {
             width: 80%;
             z-index: 3;
             margin-bottom: -44px;
          }
        .owl-theme .owl-dots {
            bottom: -1rem;
        }
          .content .banner-container .owlImg-card {
              bottom: -53px;
              right: -18rem;
          }
          .content .banner-container .owlImg-map {
              right: -3rem;
              z-index: 1;
          }
          .banner-text-block-hand {
              z-index: 10;
          }
          .second .step {
              margin-bottom: 50px;
          }
          .tab .tariffButton button {
              margin-left:0;
          }
          .tab button {
              width: 30%;
              font-size: 1.1rem;
          }
          .cardContainer {
              width: 100%;
          }
     
          .cardContainer img {
              max-width: 50%;
          }
          .product-wrapper .product {
              width: 46%;
          }
          .product-wrapper .product .product-icon img {
              width: 150px;
          }
           .product-wrapper .product .product-info {
                margin-left: 14px;
           }
           .order .product-order .price {
               width: 50%;
           }





      }









