@font-face {
    font-family: f-light; 
    src: url(weblysleekuil.ttf); 
   }
@font-face {
    font-family: f-bold; 
    src: url(weblysleekuisb.ttf); 
   }
*{
    margin: 0;
    padding: 0;
    font-family: f-light;
     -webkit-tap-highlight-color: rgba(0,0,0,0);
    color: #333;
}
* a{
    text-decoration: none;
    color: #333;
}

#header_full{
    width: 100%;
    height: 80px;
    background: white;
    border-bottom: 5px solid #523A66;
    box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.75);
    z-index: 10;
    position: fixed;
    top: 0;
}

#header{
    width: calc(100% - 30px);
    max-width: 1170px;
    margin: 0 auto;
    padding: 15px;
    position: relative;
    text-align: center;
}

#logo{
    position: absolute;
    left: 0;
    top: 15px;
    height: 50px;
    width: 190px;
    background: url(../img/armoutes_logo.png) no-repeat;
    background-position: left center;
    background-size: auto 60px;
    display: inline-block;
}

#menu_btn{
    width: 50px;
    height: 50px;
    background-image: url(../img/menu.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px;
    transition: 1s all;
    display: none;
}

#menu_bar{
    margin-top: 10px;
    display: inline-block;
}

#menu_bar ul{
    text-transform: uppercase;
    display: inline-block;
    padding: 3px 5px;
    margin-left: 15px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

#menu_bar ul::after, .menu_bar_ul_selected::after{
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #523A66;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: .2s width;
}
.menu_bar_ul_selected::after{
    content: "";
    position: absolute;
    width: 100% !important;
    height: 2px;
    background: #523A66;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: .2s width;
}

#menu_bar ul:hover::after{
    width: 100%;
}

#lang_block{
    padding: 0 10px;
    position: absolute;
    right: 15px;
    top: 25px;
    vertical-align: top;
    cursor: pointer;
    max-height: 500px;
    overflow: hidden;
    transition: .5s all;
    background: white;
    border-radius: 3px;
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
}

.lang_block_open{
    max-height: 22px !important;
    box-shadow: none !important;
}

.lang_select_list{
    font-size: 12px;
    text-align: left;
    padding: 5px 0 5px 22px;
    background-position: left center;
    background-size: 18px 9px;
    background-repeat: no-repeat;
}

#lang_block:hover #lang_name, .lang_select_list:hover{
    text-decoration: underline;
    color: #523A66;
}

#lang_flag{
    display: inline-block;
    width: 18px;
    height: 9px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#lang_name{
    display: inline-block;
    font-size: 12px;
    padding-right: 10px;
    background: url(../img/lang_select.png) no-repeat;
    background-size: 6px;
    background-position: right center;
}

#slider_block{
    width: 100%;
    max-width: 1920px;
    height: calc(100vh - 85px);
    max-height: 995px;
    margin: 85px auto 0 auto;
    position: relative;
    overflow: hidden;
/*    background-image: url(../img/loader.gif);*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60px;
    background-color: white;
    position: relative;
}

.slider_bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 5;
}
.slider{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.slider_tx_block{
    color: white;
    width: 50%;
    height: 180px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 6;
    overflow: hidden;
}

.slider_tx{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    z-index: 9;
    color: white;
    text-align: left;
    text-transform: uppercase;
  text-shadow: 2px 2px 5px #333;
    animation: slider_t 1.5s;
    display: none;
}

#slider_tx_1{
    font-size: 50px;
    font-family: f-bold;
}

#slider_tx_2{
    font-size: 30px;
    font-family: f-light;
}

#slider_tx_3{
    font-size: 50px;
    font-family: f-bold;
}

@keyframes slider_t{
    from{ margin-top: 50%; opacity: 0;  }
    50%{ opacity: 1;  }
    to{ margin-top: 0; opacity: 1 }
}

.slider_cn_btn{
    width: 40px;
    height: 160px;
    background-repeat: no-repeat;
    background-size: auto 30px;
    position: absolute;
    margin: auto;
    background-color: rgba(255,255,255,1);
    bottom: 0;
    top: 0;
    z-index: 6;
    border-radius: 20px;
    transition: .3s background-color;
    cursor: pointer;
    transition: .3s all;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.slider_cn_btn:hover{
    background-color: #532a66;
}

.slider_cn_btn:active{
    filter: brightness(1%);
}

#slider_left{
    left: -20px;
    background-position: 15px center;
    background-image: url(../img/slider_left.png);
}

#slider_left:hover{
    background-image: url(../img/slider_left_light.png);
}

#slider_right:hover{
    background-image: url(../img/slider_right_light.png);
}

#slider_right{
    background-position: -3px center;
    right: -20px;
    background-image: url(../img/slider_right.png);
}

.btn{
    width: 168px;
    padding: 7px 0;
    text-align: center;
    background: white;
    border-radius: 30px;
    color: #523A66;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    transition: .5s all;
    font-family: f-bold;
    -webkit-appearance: none;
}

.btn:hover{
    background: #523A66;
    color: white;
    cursor: pointer;
}

#more_btn{
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 6;
}

.title{
    font-size: 35px;
    color: #523A66;
    font-family: f-bold;
    text-align: center;
    text-transform: uppercase;
}

#products_block{
    background: white;
    text-align: center;
    padding: 30px 0;
    margin: 0 auto;
    width: calc(100% - 30px);
    max-width: 1170px;
    overflow: hidden;
    height: 260px;
}

.product{
    vertical-align: top;
    width: 260px;
    height: 141px;
    background: silver;
    display: inline-block;
    margin: 300px 15px 30px 15px;
    cursor: pointer;
    opacity: 0;
    border-radius: 5px;
}

@keyframes product_anim{
    from{ margin-top: 300px; opacity: 0 }
    to{ margin-top: 30px; opacity: 1 }
}


.product:hover{
    opacity: .8 !important;
}

.product_pic{
    width: 100%;
    height: 141px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.product_title{
    padding: 5px 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-family: f-bold;
    color: #523A66;
    
}

#armenia_product{
    background-image: url(../img/armenia_product.png);
/*    margin-top: 30px;*/
}

