html {
    position: relative;
    min-height: 100%;
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 60px !important;
    background-color: #f5f5f5 !important;
    color: #406578 !important;
    font-family: 'RobotoRegular', sans-serif !important;
}

#body:empty
{
    display: none;
}

#body form {
    padding-left: 10px;
    padding-right: 10px;
}

/*Police*/
@font-face {
    font-family: "RobotoLight";
    src: url('../Roboto-Light.ttf');
}
@font-face {    
    font-family: "RobotoThin";
    src: url('../Roboto-Thin.ttf');    
}
@font-face {    
    font-family: "RobotoRegular";
    src: url('../Roboto-Regular.ttf');    
}

.col-md-height form {
    border: none !important;
}

/* Header */
#logo {
    background-image: url(../logo.png);
    width: 280px;
    height: 36px;
    position: relative;
    top: -20px;
}

.navbar {
    min-height: inherit !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
    top: 20px;
}

.navbar .active a {
    color: #fff!important;
    border-width: top right bottom left;
    border-style: none none solid none;
    border-color: #fff #fff #76909d #fff;
    border-width: 1px;    
}

#header-background{
    background-image: url(../header.jpg);
    color: white !important;
}
#header .online {
    border: none!important;
}
@media (max-width: 767px) {
    .nav>li>a {
        padding: 10px 1px !important;
        white-space: inherit !important
    }
}

.nav>li>a.btn {
    margin-bottom: 30px;
}

.nav>li>a.btn:focus, .nav>li>a.btn:hover {
    background-color: #c12e2a !important;
}


#header li a {
    background:transparent;
    height:30px;
    min-width:40px;
    margin-right:5px;
    margin-top:2px;    
    text-align:center;
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #fff!important;
    font-family: 'RobotoLight', sans-serif !important;
}
#header li a:hover{
    color: #fff!important;
    border-width: top right bottom left;
    border-style: none none solid  none;
    border-color: #fff #fff #76909d #fff;    
    border-width: 1px;       
}

#header .online li:not(:last-child):after {
    width: 1px;
    content: "";
    display:block;
    position: absolute;
    top: 25%;
    bottom: 0;
    right: 0;
    height: 50%;
    opacity: 0.1;
}

#header li, #header .online li a {
    font-size: 12px;
    color: #406578;     
    border: none;
    min-width: 46px;    
}
#header .online li a:hover {
    color: #fff!important;
    border-width: top right bottom left;
    border-style: none none solid  none;
    border-color: #fff #fff #76909d #fff!important; 
    border-width: 1px;    

}
#header li img {
    position: relative;
    top: -3px;
}

.avatar {

}

.navbar-collapse .text-hidden-navbar {
    display: none;
}

.navbar-collapse.in .text-hidden-navbar {
    display: inline;
}

#inbox_count:empty {
    display: none;
}
.dropdown-menu {
    background-color: rgba(238, 237, 237, 0.1)!important;
    width: auto;
}
.dropdown-menu a:hover{
    border: none!important;

}

/* Content */
.title {
    color: #406578 !important;
    text-align: center;
	font-size: 14px;
}
.title:first-letter {
    text-transform: capitalize;
}
.title-light {
	color: #406578;
	font-size: 14px;
}
.container  {
    background-color: #f5f5f5!important;
}
/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 40px;
}

.footer a {
    color: #406578;
    text-decoration: none !important;
    font-size: 13px;   
}

/* Top */
#jumtop.jumbotron {
    margin-top: 50px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
    text-align: left;
    background-color: rgba(64, 101, 120, 0.7);
    color: #406578 !important;
    z-index: 10;
    position: relative;
    min-height: 30px;
  
}

.jumbotron p {
    font-size: inherit !important;
}

/* Add padding even for small devices on jumbotron */
@media (max-width: 767px) {
    .jumbotron {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* General */
* {
    border-radius: 3 !important;
}

.btn-default,.btn-primary,.btn-success,.btn-info,.btn-warning,.btn-danger {
    color: #406578 !important;
}

#notification_container {
    display: none;
}

#notification_body {
    width: 100%;
}

.popover.notif {
    width: 40% !important;
}

#notification_footer {
    padding: 8px 14px !important;
    margin: -9px -14px;
    margin-top: 5px;
    border-bottom: none;
    border-top: 1px solid #ebebeb;
}

.navbar .badge {
    background: #607a89;
    margin-left: 5px;
}

/* Errors */
#error_title, #error_content {
    color: #406578;
    font-weight: normal;
    font-size: 65px;
    text-align: center;
    margin-bottom: 0;
    display: inline-block;
}

#error_content {
    font-size: 30px;
    margin-top: 0;
}

#error_wrapper {
    margin: auto;
    display: table;
    margin-top: 50px;
}

/* Tags */
.tag {
    display: inline-block;
    color: #406578;
    padding: 5px;
    background-color: white;
    box-shadow: 1px 1px 2px #dadada;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 10px;
}

/* Bootstrap Custom Helpers */

.btn-grey {
    background-color: white!important;
    color: #406578 !important;      
    font-family: 'RobotoLight', sans-serif !important; 
    border-radius: 3px !important;    
}

.btn-grey:hover {
    background-color: white !important;
    color: #406578 !important;
    opacity: 0.98;    
}

.text-important {
    font-size: 18px;
}

.clear {
    clear: both;
}

.text-white {
    color: white !important;
}

.text-underline {
    text-decoration: underline;
}

