@font-face {
	font-family: 'Fira Sans Extra Condensed';
	src: url('../font/FiraSansExtraCondensed-ExtraBold.eot');
	src: url('../font/FiraSansExtraCondensed-ExtraBold.eot?#iefix') format('embedded-opentype'),
	url('../font/FiraSansExtraCondensed-ExtraBold.woff') format('woff'),
	url('../font/FiraSansExtraCondensed-ExtraBold.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
}




.setup-content {
    overflow:hidden;
}

.stepwizard-step p {
    margin-top: 10px;
}
.stepwizard-row {
    display: table-row;
}
.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}
.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}
.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-order: 0;
}
.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}
.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

@font-face {
    font-family: 'Lato';
    src: url('/static/victoryday/fonts/Lato-BlackItalic.eot');
    src: local('вє'),
    url('/static/victoryday/fonts/Lato-BlackItalic.woff') format('woff'),
    url('/static/victoryday/fonts/Lato-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}
@font-face {
    font-family: 'Lato';
    src: url('/static/victoryday/fonts/Lato-MediumItalic.eot');
    src: local('вє'),
    url('/static/victoryday/fonts/Lato-MediumItalic.woff') format('woff'),
    url('/static/victoryday/fonts/Lato-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

.postcard {
    font-family: 'Lato';
    font-weight: 500;
    display: table;
    width:1200px;
    min-height: 640px;
    padding: 80px 164px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.postcard .content {
    float: right;
    width: 480px;
    font-style: italic;

}
.postcard .content h1 {
    margin-top: 0;
    margin-bottom: 48px;
    font-weight: 900;
    font-size: 56px;
    line-height: 64px;
    color: #F5504D;
}
.postcard .content p {
    font-size: 28px;
    line-height: 38px;
    color: #4A4878;
    margin-top: 0;
    margin-bottom: 24px;
    padding-top: 0;
}
.postcard .content .text-bold {
    font-weight: 900;
}
.postcard .content .recipient {
    line-height: 28px;
}
.postcard .content .signature {
    padding-top: 8px;
    line-height: 28px;
    margin-bottom: 0;
}

.postcard .content .sender-name {
    position: relative;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 28px;
    margin-bottom: 0;
    padding-left: 65px;
}

.postcard .content .sender-name .avatar {
    position: absolute;
    left: 0px;
    top: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: translateY(-50%);
}


.wrap-postcard {
    font-family: 'PT Sans';
    position: relative;
    padding: 35px 30px 40px;
    background-color: #fff;
    /*border-radius: 8px;*/
    /*border: 1px solid #ECE8E6; */
    /*margin-bottom: 100px;*/
    background: #f9f8f7;
}

@media (max-width: 767px){
    .wrap-postcard {
        margin: 0 -25px;
        padding: 30px 20px 40px;
    }
}
.wrap-postcard .stepwizard {
    display: none;
}
.wrap-postcard .postcard-head {
    margin-bottom: 25px;
    /*padding-bottom: 35px;*/
    /*border-bottom: 6px solid #EEECEC; */
}
.wrap-postcard .postcard-head h3 {
    font-family: 'PT Sans';
    font-size: 28px;
    color: #111111;
    font-weight: 700;
}
@media (max-width: 767px){ 
    .wrap-postcard .postcard-head h3 {
        font-size: 20px;
        line-height: 24px;
    }
}
.post-column .postcard-list-wrap ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    padding: 0;
}
.post-column .postcard-list-wrap ul li {
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 10px;
}
@media all and (max-width: 767px) {
    .post-column .postcard-list-wrap ul li {
        width: 100%;
    }
}
.post-column .postcard-list-wrap ul li a{
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    vertical-align: initial;
}
.post-column .postcard-list-wrap ul li a .link-overlay {
    position: absolute;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/fancy-full.svg');
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    background-color: rgba(0,0,0,0.4);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.post-column .postcard-list-wrap ul li a:hover .link-overlay {
    opacity: 1;
}
.post-column .postcard-list-wrap ul li img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 10;
    vertical-align: bottom;
}
.wrap-postcard .my-pastcard {
    position: absolute;
    right: 30px;
    top: 30px;   
}
.postcard-btn-wrap {
    text-align: center;
}
.postcard-btn-wrap .btn {
    border-radius: 0;
}

#step-2,
#step-3 {
    display: none;
}

@media (max-width: 767px){
    .postcard-btn-wrap {
        position: relative;
    }
    #step-2 .postcard-btn-wrap {
        padding-left: 100px;
    }
}

.loading .postcard-btn-wrap {
    display: none;
}
.loader-wrap {
    display: none;
    text-align: center;
}
.loading .loader-wrap {
    display: block;
}
.loader-wrap img {
    vertical-align: top;
} 
.wrap-postcard .btn.nextBtn,
.wrap-postcard .submitBtn {
    background-color: #4f41e9;
    font-size: 15px;
    color: #fff;
    text-align: center;
    padding: 14px 15px;
    width: 100%;
    max-width: 220px;
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.wrap-postcard .btn.nextBtn:hover,
.wrap-postcard .submitBtn:hover {
    background-color: #3123CB;
}
.wrap-postcard .btn.nextBtn[disabled],
.wrap-postcard .btn.nextBtn[disabled]:hover {
    background-color: #ccc !important;
}

.wrap-postcard .btn.nextBtn svg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    margin: auto;
}

@media (max-width: 767px){
    .wrap-postcard .btn.nextBtn {
        max-width: 100%;
        font-size: 14px;
    }
}

.wrap-postcard .btn.prevBtn {
    position: absolute;
    left: 30px;
    bottom: 55px;
    background-color: rgba(255,255,255,0);
    color: #4a3be2;
    font-family: 'PT Sans';
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    padding: 0;
}
.wrap-postcard .btn:hover,
.wrap-postcard .btn:focus,
.wrap-postcard .btn:active {
    outline: none;
    box-shadow: none;
}
.wrap-postcard .btn.prevBtn svg {
    margin-right: 12px;
    float: left;
}
.wrap-postcard .btn.prevBtn svg g {
    stroke: #4a3be2;
}
.wrap-postcard .btn.prevBtn:hover {
    color: #23527c
}
.wrap-postcard .btn.prevBtn:hover svg g{
    stroke: #23527c;
}
.post-column .paginationjs {
    position: relative;
    padding-top: 10px;
}
.post-column .paginationjs-pages ul {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    max-width: 180px;
    width: 100%;
    margin: 0 auto;
}
.post-column .paginationjs-pages ul li {
    position: absolute;
    top: 0px;
    list-style-type: none;
    float: none;
    margin: 0;
    padding: 0;
}

.post-column .paginationjs-pages ul li a{
    display: block;
    margin-right: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #4f41e9;
    background-repeat: no-repeat;
    background-size: 8px auto;
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.post-column .paginationjs-pages ul li a:hover{
    background-color: #3123CB;
}
.post-column .paginationjs-pages ul li.disabled a{
    background-color: #ccc;
    cursor: default;
}
.post-column .paginationjs-pages ul li.disabled a:hover{
    background-color: #F5F3F2;
}
.post-column .paginationjs-pages ul li.paginationjs-prev {
    left: 0;
}
.post-column .paginationjs-pages ul li.paginationjs-next {
    right: 0;
}
.post-column .paginationjs-pages ul li.paginationjs-prev a{
    background-image: url('../img/pagination-left.svg');
    background-position: 14px center;
}
.post-column .paginationjs-pages ul li.paginationjs-next a{
    background-image: url('../img/pagination-right.svg');
    background-position: center;
}

.post-column .paginationjs-pages ul li.paginationjs-page {
    display: none;
}
.post-column .paginationjs-pages ul li.paginationjs-page a{
    content: "";
    width: 8px;
    height: 8px;
    background-color: #4E38E7;
    opacity: 0.5;
    font-size: 0;
}
.post-column .paginationjs-pages ul li.paginationjs-page.active a {
    opacity: 1;
}
.wrap-postcard .btn-mob {
    display: none;
    background-color: #4f41e9;
    font-size: 15px;
    color: #fff;
    text-align: center;
    padding: 14px 15px;
    width: 100%;
    max-width: 220px;
}
@media all and (max-width: 767px) {
    /*.post-column .paginationjs-pages ul {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .post-column .paginationjs-pages ul li.paginationjs-prev {
        display: none;
    }
    .post-column .paginationjs-pages ul li.paginationjs-next {
        display: none;
    }
    .post-column .paginationjs-pages ul li {
        position: static;
        top: auto;
    }
    .post-column .paginationjs-pages ul li.paginationjs-page {
        display: inline-block;
        margin: 0 6px;
    }
    .post-column .paginationjs .paginationjs-nav {
        display: none;
    }*/
    .wrap-postcard .btn-mob {
        display: block;
        max-width: 220px;
        margin: 5px auto 0;
    }
}

.post-column .paginationjs .paginationjs-nav {
    font-family: 'PT Sans';
    float: none;
    color: rgba(51, 51, 51, 0.6);
    font-size: 16px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
}

.wrap-postcard .postcard-step {
    position: absolute;
    top: 35px;
    right: 30px;
    font-family: 'PT Sans';
    font-size: 14px;
    color: rgba(51, 51, 51, 0.6);
    line-height: 32px;
    display: none;
}

.postcard-list-wrap .post-bg {
    position: relative;
    display: block;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
}
.postcard-list-wrap .post-bg.is-selected {
	box-shadow: 0 0 0 4px #0266d8;
}

.postcard-list-wrap .post-bg.is-selected::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-image: url('/static/victoryday/img/check-mark.svg');
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 40%;
    background-color: #0266d8;
    border-radius: 50%;
    z-index: 10;
}

@media (max-width: 767px){
	.postcard-list-wrap .post-bg.is-selected {
		box-shadow: none;
	}
	.postcard-list-wrap .post-bg.is-selected:before {
	    content: "";
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	    border: 4px solid #0266d8;
	    z-index: 11;
	    background: rgba(0, 0, 0, 0.2)
	}

    .postcard-list-wrap .post-bg.is-selected::after {
        width: 61px;
        height: 61px;
    }
}

/*.postcard-list-wrap .post-bg.is-selected:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #0266d8;
    z-index: 12;
    background: rgba(0, 0, 0, 0.2)
}*/
.postcard-list-wrap .post-bg img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 10;
    vertical-align: bottom;
}
.postcard-list-wrap .post-bg .link-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0,0,0,0.4);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    z-index: 20;
}
.postcard-list-wrap .post-bg .link-overlay span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-block;
    transform: translate(-50%,-50%);
    border: 1px solid #fff;
    /*border-radius: 5px;*/
    color: #fff;
    font-family: 'PT Sans';
    font-size: 15px;
    padding: 7px 35px;
    white-space: nowrap;

}
.postcard-list-wrap .post-bg:hover .link-overlay {
    opacity: 1;
}

