/* Gdy panel jest sprowadzony do ikony */
.cbwIcon {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 3000;
    /*animacja na wejście ikony*/
    animation: iconin 0.5s;
    animation-timing-function: ease;
}

.cbwIcon img {
    width: 75px;
}

/*animacja na wejście ikony*/
@keyframes iconin {
    from {
        bottom: -50px;
    }
    to {
        bottom: 50px
    }
} 

/* Gdy panel jest wyświetlony na ekranie */
.cbwOverlay {
    z-index: 2999; /* 1 mniej niż cbwPanel */
    display: none; /* inicjalnie ukryty */
    position: fixed;
    background-color: #000000;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
    opacity: 80%;
}


.cbwPanel {
    z-index: 3000;
    display: none; /* inicjalnie ukryty */
    position: fixed; /* wyśrodkowana pozycja na ekranie */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    max-width: 600px;

    /* kolor panelu */
    background-color: white;
    /* cień rzucany przez panel */
    box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.1);

    /* obramowanie panelu */
    border-radius: 35px;
    border: 50px;

    /* czcionka panelu */
    font-family: sans-serif, Arial;


    /*animacja na wejście panelu*/
    animation: panelin 0.5s;
    animation-timing-function: ease;


    /*ustawienia wielkości i padding*/
    width: 100%;
    max-width: 520px;
    padding: 40px;
}


    /*animacja na wejście panelu*/
@keyframes panelin {
    from {
        top: 100%;
    }
    to {
        top: 50%
    }

}

@media screen and (max-width: 640px) {
    .cbwPanel {
        max-width: 70%;
        width: 70%;
    }

    .cbwIcon img {
        width: 100px;
    }
}

.cbwHR {
    border-color: green;
    margin: 5px;
    display: none;
}

.cbwBar {
    text-align: center;
    cursor: pointer;
    margin-right: 0px;
    position: static;
    left: auto;
    bottom: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100%;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.cbwBar p { 
    width: 15px;
    height: 15px;
    font-size: 25px;
    font-weight: bold;
    margin: 0px;
    line-height: 15px;
    color: #af2b62;
}


.cbwHeader {
    margin-bottom: 5px;
    color: #af2b62;
    font-size: 28px;
    line-height: 38px;
    font-weight: 700;
    text-align: center;
}

.cbwSubHeader {
    color: #999;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
}

.cbwNumber {
    margin-top: 25px;
}

.cbwNumberControl {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.cbwNumberControl input {
    width: auto;
    min-height: 60px;
    max-height: 60px;
    height: 60px !important;
    margin-bottom: 0px;
    padding: 0px 15px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    color: #999999;
    font-size: 17px;
    line-height: 26px;
    text-align: center;
}

.cbwNumberControl input:focus {
    outline: none;
}

.cbwFlag {
    margin: auto;
    padding: 5px;
    display: none;
}

.cbwDirect {
    font-size: large;
}

.cbwButton {
    background-color: white;
    text-align: center;
}

.cbwButton input {
    width: 100%;
    min-height: 60px;
    margin-top: 25px;
    border-radius: 100px;
    background-color: #af2b62;
    box-shadow: 0 10px 20px 0 rgba(175, 43, 98, 0.17);
    -webkit-transition: background-color 300ms ease-in-out;
    transition: background-color 300ms ease-in-out;
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    border: 0px;
    color: #ffffff;
    cursor: pointer;
}



.cbwButton input:hover {
    background-color: #691f3e;
}


.cbwDisclaimer {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #f2f2f2;
    border-radius: 10px;
    background-color: #fcfcfc;
    color: #999;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.cbwPoweredBy {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-top: 40px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.cbwPoweredBy img {
    height: 15px;
}




@media screen and (max-width: 479px) {
  .cbwPanel {
    margin: 20px;
    padding: 50px 20px 20px;
  }

  .cbwHeader {
    font-size: 24px;
    line-height: 34px;
  }

  .cbwSubHeader {
    font-size: 16px;
    line-height: 26px;
  }

  .cbwNumber {
    margin-top: 15px;
  }

  .cbwDisclaimer {
    margin-top: 15px;
  }

  .cbwPoweredBy {
    margin-top: 20px;
  }
}