@import url("reset.css");
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=cyrillic,cyrillic-ext,latin-ext');

body {
    background: #fcfcfc;
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: #666666;
}

h1, h2, h3, h4, h5 {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 0.5em;
    text-align: left;
}

h1 {font-size: 1.8em;}

#newsletter, .login {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

    #logo { 
        width: 100px;
        margin: 0 auto;
        margin-bottom: 40px;
    }

    ul {
        text-align: left;
    }

        ul li {
            padding-left: 45px;
            margin-bottom: 15px;
            position: relative;
            line-height: 32px;
        }

        ul li::before{
            content: " ";
            display: block;
            width: 30px;
            height: 30px;
            background: url("../images/list-style.svg") no-repeat center;
            position: absolute;
            left: 0;
            top: 0;
        }
        ul.error, ul.success { margin-top: 40px; }
        ul.error li:before {
            background: url("../images/list-style-error.svg") no-repeat center;
        }

    form {
        margin: 40px 0;
    }

    input {
        width: 100%;
        padding: 0;
        margin: 0;
        background: none;
        border: none;

        font-size: 0.8em;
        color: #666666;
        
        background: #f5f5f5;
        height: 60px;
        padding: 0 20px;
        margin-bottom: 15px;
        -webkit-border-radius: 7px;
        -moz-border-radius: 7px;
        border-radius: 7px;

        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        
        border: none;
        overflow: auto;
        outline: none;

        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        
        /*
        -webkit-box-shadow: 0px 8px 10px -10px rgba(0,0,0,0.5);
        -moz-box-shadow: 0px 8px 10px -10px rgba(0,0,0,0.5);
        box-shadow: 0px 8px 10px -10px rgba(0,0,0,0.5);
        */
        
        border: 1px solid transparent;
        
    }
        input:focus {
            border: 1px solid #afcc36;
        }
    input[type="submit"] {
        background: #afcc36;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        color: #FFF;
        border: none;
        overflow: auto;
        outline: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

#social {
    text-align: center;
    vertical-align: top;
}
    #social div{
        width: 49%;
        display: inline-block;
        font-size: 12px;
        font-weight: 400;
        vertical-align: top;
    }  
        #social div .block{
            width: 49%;
            display: inline-block;
            font-size: 12px;
            font-weight: 400;
            vertical-align: top;
        }  
    #social div img{
        display: inline-block;
        margin-bottom: 10px;
        -webkit-transition:all 0.2s cubic-bezier(0.77,0.2,0.05,1.0);
        -moz-transition:all 0.2s cubic-bezier(0.77,0.2,0.05,1.0);
        -o-transition:all 0.2s cubic-bezier(0.77,0.2,0.05,1.0);
        transition:all 0.2s cubic-bezier(0.77,0.2,0.05,1.0);
    }
        #social .block:hover img{
            -webkit-transform:rotate(45deg);
            -moz-transform:rotate(45deg); 
            -o-transform:rotate(45deg);
        }
    #social .block span {
        display: block;
        width: 100%;
    }
    #social .block b{
        display: block;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 5px;
    }
    #social div a {
        text-decoration: none;
        color: #666666;
    }


    table {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        font-size: 16px;
    }
    table tr:first-child {
        border-bottom: 5px solid #707070;
    }
    table tr {
        border-bottom: 1px solid #b6b6b6;
    }
    table tr:hover {
        background: #f5f5f5;
    }
    table tr:first-child:hover {
        background: none;
    }

    table tr:first-child td {
        font-weight: bold;
        padding:20px;
    }
    table tr td {
        padding:20px;
    }


.g-recaptcha {
    display: block;
    width: 100%;
    float: left;
    margin-bottom: 12px;
}
.g-recaptcha div {
    display: inline-block;
    margin: 0 auto;
}
@media all and (max-width: 520px) {
    #social {
        overflow: hidden;
    }
    #social div {
        width: 50%;
        float: left;
        overflow: hidden;
    
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        
    }
    #social div:nth-child(1) .block:nth-child(1) {
        order: 1;
    }
    #social div:nth-child(1) .block:nth-child(2) {
        order: 0;
    }
    #social .block {
        display: block !important;
        width: 100% !importnat;
        float: left;
        margin-bottom: 20px;
    }
}
@media all and (max-width: 400px) {
    body {
        font-size: 18px;
    }
}
