/**************************************/
/* Override styles                    */
/**************************************/
*:focus {
    outline: 0;
}

* {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.bootstrap-wrapper * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    margin-top: 0 !important;
    color: #212121;
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
}

div.login p {
    margin-bottom: 4px !important;
}

input.login {
    min-width: 200px;
}

p {
    font-size: 14px;
}

a {
    color: #356FCB;
}

h1 {
    font-size: 110%;
}

h2 {
    font-size: 100%;
}

h3 {
    font-size: 100%;
}

pre {
    background-color: #EEEEEE;
    width: inherit;
}

#wrapper, #announcement {
    width: 1000px;
}

#roof {
    width: inherit;
    background: #eeeeee;
    margin-bottom: 30px;
}

#room {
    padding: 10px 5px 10px 5px;
    border: 0;
}

#CARight {
    width: 230px;
}

#ground {
    background: none repeat scroll 0 0 #eee;
    width: 1002px;
    border: 0;
}

#top {
    height: 22px;
    padding:  7px 5px;
    float: right;
}

#top a {
    color: #666666;
    font-size: 14px !important;
    margin-left: 10px;
    text-decoration: none;
}

#top a:hover {text-decoration: underline;}

#logo {
    font-size: 0px;
    width: 0px;
}

#nav {
    float: left;
    width: auto;
    margin: 0 auto;
}

#nav a {
    display: inline-block;
    background: none;
    border-width: 0;
    color: #575656;
    line-height: inherit;
    height: 22px;
    margin-left: 0;
    padding: 7px 10px;
    font-size: 13px;
}

#nav a:hover {
    background: #eee;
    text-decoration: none;
}
#nav a.on {
    text-decoration: none;
    border: 0;
    background: #afca05;
    color: #ffffff;
    font-weight: inherit;
    height: 22px;
    line-height: inherit;
}

#nav a#nav_ask {
    float: none;
    color: #575656;
}

#nav a#nav_ask:hover {
    text-decoration: none;
}

#searchBar {
    background-color:#FFFFFF;
    border: 0;
    width: 1000px;
    height: 70px;
	margin-bottom: 20px;
}

#searchBar .searchInput {
    border: 1px solid #cccccc;
    width: 485px;
    padding-right: 80px;
}

#searchBar .searchBtn {
    width: 80px;
    margin-left: -80px;
    height: 20px !important;
    padding: 0px 10px 0px 10px;
    border-radius: 0px 4px 4px 0px !important;
}

#searchBar .options {
    font-size: 100%;
}

.short-summary h2 a {
    color: #356FCB;;
}

.userinfo a, a.userinfo {
    color: #356FCB;
}

.short-summary .question-summary-wrapper h2 {
  line-height: 1.1;
}

.short-summary .counts .item-count {
    font-weight: normal;
}

.short-summary .votes, .short-summary .status, .short-summary .views {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #CCCCCE;
    font-size: 12px;
    margin: 0 5px 0 0px;
}

.questions-count {
    color: #666666;
    font-size: 25px;
    font-weight: bold;
}

.questions-count span {
    font-size: 14px;
    font-weight: normal;
}

.boxA h3,
.boxA .body {
    font-size: 12px;
}

.boxC {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 0;
    color: #666666;
}

.paginator .page, .paginator .page a:visited, .paginator .curr {
    padding: 0.25em 0em;
}

.paginator .curr,
.paginator a.page,
.paginator span.page a {
    display: inline-block;
    color: #777777;
    padding: 0.25em 0.5em;
    text-decoration: none;
}

.paginator .curr,
.paginator .page:hover a {
    color: #FFFFFF;
}

.tags a, span.tag {
    color: #666666;
    font-size: 12px;
}

.tag-number {
    font-size: 12px;
    color: #666666;
}

.deletable-tag img {
    display: inline-block;
    padding: 0;
    margin-right: 5px;
    vertical-align: middle;
}

.medal {
    font-weight: normal;
}

.tabBar {
    border-bottom: 1px solid #CCCCCE;
}

.tabsA {
    height: 30px;
    font-weight: normal;
    border-bottom: 1px solid #CCCCCE;
    position: relative;
}

.tabsA a, .sticky-sort-tabs {
    margin: 5px 0 0 4px;
}

.tabsA a {
    width: auto;
    margin-top: 1px;
    background: none;
    color: #666666;
    border: 1px solid transparent;
    padding: 4px 4px;
    -moz-border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    -o-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
}

.tabsA:hover a.on {
    border-color: transparent;
    color: #666666;
}

.tabsA a.on, .tabsA a:hover {
    background: none;
    color: #666666;
}

.tabsA a.on {
    border-color: #CCCCCE #CCCCCE #ffffff #CCCCCE;
    font-weight: bold;
}

.tabsA a:hover {
    border-color: #CCCCCE #CCCCCE #ffffff #CCCCCE !important;
}