#victorydaycard-categoryid {
    display:none;
}

.wrap-postcard  .postcard-demo-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
    /*border-radius: 6px;*/
    overflow: hidden;
}
/*.wrap-postcard  #postcard-demo {
    transform: scale(0.515, 0.515) translate(-50%, -50%);
}*/
.wrap-postcard .thanks-message {
    padding-top: 30px;
    text-align: center;
}
.wrap-postcard .thanks-message h4{
    font-size: 28px;
    color: #111111;
    font-weight: 700;
    margin-bottom: 20px;
}
.wrap-postcard .thanks-message p {
    font-size: 21px;
    color: #333333;
    margin-bottom: 20px;
}
.wrap-postcard .thanks-message p.small {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}
.wrap-postcard .thanks-message .btn.setBtn {
    background-color: inherit;
    font-size: 16px;
    font-weight: 400;
    color: #4f41e9;
    text-align: center;
    padding: 0;
    width: auto;
    max-width: auto;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    margin-bottom: 30px;
}
.wrap-postcard .thanks-message .btn.setBtn:hover {
    color: #3123CB;
}
.wrap-postcard .control-label {
    font-size: 16px;
    color: #333333;
    font-weight: 700;
    margin-bottom: 0;
}
.wrap-postcard .form-group {
    margin-bottom: 20px;
}
.wrap-postcard input.form-control {
    padding: 14px 20px;
    font-size: 16px;
    color: #444444;
    line-height: normal;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border-color: #e9e9e9;
}
.wrap-postcard input.form-control:focus {
    border-color: #157aec;
}
.wrap-postcard textarea.form-control {
    height: 90px;
    padding: 14px 20px;
    color: #444444;
    font-size: 16px;
    line-height: 1.563;
    border-radius: 0;
    box-shadow: none;
    border-color: #e9e9e9;
}
.wrap-postcard textarea.form-control:focus {
    border-color: #157aec;
}