.list-group-no-margin {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

.form-group {
    margin-right: inherit !important;
    margin-left: inherit !important;
}

.form-custom {
    margin: auto !important;
    float: inherit !important;
}

.form-custom a, .form-custom a:hover {
    color: inherit;
}

.form-custom input, .form-custom textarea, .form-custom .btn.btn-default {
    color: #406578 !important;
    background-image: none;
    text-shadow: none;     
}

.form-custom .btn.btn-default {
    float: right;
  }

.row-full-height, .full-height {
    height: 100%;
}

.row-height, .row-same-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
}
.col-height {
    display: table-cell;
    float: none !important;
    height: 100%;
}
.col-top {
    vertical-align: top;
}
.col-middle {
    vertical-align: middle;
}
.col-bottom {
    vertical-align: bottom;
}

@media (min-width: 480px) {
    .row-xs-height {
        display: table;
        table-layout: fixed;
        height: 100%;
        width: 100%;
    }
    .col-xs-height {
        display: table-cell;
        float: none !important;
        height: 100%;
    }
    .col-xs-top {
        vertical-align: top;
    }
    .col-xs-middle {
        vertical-align: middle;
    }
    .col-xs-bottom {
        vertical-align: bottom;
    }
}

@media (min-width: 768px) {
    .row-sm-height {
        display: table;
        table-layout: fixed;
        height: 100%;
        width: 100%;
    }
    .col-sm-height {
        display: table-cell;
        float: none !important;
        height: 100%;
    }
    .col-sm-top {
        vertical-align: top;
    }
    .col-sm-middle {
        vertical-align: middle;
    }
    .col-sm-bottom {
        vertical-align: bottom;
    }
}

@media (min-width: 992px) {
    .row-md-height {
        display: table;
        table-layout: fixed;
        height: 100%;
        width: 100%;
    }
    .col-md-height {
        display: table-cell;
        float: none !important;
        height: 100%;
    }
    .col-md-top {
        vertical-align: top;
    }
    .col-md-middle {
        vertical-align: middle;
    }
    .col-md-bottom {
        vertical-align: bottom;
    }
}

@media (min-width: 1200px) {
    .row-lg-height {
        display: table;
        table-layout: fixed;
        height: 100%;
        width: 100%;
    }
    .col-lg-height {
        display: table-cell;
        float: none !important;
        height: 100%;
    }
    .col-lg-top {
        vertical-align: top;
    }
    .col-lg-middle {
        vertical-align: middle;
    }
    .col-lg-bottom {
        vertical-align: bottom;
    }
}

/* centered columns styles */
.row-centered {
    text-align:center;
}
.col-centered {
    display:inline-block;
    float:none;
    /* reset the text-align */
    text-align:left;
    /* inline-block space fix */
    margin-right:-4px;
}

.col-fixed {
    /* custom width */
    width:320px;
}
.col-min {
    /* custom min width */
    min-width:320px;
}
.col-max {
    /* custom max width */
    max-width:320px;
}

.boxes {
    border: 1px solid #e4e4e4;
    padding: 1px !important;
    padding-top: 20px !important;
    border-radius: 3px !important;
    color: #406578;    
}

.twitter-typeahead,
.tt-query,
.tt-hint {
    display: none;
}

.twitter-typeahead {
    background-color: #fff;
}

.twitter-typeahead:focus {
    border: 2px solid #0097cf;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 12px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 14px;
    line-height: 24px;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
}

.center {
    margin: auto !important;
    float: inherit !important;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.nopadding-right {
    padding-right: 0 !important;
}

.small-size {
    font-size: 80%;
}

.text-large {
    font-size: 120% !important;
}

.available.btn {
    background-color: #419641;
    border-color: #3e8f3e;
}

.verify.btn {
    background-color: #eb9316;
    border-color: #e38d13;
}

.unavailable.btn {
    background-color: #c12e2a;
    border-color: #b92c28;
}

.status.btn {
    height: 10px;
    width: 20px;
    padding: 0 !important;    
}

.text-info {
    color: #083953;
}

.btn-flat {
    background: white;
    border:1px solid #e2e6e8!important;  
    text-align:center;
    border-radius: 1px!important;
    color: #406578;
}

.btn-flat:hover {
    color: #f5f5f5!important;
    background-color: #76909d;
}

.thumbnail {
}
.hidden-xs {
    display: none;
}
.vertical-separator {
    height: 70%;
    width: 1px !important;
    background-color: #e2e6e8;
    overflow: auto;   
}

.horizontal-separator {
    width: 70%;
    margin: auto;
    height: 0px;
    background-color: #406578;
    opacity: 0.1;      
    display: block;
}

.text-over {
    z-index: 20;
    position: relative;
    display: inline-block;
}

.nolink, .nolink:hover, .nolink:focus {
    color: inherit;
}

.row-same-width {
    display: table;
}

.btn-same-width {
    display: table-cell !important;
}

.avatar img {
    width: 20px;
    height: 20px;
}


.dcs-rating-container {
    position: relative;
    top: 4px;
}

.stars {
    text-overflow: clip;
    overflow: hidden;
    white-space: nowrap;
    color: #083953;
    position: relative;
}

a.stars {
    color: inherit;

}

.stars-above {
    position: absolute;
    top: 0;
    z-index: 10;
}

/* Fos user bundle rules */
#fos_user_content p {
    text-align: center;
    color: white;
}

/*Global pages (jobs, legal, rules, etc.)*/
.text-muted {
    color: #406578!important;
}
.text-title-color {
    color: #406578;
}
.text-title-size {
    font-size: 16px;
}

#recaptcha_area {
    margin: auto;
}

#version {
    margin-right: 5px;
    margin-top: -10px;
}

ol.first-level, ol.sub-level {
    padding-left: 20px;
    list-style-type: inside;
}

ol.first-level {
    list-style-type: upper-roman;
}

ol.sub-level {
    list-style-type: decimal;
}


.version-selector.active>a {
    color: white !important;
}

.btn-danger {
    color: white !important;
}