#iran_product{
    background-image: url(../img/iran_product.png);
}

#france_product{
    background-image: url(../img/france_product.png);
}

#footer_block{
    position: relative;
    width: 100%;
}

#footer_block::before{
    content: "";
    height: 5px;
    background: #523A66;
    width: 100%;
    position: absolute;
}

#footer_block::after{
    content: "";
    height: 3px;
    background: #523A66;
    width: 100%;
    position: absolute;
}

#footer{
    width: calc(100% - 30px);
    padding: 30px 15px;
    max-width: 1170px;
    margin: 0 auto;
}

#footer_adress{
    font-size: 14px;
    color: #333;
}

#footer_soc_block{
    float: right;
    margin-top: -40px;
}

.soc_icon{
    width: 30px;
    height: 30px;
    background-position: center;
    background-size: contain;
    display: inline-block;
    transition: .3s all;
}

.soc_icon:hover{
    filter: brightness(40%)
}

#soc_fb{
    background-image: url(../img/fb.png);
}

#soc_ins{
    background-image: url(../img/ins.png);
}

#soc_tw{
    background-image: url(../img/tw.png);
}

#soc_yt{
    background-image: url(../img/yt.png);
}

#rights_block{
    width: calc(100% - 30px);
    max-width: 1170px;
    margin: 0 auto;
    text-align: right;
    padding: 10px 15px;
    font-size: 14px;
}

#rights_block a:hover{
    color: #ff2e5d;
}

#content{
    width: calc(100% - 30px);
    max-width: 1170px;
    margin: 85px auto 0 auto;
    min-height: calc(100vh - 275px);
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.news_block{
    vertical-align: top;
    width: calc((100% - 100px) / 4);
    display: inline-block;
    margin: 5px;
    padding: 5px;
    position: relative;
    transition: .3s all;
}

.news_block:hover{
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
}
.news_block:hover .news_title{
    white-space: normal;
    overflow-y: visible;
    color: #532a66;
    max-height: 300px;
}

.news_block:hover .news_text{
    color: #adacac;
}

.news_img{
    width: 100%;
    height: calc((100vw - 60px) / 6.8);
    max-height: 170px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: gray;
}

.news_title{
    left: 0;
    width: calc(100% - 10px);
    font-family: f-bold;
    padding: 5px;
    position: absolute;
    background: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 25px;
}

.news_text{
    white-space: pre-wrap;
    margin-top: 30px;
    text-align: justify;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    color: #666;
}


#contacts_adress_block{
    text-align: center;
}

.contact_input{
    width: calc(100% - 14px);
    padding: 7px;
    max-width: 260px;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
    border: 1px solid #999;
    font-size: 16px;
}

#mss_txt{
    width: calc(100% - 14px);
    height: 300px;
    max-width: 480px;
    display: block;
    margin: 20px auto;
    padding: 7px;
    font-size: 16px;
    border-radius: 4px;
    resize: vertical;
}

#contact_mss_send_btn{
    display: block;
    margin: 20px auto;
    text-transform: uppercase;
    border: none;
}

.contact_input:focus, #mss_txt:focus, #contact_mss_send_btn:focus{
    outline: none;
    border-color: #333;
}

#pages-num-line{
    text-align: center;
}

#pages-num-line p{
    display: inline-block;
    padding: 3px;
}

#news_header{
    width: 100%;
    text-align: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

#news_header div{
    position: absolute;
    left: 0;
    top: 0;
}

#news_header p{
    padding: 30px 15px;
    width: calc(100% - 30px);
    height: 100%;
    z-index: 5;
    font-size: 35px;
    font-family: f-bold;
    color: #523A66;
}

#news_text_in_page{
    padding: 10px 0;
}

.news_gallery_title{
    font-size: 18px;
    font-family: f-bold;
    padding-right: 30px;
    border-bottom: 2px solid #532a66;
    color: #532a66;
    display: inline-block;
    margin: 15px 0;
}

#news_gallery{
    display: inline-block;
    max-width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

#news_gallery_in{
    width: 100%;
    height: 220px;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
    
    
}

