/*
  Main Stylesheet
===================================================*/

@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 400;
  src: local('Muli'), url(../fonts/muli.woff2) format('woff2'), url(../fonts/muli.woff) format('woff');
}

@font-face {
  font-family: 'Muli';
  font-style: italic;
  font-weight: 400;
  src: local('Muli Italic'), local('Muli-Italic'), url(../fonts/muli-italic.woff2) format('woff2'), url(../fonts/muli-italic.woff) format('woff');
}

@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 700;
  src: local('Muli Bold'), local('Muli-Bold'), url(../fonts/muli-bold700.woff2) format('woff2'), url(../fonts/muli-bold700.woff) format('woff');
}

/* cyrillic-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/oswald-cyrillic-ext-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/oswald-cyrillic-400.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/oswald-vietnamese-400.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/oswald-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/oswald-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  font-family: "Muli", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #555;
  background: #f9f9f9 url(../images/bg.png) fixed;
}

a {
  color: #02798E;
}

.clear {
  display: none;
}

img {
  border: 0;
}

.msw-red {
  color: #f66f66;
}

.msw-green {
  color: green;
}

.msw-light {
  color: #CFDBC5;
}

.panel {
  box-shadow: none !important;
}

.panel-body img {
  max-width:100%;
}

.mainmswarea .panel {
  box-shadow: none !important;
  border-width: 1px !important;
}

.mainmswarea .panel .panel-heading {
  background: #f5f5f5 url(../images/panel-bg.png) !important;
}

.margin-top-container,.offlinearea {
  margin-top: 50px;
}

/* Spinners */
.msw-box-spinner {
  background: url(../images/animated/spin-small.gif) no-repeat 95% 50% !important;
}

.msw-box-spinner-left {
  background: #fff url(../images/animated/spin-small.gif) no-repeat 2% 50% !important;
}

.msw-box-spinner-right {
  background: #fff url(../images/animated/spin-small.gif) no-repeat 95% 50% !important;
}

.errcontainer {
  margin-top: 50px;
}

.errheader {
  text-transform: uppercase;
  font-size: 15px;
  font-weight: bold;
}

.errfooter {
  text-align: center;
}

.errfooter a:first-child {
  margin-right: 20px;
}

footer {
  border-top: 2px solid #ddd;
  background: #fcfcfc url(../images/footer-bg.png);
  text-align: center;
  padding: 30px 0 30px 0;
  font-size: 12px !important;
  position:relative;
  bottom:0;
  width:100%;
}

footer a {
  color: #555;
}

.mswcursor_p {
  cursor: pointer;
}

/* Video */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border:0 !important;
}

.toppagebar {
  color: #555;
  text-align: center;
  padding: 10px;
  font-weight: 400;
  background: #f5f5f5 url(../images/panel-bg.png) !important;
  font-size: 20px;
  text-transform: uppercase;
  border-bottom: 2px solid #c0c0c0;
  font-family: 'Oswald', sans-serif;
}

.btn-primary {
  background: #008097;
  border: 1px solid #008097;
}

.btn-primary:focus {
  background: #008ea8;
}

.btn-primary:hover {
  background: #008ea8;
}

h4 {
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  color: #555;
  font-family: 'Oswald', sans-serif;
}

.toppagebar a {
  color: #555;
}

.navbar {
  background: #008097 url(../images/nav-bg.png);
  color: #fff;
  border: 0;
  border-bottom: 3px solid #c0c0c0;
  border-radius: 0;
  padding: 8px 0 8px 0;
}

.navbar-default,
.navbar-default {
  border-radius: 0;
}

.navbar .container .fa-bars, .navbar .container .fa-chevron-left {
  font-size: 28px;
  cursor: pointer;
  margin-right: 20px;
  display: inline-block;
  color: #ececec;
}

.navbar a {
  color: #fff;
  font-size: 21px;
  text-shadow: #000 1px 1px;
  text-transform: uppercase;
}

.navbar .row div.leftblock {
  padding-top: 3px;
  font-weight: 400;
  font-family: 'Oswald', sans-serif;
}

.navbar .form-group {
  margin: 0;
  padding: 0;
}

.navbar .input-group {
  border: 1px solid #555 !important;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.navbar .input-group-addon {
  background: #f5f5f5 url(../images/panel-bg.png) !important;
}

.navbar .form-control {
  border: 0;
  border-right: 1px solid #ddd;
}

.navbar .input-group-addon {
  border: 0 !important;
}

.right-panel-boxes .panel-body {
  line-height: 25px;
  font-size: 14px;
}

.right-panel-boxes .mswcalendar {
  font-size: 12px;
}

.right-panel-boxes .panel-body a {
  color: #555;
}

/* Calendar */
.mswcalendar .head_weekend {
  font-weight: bold;
}

.cal_search_area {
  background: #F6F6F6;
  padding:10px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-top:15px;
}