.sss-btn {
    border: 1px solid #cccccc;
    font-size: 14px;
    color: #4b4b4b !important;
    padding: 7px 20px;
    border-radius: 17px;
    text-decoration: none !important;
    font-weight: 400 !important;
}

.sss-btn.active {
    background: #0266d8 !important;
    border-color: #0266d8 !important;
    color: #fff !important;
}

.postcard-select-photo {
    font-size: 14px;
    font-weight: 400;
    color: #4b4b4b;
}
.postcard-select-photo__label {
    margin: 0 5px;
}

@media (max-width: 767px){
    .postcard-select-photo .sss-btn {
        width: 100%;
        margin: 20px 0;
        display: block;
        text-align: center;
    }
    .postcard-select-photo__label {
        display: none
    }
}

.wrap-dragzone {
    width: 100%;
    height: 70px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    border: 1px dashed #cccccc;
    transition: 300ms ease-out;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

@media (max-width: 767px){
    .wrap-dragzone {
        border-style: solid;
    }
}

.wrap-dragzone.hover {
    border-color: #000;
}

/*.wrap-dragzone.drop .wrap-dragzone__text {
    display: none;
}

.wrap-dragzone.drop .wrap-dragzone__file-name {
    display: block;
}*/

.wrap-dragzone .field-victorydaycard-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.wrap-dragzone input {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    transform: scale(3);
    cursor: pointer;
}

.wrap-dragzone__text {
    font-size: 14px;
    color: #000000;
    line-height: 1;
}

@media (min-width: 1024px){
    .wrap-dragzone__text.mob_text {
        display: none;
    }
}

@media (max-width: 1023px){
    .wrap-dragzone__text.desk_text {
        display: none;
    }
}

.wrap-dragzone__text:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
    background: url('../img/file-upload.svg') no-repeat;
    width: 30px;
    height: 23px;
    background-size: 100%;
}

.wrap-dragzone__text span {
    color: #0266d8;
}

.wrap-dragzone__file-name {
    display: none;
}

.wrap-dragzone-preview {
    text-align: center;
    margin: -10px 0 20px;
}
.wrap-dragzone-preview img {
    max-width: 100%;
}

