
.well {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.navbar-toggle.lines-button {
    margin-left: 15px;
    margin-right: 0;
    display: inline-block;
    transition: .3s;
    cursor: pointer;
    width: 47px;
    height: 34px;
    padding: 0px;
    border-color: #333;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    background-color: transparent;
    font-weight: 700;
}

.lines {
    display: inline-block;
    width: 2.5rem;
    height: 0.4rem;
    background: #333;
    border-radius: 0.25rem;
    transition: 0.3s;
    position: relative;
    top: -3px;
}

.lines:before, .lines:after {
    display: inline-block;
    width: 2.5rem;
    height: 0.4rem;
    background: #333;
    border-radius: 0.25rem;
    transition: 0.3s;
    position: absolute;
    left: 0;
    content: '';
    transform-origin: 0.25rem center;
}

.lines:before {
    top: 0.875rem;
}

.lines:after {
    top: -0.875rem;
}

.lines-button:hover .lines:before {
    top: 0.7rem;
}

.lines-button:hover .lines:after {
    top: -0.7rem;
}

.lines-button.x.close .lines {
    /*hide the middle line*/
    background: transparent;
    top: -5px;
    /*overlay the lines by setting both their top values to 0*/
}

.lines-button.x.close .lines:before, .lines-button.x.close .lines:after {
    transform-origin: 50% 50%;
    top: 0;
    width: 2.5rem;
}

.lines-button.x.close .lines:before {
    transform: rotate3d(0, 0, 1, 45deg);
}

.lines-button.x.close .lines:after {
    transform: rotate3d(0, 0, 1, -45deg);
}

.navbar-toggle.pull-right {
    height: 34px;
    padding: 0px 10px;
    border: none;
}

#sidebar {
    height: 100%;
    padding-right: 10px;
    padding-bottom: 40px;
    font-size: 1.15em;
}

#sidebar .nav li.active {
    font-weight: 700;
}

#sidebar .nav .title {
    text-transform: uppercase;
    font-weight: 700;
    color: #333;
}

#sidebar .nav .menu-heading {
    text-transform: uppercase;
    font-weight: 700;
    color: #8DA4BF;
    padding: 0;
    font-size: 11px;
    margin-top: 20px;
}

#sidebar > .nav {
    padding-top: 0;
    margin-top: -5px;
    margin-bottom: -10px;
}

#sidebar .nav a {
    color: #666;
}

#sidebar .nav ul.nav-second-level li > a {
    padding: 2px 0px;
}

#sidebar .nav a:hover {
    color: #8DA4BF;
}

#sidebar .nav a .badge {
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#sidebar .nav a:hover .badge {
    background-color: #8DA4BF;
}

#sidebar .nav ul.nav-second-level .fa {
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    font-size: small;
}

#sidebar .nav li > a {
    padding: 5px 15px;
}

.row-offcanvas {
    left: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.navbar-brand {
    width: 50%;
    padding-right: 0;
}

.navbar-brand > img {
    width: 100%;
    max-width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    vertical-align: middle;
    display: inline-block;
}

@media screen and (min-width: 1001px) {
    .navbar-toggle.lines-button {
        display: none;
    }

    .navbar-brand {
        width: 100%;
        padding-right: 0;
    }
}


@media  (max-width: 1000px) {
   .overrule {
       display: none !important;
   }
}



/* collapsed sidebar styles */
@media screen and (max-width: 1000px) {

    .row-offcanvas {
        position: relative;
        -webkit-transition: all 0.25s ease-out;
        -moz-transition: all 0.25s ease-out;
        transition: all 0.25s ease-out;
    }

    .row-offcanvas-right
    .sidebar-offcanvas {
        right: -200px;
    }

    .row-offcanvas-left
    .sidebar-offcanvas {
        left: -200px;
    }

    .row-offcanvas-right.active {
        right: 200px;
    }

    .row-offcanvas-left.active {
        left: 200px;
    }

    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 200px;
    }

    #sidebar {
        padding-top: 0;
    }
}

.heading-buttons {
    margin-bottom: 10px;
}

.heading-text {
    line-height: 34px;
    font-size: 15px;
    font-weight: 400;
    font-style: italic;
    display: inline;
    color: #999;
}

.visitors {
    margin-top: 20px;
    margin-right: -5px;
    margin-left: -5px;
    clear: both;
}

.visitors .col {
    padding-left: 5px;
    padding-right: 5px;
}

.visitors .user {
    height: 150px;
    width: 100%;
    background-color: #000;
    margin-bottom: 10px;
    position: relative;
}

.visitors .user:hover .photo {
    opacity: 0.2;
}

.visitors .user .photo {
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.visitors .user .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
}

.visitors .user .info .username {
    color: #fff;
    display: block;
    word-wrap: break-word;
}

.visitors .user .info .location {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10px;
    display: block;
    word-wrap: break-word;
}

.widget .title {
    margin-bottom: 25px;
}

.media-heading {
    margin-bottom: 15px;
    color: #333;
}