.headQuestions {
    font-size: 13px;
    margin: 5px 0 0 0px;
    padding: 0 2px 0 15px;
    max-width: 290px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.headUsers,
.headMedals,
.headUser,
.headNormal {
    font-size: 17px;
}

.headNormal a {
    color: #356FCB;
}

.questions-related a {
    color: #356FCB;
}

.question-body {
    font-size: 100%;
}

.question-body ul {
    margin-left: 30px;
}

.edit-content-html img,
.wmd-preview img,
.question-body img {
    max-width: 640px;
}

.vote-buttons {
    margin-left: 15px;
    margin-right: 10px;
}

.answer-body {
    font-size: 14px;
}

.answer-body ul {
    margin-left: 30px;
}

.badge-list a {
    color: #356FCB;
}

.error,
.small {
    font-size: 12px;
}

.revision-number {
    font-size: 100%;
}

.count {
    font-size: 120%;
}

.scoreNumber {
    color: #666666;
}

.user-details td {
    vertical-align: top;
    min-width: 80px;
}

.user-about {
    max-width: 360px;
}

.score, .accept_rate {
    font-size: 100%;
    font-weight: normal;
}

.footerLinks {
    color: #575656;
    font-size: 15px;
    padding-bottom: 5px;
}

.footerLinks a {
    color: #575656;
    font-size: 15px;
    padding: 0px 5px;
}

.message {
    background-color: #F3F3F3;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
}

.submit {
    background-color: #9cbf21;
    color: #FFFFFF !important;
    font-size: 14px !important;
    padding: 3px 16px !important;
    margin-right: 5px;
    border: 1px solid #7c9e17 !important;
    text-decoration: none;
    height: auto !important;
    line-height: 20px !important;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.submit:hover {
    text-decoration: none;
    background: #7c9e17;
}

.submit:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.post-controls, 
.tags-container ,
.post-update-info p,
a.sidebar_button,
.community-wiki,
span.comment-chars-left,
div.comment-tools .comments-showing,
div.comment-tools a,
a.subscription_unsubscribe_button,
div.subscription_tags a, span.tag {
    font-size: 12px;
}

.comment-info {
    font-size: 12px;
    padding: 0px 4px 4px 0;
    margin: 0 auto;
}

.comment-info img {
    padding: 0;
}

div.dialog {
    height: inherit !important;
}

div.dialog, .context-menu-dropdown {
    border: 1px solid #CCCCCC;
    box-shadow: 1px 2px 3px #999;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-box-shadow: 1px 2px 3px #999;
    -webkit-box-shadow: 1px 2px 3px #999;
}

div.dialog .dialog-content {
    padding: 12px 10px 42px 10px;
}

div.dialog input,div.dialog textarea, div.dialog select {
    border: 1px solid #DDD !important;
}

div.dialog .dialog-buttons {
    height: 35px;
}



/**************************************/
/* Ivy answers custom style           */
/**************************************/

#wrapper input[type=text],
#wrapper input[type=password],
#wrapper textarea {
    border: 1px solid #cccccc;
    -moz-border-radius: 4px !important;
    -o-border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    border-radius: 4px !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    padding-left: 3px;
    padding-right: 3px;
}
#wrapper input[type=text],
#wrapper input[type=password],
#searchBar .button {
    height: auto !important;
    line-height: 20px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}
#searchBar .button {
    cursor: pointer !important;
    color: #333333 !important;
    text-decoration: none !important;
    background: #efefef !important;
    -moz-border-radius: 4px !important;
    -o-border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    border-radius: 4px !important;
    border: 1px solid #adadad !important;
    text-shadow: none !important;
    box-shadow: none !important;
	padding-right: 5px;
	padding-left: 5px;
}
#searchBar .button:hover {
    background: #dadada !important;
}

#searchBar .button:active {
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.2) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.125) !important;
}

#askform input[type=text],
#askform input[type=password] {
    width: 100%;
}

.signin_form input[type=text],
.signin_form input[type=password],
.signup_form input[type=text],
.signup_form input[type=password] {
    width: 300px;
}
input#id_tags {width: 75% !important;}
#recaptcha_area {
   margin: 0 !important;
}

.main_container {
    margin:0 auto;
    width:1002px;
}

.clr {
    clear:both;
}

#wrapper img {
    display:block;
    margin:0 auto;
    padding:5px;
}

#ground {
    width: inherit;
}
/* ========== Footer ========== */
.footer {
    font-family: times new roman;
}

.footer_xing {
    float:left;
    font-size:16px;
    padding:5px 0 0 10px;
}

.footer_twitter {
    float:left;
    font-size:16px;
    padding:10px 0 0 20px;
}

.footer_copyright {
    float:right;
    padding:12px 20px 0 0;
    color: #575656;
    font-family: Arial, Helvetica, sans-serif;
    font-size:12px;
}

/* ========== Nav bar ========== */
.navbar {
  border: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 0;
}

.navbar-inverse {
  background-color: #575656 !important;
  border-color: #080808 !important;
  margin-bottom: 0px !important;
}
.navbar-inverse .navbar-brand {
  color: #ffffff !important;
}

.navbar-inverse .navbar-nav>li>a {
  color: #9d9d9d !important;
}

.navbar-inverse .navbar-nav>li>a:hover, 
.navbar-inverse .navbar-nav>li>a:focus {
  color: #ffffff !important;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
  background-color: #575656 !important;
  font-weight: bold !important;
  color: #9d9d9d !important;
}


.glyphicon {
	line-height: normal;
}

.ivy-fix-button-height {
    margin-top: 3px;
}

input, select {
   font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
   vertical-align: middle;
}

.navbar-top li a {
	height: 70px;
}

.navbar-top li a span {
	margin-bottom: 5px;
}