/**Добавленные мной эффекты**/
/**Появление тени при наведении**/
.hover-effect1,
.fancy-box {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.hover-effect1:hover,
.fancy-box:hover {
-moz-box-shadow: 0 0 10px #000;
-webkit-box-shadow: 0 0 10px #000;
box-shadow:0 0 10px #000; 
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
/**Увеличение при наведении**/
.hover-effect2
{
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.hover-effect2:hover
{
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1);
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
/*Эффект скругления углов при наведении 2*/
.hover-effect5 {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.hover-effect5:hover  {
border-radius:0px 0px 0px 0px;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
/*Эффект скругления углов при наведении 2*/
.hover-effect5-2 {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.hover-effect5_2:hover  {
border-radius:150px 150px 150px 150px;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
/*Изменение прозрачности при наведении*/
.hover-effect7
{
opacity:1;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.hover-effect7:hover
{
opacity:0.5;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
/**  Скругление углов блока    **/
.effect5  {
border-radius:150px 150px 150px 150px;
}
/**  Маркированный список в виде галочки    **/
ul.galka {
list-style: none;
}
ul.galka li:before {
content: '✔';
margin-right: 6px;
margin-left: -15px;
}
.lalala {
    transition: all 0.5s ease;
}
/**добавить рисунок к внешним ссылкам .pic-ssilka**/
.pic-ssilka:before {
font: 400 20px/1.5 FontAwesome;
display: inline-block;
content: "\f08e";
margin-right: 7px;
}
/**добавить рисунок к картинкам .pic-jpg**/
.pic-jpg:before {
font: 400 20px/1.5 FontAwesome;
display: inline-block;
content: "\f1c5";
margin-right: 7px;
}
/**Появление тени на модуле с классом -mod -dark -red**/
.column-1,
.column-2,
.column-3,
.column-4,
.moduletable-dark,
.moduletable-mod,
.moduletable-red {
	margin-bottom: 20px;
	box-sizing: content-box
	-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;	
}
.column-1:hover,
.column-2:hover,
.column-3:hover,
.column-4:hover,
.moduletable-dark:hover,
.moduletable-mod:hover,
.moduletable-red:hover {
	-moz-box-shadow: 0 0 10px #000;
-webkit-box-shadow: 0 0 10px #000;
box-shadow:0 0 10px #000; 
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;	
}
/**тень блока**/
.shadow {
-moz-box-shadow: 0 0 10px #000;
-webkit-box-shadow: 0 0 10px #000;
box-shadow:0 0 10px #000; 
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
/**лупа внизу картинки**/
.hover-image-7 * {
  box-sizing: border-box;
}
.hover-image-7 {
  color: #fff;
  position: relative;
  overflow: hidden;
  display: inline-block;
  background: #337ab7;
  line-height: 0;
}
.hover-image-7 img {
  opacity: 1;
  transition: opacity 0.35s;
}
.hover-image-7 > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hover-image-7 > div::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  opacity: 0;
  transition: opacity 0.4s;
  background-image: linear-gradient(
    45deg,
    #337ab7 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.15)
  );
}
.hover-image-7:hover > div::before {
  opacity: 1;
}
.hover-image-7 i,
.hover-image-7 div img {
  transition: opacity 0.35s;
  display: inline-block;
  font-size: 36px;
  width: 30px;
  height: 30px;
  color: #fff;
  position: absolute;
  bottom: 12px;
  left: 12px;
  opacity: 0;
  z-index: 1;
}
.hover-image-7:hover i,
.hover-image-7:hover div img {
  opacity: 1;
}
.hover-image-7 .curl {
  width: 0px;
  height: 0px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    225deg,
    #ffffff,
    #f3f3f3 20%,
    #bbbbbb 38%,
    #aaaaaa 44%,
    #888888 50%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0.3)
  );
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}
.hover-image-7 .curl:before,
.hover-image-7 .curl:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 12%;
  bottom: 6%;
  width: 70%;
  max-width: 300px;
  max-height: 100px;
  height: 55%;
  box-shadow: 0 12px 15px rgba(0, 0, 0, 0.3);
  transform: skew(-10deg) rotate(-6deg);
}
.hover-image-7 .curl:after {
  left: auto;
  right: 6%;
  bottom: auto;
  top: 14%;
  transform: skew(-15deg) rotate(-84deg);
}
.hover-image-7 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
}
.hover-image-7:hover .curl {
  width: 90px;
  height: 90px;
}
/**открытка**/
.card-container * {
    box-sizing: border-box;
}
.card-container {
    background-image: url("/images/otkr/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    height: 740px;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}
.card {
    perspective: 1500px;
    position: absolute;
    left: calc(50% - 175px);
    top: calc(50% - 250px);
    transition-property: transform;
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition-delay: initial;
    transform: rotate(-10deg) translate(0, 0);
    animation: cardIn 1s alternate cubic-bezier(0.87, -0.41, 0.19, 1.44);
}
.card:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 50px #000;
    transition: all 0.5s ease-in-out;
}
.card.is-opened {
    transform: rotate(0deg) translate(175px, 0);
}
.card.is-opened .cart-page-front {
    transform: rotateY(-180deg);
}
@keyframes cardIn {
    0% {
        opacity: 0;
        transform: rotate(-10deg) translate(0, -100%);
    }
    25% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: rotate(-10deg) translate(0, 0);
    }
}
.card,
.card-page {
    width: 350px;
    height: 500px;
}
.card-page {
    transition: transform 1s ease-in-out;
    cursor: pointer;
    position: absolute;
    outline: 1px solid transparent;
}
.cart-page-front {
    transform-origin: 0 50% 0;
    transform-style: preserve-3d;
    transform: rotateY(-20deg);
    z-index: 2;
}
.cart-page-outside,
.cart-page-inside {
    position: absolute;
    -webkit-backface-visibility: hidden;
}
.cart-page-outside {
    border: 10px solid #fbfbfb;
    background-color: #c72320;
    background-image: url("/images/otkr/front-bg.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}
@media (max-width: 767px) {
    .cart-page-outside {
        border: 5px solid #fbfbfb;
    }
}
.cart-page-inside,
.cart-page-bottom {
    background-color: #d4d1d0;
    background-image: url("/images/otkr/pattern.png");
    border: 20px solid #d4d1d0;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.cart-page-inside {
    transform: rotateY(-180deg);
    border-right: none !important;
    background-position: 0px 80px;
}
.cart-page-bottom {
    z-index: 1;
    border-left: none !important;
    background-position: -22px 80px;
    font-size: 18px;
}
.cart-page-bottom p {
    line-height: 1.4;
}
.merry-christmas {
    transform: rotate(-10deg);
}
.merry-christmas img {
    width: 300px;
    height: auto;
}
@media (max-width: 767px) {
    .card-container {
        height: 500px;
    }
    .card {
        left: calc(50% - 115px);
        top: calc(50% - 164.5px);
    }
    .card.is-opened {
        transform: rotate(0deg) translate(115px, 0);
    }
    .card,
    .card-page {
        width: 230px;
        height: 329px;
    } 
    .cart-page-inside,
    .cart-page-bottom {
        border: 10px solid #d4d1d0;
    }    
    .cart-page-inside {
        background-position: 0px 30px;    
    } 
    .cart-page-bottom {
        background-position: 85px 30px;
        font-size: 11px;
    }  
    .merry-christmas img {
        width: 180px;
    }
}
@media (max-width: 479px) {
    .card-container {
        height: 300px;
    }
    .card {
        left: calc(50% - 75px);
        top: calc(50% - 107px);
    }
    .card.is-opened {
        transform: rotate(0deg) translate(75px, 0);
    } 
    .card,
    .card-page {
        width: 150px;
        height: 214px;
    } 
    .cart-page-inside {
        background-position: 0px 30px;
    } 
    .cart-page-bottom p {
        line-height: 1;
    }    
    .cart-page-bottom {
        background-position: 0px 30px;
        font-size: 10px;
    }  
    .merry-christmas img {
        width: 130px;
    }
}
/**конец открытка**/