body{
   font-family:  sans-serif;
   color: #222222;
}
body a{
    color: #222222;
    text-decoration: none;
}
a:hover{
    color: #4CAF50;
}
h1{
    font-size: 1.4em;
    text-transform: uppercase;
    text-align: center;
}
h2{
    font-size: 1.2em;
}
.wrapper{
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
}
.logo{
    margin-top: 10px;
    max-width: 200px;
    text-align: center;
    padding: 5px 10px;
    box-shadow: 0 0 1px rgba(0,0,0,0.5);
    height: 20px;
}
.logo a{
    font-weight: bold;
    color: #494948;
    text-decoration: none;
}
header{
    display: flex;
    flex-flow: nowrap;
    justify-content: space-between;
}
.fin-link{
    color: #4caf50;
}
.fin-link:hover{
    text-decoration: underline;
}
#lang_list{
    font-size: 1.1em;
    border: 1px solid #4caf50;
}
#convertBtn{
    margin-left: 10px;
    height: 23px;
}
#userInput{
    padding: 5px;
}
#userInput{
    padding: 5px;
    width: 198px;
}
#letter_case{
    margin-top: 10px;
}
.main-menu,.social-list{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    list-style-type: none;
}
.main-menu li,.social-list li{
    margin: 0 10px;

}
.country-title{
    color: #4CAF50;
    
}
.flex {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    max-width: 1020px;
    width: 100%;
    margin: 0 auto;
}
.container{
    position: relative;
}
footer{
    position: relative;
    bottom: 0;
    width: 100%;
    /*min-height: 200px;*/
}
.wrap-form{
    max-width: 320px;
    min-width: 297px;
    min-height: 231px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #222222;
    border-radius: 3px;
}
.main-desc{
    max-width: 1020px;
    width: 100%;
    margin: 0 auto;
}
.main-desc h2{
    text-align: center;
}
.calc-form{

}
.calc-btn-wrap{
    text-align: right;
    padding-top: 10px;
}
#number{
    font-size: 1.1em;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}
.calc-btn{
    font-size: 0.9em;
    padding: 2px 7px;
    outline: none;
    border-width: 2px 0;
    border-style: solid none;
    border-color: #4CAF50 #000 #6a8e69;
    border-radius: 6px;
    background: linear-gradient(#4CAF50, #567335) #1f6d1e;
    color: #ffffff;
}
.calc-btn:hover{
    cursor: pointer;
    border-color: #1f6d1e #000 #6a8e69;
    border-radius: 6px;
    background: linear-gradient(#1f6d1e, #567335) #4CAF51;
    color: #ffffff;
}
.clear-btn{
    font-size: 0.9em;
    padding: 2px 7px;
    outline: none;
    border-width: 2px 0;
    border-style: solid none;
    border-color: #dcdcdc #000 #5d5d5d;
    border-radius: 6px;
    background: linear-gradient(#e2e2e2, #464645) #f32c2c;
    color: #ffffff;
}
.clear-btn:hover{
    border-color: #b7b7b7 #000 #5d5d5d;
    background: linear-gradient(#c1c0c0, #6b6b6b) #f32c2c;
}
#letter_case{
    font-size: 1.1em;
    float: left;
}
.container-answer{
    margin: 10px 0;
    box-sizing: border-box;
    font-size: 14pt;
}
.copy-btn{
    float: right;
}
.description-page{
    padding: 10px;
    /*max-width: 500px;*/
    max-width: 320px;
    min-width: 297px;
    min-height: 231px;
    width: 100%;
    padding: 10px;
}
.list-pages{
    list-style-type: none;
}
.title-list-page{
    /*text-align: center;*/
}
.more-lang-btn{
    color: #4CAF50;
}
.more-lang-btn:hover{
    color: #1f6d1e;
}
.icon{
    width: 30px;
    height: 20px;
    background: url(../images/flags_preview.png)no-repeat;
    display: inline-block;
}
.en{
    background-position-x: -278px;
    background-position-y: -165px;
}
/*испанский*/
.es{
    background-position-y: -165px;
    background-position-x: 2px;
}
/*турецкий*/
.tr{
    background-position-y: -529px;
    background-position-x: -110px;
}
/*беларусь*/
.by{
    background-position-y: -82px;
    background-position-x: 2px;
}
/*норвегия*/
.no{
    background-position-y: -54px;
    background-position-x: -250px;
}
.ru{
    background-position-y: -445px;
    background-position-x: -138px;
}
.uk{
    background-position-y: -529px;
    background-position-x: -250px;
}
.kk{
    background-position-y: -278px;
    background-position-x: -250px;
}
.de{
    background-position: -278px -110px;
}
.pl{
    background-position: -166px -418px;
}
.fr{
    background-position-y: -165px;
    background-position-x: -222px;
}
.it{
    background-position-y: -250px;
    background-position-x: -166px;
}
.fil{
    background-position-y: -418px;
    background-position-x: -110px;
}
.list-number{
    list-style-type: decimal;
}
.footer-list{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    list-style-type: none;
}
.footer-list li{
    padding: 0 10px;
}
.add-bookmark{
    margin-top: 12px;
    display: inline-block;
}
@media screen and (min-width:180px) and (max-width:538px){
    header {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    }
    .main-menu, .social-list{
        padding: 0;
    }
    .list-pages{
        padding: 0;
    }
    .description-page{
        order: 2;
    }
    .page-map{
        order: 3;
    }
    .add-bookmark{
        display: none;
    }
}
