
/** Text **/

.master h1,
.empty {
    font-size: 30px;
}

.master h2,
.emtpy h2 {
    font-size: 24px;
}

.Message h1,
.Message h2,
.Message h3 {
    margin: 20px 0 10px;
}

.Message h3 {
    font-size: 18px;
}




/** Forms **/

.FormWrapper {
    background: none;
    padding: 0;
}

.Errors ul {
    border: 1px solid #ebccd1 !important;
    background-color: #f2dede !important;
    color: #a94442;
}

.Errors ul li {
    background: none !important;
    color: inherit !important;
    font-size: 14px;
}

.system-message {
    border-radius: 4px;
    padding: 10px 25px 10px 10px;
    font-size: 12px;
    margin: 20px 0 0;
}

.CasualMessage {
    background-color: #d9edf7;
    border-color: #bce4f1;
    color: #31708f;
}

.WarningMessage {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.AlertMessage {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}

.system-message a.Dismiss {
    top: 10px;
    right: 5px;
    color: #AAA;
}

.system-message a.Dismiss:hover {
    background: none;
    color: #000;
}

.TextBox,
input.InputBox,
.BodyBox {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.TextBox:focus,
input.InputBox:focus,
.BodyBox:focus {
    background: #FFF;
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.Attachment .FilePreview {
    border: 1px solid #DDD;
    padding: 2px;
    border-radius: 2px;
}

.Attachment:hover .FileHover {
    border: 1px solid #DDD;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0px 2px 10px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0px 2px 5px rgba(0,0,0,.3);
}

.Attachment:hover .FileHover img {
    border: 1px solid #DDD;
    padding: 2px;
    border-radius: 2px;
}



/** Links & Buttons **/

a {
    font-weight: normal;
}

.Button-EditProfile .Sprite {
    display: none;
}

.Button-EditProfile,
.Button {
    background: #0291db;
    border: none;
    color: #fff;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border-radius: 4px;
    text-shadow: none;
    box-shadow: none;
}

.Button-EditProfile:hover,
.Button-EditProfile:active,
.Button-EditProfile:focus,
.Button:hover,
.Button:active,
.Button:focus {
    color: #fff;
    background-color: #286090;
    text-decoration: none;
}

.Button-EditProfile:active:focus,
.Button-EditProfile:active:hover,
.Button:active:focus,
.Button:active:hover {
    background-color: #204d74;
}

.MenuItems a,
.MenuItems a:link {
    color: #0291db !important;
    font-size: 12px;
}

.MenuItems a:hover {
    color: #FFF !important;
    background-color: #0291db !important;
}



/** Search Box **/

.search-form {
    background-color: #EBEBEB;
    padding: 15px;
}

.search-form .form-control {
    width: 85%;
    float: left;
}

.search-form .btn-primary {
    float: right;
}



.master main .dropdown {
    padding: 0;
}

.master main .dropdown-menu {
    position: absolute;
}



/** Sub Nav **/

.forum-logo {
    float: left;
}

.forum-subnav {
    margin-top: 27px;
    font-size: 12px;
    float: right;
}

.forum-subnav .sign-in,
.forum-subnav .register,
.forum-subnav .new-discussion {
    display: none;
}

.forum-subnav .btn-group {
    margin-left: 15px;
}

.forum-subnav .Username {
    font-size: 12px;
    color: #0291db;
}

.forum-subnav .dropdown-menu {
    min-width: 125px;
}

.forum-subnav .dropdown-menu .divider {
    margin: 5px 0;
}

.forum-subnav .dropdown-menu a {
    color: #0291db;
    font-size: 12px;
    padding: 4px 10px;
}

.forum-subnav .dropdown-menu a:hover {
    color: #FFF;
    background-color: #0291db;
}

.forum-subnav .dropdown-toggle {
    font-size: 14px;
    padding: 5px 8px 4px;
    color: #AAA;
}

.forum-subnav .dropdown-toggle:hover {
    color: #000;
}

.forum-subnav > a {
    margin-left: 15px;
    display: inline-block;
    padding: 6px 0;
}




/** Sidebar **/

.sidebar .NewDiscussion {
    width: 100%;
}

.sidebar .BoxButtons {
    margin-top: 20px;
}

.FilterMenu {
    margin-top: 20px;
}
    
.PanelInfo li:first-child {
    border: none;
}

.FilterMenu li {
    padding: 10px 0;
    padding: 5px 0;
    border-top: 1px solid #CCC;
    border: none;
}

.FilterMenu .Aside {
    float: right;
}

.BoxCategories li {
    border-top: 1px solid #CCC;
    border-bottom: none;
    border: none;
    margin: 0;
    padding: 10px 0;
    padding: 5px 0;
}

.PanelInfo .Active {
    background: none;
}

.GuestBox .btn {
    width: 45%;
}

.GuestBox .SignInPopup {
    margin-right: 5%
}



/** Discussion List **/

.Discussions .HomepageTitle {
    float: left;
}

.PageDescription {
    display: none;
}

.PageControls {
    float: right;
}

.PageControls.Top {
    margin-top: 31px;
}

.Discussions {
    clear: both;
}

.PageControls .PagerNub, .PageControls .BoxButtons {
    display: none;
}



/** Discussion List Items **/

.Discussions .Item {
    padding: 10px 8px;
}

.Discussions .Title {
    font-size: 18px;
}

.Discussions .Closed .Title a {
    background: url("./lock.png") no-repeat 0 4px;
    padding-left: 17px;
}

.Discussions .Item .Category a {
    color: #FFF;
    padding: 4px;
}

.Discussions .Item .Category {
    float: left;
    background-color: #023e7b;
    border-radius: 2px;
    margin: 0 8px 0 0;
}

.Discussions .Item .Tag {
    display: none;
}

.Discussions .Item .Meta {
    margin-top: 5px;
    color: #999;
    font-size: 12px;
}

a.Bookmark {
    background: url("./icon-bookmark-off.png") no-repeat 0 0;
    width: 15px;
    height: 15px;
}

a.Bookmark:hover {
    background: url("./icon-bookmark-hover.png") no-repeat 0 0;
}

a.Bookmarked {
    background: url("./icon-bookmark-on.png") no-repeat 0 0;
}

.Item.Read {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    background-color: #F6F6F6;
}



/** Thread **/

.Discussion .PageTitle h1 {
    font-size: 30px;
    line-height: 1.1;
}

.Discussion .ItemDiscussion .Message {
    font-size: inherit;
}

.Item .Author a {
    font-size: inherit;
    font-weight: normal;
}

.Discussion .ItemComment {
    padding: 25px 8px;
    border-color: #DDD;
}

.Discussion .Item-BodyWrap {
    clear: both;
    margin-top: 15px;
}

.Discussion .Message code {
    background-color: #333;
    border: none;
    color: #FFF;
    padding: 15px;
    font-size: 14px;
    display: block;
}

.Discussion .ItemComment .Reactions {
    display: none;
}

.Discussion .CommentHeading {
    padding-bottom: 5px;
    margin-bottom: 0;
    border-bottom: 1px solid #DDD;
}

.SearchResults .Item,
.Discussion .ItemDiscussion,
.Discussion .ItemComment {
    max-width: 650px;
}



/** Comment Form **/

.CommentForm {
    background-color: #EBEBEB;
    padding: 15px;
    margin-top: 20px;
}

.CommentForm h2 {
    margin-top: 0;
}

.CommentForm .FormWrapper {
    padding: 0;
}



/** Profile **/

.Profile main .BoxFilter {
    display: none;
}

.ProfileOptions {
    margin-top: 10px;
}

.Profile .SideMenu {
    margin-top: 15px;
}

.Profile .SideMenu li {
    padding: 5px 0;
    border: none;
}

.-EditProfile .NavButton {
    border: 1px solid #CCC;
    background: #FFF;
    box-shadow: none;
    text-shadow: none;
}

.-EditProfile .NavButton:hover {
    text-decoration: none;
    background-color: #E6E6E6;
}

.-EditProfile .NavButton:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    border-color: #ADADAD;
}

.-EditProfile .NavButton:focus {
    text-decoration: none;
}

.-EditProfile .NavButton:active:focus {
    background-color: #d4d4d4;
    border-color: #8c8c8c;
}

.-EditProfile .NavButton .SpEditProfile {
    background: url("./icon-person.png") no-repeat 0 0;
}

.-EditProfile .NavButton:hover .SpEditProfile {
    background: url("./icon-person-hover.png") no-repeat 0 0;
}

.-EditProfile .NavButton .SpDropdownHandle {
    margin-top: -8px;
    border: none;
    width: 10px;
    height: 7px;
    background: url("./icon-caret-down.png") no-repeat 0 0;
}

.-EditProfile .NavButton:hover .SpDropdownHandle {
    background: url("./icon-caret-down-hover.png") no-repeat 0 0;
}

.Profile .CurrentPicture .Button {
    margin-top: 5px;
}



/** Modal **/

.Overlay {
    background: none;
    background: rgba(0,0,0,.5);
}

.Overlay .Border {
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    padding: 0;
    background: none;
}

.Overlay .Border .Body {
    padding: 15px 20px 20px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,.2);
}

.Overlay .Close {
    color: #AAA;
}

.Overlay .Close:hover {
    text-decoration: none;
    color: #000;
}



/** Sign In **/

.sign-in-form {
    background: none;
    width: 350px;
    padding: 0;
}

.sign-in-form .ForgotPassword {
    margin-left: 0;
}

.sign-in-form .btn-primary + label {
    font-weight: normal;
}

.sign-in-form li {
    margin-top: 15px;
}

.sign-in-form li:first-child {
    margin-top: 0;
}

.sign-in-form #Form_Password,
.sign-in-form #Form_Email1 {
    margin-bottom: 3px;
}