.wrap-postcard .chosen-container-single .chosen-single {
    height: 60px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 20px;
    line-height: 58px;
    background: inherit;
}
.wrap-postcard .chosen-container-single .chosen-single span {
    color: #444444;
    font-size: 16px;
}
.wrap-postcard .chosen-container-active.chosen-with-drop .chosen-single {
  border: 1px solid #ccc;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background-image: none;
  box-shadow: none;
}
.wrap-postcard .chosen-container .chosen-results li.highlighted {
  background-color: #3123CB;
  background-image: none;
  color: #fff;
}
.wrap-postcard .chosen-container .chosen-results li {
    padding: 8px 12px;
}
.wrap-postcard .chosen-container-single .chosen-single div b {
    position: absolute;
    right: 18px;
    top: 50%;
    display: block;
    width: 12px;
    height: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('/static/victoryday/img/chosen-drop.svg');
    transform: translateY(-50%);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.wrap-postcard  .chosen-container-active.chosen-with-drop .chosen-single div b {
    background-position: center;
    transform: translateY(-50%) rotate3d(1, 0, 0, 180deg);
}
.wrap-postcard .chosen-container-single .chosen-search input[type="text"] {
    padding: 8px 10px 8px 10px;
    background: none;
    background-image: inherit !important;
}
.wrap-postcard .auth-wrap {
    padding: 30px 20px 30px 30px;
    /*border-radius: 5px;*/
    background-color: #f1f1f1;
    /*text-align: center;*/
    margin-bottom: 40px;

}
@media (min-width: 768px){
    .wrap-postcard .auth-wrap {
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
}
@media (max-width: 767px){
    .wrap-postcard .auth-wrap {
        text-align: center;
    }
    .wrap-postcard .auth-wrap .control-label {
        margin-bottom: 20px;
    }
}
.wrap-postcard .auth-wrap.is-auth-success .control-label {
    display: none;
}
/*.wrap-postcard .auth-wrap .control-label {
    font-size: 18px;
}*/
@media (max-width: 1023px){
    .wrap-postcard .auth-wrap .control-label {
        width: 230px;
        line-height: 1.2
    }
}
.wrap-postcard .auth-wrap .control-label {
    font-size: 17px;
    margin-right: 20px;
}
.wrap-postcard .btn-soc-post {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0 3px;
    border-radius: 50%;
    position: relative;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out; 
}
.wrap-postcard .btn-soc-post svg {
    fill: #5c5c5c;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out; 
}
.wrap-postcard .btn-soc-post:hover svg{
    fill: #3383df;
}
.wrap-postcard .auth-wrap .sender {
    padding: 0 10px;
    text-align: left;
}
.wrap-postcard .auth-wrap .sender-cont {
    /*display: inline-block;*/
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
@media (max-width: 767px){
    .wrap-postcard .auth-wrap .reset-social {
        position: absolute;
        bottom: -40px;
        left: 0;
    }
    .wrap-postcard .auth-wrap .sender-cont {
        margin: -10px 0 30px -20px;
    }
}

.wrap-postcard .auth-wrap .sender-avatar {
    position: absolute;
    left: 0px;
    top: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: translateY(-50%);
}
.wrap-postcard .auth-wrap .sender-name {
    display: inline-block;
    padding: 15px 0 15px 70px;
    font-size: 14px;
    color: #444444;
    margin-right: 15px;
}

@media (max-width: 767px){
    .wrap-postcard .auth-wrap .sender-name {
        padding-left: 60px;
    }
}

.wrap-postcard .auth-wrap .reset-social {
    color: #157aec;
    font-size: 14px;
    cursor: pointer;
    /*position: absolute;
    top: 50%;
    right: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #BBBBBB;
    background-image: url('/static/victoryday/img/fansy-close.svg');
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: center;
    transform: translateY(-50%);
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;*/
}
/*.wrap-postcard .auth-wrap .reset-social:hover {
    background-color: #8B8B8B;
}*/
.wrap-postcard .social-block {
    border-radius: 5px;
    padding: 10px 10px 15px;
    margin-bottom: 25px;
}
.wrap-postcard .help-block {
    margin-top: 0;
    font-size: 14px;
}

.postcard-demo-block {
    padding: 35px;
    position: relative;
    background: url('../img/postcard-back.jpg') no-repeat;
    background-size: cover;
    background-position: bottom right;
    margin-bottom: 40px;
}

.postcard-demo-image {
    width: 250px;
    height: 300px;
    border: 2px solid #fff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
}

.postcard-select-photo input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 767px){
    .postcard-demo-block {
        padding: 15px 11px;
        margin-bottom: 10px;
    }
    .postcard-demo-image {
        width: 35%;
        height: auto;
        padding-bottom: 40%;
        border-width: 2px;
    }
}

.postcard-content {
    position: absolute;
    left: 320px;
    top: 35px;
    bottom: 35px;
    right: 35px;
    padding: 30px;
    background: rgba(18, 12, 7, 0.45);
    border-radius: 10px
}

.postcard-demo-block.is-photo .postcard-demo-image {
    opacity: 1;
    visibility: visible;
}

.postcard-demo-block:not(.is-photo) .postcard-content{
    left: 35px;
}

.postcard-demo-block:not(.is-photo) .postcard-title,
.postcard-demo-block:not(.is-photo) .postcard-message {
    text-align: center;
}

.postcard-demo-block:not(.is-photo) .sender-name {
    float: right;
    margin-right: 30px;
}


.postcard-title {
    font-size: 31px;
    line-height: 1.2;
    color: #ffcc00;
    font-weight: 700;
    margin-bottom: 20px;
    /*font-family: 'Fira Sans Extra Condensed'*/
}

.postcard-subtitle {
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}
.postcard-message {
    font-size: 17px;
    line-height: 1.4;
    color: #fff;
    font-style: italic;
  /*  font-weight: 700;*/
    /*font-family: 'PT Serif', Times New Roman;*/
    margin-bottom: 25px;
    padding: 0 !important;
}

.wrap-postcard-foto-list {
    position: relative;
    margin-bottom: 20px;
}

@media (max-width: 767px){
    .postcard-content {
        left: calc(35% + 15px);
        right: 15px;
        top: 15px;
        bottom: 15px;
        padding: 15px;
        font-size: 110%;
    }
    .postcard-title {
        font-size: 0.7em;
        line-height: normal;
        margin-bottom: 0.4em;
    }
    .postcard-subtitle {
		font-size: 0.35em;
		line-height: normal;
		margin-bottom: 1em
    }
    .postcard-message {
        font-size: 0.4em;
        line-height: normal;
        margin-bottom: 0.1em;
    }
    .postcard-demo-block:not(.is-photo) .postcard-content {
        left: 15px;
    }
}

@media (min-width: 768px){
    .wrap-postcard-foto-list .postcard-list-wrap {
        margin: 0 85px;
    }
}

.wrap-postcard-foto-list .postcard-list-wrap ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

@media (min-width: 768px){
    .wrap-postcard-foto-list .postcard-list-wrap ul li {
        width: 250px;
        padding: 15px;
    }
}

@media (max-width: 1023px) and (min-width: 768px){
    .wrap-postcard-foto-list .postcard-list-wrap ul li {
        width: 220px;
    }
}

@media (max-width: 767px){
    .wrap-postcard-foto-list .postcard-list-wrap ul li {
        padding: 0 10px;
    }
}

.wrap-postcard-foto-list .post-bg {
    border-radius: 0;
}

.wrap-postcard-foto-list #postbg-list-nav {
    height: 60px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

@media (max-width: 767px){
    .wrap-postcard-foto-list #postbg-list-nav {
        width: 120px;
        bottom: auto;
        left: auto;
        z-index: 11;
    }
}

.wrap-postcard-foto-list .paginationjs .paginationjs-nav {
    display: none;
}

.wrap-postcard-foto-list .paginationjs {
    padding: 0;
}

.wrap-postcard-foto-list .paginationjs-pages ul {
    max-width: 100%;
}

.wrap-postcard-foto-list .paginationjs-pages ul li a {
    border-radius: 0;
    width: 60px;
    height: 60px;
    background: #fff !important;
    border: 1px solid #e9e9e9;
}
.wrap-postcard-foto-list .paginationjs-pages ul li a:before {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    left: 50%;
    top: 50%;
    position: absolute;
    margin-top: -4px;
    margin-left: -4px;
    pointer-events: none;
    border-left: 2px solid #333333;
    border-bottom: 2px solid #333333;
    transform: rotate(45deg);
}

.wrap-postcard-foto-list .paginationjs-pages ul li.paginationjs-next a:before {
    transform: rotate(-135deg);
}
.wrap-postcard-foto-list .paginationjs-pages ul li.disabled {
    opacity: 0.3;
}


.form-group-checkbox {
    cursor: pointer;
    font-size: 15px;
    line-height: normal;
    color: #333333;
    min-height: 30px;
    display: inline-block;
    padding-left: 45px;
    position: relative;
}

.form-group-checkbox__title {
    padding-top: 7px;
    display: inline-block;
}

.form-group-checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
} 

