@import url(https://fonts.googleapis.com/css?family=Lato:400,300,700);

* {
    border-radius: 0 !important;
}

.center {
    text-align: center;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: #333;
}

a {
    color: #ef4836;
}

div#topbar {
    background-color: #333;
    border: 0px;
    vertical-align: middle;
    height: 90px;
    padding: 20px 0px;
}

div#topbar ul li form {
    padding-right: 0px;
}

div#topbar ul#searchwide {
    display:none;
}

@media (min-width: 768px) {
    div#topbar ul#searchwide {
        display:block;
    }
    nav#sfnav {
        height: 35px;
        min-height: 35px;
    }
    form#searchmobile {
        display: none;
    }
}

a.navbar-brand{
    padding-left: 0px;
}

input#srch-grow {
    width: 250px;
}

nav#sfnav {
    background-color: #ef4836;
    border: 0px;
    padding: 0px;
}



nav#sfnav li a {
    background-color: #ef4836;
}


nav#sfnav li span {
    color: #fff;
    display: block;
    height: 35px;
    line-height: 35px;
    vertical-align: middle;
    padding: 0px 0px;
    font-weight: 300;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 11px;
}

nav#sfnav li a {
    color: #fff;
    display: block;
    height: 35px;
    line-height: 35px;
    vertical-align: middle;
    padding: 0px 15px;
    font-weight: 300;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 11px;
}

nav#sfnav li a:hover {
    background-color: #333;
}

nav#sfnav li a.logout {
    padding: 0px 15px 0px 4px;
}

nav#sfnav li a.logout:hover {
    background-color: transparent;
    text-decoration: underline;
}

nav#sfnav li.active a {
    background-color: #c0392b;
}

/* ===== sftip ===== */

div.tiphead {
    border-bottom: 1px solid #ddd;
    height: 35px;
    position: relative;
}

div.tiphead h4 {
    margin: 0px;
    line-height: 35px;
}

div.tiphead ul {
    position: absolute;
    top: 0px;
    right: 0px;
    list-style-type: none;
}

div.tiphead ul li {
    float: right;
}

div.tiphead ul li a {
    display: block;
    padding-top: 10px;
    line-height: 24px;
    border-bottom: 1px solid #ddd;
    margin-left: 16px;
    color: #888;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
}

div.tiphead ul li a.active,
div.tiphead ul li a:hover {
    color: #ef4836;
    border-bottom: 1px solid #ef4836;
}

div.sftip {
    border-bottom: 1px solid #ddd;
    padding: 20px 0px;
}

div.sftip:last-of-type {
    border-bottom: 0px;
}

div.sftip h2{
    padding: 0px;
    margin: 0px 0px 12px 0px;
    font-size: 1.4em;
    color: #555;
    font-weight: 400;
}

div.sftip h2 span{
    color: #ef4836;
    font-weight: 300;
}

div.sftip pre {
    /*color: #333;
    background-color: #fff;*/
    font-family: "Courier New", Courier, monospace, sans-serif;
	text-align: left;
	color: #555;
	line-height: 30px;
	padding: 0px 0.5em 0px 1.6em;
    border: 0px;
	border-left: 4px solid #bbb;
	overflow: auto;
    background: #eeeeee url("../images/pre-bg.png") repeat left top;
}

div.sfscore {
    line-height: 1.2em;
    padding-top: 10px;
}

div.sfscore a.sfvote {
    color: #aaa;
    padding: 0px;
    margin: 0px;
}

div.sfscore a.sfvote:hover {
    color: #ef4836;
}

div.sfscore span.score {
    font-weight: 700;
    padding: 0px;
    margin: 0px;
}

div.sfdtl ul, ul#staglist {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

div.sfdtl ul li, ul#staglist li.sftag {
    float: left;
    margin: 0px 10px 0px 0px;
    padding: 0px;
    font-size: 0.8em;
    font-weight: 400;
    line-height: 20px;
}

div.sfdtl ul li.sftag a, ul#staglist li.sftag a {
    float:left;
	height:20px;
	line-height:20px;
	position:relative;
	font-size:10px;
	margin-left:20px;
	padding:0 10px 0 12px;
	background:#eee;
	color:#333;
	text-decoration:none;
	-moz-border-radius-bottomright:4px;
	-webkit-border-bottom-right-radius:4px;
	border-bottom-right-radius:4px;
	-moz-border-radius-topright:4px;
	-webkit-border-top-right-radius:4px;
	border-top-right-radius:4px;
}

