/*=======================

	Box - Global CSS

=========================*/ 

h1, h2, h3, h4, h5, h6, body {

    color: auto;
    line-height: 130%;

}

h1, h2, h3 {

    margin: 0.85rem 0 0.2rem 0;

}



figcaption {

    font-style: italic;

    font-size: 14px;

    padding: .5rem 0;

}



hr {

    border: #033954;

}



a {

    color: #1a78a2;

}



body {

    background-color: #EEF2F7;

    background-image: url("https://jessmeister.com/user/themes/jess26/images/diamond-sunset2.svg");

    /* background by SVGBackgrounds.com */

    background-size: cover;

    background-attachment: fixed;

 }

 p:empty {
    display: none;
 }



 #body-inner {

    background: rgba(255,255,255,.7);

    max-width: 1280px;

}

blockquote p {
    color: #6C6C6C;
  }



 @media only screen and (min-width: 475px) {

    #body .padding {

        padding: 1rem 4rem;

    }

    #body-inner {

        padding: 2rem;

    }

}



/*=======================

	Colors

=========================*/ 

.primary-teal {color: #16A085;}



.primary-teal-100 {color: #68EDD3;}

.primary-teal-200 {color: #21EDC4;}

.primary-teal-300 {color: #4EB09D;}

.primary-teal-500 {color: #0F6E5B;}



.secondary-navy {color: #033954;}

.secondary-navy-200 {color: #67A2BF;}



.tertiary-gray {color: #CAD0D5;}

.tertiary-gray-50 {color: #F1F5FA;}

.tertiary-gray-100 {color: #EEF2F7;}

.tertiary-gray-300 {color: #9BA0A3;}

.tertiary-gray-500 {color: #525557;}



/*=======================

	Header CSS

=========================*/ 

#header {

	background: #033954;

}



/* Logo */

#header .logo {

    color: #fff;

    text-transform: capitalize;

    font-size:32px;

    font-weight: 600;

    position: relative;

    padding-left: 1rem;

}



#header .logo::before {

	background: #16A085;

    position: absolute;

    left: 0;

    top: 12px;

    width: 10px;

    height: 10px;

    content: "";

    border-radius: 100%;

}



/*=======================

	Left Nav CSS

=========================*/ 

#sidebar {

    background: #4EB09D;

}



#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active, #sidebar ul.topics > li.parent a, #sidebar ul.topics > li.active a {

	background:#eef6fb;

	color: #555;

}



#sidebar ul.topics li.dd-item.active a:hover, #sidebar ul.topics li.dd-item.parent a:hover {

    background:#fff;

	color: #333;

}



#sidebar ul li a span {

    padding-left: 1rem;

}



#sidebar a {

    color: #fff;

}



/*=======================

	Main CSS

=========================*/ 

.dropshadow {

    box-shadow: 2px 2px 10px #888888;

}



.justified-gallery > a {

    box-shadow: 3px 3px 5px #888888;

}



#body img, #body .video-container {

    margin: 0;

}



div.callout-r30 {

    float: right; 

    width: 30%; 

    margin: 1rem; 

    min-width: 250px;

    background: #033954; 

    color: #fff;
}

div.callout-r30 a {
    color: #fff;
}

div.callout-r30 a:hover {
    color: #67A2BF;
}



.client-detail {

    margin: .5rem; 

    padding: 0rem;

    list-style-type: none;

    line-height: 1.4em;

    font-size: .95rem;

}



.client-detail li {

    margin: 1rem 0;

}



.client-detail i.fa {

    display: block;

    float: left;

    font-size: 1.8rem;

    width: 3rem;

    padding: .5rem;

}



.client-detail span {

    font-weight: bold;

    font-size: 1.2em;

    line-height: 1em;

}

.case-contents {
    padding: 1.2rem;
}
.case-contents h3, .case-contents h4 {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
}

.case-contents ol {
    margin: 0;
    list-style-type: upper-roman;
}

.lesson-txt {
    color: #033954; 
    font-weight: bold; 
    font-variant: small-caps;
    font-size: 1.2em;
}

.figure-right-33 {
    max-width: 33%;
    float: right;
}

.glightbox img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.tag {
    text-transform: capitalize;
    display: inline-block;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 550;
    line-height: 1.5;
    color: #0C5446;
    background: #D3F0EA;
    border: 1px solid #D3F0EA;
    border-radius: 999px;
    margin: .25rem 0;
}

/*=======================

	Homepage CSS

=========================*/ 

.body-home #body-inner {

    margin-bottom: 0;

    height:100vh;

    background: rgba(255,255,255,0);

    background-image: url("https://jessmeister.com/user/themes/jess26/images/OlaRelaxingPants2.png"); /* The image used */

    background-repeat: no-repeat; /* Do not repeat the image */

    background-position: left bottom;

    background-size: 75%;

}



.body-home #body-inner .doodle-credit {

    font-size: 13px;

    text-align: right;

    font-style: italic;

    position: relative;

    right: 0;

    top: 9em;

}



.body-home #body-inner h1, .body-home #body-inner h2 {

    text-align: right;

    line-height: 1.2em; 

    margin: 1rem 0;

    font-family: "Muli", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;

}


