/**
 * CSS for bcephonebook
 */

/*
@keyframes fadeInFromNone
*/

@-webkit-keyframes slideUp {
  from {
    transform: translateY(0%);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@-moz-keyframes slideUp {
  from {
    transform: translateY(0%);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@-o-keyframes slideUp {
  from {
    transform: translateY(0%);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0%);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@-webkit-keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

@-moz-keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

@-o-keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

@-webkit-keyframes fadeInFromNone {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

@-moz-keyframes fadeInFromNone {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

@-o-keyframes fadeInFromNone {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

@keyframes fadeInFromNone {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

/*
END @keyframes
*/

.bcephonebook {
  display: block;
}

.bcetls-phnbk-foundtext {
  width:100%;
  margin:10px 0px;
  font-size: 16px; 
  color: red;
}

.bcetls-phnbk-elapsedtime {
  width:100%;
  margin:10px 0px;
  font-size: 12px;
  color: lightgrey;
}

table.bcetls-phnbk-resulttable {
  width:100%;
  margin:0;
  color: white;
}

table.bcetls-phnbk-resulttable tr{
  border: 1px solid darkgrey;
}

table.bcetls-phnbk-resulttable td{
  padding:1px 2px;
  background-color: black;
}

.bcetls-phnbk-tablediv {
  width: 100%;
  margin: 450px 0px 0px;
  font-size: 16px;
}

form.bcetls-phnbk-searchphone input {
  
}

form.bcetls-phnbk-searchphone label {
  padding-right: 20px;
}

div.bcetls-phnbk-searchdetails {
  opacity: 1;
  height: 0px;
}

input.bcetls-phnbk-searchphrase {
  width: 50%;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  background-position: left center; 
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
  transition: width 0.4s ease-in-out;
  -webkit-transition: width 0.4s ease-in-out;
}

div.bcetls-phnbk-workinglayer {
  background-color:black;
  opacity:0.9;
  filter:alpha(opacity=90);
  position:fixed;
  top:0px;
  left:0px;
  bottom:0px;
  right:0px;
  padding-top:auto;
  padding-bottom:auto;
  text-align:center;
  z-index:120;
  overflow:auto;
}

div#loadinglayer {
  background-color: grey;
  opacity: 0.4;
  position: fixed;
  inset: 0px;
  text-align: center;
  z-index: 121;
  display: none;
}

div#loadingimage {
  position: fixed; 
  bottom: 100px; 
  left: 0px; 
  right: 0px; 
  height: 40px; 
  text-align: center; 
  color: red; 
  font-weight: bold; 
  font-size: 1.6em; 
  z-index: 122; 
  display: none;
}

form.bcetls-phnbk-searchphone fieldset {
  text-align: left;
  border: none;
}

form.bcetls-phnbk-searchphone fieldset legend{
  display: none;
}

form.bcetls-phnbk-searchphone fieldset input{
  font-size: 18px;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 4px;
  background-color: #CDCDCD;
}

form.bcetls-phnbk-searchphone fieldset input:focus{
  background-color: #FFFFFF;
}

form.bcetls-phnbk-searchphone fieldset label{
  width: 30%;
  color: white;
  display: inline-block;
  text-align: right;
}

div.bcetls-phnbk-workinglayer div.chlang {
  display: inline;
}

div.bcetls-phnbk-workinglayer div.chlang img {
  display: none;
  cursor: pointer;
}

div.bcetls-phnbk-workinglayer div.chlang img.current {
  display: inline;
}

div.bcetls-phnbk-searchdiv input.bcetls-phnbk-searchphrase {
  width: 50%;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  background-position: left center; 
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;-webkit-transition: width 0.4s ease-in-out;
  transition: width 0.4s ease-in-out;" 
}

div.bcetls-phnbk-searchdetailsform {
  display: block;
  opacity: 1;
  margin-top: 40px;
}

div.bcetls-phnbk-searchdetailsform input {
  width: 40%;
}

div.bcetls-phnbk-workinglayer div.phnbk-commonicon img {
  max-height: 40px;
}

/* ICONTAINERS */
/* special */
div.bcetls-phnbk-searchiconcontainer {
  position: absolute;
  background: url('../images/phbook_searchicon_bg.png') no-repeat left center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: contain;
  top: 8px;
  left: 25%;
  height: 40px;
  width: 40px;
  cursor: pointer;
}

div.bcetls-phnbk-ctciconcontainer {
  right: 82px;
  top: 2px;
  background: url('../images/ikon_copytoclipboard_grey.png') no-repeat; 
}

div.bcetls-phnbk-osdiconcontainer {
  right: 142px;
  top: 2px;
  background: url('../images/ikon_searchdetails_gray.png') no-repeat; 
}

div.bcetls-phnbk-exiticoncontainer {
  right: 22px;
  top: 2px;
  background: url('../images/exit-icon-3.png') no-repeat; 
}

div.bcetls-phnbk-toexceliconcontainer {
  left: 200px;
  top: 2px;
  background: url('../images/toExcel_grey.png') no-repeat; 
}

div.phnbk-commonicon.bcetls-phnbk-changelanguage {
  left: 2px;
  top: 2px;
  width: 180px;
  background: url('../images/phbook_flag_hu_en.png') no-repeat; 
}

div.bcetls-phnbk-refreshiconcontainer {
  left: 2px;
  top: 2px;
  background: url('../images/refresh_icon_bg.png') no-repeat; 
}

/* common icons */
div.phnbk-commonicon {
  position: fixed;
  width: 40px;
  height: 40px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  cursor: pointer;
}

div.phnbk-commonicon img {
  opacity: 0;
}

div.phnbk-tryelem {
  -webkit-animation: slideUp 2.5s ease-out;
  -moz-animation: slideUp 2.5s ease-out;
  -o-animation: slideUp 2.5s ease-out;
  animation: slideUp 2.5s ease-out;
  opacity: 0;
}

div.phnbk-commonicon:hover img.current{
  display: block;
  -webkit-animation: fadeInFromNone 0.5s ease-out;
  -moz-animation: fadeInFromNone 0.5s ease-out;
  -o-animation: fadeInFromNone 0.5s ease-out;
  animation: fadeInFromNone 0.5s ease-out;
  opacity: 1;
}

.bcephnbk-titlebold {
  font-weight: bold;
}

/** _____________PHONEBOOK CLASSIC_________________ */
div.phnbk-container {
  width: 100%;
}
div.phnbk-tokens {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
div.phnbk-token-collection .phnbk-token-container {
  position: relative;
  padding-left: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
div.phnbk-token-collection .phnbk-token-container .phnbk-dragicon {
  position: absolute;
  left: 0px;
  top: 0px;
  /*background-color: cyan;*/
  height: 40px;
  width: 40px;
  cursor: pointer;
  background: url('../images/dragikon_grey.png') no-repeat center center; 
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;

}

div.phnbk-draganddrop-container {
  padding-left:0px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  margin: 20px;
  overflow: hidden;
}

div.phnbk-token-container div.phnbk-dragicon img {
  transition-property: opacity;
  transition-duration: 2s;
  width: 100%;
  height: 100%;
  opacity: 0;
}

div.phnbk-token-container div.phnbk-dragicon img:hover {
  transition-duration: .3s;
  transition-delay: .1s;
  opacity: 1;
}

div.phnbk-draganddrop-target {
  width: 40%;
  height: 40px;
  background: url('../images/movetohere.png') no-repeat center center; 
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  text-align: right;
  transition-property: width;
  transition-duration: 2s;
}
div.phnbk-draganddrop-target.phnbk-dontreceive {
  background: none;
  padding: 10px;
  font-weight: bold;
}

div.phnbk-draganddrop-target.phnbk-dontreceive:after {
  content: ":";
}

div.phnbk-draganddrop-target.phnbk-primary-input {
  width: 20%;
}

div.phnbk-inputs-container {
  width: 100%;
}

div.phnbk-input-container {
  position:relative;
  box-sizing: border-box;
  background-color: lightgrey;
  background-position: left center; 
  background-repeat: no-repeat;
  /*padding: 12px 20px 12px 40px;*/
  width: 100%;
  height: 40px;
  /*width:50%;*/
  /*overflow:hidden;*/
}
div.phnbk-input-container input {
  margin-left: 0px;
  padding-left: 40px;
  height: 40px;
  width:80%;
}

div.phnbk-draganddrop-container div.pnhbk-change-itemcond {
  height: 80px;
  width: 40px;
  min-width: 40px;
  cursor: pointer;
  padding-left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}
div.phnbk-draganddrop-container div.pnhbk-change-itemcond img {
  transition-property: opacity;
  transition-duration: 2s;
  opacity: 0.1;
}

div.phnbk-draganddrop-container div.pnhbk-change-itemcond img:hover {
  transition-duration: .3s;
  transition-delay: .1s;
  opacity: 1;
}

div.phnbk-input-container div.phnbk-change-relation {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  padding-left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.phnbk-input-container div.phnbk-change-relation img {
  transition-property: opacity;
  transition-duration: 2s;
  height: 70%;
  opacity: 0.1;
}

div.phnbk-input-container div.phnbk-change-relation img:hover {
  transition-duration: .3s;
  transition-delay: .1s;
  opacity: 1;
}

div.phnbk-input-container div.phnbk-remove-input {
  position: relative;
  width: 40px;
  top: 0px;
  right: 0px;
}
div.phnbk-input-container div.phnbk-remove-input img {
  transition-property: opacity;
  transition-duration: 2s;
  height: 70%;
  opacity: 0.1;
}
div.phnbk-input-container div.phnbk-remove-input img:hover {
  transition-duration: .3s;
  transition-delay: .1s;
  opacity: 1;
}

div.phnbk-input-container div.phnbk-input-infra {
  position: absolute;
  top: 0px;
  right: 0px;
  height: 40px;
}
div.phnbk-input-container div.phnbk-input-infra div.phnbk-plus-icon {
  transition-property: opacity;
  transition-duration: 2s;
  opacity: 0.1;
  position:absolute;
  display:inline-block;
  width:40px;
  height:40px;
  background:
    linear-gradient(#fff,#fff),
    linear-gradient(#fff,#fff),
    #000;
  background-position:center;
  background-size: 50% 2px,2px 50%; /*thickness = 2px, length = 50% (20px)*/
  background-repeat:no-repeat;
  right: 50px;
  cursor: pointer;
}
div.phnbk-input-container div.phnbk-input-infra div.phnbk-plus-icon:hover {
  transition-duration: .3s;
  transition-delay: .1s;
  opacity: 1;
}

div.phnbk-input-container div.phnbk-input-infra div.phnbk-minus-icon {
  transition-property: opacity;
  transition-duration: 2s;
  opacity: 0.1;
  position:absolute;
  display:inline-block;
  width:40px;
  height:40px;
  background-color: black;
  right: 0px;
  text-align: center;
  font-size: 25px;
  color: white;
  cursor: pointer;
}

div.phnbk-input-container div.phnbk-input-infra div.phnbk-minus-icon:after {
  content:"x";
}

div.phnbk-input-container div.phnbk-input-infra div.phnbk-minus-icon:hover {
  transition-duration: .3s;
  transition-delay: .1s;
  opacity: 1;
}

div.phnbk-toprimary-icon {
  width: 40px;
  height:40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  cursor: pointer;
}

div.phnbk-toprimary-icon.phnbk-primary-input, div.phnbk-horizontal-flip {
  transform:scaleX(-1);
}
div.phnbk-logical-conditional-container {
  height: 40px;
  width: 100%;
}
div.phnbk-red-circle {
 width:40px;
 height:40px;
 background-color:red;
 border:1px solid black;
 border-radius:50%;
}
div.phnbk-logical-condition-leftpart {
  width: 50%;
  height: 40px;
  float: left;
  clear: left;
  transition-property: width;
  transition-duration: 2s;
}

div.phnbk-logical-condition-leftpart.phnbk-primary-input {
  width: 30%;
}

div.phnbk-change-logical {
  width: 40px;
  height:40px;
  float: right;
  clear: right;
}

div.phnbk-change-logical img {
  transition-property: opacity;
  transition-duration: 2s;
  height: 40px;
  opacity: 0.1;
  cursor: pointer;
}

div.phnbk-toprimary-icon img {
  transition-property: opacity;
  transition-duration: 2s;
  height: 70%;
  opacity: 0.1;
  cursor: pointer;
}

div.phnbk-change-logical img:hover {
  transition-duration: .3s;
  transition-delay: .1s;
  opacity: 1;
}

div.phnbk-toprimary-icon img:hover {
  transition-duration: .3s;
  transition-delay: .1s;
  opacity: 1;
}

div.phnbk-logical-condition-icon {
  height: 40px; /* You must set a specified height */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  width: 40%;
  float: left;
  clear: none;
  margin-left: 20px;
}
div.phnbk-andicon {
  background-image: url("../images/and.png"); /* The image used */
  height: 40px;
  clear: right;
}

div.phnbk-oricon {
  background-image: url("../images/or.png"); /* The image used */
  height: 40px;
  clear: right;
}

.phnbk-drag-over {
  border: dashed 3px red;
}

.phnbk-hide {
    opacity: 0;
}

div.pnhbk-button-wrapper {
  text-align: center;
}

div.pnhbk-button-wrapper input {
  background: #100C08;
  color: #FFFFFF;
  padding: 5px 10px;
  cursor: pointer;
  transition: all .1s;
  border: 0;
  height: 50px;
}

textarea.cpytocb {
  z-index: 996;
}