.sign-in-form #Form_SignIn {
    margin: 15px 0;
}

.sign-in-form #Form_Requestanewpassword {
    margin: 15px 0 0;
}



/** Sign In Page **/

.signin .FormTitleWrapper {
    width: 625px;
    margin: 0 auto;
    text-align: center;
}

.signin .FormWrapper {
    margin: 20px auto;
}



/** Sign In Modal **/

.Overlay .sign-in-form {
    margin: 20px 0 0;
}

.Overlay #Form_User_Password ul {
    margin-bottom: 0;
}

.Overlay #Form_User_Password li:last-child {
    padding: 0;
}



/** Forgot Password **/

.passwordrequest .FormTitleWrapper {
    width: 625px;
    margin: 0 auto;
    text-align: center;
}

.passwordrequest .FormWrapper {
    margin: 20px auto;
}

.password-reset-form {
    width: 350px;
}

.password-reset-form #Form_Email {
    margin-bottom: 3px;
}

.password-reset-form #Form_Requestanewpassword {
    margin: 15px 0 0;
}

.password-reset-form .ForgotPassword {
    margin-left: 0;
}



/** Register **/

.register .FormWrapper {
    float: none;
    margin: 20px auto;
}

.register .FormTitleWrapper {
    float: none;
    margin: 0 auto;
}

