img { max-width: 100%; height:auto;}
.glyphicon { margin-right: 3px; }
table { width: 100%; }
.btn-wrapper { border-top: 1px solid #EEE; padding-top: 25px; margin-top: 15px; }
.required-field { color: #e83232; margin-right: 4px; margin-left: 4px; }
.text-uppercase { text-transform: uppercase; }

.blog-post { background-color: #ffffff; padding: 2% 4% 4%; margin-bottom: 20px; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.blog-post .post-header { margin-bottom: 15px; padding-bottom: 5px; }
.blog-post .post-header .post-title a { text-decoration: none; font-weight: bold; }
.blog-post .post-info { color: #AAA; }
.blog-post .post-info span { margin-right: 7px; }
.blog-post .post-info a { color: #AAA; }
.blog-post .post-footer { margin-top: 30px; padding: 15px; background-color: #eeeeee; min-height: 35px; border-radius: 4px; border: 1px solid #eeeeee; }
.blog-post .post-footer:hover { border-color: #ddd; }
.blog-post .post-rating { height: 21px; max-width: 50%; }
.blog-post .post-rating * { margin: 0; padding: 0; top: 0; line-height: 10px; }
.blog-post .post-rating p { top: 9px; }

.related-posts h3 { }
.related-posts ul li div { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: rgb(136, 136, 136); margin-bottom: 10px; }

#postPaging > div { }
#PostPager { display: block; text-align: center; margin: 0 0 10px; background-color: #ffffff; padding: 4%; margin-bottom: 20px; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
#PostPager li { display: inline-block !important; border: 1px solid #DDD !important; margin: 1px; padding: 5px 7px !important; font-weight: normal; background: #fff; border-radius: 3px; }
#PostPager li a { padding: 2px; text-decoration: none; }
#PostPager .PagerLinkCurrent { color: #fff; padding: 5px 14px; background-color: #0681ea !important; border: 1px solid #0861ea !important; }
#PostPager .PagerLinkCurrent li { padding: 2px !important; }
#PostPager .PagerLinkDisabled { color: #ccc; padding: 5px 14px; background: #fff; border-color: #DDD !important; }
#PostPager .PagerEllipses { border: 0; padding: 2px; }

.navigation-posts a { text-decoration: none; outline: none; }

.widget { background-color: #ffffff; padding: 6%; margin-bottom: 3em; border-radius: 0.4em; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.widget .widget-header { margin: 0 0 1em 0; border-bottom: 1px solid #eeeeee; padding-bottom: 4%; font-weight: bold; }
.widget ul { list-style: none; padding: 0; }
.widget ul li { border-bottom: 1px solid #eee; padding: 0.25em 0; }
.widget ul ul li { border: none; }

.administration .widget-header { margin-bottom: 0 !important; }

.authorlist .widget-header { margin-bottom: 0; }
.authorlist li { }
.authorlist li A.authorlink { margin-left: 5px; }

.bloglist .widget-header { margin-bottom: 0; }

#calendarContainer { text-transform: capitalize; text-align: center; }
.calendar table { width: 100%; text-align: center; }
.calendar td, .calendar table { background-color: #FFF !important; text-align: center; }
.calendar .header { background: none !important; width: auto !important; height: auto !important; }
.calendar .weekend { background-color: #F1F1F1; }
.calendar .other { color: silver; }
.calendar a.exist { display: inline-block; padding: 0 5px; border-radius: 104px; color: #fff; font-weight: normal; background-color: #0681ea; }
.calendar td { vertical-align: top; background: white; }

.categorylist .widget-header { margin-bottom: 0; }
.categorylist ul li a { padding-right: 3px; }
.categorylist ul li img { display:inline-block; margin:0; }

.linklist .widget-header { margin-bottom: 0; }

.monthlist .widget-header { margin-bottom: 0; }
.monthlist li { font-weight: normal; }
.monthlist .year { cursor: pointer; font-weight: bold; }
.monthlist .year li { margin: 0 10px; }
.monthlist ul ul { display: none; }
.monthlist .open { display: block; }

.newsletter input[type=text] { margin-bottom: 15px; }
.newsletter #newsletteraction { color: #00c759; }
.newsletter #newsletterform input[type="text"] { direction: ltr !important; }
.footer .newsletter #newsletterform input[type="text"] { background-color: #333; border-color: #111; color: #CCC; box-shadow: none; }

.pagelist .widget-header { margin-bottom: 0; }

.recentposts .widget-header { margin-bottom: 0; }
.recentposts li { color: #AAA; }
.recentposts li a { margin-right: 4px; display: block; padding-left:4em;}
.recentposts li span { margin-right: 5px; }
.recentposts .post-item-img {width:3em; margin:0;}

.search { padding: 4px; background: #fff; }
.search input[type=text] { background-color: #fff; border: none; padding: 2%; height: 2.5rem; width: 75%; outline: none !important; }
.search input[type=button] { border: none; padding: 0; height: 2.5rem; width: 25%; background-color: #428bca; color: #fff; border-radius: 4px; }
.search input[type=button]:hover { background-color: #3276b1; }

.tagcloud ul li { display: inline-block; margin: 1px; border: none; padding: 3px; }
.tagcloud ul li a { padding: 3px; border-radius: 3px; }
.tagcloud ul li a:hover { background: #0681ea; color: #fff; }
.tagcloud ul li a.biggest { font-size: 120%; }
.tagcloud ul li a.big { font-size: 110%; }
.tagcloud ul li a.medium { font-size: 100%; }
.tagcloud ul li a.small { font-size: 90%; }
.tagcloud ul li a.smallest { font-size: 80%; }

.archive-page .archive-page-content h2 { height: 30px; line-height: 35px; font-weight: bold; }
.archive-page .archive-page-content h2 img { margin: 0 3px; position: relative; top: -2px; }
.archive-page ul { list-style-type: square; margin: 0 10px; padding: 10px; }
.archive-page table { width: 100%; border-collapse: collapse; }
.archive-page table th:first-child { width: 90px; }
.archive-page table th { background: #F1F1F1; font-weight: bold; text-transform: uppercase; border: 1px solid #DDD; padding: 3px; text-align: center; }
.archive-page table td { border: 1px solid #DDD; padding: 3px; }
.archive-page .date { width: 90px; text-align: center; }
.archive-page .comments { width: 70px; text-align: center; }
.archive-page .rating { width: 70px; text-align: center; }

.contact-page { }
.contact-page .required-field[style="visibility:hidden;"] { display: none; }

.search-page .search-page-searchbox { background: #fff; padding: 3px; border-radius: 6px; border: 1px solid #CCC; margin-bottom: 15px; }
.search-page .search-page-searchbox input[type=button] { float: right; width: 20%; border: none; height: 100%; padding: 8px 0; }
.search-page .search-page-searchbox input[type=text] { border: none; width: 76%; border-radius: 3px; padding: 4px 1%; outline:none !important; }
.search-page .searchresult { border-bottom: 1px dotted #CCC; padding: 10px 0; }
.search-page .searchresult a { font-weight: normal; }
.search-page .searchresult span.text { clear: both; line-height: 35px; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
.search-page .searchresult span.type { display: none; }
.search-page .searchresult span.url { color: #00802a; }
.search-page .searchpage ul.paging { list-style-type: none; margin: 20px auto; padding: 0px; text-align: center; display: block; }
.search-page .searchpage ul.paging li { display: inline-block; width: 30px; text-align: center; height: 30px; border: 1px solid #CCC; background: #FFF; margin-right: 2px; }
.search-page .searchpage ul.paging li a { display: block; height: 100%; line-height: 30px; }
.search-page .searchpage ul.paging li.active { border-width: 1px; border-style: solid; }
.search-page .searchpage ul.paging li.active A { color: #FFF; }

.syntaxhighlighter { padding: 15px 3px; direction: ltr !important; }
.syntaxhighlighter .alt1 { background: #d6ebff !important; }
.syntaxhighlighter .line { line-height: 20px !important; background: #CCC !important; }
.syntaxhighlighter .container textarea { line-height: 20px !important; }
.syntaxhighlighter table td.code .container { top: -15px !important; }

#q-notes { height: 0; }
#q-notes .q-tab { height: 0; }
#q-notes #q-toggle { padding: 0; width: 40px; height: 30px; text-align: center; background-color: #fff; border: 2px solid #DDD; border-top: none; position: relative; top: -2px; margin-right: 5px; z-index: 1000; }
#q-notes #q-toggle a { padding: 0 !important; margin: 0 !important; float: none !important; }
#q-notes * { -moz-border-radius: 0 !important; -webkit-border-radius: 0 !important; border-radius: 0 !important; }
#q-notes input[type=text],
#q-notes select { padding: 5px !important; width: 200px; }
#q-notes #q-listbox { width: 100% !important; }
#q-notes input[type=submit] { background-color: #428bca !important; color: #fff; border: none !important; font-weight: normal !important; border-radius: 3px !important; }
#q-panel {height:180px ;}

@media screen and (max-width:767px) {
    .header .title-wrapper { padding: 25px 0 30px; }
    .header .title-wrapper .logo { display: none; }
    .header .title-wrapper .pull-left,
    .header .title-wrapper .pull-right { float: none !important; text-align: center; margin: 0; padding: 0; }
    .header .title-wrapper hgroup { height: auto; margin-bottom: 10px; }
    #q-notes { display: none !important; }
    .header .nav > li  {border-bottom:1px solid #333;}
    .header .nav > li.page-menu {width:100%; position:relative;} 
    .header .nav > li.page-menu .dropdown-toggle {float:right !important; position:absolute; right:0; top:0;}
    .header .nav > li.page-menu .dropdown-m {float:none !important;}
}

@media screen and (max-width:640px) {
    .post .post-info .post-author, .post .post-info .post-comment-link, .archive-page .rating, .archive-page .comments, .navigation-posts { display: none; }
    .widgets-footer .widget { margin: 0; float: none; width: 100%; }
    .footer .end-line { min-height: auto; line-height: 25px; padding: 10px 50px; }
}

@media screen and (max-width:480px) {
    .widgets-footer { display: none; }
    .comment-gravatar { display: none; }
}