html {
    height: 100%;
    font-family: 'museo_sans_cyrl100', sans-serif;
    font-size: 30px;
    line-height: 1.2;
    color: #000000;
    background: #fff;
    outline: none;
}

body {
    height: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #000000;
    text-decoration: none;
}

.wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -moz-box-sizing: border-box; /*Firefox 1-3*/
    -webkit-box-sizing: border-box; /* Safari */
    box-sizing: border-box;

    white-space: nowrap;

}

.name {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    font-family:  'museo_sans_cyrl900', sans-serif;
    font-size: 50px;
    font-size: 3.51vw;
    margin: 2.1% auto 0;
    color: #000;
    z-index: 2;
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
}

.wrapper:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
}


.content-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.content-wrapper:after {
    content: '';
    height: 100%;
    vertical-align: middle;
    display: inline-block;*display: inline;*zoom: 1;
}

.content-inner {
    width: 100%;
    vertical-align: middle;
    display: inline-block;*display: inline;*zoom: 1;
}


.mail {
    font-size: 24px;
    font-size: 1.75vw;
    text-align: center;
    font-family: 'museo_sans_cyrl500';
}

.mail a {
    color: #000000;
    text-decoration: none;
    padding: 0 0 0 40px;
    position: relative;
    display: inline-block;*display: inline;*zoom: 1;
    -webkit-transition: opacity 0.35s ease;
            transition: opacity 0.35s ease;
}

.mail a:hover {
    opacity: 0.5;
    filter: alpha(opacity=50%);
}
.mail a:before,
.mail a:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 25px;
    height: 22px;
    margin-top: -7px;
    background: no-repeat 50% 0;
    background-size: 100% auto;
    -webkit-transition: opacity 0.35s ease;
            transition: opacity 0.35s ease;
}

.mail a span {
    border-bottom: 1px solid;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    position: relative;
}

.mail a:hover span:after {
    width: 100%;
}

.mail a:after {
    opacity: 0;
    filter: alpha(opacity=0);
}

.mail a:hover:before {
    opacity: 0;
    filter: alpha(opacity=0);
}

.mail a:hover:after {
    opacity: 1;
    filter: alpha(opacity=100%);
}


.mail a:before {
    background-image: url(../images/icons/mail.svg);
}
.mail a:after {
    background-image: url(../images/icons/mail-a.svg);
}


.phone {
    margin-top: 15px;
    font-size: 24px;
    font-size: 1.75vw;
    text-align: center;
    font-family: 'museo_sans_cyrl500';
}

.phone a {
    color: #000000;
    text-decoration: none;
}

.phone span {
    padding: 0 0 0 40px;
    text-align: center;
    position: relative;
    display: inline-block;*display: inline;*zoom: 1;
}
.phone span:before,
.phone span:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 25px;
    height: 26px;
    margin-top: -11px;
    background: no-repeat 100% 0;
    background-size: 21px auto;
    -webkit-transition: opacity 0.35s ease;
            transition: opacity 0.35s ease;
}

.phone span:before {
    background-image: url(../images/icons/phone.svg);
}


.bi {
    font-size: 0;
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.bi a {
    width: 180px;
    height: 35px;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    position: relative;
}

.bi a:before,
.bi a:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: no-repeat 50% 0;
    background-size: 180px 30px;
    -webkit-transition: opacity 0.35s ease;
            transition: opacity 0.35s ease;
}

.bi a:after {
    opacity: 0;
    filter: alpha(opacity=0);
}

.bi a:hover:before {
    opacity: 0;
    filter: alpha(opacity=0);
}

.bi a:hover:after {
    opacity: 1;
    filter: alpha(opacity=100%);
}


.bi a:before {
    background-image: url(../images/icons/ib.svg);
}
.bi a:after {
    background-image: url(../images/icons/ib-a.png);
}


