/* ==========================================================================
   VerseLocker Blog Styles
   ========================================================================== */

#posteditor{
   width: 85%;
   margin: auto;
}

#posttitle{
  width: 100%;
  box-sizing : border-box;
  margin-bottom: 10px;
  margin-top: 10px;

}

.ck-editor__editable {
    min-height: 400px;
}

.readmorebutton{
  margin-top: 30px;
}

#blogcontainer{
  width: 95%;
  position: relative;
  padding-left: 10px;
  margin: auto;
  margin-top: 20px;

}

#blogelements{
  width: 100%;
  max-width: 1300px;
  margin: auto;

}



#togglepublish{
  text-align: left;
}

#blogcontent{
   margin-left: 180px; /* Same width as the sidebar + left position in px */
    font-size: 28px; /* Increased text to enable scrolling */
    padding: 0px 10px;
    max-width: 1000px;
}


#sidebarcontainer{
  position: absolute;
  top: 1px;
}


#sidebarheading{
  color: var(--color-text-inverse);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  text-align: center;
  margin-left: -10px;
  padding: var(--space-sm);
  font-weight: 600;
}

#blogsidebar{
    width: 170px;
    z-index: 1;
    top: var(--space-lg);
    left: var(--space-sm);
    background: var(--color-bg-input);
    overflow-x: hidden;
    border-radius: var(--radius-lg);
    margin-top: var(--space-sm);
    -webkit-box-shadow: var(--shadow-lg);
    -moz-box-shadow: var(--shadow-lg);
    box-shadow: var(--shadow-lg);
}




.viewtitle{
  font-size: var(--font-size-2xl);
  color: #233a53;
  margin-top: var(--space-sm);
  margin-left: var(--space-sm);
  border-bottom: 2px solid var(--color-primary-light);


}

.viewbody{
  font-size: 20px;
  margin-bottom: 25px;
  margin-top: 25px;

}

.sidebaritem{
   padding: 10px 12px;
   display: block;
   line-height: 20px;
   -webkit-transition: all 0.15s ease;
   -moz-transition: all 0.15s ease;
   -o-transition: all 0.15s ease;
   -ms-transition: all 0.15s ease;
   transition: all 0.15s ease;
}

.sidebaritem:nth-of-type(odd) {
  background: var(--color-bg-primary);
}

.sidebaritem:hover {
  background: var(--color-bg-hover);
  padding-left: 16px;
}

.bloglink{
  color: #172438;
}

#blogcontent_singlepost a:not(.coolbutton):not(.blogbutton),
.viewbody a:not(.coolbutton):not(.blogbutton) {
  color: var(--color-link);
}

.bloglink:hover{
  color: var(--color-primary);
  text-decoration: none;
}

.maintitle{
  text-align: center;
  font-size: 40px;
}

#blogcontent_singlepost{
  width: 85%;
  margin: auto;
  max-width: 1000px;
}

        /* for mobile */
        @media only screen and (max-width: 850px) {
          #blogsidebar{
            display: none;
          }

          #blogcontent{
            margin-left: 0;
          }

          #blogelements img, .viewbody img{
          float: none !important;
          display: block;
          margin: auto !important;

        }

        .inline img{
        	display: inline-block;
        }

        }
         /* end of for mobile */

.publishdate, .commentscount{
  font-size: 15px;
  font-style: italic;
}

.commentscount{
  text-decoration: underline;
}

.commentscount a{
  color: unset;
}


.file-browse { margin-bottom: 5px; }


.buttonbrowse {
  background-color: cornflowerblue;
  color: white;
  font-weight: 100;
  line-height: 1;
  padding: 0.5em 1em;
}

.button-browse {
    position: relative;
    overflow: hidden;
}
.button-browse input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.form-control {
  border: 1px solid lightgray;
  border-left: 0;
  font-family: sans-serif;
  font-size: .8em;
  line-height: 1.15;
  margin-left: 0;
  margin-top: 0;
  padding: .7em .6em .5em;
}

.commentheader{
  font-size: 25px;
  color: #12708f;
  margin-top: 10px;
}

#composer-container{
  max-width: 500px;
  margin-top: 15px;

}

.comment-composer{
   -webkit-transition: var(--transition-base);
  -moz-transition: var(--transition-base);
  -ms-transition: var(--transition-base);
  -o-transition: var(--transition-base);
  transition: var(--transition-base);
  outline: none;
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid var(--color-border-light);
}

.comment-composer:focus{
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(81, 203, 238, 1);
}

.comment-composer::-webkit-input-placeholder {
font-style: italic;
}

.comment-composer:-moz-placeholder { /* Firefox 18- */
font-style: italic;
}

.comment-composer::-moz-placeholder {  /* Firefox 19+ */
font-style: italic;
}

.comment-composer:-ms-input-placeholder {
font-style: italic;
}

.blogcomment{
  background-color: #e3e1e1;
  border-radius: var(--radius-lg);
  margin: var(--space-md) 0 var(--space-sm) 0;
}

.blogcomment{
  padding: 10px;
  word-break: break-word;
}

.authorname{
  font-weight: bold;
}

.commentdate, .commentdetails{
  font-style: italic;
  font-size: 13px;
  display: block;
  text-align: right;


}

.commentadmin{
 text-align: right;
 font-size: 13px;
 text-decoration: underline;
}

.commentadmin a{
  color: unset;
  float: right;
}

#editcomment{
  max-width:500px;
  margin: auto;
}

.replying {
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
	background-color:#ededed;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	color:#777777;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 30px 6px 15px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
	position: relative;
	text-align: left;
	float: left;
}

.commentreplies{
	margin: 15px 0px 0px 15px;
}

.replycomment{
	font-size: 13px;
	cursor: pointer;
	display: inline-block;
}