ul#staglist li.sftag a {
    margin: 4px 0px 4px 8px;
}

div.sfdtl ul li.sftag a:before, ul#staglist li.sftag a:before{
	content:"";
	float:left;
	position:absolute;
	top:0;
	left:-12px;
	width:0;
	height:0;
	border-color:transparent #eee transparent transparent;
	border-style:solid;
	border-width:10px 12px 10px 0;
}

div.sfdtl ul li.sftag a:after, ul#staglist li.sftag a:after {
	content:"";
	position:absolute;
	top:8px;
	left:0;
	float:left;
	width:4px;
	height:4px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
	background:#fff;
}

/* ===== sidebar ===== */

div.sideblock {
    background-color: #fff;
    margin-top: 0px;
    padding: 16px 10px 12px 10px;
}

div#welcome {
    background-color: #eee;
}

div.sideblock a.hidesb {
    text-decoration: none;
    position: absolute;
    top: 0px;
    right: 22px;
    color: #bbb;
    font-size: 11px;
    font-weight: 400;
}

div.sideblock a.hidesb:hover {
    color: #ef4836;
}

div.acloud {
    line-height: 24px;
    text-align: justify;
}

div.acloud a {
    color: #555;
    text-decoration: none;
}

div.acloud a:hover {
    color: #ef4836;
}

div.acloud a.s1 {
    font-size: 12px;
}

div.acloud a.s2 {
    font-size: 16px;
}

div.acloud a.s3 {
    font-size: 20px;
}

div.acloud a.s4 {
    font-size: 24px;
}

div.acloud a.s5 {
    font-size: 28px;
}

/* ===== footer ===== */

footer {
    height: 60px;
    line-height: 60px;
    background-color: #333;
    color: #fff;
}

footer p {
    margin: 0px;
}

footer a.slink {
    color: #fff;
    text-decoration: none;
}

footer a.slink:hover i.sicon {
    background-color: #111;
}

footer a i.sicon {
    display: block;
    background-color: #555;
    border-radius: 50% !important;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 15px 5px;
    text-align: center;
}


/* ===== blog ===== */

div.blogdate {
    line-height: 1.2em;
    padding-top: 0px;
}

div.blogdate div.blogday {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #ddd;
    font-weight: 700;
    padding: 0px;
    margin: 0px auto 0px auto;
    border-radius:40px !important;
    -moz-border-radius:40px !important;
    -webkit-border-radius:40px !important;
}

/* ===== users ===== */

div.ubadge{
    float: left;
    width: 60px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #888;
    font-size: 10px;
    margin: 4px 10px 14px 10px;
}

div.ubadge:before {
    /* needed - do not touch */
    content: attr(tooltip);
    position: absolute;
    opacity: 0;

    /* customizable */
    /*transition: all 0.15s ease;*/
    padding: 10px;
    color: #333;
    box-shadow: 2px 2px 1px silver;
}

div.ubadge:hover:before {
    /* needed - do not touch */
    opacity: 0.9;

    /* customizable */
    background: #eee;
    margin-top: -20px;
    margin-left: 20px;
    margin-left: -50%;
}


/* ===== contact ===== */

#main-contact-form input.form-control {
    height: 50px;
    margin-bottom: 20px;
    padding: 6px 22px;
}
#main-contact-form textarea#message {
    height: 190px;
    padding: 14px 22px;
}

ul.pagination > li > a,
ul.pagination > li > span {
    border-color: #ddd;
    color: #ef4836;
}

ul.pagination > li > a:focus,
ul.pagination > li > a:hover,
ul.pagination > li > span:focus,
ul.pagination > li > span:hover {
    z-index: 3;
    background-color: #eee;
    color: #444;
}

ul.pagination>li.active>a,
ul.pagination > li.active > a:focus,
ul.pagination > li.active > a:hover,
ul.pagination > li.active > span:focus,
ul.pagination > li.active > span:hover {
  background: #ef4836;
  color: #fff;
  border-color: #cb2310;
}

