/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
.cke_editable {
    font-size: 13px;
    line-height: 1.6;

    /* Fix for missing scrollbars with RTL texts. (#10488) */
    word-wrap: break-word;
}

blockquote {
    font-style: italic;
    padding: 2px 0;
    border-style: solid;
    border-color: #ccc;
    border-width: 0;
}

.cke_contents_ltr blockquote {
    padding-left: 20px;
    padding-right: 8px;
    border-left-width: 5px;
}

.cke_contents_rtl blockquote {
    padding-left: 8px;
    padding-right: 20px;
    border-right-width: 5px;
}

a {
    color: #0782C1;;
}

.link-button {
    background-color: rgb(3, 68, 109);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 25px ;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
}

/*ol, ul, dl {*/
/*    !* IE7: reset rtl list margin. (#7334) *!*/
/*    *margin-right: 0px;*/
/*    !* preserved spaces for list items with text direction other than the list. (#6249,#8049)*!*/
/*    padding: 0 40px;*/
/*}*/

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 1.2;
}

hr {
    border: 0px;
    border-top: 1px solid #ccc;
}

img.right {
    border: 1px solid #ccc;
    float: right;
    margin-left: 15px;
    padding: 5px;
}

img.left {
    border: 1px solid #ccc;
    float: left;
    margin-right: 15px;
    padding: 5px;
}

pre {
    white-space: pre-wrap; /* CSS 2.1 */
    word-wrap: break-word; /* IE7 */
    -moz-tab-size: 4;
    tab-size: 4;
}

.marker {
    background-color: Yellow;
}

span[lang] {
    font-style: italic;
}

figure {
    text-align: center;
    border: solid 1px #ccc;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.05);
    padding: 10px;
    margin: 10px 20px;
    display: inline-block;
}

figure > figcaption {
    text-align: center;
    display: block; /* For IE8 */
}

/*a > img {*/
/*    padding: 1px;*/
/*    margin: 1px;*/
/*    border: none;*/
/*}*/

/* Widget Styles */
.code-featured {
    border: 5px solid red;
}

.math-featured {
    padding: 20px;
    box-shadow: 0 0 2px rgba(200, 0, 0, 1);
    background-color: rgba(255, 0, 0, 0.05);
    margin: 10px;
}

.image-clean {
    border: 0;
    background: none;
    padding: 0;
}

.image-clean > figcaption {
    font-size: .9em;
    text-align: right;
}

.image-grayscale {
    background-color: white;
    color: #666;
}

.image-grayscale img, img.image-grayscale {
    filter: grayscale(100%);
}

.embed-240p {
    max-width: 426px;
    max-height: 240px;
    margin: 0 auto;
}

.embed-360p {
    max-width: 640px;
    max-height: 360px;
    margin: 0 auto;
}

.embed-480p {
    max-width: 854px;
    max-height: 480px;
    margin: 0 auto;
}

.embed-720p {
    max-width: 1280px;
    max-height: 720px;
    margin: 0 auto;
}

.embed-1080p {
    max-width: 1920px;
    max-height: 1080px;
    margin: 0 auto;
}

/*============*/
/*CUSTOM STYLE*/
/*============*/

.custom-p {
    font-size: 16px;
    color: #5a5a5a;
    line-height: 150%;
    margin-bottom: 10px;
}

.custom-h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.custom-h3 {
    font-weight: bold;
    color: #5a5a5a;
    font-size: 22px;
}

.custom-firstL-p {
    text-align: justify !important;
    white-space: pre-line !important;
    float: left;
    margin: 0 1px 10px 0;
}

.custom-firstL-p:first-letter {
    float: left;
    margin: 1px 30px 90px 0;
}

.custom-image > img {
    padding-top: 20px;
    max-width: 85%;
    height: auto;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    text-decoration: none !important;
}

.primary-link:before {
    content: url("../../ni4os/images/icon/open_in_new-24px.svg");
    display: block;
    height: 15px;
    width: 15px;

    margin-right: 5px;
}

.link-open-embed-pdf {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 18px;
    text-decoration: none;
}

.link-open-embed-pdf:before {
    content: url("../../ni4os/images/icon/pdf-symbol.svg");
    display: block;
    width: 15px;
    height: 24px;
    margin-right: 5px;
}

.custom-list {
    padding-left: 40px;
    list-style: disc;
}

.custom-list > li {
    margin-bottom: 12px;
    list-style: disc;
}

.custom-list-numbered{
    padding-left: 40px;
    list-style: decimal;
}

.custom-list-numbered > li {
    margin-bottom: 12px;
    list-style: decimal;
}
li strong  {
    font-weight: bold;
}
/*==========================*/
/*         RESPONSIVE       */
/*==========================*/

@media (min-width: 500px) {
    .custom-firstL-p:first-letter {
        margin-bottom: 60px;
    }
}

@media (min-width: 660px) {
    .custom-firstL-p:first-letter {
        margin-bottom: 35px;
    }
}

@media (min-width: 880px) {
    .custom-h2 {
        font-size: 23px;
    }

    .custom-firstL-p:first-letter {
        margin-bottom: 25px;
    }
}

@media (min-width: 1276px) {
    .custom-firstL-p:first-letter {
        margin-bottom: 25px;
    }

    .primary-link,
    .link-open-embed-pdf {
        font-size: 18px;
    }
}

