body{
    font-family: 'Open Sans', sans-serif;
}

.clearfix:after{
    content: "";
    display: table;
    clear: both;
}


/*html,*/
/*body {*/
/*  height: 100%;*/
/*}*/
/*.wrapper {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  height: 100%;*/
  
/*}*/
/*.page_content {*/
/*  flex: 1 0 auto;*/
/*}*/
/*.footer {*/
/*  flex: 0 0 auto;*/
/*}*/







.top_wrapper{
    background-color:#d6d2c2; 
}
.top_wrapper div, .top-header div{
    max-width: 1600px;
    margin:auto;
}
.search{
    padding: 10px;
}
.login{
    float: right;
    padding: 10px; 
    color:white;
}
.login a{
    color:white;
}
.note{
    font-family:'Pacifico', serif;
}
form input[name="search"]{
    border-radius: 3px;
    outline: none;
    border:1px solid #d6d2c2;
    padding: 3px;
    
}
form input[name="search"]:focus{
    border:1px solid gray;
}
.top-header{
    background-color: #ff7f7f;
}
.lang{
    float: right;
    display: inline-block;
}
.lang.map a{
    padding:10px;
}
.top-header .map{
    padding:2px;
    margin: 0 5px;
    display: inline-block;
    
}
.fa-sitemap{
    color:white;
}
.top-header-wrapper{
    padding: 10px;
}
.title{
    text-align: center;
    font-family: Indie Flower, sans-serif;
    font-size: 4em;
}
.title a{
    text-decoration: none;
    color:black;
}

/*.container_page{*/
/*    display: flex;*/
/*    max-width: 1200px;*/
/*    margin:auto;*/
    
    
/*}*/
/*.content{*/
/*    flex-basis:80%;*/
/*    width:80%;*/
/*    max-width: 1500px;*/
/*}*/
/*.aside{*/
/*    flex-basis:20%;*/
/*    display: flex;*/
/*    flex-direction:column;*/
    
/*}*/

.title_social{
    padding: 10px;
    background-color: #d6d2c2;
   
}
.wrapper_social_aside{
    border:1px solid #d6d2c2;
    width: 250px;
    text-align: center;
     border-radius: 3px 3px 0 0;
     margin:10px;
}
.blocks{
    padding:5px;
}
.block{
    display: inline-block;
    width: 70px;
    height: 70px;
    /*background-color:green;*/
    margin: 2px
}
.block img{
    width: 100%;
}
.block.yellow{
    background-color: yellow;
}

nav{
    height: 50px;
}


.wrapper_slider{
    position:relative;
    margin: auto;
    width: 60%;
    margin-bottom: 20px;
    margin-top: 10px;
    
    float:right;
    max-width: 1200px;
    margin-right: 20%;
    
}

.popular{
    max-width: 800px;
    /*margin: auto;*/
    float: right;
    margin-right: 15%;
    clear: both;
}
.popular_title{
    text-align: center;
    font-size: 2em;
    padding: 10px 0 5px 0;

}


footer{
    background-color:#d6d2c2;
    padding-bottom: 30px;
    
}
.wrapper_footer{
    max-width: 1600px;
    margin:auto;
}
footer .social.top{
    float: right;
    margin-right: 20px;
}
footer ul{
    margin: 5px;
}
footer .header{
    text-transform: uppercase;
    font-weight: bold;
    color:white;
    padding:10px;
    

}
footer .header::after{
    content: "";
    display: block;
    border-bottom:3px solid #ff7f7f;
    width: 70px;
    padding:5px;
}
footer li{
    margin:0 0 10px 10px;
    background-color: #ff7f7f;
    width: 25px;
    height: 25px;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
    border-radius: 4px;
}
footer li a {
    color:white;
    
}
footer form i{
    width: 40px;
    padding-left: 30px
}