.form-group-checkbox input:checked + .form-group-checkbox__title:after {
    opacity: 1;
}

.form-group-checkbox .form-group-checkbox__title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid #e9e9e9;
    transition: 300ms ease-out;
}

.form-group-checkbox .form-group-checkbox__title:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 10px;
    width: 16px;
    height: 11px;
    background: url(../img/tick.svg) no-repeat;
    background-size: 100%;
    opacity: 0;
    transition: 300ms;
}

.postcard-content .sender-name {
    font-size: 13px;
    color: #fff;
    font-style: italic;
}
.postcard-content .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (max-width: 767px){
    .postcard-content .avatar {
        width: 1.8em;
        height: 1.8em;
        margin-right: 0.5em;
    }
    .postcard-content .sender-name {
        font-size: 0.35em;
    }
}

.postcard-demo-form__desc {
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    margin-bottom: 15px
}
.postcard-demo-form__title {
    font-size: 18px;
    color: #333333;
    font-weight: 700;
    margin-bottom: 2px;
}


@media all and (max-width: 767px) {
    /*.wrap-postcard {
        padding: 30px 15px 40px;
    }*/
    /*.wrap-postcard .postcard-head {
        margin-bottom: 12px;
        margin-top: 30px;
        padding-bottom: 0px;
        padding-top: 22px;
        border-top: 6px solid #EEECEC;
        border-bottom: none;
    }
    .wrap-postcard .postcard-head h3 {
        font-size: 20px;
    }*/
    .wrap-postcard .postcard-step {
        top: 18px;
        right: 15px;
    }
    .wrap-postcard .btn.prevBtn {
        left: 0;
        bottom: auto;
        top: 15px;
        font-size: 15px;
    }
    /*.wrap-postcard .btn.prevBtn span {
        display: none;
    }*/
    .wrap-postcard .my-pastcard {
        left: 0;
        right: auto;
        top: 20px;
        width: 100%;
        text-align: center;
    }
    .wrap-postcard .thanks-message {
        padding-top: 0;
    }
    .wrap-postcard .thanks-message h4 {
        font-size: 20px;
    }
    .wrap-postcard .thanks-message p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .wrap-postcard .thanks-message .btn.setBtn {
        margin-bottom: 15px;
    }
    .wrap-postcard .control-label {
        font-size: 14px;
        margin-bottom: 3px;
        line-height: 1.143;
    }
    .wrap-postcard input.form-control {
        padding: 14px 20px;
        font-size: 14px;
        color: #444444;
        line-height: normal;
        height: auto;
    }
    .wrap-postcard textarea.form-control {
        height: 100px;
        padding: 18px 12px;
        font-size: 14px;
    }
    .wrap-postcard select.form-control {
        height: 50px;
        padding: 0 13px;
        line-height: 48px;
        font-size: 14px;
        color: #444444;
    }
    .wrap-postcard .chosen-container-single .chosen-single {
        height: 50px;
        line-height: 48px;
        padding: 0 13px;
    }
    .wrap-postcard .chosen-container-single .chosen-single span {
        color: #444444;
        font-size: 13px;
    }
    /*.wrap-postcard .auth-wrap {
        padding: 10px 0;
        background-color: inherit;
        text-align: center;
        margin-bottom: 35px;
        margin-left: -8px;
        margin-right: -8px;
    }*/
    /*.wrap-postcard .btn-soc-post {
        margin: 0 8px;
    }*/
    /*.wrap-postcard .auth-wrap .sender-cont {
        display: block;
        background-color: #F1F1F1;
        padding: 5px;
    }
    .wrap-postcard .auth-wrap .sender-name {
        display: block;
    }
    .wrap-postcard .auth-wrap .sender-avatar {
        left: 5px;
    }
    .wrap-postcard .auth-wrap .reset-social {
        right: 10px;
    }*/
    .postcard-list-wrap .post-bg .link-overlay {
        display: none;
    }
    .wrap-postcard .auth-wrap .control-label {
        width: 235px;
    }
}



