*{
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: black;
}
body {
    margin: 0;
    background: white;
    min-width: 1000px;
}
a{
    text-decoration: none;
}
.main-mod{
    padding: 0 20px;
    /* padding-top: 120px; */
    background: url(img/bg.jpg) top fixed no-repeat;
    height: 650px;
    background-color: #f5f5f5;
}
.main-mod-wrapper{
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}
.main-mod-wrapper::after{
    content: '';
    clear: both;
}

h2{
    max-width: 1200px;
    margin: 0 auto;
    font-size: 36px;
    font-weight: 500;

    padding: 60px 20px 0;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.lookdown{
    width: 3px;
    height: 0px;
    background: red;
    position: absolute;
    bottom: -50px;
    /* left: 30px; */
    right: 30px;
    animation: lookdown  3s infinite ease-in-out;
}
@keyframes lookdown {
    0% {height:0px; margin-bottom: 100px;}
    40%{height:100px; margin-bottom: 0px;}
    80%{height:0px; margin-bottom: 0;}
}
.header{
    position: absolute;
    top: 0px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    z-index: 10;
}
.logo{
    display: block;
    width: 235px;
    height: 88px;
    background: url(img/Logo-rus.svg) no-repeat;
    background-size: contain;
    margin-right: 0;
    margin-left: auto;
}
@keyframes upper{
    0%{
        transform: translateY(-20px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}
.slogan{
    font-size: 70px;
    line-height: 55px;
    color: red;
    padding-top: 280px;
    animation: upper  0.8s  ease-out;
    text-align: right;
}
.slogan span{
    font-size: 32px;
    display: inline-block;
    line-height: 40px;
}
.phone-butt {
    position: relative;
    border-radius: 6px;
    padding: 15px 31px 15px 25px;
    font-size: 24px;
    float: right;
    color: white;
    margin-top: 40px;
    display: flex;
    align-items: center;
    background-color: rgb(255, 10, 18);
    box-shadow: 0px 12px 30px 0px rgba(165, 16, 0, 0.4);
  }
  .buy-buttons .phone-butt{
    margin-top: 0px;
  }
  .buy-buttons{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  .buy-buttons .phone-butt{
    flex: 0 1 50%;
    border-radius: 20px;
  }
  .buy-buttons .phone-butt + .phone-butt{
      margin-left: 20px;
  }
  .phone-butt span{
    color: white;
    font-size: 24px;
    transition: all 0.2s;
  }
.phone-butt:before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-image: url(img/telephone.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ec0008;
    background-size: 60%;
    margin-right: 10px;
}
.kassa::before{
    background-image: url(img/placeholder.svg);
}
.phone-butt::after{
    /* content: ''; */
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 10, 18);
    box-shadow: 0px 12px 30px 0px rgba(165, 16, 0, 0.4);
}
.numper{
    position: absolute;
    left: 85px;
    top: 50px;
    font-size: 24px;
    color: white;
    opacity: 0;
    transition: all 0.2s;
}
.phone-butt:hover span{
    margin-top: -26px;
}
.phone-butt:hover {
    background-color: rgb(228, 0, 8);
}
.phone-butt:hover::before {
    background-color:#c90007;
}
.phone-butt:hover .numper{
    top: 41px;
    opacity: 1;
}
.description{
    font-size: 22px;
    width: 800px;
    margin-top: 20px;
}
.info-tittle{
    font-size: 22px;
    line-height: 36px;
}
.info-tittle span{
    font-size: 22px;
    line-height: 36px;
    font-weight: 700;
}
.options{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto 70px;
    padding: 0 10px;
    min-width: 1000px;
}
.options p:first-of-type{
    padding-top: 30px;
}
p span{
    color:red;
}
.special{
    border-top: 1px dotted #bbbbbb;
    width: 100%;
    padding: 15px 20px;
    margin-top: 10px;
    font-size: 16px;
    color: red;
    background: #fff4f4;
}
.options-i{
    margin: 60px 10px 0;
    border: solid 1px #bbbbbb;
    border-radius: 20px;
    padding: 40px 20px;
    flex: 1 1 260px;
    min-height: 90px;
    position: relative;
}

.options-i.off{
    visibility: hidden;
}
.options-i span{
    position: absolute;
    left: 20px;
    width: 50px;
    text-align: center;
    top: -32px;
    line-height: 60px;
    background: white;
    font-size: 66px;
    color: red;
}

.arrow{
    width: 44px;
    height: 44px;
    background-color: red;
    border-radius: 22px;
    flex: 0 0 44px;
    overflow: hidden;
    transition: background-color 0.3s;
}
.arrow span{
    width: 88px;
    height: 44px;
    background: url(img/2aeroplanes.svg) -42px 0 no-repeat;
    display: block;
}
.wrapper{
    padding: 50px 0;
    background: red;
    margin: 30px 0 0;
}
.validity{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
}
.validity-i{
    padding: 10px;
    max-width: 375px;
    flex: 1 1 375px;
    transition: transform 0.3s;
}
.validity-i:hover{
    transform: translateY(-15px);

}
.validity-i-up{
    height: 130px;
    border-radius: 10px 10px 0 0;
    border: 1px solid white;
    border-bottom: inherit; 
    padding: 20px 20px 0;
    position: relative;
}
.validity-i-up::before, 
.validity-i-up::after {
    content: '';
    width: 10px;
    position: absolute;
    height: 20px;
    border-radius: 0 20px 20px 0;
    border: 1px white solid;
    border-left: unset;
    bottom: -21px;
    left: -1px;
    z-index: 2;
    background: red;
}
.validity-i-up::after{
    right: -1px;
    left: unset;
    border-radius: 20px 0 0 20px;
    border-right: unset;
    border-left: 1px white solid;
}
.validity-i-up .tittle span{
    font-size: 24px;
    color: red;
    background: white;
    border-radius: 4px;
    padding: 0 6px;
}
.validity-i-up .tittle {
    font-size: 24px;
    color:white;
    position: relative;
    margin-bottom: 20px;

}
.validity-i-up .tittle::after{
    content: "";
    position: absolute;
    z-index: 1;
    right: 0;
    top:4px;
    width: 72px;
    height: 44px;
    background: url(img/1.png) no-repeat;
}
.airplains{
    display: flex;
    justify-content: flex-start;
}
.airplains span{
    width: 27px;
    height: 23px;
    display: inline-block;
    background: url(img/airp.png) no-repeat;
}
.airplains span+span{
    margin-left: 13px;
}

.timeperiod{
    font-size: 24px;
    color:red;
    position: relative;
    height: 50px;
    width: 100%;
    line-height: 50px;
    display: inline-block;
}
.timeperiod::after{
    content: '';
    position: absolute;
    display: inline-block;
    width: 50px;
    right: 0;
    height: 50px;
    border-radius: 39px;
    background: url(img/hourglass.svg) center no-repeat, red;
    background-size: 50%;
}
.validity-i-down{
    border-radius: 0 0 10px 10px;
    border: 1px solid white;
    border-top: inherit; 
    padding: 15px 20px;
    margin-top: 10px;
    position: relative;
    background: white;
}
.validity-i-down::before{
    /* content: ''; */
    position: absolute;
    border-top: 1px dashed white;
    left: 14px;
    right: 14px;
    top: -10px;
}
.cities-i-direction{
    width: 78%;
}
.cities-i+.cities-i{
    margin-left: 10px;
}
.cities a:hover .direction,
.cities a:hover .comment{
    color: white;
}
.cities a:hover .arrow{
    background-color: white;
    transform: scale(1.2);
}
.cities a:hover .arrow span{
    background-position-x: 0px;
}
.cities a,
.arrow,
.comment,
.direction,
.arrow span{
    transition: all 0.3s;
}

.info{
    padding-top: 80px;
}
.flights{
    background: #edf3f4;
    padding-top: 50px;
}
.flights-i{
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.flights-i-elem{
    /* box-shadow: 0px 3px 8px 0px rgba(158, 158, 158, 0.09); */
    display: none;
    height: 56px;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    /* background: white; */
    padding: 0 15px;
    margin: 5px 20px;
    transition: background .4s;
    position: relative;
    z-index: 1;
}
.flights-i-elem:before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    box-shadow: 0px 3px 8px 0px rgba(158, 158, 158, 0.09);
    background: white;
    transition: all .4s;
    z-index: -1;
}
.flights-i-elem:hover{
    z-index: 4;
}
.flights-i-elem:hover:before {
    transform: scaleX(1.02) scaleY(1.02);
    box-shadow: 0px 3px 54px 0px rgba(32, 40, 58, 0.2);
}

.flights-i-elem.tittle{
    display: flex;
    background: unset;
}
.flights-i-elem.tittle:before {
    background: unset;
    box-shadow: unset;
}
.flights-i-elem.tittle:hover:before {
    transform: unset;
}

.flights-i-elem.tittle .price{
    font-size: 16px;
    font-weight: 400;
}
.flights-i-elem.tittle .price span{
    font-size: 16px;
    color:red;
}
.flights-i-elem.select{
    display: flex;
}
.departure-and-arrival{
    width: 39%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.departure,
.arrival{
    width: 150px;
    /* overflow: hidden; */
    font-size: 16px;
}
.airplane{
    width: 80px;
    height: 20px;
    background: url(img/aeroplane.svg) no-repeat center;
    background-size: contain;
}
.prices{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:  48%;
}
.tarif{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 200px;
}
.buy a{
    padding: 0 15px;
    border-radius: 3px;
    border: solid rgba(255, 0, 0, 0.2) 1px;
    display: inline-block;
    line-height: 30px;
    color: red;
    text-decoration: none;
    transition: all .4s;
}
.price{
    font-weight: 700;
    font-size: 16px;
}
.price span{
    font-weight: 500;
    /* font-size: 16px; */
}
.buy,
.tittle-buy{
    width: 144px;  
} 
.buy a:hover{
    background: red;
    color:white;
}
.pometka{
    position: relative;
}
.pometka:after{
    content: 'тарифы применяются только с 01.01.19';
    font-size: 12px;
    color: red;
    position: absolute;
    right: -110px;
    width: 110px;
    padding-left: 5px;
    line-height: 12px;
    border-left: 1px solid #d4d4d4;
}

.attancion{
    color: rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
}
.usloviya h2{
    text-align: center;
}
.usloviya-wr{
    max-width: 1200px;
    display: flex;
    margin: 100px auto;
}
.usloviya-i{
    width: 50%;
    background: white;
    position: relative;
}
.usloviya-i+.usloviya-i{
    border-left: dashed 5px #edf3f4;
}
.usloviya-i::after{
    content: "";
    border-radius: 50%;
    background-image: -moz-linear-gradient( 90deg, rgb(255,251,236) 0%, rgb(205,224,225) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(255,251,236) 0%, rgb(205,224,225) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(255,251,236) 0%, rgb(205,224,225) 100%);
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -40%;
    width: 255px;
    height: 255px;
 }
.usloviya-i-btn{
    background: red;
    width: 300px;
    line-height: 56px;
    color: white;
    margin: 200px auto 40px;
    display: block;
    text-align: center;
    transition: all 0.2s;
}
.usloviya-i-btn::after{
    content: "";
    width: 216px;
    height: 289px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -90px;
    z-index: 20;
    background-image: url(img/girl.png);  
    transition: all 0.2s;
}
.usloviya-i-btn.man:after{
    background-image: url(img/man.png);  
}
.usloviya-i-btn:hover{
    background: rgb(226, 0, 0);
    width: 310px;
}
.usloviya-i-btn:hover:after{
    top: -110px;
}
.restrictions li{
    position: relative;
    font-size: 16px;
    line-height: 26px;
    height: 200px;
    padding-top: 100px;
    padding-right: 28px;

}
.restrictions li::before{
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 45px;
    top:0px;
    left: 0px;
    border: 1px solid #bbbbbb;
    background: url(img/people.svg)center no-repeat;
    background-size: 50%;
}
.restrictions li:nth-of-type(2):before{
    background: url(img/user.svg)center no-repeat;
    background-size: 50%;
}
.restrictions li:nth-of-type(3):before{
    background: url(img/rectangles.svg)center no-repeat;
    background-size: 50%;
}
.restrictions li:nth-of-type(4):before{
    background: url(img/route.svg)center no-repeat;
    background-size: 50%;
}
.restrictions li:nth-of-type(5):before{
    background: url(img/airplane-shape.svg)center no-repeat;
    background-size: 50%;
}
.restrictions li:nth-of-type(6):before{
    background: url(img/hand.svg)center no-repeat;
    background-size: 50%;
}
.restrictions{
    max-width: 1200px;
    margin: 40px auto 0;
    column-count: 3;
    list-style-type:none;
}
.footer{
    padding: 0 20px;
    background: red;
}
.footer-wrapper{
    max-width: 1200px ;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 125px;
    margin: 0 auto;
}
.phone{
    margin-left: 10px;
    height: 50px;
}
.phone div{
    color: white;
    font-size: 14px;
    line-height: 14px;
}
.phone .phone-number{
    font-size: 30px;
    line-height: 32px;
}
.contacts::before{
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url(img/smartphone.svg) no-repeat;
    background-size: contain;
}
.contacts{
    display: flex;
    align-items: center;
}
.ph-comment{
    font-size: 14px;
    width: 260px;
    height: 35px;
    padding: 15px;
    display: flex;
    align-items: center;
    background: #ec0000;
    color: white;
    border-radius: 5px;
    margin-left: 40px;
    position: relative;
}
.ph-comment::before{
    content: "";
    position: absolute;
    transform: rotate(45deg);
    left: -8px;
    width: 15px;
    height: 15px;
    background: #ec0000;
}
.social{
    display: flex;
    justify-content: space-between;
}
.vk,
.fb{
    margin-left: 50px; 
    width: 50px;
    height: 50px;
    transition: transform 0.3s;
}
.vk{
    background: url(img/vk.svg) no-repeat;
    background-size: contain;
}
.fb{
    background: url(img/facebook.svg) no-repeat;
    background-size: contain;
}
.vk:hover,
.fb:hover{
    transform: scale(1.2);
}
.footer-pic{
    padding-top: 80px;
    font-size: 94px;
    color: white;
    letter-spacing:30px;
    text-align: center;
    text-indent: 20px;
    line-height: 130px;
    position: relative;
    background: url(img/clouds.png) no-repeat center top,#edf3f4;
    overflow: hidden;
}
.small,
.big{
    position: absolute;
    background-image: url(img/plane-small.png);
    background-position: 36% 10%;
    top:0;
    left: 0;
    right: 0;
    height: 340px;
    background-repeat: no-repeat;
}
.big{
    background-image: url(img/plane-big.png);
    background-position: 77% 100%;
}

@media screen and (max-width: 1000px) {
    .options-i {
        flex: 1 1 390px;
    }
}