#reader {
    width: 640px;
}
@media(max-width: 600px) {
	#reader {
		width: 300px;
        width: 100%;
	}
}
.empty {
    display: block;
    width: 100%;
    height: 20px;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}
.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

#reader__dashboard_section_swaplink {
    display: none !important;
}

.wrapper-header {
    text-align: center;
    padding: 10px;
}
.scan-error {
    display: none;
}

.iw-limiter {
    max-width: 500px;
}

/** Style associated with image viewer. */

.capture-box {
    margin-bottom: 20px;
    justify-content: center;
    display: flex;
}

.capture-box .image-block {
    /* max-width: 60%; */
    /* flex: 1 1 auto; */
    width: 60vw;
}

.capture-box .info-block {
    width: 40vw;
    color: rgb(66, 66, 66);
    padding-top: 5px;
    padding-left: 30px;
}

@media(max-width: 600px) {
    .capture-box {
       display: block;
    }

    .capture-box .image-block {
        width: 100%;
    }
    
    .capture-box .info-block {
        width: 100%;
        color: rgb(66, 66, 66);
        padding-top: 15px;
        padding-left: 0px;
    }
}

/* @media only screen and (min-width: 600px) {} */

.capture-box .image-block img {
    width: 100%;
}

.capture-box .info-block .title {
    color: rgb(59, 58, 91);
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 2px;
    border-bottom: 1px solid #80808029;
    margin-bottom: 5px;
}

.capture-box .info-block .metadata {
    margin-top: 10px;
}

.capture-box .info-block .categories {
    padding: 5px 0px;
    font-style: italic;
    margin-top: 10px;
}

.capture-box .info-block .categories .category a {
    color: grey;
}

.capture-box .info-block .links {
    padding: 5px;
    margin-top: 10px;
}

/** CSS for widget-self **/
.widget-self {
    display: flex;
    margin-bottom: 20px;
    background: #f7f7f7;
    padding: 10px;
}

.widget-self .section-image {
    width: 30vw;
}

.widget-self .section-info {
    width: 70vw;
    padding-left: 20px;
}

.widget-self .section-info .quote {
    font-style: italic;
    margin-top: 10px;
}

@media(max-width: 750px) {
    .widget-self {
        display: block;
        margin-bottom: 20px;
        background: #f7f7f7;
        padding: 10px;
    }
    
    .widget-self .section-image {
        width: 100%;
    }
    
    .widget-self .section-info {
        width: 100%;
        padding: 10px;
    }
    
    .widget-self .section-info .quote {
        font-style: italic;
        margin-top: 10px;
    }
}

/** CSS for widget-self-photos **/
.widget-self-photos {
    display: block;
    margin-top: 20px;
    background: #f7f7f7;
    padding: 10px;
    justify-content: center;
    box-shadow: #0000001a 5px 6px 20px 3px
}

.widget-self-photos .header {
    width: 100%;
}

.widget-self-photos .section {
    width: 100%;
}

.widget-self-photos .header img {
    width: 400px;
}

.widget-self-photos .body {
    padding: 10px;
    font-style: italic;
}

.widget-self-photos .footer {
    padding: 10px;
    border-top: 1px solid #0000001f;
}

@media(min-width: 700px) {
    .widget-self-photos {
        display: flex;
        margin-top: 20px;
        background: #f7f7f7;
        padding: 10px;
        justify-content: center;
        box-shadow: #0000001a 5px 6px 20px 3px
    }
    
    .widget-self-photos .header {
        width: 30vw;
    }

    .widget-self-photos .section {
        width: 70vw;
    }

    .widget-self-photos .header img {
        width: 100%;
    }
    
    .widget-self-photos .body {
        padding: 10px;
        font-style: italic;
    }
    
    .widget-self-photos .footer {
        width: 100%;
        padding: 10px;
        border-top: none;
    }
}