.blue-btn {
    font-family: 'PT Sans';
    background-color: #4f41e9;
    font-size: 15px;
    color: #fff;
    text-align: center;
    padding: 14px 15px;
    width: 100%;
    max-width: 220px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.blue-btn:hover,
.blue-btn:focus,
.blue-btn:active {
    background-color: #3123CB;
    color: #fff;
}
.btn:hover, 
.btn:focus, 
.btn:active {
    outline: none;
    box-shadow: none;
}
.lg-btn {
    width: 100%;
    max-width: 370px;
}

.galery-postcard {
    padding: 0px 15px 100px;
}
.galery-postcard .descr-text {
    font-family: 'PT Serif';
    width: 100%;
    max-width: 680px;
    margin: 0 auto 35px;
    font-size: 21px;
    color: rgb(48, 48, 48);
    line-height: 1.524;
    font-weight: 400;
    text-align: center;
}
@media (max-width: 480px){
    .galery-postcard .descr-text {
        font-size: 14px;
    }
}

.galery-postcard .lg-btn{
    margin-bottom: 85px;
}

@media (min-width: 993px) {
    .galery-postcard .postcard-list-wrap {
        min-height: 570px;
    }
}

.galery-postcard .postcard-list-wrap ul {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}
.galery-postcard .postcard-list-wrap ul li {
    width: 33.333%;
    padding: 0 10px 20px;
}
@media all and (max-width: 992px) {
    .galery-postcard .postcard-list-wrap ul li {
        width: 50%;
    }
}
@media all and (max-width: 767px) {
    .galery-postcard .postcard-list-wrap ul li {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
}
.galery-postcard .postcard-list-wrap ul li a {
    position: relative;
    display: block;
    border-radius: 5px;
    overflow: hidden;
}
.galery-postcard .postcard-list-wrap ul li a .link-overlay {
    position: absolute;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/fancy-full.svg);
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    background-color: rgba(0,0,0,0.4);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.galery-postcard .postcard-list-wrap ul li:hover a .link-overlay {
    opacity: 1;
}
.galery-postcard .postcard-list-wrap ul li img {
    width: 100%;
    vertical-align: top;
}
.galery-postcard .paginationjs-pages {
    display: table;
    width: 100%;
    font-family: 'PT Sans';
    padding: 50px 0 20px;
}
.galery-postcard .paginationjs-page.J-paginationjs-page {
    float: left;
}
.galery-postcard .paginationjs-page.J-paginationjs-page a{
    display: block;
    color: #4f41e9;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    line-height: 50px;
    margin: 0 2px;
    cursor: pointer;
    border: 1px solid #ddd;
    -webkit-transition: background-color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out;
    -o-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;
}
.galery-postcard .paginationjs-page.J-paginationjs-page a:hover {
    background-color: #F1F1F1;
    color: #333333;
    border: 1px solid #F1F1F1;
}
.galery-postcard .paginationjs-page.J-paginationjs-page.active a,
.galery-postcard .paginationjs-page.J-paginationjs-page.active a:hover{
    background-color: #F1F1F1;
    color: #333333;
    border-radius: 50%;
    border: none;
}

.galery-postcard .paginationjs-ellipsis.disabled {
    float: left;
    cursor: default;
}
.galery-postcard .paginationjs-ellipsis.disabled a,
.galery-postcard .paginationjs-ellipsis.disabled a:hover {
    display: block;
    color: #333333;
    width: 50px;
    height: 50px;
    text-decoration: none;
    line-height: 50px;
}

@media all and (max-width: 767px) {
    .galery-postcard {
        padding: 30px 15px 50px;
    }
    .galery-postcard .lg-btn{
        margin-bottom: 35px;
    }
    .galery-postcard .paginationjs-pages {
        padding: 20px 0 15px;
    }
    .fancybox-nav {
        /*display: none !important;*/
        margin-top: -15px !important;
    }
    .fancybox-nav span {
        width: 30px !important;
        height: 30px !important;
        background-size: 50% !important;
    }
    .galery-postcard .postcard-list-wrap ul li a .link-overlay{
        display: none;
    }
    .fancybox-wrap {
        width: calc(100% - 30px) !important;
        left: 15px !important;
    }
    .fancybox-skin {
        width: 100% !important;
    }
    .fancybox-inner {
        width: 100% !important;
        height: auto !important;
    }
    .fancybox-title .sheare-list-wrap .sheare-ell a {
        width: 50px;
    }
}
@media (max-width: 480px){
    .galery-postcard .paginationjs-page.J-paginationjs-page a{
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
    .galery-postcard .paginationjs-ellipsis.disabled a,
    .galery-postcard .paginationjs-ellipsis.disabled a:hover {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
}

.postcard-wiget {
    margin: 0 auto 30px;
    max-width: 250px;
}
.postcard-wiget a {
    display: block;
    width: 100%;
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
}
.postcard-wiget a:hover {
    text-decoration: none;
}
.postcard-wiget a p,
.postcard-wiget a:hover p {
    font-family: 'Lato';
    font-weight: 900;
    color: #494777;
    font-size: 21px;
    line-height: 1.238;
    text-decoration: none;
    padding-top: 65px;
    margin-bottom: 12px;
}
.postcard-wiget .blue-btn {
    padding: 9px 10px;
    width: 100%;
    max-width: 170px;
}


.wrap-postcard .ya-share2__item_service_vkontakte .ya-share2__badge,
.wrap-postcard .ya-share2__item_service_facebook .ya-share2__badge,
.wrap-postcard .ya-share2__item_service_odnoklassniki .ya-share2__badge,
.wrap-postcard .ya-share2__item_service_twitter .ya-share2__badge {
    background-color: inherit;
}
.wrap-postcard .ya-share2__container_size_m .ya-share2__item {
    margin: 0px 10px;
}
.wrap-postcard .ya-share2__container_size_m .ya-share2__icon {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    height: 40px;
    width: 40px;
}
.wrap-postcard .ya-share2__item_service_twitter .ya-share2__icon {
    background-image: url('/static/victoryday/img/soc-twit.svg');
}
.wrap-postcard .ya-share2__item_service_vkontakte .ya-share2__icon {
    background-image: url('/static/victoryday/img/soc-vk.svg');
    background-size: 44px;
}
.wrap-postcard .ya-share2__item_service_odnoklassniki .ya-share2__icon {
    background-image: url('/static/victoryday/img/soc-odn.svg');
}
.wrap-postcard .ya-share2__item_service_facebook .ya-share2__icon {
    background-image: url('/static/victoryday/img/soc-facebook.svg');
    background-size: 32px;
}

.thanks-message .social-block a.btn-soc-post {
    background-repeat:no-repeat;
    background-size: 60%;
    background-color: inherit;
}
.thanks-message .social-block a#vkShare {
    background-size: 80%;
}

.thanks-message .social-block a.btn-soc-post:hover {
    background-color: inherit;
    opacity: 0.8;
}

@media all and (max-width: 767px) {
    .wrap-postcard .ya-share2__container_size_m .ya-share2__item {
        margin: 0px 5px;
    }
    .wrap-postcard .ya-share2__container_size_m .ya-share2__icon {
        background-repeat: no-repeat;
        background-position: center;
        background-size: 26px;
        height: 34px;
        width: 34px;
    }
    .wrap-postcard .ya-share2__item_service_vkontakte .ya-share2__icon {
        background-image: url('../img/soc-vk.svg');
        background-size: 36px;
    }
    .wrap-postcard .ya-share2__item_service_facebook .ya-share2__icon {
        background-image: url('../img/soc-facebook.svg');
        background-size: 28px;
    }
    .wrap-postcard .thanks-message p.small {
        margin-bottom: 10px;
    }
    .thanks-message .social-block a.btn-soc-post {
        width: 40px;
        height: 40px;
        margin: 0 4px;
    }
}

#postbg-list .slick-ell img {
    width: 100%;
    height: auto;
}
#postbg-list .slick-ell {
    padding: 0 10px;
}
#postbg-list.slick-slider {
    margin-left: -10px;
    margin-right: -10px;
}
#postbg-list.slick-slider ul.slick-dots {
    text-align: center;
    justify-content: center;
    padding: 15px;
}
#postbg-list.slick-slider ul.slick-dots li {
    display: inline-block;
    width: auto;
    padding: 0 6px;
}
#postbg-list.slick-slider ul.slick-dots li,
#postbg-list.slick-slider ul.slick-dots li:focus,
#postbg-list.slick-slider ul.slick-dots li:hover,
#postbg-list.slick-slider ul.slick-dots li:active,
#postbg-list .slick-ell,
#postbg-list .slick-ell:focus,
#postbg-list .slick-ell:hover,
#postbg-list .slick-ell:active {
   outline: none;
}
#postbg-list.slick-slider ul.slick-dots li button,
#postbg-list.slick-slider ul.slick-dots li button:focus,
#postbg-list.slick-slider ul.slick-dots li button:hover,
#postbg-list.slick-slider ul.slick-dots li button:active {
    content: "";
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: none;
    background-color: #4E38E7;
    opacity: 0.5;
    font-size: 0;
    outline: none;
}
#postbg-list.slick-slider ul.slick-dots li.slick-active button {
    opacity: 1;
}