.media-object.avatar-sm {
    max-width: none;
    width: 60px;
    height: auto;
}

.media-object.media-full-width {
    width: 100%;
    height: auto;
}

.media-text {
    margin-top: 15px;
}

a.media-more {
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    text-align: right;
}

.birthday-links {
    margin-bottom: 15px;
}

.birthday-links a {
    color: #333;
    margin-right: 10px;
    text-transform: uppercase;
}

.birthday-links a:hover {
    color: #999;
}

.birthday-links a.active {
    font-weight: 700;
}

.birthday-users a {
    color: #333;
}

.footer {
    margin-top: 30px;
    background: #333;
    color: #fff;
    padding: 0;
}

.footer .menu {
    margin: 30px 20px;
    text-align: center;
}

.footer .menu a {
    color: #fff;
}

.footer .menu a:hover {
    color: #999;
}

.footer .copyright {
    background: #000;
    padding: 15px;
    text-align: center;
    color: #999;
}

.clear {
    clear: both;
}

/* ADS */

.ad {
    word-break: break-word;
}

.ad img {
    width: 100%;
    border-radius: 4px;
}

.ad-img {
    position: relative;
}

.ad-img:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: rgba(59, 84, 113, 0.8);
    font-size: 35px;
    color: #fff;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    opacity: 0;
}

.ad a:hover .ad-img:before {
    opacity: 1;
}

.ad-video .ad-img:before {
    content: "\f144";
}

.ad-link .ad-img:before {
    content: "\f14c";
}

.ad p {
    margin-top: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: small;
    margin-bottom: 0;
}

.ad span {
    font-size: small;
}

/* PROFILE */

.profile .page-content {
    background: transparent;
}

.profile .main-content {
    background: #fff;
    margin-top: 10px;
    padding: 15px;
}

.profile .profile-photo {
    margin-top: -15px;
}

.profile .profile-photo li {
    height: 350px;
    background-size: cover;
    background-position: center center;
}

.profile .profile-buttons {
    padding: 0;
}

.profile .profile-buttons .col {
    padding: 0;
}

.profile .profile-buttons .btn {
    border-radius: 0;
}

.profile .profile-info h1 {
    font-size: 1.6em;
    margin: 0;
}

.profile h2 {
    font-size: 1.6em;
    margin: 10px 0;
}

.profile .profile-gallery {
    margin-top: -10px;
}

.profile .profile-gallery .profile-thumbnail {
    height: 80px;
    background-size: cover;
    background-position: center center;
    border: 2px solid #fff;
}

.profile .profile-gallery .profile-thumbnail:hover {
    opacity: 0.6;
}

.profile .profile-stats label {
    display: block;
    margin: 0px;
}

.profile .profile-stats span {
    display: block;
}

.profile .online-status {
    position: relative;
    font-size: 0.4em;
    bottom: 0.5em;
}

.profile .online-status.online {
    color: #29a029;
}

.profile .online-status.offline {
    display: none;
}

/* FRONTPAGE */

.frontpage {
    background: #3B5471;
}

.shadow-block {
    background-color: rgba(70, 74, 77, 0.4);
    border-radius: 10px;
    padding: 5px 25px;
}

.frontpage .navbar-nav {
    margin: 15px 0;
}

@media (max-width: 991px) {
    .frontpage .navbar-nav {
        display: none;
    }
}