footer form input, footer form textarea{
    margin: 5px;
    padding:3px;
    height: 28px;
    border:1px solid #d6d2c2;
    outline: none;
}
footer form input:focus, footer form textarea:focus{
    border:1px solid gray;
}
footer form input{
    width: 50%;
}
footer form textarea{
    width:49.5%;
}
footer form textarea{
    height: 80px;
}

footer li:hover{
    cursor: pointer;
}
footer .facebook:hover{
    background-color: #39579a;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}
footer .twitter:hover{
    background-color: #01aced;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}
footer .vk:hover{
    background-color: #39579a;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}
footer .googleplus:hover{
    background-color: #cb1f26;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}
footer .pinterest:hover{
    background-color: #cb2027;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}
footer .instagram:hover{
    background-color: #517fa4;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}
footer .social.bottom{
    display: none;
}
button{
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.4px;
        border-radius: 20px;
        border:1px solid white;
        padding:7px 20px;
        background-color:#ff7f7f;
        color:white;
        
   }
.btn{
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.4px;
        border-radius: 20px;
        border:1px solid white;
        padding:7px 20px;
        background-color:#ff7f7f;
        color:white;
        text-decoration:none;
        border:none;
        
    }

button[type="submit"]:hover{
        background-color: #FF9F9F;
        cursor: pointer;
    }
.form_contact button{
    margin-left: 50.5%;
}  
footer .fa-pencil{
        vertical-align: top;
        padding-top: 10px;
    }


@media only screen and (max-width:1200px){
/*    .container_page{*/
/*        flex-direction:column;*/
/*    }*/
    /*.content{*/
    /*    flex:1 0 auto;*/
    /*    flex:100%;*/
    /*    width: 100%;*/
    /*}*/
    /*.aside{*/
    /*    flex:0 0 auto;*/
    /*    flex-direction:row;*/
    /*    margin: auto*/
    /*}*/
    .wrapper_slider{
        float:none;
        margin:auto;
        
    }
    .popular{
        margin: auto;
        float:none;
        max-width: 950px;
    }
}

@media only screen and (max-width:800px){
    .wrapper_slider{
        margin: auto;
        padding-top:20px;
        width: 100%;
        float: none;
    }
    .popular{
        margin: auto;
        float: none;
    }
    nav{
        height:auto;
    }
    footer .social.top{
        display: none;
        
    }
    footer .social.bottom{
        display: block;
        margin: auto;
        width: 300px;
    }
    /*footer .wrapper_input{*/
    /*    display: inline;*/
    /*    width: 100%;*/
    /*}*/
    footer form input {
        width: 80%;
    }
    footer form textarea{
        width: 79.5%;
    }
    .form_contact button{
        margin-left: 80%;
    }
}
@media only screen and (width:800px){
    nav{
        height: 50px;
    }
}
@media only screen and (max-width:600px){
    .wrapper_slider{
    
    padding-top:20px;
    width: 100%;
    }
    .popular_wrapper .group{
        width: 100%;
        display: block;
        
    }
    .popular_wrapper .image{
        width: 49%
    }

}
/*@media only screen and (max-width:580px){*/
/*    .aside{*/
/*        flex-direction:column;*/
/*    }*/
/*}*/
@media only screen and (max-width:460px){
    footer form textarea{
        width:79%;
    }
}
@media only screen and (max-width:450px){
    .title{
        font-size: 3em;
    }
    form input[name='search']{
        width: 70%;    
    }
    footer form textarea{
        width:80%;
    }
    footer form i{
        width:15px;
    padding-left: 5px;
    }
    .form_contact button{
        margin-left: 20px;
    }
    footer .social.bottom{
        width: auto;
    }
    .login{
        float:none;
        padding:10px 0 5px 10px;
    }

}

@media only screen and (max-width:300px){
    .aside{
        display: none;
    }
}
@media only screen and (max-width:250px){
    .title{
        font-size: 2em;
    }

    footer form textarea{
        width: 77%;
    }
}


