.CcPopup {
    position: fixed;
    top: 0;
    left: 0;
	/*
    width: 100%;
    height: 100%;
	*/
	bottom: 0;
	right: 0;
    overflow: auto;
    /*max-height: 100vh;*/
    background-color: rgba(0, 0, 0, 0.401);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all linear .1s;
    transition: all linear .1s;
	display: flex;
}
.CcPopup.open {
    opacity: 1;
    visibility: visible;
    z-index: 40;
    -webkit-transition: all linear .2s;
    transition: all linear .2s;
}
.CcPopupWrapper{
	margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4%;
}
.CcPopupBox {
    background-color: white;
    /*width: 50%;*/
	max-width: 640px;
}

.CcPopupHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}
.CcPopupContent {
    padding: 0% 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
.CcPopupFooter{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5%;
}

.CcPopupTitle{
    text-transform: uppercase;
    font-size: 120%;
    word-wrap: normal;
    font-weight: 400;
}
.CcPopupCross {
    padding: 5px;
    margin-bottom: 25px;
}
/*
.CcPopupCross img{
    cursor: pointer;
	float: right;
}
*/
.CcPopupCross svg{
    float: right;
    cursor: pointer;
}
.CcPopupCross svg:hover{
    transform: rotate(90deg);
    transition: all 0.3s ease-out;
}
.CcPopupBox>hr {
	width: 90%;
}

.CcPopupImg {
    padding-top: 5%;
}
.CcPopupText {
    padding: 5% 15%;
    font-size: 100%;
}


.CcPopupButton {
    color: black;
    border: 1px solid grey;
    background-color: white;
    width: 150px;
    height: 30px;
    cursor: pointer;
}
.CcPopupButton:hover {
    color: white;
    border: 0;
    background-color: black;
    transition: all 0.3s ease-out;
}

@media screen and (max-width: 768px) {
/* т.к. {max-width: 640px}
.CcPopupBox {
    width: 100%;
}
*/
}
