.idp-btn-outer,
.popupsidebar-container{
  -webkit-transition: all ease .600s;
  -moz-transition: all ease .600s;
  -ms-transition: all ease .600s;
  -o-transition: all ease .600s;
  transition: all ease .600s;
}

body:before{
  -webkit-transition: all ease 4s;
  -moz-transition: all ease 4s;
  -ms-transition: all ease 4s;
  -o-transition: all ease 4s;
  transition: all ease 4s;
}


/* BTN style*/
.idp-btn-outer{position:fixed; overflow: hidden; z-index: 999999991;}
.idp-btn-outer.circle{border-radius: 50%!important;}
.idp-btn{padding: 0 10px; display: block; width: 100%; height: 100%; font-weight: 600; border: 0!important; background: transparent!important; cursor: pointer;}
.square .idp-btn{padding: 7px 10px;}
.idp-btn .idp-icon{-webkit-transition: -webkit-transform .5s ease-in-out; transition: transform .5s ease-in-out;}
.idp-btn:hover .idp-icon{-webkit-transform: rotate(720deg); transform: rotate(720deg);}
.idp-icon.fas, .idp-btn span{vertical-align: middle;}
.icon_b{margin-right: 10px;}
.icon_a{margin-left: 10px;}
.circle .icon_b, .circle .icon_a{margin: 0;}
.idp-btn-outer.horizontal.middle{top: 50%!important; bottom:auto!important;}

.ro-bl{
-webkit-transform: translateY(100%) rotate(-90deg); /* Safari */
   -moz-transform: translateY(100%) rotate(-90deg); /* Firefox 3.6 Firefox 4 */
   /*-moz-transform-origin: right top; */
   -ms-transform: translateY(100%) rotate(-90deg); /* IE9 */
   -o-transform: translateY(100%) rotate(-90deg); /* Opera */
   transform: translateY(100%) rotate(-90deg); /* W3C */
   -webkit-transform-origin: top left;
   -moz-transform-origin: top left;
   -ms-transform-origin: top left;
   -o-transform-origin: top left;
   transform-origin: top left;
}

.ro-bl{
  -webkit-transform: translateY(100%) rotate(-90deg); /* Safari */
  -moz-transform: translateY(100%) rotate(-90deg); /* Firefox 3.6 Firefox 4 */
  /*-moz-transform-origin: right top; */
  -ms-transform: translateY(100%) rotate(-90deg); /* IE9 */
  -o-transform: translateY(100%) rotate(-90deg); /* Opera */
  transform: translateY(100%) rotate(-90deg); /* W3C */
  -webkit-transform-origin: top left;
  -moz-transform-origin: top left;
  -ms-transform-origin: top left;
  -o-transform-origin: top left;
  transform-origin: top left;
}

.ro-tl{
  -webkit-transform: translateY(-100%) rotate(-90deg);
  -moz-transform: translateY(-100%) rotate(-90deg);
  /* -moz-transform-origin: right top; */
  -ms-transform: translateY(-100%) rotate(-90deg);
  -o-transform: translateY(-100%) rotate(-90deg);
  transform: translateY(-100%) rotate(90deg);
  -webkit-transform-origin: bottom left;
  -moz-transform-origin: bottom left;
  -ms-transform-origin: bottom left;
  -o-transform-origin: bottom left;
  transform-origin: bottom left;
}

.ro-tr{
  -webkit-transform: translateY(-100%) rotate(-90deg); /* Safari */
  -moz-transform: translateY(-100%) rotate(-90deg); /* Firefox 3.6 Firefox 4 */
  /*-moz-transform-origin: right top; */
  -ms-transform: translateY(-100%) rotate(-90deg); /* IE9 */
  -o-transform: translateY(-100%) rotate(-90deg); /* Opera */
  transform: translateY(-100%) rotate(-90deg); /* W3C */
  -webkit-transform-origin: bottom right;
  -moz-transform-origin: bottom right;
  -ms-transform-origin: bottom right;
  -o-transform-origin: bottom right;
  transform-origin: bottom right;
}

.ro-br{
  -webkit-transform: translateY(100%) rotate(90deg); /* Safari */
  -moz-transform: translateY(100%) rotate(90deg); /* Firefox 3.6 Firefox 4 */
  /*-moz-transform-origin: right top; */
  -ms-transform: translateY(100%) rotate(90deg); /* IE9 */
  -o-transform: translateY(100%) rotate(90deg); /* Opera */
  transform: translateY(100%) rotate(90deg); /* W3C */
  -webkit-transform-origin: top right;
  -moz-transform-origin: top right;
  -ms-transform-origin: top right;
  -o-transform-origin: top right;
  transform-origin: top right;
}

