// http://ionicframework.com/docs/theming/


// App Global Sass
// --------------------------------------------------
// Put style rules here that you want to apply globally. These
// styles are for the entire app and not just one component.
// Additionally, this file can be also used as an entry point
// to import other Sass files to be included in the output CSS.
//
// Shared Sass variables, which can be used to adjust Ionic's
// default Sass variables, belong in "theme/variables.scss".
//
// To declare rules for a specific mode, create a child rule
// for the .md, .ios, or .wp mode classes. The mode class is
// automatically applied to the <body> element in the app.

*{
  font-family: "AsimovEdge";
  font-weight: 100;
}
body {
  font-family: "AsimovEdge";
  font-weight: 100;
  color: map-get($colors, font-bold);
  padding-top: constant(safe-area-inset-top);//for iOS 11.2
  padding-top: env(safe-area-inset-top);//for iOS 11.1
}
#custom-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background-color: #FFF;/*map-get($colors, bck-blue);*/
}
.spinnerwelcome {
  width: 40px;
  height: 40px;
  position: relative;
  margin: 40px auto;
}
.animated-start {
  opacity: 0;
}
.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: map-get($colors, bck-blue);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
.custom-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
}


.animated {
  -webkit-animation-duration: 1.0s; 
  animation-duration: 1.0s; 
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes bounceOut {
  0% {
     -webkit-transform: scale(1);
  }
  20% {
     -webkit-transform: scale(0.6);
  }
  80% {
    opacity: 0.4;
  }
  100% {
     opacity: 0;
     -webkit-transform: scale(250);
  }
}

@keyframes bounceOut {
  0% {
     -webkit-transform: scale(1);
  }
  20% {
     -webkit-transform: scale(0.6);
  }
  80% {
    opacity: 0.4;
  }
  100% {
     opacity: 0;
     -webkit-transform: scale(250);
  }
}

.bounceOut {
  -webkit-animation-name: bounceOut;
  animation-name: bounceOut;
}


ng-component.blur {
  /*filter: blur(10px);*/
}

.menu-inner {
  /*background: linear-gradient(to right, #4CB8C4, #3CD3AD) !important;*/
  /*background: -webkit-linear-gradient(to right, #7F832F, #385723) !important;  /* Chrome 10-25, Safari 5.1-6 */
  /*background: linear-gradient(to right, #7F832F, #385723) !important; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ 
  background: #385723 !important;

  width: 70% !important;
  border-right: 10px solid #385723;
  font-weight: 400;
  color: #FFF;

  .destacado {
    background-color: #f16021;    
  }
  .link {
      line-height: 16px;
      font-size: 1.7rem;
      padding: 14px 26px;

      &.selected span{
          position: relative;

          &:after {
              content: "";
              position: absolute;
              width: calc(100% + 0.8rem);
              height: 2px;
              bottom: -0.4rem;
              left: -0.4rem;
              // background-color: map-get($colors, light);
          }
      }
  }
}

.profile {
    font-weight: 500;
    padding-bottom: 1.2rem;
    padding-left: 20px;
    padding-top: 20px;

    .image {
        width: 10rem;
        height: 10rem;
        display: inline-block;
        border-radius: 100%;
        background-position: center;
        margin-left: 0.9rem;
    }

    .name {
        font-size: 1.6rem;
        padding: 0.5rem;
        padding-bottom: 0;
    }
    .scope {
        font-size: 1.2rem;
        padding: 0.5rem;
        padding-top: 0;
    }

    button {
        font-weight: 500;
        font-size: 1.4rem;
        padding: 0.5rem 2rem;
        height: auto;
        color: #FFF;
        text-transform: none;
        width: 11.4rem;
    }
}

.toolbar-background, .toolbar-background-ios, .toolbar-background-md {
  background-color: #DEDEDE;
  border-color: #D6D6D6 !important;
}

.subTitle {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.2rem;
  color: map-get($colors, font-bold);
}
ion-select {
  width: 100%;
  max-width: 55%;
  background-image: url(../assets/img/chevron.png);
  background-position: right;
  background-size: 15px;
  font-size: 12px;
  color: #3D404B;
  padding: 13px 8px !important;
  background-repeat: no-repeat;
}
ion-select .select-icon {
  display: none;
}
.toolbar-title {
  text-align: center;
  font-weight: 200;
  font-size: 1.7rem;
  text-transform: uppercase;
  color: #FFF !important;
}

.formContainer {
  padding: 20px;
  @media screen and (min-width: 850px) {
    margin-left: 5vw;
    margin-right: 5vw;
    margin-bottom: 10vw;
    border-radius: 3px;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
    border-top-color: #001c85;
    // border-bottom: 3px solid #d2d6de;
    // border-bottom-color: #001c85
  }
  .subTitle {
    padding: 0;
    padding-bottom: 8px;
  }

  ion-input {
    font-size: 1.2rem;
    color: map-get($colors, font-bold);
    font-weight: 500;
  }

  .label {
    width: 101px;
    display: inline-block;
    font-weight: 400;
    color: map-get($colors, font-regular);
    width: 12rem;
    flex: initial;
    font-size: 1.2rem;
    margin-top: 17px;
    margin-bottom: 17px;
  }
  .item {
    background: transparent;
    padding: 0;
    border-bottom: 1px solid #D3D3D3;
  }

  .item.item-block .item-inner {
    border-bottom: 1px solid rgba(105,116,124,0.2);
  }

  .item-md.item-input.item-input-has-focus .item-inner, .item-md.input.item-input-has-focus .item-inner {
    box-shadow: inset 0 -1px 0 0 black;
  }

  .description {
    font-size: 1.4rem;
    font-weight: 300;
    color: #878a8c;
    margin-top: 8px;
  }

  .buttonWrapper {
    padding: 0 4px;

    button {
      background: #385723;
      font-size: 1.6rem;
      font-weight: 500;
      text-transform: initial;
      margin-top: 20px;
      position: initial;
      width: 100%;
      padding: 1.6rem;
    }
  }
}

.buttonPinkOrange {
  /*
  background: map-get($colors, bck-light-orange) !important; 
  background: -moz-linear-gradient(right, map-get($colors, bck-light-orange) 0%, map-get($colors, bck-orange) 100%) !important; 
  background: -webkit-linear-gradient(left, map-get($colors, bck-light-orange) 0%,map-get($colors, bck-orange) 100%) !important;
  background: linear-gradient(to right, map-get($colors, bck-light-orange) 0%,map-get($colors, bck-orange) 100%) !important; 
  */
  span {
    text-transform: uppercase;
    /*font-family: 'c30';*/
  }
  background-color: #333;
}
.button2 {
  border: 2px solid map-get($colors, bck-light-orange);
  color: map-get($colors, bck-pink);
}
.buttonPinkOrange.small{
  height: 2.5rem!important;
}

.toolbar {
  height: 6.2rem;
}

.scroll-content {
 /* margin-top: 6.2rem !important;*/
}

.header .toolbar {
  .button-inner {
    font-size: 3rem;
    color: #FFF;
  }
}

.popover-content {
  background-color: transparent !important;
}
.popover-content ion-list {
  background-color: white;
}
.popover-ios .popover-content {
  width: calc(100% - 40px);
  left: 20px !important;
  box-shadow: none !important;

  .item-ios {
    padding-left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
}

.popover-md .popover-content {
  width: calc(100% - 40px);
  left: 20px !important;
  box-shadow: none !important;
}

.popover-ios .popover-arrow {
  display: none;
}

.popover-content {
  overflow: visible;
}

.icon-right-menu {
  font-size: 3rem !important;
}
ion-backdrop {
  opacity: 0.9 !important;
  background-color: map-get($colors, font-bold);
}

.blurred {
  .scroll-content {
    /*filter: blur(10px);*/
  }
}

@mixin placeholder-color($color) {
  &::-webkit-input-placeholder { /* WebKit browsers */
      color: $color;
  }
  &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
      color: $color;
  }
  &::-moz-placeholder { /* Mozilla Firefox 19+ */
      color: $color;
  }
  &:-ms-input-placeholder { /* Internet Explorer 10+ */
      color: $color;
  }
}
.md button .button-effect {
  display: none;
}
.petpre .swiper-slide {
  max-width: 80px;
}
.f0 {
  background-color: #F0F0F0;
  min-height: calc(100vh - 200px);
}
.list-md .item-block .item-inner {
  box-shadow: none !important;
  border-bottom: 0px 1important;
}
.list-md .item-input {
  box-shadow: none !important;
  border-bottom: 0px 1important;
}

@media screen and (min-width: 700px) {
  .split-pane-md.split-pane-visible > .split-pane-side {
    max-width: 250px;
  }
} 
.sidenav {
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
}
.sidenav .menu-inner {
  overflow-y: auto;

  @media screen and (min-width: 600px) {
    width: 100% !important;
  }

}
.back-button-ios {
  min-height: 3rem !important;
}

.lastView {
  color: #3D404B;
  padding: 20px;
}

.alert-ios .alert-radio-label{
  white-space: normal;
}
.alert-md .alert-radio-label{
  white-space: normal;
}

// Loading Lista
.loader {
  height: 4px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #ddd;
}
.loader:before{
  display: block;
  position: absolute;
  content: "";
  left: -200px;
  width: 200px;
  height: 4px;
  background-color:  #FF5E00 ;
  animation: loading 1.5s linear infinite;
}

@keyframes loading {
    from {left: -200px; width: 30%;}
    50% {width: 30%;}
    70% {width: 70%;}
    80% { left: 50%;}
    95% {left: 120%;}
    to {left: 100%;}
}
::-webkit-scrollbar-track
{
box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 5px!important;
background-color: #F5F5F5;
}

::-webkit-scrollbar
{
width: 5px!important;
height: 1px !important;
background-color: #F5F5F5!important;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px!important;
  height: 1px !important;
  background-color: #aeaeae;
}
.pac-container:after {
  /* Disclaimer: not needed to show 'powered by Google' if also a Google Map is shown */

  background-image: none !important;
  height: 0px;
}
.pac-container {
  width: 100% !important;
  left: 0px !important;
  top: 123px !important;
  height: calc(100vh - 123px);
}
.pac-container .pac-icon {
  margin-top: 15px;
}
.pac-container .pac-item {
  min-height: 45px !important;
  line-height: 45px !important;
}
.pac-container .pac-item span {
  font-size: 14px !important;
  font-family: 'MuktaVaani' !important;
}

.pac-container .pac-item-query {
  text-transform: uppercase;
  font-size: 14px !important;
  font-family: 'MuktaVaani' !important;
}

ion-header .toolbar .toolbar-background {
  border: 0;
  background: #385723 !important;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #7F832F, #385723);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #7F832F, #385723); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
ion-content.newbg {
  /*background: url('../assets/img/demo2.png');*/
  background-position: center center;
  background-size: cover;  
}
.header-green, .header-green .toolbar-background {
  background: #385723 !important;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #7F832F, #385723);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #7F832F, #e6c8b0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ 
}
/*
  background: #4CB8C4;  
  background: -webkit-linear-gradient(to right, #3CD3AD, #4CB8C4); 
  background: linear-gradient(to right, #3CD3AD, #4CB8C4); 
*/
.searchbar-ios, .searchbar-md {
  background-color:#FFF !important;
}
.has-refresher > .scroll-content {
  border: 0;
}
.button-white > span {
  color: #FFF;
}
.button-white {
  border-color: #FFF;
}
.button-white.activated {
  border-color: #000 !important;
  background-color: transparent !important;
}
.button-white.activated > span {
  color: #000 !important;
}
.new2018 h2 {
  color: #FFF;
  font-size: 18px;
  padding: 15px;
  background-color: rgba(0,0,0,0.8);
}
.new2018 p { 
  color:#FFF; 
  padding: 15px; 
  margin: 0;
}
.new2018 ion-card p { 
  color: #000;
}
.new2018 ion-card ion-item .item-inner {
  border-bottom: 1px solid gray !important;
}
.action-button {
  margin: auto;
  width: 100%;
  padding-bottom: 15px;
  text-align: center;
}

.itemlisting {
  margin-top: 5px;
  background-color: white;
  padding-top: 15px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 20px;
  /*border-top-left-radius: 12px;*/
  /*border-top-right-radius: 12px;*/
  margin-bottom: 15px;
}
.header-md::after {
  background-image: none;
}
.subicon {
  max-width: 48px;
}

::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none;
}
.side-logo {
  position: absolute;
  bottom:0;
  width:100%;
}
@media screen and (max-height: 650px) {
  .side-logo {
    position: relative;
  }
}
.side-logo img {
  width: 75px;
  vertical-align: bottom;
}
.side-logo hr {
  border: 1px solid #FFF;
  margin-bottom: 10px;
}
.side-logo h1 {
  font-size: 12px;
  display:inline-block;
  margin:0;
  padding:0;
  color: #FFF;
  text-align: right;
  width: calc(100% - 80px);
}
.logo-loader {
  max-width: 35vw;
} 
ion-app.platform-android {
  .input-cover {
    pointer-events: none;
  }
}

ion-app.platform-ios12 ion-content { pointer-events: auto; /*fix scroll lock on ios12.2*/ }
