/*#region Generic*/
* {
    box-sizing: border-box;
    user-select: none;
}

body {
    min-width: 320px;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #404042;
    line-height: 24px;
    padding-top: 55px;
    background: #fff;
}
@media (max-width: 767px) {
    body {
        font-size: 14px;
        line-height: 20px;
    }
}
@media (max-width: 991px) {
    body {
        padding-top: 40px;
    }
}

a {
    text-decoration: none;
}

h1 {
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}
h2 {
    font-size: 26px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}

canvas {
    display: inline-block;
}


button {
    display: inline-block;
    font-size: 16px;
    text-transform: none;
    text-decoration: none;
    color: #dd1212;
    line-height: 24px;
    padding: 4px 12px;
    margin: 0;
    border: 1px solid #dd1212;
    border-radius: 2px;
    background-color: transparent;
    overflow: visible;
    transition: background-color .2s, border-color .2s, color .2s;
}
button:hover {
    cursor: pointer;
}
@media (min-width: 992px) {
    button:hover {
        color: #fff;
        border-color: #dd1212;
        background-color: #dd1212;
    }
}
button:active {
    color: #fff;
    border: none;
    padding: 5px 13px;
    background-color: #dd1212;
    box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, .4);
}

.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}
.container:after, .container:before {
    display: table;
    content: "";
}
@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 970px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.h-tac {
    text-align: center;
}

/*#endregion Generic*/

/*#region Header*/
.header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d8d8d8;
    background-color: #fff;
    z-index: 100;
}
/*#endregion Header*/

/*#region Logo*/
.logo {
    display: inline-block;
    width: auto;
    height: 60px;
    margin: 4px auto 4px 0;
}
@media (max-width: 991px) {
    .logo {
        height: 45px;
    }
}

.logo > .img {
    width: auto;
    height: 60px;
    margin: 0;
    vertical-align: top;
}
@media (max-width: 991px) {
    .logo > .img {
        height: 45px;
    }
}
/*#endregion Logo*/

/*#region Phone*/
.phone {
    position: relative;
    width: auto;
    height: auto;
    font-weight: bold;
    text-align: left;
    color: #ff0a18;
    line-height: 16px;
    padding-left: 24px;
    margin-left: 0;
}
.phone:before {
    position: absolute;
    content: '';
    width: 15px;
    height: 15px;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='15px' height='15px' viewBox='0 0 15 15' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: Sketch 51.3 (57544) - http://www.bohemiancoding.com/sketch --%3E%3Ctitle%3EShape%3C/title%3E%3Cdesc%3ECreated with Sketch.%3C/desc%3E%3Cdefs/%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='header-sprite' fill='red' fill-rule='nonzero'%3E%3Cpath d='M11.7663,9.19637 C11.6051,9.15465 11.4393,9.1973 11.3147,9.30371 C10.5858,9.92668 9.57904,10.5904 9.14478,10.6589 C6.23239,9.23433 4.60591,6.5001 4.54454,5.98165 C4.50894,5.69009 5.17649,4.66633 5.94429,3.83383 C6.04126,3.72836 6.09045,3.58492 6.07686,3.44195 C5.88151,1.19475 3.53876,0.0922381 3.43992,0.0472378 C3.3467,0.00317495 3.2427,-0.00995014 3.14245,0.00739373 C0.437584,0.456459 0.0304953,2.03147 0.0145678,2.0971 C-0.0079181,2.18897 -0.00417045,2.28413 0.0244054,2.37319 C3.25066,12.3886 9.95521,14.2453 12.1588,14.8556 C12.3289,14.903 12.4685,14.9405 12.5748,14.9756 C12.6263,14.993 12.6793,15 12.7327,15 C12.8048,15 12.8774,14.9845 12.944,14.9541 C13.0114,14.9231 14.6042,14.1727 14.9935,11.7239 C15.0108,11.6175 14.9935,11.5069 14.9443,11.4108 C14.9096,11.3433 14.0767,9.75699 11.7663,9.19637 Z' id='Shape'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
}
@media (max-width: 991px) {
    .phone {
        width: 15px;
        height: 15px;
        font-size: 0;
        padding: 0;
        overflow: hidden;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .phone {
        font-size: 16px;
    }
}
/*#endregion Phone*/

/*#region Other*/
.test-result {
    font-weight: 600;
}
.test-result > span {
    color: #dd1212;
}
.test-result > span:empty:before {
    content: "0.00";
}

#startStopBtn:before {
    content: "Начать";
}
#startStopBtn.running:before {
    content: "Прервать";
}
#testResults {
    display: none;
}
/*#endregion Other*/