.register .FormTitleWrapper h1,
.register .FormTitleWrapper  h1 + p {
    text-align: center;
}

.register h1 + p {
    margin: 15px 0 10px;
}

#Form_User_Register li {
    margin: 15px 0 0;
}

#Form_User_Register .password-confirm {
    margin-top: 10px;
}

.Profile .Gender,
#Form_User_Register .Gender {
    display: none;
}

#Form_User_Register .CheckBoxLabel {
    font-size: inherit;
    padding-top: 5px;
}

#Form_User_Register #Form_SignUp {
    margin-top: 20px;
}



/** Search **/

.Search .DataList .Excerpt {
    font-size: inherit;
}

.Search .Item {
    padding: 25px 8px;
}

.Search .Item:first-child {
    padding-top: 15px;
}

.Search .Title {
    font-size: 18px;
    font-weight: normal;
}

.Search mark {
    padding: 2px 6px;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 6px;
}



/** Mobile **/

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

    .master main.col-md-9 {
        padding-left: 25px;
    }

    .forum-logo {
        float: none;
    }

    .forum-subnav {
        float: none;
        margin: 15px 0;
    }

    .forum-subnav > a {
        margin: 0 15px 0 0;
    }

    .forum-subnav .sign-in,
    .forum-subnav .register,
    .forum-subnav .new-discussion {
        display: inline-block;
    }

    .forum-subnav .btn-group {
        float: right;
    }

    .search-form .form-control {
        float: none;
        width: 100%;
    }

    .search-form .btn-primary {
        float: none;
        width: 100%;
        margin-top: 15px;
    }

    .sidebar {
        max-width: 200px;
    }

    .sidebar li .Aside {
        display: none;
    }

    .GuestBox .btn {
        width: 100%;
        margin: 5px 0;
    }

    .Discussions .Item .Category {
        float: none;
    }
}
