/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(300px);
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeInTop {
    from {
      opacity: 0;
      transform: translateY(-300px);
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeInBottom {
    from {
      opacity: 0;
      transform: translateY(300px);
    }
    to {
      opacity: 1;
    }
  }
  
  .pushly_close {
    position: absolute;
    right: 0px;
    top: 10px;
    width: 12px;
    height: 12px;
    opacity: 0.6;
    z-index:100001;
  }
  .pushly_close:hover {
    opacity: 1;
  }
  .pushly_close:before, .pushly_close:after {
    position: absolute;
    left: 0;
    content: ' ';
    height: 12px;
    width: 2px;
    background-color: #333;
  }
  .pushly_close:before {
    transform: rotate(45deg);
  }
  .pushly_close:after {
    transform: rotate(-45deg);
  }
  
  .pushly_container {
  
    z-index: 100000;
    overflow: hidden;	
    position: relative;
    cursor: pointer;
  }
  
  /** PUSHLY VIEW 1 **/
  
  #pushly_view_1{
    width: 100%;
   border-bottom: 1px solid rgba(51, 51, 51, 0.16);
   position: fixed;
   top: 0px;
   right: 0; 
   background-color: #fff;
   animation: fadeInTop 1.2s ease-in-out;
   box-shadow: 0px 0px 3px #00000038;
  }
  
  #pushly_view_1 .pushly_content {
   display: flex;
   align-items: center;
  }
  
  #pushly_view_1 .pushly_image {
   flex-basis: 0;
   max-width: 100%;
  }
  
  #pushly_view_1 .pushly_image > IMG{
   max-width: 120px;
   max-height: 100%;
   object-fit: contain;
   object-position: top;
  }
  
  #pushly_view_1 .pushly_body {
   flex-basis: 0;
   flex-grow: 1;
   max-width: 100%;
   margin: 10px;
  }
  
  #pushly_view_1 .pushly_title{
   font-weight:bold;
   font-size:0.9rem;
  }
  
  #pushly_view_1 .pushly_description{
   font-size:0.8rem;
   
  }
  
  #pushly_view_1 .pushly_toggle {
      position: absolute;
      width: 40px;
      height: 20px;
      bottom: -15px;
      z-index: 10001;
      background-color: #fff;
      text-align: center;
      border-radius: 0px 0px 5px 5px;
      right: 20px;
      cursor: pointer;
      box-shadow: 0px 2px 3px -1px #00000038;
  }
  
  #pushly_view_1 .pushly_toggle::before {
      position: relative;
      content: "";
      display: inline-block;
      width: 0.55em;
      height: 0.5em;
      border-right: 0.25em solid #959595;
      transform: rotate(-90deg);
      transition: all 0.5s ease-out;
  }
  
  #pushly_view_1 .pushly_toggle.closed::before {
    transition:all 0.5s ease-out;
      transform: rotate(90deg);
  }
  
  /** PUSHLY VIEW 2 **/
  
  #pushly_view_2{
   width: 100%;
   border-bottom: 1px solid rgba(51, 51, 51, 0.16);
   position: fixed;
   bottom: 0px;
   right: 0; 
   background-color: #fff;
   animation: fadeInBottom 1.2s ease-in-out;
   box-shadow: 0px 0px 3px #00000038;
  }
  
  #pushly_view_2 .pushly_content {
   display: flex;
   align-items: center;
  }
  
  #pushly_view_2 .pushly_image {
   flex-basis: 0;
   max-width: 100%;
  }
  
  #pushly_view_2 .pushly_image > IMG{
   max-width: 120px;
   max-height: 100%;
   object-fit: contain;
   object-position: top;
  }
  
  #pushly_view_2 .pushly_body {
   flex-basis: 0;
   flex-grow: 1;
   max-width: 100%;
   margin: 10px;
  }
  
  #pushly_view_2 .pushly_title{
   font-weight:bold;
   font-size:0.9rem;
  }
  
  #pushly_view_2 .pushly_description{
   font-size:0.8rem;
   
  }
  
  #pushly_view_2 .pushly_toggle {
      position: absolute;
      width: 40px;
      height: 20px;
      top: -19px;
      z-index: 10001;
      background-color: #fff;
      text-align: center;
      border-radius: 3px 3px 0 0;
    right:4px;
    cursor: pointer;
    box-shadow: 0px -1px 1px 0px #00000038;
  }
  
  #pushly_view_2 .pushly_toggle::before {
      position: relative;
      content: "";
      display: inline-block;
      width: 0.5em;
      height: 0.5em;
      border-right: 0.1em solid #363636;
      border-top: 0.1em solid #363636;
      transform: rotate(135deg);
    transition:all 0.5s ease-out;
  }
  
  #pushly_view_2 .pushly_toggle.closed::before {
    transition:all 0.5s ease-out;
      transform: rotate(-45deg);
  }
  
  /** PUSHLY VIEW 3 **/
  
  #pushly_view_3 {
      position: fixed;
      top: 50%;
      width: 55%;
      right: 0;
      background-color: #fff;
      animation: fadeInTop 1s ease-in-out;
      border-radius: 5px 0 0 5px;
      overflow: hidden;
      box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
      border: 1px solid #3636363d;
      border-right: none;
      transform: translateY(-50%);
  }
  
  #pushly_view_3 .pushly_body{
    margin:5px;
  }
  
  #pushly_view_3 .pushly_title A{
    font-size:14px;
    color:#c80000;
    font-weight: bold;
  }
  
  #pushly_view_3 .pushly_description{
    font-size:12px;
    color:#363636;
  }
  
  #pushly_view_3 .pushly_close {
      position: absolute;
      right: 4px;
      top: 4px;
      width: 16px;
      height: 16px;
      opacity: 1;
      z-index: 100001;
      background-color: #ffffffe0;
      border-radius: 50%;
  }
  
  #pushly_view_3 .pushly_close::before, #pushly_view_3 .pushly_close::after {
      position: absolute;
      left: 7px;
      content: ' ';
      height: 9px;
      width: 2px;
      background-color: #333;
      top: 3px;
  }
  
  @media only screen and (min-width: 768px) {
  
  
    #pushly_view_3 {
      max-width: 300px;
      top: 45vh;
      right: 0px;
      animation: fadeInBottom 1s ease-in-out;
    }
  }