.fancybox-close {
    top: -30px !important;
    right: 0 !important;
    width: 16px !important;
    height: 16px !important;
}

.galery-postcard .postcard-list-wrap ul.galery-list li{
    position: relative;
}


.galery-postcard .postcard-list-wrap ul.galery-list li .sheare-list-wrap {
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 50;
    visibility: hidden;
    opacity: 0;
    transition: all .2s;
}

.galery-postcard .postcard-list-wrap ul.galery-list li:hover .sheare-list-wrap {
    opacity: 1;
    visibility: visible;
}

.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-btn,
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell a {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ffffff;
    cursor: pointer;
    transition: all .2s;
}
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-btn .fill,
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell a .fill{
    fill: #333333;
    transition: all .2s;
}
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell a {
    background: transparent;
    border-color: #fff;
}
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell a .fill {
    fill: #fff;
}
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-btn:hover,
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-btn.active,
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell a:hover {
    border: 1px solid #0266d8;
    background-color: #0266d8;
}

.postcard-like {
    height: 30px;
    background: #fff;
    border-radius: 30px;
    font-family: "PT Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #333333;
    padding: 0 8px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 50;
    cursor: pointer;
}

.galery-postcard .postcard-like {
    position: absolute;
    top: 10px;
    right: 20px;
}

.postcard-like[data-voted="true"] svg,
.postcard-like:hover svg {
    fill: #0266d8;
}

.postcard-like svg {
    fill: #999999;
    margin-right: 8px;
    transition: 300ms ease-out
}


