.santaLetter-history-modal.c-news-popup {
    position: relative;
    min-height: 352px;
}
.santaLetter-history-modal.c-news-popup:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 409px;
    height: 352px;
    background: url("../img/tree-toy.png") no-repeat;
}

.santaLetter-history-modal .authorization {
    padding-top: 140px;
    padding-left: 210px;
    padding-bottom: 90px;
    color: #00458b;
    text-align: center;
    font-size: 18px !important;
    margin-right: -30px;
}

.santaLetter-history-modal .authorization .header {
    margin-bottom: 20px;
    font-size: 18px !important;
}
.santaLetter-history-modal .authorization p {
    margin-bottom: 40px;
    font-size: 18px !important;
}

.santaLetter-history-modal .authorization button {
    border-style: solid;
    border-width: 2px;
    border-color: rgb(52, 93, 134);
    border-radius: 3px;
    background-color: rgb(52, 93, 134);
    width: 395px;
    height: 50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    display: block;
    padding-left: 66px;
    margin-top: 60px;
    position: relative;
    text-align: center;
}


.santaLetter-history-modal .authorization button:disabled {
    opacity: 0.6;
}

.santaLetter-history-modal .authorization button:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    width: 48px;
    height: 28px;
    margin-top: -14px;
    background: url("../img/vk-button.png") no-repeat;
}

.santaLetter-history-modal .history-form {
    padding-top: 140px;
    padding-left: 210px;
    color: #1f1d1d;
    margin-right: -30px;
    position: relative;
    z-index: 20;
}

.santaLetter-history-modal .history-list {
    padding-top: 140px;
    padding-left: 210px;
    color: #1f1d1d;
    margin-right: -30px;
}

.santaLetter-history-modal .history-form label {
    display: block;
    font-weight: normal;
    font-size: 12px;
}

.santaLetter-history-modal .history-form input {
    height: 38px;
    width: 100%;
    background: #f3f3f3;
    margin-bottom: 30px;
    padding: 0 10px;
}

.santaLetter-history-modal .history-form textarea {
    width: 100%;
    background: #f3f3f3;
    height: 208px;
    resize: none;
    padding: 10px;
}

.santaLetter-history-modal .history-form button {
    width: 225px;
    height: 41px;
    margin: 34px auto;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(222, 3, 11);
    background-color: rgb(222, 3, 11);
    font-size: 18px;
    color: white;
    font-weight: bold;
    display: block;
}

.santaLetter-history-modal .thanks, .santaLetter-history-modal .age-fail {
    padding-top: 125px;
    padding-left: 196px;
    color: #e02b2e;
    text-align: center;
    font-size: 18px !important;
    margin-right: -30px;
}

.santaLetter-history-modal .history-list h3 {
    position: relative;
    top: -50px;
    text-align: center;
    color: #de030b;
}

@media (max-width: 600px) {
    .santaLetter-history-modal .history-list h3 {
        top: -40px;

    }
}
.santaLetter-history-modal .thanks .share table {
    margin: 0 auto !important;
}

.santaLetter-history-modal label[for='agree-rules'] a, .santaLetter-history-modal  .thanks a {
    color: #00458b;
    text-decoration: underline;
}

.santaLetter-history-modal .thanks p {
    font-size: 18px !important;
}

.santaLetter-history-modal .m-t-20 {
    margin-top: 20px;
}
.santaLetter-history-modal .m-b-20 {
    margin-bottom: 20px;
}

#santaLetter-histories, .popup-history-list {
    height: 90vh;
    border: 1px solid #bdbdbd;
    padding: 25px;
    overflow: hidden;
    position: relative;
}

.santaLetter-history {
    margin-bottom: 30px;
}

.santaLetter-history:after {
    display: block;
    text-align: center;
    content: "***";
    font-size: 30px;
    color: #9cb1f3;
    margin-top: 20px;
}

.santaLetter-history h6 a {
    font-size: 18px;
    font-weight: bold;
    color: #00458b;
}

.santaLetter-history .author-link {
    font-size: 12px;
    color: #7e7e7e;
    border-bottom: 1px solid #7e7e7e;
}

.santaLetter-history .history-content {
    color: #000000;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.santaLetter-add-history, .santaLetter-history-link {
    border-style: solid;
    border-width: 2px;
    border-color: rgb(194, 10, 17);
    border-radius: 3px;
    background-color: rgb(255, 255, 255);
    width: 515px;
    display: block;
    margin: 50px auto;
    text-transform: uppercase;
    color: rgb(194, 10, 17);
    font-weight: bold;
    font-size: 18px;
    padding: 8px 0;
    text-align: center;
}

@media (max-width: 583px) {
    .santaLetter-add-history, .santaLetter-history-link {
        max-width: 90%;
    }
}
@media (max-width: 780px) {
    .santaLetter-history-modal.c-news-popup:before {
        width: 270px;
        height: 233px;
        background: url("../img/tree-toy-small.png") no-repeat;
    }
    .santaLetter-history-modal .authorization {
        padding-top: 140px;
        padding-left: 44px;
        padding-bottom: 90px;
        text-align: center;
        font-size: 16px !important;
        margin-right: 0px;
    }

    .santaLetter-history-modal .authorization button {
        max-width: 100%;
        font-size: 18px;
        padding-left: 46px;
    }

    .santaLetter-history-modal .history-form {
        margin-right: 0px;
        padding-left: 80px;
    }
    .santaLetter-history-modal .thanks, .santaLetter-history-modal .age-fail {
        margin-right: 0;
        padding-left: 37px;
    }

    .santaLetter-history-modal .history-list {
        margin-right: 0px;
        padding-left: 55px;
    }
    #santaLetter-histories, .popup-history-list {
        border: none;
    }
}

/** tag canvas */
*{margin:0; padding:0;}

#christmas_ball_canvas_cont
{
    width:460px;
    height: 617px;
    margin: 0 auto;
    padding-top: 170px;
    background: url(../img/ball_460.jpg) no-repeat;
    background-size: 100%;
    text-align: center;
}
#christmas_ball_canvas
{
    width:440px;
    height: 440px;
}
#christmas_ball_tegs
{
    display: none;
}


@media all and (max-width:500px)
{

    #christmas_ball_canvas_cont {width:300px;height: 402px;margin: 0 auto;padding-top: 115px;background: url(../img/ball_460.jpg) no-repeat;background-size: 100%;}
    #christmas_ball_canvas {width:280px;height: 280px;}

}
/* /tag-canvas */