:root {
  --mainP: #fe8b18;
  --mainPdark: #ff6633;
  --mainO: #5ca4a9;
  --mainY: #226ef2;
  --mainYlight: #ecf2fe;
  --backP: #f4f7f6;
  --maxwidth: 1250px;
  --prifont: 'segoe-import', Serif;
  --secfont: 'mark-pro-import', Serif;
  --secfont2: 'aller-import', Serif;
  --bordercolor: #f3f4f7;
  --pribtn: "";
  --secbtn: "";
}

@media (max-width: 500px) {
  html,body{
    width: 100%;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  /********LOGIN & LANDING********/
  #jombotron,#header, #header-top{
    float: left;
    width: 100%;
    max-width: 500px;
  }
  #header{
    float: left;
    width: 100%;
  }
  #header #logo-wrapper{
    margin-left: 10px;
  }
  #header #logo-wrapper #mobile-menu{
    float: right;
    position: absolute;
    right: 10px;;
  }
  #jombotron #header #header-inner #header-navigation {
    transition: all ease 2s;
    height: 0px;
  }
  #jombotron #header-top{
    float: left;
    width: 100%;
  }
  #jombotron #header-top-inner{
    float: left;
    width: 100%;
  }
  #jombotron #header-top-inner #header-top-inner-left{
    width: 50%;
    padding: 12px 12px 5px;
  }
  #jombotron #header-top-inner #header-top-inner-center{
    width: 100%;
    font-size: .65em;
    display: none;
  }
  #jombotron #header-top-inner #header-top-inner-right{
    width: 50%;
    font-size: .81em;
  }
  #jombotron #header-top-inner #header-top-inner-right button{
    width: 50%;
  }
  #header-top li{
    float: left;
    width: 33%;
  }
  #header #header-inner{
    float: left;
    width: 100%;
  }
  #header #header-inner #logo-wrapper #mobile-menu{
    display: block;
  }
  #header #header-inner a{
    height: auto;
    padding: 0;
  }
  #header #header-inner ul li{
    float: left;
    width: 50%;
    padding: 10px;
    border-bottom: 1px solid #495059;
    height: auto;
  }
  #welcome-layer{
    width: 100%;
    float: left;
  }
  #welcome-layer #welcome-layer-inner{
    float:left;
    width:100%;
  }
  #welcome-layer #welcome-layer-inner #welcome-layer-left{
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #welcome-layer #welcome-layer-inner #welcome-layer-left img{
    width: 100%;
    max-height: 270px;
    margin: 0;
    padding: 0;
    margin-right: -20px;
    float: right;
  }
  #welcome-layer #welcome-layer-inner #welcome-layer-right{
    float: left;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 20px;
  }
  #welcome-layer #welcome-layer-inner #welcome-layer-right h4{
     text-align: center;
    float: left;
    width: 100%;
    font-size: 2em;
    margin: 0;
  }
  #welcome-layer #welcome-layer-inner #welcome-layer-right h1{
     text-align: center;
    float: left;
    width: 100%;
    font-size: 2.5em;
  }
  #welcome-layer #welcome-layer-inner #welcome-layer-right button{
    float: left;
    width: 50%;
    margin: 30px 0;
    font-size: 1em;
    padding: 15px 5px;
  }
  #packages-layer{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: 
  }
  #packages-layer #packages-layer-inner{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: scroll;
  }
  #packages-layer #packages-layer-inner #package-portal{
    float: left;
    width: var(--maxwidth);
  }
  #plans-layer{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: 
  }
  #plans-layer #plans-layer-inner{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: scroll;
  }
  #plans-layer #plans-layer-inner h3{
    margin: 0;
    padding-bottom: 0;
  }
  #plans-layer #plans-layer-inner .plan-item{
    width: 100%;
    padding: 45px;
  }
  #testimonies-layer{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: 
  }
  #testimonies-layer #testimonies-layer-inner{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: scroll;
  }
  #testimonies-layer #testimonies-layer-inner .testimonies-slide{
    width: 100%;
    float: left;
  }
  #testimonies-layer #testimonies-layer-inner .testimonies-slide #testimonies-write{
    float: left;
    width: 100%;
  }
  #testimonies-layer #testimonies-layer-inner #testimonies-pic{
    float: none;
    margin: 0 auto;  
    padding: 10%;
  }
  #testimonies-layer #testimonies-layer-inner .testimonies-slide #testimonies-pic img{
    float: left;
    margin: auto;
    width: 100%;
    height: 100%;
  }
  #testimonies-layer{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: 
  }
  #testimonies-layer #testimonies-write p{
    font-size: 1.1em;
  }
  #app-layer #app-layer-inner{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: scroll;
  }
  #app-layer #app-layer-inner img{
    height: 200px;
  }
  .layer #layer-header h3{
    font-size: 2em;
  }
  #referral-layer{
    float: left;
    width: 100%;
    padding: 30px;
    margin: 0;
    overflow-x: 
  }
  #referral-layer #referral-layer-inner{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: scroll;
    text-align: center;
  }
  #referral-layer #referral-layer-inner #referral-layer-left h3{
    text-align: center;
  }
  #referral-layer #referral-layer-inner #referral-layer-left button{
    width: 80%;
    margin: auto;
    display: block;
  }
  #referral-layer #referral-layer-inner #referral-layer-left img{
    float: left;
    width: 50%;
    margin: 0;
    display: block;
    margin: auto;
    float: none;
  }
  #referral-layer #referral-layer-inner div{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: scroll;
  }
  #referral-layer #referral-layer-inner #referral-layer-right h3{
    margin-top: 40px;
  }
  #referral-layer #referral-layer-inner #referral-layer-right img{
    float: left;
    width: 100px;
    height: 100px
  }
   #referral-layer #referral-layer-inner #referral-layer-right button{
    float: left;
    width: calc(100% - 150px);
  }
  #referral-layer #referral-layer-inner p{
    font-size: 1.1em;
  }
  #footer{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: 
  }
  #footer #footer-top {
    float: left;
    padding: 0;
    width: 100%;
  }
  #footer #footer-top #footer-top-inner{
    float: left;
    width: 100%;
    padding: 10px;
  }
  #footer #footer-top #footer-top-inner  #footer-top-inner-left {
    float: left;
    width: 100%;
    text-align: center;
  }
  #footer #footer-top #footer-top-inner  #footer-top-inner-left h4{
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0 0 15px;
    font-size: 1.25em;
  }
  #footer #footer-top #footer-top-inner  #footer-top-inner-right button{
    width: 70%;
    margin: auto;
    float: none;
    font-size: .85em;
    padding: 10px;
    width: 40%;
  }
  #footer #footer-top #footer-top-inner  #footer-top-inner-right{
    float: left;
    width: 100%;
  }
  #footer #footer-inner{
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: scroll;
    text-align: center;
  }
  #footer #footer-inner fieldset{
    padding: 0;
  }
  #footer #footer-inner legend, #footer #footer-inner h3{
    margin-top: 20px;
    font-size: 1.3em;
  }  
  #footer #footer-inner #footer-left{
    float: left;
    width: 100%;
    padding: 0;
  }
  #footer #footer-inner #footer-right{
    float: left;
    width: 100%;
  }
  #footer #footer-inner #footer-right #logo img{
    margin: auto;
    float: none;
  }
  #footer #footer-inner #footer-center{
    float: left;
    width: 100%;
  }
  #footer #footer-inner #footer-center li{
    padding: 3px;
  }
  #footer #footer-inner #footer-extra{
    float: left;
    width: 100%;
  }
  #footer #footer-inner #footer-extra input{
    margin: auto;
    width: 70%;
    float: none;
  }
  #footer #footer-inner #footer-extra #footer-social-wrapper{
    width: 230px;
    float: none;
    margin: auto;
    display: block;
    text-align: center;
  }
  #content{
    float: left;
    width: 100%;
  }
  #content-inner{
    float: left;
    width: 100%;
  }
  #account-access-wrapper{
    float: left;
    width: 100%;
    padding: 10px;
  }
  #account-access{
    float: left;
    width: 100%;
    padding: 0;
  }
  #account-access #Register{
    padding: 0;
    margin: 0;
    width: 100%;
  }
  #account-access #Register .input-text-field{
    padding: 5px;
    font-size: .91em;
  }
  #content #home-portal{
    float: left;
    width: 100%;
    padding: 0;
  }
  #content #home-portal #home-portal-inner{
    float: left;
    width: 100%;
  }
  #content #home-portal #home-portal-inner #home-portal-inner-left{
    float: left;
    width: 100%;
  }
  #content #home-portal #home-portal-inner #home-portal-inner-center{
    float: left;
    width: 100%;
    margin: 0;
    padding: 10px;
  }
  #content #home-portal #home-portal-inner #home-portal-inner-center td{
    width: auto;
  }
  #content #home-portal #home-portal-inner #home-portal-inner-center table tr .two{
    width: 50%
  }
  #content #home-portal #home-portal-inner #home-portal-inner-right{
    float: left;
    width: 100%;
    padding: 30px 0;
    margin: 0;
  }
  #content #header-layer{
     background: url(../media/ob__.png); 
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
  background-attachment: local; 
  }
  #content #header-layer h3{
    font-size: 1.7em;
  }
  #content #data-layer div{
    float: left;
    width: 100%;
    padding-top: 10px;
  }
  #content #data-layer div h3{
    font-size: 1.7em;
  }
  .currbtn .btn-icon{
    width: 32px;
    height: 32px;
  }
  .currbtn .btn-text{
    font-size: .9em;
    float: left;
    width: calc(100% - 32px);
  }
  #data-layer{
    float: left;
    width: 100%;
  }
  #content #data-layer #data-layer-inner{
    float: left;
    width: 100%;
  }
  #data-layer #data-layer-inner .data-header{
    font-size: 1.25em;
  }
  #data-layer #data-layer-inner li{
    font-size: .95em;
  }
  #content #data-layer #data-layer-inner-left{
    float: left;
    width: 100%;
    position: relative;
    height: 400px;
    overflow:  hidden;
  }
  #data-layer-inner-left #googleMap{
    float: left;
    width: 100%;
  }
  #content #data-layer #data-layer-inner-right{
    float: left;
    width: 100%;
  }
  #content #data-layer #data-layer-inner-right table tr{
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #content #data-layer #data-layer-inner-right table tr td{
    margin: 0;
    padding: 0;
  }
  #content #data-layer #data-layer-inner #contact-form-portal{
    float: left;
    width: 100%;
    margin: 0;
  }
  #services-wrapper .service-item{
    float: left;
    width: calc(100%);
    padding: 5px;
  }
  #services-wrapper .service-item-inner{
    min-height: 200px!important;;
  }
}