.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-btn:hover .fill,
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-btn.active .fill,
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell:hover a .fill{
    fill: #fff;
}
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-btn svg,
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell a svg{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list{
    display: block;
    padding: 4px 0;
    margin: 0;
    height: inherit;
    max-height: 40px;
    min-height: 40px;
    overflow: hidden;
    -webkit-transition: all 1.5s ease-in-out;
    transition: all 1.5s ease-in-out;
}

.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list.active {
    visibility: visible;
    opacity: 1;
    max-height: 300px;
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list .sheare-ell {
    display: block;
    width: auto;
    float: none;
    padding: 4px 0;
    opacity: 0;
    -webkit-transform: scale(0.5) rotate(-45deg);
    transform: scale(0.5) rotate(-45deg);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list.active .sheare-ell {
    opacity: 1;
    -webkit-transform: scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg);
}
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list.active .sheare-ell:nth-child(1) {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list .sheare-ell:nth-child(1) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list.active .sheare-ell:nth-child(2) {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list .sheare-ell:nth-child(2) {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list.active .sheare-ell:nth-child(3) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}
.galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list .sheare-ell:nth-child(3) {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}




.mobile .galery-postcard .postcard-like,
.tablet .galery-postcard .postcard-like {
    top: auto;
    bottom: 10px;
    right: 10px;
}

.mobile .galery-postcard .galery-list > li,
.tablet .galery-postcard .galery-list > li {
    padding: 0 0 50px;
    margin-bottom: 20px;
    border: 1px solid #e9e9e9;
}

.mobile .galery-postcard .postcard-list-wrap .sheare-ell, 
.tablet .galery-postcard .postcard-list-wrap .sheare-ell {
    border: none !important;
}

.mobile .galery-postcard .postcard-list-wrap ul.sheare-list li,
.tablet .galery-postcard .postcard-list-wrap ul.sheare-list li {
    padding: 0;
}

.mobile .galery-postcard .postcard-list-wrap ul li a,
.tablet .galery-postcard .postcard-list-wrap ul li a {
    border-radius: 0;
}


.mobile .galery-postcard .postcard-list-wrap ul.galery-list li .sheare-list-wrap,
.tablet .galery-postcard .postcard-list-wrap ul.galery-list li .sheare-list-wrap {
    position: absolute;
    top: auto;
    bottom: 0;
    right: auto;
    left: 0;
    width: 100%;
    z-index: 50;
    visibility: visible;
    opacity: 1;
}
.mobile .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-btn,
.tablet .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-btn {
    display: none;
} 
.mobile .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell,
.tablet .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell {
    padding: 0 !important;
    margin: 0 10px 0 0;
}
.mobile .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell a,
.tablet .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #1c76dc;
}

.mobile .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell svg,
.tablet .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell svg {
    fill: #1c76dc;
}

.mobile .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list,
.tablet .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list {
    display: block;
    padding: 10px;
    margin: 0;
    width: 100%;
    height: 50px;
    max-height: inherit;
    min-height: inherit;
    text-align: left;
}
.mobile .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list .sheare-ell,
.tablet .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap ul.sheare-list .sheare-ell {
    display: inline-block;
    width: auto;
    float: none;
    padding: 0 15px;
    opacity: 1;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
} 
.mobile .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell a .fill,
.tablet .galery-postcard .postcard-list-wrap ul.galery-list .sheare-list-wrap .sheare-ell a .fill {
    fill: #1c76dc;
}

@media (min-width: 993px){
    .tablet .galery-postcard .postcard-list-wrap ul li {
        width: calc(33.3333% - 20px);
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (min-width: 768px) and (max-width: 992px){
    .tablet .galery-postcard .postcard-list-wrap ul li {
        width: calc(50% - 20px);
        margin-left: 10px;
        margin-right: 10px;
    }
}


.fancybox-outer .fancybox-nav {
    opacity: 0;
}
.fancybox-outer:hover .fancybox-nav {
    opacity: 1;
}

.fancybox-title.fancybox-title-inside-wrap {
    padding-top: 20px;
    padding-bottom: 10px;
}
.fancybox-title .sheare-list-wrap {
    width: 100%;
    z-index: 50;
    visibility: visible;
    opacity: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
    -ms-flex-align: center;
        align-items: center;
}
.fancybox-title .sheare-list-wrap p {
    font-size: 18px;
    font-family: "PT Sans";
    color: #333333;
    font-weight: 700;
    text-align: center;
    margin: 0 10px 0 0;
} 
.fancybox-title .sheare-list-wrap .sheare-ell a {
    display: block;
    width: 50px;
    height: 50px;
    padding: 15px 0;
    border-radius: 25px;
    border: 1px solid #0266d8;
    text-align: center;
}
.fancybox-title .sheare-list-wrap .sheare-ell a:hover {
    background: #0266d8;
    border-color: #0266d8;
}
.fancybox-title .sheare-list-wrap .sheare-ell a:hover .fill {
    fill: #fff;
}
.fancybox-title .sheare-list-wrap ul.sheare-list {
    display: block;
    padding: 4px 0;
    margin: 0;
    /*width: 100%;*/
    height: auto;
    max-height: inherit;
    min-height: inherit;
    text-align: center;
}
.fancybox-title .sheare-list-wrap ul.sheare-list .sheare-ell {
    display: inline-block;
    width: auto;
    float: none;
    padding: 0 10px;
    opacity: 1;
    vertical-align: text-top;
    -webkit-transform: scale(1) rotate(0deg);
            transform: scale(1) rotate(0deg);
} 

.fancybox-title .sheare-list-wrap .sheare-ell a .fill {
    fill: #4f41e9;
}

.page--newyear ~ .fancybox-overlay .fancybox-skin {
    background: #fff
}

.page--newyear ~ .fancybox-overlay .fancybox-nav span {
    width: 50px;
    height: 50px;
    background-color: #fff;
    background-size: 16px 16px;
}

.page--newyear ~ .fancybox-overlay .fancybox-nav span:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/fancy-left-gray.svg') center center no-repeat;
    background-size: 16px 16px;
}

.page--newyear ~ .fancybox-overlay .fancybox-nav span:hover {
    background-color: #666666;
}

.page--newyear ~ .fancybox-overlay .fancybox-nav span:hover:before {
    opacity: 0;
}

.fancybox-title .postcard-like {
    font-weight: 400;
    background: #f9f8f7;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

@media (min-width: 768px){
    .fancybox-title .postcard-like {
        height: 50px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .tablet .fancybox-title .postcard-like {
        top: 10px;
    }

    .fancybox-title .postcard-like svg {
        width: 20px;
        height: 18px;
    }
}

.fancybox-margin {
    margin-right: 0 !important;
    padding-right: 17px;
}

.mobile .fancybox-title .sheare-list-wrap p {
    display: none;
}

.mobile .fancybox-title .sheare-list-wrap .sheare-ell a {
    width: 30px;
    height: 30px;
    padding: 5px;
}

.mobile .fancybox-title .sheare-list-wrap ul.sheare-list .sheare-ell {
    padding: 0 5px;
}

.mobile .fancybox-title.fancybox-title-inside-wrap {
    padding-top: 10px;
    padding-bottom: 0;
}

.mobile .fancybox-title .postcard-like {
    top: 10px;
}

.active {
    font-weight: bold;
}

@media all and (max-width: 1023px) {
    .fancybox-mobile .fancybox-title {
        display: none !important;
    }
}

.form-add-control {
    font-size: 14px;
    margin-bottom: 30px;
    color: #2b67d0;
    cursor: pointer;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
    -ms-flex-align: center;
        align-items: center;
}

.form-add-control__icon {
    width: 25px;
    height: 25px;
    position: relative;
    border: 1px solid #2b67d0;
    margin-right: 10px;
    border-radius: 50%;
}

.form-add-control__icon:before,
.form-add-control__icon:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #2b67d0;
}

.form-add-control__icon:before {
    width: 1px;
    height: 9px;
}


.form-add-control__icon:after {
    width: 9px;
    height: 1px;
}

.wrap-postcard .is-error input.form-control {
    border-color: red;
}

.control-label + .wrap-dragzone {
    margin-top: 10px;
}

.newyear-button__elem {
    display: inline-block;
    margin: 0 5px;
}

.newyear-button__elem .btn {
    max-width: 245px !important;
}

@media (max-width: 767px){
    .newyear-button__elem:not(:last-child){
        margin-bottom: 10px;
    }
    .newyear-button__elem {
        width: 100%;
        max-width: 320px;
    }
}