#news_gallery_in img{
    height: 200px;
    width: auto;
    display: inline-block;
    cursor: pointer;
    transition: .3s all;
    vertical-align: top;
}

#news_gallery_in img:hover{
    height: 220px;
    margin-top: -10px;
}

.news_gallery_cn_btn{
    height: 160px;
    width: 40px;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50px;
    background-color: white;
    
    background-repeat: no-repeat;
    background-size: auto 20px;
    position: absolute;
    cursor: pointer;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.news_gallery_cn_btn:hover{
/*    background-color: rgba(255,255,255,0.8);*/
    background-color: #532a66;
}


.news_gallery_cn_btn:active{
    filter: brightness(1%);
}

#news_gallery_right{
    right: -20px;
    background-image: url(../img/slider_right.png);
    background-position: 2px center;
}

#news_gallery_right:hover{
    background-image: url(../img/slider_right_light.png);
}

#news_gallery_left:hover{
    background-image: url(../img/slider_left_light.png);
}

#news_gallery_left{
    left: -20px;
    background-image: url(../img/slider_left.png);
    background-position: 18px center;
}

#gallery_full{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.95);
    z-index: 19;
    display: none;
    user-select: none;
}

#gallery_close_btn{
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.5);
    background-image: url(../img/close.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    position: absolute;
    top: 15px;
    right: 15px;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s all;
}

#gallery_close_btn:hover{
    
    opacity: .5;
}

#gallery_full img{
    width: 80%;
    height: auto;
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transition: 1s all;
}

.gallery_full_cn_btn{
    width: 45px;
    height: 45px;
    background-color: white;
    background-position: center;
    background-size: 25px;
    background-repeat: no-repeat;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    border-radius: 40px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    cursor: pointer;
}

.gallery_full_cn_btn:hover{
    background-color: #532a66;
}

.gallery_full_cn_btn:active{
    filter: brightness(1%);
}

#gallery_full_cn_btn_right{
    right: 15px;
    background-image: url(../img/slider_right.png);
}
#gallery_full_cn_btn_left{
    left: 15px;
    background-image: url(../img/slider_left.png);
}

#gallery_full_cn_btn_right:hover{
    background-image: url(../img/slider_right_light.png);
}

#gallery_full_cn_btn_left:hover{
    background-image: url(../img/slider_left_light.png);
}

#country_text img{
    padding: 10px;
    float: right;
}

#contact_mss_table{
    margin-top: 15px;
    text-align: center;
    color: red;
    font-size: 14px;
}

#mss_send_load{
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.7);
    background-image: url(../img/loader.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50px;
    display: none;
}

#about_img{
    float: right;
    margin: 0 0 15px 15px;
    max-width: 50%;
    height: auto;
}


#country_header{
    margin: 85px auto 0 auto;
    width: 100%;
    max-width: 1920px;
    height: 400px;
    position: relative;
    background: silver;
}

#country_header .title{
    width: calc(100% - 30px);
    max-width: 1170px;
    margin: 0 auto;
    text-align: left;
    padding: 15px;
    color: white;
}

.country_slide{
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: gray;
    position: absolute;
    top: 0;
    display: none;
}

#country_header_title{
    position: absolute;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 5;
}

#country_pages_block{
    padding-left: 5px;
    width: calc(100% - 30px);
    max-width: 1170px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.country_pages{
    margin-left: -5px;
    display: inline-block;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: calc(100% / 4);
    height: 200px;
    position: relative;
    background-color: #dfdfdf;
}

.country_pages:hover{
    opacity: .7;
}

.country_pages p{
    width: calc(100% - 10px);
    padding: 5px;
    font-family: f-bold;
    color: white;
    text-align: center;
    position: absolute;
    bottom: 0;
}










@media only screen and (max-width:960px){
    #products_block{
    height: auto;
}
    
    
    .slider_tx_block{
    color: white;
    width: calc(100% - 60px);
    height: 250px;
}



    
}



@media only screen and (max-width:760px){
    #menu_bar{
        z-index: 9;
        position: absolute;
        left: -100%;
        width: 100%;
        height: calc(100vh - 20px);
        background: white;
        padding-bottom: 15px;
        box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    }
    
    #menu_bar ul{
        display: block;
        width: 160px;
        margin: 10px auto;
        font-size: 18px;
        padding: 5px;
    }
    
    #slider_tx_1{
    font-size: 40px;
}

#slider_tx_2{
    font-size: 20px;
}

#slider_tx_3{
    font-size: 40px;
}
    
    .news_gallery_cn_btn{
        
        
/*        display: none;*/
    }
    
    #logo{
        left: 0;
        right: 0;
        margin: auto;
    } 
    
    #menu_btn{
        display: block;
    }
  
    .news_block{
        width: calc((100% - 70px) / 3);
    }
    
    .country_pages{
        width: calc(100% / 2);
    }  
    
}


@media only screen and (max-width:460px){
    .news_block{
        width: calc((100% - 45px) / 2);
    }
    
    .news_img{
        height: calc((100vw - 60px) / 3.4);
    }
    
     .country_pages{
        width: 100%;
    } 
    
}







