.frontpage .navbar-form {
    border-top-color: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.frontpage input.form-control {
    background-color: #fff;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    margin-right: 5px;
    color: #3B5471;
    margin-bottom: 5px;
}

.frontpage .navbar-form input.form-control::-webkit-input-placeholder {
    color: #CACED3;
}

.frontpage .navbar-form input.form-control:-moz-placeholder {
    /* Firefox 18- */
    color: #CACED3;
}

.frontpage .navbar-form input.form-control::-moz-placeholder {
    /* Firefox 19+ */
    color: #CACED3;
}

.frontpage .navbar-form input.form-control:-ms-input-placeholder {
    color: #CACED3;
}

.frontpage .navbar-form .btn-solid {
    padding: 6px 15px;
    margin: 0 0 5px 0;
    background-color: #fff;
    color: #3B5471;
}

.frontpage .navbar-form .btn-solid:hover {
    background-color: #8DA4BF;
    color: #fff;
}

.frontpage .navbar .password {
    font-size: 0.8em;
}

.frontpage .navbar .password input[type=checkbox] {
    top: 3px;
    position: relative;
    margin-left: 0;
}

.frontpage .navbar .password label {
    color: #fff;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    font-weight: 400;
}

.frontpage .navbar .password a {
    margin-left: 67px;
    color: #fff;
    position: relative;
    right: 4px;
    top: 4px;
}

.frontpage .navbar .password a:hover {
    color: #8DA4BF;
}

@media (max-width: 968px) {
    .frontpage .navbar .password a {
        margin-left: 0;
    }
}

.frontpage .navbar ul li a {
    color: #fff;
    padding: 0 15px 15px 0;
}

.frontpage .navbar-form a:hover {
    color: #8DA4BF;
}

.frontpage .headerimg {
    padding: 100px 0px;
    color: #fff;
    position: relative;
}

@media (max-width: 800px) {
    .frontpage .headerimg {
        padding: 20px;
    }
}

.shadow {
    text-shadow: rgba(0, 0, 0, 0.4) 1px 1px 1px;
}

.frontpage .headerimg .bgslider {
    display: block;
    position: relative;
    height: 100% !important;
    overflow: hidden !important;
    width: 100% !important;
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.frontpage .headerimg .bgslider .slides,
.frontpage .headerimg .bgslider .slides li {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.frontpage .headerimg .bgslider .slides img {
    min-height: 100%;
    min-width: 100%;
    max-width: 10000% !important;
    margin: 0 auto !important;
    position: absolute;
    top: 0;
    bottom: 0;
    /* left: 0; To align the image to the right */
    right: 0;
}

.frontpage .headerimg h1 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 2.65em;
}

.headerimg h2 {
    margin-top: 10px;
    font-size: 1.4em;
    color: rgba(255, 255, 255, 0.65);
}

.headerimg p {

}

.headerimg .cto-form {
    margin-top: 20px;
}

.headerimg .cto-form .row {
    margin-right: -5px;
    margin-left: -5px;
}

.headerimg .cto-form .col {
    padding-left: 5px;
    padding-right: 5px;
}

.headerimg .cto-form .form-control {
    margin-bottom: 10px;
    padding: 20px 15px;
}

@media (max-width: 450px) {
    .headerimg .cto-form .col {
        width: 100%;
    }
}

.headerimg .btn.login {
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 5px 10px;
    background-color: #3B5471;
}

.headerimg .btn.signup {
    font-size: 1.6em;
    padding: 15px 40px;
    margin-top: 10px;
}

.headerimg .btn:hover {
    background: #333;
    color: #fff;
}

.membership-badge {
    max-width: 30%;
}

.well .wellslider {
    overflow: hidden;
}

.well.wellslider ul.slides li {
    padding: 15px;
}

.wellslider .btn-solid {
    margin: 0;
}

.btn-solid {
    background-color: #CC0000;
    border: none;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 25px;
    margin: 20px 0;
}

.btn-solid.white {
    background-color: #fff;
    color: #3B5471;
}

.btn-solid.orange {
    background-color: #ffa037;
    color: #fff;
}

.btn-solid:hover {
    background-color: #333;
    color: #fff;
}

.headerimg h3 {
    margin-top: 10px;
    font-size: 1.4em;
}

.headerimg h3 a {
    color: rgba(255, 255, 255, 0.55);
}

.headerimg h3 a:hover {
    color: #3B5471;
}

.frontpage .footer {
    margin-top: 0;
}

/* COLOR */

body {
    background-color: #F5F5F5;
    padding-top: 51px;
}

.page-content {
    background-color: #fff;
    padding-top: 15px;
}

.sidebar-right {
    padding-top: 15px;
}

a {
    color: #3B5471;
}

a:hover {
    color: #8DA4BF;
}

.navbar-default {
    background-color: #3B5471;
    font-size:16px;
       
    border-color: #8DA4BF;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    color: #fff;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    color: #8DA4BF;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    background-color: transparent;
}

.dropdown-menu {
    background: #3B5471;
    border-color: #8DA4BF;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    background-color: #8DA4BF;
    color: #3B5471;
}

.navbar-default .navbar-toggle {
    color: #fff;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background: #3B5471;
}

.navbar-toggle.lines-button {
    border-color: #fff;
}

.close, .close:focus, .close:hover {
    opacity: 1;
}





.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #fff;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a .badge {
    color: #3B5471;
    background-color: #fff;
}

.lines, .lines:before, .lines:after {
    background-color: #fff;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
    color: #8DA4BF;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    color: #3B5471;
}

#sidebar ul.nav li a, #sidebar .nav .title {
    color: #3B5471;
}

a .media-heading {
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.visitors .user {
    background-color: #3B5471;
}

a:hover .media-heading {
    color: #3B5471;
}

.badge {
    background-color: #3B5471;
}

.well {
    background-color: #3B5471;
    border: 1px solid #8DA4BF;
    color: #fff;
}

.well a {
    color: #8DA4BF;
    font-weight: 700;
}

.well a:hover {
    text-decoration: underline;
}

.nav > li > a:focus, .nav > li > a:hover {
    background: transparent;
}

#sidebar .nav .fa {
    color: #3B5471;
}

#sidebar .nav a:hover .fa {
    color: #8DA4BF;
}

.heading-text {
    color: #3B5471;
}

.birthday-links a:hover {
    color: #8DA4BF;
}

.footer .copyright {
    background: #3B5471;
    color: #fff;
}

.footer .menu a:hover {
    color: #3B5471;
}

/* REMOVE TO SHOW PROFILE PHOTOS */
.visitors .col.col-xs-4.col-md-3.col-lg-2 a .user .photo {
    /* background: #3B5471 !important; */
}