.jcalendar_search select {
  margin-bottom: 5px;
}

.jcalendar_search .calclose {
  margin-right: 10px;
}

.mswcalendar .spin {
  background: url(../images/animated/spin-small.gif) no-repeat center center;
}

.mswcalendar .table {
  margin: 0;
  padding: 0;
  color: #888;
}

.mswcalendar .jmonthyear {
  cursor: pointer;
}

.mswcalendar .cal_nav {
  margin: 15px 0 0 0 !important;
  font-size: 1.2em;
  text-transform: uppercase;
  background:#F6F6F6;
  padding:10px;
  font-family: 'Oswald', sans-serif;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.mswcalendar .cal_nav i {
  font-size: 1.3em;
}

.mswcalendar .cal_nav div:first-child {
  padding: 0;
}

.mswcalendar th {
  text-align: center;
}

.mswcalendar td {
  text-align: center;
  border:1px solid #F5F5F5;
}

.mswcalendar td:hover {
  background: #f9f9f9;
}

.mswcalendar td a {
  color: #555;
  font-weight: bold;
  text-decoration: underline;
}

.mswcalendar td a:hover {
  text-decoration: none;
}

.mswcalendar .next_month_day, .mswcalendar .last_month_day {
  color: #ddd;
}

.mswcalendar .today,.mswcalendar .today:hover {
  background: #008097;
  opacity:0.5;
  font-weight: bold;
  color: #fff;
}

.mswcalendar .today a {
  color: #fff;
}

.calresetpanel {
  text-align: center !important;
  font-size: 12px;
  padding: 5px 0 5px 0;
  font-style: italic;
  color: #555;
}

.calresetpanel a {
  color: #555;
}

/* Category */
h1 {
  font-size: 20px;
  margin: 0;
  padding: 5px 0 10px 5px;
  color: #555;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  font-weight: 400;
  font-family: 'Oswald', sans-serif;
}

/* Journal */
.postedby {
  font-size: 12px;
  font-style: italic;
}

.tags .panel-body {
  font-size: 12px;
}

.journalarea h2,.journalpagearea h2 {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 24px;
  color: #555;
  font-family: 'Oswald', sans-serif;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 20px;
  margin-top: 40px;
}

.journalarea h2 a,.journalpagearea h2 a {
  color: #555;
}

.journalarea h2 i, .journalpagearea h2 i {
  opacity: 0.7;
}

.journalarea:first-child h2,.journalpagearea h2 {
  margin-top: 20px;
}

.journalarea .info,
.journalpagearea .info {
  padding: 10px;
  background: #F5F5F5;
  font-size: 13px;
  font-style: italic;
  margin-bottom: 10px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.journalpagearea .info {
  line-height: 25px;
}

.journalarea .pinned {
  margin-left: 10px;
}

.journalarea .privjnl {
  margin-left: 10px;
}

.journalarea .panel-body img {
  max-width:100%;
}

.recentjournalarea div, .journalfooterarea .journals div {
  border-bottom: 1px dashed #ddd;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.recentjournalarea div:last-child, .journalfooterarea .journals div:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.journalfooterarea .journals div span.info {
  display: block;
  margin-top: 10px;
  text-align: right;
  font-size: 12px;
  background: #fff;
  padding: 2px 10px 2px 10px;
  font-style: italic;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  line-height:18px;
}

.recentjournalarea div span.info {
  display: block;
  margin-top: 10px;
  text-align: right;
  font-size: 12px;
  background: #f6f6f6;
  padding: 2px 10px 2px 10px;
  font-style: italic;
  border-right:3px solid #DADADA;
  -webkit-border-radius: 5px 0 0 5px;
  border-radius: 5px 0 0 5px;
  line-height:18px;
}

.journalfooterarea .journals div span.info {
  padding:10px;
}

.privatejournalarea .panel-body {
  color: red;
}

.privatejournalarea .panel-body a {
  font-weight: bold;
  text-decoration: underline;
  color: #555;
}

.menuboxarea .panel-heading,.newpagearea .panel-heading,
.windowPanel .panel-heading {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 15px;
  color: #555;
  font-family: 'Oswald', sans-serif;
}

.journalarea .smalldate {
  display: block;
  margin-top: 5px;
}

.journalarea p {
  padding: 0;
  margin: 0;
}

/* Pages */
.mswpages,.pagination {
  text-align: right !important;
  padding: 0 !important;
  margin: 0 0 30px 0 !important;
}

.pagination li.active a {
  background: #02798E !important;
  border: 1px solid #555 !important;
}

/* Footer Bar */
.footbar {
  border-top: 2px solid #ddd;
  padding: 20px;
  margin-top: 30px;
}

.footbar .row div {
  line-height: 35px;
}

.footbar .row div:first-child a {
  font-size: 15px;
}

.footbar .row div:first-child .info a {
  font-size: 13px;
}

.footbar .row div:first-child i {
  color: #555;
}

.footbar .social h2 {
  margin-top:20px;
}

.footbar .social h2:first-child {
  margin-top:0;
}

.footbar .social .social_links i {
  font-size: 28px;
  color: #02798E;
}

.footbar .social .social_links i:hover {
  color: #555;
}

.footbar .social .row {
  padding-top: 20px;
}

.footbar .social .social_links {
  padding:10px 0 0 8px;
}

.footbar .social .staff {
  padding:15px;
}

.footbar .social .staff p {
  margin:0;
  padding:0;
  line-height:25px;
}

.footbar .social .staff p span {
  font-style:italic;
  font-size: 13px;
}

.footbar h2 {
  padding: 0;
  margin: 0 0 20px 5px;
  font-size: 18px;
  text-transform: uppercase;
  color: #555;
  font-weight: 400;
  font-family: 'Oswald', sans-serif;
}

/* Captcha Image */
.capimg img {
  cursor: pointer;
  margin-bottom: 10px;
  border: 1px dashed #ccc;
  padding: 1px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
  background: #008097;
}

.viewcount {
  font-style:italic;
  font-size: 12px;
  padding-right:10px;
}

.right-panel-boxes .panel-body img {
  width:100%;
}

.loading-bottom {
  background: #00788E;
  height: 15px;
  line-height: 15px;
  width: 100%;
  position: fixed;
  z-index: 99999999;
  left: 0px;
  bottom: 0px;
  text-align: center;
  color: #ffffff;
  left: -100%;
  opacity: 0;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}
.loading-text-img {
  display: none;
  background: url(../images/animated/balls.gif) center center no-repeat;
}

/* Comments */
h2.comments {
  font-size: 16px;
  margin: 0;
  padding: 5px 0 10px 5px;
  color: #555;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  font-weight: 400;
  font-family: 'Oswald', sans-serif;
}
h2.comments .add {
  float:right;
  max-width:70%;
  overflow:hidden;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.commentarea .comment {
  border-bottom:1px dashed #ddd;
  padding-bottom:10px;
}
.commentarea .comment:last-child {
  border-bottom:0;
}
.commentarea .comment .comm {
  padding-top:15px;
}
.commentarea .comment:first-child .comm {
  padding-top:0;
}
.commentarea .comment .miniview {
  display: block;
  display: -webkit-box;
  height: 4.9em;
  line-height: 1.3em;
  line-clamp: 2;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.commentarea .add {
  text-align:right;
  margin-bottom:10px;
}
.commentarea .comment .user {
  text-align:right;
  font-size: 13px;
  font-style:italic;
  color:#00788E;
  margin-top:17px;
  background:#F6F6F6;
  padding:10px;
  border-right:3px solid #DADADA;
  -webkit-border-radius: 5px 0 0 5px;
  border-radius: 5px 0 0 5px;
}
.commentarea .comment .fa-quote-left {
  opacity:0.5;
  float:left;
  margin-right:2px;
}
.commentarea .comment .fa-user {
  opacity:0.5;
}
.commentarea [data-view-comment] {
  margin-right:25px;
  cursor:pointer;
}
.commentarea [data-view-comment]:hover {
  color:#555;
}
[data-expand-comments] {
  cursor:pointer;
}

.comment_pagination_wrapper {
  text-align:right;
}

.comment_pagination {
  display: inline-block;
  margin-top:-10px;
}

.comment_pagination .comment_page {
  color: #555;
  font-size:12px;
  float: left;
  padding: 3px 7px;
  text-decoration: none;
  border: 1px solid #ddd;
  margin: 0 1px 1px 0;
  cursor:pointer;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  opacity:0.8;
}

.comment_pagination .comment_page:hover {
  background:#eee;
  opacity:1.0;
}

.comment_pagination .activepage {
  background:#eee; 
  opacity:1.0; 
  font-weight:bold;
}

.commentarea .nothing {
  text-align:center !important;
  font-style:italic !important;
}

p.comment_link {
  margin-top:4px;
}

.journalpagearea p.comment_link {
  margin-top:0;
  padding-bottom:0;
  margin-bottom:0;
}

/* Comments window */

.windowPanel .row-fluid .alert-danger {
  font-style:italic;
}

.comment_message {
  text-align:center;
  padding:30px;
  border: 2px dashed #ddd;
  margin: 0 1px 1px 0;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

.comment_message p:nth-child(1) i {
  color: green;
  font-size:70px;
}

/* For higher res monitors use more screen space */
@media (min-width: 1200px) {
  .mainmswarea, .footbar .container {
    width:98%;
  }
  .navbar-inner {
    width:100%;
  }
  .navbar-inner .container {
    width:98%;
  }
}

.social_shares {
  padding:10px;
  border:1px solid #ddd;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-bottom:20px;
  height:55px;
}

.a2a_default_style {
  float:right;
}

a[class^="a2a_"] {
  color:#0166ff
}