/* body {
    overflow: hidden;
} */

#hero h1{
	font-family: 'Comic Sans MS';
}
.herotext h2 {
    margin: 10px 0 32px;
}
.desc-p {
    color: #333;
    max-width: 620px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
}
#hero .btn h3 {
    margin-top: 12px;
}
.table-head_ded-snegurka:after{
    /*content: "и";*/
    color: #fff;
    position: absolute;
	top: 23px;
    right: 70px;
    font-size: 0.84em;
}.table-head_ded-snegurka{
	position: relative;
  line-height: 1.1!important;
}
.actors-select-block{
    text-align: center;
    width: 70%;
    margin: 10px 10% 30px 19%;
    height: 48px;
}
.actors-select_control {
    text-align: left;
    float: left;
    width: 33%;
    height: 48px;
    padding: 7px 0;
    background:rgba(244,67,54,0.3);
    color: #000;
    border: 1px solid #eee;
    border-left: none;
    cursor: pointer;
    font-weight: normal;
    font-size: 20px;
    font-family: 'Comic Sans MS';
    transition: color 0.4s ease;
    transition: background 0.5s ease;

}
.actors-select_control > span {
    padding-left: 60px;
    line-height: 32px;
    position: relative;
}
.actors-select_control > span:before{
    height: 36px;
    width: 36px;
    content: "";
    left: 16px;

    top: -3px;
    background-size: cover;
    background-repeat: no-repeat;
    /* // background: #fff;
    // content: url('../img/santa-claus.png');
    // border-radius: 50%; */
    position: absolute;

}
.actors-select_control.sneg > span:before{
    background: url(../img/snowflake.png);
    background-size: cover;
    height: 32px;
    width: 32px;
    top: -2px;
}
.actors-select_control.ded > span:before{
    background: url(../img/santa-claus-1.png);
    background-size: cover;
}
.actors-select_control.photo > span:before{
    background: url(../img/photo-camera.png);
    background-size: cover;
    height: 30px;
    width: 30px;
    top: -1px;
}
#select-photo:checked ~ .actors-select-block .actors-select_control.photo,
#select-sneg:checked ~ .actors-select-block .actors-select_control.sneg {
    color:#fff;
    background: #f53f2c;
}
.actors-select_control.ded{
    border-left: 1px solid #eee;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    color:#fff;
    background: #f53f2c;
}
.actors-select_control.photo{
    width: 25%;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
.form-horizontal .form-col{
    margin: .5%;
    padding-top: 15px;
}
.form-horizontal .control-label {
    width: 25%;
    padding-top: 5px;
    text-align: right;
    font-weight: normal;
}
.form-horizontal .controls {
    display: inline-block;
    width: 60%;
}
.form-horizontal .controls input,
.form-horizontal .controls textarea {
    width: 100%;
}
.control-group {
    width:49%;
    float: left;
    text-align: center;
}
.form-horizontal {
    border: 1px solid #d6d6d6;
    border-radius: 15px;
    margin-bottom: 35px;
}
.form-horizontal legend {
    background: rgb(245, 63, 44);
    padding: 10px 0;
    border-bottom:none;
    margin-bottom: 0;
    color: #ffffff;
    font-size: 20px;
    font-family: 'Comic Sans MS';
    cursor: pointer;
    border-radius: 14px;
}
.form-horizontal .control-label.comment{
    vertical-align: top;
    margin-top: 26px;
}
.form-horizontal textarea{
    padding-left: 20px;
    padding-right: 20px;
    width: 87%;
}
.order-button{
    width: 160px;
    text-transform: uppercase;
    background: #F44336;
    color: #fff;
    font-size: 15px;
    border: 3px solid #e3e3e3;
    margin-top: 20px;
}
.order-button:hover {
    border-color: #F44336;
}

.succsess-msg {
    display: none;
    font-size: 30px;
    text-align: center;
    color: #4CAF50;
    font-family: 'Lobster', cursive;
    margin: 35px 0;
}
.order-call-link:focus, .order-call-link:active, .order-call-link:visited {
    color: #f53f2c;
    text-decoration: none;
}




.cssload-wrap{
    padding: 16px 0 14px; 
}
.cssload-thecube {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: relative;
    transform: rotateZ(45deg);
        -o-transform: rotateZ(45deg);
        -ms-transform: rotateZ(45deg);
        -webkit-transform: rotateZ(45deg);
        -moz-transform: rotateZ(45deg);
}
.cssload-thecube .cssload-cube {
    position: relative;
    transform: rotateZ(45deg);
        -o-transform: rotateZ(45deg);
        -ms-transform: rotateZ(45deg);
        -webkit-transform: rotateZ(45deg);
        -moz-transform: rotateZ(45deg);
}
.cssload-thecube .cssload-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    transform: scale(1.1);
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
}
.cssload-thecube .cssload-cube:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F44336;
    animation: cssload-fold-thecube 2.76s infinite linear both;
        -o-animation: cssload-fold-thecube 2.76s infinite linear both;
        -ms-animation: cssload-fold-thecube 2.76s infinite linear both;
        -webkit-animation: cssload-fold-thecube 2.76s infinite linear both;
        -moz-animation: cssload-fold-thecube 2.76s infinite linear both;
    transform-origin: 100% 100%;
        -o-transform-origin: 100% 100%;
        -ms-transform-origin: 100% 100%;
        -webkit-transform-origin: 100% 100%;
        -moz-transform-origin: 100% 100%;
}
.cssload-thecube .cssload-c2:before, .cssload-thecube .cssload-c4:before {
    background-color: #f7584d;
}
.cssload-thecube .cssload-c2 {
    transform: scale(1.1) rotateZ(90deg);
        -o-transform: scale(1.1) rotateZ(90deg);
        -ms-transform: scale(1.1) rotateZ(90deg);
        -webkit-transform: scale(1.1) rotateZ(90deg);
        -moz-transform: scale(1.1) rotateZ(90deg);
}
.cssload-thecube .cssload-c3 {
    transform: scale(1.1) rotateZ(180deg);
        -o-transform: scale(1.1) rotateZ(180deg);
        -ms-transform: scale(1.1) rotateZ(180deg);
        -webkit-transform: scale(1.1) rotateZ(180deg);
        -moz-transform: scale(1.1) rotateZ(180deg);
}
.cssload-thecube .cssload-c4 {
    transform: scale(1.1) rotateZ(270deg);
        -o-transform: scale(1.1) rotateZ(270deg);
        -ms-transform: scale(1.1) rotateZ(270deg);
        -webkit-transform: scale(1.1) rotateZ(270deg);
        -moz-transform: scale(1.1) rotateZ(270deg);
}
.cssload-thecube .cssload-c2:before {
    animation-delay: 0.35s;
        -o-animation-delay: 0.35s;
        -ms-animation-delay: 0.35s;
        -webkit-animation-delay: 0.35s;
        -moz-animation-delay: 0.35s;
}
.cssload-thecube .cssload-c3:before {
    animation-delay: 0.69s;
        -o-animation-delay: 0.69s;
        -ms-animation-delay: 0.69s;
        -webkit-animation-delay: 0.69s;
        -moz-animation-delay: 0.69s;
}
.cssload-thecube .cssload-c4:before {
    animation-delay: 1.04s;
        -o-animation-delay: 1.04s;
        -ms-animation-delay: 1.04s;
        -webkit-animation-delay: 1.04s;
        -moz-animation-delay: 1.04s;
}