.idp-btn-outer.square.horizontal.btn-left{ left: 0!important;}
.idp-btn-outer.square.horizontal.btn-right{ right: 0!important;}
.wbtn-right.hideme{right: -800px!important;}
.wbtn-left.hideme{left: -800px!important;}

/* Sidebar Style */

.popupsidebar-container{
  position: fixed;
  top: 0;
  overflow: auto;
  z-index: 999999992;
  /* do styli php */
  box-shadow: 0 0 30px rgba(0, 0, 0, .4);
}

.popupsidebar-container.right{
  right: -100vw;
}

.popupsidebar-container.left{
  left: -100vw;
}

.popupsidebar-container.center{
  top: 50%;
  left: 0;
  opacity: 0;
  z-index: -1;
}

.popupsidebar-container.right.pus-open{
  right: 0;
}

.popupsidebar-container.left.pus-open{
  left: 0;
}

.popupsidebar-container.center.pus-open{
  opacity: 1;
  z-index: 999999992;
  left: 0;
}

.pus-close-container{
  text-align: right;
  display: block;
}

.pus-close-container .btn-pus-close{
  width: 25px;
  height: 25px;
  margin: 5px;
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.pus-close-container .btn-pus-close span{
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background-color: #000;
  top: 0;
  left: 0;
}

.pus-close-container .btn-pus-close:hover span{
  background-color: red;
}

.pus-close-container .btn-pus-close span:first-child{
  -webkit-transform: translateY(0) rotate(45deg); /* Safari */
  -moz-transform: translateY(0) rotate(45deg); /* Firefox 3.6 Firefox 4 */
  -ms-transform: translateY(0) rotate(45deg); /* IE9 */
  -o-transform: translateY(0) rotate(45deg); /* Opera */
  transform: translateY(0) rotate(45deg); /* W3C */
  -webkit-transform-origin: bottom left;
  -moz-transform-origin: bottom left;
  -ms-transform-origin: bottom left;
  -o-transform-origin: bottom left;
  transform-origin: bottom left;
}

.pus-close-container .btn-pus-close span:last-child{
  -webkit-transform: translateX(-7px) rotate(-45deg); /* Safari */
  -moz-transform: translateX(-7px) rotate(-45deg); /* Firefox 3.6 Firefox 4 */
  -ms-transform: translateX(-7px) rotate(-45deg); /* IE9 */
  -o-transform: translateX(-7px) rotate(-45deg); /* Opera */
  transform: translateX(-7px) rotate(-45deg); /* W3C */
  -webkit-transform-origin: top right;
  -moz-transform-origin: top right;
  -ms-transform-origin: top right;
  -o-transform-origin: top right;
  transform-origin: top right;
}

.pus-container-inner{
  margin-bottom: 20px;
}

.sidebar-header{
  border-bottom-style: solid;
  border-bottom-width: 1px;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

body:before{
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: block;
  z-index: -1;
  opacity: 0;
}

body.pus-is-open:before{
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0%;
  opacity: 1;
  z-index: 999999990;
}

/* widget style */

.sidebar-header-title{line-height: inherit;}
.popupsidebar-container ul{ list-style-position: inside;}
.popupsidebar-container p{margin-bottom: 15px;}

/* mobile */

@media only screen and (max-width:998px){
  .popupsidebar-container{width: 40%!important;}
}

@media only screen and (max-width:768px){
  .popupsidebar-container{width: 50%!important;}
}

@media only screen and (max-width:600px){
  .popupsidebar-container{width: 65%!important;}
}

@media only screen and (max-width:678px){
  .idp-btn-outer.circle{width: 55px!important; height: 55px!important; line-height: 55px!important;}
  .idp-btn-outer.square{border-width: 3px;}
  .idp-btn{ font-size: 16px!important; font-weight: 400!important; padding: 5px 7px; line-height: 15px;}
  .idp-icon{font-size: 16px!important;}
  .pus-container-inner {font-size: 13px!important;}
  .sidebar-header-title {font-size: 23px!important;}
  .idp-widget-title {font-size: 18px!important;}
}

@media only screen and (max-width:550px){
  .popupsidebar-container{width: 75%!important;}
}

@media only screen and (max-width:380px){
  .popupsidebar-container{width: 90%!important;}
}
