/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */
#envy-doc-app {
    margin-bottom: 20px;
    margin-top: 10px;
    margin-left: 16px;
    margin-right: 16px;
}
.envy-doc-section-wrapper { 
    display: table;
    width: 100%; 
}
.envy-doc-subsection-wrapper { 
    display: table;
    width: 92%;
    margin-left: 8%; 
}
.envy-doc-subsection-sub-wrapper { 
    display: table;
    width: 84%;
    margin-left: 16%; 
}
.col-4:nth-child(3n+1) {
    clear: both;
}
#firstDiv { 
    display: table-footer-group; 
}
#secondDiv { 
    display: table-header-group;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}
.modal-backdrop.show {
    opacity: .5;
}
.envy-doc-title-form-popup, .envy-doc-section-form, .envy-doc-subsection-form, .envy-doc-subsection-sub-form, .envy-doc-parent-delete-form, .envy-doc-section-delete-form, .envy-doc-subsection-delete-form, .envy-doc-subsection-sub-delete-form {
    z-index: 9999;
    position: fixed;
    top: 30%;
    left: 40%;
    background-color: white;
    width: 400px;
    padding: 17px;
    border-radius: 5px;
    text-align: center;
}
.envy-doc-page-title-another {
    cursor: pointer;
    color: #d01414;
    text-decoration: underline;
}
.wrap .page-title-action.envy-doc-page-title {
    margin-left: 15px;
}
.wrap .page-title-action.classic-mode {
    margin-left: 15px;
}
.envy-doc-title {
    border-bottom: 1px solid #ddd;
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
    padding: 0;
    padding-bottom: 20px;
}
.envy-doc-section-title, .envy-doc-subsection-title, .envy-doc-subsection-sub-title {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid #eee;
    background-color: #f7f7f7;
}
.envydoc-parent-row-actions, .envydoc-section-row-actions, .envydoc-subsection-row-actions, .envydoc-subsection-sub-row-actions {
    float: right;
    display: none;
}
.envydoc-btn-delete {
    cursor: pointer;
}
.envy-doc-add-new-section-btn {
    text-align: center;
    padding: 18px 0;
    border: 1px solid #eee;
    background-color: #f7f7f7;
}
.envy-doc-add-only-subsection, .envy-doc-add-only-subsection-sub {
    cursor: pointer;
}
.envy-doc-add-new-section {
    background: #54616c;
    border-color: #007cba;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    padding: 8px 10px;
    cursor: pointer;
}
.envy-doc-add-new-section:hover {
    color: #333;
    background: transparent;
    border: 1px solid #54616c;
    text-decoration: none;
}
.envy-doc-title-input {
    font-size: 18px;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.06);
    padding: 5px 20px !important;
    margin: 10px 0;
    width: 100%;
}
#envy-doc-save-doc:hover {
   color: #ffffff;
   border-color: none;
}
.envy-doc-section-input, .envy-doc-subsection-input, .envy-doc-subsection-sub-input {
    font-size: 18px;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.06);
    padding: 5px 20px !important;
    margin: 10px 0;
    width: 100%;
}
.text-center {
    text-align: center;
}
.docs-list {
    border: 1px solid #e5e5e5;
    background: #ffffff;
    padding: 10px;
    margin-bottom: 30px;
}
.docs-list h3 {
    border-bottom: 1px solid #eee;
    font-size: 14px;
    padding: 8px 12px 15px;
    margin: 0;
    line-height: 1.4;
}
.docs-list ul li {
    padding: 7px 10px;
    background-color: #f7f7f7;
    border: 1px solid #eee;
}
.docs-list a {
    text-decoration: none;
}
.envy-doc-save-btn, .envy-doc-section-save-btn, .envy-doc-subsection-save-btn, .envy-doc-subsection-sub-save-btn {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
    border: 1px solid;
    cursor: pointer;
    display: inline;
    padding: 12px 30px;
    margin-top: 10px;
    margin-left: 5px;
}
.envy-doc-cancel-btn, .envy-doc-section-cancel-btn, .envy-doc-subsection-cancel-btn, .envy-doc-subsection-sub-cancel-btn {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
    border: 1px solid;
    cursor: pointer;
    display: inline;
    padding: 12px 30px;
    margin-top: 10px;
    margin-right: 5px;
}
.empty-post {
    text-align: center;
    margin-top: 150px;
    color: #0073aa;
}
.classic-mode {
    margin-left: 15px;
    padding: 4px 8px;
    position: relative;
    top: -3px;
    text-decoration: none;
    border: 1px solid #0071a1;
    border-radius: 2px;
    text-shadow: none;
    font-weight: 600;
    font-size: 13px;
    line-height: normal;
    color: #0071a1;
    background: #f3f5f6;
    cursor: pointer;
}
#envy_doc_parent_reorder, #envy_doc_section_reorder, #envy_doc_subsection_reorder, #envy_doc_subsection_sub_reorder {
    cursor: move;
}
.ui-state-parent-highlight { 
    border: 1px dashed #666 !important; 
    background: transparent !important;
    width: 28% !important;
    float: left;
    padding: 0 10px !important;
    margin-top: 2px;
    height: 4em !important;
}
.ui-state-section-highlight, .ui-state-subsection-highlight, .ui-state-subsection-sub-highlight { 
    height: 1.7em; 
    line-height: 1.7em;
    border: 1px dashed #666 !important; 
    background: transparent !important;
}
.reorder-button {
    margin: 15px 0 10px !important;
}
.reorder-button a span {
    vertical-align: middle !important;
    margin-right: 5px;
    margin-bottom: 4px;
}
.row::after {
    content: "";
    clear: both;
    display: table;
}
[class*="col-"] {
    float: left;
    padding: 0 16px;
}
/* For mobile phones: */
[class*="col-"] {
    width: 100%;
}
@media only screen and (min-width: 600px) {
    /* For tablets: */
    .col-s-1 {width: 8.33%;}
    .col-s-2 {width: 16.66%;}
    .col-s-3 {width: 25%;}
    .col-s-4 {width: 30%;}
    .col-s-5 {width: 41.66%;}
    .col-s-6 {width: 50%;}
    .col-s-7 {width: 58.33%;}
    .col-s-8 {width: 66.66%;}
    .col-s-9 {width: 75%;}
    .col-s-10 {width: 83.33%;}
    .col-s-11 {width: 91.66%;}
    .col-s-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 30%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
}
@media screen and (max-width: 782px) {
    .wrap .add-new-h2, .wrap .add-new-h2:active, .wrap .page-title-action, .wrap .page-title-action:active {
        padding: 10px 12px;
        font-size: 12px;
}
