
.sharedoc-modal-wrapper {
    align-self: center;
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 100%;
    justify-content: center;
    user-select: none;
}

.sharedoc-form-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.sharedoc-input-wrapper{
    color: #A2A2A2;
    font-style: normal;
    font-weight: 300;
    width: 100%;
    border-radius: 5px;
}

.sharedoc-input-outer {
    position: relative;
    color: inherit;
    font: inherit;
}

.sharedoc-name-dropdown-div {
    max-height: 20vh;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    transform: translate(-1px, -3px);
    padding-top: calc(0.3em + 1px);
    padding-bottom: 0.4em;
    background-color: white;
    border: 1px solid black;
    border-top: white;
    border-radius: 0px 0px 5px 5px;
}

.sharedoc-input {
    overflow: hidden;
    width: -webkit-fill-available;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #DEDEDE;
}

.sharedoc-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0.5em;
    color: #2A2A2A;
}

.sharedoc-text {
    font-size: 14px;
    font-weight: 400;
    color: #636363;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.sharedoc-name-input {
    width: inherit;
    padding: 0.5em;
    border: none;
    font-size: 14px;
    color: inherit;
    font-style: normal;
    font-weight: 300;
    background-color: #FAF9F5;
}

.sharedoc-active-input {
    outline: 1px solid black !important;
    color: black;
}

.sharedoc-suggestions-line{
    padding: 6px 6px 6px 8px;
}

.sharedoc-name-input:focus{
    box-sizing: border-box;
    outline: none;
}

.sharedoc-button{
    margin-left: 1em;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: center;
    background-color: #2A2A2A;
    border: 1px solid #2A2A2A;
    border-radius: 5px;
    font-weight: 400;
    color: white;
    font-size: 16px;
    text-align: center;
    letter-spacing: 1px;
    padding: 0.475rem 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.sharedoc-button:active {
    transform: scale(0.96);
}

.sharedoc-button-unclickable {
    background-color: #A2A2A2;
    border: 1px solid #A2A2A2;
    pointer-events: none;
}

.sharedoc-button:hover{
    background-color: #000000;
    border: 1px solid #000000;
    transition: 0.3s;
}

.sharedoc-button-unclickable:hover {
    background-color: #A2A2A2;
    border: 1px solid #A2A2A2;
}

.sharedoc-dropdown-option {
    padding: 0.3em 1em;
    cursor: pointer;
}

.sharedoc-contacts-box {
    overflow-y: auto;
    min-height: 8em;
    max-height: 8em;
    background-color: #FAF9F5;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-radius: 3px;
    margin-bottom: 1em;
    border: 1px solid #DEDEDE;
}

.sharedoc-contact-wrapper {
    justify-content: space-between;
}

.sharedoc-new-contact {
    padding-left: 1em;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 16px;
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;
}

.sharedoc-dropdown-img {
    display: flex;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    background-color: #e7e7e7;
    object-fit: cover;
    cursor: pointer;
    align-self: center;
}

.sharedoc-dropdown-name {
    align-self: center;
    margin-left: 1em;
}

.sharedoc-delete-contact {
    height: 1em;
    width: 1em;
    padding-right: 1em;
    cursor: pointer;
    opacity:30%;
    transition:0.3s;
    fill : black;
}

.sharedoc-delete-contact:hover {
    opacity:100%;
    transition:0.3s;
    fill : red !important;
}

.sharedoc-owner-tag {
    margin-left: 1em;
    background-color: #DEDEDE;
    font-size: 10px;
    border-radius: 10px;
    padding: 0.4em 0.7em;
}

.send-email-invitation-icon img{
    border-radius: 0;
    background-color: transparent;
    width: 1.5em;
    height: 1.5em;
    margin: 0.25em;
}

.send-email-invitation-icon:hover img{
    filter: brightness(0) invert(1);
}

.sharedoc-section-message {
    padding-top: 1.7em;
    padding-bottom: 0.5em;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 10px;
    color: #A2A2A2;
}

.sharedoc-permalink-wrapper {
    border-top: 1px solid #DEDEDE;
}

.sharedoc-body{
    padding-right: 1em;
    padding-left: 2px;
}

#sharedoc-permalink-separator{
    margin-top: 1em;
}

.sharedoc-permalink-toggle-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
}

.sharedoc-editable-permalink-toggle-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    margin-top: 10px;
}

.sharedoc-permalink-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 29px;
}

.sharedoc-permalink-switch .sharedoc-permalink-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sharedoc-permalink-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FAF9F5;
    border: 1px solid #000000;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.sharedoc-permalink-slider:before {
    position: absolute;
    content: "";
    height: 21px;
    width: 21px;
    left: 3px;
    bottom: 3px;
    background-color: #2a2a2a;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.sharedoc-permalink-toggle-input:checked + .sharedoc-permalink-slider {
    background-color: #2a2a2a;
    border: 1px solid #2a2a2a;
}

.sharedoc-permalink-toggle-input:focus + .sharedoc-permalink-slider {
    box-shadow: 0 0 1px black;
}

.sharedoc-permalink-toggle-input:checked + .sharedoc-permalink-slider:before {
    background-color: white;
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.sharedoc-permalink-url-wrapper {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.sharedoc-permalink-url {
    max-width: 80%;
    overflow-x: hidden;
    overflow-y: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    border-radius: 5px;
    font-size: 15px;
    color: #636363;
    padding: 0.6em;
    background-color: #F6F6F6;
}

.sharedoc-permalink-url-off {
    pointer-events: none;
    color: #A2A2A2 !important;
}

.permalink-toggle-disabled{
    cursor: not-allowed;
    border: 1px solid #A2A2A2;
}

.permalink-toggle-disabled:before{
    background-color: #A2A2A2;
}

@media screen and (max-width: 1255px){
    .sharedoc-permalink-toggle-wrapper {
        font-size: 13px;
    }
    .sharedoc-editable-permalink-toggle-wrapper{
        font-size: 13px;
    }
}

@media screen and (max-width: 1024px){
    .sharedoc-permalink-toggle-wrapper {
        font-size: 12px;
    }
    .sharedoc-editable-permalink-toggle-wrapper{
        font-size: 12px;
    }
    .sharedoc-contacts-box {
        min-height: 5em;
        max-height: 5em;
    }

    .sharedoc-form-wrapper {
        flex-direction: column;
    }

    .sharedoc-button {
        margin-left: 0;
    }

    .sharedoc-input {
        margin-bottom: 0.3em;
    }

}

@media screen and (max-width: 765px) {
    .sharedoc-permalink-url {
        display: none;
    }

    #sharedoc-permalink-separator {
        padding: 0;
    }

    .sharedoc-contacts-box {
        min-height: 4em;
        max-height: 4em;
    }
}

@media screen and (max-width: 600px) {
    #sharedoc-section-shared-box {
        display: none;
    }

    .sharedoc-contacts-box {
        display: none;
    }

    .sharedoc-button {
        margin-bottom: 1em;
    }
}