.body-home #body-inner h1 {

    font-weight: 600;

    color: #16A085;

    font-size: 5.5rem;

    line-height: .75em;

}



.body-home #body-inner h2 {

    color: #033954;

}



.body-home #body-inner p {

    text-align: right;

    font-size: 1.2rem;

    padding-left: 40%;

}



.body-home #body-inner .home-links {

    text-align: right;

    font-size: 1.2rem;

    line-height: 3rem;

}



/* Hompepage mobile */

@media only screen and (max-width: 768px) {

    .body-home #body-inner {

        height:100%;

    }

    

    .body-home #body-inner .doodle-credit {

        position: relative;

        right: 0;

        bottom: 0;

        padding: .5rem;

    }

      

    .body-home #body-inner h1 {

        font-size: 4rem;

        line-height: 1em;

        text-align: left;

    }



    .body-home #body-inner h2 {

        text-align: left;

    }

    

    .body-home #body-inner p {

        text-align: left;

        font-size: 1.2rem;

        padding-left: 0;

        padding-bottom: 20px;

    }

}

/*=======================

	Portfolio CSS

=========================*/

.posts {
    display: grid;
    grid-template-columns: 100%;
    row-gap: 5rem;
}


.post {
    display: grid;
    column-gap: 20px;
    grid-template-columns: 60% auto;
    direction: ltr;
    text-align: left;
}

.post:nth-child(even) {
    direction: rtl;
}

.post-text {
    margin: initial;
}

.post-title > h2 {
    font-size: 1.7rem;
    line-height: 1.9rem;
    max-height: max-content;
    letter-spacing: -1px;
    margin-bottom: .25rem;
    margin-top: 0;
}

.post-description {
    line-height: 1.3rem;
    margin-top: 0;
    direction: ltr;
}

.post-link {
    margin-top: 1rem;
    direction: ltr;
}

/* Portfolio mobile */

@media only screen and (min-width: 1440px){
    .post-description {
        font-size: 1.2rem;
        line-height: 1.5rem;
    }       

    .post-title > h2 {
        font-size: 2rem;
        line-height: 2.2rem;
    }
}

@media only screen and (min-width: 1080px) and (max-width: 1280px){
    .post-title > h2 {
        font-size: 1.4rem;
        line-height: 1.5rem;
    }       

}

@media only screen and (max-width: 1080px) {
    .posts {
        row-gap: 2rem;
    }

    .post {
        display: grid;
        grid-template-columns: 100%;
        padding-bottom: 2rem;
        border-bottom: 1px solid #67A2BF;
    }

    .post-thumbnail {
        width: fit-content;    
    }
    
    .post-thumbnail > img {
    
        width: 100%;
        height: 100%;
   
    }

}



/*=======================

	Footer CSS

=========================*/ 

#footer {

    color: #fff;

    position: fixed;

    bottom: 0;

    padding: 1rem;

}



#footer p {

    padding: 0.5rem 1rem 1rem 1rem;

}



#social a {

    display: inline-block;

    font-size: 1.75rem;

    padding: 0 1rem;

}



#social a.linkedin {

    padding: 0 0;

}