.middle-block {
    left: 0;
    width: 100%;
    position: absolute;
    bottom: 15%;
    text-align: center;
}
.middle-block-inner {
    text-align: center;
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.quote-block {
    margin: 0 auto 4.5%;
    text-align: center;
    white-space: nowrap;
    font-size: 0;
}

.quote-author {
    width: 410px;
    height: 410px;
    background: url(../images/icons/author-photo.png) no-repeat 50% 50%;
    font-size: 0;
    white-space: nowrap;
    vertical-align: middle;
    display: inline-block;*display: inline;*zoom: 1;
    text-align: center;
    position: relative;
}

.quote-author:before {
    content: '';
    background: url(../images/loading.gif) 50% 50%;
    background-size: 100% auto;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s ease;
            transition: opacity 0.35s ease;
    transform: translateZ(0);
}

.loading-animate .quote-author:before {
    opacity: 1;
    filter: alpha(opacity=100%);
    animation: rotate_anim 1s linear infinite;
}

@keyframes rotate_anim {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.quote-author:after {
    content: '';
    height: 100%;
    vertical-align: middle;
    display: inline-block;*display: inline;*zoom: 1;
}

.quote-author img {
    position: relative;
    z-index: 5;
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;*display: inline;*zoom: 1;
}

.quote-content {
    margin: 0 0 0 -68px;
    width: 638px;
    position: relative;
    vertical-align: middle;
    display: inline-block;*display: inline;*zoom: 1;
}

.quote-content:before {
    content: '';
    top: 0;
    left: 85px;
    right: 70px;
    position: absolute;
    border-top: 1px solid #a7a7a7;
}

.quote-content:after {
    content: '';
    position: absolute;
    top: -13px;
    left: -4px;
    background: url(../images/icons/quote.png) no-repeat;
    width: 47px;
    height: 35px;
}

.quote-content-border {
    position: absolute;
    top: 54px;
    left: 89px;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.quote-content-border:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-right: 1px solid #a7a7a7;
    border-bottom: 1px solid #a7a7a7;
    -webkit-border-radius: 0 0 71px 0;
       -moz-border-radius: 0 0 71px 0;
             border-radius: 0 0 71px 0;
}


.quote-content-border- {
    position: absolute;
    top: 64px;
    left: 0;
    width: 90px;
    bottom: 0;
    pointer-events: none;
}


.quote-content-border-:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-left: 1px solid #a7a7a7;
    border-bottom: 1px solid #a7a7a7;
    -webkit-border-radius: 0 0 0 71px;
       -moz-border-radius: 0 0 0 71px;
             border-radius: 0 0 0 71px;
}

.quote-content-text {
    padding: 30px 48px 12px 48px;
}

.quote-text {
    font-size: 20px;
    color: #000;
    white-space: normal;
    text-align: left;
    font-family: 'museo_sans_cyrl100', sans-serif;
    -webkit-transition: opacity 0.35s ease;
            transition: opacity 0.35s ease;
    transform: translateZ(0);
}

.quote-author-name {
    font-size: 18px;
    color: #000;
    white-space: normal;
    text-align: right;
    font-family: 'museo_sans_cyrl700', sans-serif;
    -webkit-transition: opacity 0.35s ease;
            transition: opacity 0.35s ease;
    transform: translateZ(0);
}

.refresh-quote-lnk {
    position: absolute;
    width: 89px;
    height: 71px;
    top: -22px;
    right: -24px;
    background: url(../images/icons/reload.png) no-repeat;
    background-size: 100% auto;
    -webkit-transition: opacity 0.35s ease;
            transition: opacity 0.35s ease;
    transform: translateZ(0);
}

.refresh-quote-lnk:hover {
    opacity: 0.5;
    filter: alpha(opacity=50%);
    transform: rotate(180deg);
}

.locked .refresh-quote-lnk {
    cursor: default;
}

.loading-animate .refresh-quote-lnk {
    animation: rotate_anim 1s linear infinite;
}


.loading-photo {
    z-index: 20;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.35s ease;
            transition: opacity 0.35s ease;
    transform: translateZ(0);
}

.loading-photo:after {
    content: '';
    height: 100%;
    vertical-align: middle;
    display: inline-block;*display: inline;*zoom: 1;
}

.new-photo {
    opacity: 0;
    filter: alpha(opacity=0);
}

.loading-content .base-photo {
    opacity: 0;
    filter: alpha(opacity=0%);
}

.loading-content .new-photo {
    opacity: 1;
    filter: alpha(opacity=100%);
}

.loading-content- .quote-text,
.loading-content- .quote-author-name {
    opacity: 0;
}