html, body, main{
    height: 100%;
}
body{
    font-family: 'Roboto', sans-serif;
    background: url('../img/bg.jpg') no-repeat;
    background-size: cover;
    color: #677076;
    font-size: 16px;
    min-width: 320px;
}
h1{
    margin: 0;
    color: #677076;
    font-size: 32px;
    display: inline-block;
}
main{
    text-align: center;
}
main:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.border-block{
    background: rgba(0,0,0,.3);
    max-width: 850px;
    margin: auto;
    border-radius: 10px;
    padding: 10px;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    text-align: left;
}
.content-block {
    background: #fff;
    border-radius: 5px;
    padding: 20px 30px;
}
.to_right{
    float: right;
}
.progress_bar{
    background: #e2e4e7;
    min-height: 35px;
    margin: 30px 0;
    border-radius: 20px;
}
.progress_bar .progress{
    background: url("../img/bar.png");
    font-style: normal;
    border-radius: 20px;
    width: 0;
    display: block;
    height: 35px;
    line-height: 35px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.45);
}
.start{
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}
.progress_bar.percent-20 .progress{
    width: 0;
}
.progress_bar.percent-20 .progress.start-progress{
    width: 20%;
}
.progress_bar.percent-20 .p100{
    display: none;
}
.progress_bar .p20{
    display: none;
}
.progress_bar.percent-20 .p20{
    display: inline-block;
}
a.link {
    font-size: 16px;
    color: #008dfd;
    text-decoration: underline;
}
a.link:hover {
    color: #23527c;
}
p.tool_text {
    margin: 25px 0 ;
    padding: 20px;
    border-radius: 5px;
}
.tool_text {
    position: relative;
    background: #d3f2e7;
    border: 1px solid #04cb82;
}
.tool_text:after, .tool_text:before {
    top: 100%;
    right: 90px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;

}

.tool_text:after {
    border-color: rgba(211, 242, 231, 0);
    border-top-color: #d3f2e7;
    border-width: 10px;
    margin-left: -10px;
    right: 91px;
}
.tool_text:before {
    border-color: rgba(4, 203, 130, 0);
    border-top-color: #04cb82;
    border-width: 11px;
    margin-left: -11px;
}
.tool_text a.link{
    float: right;
}
a.button {
    font-size: 22px;
    color: #fff;
    background: #04cb82;
    padding: 14px 35px;
    display: inline-block;
    border-radius: 7px;
    -webkit-transition: all .6s;
    -moz-transition: all .6s;
    -ms-transition: all .6s;
    -o-transition: all .6s;
    transition: all .6s;
}
a.button.default{
    color: #c0c1c3;
    background: #f0f0f1;
    text-decoration: none;
}
a.button:hover{
    text-decoration: none;
    background: #05f79e;
}
a.button.default:hover{
    background: #c0c1c3;
    color: #fff;
}
p.bottom_text {
    max-width: 275px;
    font-size: 14px;
    text-align: right;
    margin: 10px 0 0;
}
p.bottom_text a{
    font-size: 14px;
}

@media (max-width: 855px) {
    main:before{
        content: none;
    }
}
@media (max-width: 375px) {
    a.button{
        display: block;
        float: none;
        margin: 5px 0;
        text-align: center;
    }
    p.bottom_text{
        max-width: none;
    }
    h1{
        font-size: 22px;
    }
    .tool_text a.link {
        float: none;
        display: block;
    }
}