/* global style. */
body{background-color: #2e353f;  color: #2e353f;}

a,a.card:hover, .card:hover a,.items>.item:hover a, .items>.item:hover>.item-heading>.pull-right>a, .items>.item:hover>.item-footer>a,#footNav a:hover{color: #da3b26; -webkit-transition: 0.25s; -moz-transition: 0.25s; -o-transition: 0.25s; transition: 0.25s; -webkit-backface-visibility: hidden;}
a:hover,a:active{color: #da3b26;}

/* header */
#siteName{color: #fff}

/* headNav. */
#headNav{top: 30%; background-color: #808080; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;color: #f1f1f1;}
#headNav .login-msg{display: inline-block; padding-left: 15px; color: #f1f1f1;}
#headNav nav > a, #msgBox{color: #f1f1f1; display: inline-block; padding: 10px 15px; margin: 0; background-color: #808080; -moz-border-radius:6px; -webkit-border-radius:6px; border-radius:6px; -webkit-transition:background 0.5s; -moz-transition:background 0.5s; -o-transition:background 0.5s; transition:background 0.5s;border-radius: 0}
#headNav nav > a:first-child{padding-left: 20px; -moz-border-radius:2px 0 0 2px; -webkit-border-radius:2px 0 0 2px; border-radius:2px 0 0 2px; }
#headNav nav > a:last-child,#headNav span:last-child > a {padding-right: 20px; -moz-border-radius:0 2px 2px 0; -webkit-border-radius:0 2px 2px 0; border-radius:0 2px 2px 0;}
#headNav .login-msg:after, #headNav nav > a:after, #msgBox:after{display: none;}
#msgBox a {color: #f1f1f1}
#headNav .caret{border-top-color: #f1f1f1; border-bottom-color: #f1f1f1;}
#headNav .dropdown-menu a {display: block;background-color: #fff;color: #333;}
#headNav a:hover{background-color: #da3b26; color: #fff; text-decoration: none; -webkit-transition:background 0.5s; -moz-transition:background 0.5s; -o-transition:background 0.5s; transition:background 0.5s;}
#headNav nav > a:hover, #msgBox:hover,#msgBox:hover a{background-color: #DA3B26; color: #fff; text-decoration: none; -webkit-transition:background 0.5s; -moz-transition:background 0.5s; -o-transition:background 0.5s; transition:background 0.5s;}

/* navbar */
#navbar{background: #808080;border-radius: 2px;border: none;}
@media (min-width: 768px){#navbar .nav > li {display: block; float: left; width: auto;}@-moz-document url-prefix(){#navbar .nav > li{position: inherit;}}}
@media (max-width: 767px)
{
  #navbar .nav > li > a { border-radius: 2px !important}
  #navbar .navbar-nav{margin:10px 0}
  #navbar .navbar-brand{color: #fff}
  #navbar .navbar-toggle:hover{background-color: #da3b26;border-color: #da3b26;color: #fff}
  #navbar .navbar-toggle:hover .icon-bar,#navbar .navbar-toggle:focus .icon-bar,#navbar .navbar-toggle.collapsed .icon-bar{background-color: #fff}
}
#navbar ul.nav > li > a,#navbar ul.nav > li > ul > li > a,#navbar ul.nav > li > ul > li > ul > li > a{color: #f1f1f1; border:none; background: #808080;}
#navbar ul.nav > li > a{padding-left: 5px\0;padding-right: 5px\0;}
#navbar ul.nav > li > a:hover,#navbar ul.nav > li > ul > li > a:hover,#navbar ul.nav > li > ul > li > ul > li > a:hover{background: #da3b26;color: #fff;box-shadow: none;}
#navbar ul.nav >li.active>a,#navbar ul.nav >li.active>a:hover,#navbar ul.nav >li.active>a:focus{background: #C9C9C9;color: #da3b26}
#navbar .caret{border-top-color: #f1f1f1; border-bottom-color: #f1f1f1;}
#navbar .nav > li:last-child > a {border-radius: 0}
#navbar .nav > li:first-child > a {border-left-color:transparent;-webkit-border-top-left-radius:2px; -webkit-border-bottom-left-radius:2px; -moz-border-radius-topleft:6px; -moz-border-radius-bottomleft:6px; border-top-left-radius:2px; border-bottom-left-radius:2px;}
#navbar .nav > li > ul, #navbar .nav > li > ul > li > ul{padding: 5px;}
#navbar .nav > li > ul > li > a, #navbar .nav > li > ul > li > ul > li > a{border-radius: 2px}
#navbar .dropdown-menu{background-color: #808080;color: #f1f1f1;margin-top: -2px;border-radius: 2px;border-color: #808080}
#navbar .dropdown-submenu:hover>a:after {border-left-color: #fff;}

/* carousel. */
.carousel-inner,.carousel .item,.carousel img,.carousel-control{-moz-border-radius: 2px !important;-webkit-border-radius: 2px !important;border-radius: 2px !important;}

/* Panel. */
.panel,.list,.page-wrapper .list,#focus .panel-block,#focus .panel-block:hover,#footer,#links,.page-wrapper .article {border-radius: 2px;background: #ECF0F5;border:none;}
.panel > .panel-heading, .nav-stacked.nav-primary>li.nav-heading, .list > header,.page-wrapper .list > header ,.panel-block > .panel-heading,#focus .panel-block .panel-heading,#focus .panel-block:hover .panel-heading{background: #c9c9c9;color: #555;border: none;-moz-border-radius:2px 6px 0 0; -webkit-border-radius:2px 6px 0 0; border-radius:2px 6px 0 0;}
.panel > .panel-heading .text-muted{color: #95A5A6}
.panel.panel-pure .panel-heading{background-color: transparent; color: #666;border-bottom: 1px solid #c9c9c9}
.panel .treeview .hitarea{background-color: #ECF0F5!important}
.panel .tree > li > ul li:last-child:after{border-left-color: #ECF0F5!important}
.panel-block .panel-body > .ul-list > li > .pull-right {background: #EDEFF1}

/* text */
.text-muted{color: #666}

/* buttons. */
.btn{border: none; padding: 7px 12px; -webkit-transition: 0.25s linear; -moz-transition: 0.25s linear; -o-transition: 0.25s linear; transition: 0.25s linear; -webkit-backface-visibility: hidden; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;border-radius: 2px}
.btn-primary{background: #2E353F;}
.btn-primary:hover{background: #da3b26;}
.btn-default{color: #f1f1f1; background: #2C3E50;}
.btn-default:hover{color: #fff; background: #da3b26;}

/*form controls.*/
.ke-container, .form-control{border: 1px solid #bdc3c7; font-family: 'Lato', Helvetica, Arial, sans-serif; font-size: 15px; padding: 6px 12px; height: 36px; -webkit-appearance: none; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;-webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; -webkit-transition: border .25s linear, color .25s linear, background-color .25s linear; -moz-transition: border .25s linear, color .25s linear, background-color .25s linear; -o-transition: border .25s linear, color .25s linear, background-color .25s linear; transition: border .25s linear, color .25s linear, background-color .25s linear; -webkit-backface-visibility: hidden;}
textarea{height: auto;}
.ke-container,.chosen-choices{border: 1px solid #bdc3c7 !important; height: auto;}
.chosen-container-active .chosen-choices{border-color: #da3b26 !important;}
.form-control:focus,.form-control:hover,.form-control:active,.ke-container.focus{border-color: #da3b26!important; outline: 0; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none!important;}

/* table. */
.table td,.table th{background: #ECF0F5; border: none;}
.table caption{background: #BDC3C7; height: 45px; padding: 2px 15px;}
.table-hover>tbody>tr:hover>td, .table-hover>tbody>tr:hover>th{background-color: #f4f8fc}
.table.table-hover tr td:first-child{padding-left: 1em;}
.table tr:last-child td,.table{-webkit-border-bottom-left-radius:2px; -webkit-border-bottom-right-radius:2px; -moz-border-radius-bottomleft:2px; -moz-border-radius-bottomright:2px; border-bottom-left-radius:2px; border-bottom-right-radius:2px;}
.table-form tr:last-child td{padding-bottom: 20px;}
.table-form tr:first-child td{padding-top: 20px;}
.speaker{border-right: 1px solid #DDD!important;}
.thread-wrapper .article-files{background-color: transparent;}

/* .nav */
.nav>li>a:hover, .nav>li>a:focus{background-color: #f4f8fc}
.nav-primary {border-radius: 2px;overflow: hidden;}
.nav-primary > li > a{color: #da3b26; background:#EDEFF1;border-color: ##BDC3C7;border-left: 0;border-right:0;border-radius: 2px}
.nav-primary > li:hover > a{color: #fff;background-color: #808080;border-color: #808080;box-shadow: none;}
.nav-stacked.nav-primary>li.active>a, .nav-stacked.nav-primary>li.active>a:hover, .nav-stacked.nav-primary>li.active>a:focus{color: #f1f1f1;background-color: #da3b26;border-color: #da3b26;box-shadow: none;}

/* pager */
.pager > li > a{background-color: #da3b26;color: #f1f1f1;border:none;margin-right: 10px;}
.pager > li.next > a{margin-right: 0;}
.pager.pager-justify > li > a {border-radius: 16px}
.pager > li > a:hover{background-color: #da3b26;color: #fff}
.pager > li:last-child > a{margin: 0;}

/* article */
.page-wrapper .article > header > dl{background-color: transparent;}
.article>header>.abstract, .article>header>dl{border-radius: 2px}
.page-wrapper .article > header > .abstract{background-color:#808080;color: #f1f1f1;padding: 10px 15px;}
.page-wrapper .article .article-content{background-color: #fff;border-radius: 2px;padding:15px;}
.page-wrapper .article > footer >p {padding-left: 0}
.page-wrapper .article .article-files{padding: 0;}

/* .nav-content */
.nav-content{background-color: #808080!important;color: #f1f1f1!important;border:none!important;}
.nav-content > li > a{text-shadow: none!important;color: #f1f1f1!important;}
.nav-content > li > a:hover{background-color: #da3b26;color: #fff;}

/* forum */
.thread.panel{border-color:#C9C9C9!important; box-shadow: none!important;}
.thread .panel-heading{background: #C9C9C9!important;color: #555!important;}

/* poweredby */
#powerby:hover {background-color: #808080;border-color: #777}

/* tree */
.tree li:before {color: #C9C9C9;}
.sitemap-tree > h4 {background-color: #C9C9C9!important}
.treeview .hitarea:before {color: #aaa!important}
.treeview li:hover .hitarea:before {color: #DA3B26!important}

/* dropdown */
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus{color: #DA3B26;}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus{color: #DA3B26; box-shadow: none;}

/* responsive for mobile devices */
@media (max-width: 767px)
{
  #headNav {border-radius: 0; background-color: #808080}
  #headNav nav > a, #msgBox {padding: 2px 5px; border-radius: 0}
}
