/**
 * Классы стилей для волны, панели редактирования
 */
.inner-wave-container {
    background: #EFF6F7;
    position: relative;
    z-index: 1;
}

.wave-container {
    margin: 0;
    padding: 0;
    color: black;
    line-height: 22px;
    min-width: 200px;
    position: relative;
}

.wave-content {
    min-height: 224px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-top: 50px;
    margin-top: -50px;
    position: relative;
}

.wave-content.no-editing {
    background-color: #F0F0F0;
}

.wave-export-content {
    position: absolute;
    width: 100%;
}

.wave-header,
.collection-container .resizer {
    background: #B5BEC5;
}

.collection-container .resizer {
    position: absolute;
    z-index: 4;  /* чтобы контейнер шаринга не перекрывался типсами */
}

.wave-header {
    padding-top: 8px;
    z-index: 4;
    height: 50px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.gdrive-view .wave-header {
    padding-left: 10px;
}

.add-participant-block {
    float: left;
    margin: 0 0 0 10px;
    position: relative;
}

.add-participant-block .add-form,
.share-section .wave-share-popup,
.popup-menu-container,
.ctm,
.ctm .tooltip,
.chrome-app-popup,
.tips-video-popup,
.crowd-popup {
    display: none;
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    -moz-border-radius: 6px;
    border-radius: 6px;
    padding: 4px;
    top: 31px;
    left: -9px;
    width: 335px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.linkedin-popup-container {
    position: absolute;
    z-index: 3;
    top: 15%;
    width: 100%;
}
.linkedin-popup {
    width: 450px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border: 4px solid white;
    background: #E5EAF0;
    line-height: 23px;
    position: relative;
}
.linkedin-popup .content {
    position: relative;
    margin: 20px 30px 30px 30px;
}
.linkedin-popup ul {
    margin: 0;
    padding-left: 20px;
}
.linkedin-popup .title {
    font-size: 22px;
}
.linkedin-popup .good-news,
.linkedin-popup .title {
    margin-bottom: 20px;
}
.linkedin-popup .bonus-color {
    color: #088386;
}
.linkedin-popup .linkedin-share-button {
    position: absolute;
    right: 0;
    bottom: 0;
}
.manage-participants-form {
    width: 364px;
    text-align: left;
}

.account-popup .internal-container > div {
    white-space: nowrap;
}

.account-popup .avatar-container {
    display: inline-block;
    width: 66px;
    min-height: 100px;
    vertical-align: top;
}

.account-popup .avatar {
    height: 65px;
    width: 65px;
    background-size: auto 65px;
    display: inline-block;
    position: relative;
}

.account-popup .avatar-delimiter {
    display: inline-block;
    vertical-align: top;
    margin-left: 7px;
    width: 2px;
    height: 66px;
    background: url(../img/user-form-delimiter.png);
}

.account-popup .info {
    display: inline-block;
    color: black;
    font-size: 13px;
    min-width: 170px;
    margin-left: 10px;
    line-height: 18px;
}

.account-popup .info .name {
    position: relative;
}

.account-popup .info .name span {
    font-weight: bold;
}

.account-popup .info .email {
    position: relative;
}

.account-popup .info .button {
    font-size: 13px;
    line-height: 22px;
}

.account-popup .signed-via {
    height: 16px;
    width: 16px;
    display: inline-block;
    vertical-align: bottom;
    background: no-repeat url(../img/auth-sprite.png);
}

.account-popup .signed-via.password {
    background-position: 0 0;
}

.account-popup .signed-via.google {
    background-position: 0 -17px;
}

.account-popup .signed-via.facebook {
    background-position: 0 -34px;
}

.account-popup .buttons-panel {
    margin-top: 10px;
}

.account-popup .buttons-panel a,
.account-popup .buttons-panel button {
    display: inline-block;
    text-decoration: none;
    padding: 3px 10px 3px 10px;
    height: 30px;
    margin-right: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.account-popup .signed-via-container {
    margin-top: 9px;
}

.account-popup .signed-via-text {
    margin-left: 6px;
}

.account-popup .skype-id-container {
    margin-top: 5px;
}

.account-popup .skype-id-input:not(:focus) {
    background: rgb(222,222,222);
}

.account-popup .skype-id-input {
    height: 23px;
    padding-left: 5px;
}

.account-popup .skype-status-help.hidden {
    display: none;
}

.account-popup .skype-status-help {
    display: block;
    font-size: 10px;
    margin-top: -1px;
    height: 16px;
}

.account-popup .show-variants {
    width: 16px;
    height: 16px;
    cursor: pointer;
    border: 0;
    border-radius: 0;
    background: center center no-repeat url(../img/show-profile-variants.png);
    vertical-align: middle;
}

.account-popup .avatar .show-variants {
    background-color: white;
    position: absolute;
    right: 0;
    bottom: 0;
    
}

.account-popup .variants {
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.account-popup .variants.visible {
    display: inline-block;
}

.account-popup .name-variants, .account-popup .email-variants {
    position: absolute;
    left: 0;
    top: 18px;
    z-index: 1;
    background: #E5EAF0;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    padding: 3px;
}

.account-popup .name-variant, .account-popup .email-variant {
    padding: 5px 8px;
    cursor: pointer;
    overflow: hidden;
    max-width: 200px;
    white-space: nowrap;
}

.account-popup .name-variant:hover, .account-popup .email-variant:hover {
    background: #DFE7F0;
}

.account-popup .avatar-variant {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: center center no-repeat;
    background-size: cover;
    margin: 1px;
    cursor: pointer;
}

.add-participant-block .add-form {
    top: 35px;
    left: 11px;
}

.add-form .contacts-sync-button-container {
    margin: 8px -8px -8px;
    position: relative;
    padding: 14px 14px 14px 22px;
    border-top: 1px solid #D1D8E0;
    text-align: center;
}

.add-form .contacts-sync-button-container button {
    width: 265px;
}

.add-form .contacts-sync-button-container button:not(:last-child) {
    margin-bottom: 15px;
}

.add-form .contacts-sync-button-container:not(.first-sync)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid white;
}

.add-form .input-email-title {
    margin-left: 3px;
}

.add-form .input-email-container {
    margin-top: 7px;
    white-space: nowrap;
}

.popup-menu-container {
    width: auto;
    display: block;
    z-index: 6;
    top: 0;
    left: -500px;
}

.account-menu-popup, .help-menu-popup {
    z-index: 2;
}

.share-section .wave-share-popup {
    width: 430px;
    left: -115px;
}

.gdrive-menu-container {
    left: 0;
    top: 32px;
    width: 190px;
}

.gdrive-view .add-participant-block {
    margin-left: 0;
}

.gdrive-view .add-participant-block .add-form {
    left: 0;
}

.anonymous.manage-participants-form .control-container,
.anonymous.manage-participants-form .selected-count,
.anonymous.manage-participants-form input[type="checkbox"] {
    display: none;
}

.manage-participants-form .control-container {
    margin-top: 21px;
    margin-bottom: 6px;
    padding-left: 23px;
    white-space: nowrap;
}

.manage-participants-form .control-container button {
    margin-left: 10px;
}

.add-participant-block .add-form  .internal-container,
.manage-participants-form .internal-container,
.share-section .internal-container,
.popup-menu-container .internal-container,
.widget-window .widget-window-body,
.account-popup .internal-container,
.ctm .internal-container,
.ctm .tooltip .internal-container,
.chrome-app-popup .internal-container,
.tips-video-popup .internal-container {
    position: relative;
    border: 9px solid #E5EAF0;
    background: #E5EAF0;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.insert-gadget-container .popup-menu-container .internal-container {
    border-top: none;
    border-left: none;
}

.manage-participants-form .autocomplete-results {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.manage-participants-form .selected-count {
    margin: 12px 10px 12px 0;
    font-weight: bold;
}

.manage-participants-form .select-all-checkboxes {
    margin: -3px 9px 0 0;
    vertical-align: middle;
}

.manage-participants-form .results-list {
    margin: 0;
    padding: 0;
}

.manage-participants-form .results-list li,
.manage-participants-form .results-list li .participant-role {
    padding: 5px 0;
}

.manage-participants-form .results-list li {
    list-style-type: none;
    font-size: 12px;
    line-height: 17px;
    position: relative;
    cursor: pointer;
}

.manage-participants-form .selected-count,
.manage-participants-form .results-list li {
    padding-left: 10px;
}

.manage-participants-form .results-list li:hover {
    background: #5CAAF7;
}

.manage-participants-form .results-list li .name,
.manage-participants-form .results-list li .email {
    display: block;
    max-width: 200px;
    overflow: hidden;
}

.manage-participants-form .results-list li .participant-role {
    position: absolute;
    right: 0;
    top: 0;
    padding-right: 10px;
}

.manage-participants-form .results-list li:hover .participant-role {
    color: white;
}

.manage-participants-form .results-list li input,
.manage-participants-form .avatar,
.manage-participants-form .results-list li .info {
    display: inline-block;
    vertical-align: top;
}

.manage-participants-form .results-list li input {
    margin-right: 10px;
}

.manage-participants-form .avatar {
    width: 25px;
    height: 25px;
    cursor: pointer;
    border: 1px solid #707478;
    margin-right: 10px;
    font-size: 13px;
    line-height: 24px;
}

.add-form .internal-container .input-email,
.manage-participants-form .showing-participants-id,
.share-section .wave-url,
.widget-window-body .outer-input,
.text-input,
.account-merge-form-container .secondary-email-input,
.link-name div,
.skype-id-input {
    border: 0;
    height: 29px;
    padding-left: 10px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #343434;
}

.add-form .internal-container .input-email {
    color: #8F8F02;
    width: 266px;
    height: 31px;
}

.copy-link-button {
    position: absolute;
    right: -3px;
    top: 26px;
    border-radius: 0 2px 2px 0;
}

.widget-window-body .outer-input + .inner-button {
    right: 1px;
    top: 1px;
    position: absolute;
    border-radius: 0 2px 2px 0;
}

.add-form .add-button-select,
.selectBox-dropdown-menu.add-button-select-selectBox-dropdown-menu li a,
.copy-link-button,
.widget-window-body .outer-input + .inner-button {
    color: #4f5051;
    text-shadow: white 1px 1px 1px;
    font-weight: normal;
    text-align: left;
}

.add-form .add-button-select {
    color: #1866C0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    max-width: 85px;
    height: 20px;
    margin-top: -1px;
}

.add-form .selectBox-dropdown .selectBox-label {
    padding: 0 0 0 3px;
    border-bottom: 1px dashed #1866C0;
    margin: 0 0 0 3px;
    height: 20px;
}

.selectBox-dropdown-menu.add-button-select-selectBox-dropdown-menu li a {
    padding: 5px 10px;
}

.copy-link-button,
.widget-window-body .outer-input + .inner-button {
    border: 0;
    padding: 0 10px;
    height: 27px;
    background: rgb(229,235,240); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(229,235,240,1) 0%, rgba(208,214,219,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(229,235,240,1)), color-stop(100%,rgba(208,214,219,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(229,235,240,1) 0%,rgba(208,214,219,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(229,235,240,1) 0%,rgba(208,214,219,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(229,235,240,1) 0%,rgba(208,214,219,1) 100%); /* IE10+ */
    background: linear-gradient(top, rgba(229,235,240,1) 0%,rgba(208,214,219,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5ebf0', endColorstr='#d0d6db',GradientType=0 ); /* IE6-9 */
}

.copy-link-button,
.widget-window-body .outer-input + .inner-button {
    border-radius: 0 2px 2px 0;
}

.add-form .selectBox.selectBox-disabled,
.add-form .selectBox.selectBox-disabled .selectBox-label {
    background: none;
}

.add-form .contacts-refreshed {
    display: inline-block;
    color: #42B042;
    text-shadow: white 0 1px;
    font-size: 12px;
    margin: 0;
}

.add-form .contacts-refreshed:not(:last-child) {
    margin-bottom: 15px;
}

.add-button-select:focus,
.selectBox.button-like:focus {
    outline: none;
}

.selectBox-dropdown-menu.button-like-selectBox-dropdown-menu,
.selectBox-dropdown-menu.add-button-select-selectBox-dropdown-menu {
    background: #e4eaf0;
}

.selectBox-dropdown-menu.button-like-selectBox-dropdown-menu li.selectBox-hover a,
.selectBox-dropdown-menu.add-button-select-selectBox-dropdown-menu li.selectBox-hover a {
    background: #CCDAED;
}

.add-button-select.selectBox-dropdown .selectBox-arrow,
.button-like.selectBox-dropdown .selectBox-arrow {
    position: absolute;
    top: 12px;
    right: 9px;
    width: 8px;
    height: 4px;
    background: url(/s/img/share_button_rectangle.png) center no-repeat;
}

.add-button-select.selectBox-dropdown .selectBox-arrow {
    top: 9px;
    right: -3px;
}

.add-button-select.selectBox-dropdown.selectBox-disabled .selectBox-arrow,
.button-like.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
    background-image: url(/s/img/share_button_rectangle_disabled.png);
    opacity: 1;
}

.copy-link-button:not([disabled="disabled"]):hover,
.copy-link-button.hover:not([disabled="disabled"]),
.widget-window-body .outer-input + .inner-button:not([disabled="disabled"]):hover {
    background: rgb(231,236,241); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(231,236,241,1) 0%, rgba(187,192,197,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(231,236,241,1)), color-stop(100%,rgba(187,192,197,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(231,236,241,1) 0%,rgba(187,192,197,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(231,236,241,1) 0%,rgba(187,192,197,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(231,236,241,1) 0%,rgba(187,192,197,1) 100%); /* IE10+ */
    background: linear-gradient(top, rgba(231,236,241,1) 0%,rgba(187,192,197,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7ecf1', endColorstr='#bbc0c5',GradientType=0 ); /* IE6-9 */
}

.copy-link-button:not([disabled="disabled"]):active,
.copy-link-button.hover.active:not([disabled="disabled"]),
.widget-window-body .outer-input + .inner-button:not([disabled="disabled"]):active {
    background: #cad1d8;
}

.copy-link-button[disabled="disabled"],
.widget-window-body .outer-input + .inner-button[disabled="disabled"] {
    color: #9fa5ab;
    background: #dedbdb;
}

/*Стили для блока автокомплита*/

.manage-participants-form .autocomplete-results,
.manage-participants-form .selected-count,
.add-form .autocomplete-results {
    margin: 16px -9px -8px -9px;
    background: none;
    border: 0;
}

.manage-participants-form .button,
.wave-share-popup .button {
    padding-bottom: 7px;
    padding-top: 7px;
}

.add-form .autocomplete-item {
    padding: 7px 5px 7px 14px;
    color: #303030;
    line-height: 15px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}
.add-form .autocomplete-item div.avatar {
    width: 27px;
    height: 27px;
    margin: 0 15px 0 0;
    display: inline-block;
    border: 1px solid #93989C;
    font-size: 14px;
    line-height: 30px;
}

.add-form .autocomplete-item > span {
    display: inline-block;
    vertical-align: top;
}

.add-form .autocomplete-item.acSelect {
    background-color: #5CAAF7;
}
.add-form .autocomplete-item.acSelect div.avatar {
    border-color: #707478;
}
.add-form .autocomplete-item span.name {
    font-weight: bold;
    display: block;
}
.add-form .autocomplete-item span.email {
    font-weight: normal;
}

/**
 * Заголовок топика для незалогиненных пользователей
 */
.anonymous-login-container {
    display: inline-block;
    margin-left: 20px;
}

/*
Стили для виджетов
*/

.widget-window {
    cursor: default;
    display: inline-block;
    text-align: left;
    width: auto;
    z-index: 1000;
    padding: 4px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    -moz-border-radius: 6px;
}

.widget-window .widget-window-header {
    display: none;
    border: 1px solid #81b9f6;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    color: white;

    background: #b0d6ff; /* Old browsers */
    background: -moz-linear-gradient(top, #b0d6ff 0%, #5ba9fe 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b0d6ff), color-stop(100%,#5ba9fe)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #b0d6ff 0%,#5ba9fe 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #b0d6ff 0%,#5ba9fe 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #b0d6ff 0%,#5ba9fe 100%); /* IE10+ */
    background: linear-gradient(top, #b0d6ff 0%,#5ba9fe 100%); /* W3C */
    filter: progidXImageTransform.Microsoft.gradient( startColorstr='#b0d6ff', endColorstr='#5ba9fe',GradientType=0 ); /* IE6-9 */

    min-height: 15px;
}

.widget-window-header .close-icon {
    float: right;
    background-image: url('/s/img/cross.png');
    margin-top: 1px;
}

.widget-centered-window-bg {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    white-space: nowrap;
    z-index: 500;
}

.widget-centered-window-bg.modal {
    background: rgba(192, 192, 192, 0.6);
    cursor: default;
    z-index: 600;
}

.widget-centered-window-bg:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.widget-centered-window-bg .widget-window {
    position: relative;
    vertical-align: middle;
}

.wave-panel {
    position: absolute;
    top: 50px;
    width: 100%;
    z-index: 3;
    display: none;
}

.wave-panel.active {
    display: block;
}

.wave-panel.visible {
    top: 50px;
}

.wave-panel > * > .blip-menu {
    border-radius: 0;
}

.topic-tip {
    display: none;
    top: 0;
    height: 30px;
    width: 100%;
    position: relative;
    background: #f2cf79;
    z-index: 3; /* для расположения поверх прилипающего меню блипа */
    border: 1px solid #d4ad4d;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 175px;
    padding-left: 20px;
}

.topic-tip-text, .topic-tip-text a {
    color: #514e4e;
}

.topic-tip-text {
    line-height: 30px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    width: 100%;
}

.tip-shown .topic-tip {
    display: block;
}

.tip-shown .topic-tip ~ .wave-content {
    padding-top: 80px;
    margin-top: -80px;
}

.topic-tip .tip-management {
    position: absolute;
    right: 17px;
    top: 2px;
}

.topic-tip .tip-management button {
    border: none;
    outline: none;
    text-decoration: underline;
    font-size: 12px;
    background-color: transparent;
    color: #514e4e;
}

.topic-tip .tip-management .next-tip::after {
    content: '→';
    display: inline;
    font-size: 18px;
}

.topic-tip .tip-management .hide-topic-tip {
    padding-right: 18px;
    background: url(/s/img/close-topic-tip.png) right center no-repeat;
}

.topic-tip .tip-management button:not(:first-child) {
    margin-left: 26px;
}

/**
 * Классы стилей для редактора ссылок (link-editor)
 */

.link-editor, .attachment-editor {
    left: -1000px;
    top: -1000px;
    box-shadow: 0 2px 10px -3px black;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.link-editor table,
.attachment-editor table {
    font-size: 13px;
    font-weight: normal;
    padding: 5px;
}

.attachment-editor {
    display: none;
}

.attachment-editor.shown {
    display: block;
}

.link-editor-name, .attachment-editor-name {
    padding: 5px 5px 5px 10px;
    background: #b0d6ff; /* Old browsers */
    background: -moz-linear-gradient(top, #b0d6ff 0%, #5ba9fe 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b0d6ff), color-stop(100%,#5ba9fe)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #b0d6ff 0%,#5ba9fe 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #b0d6ff 0%,#5ba9fe 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #b0d6ff 0%,#5ba9fe 100%); /* IE10+ */
    background: linear-gradient(top, #b0d6ff 0%,#5ba9fe 100%); /* W3C */
    filter: progidXImageTransform.Microsoft.gradient( startColorstr='#b0d6ff', endColorstr='#5ba9fe',GradientType=0 ); /* IE6-9 */
    color: white;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    border: 1px solid #81b9f6;
    border-bottom: none;
}

.link-editor-name .close-icon, .attachment-editor-name .close-icon {
    float: right;
    background-image: url('/s/img/cross.png');
    margin-top: 1px;
}

.link-editor .link-editor-content,
.attachment-editor .attachment-editor-content {
    border: 1px solid #bdbdbd;
    border-top: none;
    background: #F4F4F4;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    padding-top: 1px;
}
.link-editor .link-editor-content td,
.attachment-editor .attachment-editor-content td {
    padding: 4px;
}

.link-name div,
.link-editor-body input{
    margin: 5px;
    padding: 2px 10px 3px;
    width: 230px;
}

.link-name div {
    min-height: 29px;
    max-height: 96px;
    background: white;
    overflow: auto;
    height: auto;
    padding-top: 5px;
}

.link-editor-body,
.file-window-body {
    padding: 8px;
}

.file-window-body .browse-button {
    height: 25px;
    margin: 0 0 0 9px;
    position: relative;
    vertical-align: middle;
    z-index: 1;
}

.upload-form-modal h1 {
    margin: 0 15px;
}

.link-editor-body button {
    height: 25px;
    width: 81px;
    margin-right: 34px;
}

.link-name input, .link-name div {
    display: none;
}

.upload-form .file-input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.ie .upload-form .file-input {
    z-index: 2;
}

.upload-quota {
    font-size: xx-small;
    margin-bottom: 5px;
}

.upload-quota a {
    margin-left: 7px;
}

.browseButton {
    position: relative;
    z-index: 2;
}

/* Попап для Chrome App Store */

.chrome-app-popup, .tips-video-popup {
    z-index: 3;
    display: block;
    top: 5%;
    width: auto;
}

.chrome-app-popup {
    width: 441px;
}

.tips-video-popup .tips-video-title{
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
}

.chrome-app-popup .cap-close,
.tips-video-popup .tips-video-close,
.merge-close,
.crowd-popup .crowd-close,
.linkedin-popup .close {
    position: absolute;
    right: -5px;
    top: -5px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    background: url('/s/img/cap_close.png') 3px 3px no-repeat;
}

.linkedin-popup .close {
    right: -2px;
    top: -2px;
}

.crowd-popup .crowd-close {
    background: url('/s/img/crowd_close.png') 0px 0px no-repeat;
    height: 18px;
    width: 17px;
    right: -4px;
    top: -5px;
}

.chrome-app-popup .cap-title {
    color: #4C4D4F;
    font-size: 17px;
    margin: 20px 20px 0 20px;
}

.chrome-app-popup .cap-panel {
    color: #fff;
    border: 3px solid white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 20px 0 20px;
    background: #218dfa; /* Old browsers */
    background: -moz-linear-gradient(top, #218dfa 0%, #016bd8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#218dfa), color-stop(100%,#016bd8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #218dfa 0%,#016bd8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #218dfa 0%,#016bd8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #218dfa 0%,#016bd8 100%); /* IE10+ */
    background: linear-gradient(to bottom, #218dfa 0%,#016bd8 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#218dfa', endColorstr='#016bd8',GradientType=0 ); /* IE6-9 */
}

.chrome-app-popup .cap-link {
    white-space: nowrap;
    display: inline-block;
    color: #fff;
}

.chrome-app-popup .logo {
    display: inline-block;
    background: url('/s/img/logo/75.png');
    height: 75px;
    width: 75px;
    vertical-align: middle;
}

.chrome-app-popup .cap-link-info {
    display: inline-block;
    font-size: 25px;
    font-weight: bold;
    margin-left: 20px;
    vertical-align: middle;
}

.chrome-app-popup .via-web-store,
.chrome-app-popup .support-services {
    white-space: nowrap;
}

.chrome-app-popup .support-services {
    margin: 20px 0;
}

.chrome-app-popup .cap-logo {
    background: url(data:image/png;base64,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);
    width: 29px;
    height: 29px;
    display: inline-block;
    background-size: auto 29px;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.cap-panel .cap-text {
    font-size: 18px;
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
}

.chrome-app-popup .hangout, .chrome-app-popup .gcal,
.chrome-app-popup .gdrive, .chrome-app-popup .gmail {
    display: inline-block;
    border-radius: 10px;
    vertical-align: top;
    background: white;
    box-shadow: 0 2px 6px 0px #CCC;
    margin-left: 20px;
    position: relative;
    padding: 15px;
}

.chrome-app-popup .support-services .logo {
    height: 44px;
    width: 44px;
    background: url('/s/img/support_google_services.png') 0 0 no-repeat;
}

.chrome-app-popup .support-services .hangout .logo {
    background-position: 0 0;
}

.chrome-app-popup .support-services .gcal .logo {
    background-position: 2px -48px;
    height: 40px;
    margin-bottom: 4px;
}

.chrome-app-popup .support-services .gmail .logo {
    background-position: 0 -129px;
}

.chrome-app-popup .support-services .gdrive .logo {
    opacity: 0.5;
    background-position: 0 -87px;
}

.chrome-app-popup .support-services .date {
    background: #19BDBE;
    color: white;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
}

.crowd-popup {
    display: block;
    z-index: 3;
    background: #009DAA;
    width: 435px;
    top: 10%;
}

.crowd-popup .internal-container {
    background: #D2DCE5;
    border: 9px solid #D2DCE5;
    border-radius: 3px;
    position: relative;
}

.crowd-popup .crowd-title {
    color: #3A4548;
    font-size: 22px;
    margin: 15px 20px 21px 20px;
    text-shadow: 0 1px 3px #fff;
}

.crowd-popup .crowd-text:last-child {
    margin-top: 21px;
    margin-bottom: 15px;
    position: relative;
}

.crowd-popup .crowd-text {
    line-height: 20px;
    margin: 18px 0 0 20px;
    text-shadow: 0 0 1px #fff;
}

.crowd-popup .crowd-text input {
    vertical-align: middle;
    margin: 0 8px 3px 2px;
    visibility: hidden;
}

.crowd-popup .crowd-link {
    text-decoration: underline;
    cursor: pointer;
}

.crowd-popup input[type='checkbox'] + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    margin-left: 2px;
    background-image: url('/s/img/crowd-popup-checkbox-sprite.png');
    background-position: 0 -14px;
    height: 14px;
    width: 14px;
}

.crowd-popup input[type='checkbox']:checked + label::before {
    background-position: 0 0;
}

.crowd-popup label {
    cursor: pointer;
}

/**
 * Кнопки авторизации
 */
.anonymous-login-container a.google-login-link,
.anonymous-login-container a.facebook-login-link,
.anonymous-notification-container a.google-login-link,
.anonymous-notification-container a.facebook-login-link,
.log-out-container a.google-login-link,
.log-out-container a.facebook-login-link {
    display: inline-block;
    vertical-align: middle;
    background: url('/s/img/login-sprite.png') 0 0 no-repeat;
    margin: -1px 5px 0 5px;
    height: 30px;
    width: 97px;
}
.log-out-container a.google-login-link {
    margin-left: 0;
}
.log-out-container a.facebook-login-link {
    margin-left: 22px;
}
.anonymous-login-container a.google-login-link {
    margin-left: 10px;
}
.anonymous-notification-container a.google-login-link,
.anonymous-notification-container a.facebook-login-link {
    background: url('/s/img/login-sprite-big.png') 0 0 no-repeat;
    height: 50px;
    width: 160px;
    margin: 10px 40px 0 0;
}
.anonymous-notification-container.variant2 a.google-login-link,
.anonymous-notification-container.variant2 a.facebook-login-link {
    margin: 0 0 0 10px;
}
.anonymous-login-container a.google-login-link,
.anonymous-notification-container a.google-login-link {
    background-position: 0 0;
}
.anonymous-login-container a.google-login-link:hover,
.log-out-container a.google-login-link:hover {
    background-position: 0 -31px;
}

.anonymous-notification-container a.google-login-link:hover {
    background-position: 0 -51px;
}

.anonymous-login-container a.google-login-link:active,
.log-out-container a.google-login-link:active {
    background-position: 0 -62px;
}

.anonymous-notification-container a.google-login-link:active {
    background-position: 0 -102px;
}

.anonymous-login-container a.facebook-login-link,
.log-out-container a.facebook-login-link {
    background-position: -97px 0;
}

.anonymous-notification-container a.facebook-login-link {
    background-position: -160px 0;
}

.anonymous-login-container a.facebook-login-link:hover,
.log-out-container a.facebook-login-link:hover {
    background-position: -97px -31px;
}

.anonymous-login-container a.facebook-login-link:active,
.log-out-container a.facebook-login-link:active {
    background-position: -97px -62px;
}

.anonymous-notification-container a.facebook-login-link:hover {
    background-position: -160px -51px;
}

.anonymous-login-container a.facebook-login-link:active,
.anonymous-notification-container a.facebook-login-link:active {
    background-position: -160px -102px;
}

/**
 * Форма для merge'а разных аккаунтов пользователя
 */
.account-merge-form-container {
    position: relative;
}

.account-merge-form-container .merge-title {
    margin-bottom: 10px;
    font-size: 25px;
    text-align: left;
}

.account-merge-form-container .merge-content {
    font-size: 16px;
    text-align: left;
}

.account-merge-form-container .merge-content>div {
    margin-top: 15px;
}

.account-merge-form-container .hidden {
    display: none;
}

.account-merge-form-container .button-block {
    text-align: center;
}

.account-merge-form-container button {
    margin: 0 5px;
    min-width: 75px;
}

.account-merge-form-container .merge-button-block {
    text-align: center;
}
.account-merge-form-container .merge-button-block button {
    margin: 0 10px;
}

.account-merge-form-container .secondary-email-block {
    position: relative;
    margin-right: 93px;
}

.account-merge-form-container .send-secondary-email {
    position: absolute;
    right: -85px;
    width: 60px;
    bottom: 0;
}

.account-merge-form-container .send-secondary-email,
.account-merge-form-container .secondary-email-input {
    height: 29px;
}

.account-merge-form-container .avatar-block {
    background-size: auto 45px;
    background-repeat: no-repeat;
    background-position: left top;
    min-height: 45px;
    padding-left: 55px;
}

.account-merge-form-container .confirm-button-block {
    clear: left;
    text-align: right;
}

.account-merge-form-container .merge-error {
    color: red;
}

.account-merge-form-container .merge-message {
    color: green;
}

.notification-overlay.successful-merge {
    background: transparent;
}

.account-merge-form-container .successful-merge {
    width: 485px;
}

.account-merge-form-container.successful-merge .ok-image {
    margin-right: 5px;
}

.account-merge-form-container.successful-merge .merge-title {
    font-size: 20px;
    color: #42B042;
}

.grant-access-wnd {
    max-width: 400px;
    font-size: 14px;
    margin: 10px;
    white-space: normal;
}

.grant-access-wnd .user {
    color: blue;
    font-weight: bold;
}

.grant-access-wnd .title {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0;
    text-align: center;
}

.grant-access-wnd .button-block {
    text-align: center;
}

.grant-access-wnd button {
    width: 70px;
}

.grant-access-wnd button:first-of-type {
    margin-right: 20px;
}

.drag-scroll-up,
.drag-scroll-down {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 4;
}

.drag-scroll-up {
    top: 0;
}

.drag-scroll-down {
    bottom: 0;
}

.drag-scroll-up .scroll-20,
.drag-scroll-down .scroll-20 {
    height: 20px;
}

.drag-scroll-up .scroll-10,
.drag-scroll-down .scroll-10 {
    height: 10px;
}

.embedded-code-generator > * {
    margin: 5px;
}

.embedded-code-generator input {
    width: 75px;
}

.embedded-code-generator textarea {
    border: none;
    outline: none;
    height: 75px;
    width: 280px;
    max-width: 400px;
}

.embedded-code-generator .input-block {
    display: inline-block;
    width: 140px;
}

.embedded-code-generator .title {
    font-size: 14px;
}

/**
 * Сообщение о загрузке топика
 */
.topic-message-container {
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
    display: table;
    color: #738aa3;
}

.topic-message-container,
.topic-message-container button {
    font: 14px Arial;
}

.topic-message-container,
.topic-message-container button:not(.create-wave) {
    line-height: 28px;
}

.message-container {
    display: table-cell;
    vertical-align: middle;
}

.wait-icon {
    width: 32px;
    height: 32px;
    background: url(/s/img/topic-loading.gif);
    margin-bottom: 20px;
    display: inline-block;
}

.lock-icon, .reload-icon, .attention-icon {
    width: 37px;
    height: 37px;
    margin-bottom: 20px;
    display: inline-block;
}

.lock-icon {
    background: url(/s/img/lock_icon.png);
}

.reload-icon {
    background: url(/s/img/reload_icon.png);
}

.attention-icon {
    background: url(/s/img/attention_icon.png);
}

.topic-message-container button:not(.create-wave) {
    border: 0;
    outline: 0;
    background: transparent;
    text-decoration: underline;
    color: #3085e7;
}

.topic-message-container button.create-wave {
    padding: 8px 32px;
    margin-top: 20px;
    font-size: 17px;
    height: auto;
    color: #696969;
}

.topic-message-container.loading {
    cursor: progress;
}

.message-container .asked-for-access-container {
    display: none;
}

.message-container.asked-for-access .asked-for-access-container {
    display: block;
}

.message-container.asked-for-access .ask-for-access-button {
    display: none;
}