@media(min-width: 1600px) {
    .widget-self-photos {
        width: 300px;
        display: inline-block;
        background: #f7f7f7;
        padding: 0px;
        justify-content: center;
        box-shadow: #0000001a 5px 6px 20px 3px;
        position: fixed;
        top:140px;
        left: 20px;
        overflow: hidden;
    }
    
    .widget-self-photos .header {
        width: 100%;
    }

    .widget-self-photos .section {
        width: 100%;
    }

    .widget-self-photos .header img {
        width: 100%;
    }
    
    .widget-self-photos .body {
        padding: 10px;
    }
    
    .widget-self-photos .footer {
        border-top: 1px solid #0000001f;
        /* background: #0000000d; */
        padding: 10px;
    }
}
/** modal **/
.modal-body {
    max-height: 400px; 
    overflow-y: auto;
}

/** custom modification **/
.post-info {
    overflow-y: hidden;
}

.styled-table {
    border-collapse: collapse;
    margin: 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 200px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #00EA00;
    color: #ffffff;
    text-align: center;
}

.styled-table th,
.styled-table td {
    padding: 5px 8px;
}
.styled-table th{
    text-align: left;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

#scanned-result-error .styled-table thead tr, #scanned-result .styled-table.invalido thead tr {
    background-color: #d70000;
}

#scanned-result .styled-table.validado thead tr {
    background-color: #007BFF;
}

.styled-table.invalido tbody tr:last-of-type {
    border-bottom: 2px solid #d70000;
}

.embedded-post, .so-embedded-post {
    border: 1px solid #e6e6e6;
    padding: 10px;
    margin: 10px;
}

.so-embedded-post {
    padding-left: 60px;
    background-image: url(/images/common/stack-overflow.png);
    background-repeat: no-repeat;
    background-position-x: 10px;
    background-position-y: center;
    padding-top: 15px;
    padding-bottom: 15px;
}


.embedded-post .embedded-post-title {
    font-size: 22px;
    margin-bottom: 10px;
}

/** Side bars. */
.post-sidebar-left, .post-sidebar-right {
    display: none;
}

@media(min-width: 1500px) {
    .post-sidebar-left, .post-sidebar-right {
        display: inline-block;
        padding: 10px;
        width: 250px;
        min-height: 100px;
        position: absolute;
        top: 150px;
    }

    .post-sidebar-left {
        left: -webkit-calc((100% - 900px) / 2 - 250px);
        left: calc((100% - 900px) / 2 - 250px);
        padding: 0px;
        position: fixed; 
    }

    .post-sidebar-right {
        right: 50px;
        right: 50px;
        width: -webkit-calc((100% - 800px)/2 - 120px);
        width: calc((100% - 800px)/2 - 120px);
        max-width: 400px;
        font-size: 12pt;
        border: 1px solid #b5b5b526;
    }

    .post {
        max-width: 880px;
    }

    .sidebar-author-info {
        border-left: 6px solid #2a7ae2;
        padding: 10px;
    }

    .sidebar-author-info .image {
        width: 110px;
    }

    .sidebar-author-info .name {
        font-size: 24pt;
        font-family: 'Ubuntu';
    }

    .sidebar-author-info .title, .sidebar-author-info .sub-title {
        font-size: 12pt;
    }

    .sidebar-author-info .sub-title {
        margin-top: 10px;
    }

    .sidebar-author-info .social {
        margin-top: 20px;
    }

    .sidebar-author-info .social a img {
        width: 22px;
        margin-right: 5px;
    }

    .sidebar-author-info .read-more {
        margin-top: 10px;
        font-size: 11pt;
    }

    .sidebar-author-info .read-more a {
        color: black;
    }

    .sidebar-claps applause-button {
        position: relative;
        cursor: pointer;
        margin-top: 50px;
        margin-left: 40px;
    }

    .sidebar-subscribe {
        margin-top: 40px;
        border: 1px solid #6464642e;
        padding-left: 10px;
        padding-bottom: 20px;
        padding-top: 20px;
        border-radius: 5px;
    }

    .recommended-books {
        margin-top: 40px;
    }

    .recommended-books .astriek {
        margin-top: 10px;
        font-size: 10pt;
        font-style: italic;
        color: #000000a1;
        display: none;
    }

    .recommended-books:hover > .astriek {
        display: block;
    }
    #boton1{
        background-color: #006705 !important;
    }
}