.clear-fix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
@keyframes cssload-fold-thecube {
    0%, 10% {
        transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
                75% {
        transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
                100% {
        transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-o-keyframes cssload-fold-thecube {
    0%, 10% {
        -o-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
                75% {
        -o-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
                100% {
        -o-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-ms-keyframes cssload-fold-thecube {
    0%, 10% {
        -ms-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
                75% {
        -ms-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
                100% {
        -ms-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-webkit-keyframes cssload-fold-thecube {
    0%, 10% {
        -webkit-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
                75% {
        -webkit-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
                100% {
        -webkit-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-moz-keyframes cssload-fold-thecube {
    0%, 10% {
        -moz-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
                75% {
        -moz-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
                100% {
        -moz-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}


#kaluga-page .table-head_ded-snegurka:after{
    right: 94px;
}

.container-photo {
    /* width: 1560px; */
    /* max-width: 100%;
    padding-left: 50px;
    padding-right: 50px; */
}
.photo-slider{
    max-width: 960px;
    margin: 45px  auto;
}
.photo-slider .item {
    height: 600px;
    max-height: 80vh;
    min-width: 150px;
    margin: 0 10px;
}

@media only screen and (max-width: 1024px) {
    .photo-slider .item {
        height: 500px;
        min-width: 120px;
        margin: 0 10px;
    }
}

@media only screen and (max-width: 767px) {
    .photo-slider .item {
        height: 350px;
        min-width: 120px;
        margin: 0 8px;
    }
}

@media only screen and (max-width: 500px) {
    .photo-slider .item {
        height: 300px;
        min-width: 120px;
        margin: 0 5px;
    }
}

.carousel-cell {
  width: 30%;
  height: 500px;
  margin-right: 10px;
  border-radius: 5px;
  
}

.ded-pshen-img {


}
.slick-slider .slick-track {
    display: flex;
    align-items: center;
}
#review {
    padding-bottom: 30px;
}
.review-grid {
  /*display: flex;
  justify-content: center;
  flex-wrap: wrap;*/
  margin: 30px auto 10px;
  min-height: 250px;
}
.review-grid__item {
  width: 320px;
  /*height: 500px;*/
  /*background-color: antiquewhite;*/
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin: 0 0 20px;
  box-shadow: 0px 1px 5px 2px #e3e3e3;
}
.review-grid__item img{
  width: 100%;
}
.text-center {
  text-align: center;
}

.review-grid__item:nth-child(n + 4) {
    display: none;
}
.btn-more-review {
    display: block;
    width: 300px;
    margin: -10px auto 10px;
}


@media only screen and (max-width: 1024px) and (min-width: 767px) {
    .review-grid__item:nth-child(4) {
        display: block;
    }
}


//PROGRAM TIMELINE
.history-tl-container {
  max-width: 650px;
  margin:auto;
  display:block;
  position:relative;
}
.history-tl-container ul.tl{
    margin: 40px auto 20px;
    max-width: 620px;
    padding:0;
    display: block;

}
.history-tl-container ul.tl li{
    list-style: none;
    margin:auto;
    margin-left:50px;
    min-height:50px;
    /*background: rgba(255,255,0,0.1);*/
    border-left:1px dashed #86D6FF;
    padding:0 0 30px 30px;
    position:relative;
}
.history-tl-container ul.tl li:last-child{ border-left:0;}
.history-tl-container ul.tl li::before{
    position: absolute;
    left: -15px;
    top: -5px;
    content: " ";
    border: 8px solid rgba(255, 255, 255, 0.74);
    border-radius: 500%;
    background: #F44336;
    height: 30px;
    width: 30px;
    transition: all 500ms ease-in-out;

}
.history-tl-container ul.tl li:hover::before{
    border-color:  #F44336;
    transition: all 1000ms ease-in-out;
}
ul.tl li .item-title{
    font-size: 18px;
    margin-bottom: 3px;
}
ul.tl li .item-detail{
    color:rgba(0,0,0,0.5);
    font-size:14px;
}
ul.tl li .timestamp{
    color: #8D8D8D;
    position: absolute;
    width:100px;
    left: -50%;
    text-align: right;
    font-size: 12px;
}
#what-include .sectionhead {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.program-desc {
    font-size: 16px;
    margin: 0 auto 20px;
    max-width: 520px;
    text-align: center;
}

@media only screen and (max-width: 640px) {
    .history-tl-container ul.tl{
        text-align: left;
        margin: 30px auto 20px;
        max-width: 620px;
        padding:0;
        display: block;
    }
    ul.tl li .item-title{
        font-size: 16px;
        margin-bottom: 2px;
    }
    ul.tl li .item-detail{
        font-size:12px;
    }
    .desc-p {
        font-size: 13px;
    }
    .btn-more-review {
        display: none;
    }
    .review-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

