
/* 1 Typography
----------------------------------------------------------------------------- */


/* Tables
---------------------------------- */
.table:not(.table-bordered) {
    border-bottom: 2px solid #f3f3f3;
}
.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 1px solid #e84c3d;
    background-color: #e84c3d;
    color: #fff;
}
.table-bordered {
    border-color: #e84c3d;
}
tbody {
    background-color: #ffffff;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 8px 15px;
    border-top: 1px solid #f3f3f3;
}
.table-striped tbody {
    background-color: #fafafa;
}
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #f1f1f1;
}
.table-striped.table > tbody > tr > td {
    border-color: #e8e8e8;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border-color: #f3f3f3;
}
.dl-horizontal dd {
    margin-bottom: 10px;
}
.dark .table:not(.table-bordered) {
    border-bottom: 2px solid #515151;
}
.dark .table > thead > tr > th {
    border-bottom: 1px solid #27272a;
    background-color: #27272a;
    color: #cdcdcd;
}
.dark tbody {
    background-color: transparent;
}
.dark .table > thead > tr > th,
.dark .table > tbody > tr > th,
.dark .table > tfoot > tr > th,
.dark .table > thead > tr > td,
.dark .table > tbody > tr > td,
.dark .table > tfoot > tr > td {
    border-top: 1px solid #515151;
}
.dark .table-hover > tbody > tr:hover {
    background-color: #27272a;
}
/* Small devices (tablets, 768px and up) */
@media (min-width:768px) {
    .dl-horizontal dd {
        margin-left: 150px;
    }
    .dl-horizontal dt {
        max-width: 120px;
    }
}

/* 2 Layout
----------------------------------------------------------------------------- */
.page-wrapper {
    background-color: #ffffff;
}

.header-top.banner {
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-bottom: none;
}
.header {
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
    background-color: #fff;
}
.header.dark {
    background-color: #36373C;
    border-top: 1px solid #515151;
    border-bottom-color: transparent!important;
}
.header.header-small {
    padding: 10px 0;
}
.banner {
    background-color: #f1f1f1;
    border-bottom: 1px solid #eaeaea;
}

.page-top {
    padding: 40px 0;
}
.main-container {
    padding: 40px 0;
}
.full-height .main-container {
    padding-top: 80px;
}
.section {
    padding: 25px 0;
}

.footer {
    padding: 30px 0;
    background-color: #262626;
    border-top: 1px solid #3a3a3a;
    border-bottom: 1px solid #333333;
}

.block {
    padding-bottom: 16px;
}
.sidebar .block:first-child {
    margin-top: 2px;
}

@media (min-width: 768px) {
    :not(.fixed-header-on) .header.transparent {
        position: absolute;
        width: 100%;
        z-index: 30;
        background-color: rgba(255,255,255,0.3);
        border-color: transparent;
    }
    :not(.fixed-header-on) .dark.header.transparent {
        background-color: rgba(0,0,0,0.3);
    }
}

/* Boxed Layout
---------------------------------- */

/* Small devices (tablets, 768px and up) */
@media (min-width:768px) {
    .boxed .page-wrapper {
        width: 750px;
    }
}

/* Medium devices (desktops, tablets, 992px and up) */
@media (min-width:992px) {
    .boxed .page-wrapper {
        width: 970px;
    }
}

/* Large devices (Large desktops 1200px and up) */
@media (min-width:1200px) {
    .boxed .page-wrapper {
        width: 1170px;
    }
}

/* Backgrounds
---------------------------------- */
.light .footer {
    background-color: #f7f7f7;
    border-top: 1px solid #DDDDDD;
    border-bottom: 1px solid #d1d1d1;
    position: relative;
}
.footer-top.light-gray-bg + .light .footer {
    border-top: 1px solid #f1f1f1;
}

.white-bg {
    background-color: #ffffff !important;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    border: none !important;
}

.header-top {
    font-size: 12px;
}
.header-top.white-bg {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-bottom: 1px solid #dadada !important;
}

.dark-bg h1,
.dark-bg h2,
.dark-bg h3,
.dark-bg h4,
.dark-bg h5,
.dark-bg h6 {
    color: #ffffff;
}
.dark-bg a:not(.btn) {
    color: #fff;
    text-decoration: underline;
}
.dark-bg a:not(.btn):hover {
    color: #fff;
    text-decoration: none;
}

.default-bg h1,
.default-bg h2,
.default-bg h3,
.default-bg h4,
.default-bg h5,
.default-bg h6 {
    color: #ffffff;
}
.default-bg a:not(.btn) {
    color: #ffffff;
    text-decoration: underline;
}
.default-bg a:not(.btn):hover {
    color: #ffffff;
    text-decoration: none;
}
.default-bg.text-muted,
.default-bg.text-muted h1,
.default-bg.text-muted h2,
.default-bg.text-muted h3,
.default-bg.text-muted h4,
.default-bg.text-muted h5,
.default-bg.text-muted h6 {
    color: #f1f1f1;
}

/* Parallax effect
---------------------------------- */

.light-translucent-bg .separator-2 {
    background-color: #333;
}

.dark-translucent-bg a:not(.btn) {
    text-decoration: underline;
    color: #ffffff;
}
.dark-translucent-bg a:not(.btn):hover {
    text-decoration: none;
    color: #ffffff;
}

.default-translucent-bg a:not(.btn) {
    text-decoration: underline;
    color: #ffffff;
}
.default-translucent-bg a:not(.btn):hover {
    text-decoration: none;
    color: #ffffff;
}
.light-translucent-bg .container,
.dark-translucent-bg .container,
.default-translucent-bg .container {
    z-index: 3;
    position: relative;
}



/* Small devices (tablets, phones less than 767px) */
@media (max-width:767px) {
    .footer-content {
        margin: 40px 0;
    }
}



/* Small devices (tablets, 768px and up) */
@media (min-width:768px) {
    .fixed-header-on.boxed .header.fixed {
        width: 750px;
    }
}

/* Medium devices (desktops, tablets, 992px and up) */
@media (min-width:992px) {
    .fixed-header-on .header .logo {
        display: block;
    }
    .fixed-header-on.boxed .header.fixed {
        width: 970px;
    }
}

/* Large devices (Large desktops 1200px and up) */
@media (min-width:1200px) {
    .fixed-header-on.boxed .header.fixed {
        width: 1170px;
    }
}

/* Small devices (tablets, phones less than 767px) */
@media (max-width:767px) {
    /* Fixed header position */
    .header.fixed {
        position: relative !important;
        top: auto !important;
    }
}

/* Miscellaneous
---------------------------------- */
.pl-5 {
    padding-left: 5px;
}
.pl-10 {
    padding-left: 10px;
}

.pr-5 {
    padding-right: 5px;
}
.pr-10 {
    padding-right: 10px;
}

.mt-20 {
    margin-top: 20px;
}
.mb-20 {
    margin-bottom: 20px;
}
.space {
    padding-top: 20px;
    padding-bottom: 20px;
}
.space-top {
    padding-top: 20px;
}
.space-bottom {
    padding-bottom: 20px;
}
.margin-clear {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.padding-top-clear {
    padding-top: 0 !important;
}
.padding-bottom-clear {
    padding-bottom: 0 !important;
}
.border-clear {
    border: none !important;
}
.circle {
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}
.separator {
    display: block;
    width: 60px;
    height: 5px;
    margin: 15px auto 15px;
    background-color: #cccccc;
    position: relative;
    border: 1px solid #cccccc;
}
.separator:after {
    width: 30px;
    height: 5px;
    background: #333333;
    position: absolute;
    top: -1px;
    left: -1px;
    content: "";
}
.separator-2 {
    display: block;
    width: 30px;
    height: 5px;
    margin: 15px 0 15px;
    background-color: #cccccc;
    position: relative;
}
.separator-2.right {
    margin-left: auto;
}
.sidebar .separator {
    width: 30px;
    height: 5px;
    margin: 15px 0 20px;
    background-color: #666;
    border-color: #666;
}
.sidebar .separator:after {
    content: "";
    background-color: transparent;
}
.dark-bg .separator-2 {
    background-color: #999999;
}
.default-bg .separator-2 {
    background-color: #ebebeb;
}
.object-non-visible {
    opacity: 0;
    filter: alpha(opacity=0);
}
.object-visible,
.touch .object-non-visible {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

/* Targeting only Firefox for smoothest animations */
@-moz-document url-prefix() {
    .object-visible,
    .touch .object-non-visible {
        -webkit-transition: opacity 0.6s ease-in-out;
        -moz-transition: opacity 0.6s ease-in-out;
        -o-transition: opacity 0.6s ease-in-out;
        -ms-transition: opacity 0.6s ease-in-out;
        transition: opacity 0.6s ease-in-out;
    }
}
.vertical-divider-left,
.vertical-divider-left-lg {
    border-left: 1px solid #eeeeee;
    padding-left: 50px;
    margin-left: 20px;
}
.vertical-divider-right,
.vertical-divider-right-lg {
    border-right: 1px solid #eeeeee;
    padding-right: 50px;
    margin-right: 20px;
}
.grid span {
    padding: 15px 5px;
    background-color: #fafafa;
    border: 1px solid #f3f3f3;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

/* Medium devices (desktops, tablets, 992px and up) */
@media (min-width:992px) {
    .margin-top-clear {
        margin-top: 0 !important;
    }
    .margin-bottom-clear {
        margin-bottom: 0 !important;
    }
}

/* Large and Medium devices (desktops, tablets less than 1199px) */
@media (max-width:1199px) {
    /* miscellaneous */
}

/* Medium devices (desktops, tablets less than 991px) */
@media (max-width:991px) {
    /* miscellaneous */
}

/* 3 Sections
----------------------------------------------------------------------------- */
/* Footer
---------------------------------- */
.footer {
    font-size: 14px;
    color: #999999;
}
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
    color: #999999;
}
.footer h2 {
    font-size: 24px;
    margin-bottom: 30px;
}
.light .footer,
.light .footer h1,
.light .footer h2,
.light .footer h3,
.light .footer h4,
.light .footer h5,
.light .footer h6 {
    color: #666;
}

/* Subfooter
---------------------------------- */
.subfooter p {
    margin: 0;
}

/* Small devices (tablets, 768px and up) */
@media (min-width:768px) {
    /* subfooter */
}

/* 4 Pages
----------------------------------------------------------------------------- */
/* Blog pages
---------------------------------- */
.blogpost {
    /*background-color: #fafafa;*/
    border: 1px solid #f3f3f3;
    margin: 0 0 70px;
    position: relative;
}
.blogpost .blogpost-body {
    padding: 20px 20px 0 20px;
    min-height: 140px;
}
.blogpost h2.title {
    margin-bottom: 0;
    margin-top: 0;
}
.blogpost .submitted {
    font-size: 12px;
    margin: 10px 0;
}
.blogpost .side {
    float: left;
    width: 80px;
}
.blogpost .post-info {
    float: left;
    top: 0;
    left: 25px;
    width: 80px;
    height: 90px;
    padding: 10px 15px;
    background-color: #8e1e13;
    color: #fff;
    text-align: center;
    z-index: 3;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.blogpost .side .post-info {
    float: none;
}
.blogpost .post-info .day {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    display: block;
}
.blogpost .post-info .month {
    font-size: 16px;
    line-height: 1.2;
    display: inline-block;
}
.blogpost img {
    max-width: 100%;
}

.blogpost .side .social-links li {
    display: block;
    margin: 0;
}
.blogpost .side .social-links li a {
    width: 100%;
    height: auto;
    display: block;
    font-size: 20px;
    margin-bottom: 0;
    text-align: right;
    background-color: transparent;
    border-color: transparent;
    color: #e84c3d;
}
.blogpost .side .social-links li.twitter a:hover {
    background-color: transparent;
    color: #55acee;
    border-color: transparent;
}
.blogpost .side .social-links li.facebook a:hover {
    background-color: transparent;
    color: #3b5998;
    border-color: transparent;
}
.blogpost .side .social-links li.googleplus a:hover {
    background-color: transparent;
    color: #dd4b39;
    border-color: transparent;
}
.blogpost .blogpost-content {
    padding: 0 0 10px;
    margin-left: 100px;
}
.blogpost footer {
  /*  background-color: #f1f1f1;*/
    padding: 12px 20px;
    border-top: 1px solid #e8e8e8;
    font-size: 14px;
    line-height: 2;
    clear: both;
}
.blogpost ul.links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.blogpost ul.links li {
    display: inline-block;
}
.blogpost ul.links li a {
    color: #666666;
    display: inline-block;
}
.blogpost ul.links li a:hover {
    color: #e84c3d;
}
.blogpost.full {
    background-color: transparent;
    border: none;
}
.blogpost.full footer {
    border: 1px solid #e8e8e8;
}
.blogpost.full .blogpost-body {
    padding: 20px 0;
}
.blogpost.full .submitted {
    margin: 0 0 20px 0;
}
.blogpost.full .overlay-container {
    margin-bottom: 20px;
}

/* Small devices (tablets, phones less than 767px) */
@media (max-width:767px) {
    .blogpost .blogpost-content {
        margin-left: 8px;
        padding-left: 8px;
    }
    .blogpost .side {
        width: 50px;
        margin-right: 8px;
    }
    .blogpost .post-info {
        width: 50px;
        height: 60px;
        padding: 8px 8px;
        margin: 0 20px 5px 0;
    }
    .blogpost .post-info .day {
        font-size: 20px;
    }
    .blogpost .post-info .month {
        font-size: 11px;
        line-height: 1.2;
    }
}

/* Affix */
#affix.affix {
    position: static;
}

/* Medium devices (desktops, tablets, 992px and up) */
@media (min-width:992px) {
    #affix.affix {
        position: fixed;
        top: 65px;
        width: 80px;
    }
    #affix.affix-bottom {
        position: absolute;
        width: 80px;
    }
}

/* Affix Menu - Sidebar */
.sidebar.affix {
    position: static;
}

/* Show and affix the side nav when space allows it */
/* Medium devices (desktops, tablets, 992px and up) */
@media (min-width:992px) {
    .col-md-4 .sidebar.affix,
    .col-md-4 .sidebar.affix-bottom {
        width: 293px;
    }
    .col-md-3 .sidebar.affix,
    .col-md-3 .sidebar.affix-bottom {
        width: 213px;
    }
    .sidebar.affix {
        position: fixed;
        top: 20px;
    }
    .fixed-header-on .sidebar.affix {
        top: 65px;
    }
    .sidebar.affix-bottom {
        position: absolute;
    }
    .sidebar.affix-bottom .affix-menu,
    .sidebar.affix .affix-menu {
        margin-top: 0;
        margin-bottom: 0;
    }
    .affix-menu {
        padding-top: 20px;
    }
    h3.title ~ .affix-menu {
        padding-top: 0px;
    }
}

/* Large devices (Large desktops 1200px and up) */
@media (min-width:1200px) {
    .col-md-4 .sidebar.affix,
    .col-md-4 .sidebar.affix-bottom {
        width: 390px;
    }
    .col-md-3 .sidebar.affix,
    .col-md-3 .sidebar.affix-bottom {
        width: 263px;
    }
}

/* Blog Masonry layout
---------------------------------- */
.masonry-grid .blogpost {
    margin-bottom: 30px;
}
.masonry-grid .blogpost .blogpost-body {
    padding: 15px 15px 0 15px;
}

.masonry-grid .blogpost .submitted {
    margin: 15px 0 10px;
}
.masonry-grid .blogpost .blogpost-content {
    margin-left: 0;
}
.masonry-grid .blogpost .post-info {
    width: 50px;
    height: 60px;
    padding: 8px 8px;
    margin: 0 20px 5px 0;
}
.masonry-grid .blogpost .post-info .day {
    font-size: 20px;
}
.masonry-grid .blogpost .post-info .month {
    font-size: 11px;
    line-height: 1.2;
}

/* Medium desktop devices and tablets */
@media (min-width:992px) and (max-width:1199px) {
    .masonry-grid .blogpost footer {
        font-size: 12px;
    }
}

/* Small devices (tablets, phones less than 767px) */
@media (max-width:767px) {
}



/* 5 Template Components
----------------------------------------------------------------------------- */


/* Links
---------------------------------- */
.link {
    padding-right: 23px;
    position: relative;
    display: inline-block;
    text-align: right;
}
.link:hover {
    text-decoration: none;
}
.link:hover span {
    text-decoration: underline;
}
.link:after {
    content: "\f178";
    font-family: "FontAwesome";
    position: absolute;
    right: 0;
    top: 2px;
}

/* Forms
---------------------------------- */

/* Pager
---------------------------------- */
ul.pagination,
ul.pager {
    margin: 20px 0 40px;
    text-align: left;
}
ul.pagination li {
    padding: 0;
    margin: 0 5px 0 0;
    border-bottom: none;
    font-size: 12px;
    display: inline-block;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
ul.pagination li > a,
.pagination > li:first-child > a,
.pagination > li:last-child > a,
ul.pager li > a {
    padding: 10px 15px;
    border: 1px solid #f3f3f3;
    line-height: 1;
    background-color: #fafafa;
    display: inline-block;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #666666;
}
ul.pagination li > a:hover {
    background-color: transparent;
    color: #ffffff;
    background-color: #e84c3d;
    border-color: #e84c3d;
}
ul.pagination li.active a,
.pagination > .active > a:hover,
.pagination > .active > a:focus {
    color: #ffffff;
    background-color: #e84c3d;
    border-color: #e84c3d;
    line-height: 1;
}
ul.pagination li > a:focus {
    background: none;
}


.tab-content {
    border: 1px solid #f0f0f0;
    padding: 20px;
    border-top: none;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    background-color: #fafafa;
    margin-bottom: 15px;
}
.tab-content h1 {
    font-size: 34px;
}
.tab-content:after {
    width: 3px;
    content: "";
    background-color: #e84c3d;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.tab-content.clear-style {
    border: none;
    padding: 10px 0 0 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}
.tab-content.clear-style:after {
    width: 0;
    background-color: transparent;
    height: 100%;
}

/* Horizontal tabs version 2 */
.tabs-style-2 .nav-tabs {
    border-bottom: 1px solid #e84c3d;
}
.tabs-style-2 .nav-tabs > li.active > a,
.tabs-style-2 .nav-tabs > li.active > a:hover,
.tabs-style-2 .nav-tabs > li.active > a:focus,
.tabs-style-2 .nav-tabs > li > a:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid #e84c3d;
    background-color: #e84c3d;
    color: #fff;
}
.tabs-style-2 .nav-tabs > li.active > a:after {
    width: 0;
    height: 0;
    background-color: transparent;
}
.tabs-style-2 .tab-content {
    border: none;
    padding: 20px 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}
.tabs-style-2 .tab-content:after {
    width: 0px;
    background-color: transparent;
    height: 0;
}
.tabs-style-2 .nav-tabs > li > a:hover:after {
    width: 0;
    background-color: transparent;
    height: 0;
}

.arrow {
    display: block;
    position: relative;
}
.arrow i {
    font-size: 96px;
    top: -62px;
    position: absolute;
    line-height: 1;
    z-index: 2;
    left: 50%;
    margin-left: -27px;
}
.arrow i:before {
    color: #fafafa;
    text-shadow: 0px -1px 1px #E9E9E9;
}

/* Small devices (tablets, phones less than 767px) */
@media (max-width:767px) {
    .vertical .nav-tabs,
    .vertical .tab-content {
        display: block;
    }
}

/* hc-tabs */
.hc-tabs .hc-tabs-top img {
    display: none;
}

/* Nav pills
---------------------------------- */
.nav-pills > li > a {
    border-radius: 0;
    padding: 10px 15px;
    border: 1px solid transparent;
    color: #7CE6FE;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
}
.nav-pills.nav-stacked > li + li {
    margin-left: 0;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus,
.nav-pills > li > a:hover,
.nav-pills > li > a:focus {
    border: 1px solid #f3f3f3;
    color: #666666;
    background-color: #fafafa;
}
.nav-pills.nav-stacked > li > a:after {
    font-family: "FontAwesome";
    content: "\f105";
    font-size: 14px;
    font-weight: 700;
    position: absolute;
    right: 15px;
    top: 9px;
    color: #d1d1d1;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.nav-pills > li.active > a:after {
    color: #e84c3d;
}
.nav-pills > li.active > a:hover:after,
.nav-pills > li.active > a:focus:after,
.nav-pills > li > a:hover:after,
.nav-pills > li > a:focus:after {
    color: #e84c3d;
    right: 10px;
}
.footer-content .nav-pills > li > a {
    padding: 4px 0px;
    border-color: transparent;
    color: #999;
    font-weight: 400;
}
.footer-content .nav-pills > li:last-child > a {
    border-bottom: none;
}
.footer-content .nav-pills > li.active > a,
.footer-content .nav-pills > li.active > a:focus,
.footer-content .nav-pills > li > a:focus {
    color: #999;
    background-color: transparent;
    border-color: transparent;
}
.footer-content .nav-pills > li.active > a:hover,
.footer-content .nav-pills > li > a:hover {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}
.footer-content .nav-pills.nav-stacked > li > a:after {
    top: 3px;
}
.footer-content .nav-pills.nav-stacked > li > a:after,
.footer-content .nav-pills > li.active > a:after,
.footer-content .nav-pills > li.active > a:hover:after,
.footer-content .nav-pills > li.active > a:focus:after,
.footer-content .nav-pills > li > a:hover:after,
.footer-content .nav-pills > li > a:focus:after {
    color: #999
}
.light .footer-content .nav-pills > li > a,
.light .footer-content .nav-pills > li.active > a,
.light .footer-content .nav-pills > li.active > a:focus,
.light .footer-content .nav-pills > li > a:focus {
    color: #666;
}
.light .footer-content .nav-pills > li.active > a:hover,
.light .footer-content .nav-pills > li > a:hover {
    color: #cd3c2e;
}
.light .footer-content .nav-pills.nav-stacked > li > a:after,
.light .footer-content .nav-pills > li.active > a:after,
.light .footer-content .nav-pills > li.active > a:hover:after,
.light .footer-content .nav-pills > li.active > a:focus:after,
.light .footer-content .nav-pills > li > a:hover:after,
.light .footer-content .nav-pills > li > a:focus:after {
    color: #666
}
.nav-pills > .active > a > .badge {
    color: #cd3c2e;
    background-color: #fff;
    border-color: #cd3c2e;
}

/* Process pills */
.process .nav-pills > li + li {
    margin-left: 60px;
    position: relative;
}
.process .nav-pills > li + li:after {
    font-family: "FontAwesome";
    content: "\f101";
    position: absolute;
    top: 10px;
    left: -35px;
    width: 10px;
    background-color: #fff;
}

/* Collapse
---------------------------------- */
.panel-group .panel {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border: none;
}
.panel-default > .panel-heading {
    padding: 0;
    outline: none;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    width: 100%;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
    border: 1px solid #f0f0f0;
    border-top: none;
    background-color: #fafafa
}
.panel-heading a {
    font-weight: 400;
    padding: 12px 35px 12px 15px;
    display: inline-block;
    width: 100%;
    background-color: #e84c3d;
    color: #ffffff;
    position: relative;
    text-decoration: none;
}
.panel-dark .panel-heading a,
.panel-dark .panel-heading a:hover {
    background-color: #333333;
}
.panel-transparent .panel-default > .panel-heading,
.panel-transparent .panel-default > .panel-heading + .panel-collapse > .panel-body {
    background-color: transparent;
    color: inherit;
}
.panel-transparent .panel-heading a {
    border: 1px solid #f1f1f1;
}
.panel-transparent .panel-heading a.collapsed {
    color: inherit;
    background-color: transparent;
}
.panel-heading a.collapsed {
    color: #ffffff;
    background-color: #999999;
}
.panel-heading a:after {
    font-family: "FontAwesome";
    content: "\f147";
    position: absolute;
    right: 15px;
    font-size: 14px;
    font-weight: 300;
    top: 50%;
    line-height: 1;
    margin-top: -7px;
}
.panel-heading a.collapsed:after {
    content: "\f196";
}
.panel-heading a:hover,
.panel-transparent .panel-heading a:hover {
    text-decoration: none;
    background-color: #e84c3d;
    color: #ffffff;
}
.panel-title a i {
    padding-right: 10px;
    font-size: 20px;
}

/* Progress bars
---------------------------------- */
.progress {
    margin-bottom: 25px;
    background-color: #f1f1f1;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    height: 30px;
}
.progress-bar {
    padding: 6px 0 5px 0;
    text-align: left;
}
.progress-bar-default {
    background-color: #e84c3d;
}
.progress-bar-gray {
    background-color: #999999;
}

.gray-bg .progress {
    background-color: #ffffff;
    -webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, .1);
}
.progress-bar span {
    position: relative;
    left: 15px;
}

/* Circular Progress Bars
---------------------------------- */
.knob-container canvas {
    width: 132px;
    height: 132px;
    margin: 0 auto;
}

/* Large devices (Large desktops 1200px and up) */
@media (min-width:1200px) {
    .knob-container canvas {
        width: 169px;
        height: 169px;
    }
}

/* Alerts
---------------------------------- */
.alert {
    margin: 20px 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    position: relative;
    padding-left: 70px;
    overflow: hidden;
    z-index: 1;
    border: none;
}
.alert:before {
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    width: 50px;
    height: 101%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 2;
}
.alert-success {
    color: #2a5f2b;
    background-color: #bcdab0;
}
.alert-info {
    color: #1a4e68;
    background-color: #c6e8fa;
}
.alert-warning {
    color: #72582b;
    background-color: #f7f0ce;
}
.alert:after {
    font-family: "FontAwesome";
    position: absolute;
    top: 10px;
    left: 17px;
    color: #ffffff;
    font-size: 20px;
    z-index: 3;
}
.alert.alert-success:after {
    content: "\f00c";
}
.alert.alert-info:after {
    content: "\f05a";
}
.alert.alert-warning:after {
    content: "\f071";
}
.alert.alert-danger:after {
    content: "\f00d";
}
.close {
    font-size: 28px;
    font-weight: normal;
    filter: alpha(opacity=40);
    opacity: 0.4;
}

/* Modals
---------------------------------- */
.modal-open .page-wrapper {
    -webkit-filter: blur(3px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

.modal-content .modal-title {
    font-size: 24px;
    color: #ffffff;
}
.modal-footer .btn {
    margin: 0;
}

/* Large devices (Large desktops 1200px and up) */
@media (min-width:1200px) {
    .modal-lg {
        width: 1140px;
    }
}

/* Popups
---------------------------------- */
.mfp-zoom-out-cur .page-wrapper {
    -webkit-filter: blur(3px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

/* Images and Images overlay
---------------------------------- */
.fixed-image {
    background-position: center center;
    background-repeat: no-repeat;
    height: 400px;
}
.no-touch .fixed-image {
    background-attachment: fixed;
}
.fixed-image {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.overlay-container {
    position: relative;
    display: block;
    overflow: hidden;
}
.overlay {
    position: absolute;
    top: 0;
    bottom: -1px;
    left: 0;
    right: -1px;
    background-color: rgba(241, 241, 241, 0.85);
    overflow: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transition: all linear 0.2s;
    -moz-transition: all linear 0.2s;
    -ms-transition: all linear 0.2s;
    -o-transition: all linear 0.2s;
    transition: all linear 0.2s;
}
.overlay a {
    display: inline-block;
    width: 50px;
    height: 50px;
    font-size: 26px;
    color: #e84c3d;
    background-color: #ffffff;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
}
.overlay span {
    position: absolute;
    display: block;
    bottom: 10px;
    text-align: center;
    width: 100%;
    color: #000000;
    font-style: italic;
}
.overlay-links {
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    left: 50%;
    margin-left: -50px;
    font-size: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transform: scale(0.4);
    transform: scale(0.4);
    -webkit-transition: all 0.25s linear 0.05s;
    -moz-transition: all 0.25s linear 0.05s;
    -ms-transition: all 0.25s linear 0.05s;
    -o-transition: all 0.25s linear 0.05s;
    transition: all 0.25s linear 0.05s;
}
.overlay-links a {
    position: static;
    margin-top: 0;
    margin-left: 0;
}
.overlay-links a + a {
    left: 50px;
    color: #ffffff;
    background-color: #e84c3d;
}
.overlay a:hover {
    color: #ffffff;
    background-color: #333333;
    text-decoration: none;
}
.overlay i {
    line-height: 50px;
}
.box-style-1 .overlay i {
    font-size: 26px;
    margin: 0;
}
a.overlay {
    background-color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}
a.overlay:hover {
    text-decoration: none;
}
.listing-item a.overlay {
    -webkit-transition: linear 0.25s;
    -o-transition: linear 0.25s;
    transition: linear 0.25s;
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-transform: scale(1);
    transform: scale(1);
}
.listing-item a.overlay:hover {
    text-decoration: none;
}
a.overlay i {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 40px;
    line-height: 42px;
    color: #e84c3d;
    margin-top: -22px;
    margin-left: -18px;
    text-align: center;
}
a.overlay.small i {
    font-size: 18px;
    line-height: 1;
    margin-top: -8px;
    margin-left: -8px;
}

.overlay .social-links li {
    margin: 0 auto;
}
.overlay .social-links li a {
    margin: 2px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    position: static;
}
.overlay .social-links li a:hover {
    background-color: #fff;
    border-color: #fff;
    text-decoration: none;
}
.overlay .social-links li a i {
    line-height: 38px;
    font-size: 24px;
    margin: 0;
}
.overlay-container:hover .overlay,
.overlay-container:hover .overlay-links {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    transform: scale(1);
}

/* Responsive iframe
---------------------------------- */
.tp-caption .embed-responsive {
    overflow: visible;
}

/* Audio wrapper
---------------------------------- */
.audio-wrapper iframe {
    width: 100%;
    border: none;
    margin-bottom: 20px;
}

/* Scroll Spy
---------------------------------- */
.scroll-spy {
    position: relative;
}

/* 6 Navigations
----------------------------------------------------------------------------- */



/*transparent header*/
.header.transparent:not(.dark) .navbar-nav > .open > a,
.header.transparent:not(.dark) .navbar-nav > .open > a:hover,
.header.transparent:not(.dark) .navbar-nav > .open > a:focus,
.header.transparent:not(.dark) .dropdown-menu {
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    border-color: rgb(250, 250, 250)!important;
}

@media (min-width: 768px) {
    .header.transparent:not(.dark) .navbar-nav > li:not(.active) > a {
        color: #333333;
    }
}

/* mega menu */
.mega-menu .dropdown-menu {
    left: 0;
    top: 96%;
    width: 100%;
    padding: 20px 30px;
}

/* mega menu menu items */
.mega-menu .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-menu h4.title {
    margin: 10px 0 5px;
    font-size: 14px;
    text-transform: uppercase;
}
.mega-menu .menu > li > a {
    padding: 5px 0;
    font-size: 15px;
    color: #666666;
    border-bottom: 1px solid #f1f1f1;
    display: block;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
    transition: none;
    position: relative;
}
.mega-menu .menu > li > a i,
.dropdown-menu > li > a i {
    padding-right: 5px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.mega-menu .menu > li:last-child > a {
    border-bottom: none!important;
}
.mega-menu .menu > li > a:hover i,
.dropdown-menu > li > a:hover i {
    padding-left: 5px;
}

/* mega menu menu items on focus/hover and when opened */
.mega-menu .menu > li > a:hover,
.mega-menu .menu > li > a:focus {
    background-color: #ffffff;
    color: #e84c3d;
    border-color: #f1f1f1;
    text-decoration: none;
}

.transparent.header:not(.dark) .dropdown>a:before {
    color: #666666;
}
.navbar-default .navbar-nav > .active.dropdown > a:before {
    color: #e84c3d;
}
.navbar-default .navbar-nav > .dropdown.open > a:before {
    color: #e5e5e5;
}
.dropdown .dropdown>a:before {
    content: "\f105";
    right: 10px;
    top: 15px;
    margin-left: 0;
    visibility: visible;
    color: #666;
}
.dropdown .dropdown.open>a:before,
.transparent.header:not(.dark) .dropdown .dropdown.open>a:before {
    color: #e84c3d;
}

/* mobile menu toggle button */
.navbar-default .navbar-toggle {
    border-color: #ccc;
}

/* mobile menu toggle button on hover/focus */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #fafafa;
    border-color: #e84c3d;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #999;
}
.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #e84c3d;
}

/*Dark Navigation*/
.dark.header .navbar.navbar-default {
    background-color: #27272A;
    border-color: #1f1f1f;
}
/* Dark navigation first level menu items */
.dark.header .navbar-default .navbar-nav > li > a {
    color: #e1e1e1;
}
/* Dark navigation first level active menu items on hover/focus */
.dark.header .navbar-default .navbar-nav > .active > a,
.dark.header .navbar-default .navbar-nav > .active > a:focus {
    color: #ffffff;
}
/* Dark navigation first level active menu items when opened */
.dark.header .main-navigation .navbar-nav > .open > a,
.dark.header .main-navigation .navbar-nav > .open > a:hover,
.dark.header .main-navigation .navbar-nav > .open > a:focus {
    background-color: #27272a;
    border-color: #484848;
    border-bottom-color: #27272a;
    color: #ffffff;
}
/*Dark navigation second level menu items*/
.dark.header .dropdown-menu {
    background-color: #27272a;
    border: 1px solid #484848;
}
.dark.header-top .dropdown-menu {
    background-color: #36373c;
    border: 1px solid #3d3d3d;
    border-top-color: #36373c;
}
.dark.header-top .dropdown-menu .divider {
    background-color: #454545;
}
.dark.header .dropdown-menu > li > a {
    color: #cdcdcd;
    border-bottom: 1px solid #3d3d3d;
}
/*Dark navigation second level menu items on focus/hover and when opened */
.dark.header .dropdown-menu > li > a:hover,
.dark.header .dropdown-menu > li > a:focus,
.dark.header .nav .open > a,
.dark.header .nav .open > a:hover,
.dark.header .nav .open > a:focus,
.dark.header .dropdown-menu > .active > a,
.dark.header .dropdown-menu > .active > a:hover,
.dark.header .dropdown-menu > .active > a:focus,
.dark.header .dropdown-menu .menu > .active > a,
.dark.header .dropdown-menu .menu > .active > a:hover,
.dark.header .dropdown-menu .menu > .active > a:focus {
    background-color: #36373C;
    color: #ffffff;
}
/*Dark navigation mega-menu items*/
.dark.header h1,
.dark.header h2,
.dark.header h3,
.dark.header h4,
.dark.header h5,
.dark.header h6,
.dark.header p {
    color: #cdcdcd;
}
.dark.header .divider {
    background-color: #3d3d3d;
}
.dark.header .mega-menu .menu > li > a {
    color: #cdcdcd;
    border-bottom: 1px solid #3d3d3d;
}
/*Dark navigation mega menu menu items on focus/hover and when opened */
.dark.header .mega-menu .menu > li > a:hover,
.dark.header .mega-menu .menu > li > a:focus {
    background-color: #36373c;
    color: #ffffff;
}
/* Dark navigation arrows for parent menu items */
.dark.header .dropdown>a:before {
    color: #e1e1e1;
}
.dark.header .navbar-default .navbar-nav > .active.dropdown > a:before {
    color: #ffffff;
}
.dark.header .navbar-default .navbar-nav > .dropdown.open > a:before {
    color: #666666;
}
.dark.header .dropdown .dropdown>a:before {
    color: #e1e1e1;
}
/* Dark navigation mobile menu toggle button */
.dark.header .navbar-default .navbar-toggle {
    border-color: #666666;
}

/* Dark navigation mobile menu toggle button on hover/focus */
.dark.header .navbar-default .navbar-toggle:hover,
.dark.header .navbar-default .navbar-toggle:focus {
    background-color: #36373c;
    border-color: #999999;
}
.dark.header .navbar-default .navbar-toggle .icon-bar {
    background-color: #666666;
}
.dark.header .navbar-default .navbar-toggle:hover .icon-bar,
.dark.header .navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #999999;
}

/* dropdown animations */
.animated.main-navigation .open .dropdown-menu,
#offcanvas.animated .open .dropdown-menu,
.open .dropdown-animation {
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInDownSmall;
    animation-name: fadeInDownSmall;
}
.open .dropdown-animation {
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
}
.animated.main-navigation .dropdown-menu .open .dropdown-menu,
#offcanvas.animated .dropdown-menu .open .dropdown-menu {
    -webkit-animation-name: fadeInLeftSmall;
    animation-name: fadeInLeftSmall;
}

.animated.main-navigation .dropdown-menu .open .dropdown-menu.to-left,
#offcanvas.animated.offcanvas-right .dropdown-menu .open .dropdown-menu {
    -webkit-animation-name: fadeInRightSmall;
    animation-name: fadeInRightSmall;
}

/* Small devices (tablets, 768px and up) */
@media (min-width:768px) {
    .main-navigation .navbar-nav.navbar-right:last-child {
        margin-right: 0;
    }

    /* first level menu */
    /*.navbar.navbar-default,*/
    /*.dark.header .navbar.navbar-default {*/
        /*background-color: transparent;*/
        /*border-color: transparent;*/
    /*}*/

    /* layout fixes */
    .main-navigation .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }
    .navbar-collapse {
        padding-right: 0px;
        padding-left: 0px;
    }
    .main-navigation .navbar-right .dropdown-menu {
        right: auto;
        left: 0;
    }
    .main-navigation .navbar-right > li:last-child > .dropdown-menu {
        right: 0;
        left: auto;
    }
}

/* Medium desktop devices and tablets */
@media (min-width:768px) and (max-width:1199px) {
    .main-navigation .container-fluid {
        padding-right: 0px;
        padding-left: 0px;
    }
}

/* Medium devices (tablets landscape to portrait) */
@media (min-width:768px) and (max-width:991px) {
    .main-navigation .navbar-nav {
        float: left !important;
    }
}

/* Medium devices (desktops, tablets, 992px and up) */
@media (min-width:992px) {
    .col-md-3 + .col-md-9 .mega-menu .dropdown-menu {
        left: -243px;
        width: 940px;
    }
}

/* Medium desktop devices */
@media (min-width:992px) and (max-width:1199px) {
    .navbar-default .navbar-nav > li > a {
        padding-right: 19px;
    }
}

/* Large devices (Large desktops 1200px and up) */
@media (min-width:1200px) {
    /* first level menu item */
    .main-navigation .navbar-nav > li {
        margin: 0 0 0 15px;
    }
    .main-navigation .navbar-nav > li:first-child {
        margin: 0;
    }
    .col-md-3 + .col-md-9 .mega-menu .dropdown-menu {
        left: -293px;
        width: 1140px;
    }
}

/* Small devices (tablets, phones less than 767px) */
@media (max-width:767px) {
    /* Mobile menu
	------------------------------ */
    /* active items */
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #e84c3d;
        background-color: transparent;
    }

    /* first level items */
    .navbar-default .navbar-nav > li > a {
        border-bottom: 1px solid #f1f1f1;
    }
    .subfooter .navbar-default .navbar-nav > li > a {
        border-bottom: 1px solid #141414;
    }
    .light .subfooter .navbar-default .navbar-nav > li > a {
        border-bottom: 1px solid #ddd;
    }
    .navbar-default .navbar-nav > li:last-child > a {
        border-bottom: 1px solid transparent;
    }

    /* first level items when opened */
    .main-navigation .navbar-nav > .open > a,
    .main-navigation .navbar-nav > .open > a:hover,
    .main-navigation .navbar-nav > .open > a:focus {
        border-color: transparent!important;
        -moz-box-shadow: none;
        -o-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    /* first level items hover and focus states */
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus,
    .navbar-default .navbar-nav > .active > a:hover,
    .navbar-default .navbar-nav > .active > a:focus {
        color: #e84c3d;
        background-color: #fff;
    }

    /* second level menu */
    .navbar-default .navbar-nav .open .dropdown-menu {
        background-color: #ffffff;
    }

    /* second level items */
    .navbar-default .navbar-nav .open .dropdown-menu > li > a,
    .navbar-default .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 12px 15px 12px 40px;
        color: #666666;
        border-color: #fafafa;
    }

    /* second level items on hover/focus */
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #e84c3d;
    }

    /* third level items */
    .navbar-nav .open .dropdown-menu .dropdown-menu > li > a {
        padding-left: 60px;
    }

    /* four level items */
    .navbar-nav .open .dropdown-menu .dropdown-menu .dropdown-menu > li > a {
        padding-left: 80px;
    }

    /* Arrows for parent menu items */
    .dropdown>a:before {
        right: 32px;
    }
    .dropdown .dropdown>a:before {
        right: 36px;
    }

    /*Dark mobile menu
	------------------------------ */
    .dark.header .navbar-default .navbar-collapse,
    .dark.header .navbar-default .navbar-form {
        border-color: #1f1f1f;
    }
    /* active items */
    .dark.header .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
    .dark.header .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
    .dark.header .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
        background-color: #36373c;
    }
    /* first level items */
    .dark.header .navbar-default .navbar-nav > li > a {
        border-bottom: 1px solid #3c3c3e;
    }

    /* first level active items */
    .dark.header .navbar-default .navbar-nav > .active > a,
    .dark.header .navbar-default .navbar-nav > .active > a:focus {
        color: #ffffff;
        background-color: #36373C;
    }

    /* first level items hover and focus states */
    .dark.header .navbar-default .navbar-nav > li > a:hover,
    .dark.header .navbar-default .navbar-nav > li > a:focus,
    .dark.header .navbar-default .navbar-nav > .active > a:hover,
    .dark.header .navbar-default .navbar-nav > .active > a:focus {
        color: #ffffff;
        background-color: #36373c;
    }

    /* first level items when opened */
    .dark.header .main-navigation .navbar-nav > .open > a,
    .dark.header .main-navigation .navbar-nav > .open > a:hover,
    .dark.header .main-navigation .navbar-nav > .open > a:focus	{
        color: #ffffff;
        background-color: #36373c;
    }

    /* second level menu */
    .dark.header .navbar-default .navbar-nav .open .dropdown-menu {
        background-color: #27272a;
        border: none;
    }
    /* second level items */
    .dark.header .navbar-default .navbar-nav .open .dropdown-menu > li > a,
    .dark.header .navbar-default .navbar-nav .open .dropdown-menu .dropdown-header {
        color: #cdcdcd;
        border-color: #3c3c3e;
    }

    /* second level items on hover/focus */
    .dark.header .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .dark.header .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #ffffff;
        background-color: #36373c;
    }
    .dark.header .navbar-default .navbar-nav > .dropdown.open > a:before {
        color: #ffffff;
    }
}

/* Header top navigation
---------------------------------- */
.header-top .navbar.navbar-default {
    margin: 0;
    min-height: 30px;
}
.header-top .navbar-default .navbar-nav > li > a {
    color: #999999;
    padding: 4px 20px;
}
.header-top .navbar-default .navbar-nav > li {
    border-right: 1px solid #999999;
}
.header-top .navbar-default .navbar-nav > li:last-child {
    border-right: none;
}

/* Offcanvas navigation
---------------------------------- */

/*First level menu items*/
#offcanvas .navbar-nav > li,
#offcanvas .navbar-nav {
    float: none;
    margin: 0;
}
#offcanvas .navbar-nav > li > a {
    color: #333333;
    border-bottom: 1px solid #f5f5f5;
    padding-top: 10px;
    padding-bottom: 10px;
}
#offcanvas .navbar-nav > li:last-child > a {
    border-bottom-color: transparent!important;
}
#offcanvas .nav .open > a,
#offcanvas .nav .open > a:hover,
#offcanvas .nav .open > a:focus,
#offcanvas .nav > li > a:hover,
#offcanvas .nav > li > a:focus,
#offcanvas .navbar-nav > li.active > a {
    color: #e84c3d;
    background-color: #ffffff;
}
/*Second level menu items*/
#offcanvas .dropdown-menu {
    position: static;
    width: 100%;
    float: none;
    box-shadow: none;
    border: none;
    background-color: #ffffff;
    margin: 0;
}
#offcanvas.offcanvas-right .dropdown-menu {
    overflow: hidden;
}
#offcanvas .dropdown-menu > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    border-color: #f7f7f7;
}
#offcanvas.offcanvas-right .dropdown-menu > li > a {
    text-align: right;
    padding-left: 10px;
    padding-right: 20px;
}

/*Third level menu items*/
#offcanvas .dropdown-menu .dropdown-menu > li > a {
    padding-left: 30px;
}
#offcanvas.offcanvas-right .dropdown-menu .dropdown-menu > li > a {
    padding-left: 10px;
    padding-right: 30px;
}

/*Fourth level menu items*/
#offcanvas .dropdown-menu .dropdown-menu .dropdown-menu > li > a {
    padding-left: 45px;
}
#offcanvas.offcanvas-right .dropdown-menu .dropdown-menu .dropdown-menu > li > a {
    padding-left: 10px;
    padding-right: 45px;
}

/*Fifth level menu items*/
#offcanvas .dropdown-menu .dropdown-menu .dropdown-menu .dropdown-menu > li > a {
    padding-left: 60px;
}

#offcanvas.offcanvas-right .dropdown-menu .dropdown-menu .dropdown-menu .dropdown-menu > li > a {
    padding-left: 10px;
    padding-right: 60px;
}
/*Nav arrows*/
#offcanvas .dropdown>a:before {
    right: 15px;
    top: 13px;
}
#offcanvas.offcanvas-right .dropdown>a:before {
    right: auto;
    left: 15px;
    top: 13px;
}
#offcanvas.offcanvas-right .dropdown .dropdown>a:before {
    content: "\f104";
}
/*Dark offcanvas nav*/

/*First level menu items*/
.dark.offcanvas-container #offcanvas .navbar-nav > li > a {
    color: #e1e1e1;
    border-bottom: 1px solid #3d3d3d;
}
.dark.offcanvas-container #offcanvas .navbar-nav > li.open > a {
    border-bottom: 1px solid #515151!important;
}
.dark.offcanvas-container #offcanvas .nav .open > a,
.dark.offcanvas-container #offcanvas .nav .open > a:hover,
.dark.offcanvas-container #offcanvas .nav .open > a:focus,
.dark.offcanvas-container #offcanvas .nav > li > a:hover,
.dark.offcanvas-container #offcanvas .nav > li > a:focus,
.dark.offcanvas-container #offcanvas .navbar-nav > li.active > a {
    color: #ffffff;
    background-color: #36373c;
}
/*Second level menu items*/
.dark.offcanvas-container #offcanvas .dropdown-menu {
    background-color: #36373c;
}
.dark.offcanvas-container #offcanvas .dropdown-menu > li > a {
    border-color: #515151;
    color: #e1e1e1;
}
.dark.offcanvas-container #offcanvas .dropdown-menu > li > a:hover,
.dark.offcanvas-container #offcanvas .dropdown-menu > li > a:focus {
    color: #ffffff;
    background-color: #36373c;
}
/*Nav arrows*/
.dark.offcanvas-container .dropdown .dropdown.open>a:before {
    color: #ffffff;
}

/* Subfooter navigation
---------------------------------- */
.subfooter .navbar {
    margin: 0;
    min-height: 0;
    background: transparent;
    border-color: transparent;
}
.subfooter .navbar-default .nav > li > a {
    padding: 10px 10px;
    text-transform: none;
    line-height: 1;
    font-size: 14px;
    font-weight: 400;
}
.subfooter .navbar-default .nav li:last-child a,
.light .subfooter .navbar-default .nav > li:last-child > a {
    border: none;
}
.subfooter .navbar-default .nav > li > a:hover,
.subfooter .navbar-default .nav > .active > a:hover,
.subfooter .navbar-default .nav > .active > a:focus {
    background-color: transparent;
    text-decoration: underline;
    color: #e84c3d;
}

/* Small devices (tablets, 768px and up) */
@media (min-width:768px) {
    .subfooter .navbar-nav {
        float: none;
        margin: 15px 0;
        text-align: center;
    }
    .subfooter .navbar-nav > li {
        float: none;
        padding: 5px 0;
    }
    .subfooter .navbar-default .nav > li > a {
        padding: 0px 10px;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width:992px) {
    .subfooter .navbar-nav {
        float: right;
        margin: 0;
        text-align: left;
    }
    .subfooter .navbar-nav > li {
        float: left;
        padding: 0;
        margin-top: 4px;
    }
    .subfooter .navbar-default .nav > li > a {
        border-right: 1px solid #333333;
    }
    .light .subfooter .navbar-default .nav > li > a {
        border-right: 1px solid #999999;
    }
}

/* Small devices (tablets, phones less than 767px) */
@media (max-width:767px) {
    /* subfooter nav */
    .subfooter .navbar-default .navbar-toggle:hover,
    .subfooter .navbar-default .navbar-toggle:focus {
        background-color: transparent;
        border-color: #888;
    }
    .light .subfooter .navbar-default .navbar-collapse {
        border-color: #ddd;
    }
    .subfooter .navbar-default .navbar-collapse {
        border-color: #000000;
    }
}

/* 7 Blocks/Widgets
----------------------------------------------------------------------------- */
/* Logo
---------------------------------- */
.logo img {
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.logo img:hover {
    opacity: 0.85;
    filter: alpha(opacity=85);
}
.main-container .logo img {
    margin: 0 auto;
}
.header-small .logo img {
    max-height: 40px;
    margin: 2px 0 -4px 0;
}
.text-center .logo img {
    margin: 0 auto;
}

.logo-footer {
    margin: 25px 0 20px;
}
.offcanvas .logo {
    margin: 20px 0 10px;
}
.offcanvas .logo img {
    margin: 0 auto;

}

/* Medium devices (desktops, tablets less than 991px) */
@media (max-width:991px) {
    .logo img,
    .header-small .logo img {
        margin: 0 auto;
    }
}

/* Call to action
---------------------------------- */
.call-to-action {
    padding: 10px 25px;
    text-align: center;
}
.call-to-action .btn {
    margin: 10px 5px;
}
.call-to-action .btn.btn-lg {
    margin-top: 15px;
}

/* Extra small devices (phones, less than 480px) */
@media (max-width:480px) {
    .call-to-action .btn {
        display: block;
        width: 60%;
        margin: 10px auto;
    }
}

/* Boxes
---------------------------------- */
.box {
    text-align: center;
    margin: 0 10px 10px 0;
    width: 60px;
    height: 60px;
    display: inline-block;
    font-size: 0;
    float: left;
    border: 1px solid transparent;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.box i {
    font-size: 36px;
    line-height: 60px;
}
.box.small {
    margin: 0 5px 5px 0;
    width: 45px;
    height: 45px;
}
.box.small i {
    font-size: 24px;
    line-height: 45px;
}

.box.default-bg:hover {
    background-color: #fff;
    border: 1px solid #e84c3d;
}
.box.default-bg:hover * {
    color: #e84c3d;
}

.box.dark-bg:hover * {
    color: #666;
}
.box-style-1 {
    text-align: center;
    padding: 20px;
    margin: 20px 0;
}
.grid-space-10 .box-style-1 {
    margin: 10px 0;
}
.box-style-1 i {
    font-size: 90px;
    margin: 15px 0 5px;
    text-align: center;
}
.box-style-1:not(.team-member):hover i {
    color: #e84c3d;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.box-style-1.default-bg:hover i,
.box-style-1.dark-bg:hover i {
    color: inherit;
}
.box-style-2 {
    margin-top: 20px;
}
.box-style-2 i {
    font-size: 36px;
    line-height: 60px;
}
.box-style-2 .icon-container {
    float: left;
    width: 60px;
    height: 60px;
    text-align: center;
    border: 1px solid transparent;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.box-style-2 .body {
    margin-left: 80px;
}
.box-style-2 h2 {
    font-size: 24px;
    margin-top: 0;
}
.box-style-2:hover .icon-container {
    border: 1px solid #666;
}
.box-style-2:hover .default-bg {
    background-color: #fff;
    border: 1px solid #e84c3d;
}
.box-style-2:hover .default-bg * {
    color: #e84c3d;
}

.box-style-2:hover .dark-bg * {
    color: #666;
}
.box-style-2:hover .white-bg * {
    color: #e84c3d;
}
.box-style-3 {
    margin-top: 20px;
}
.box-style-3 i {
    font-size: 22px;
    line-height: 45px;
}
.box-style-3 .icon-container {
    float: left;
    width: 45px;
    height: 45px;
    text-align: center;
    border: 1px solid transparent;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.box-style-3 .body {
    margin-left: 80px;
}
.box-style-3 h2 {
    font-size: 20px;
    margin-top: 0;
}
.box-style-3:hover .icon-container {
    border: 1px solid #666;
}
.box-style-3:hover .default-bg {
    background-color: #fff;
    border: 1px solid #e84c3d;
}
.box-style-3:hover .default-bg * {
    color: #e84c3d;
}

.box-style-3:hover .dark-bg * {
    color: #666;
}
.box-style-3:hover .white-bg * {
    color: #e84c3d;
}
.panel-body i {
    width: auto;
    margin-right: 5px;
    text-align: center;
}

/* Small devices (tablets, 768px and up) */
@media (min-width:768px) {
    .box-style-3.right .icon-container {
        float: right;
    }
    .box-style-3.right .body {
        margin-right: 80px;
        text-align: right;
        margin-left: 0;
    }
}

/* Image Boxes
---------------------------------- */
.image-box {
    border: 1px solid #f3f3f3;
}
.grid-space-0 .image-box {
    border: none;
}

.image-box .btn {
    white-space: normal;
    border-color: transparent;
}
.image-box .btn-block {
    margin: 0;
}
.image-box-body {
    padding: 20px 15px 15px;
}

/* Tags cloud block
---------------------------------- */
.tags-cloud {
    font-size: 0;
}
.tag {
    display: inline-block;
    margin: 0 3px 3px 0;
}
.tag a {
    padding: 5px 10px;
    color: #999;
    display: block;
    font-size: 12px;
    background-color: #fafafa;
    border: 1px solid #f3f3f3;
}
.tag a:hover {
    color: #ffffff;
    background-color: #e84c3d;
    border-color: #e84c3d;
    text-decoration: none;
}
footer:not(.light) .footer-content .tag a,
.dark-bg .tag a {
    background-color: transparent;
    border-color: #555;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

/* Social icons block
---------------------------------- */
.social-links li {
    display: inline-block;
    margin: 0 2px 2px 0;
}
.social-links li a {
    width: 45px;
    height: 45px;
    display: block;
    text-align: center;
    font-size: 20px;
    background: #e84c3d;
    border: 1px solid #e84c3d;
    color: #fff;
}
.social-links.large li a {
    width: 60px;
    height: 60px;
    font-size: 24px;
}
.social-links.light li a {
    background: #fafafa;
    border: 1px solid #f3f3f3;
    color: inherit;
}
.social-links.dark li a {
    background: #454545;
    border: 1px solid #333333;
    color: #acacac;
}
.social-links.radius-5px li a {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.social-links.circle li a {
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}
.social-links li a:hover {
    background-color: transparent;
    border-color: #cd3c2e;
    color: #cd3c2e;
}
.social-links.dark li a:hover {
    background: #fafafa;
    border: 1px solid #acacac;
    color: inherit;
}
.social-links.light li a:hover {
    border: 1px solid #d2d2d2;
    color: #333333;
}
.social-links li a i {
    line-height: 44px;
}
.social-links.large li a i {
    line-height: 60px;
}

.header-top .social-links li {
    padding: 3px 5px 2px;
    border-right: 1px solid #e3e3e3;
    margin: 0;
}
.header-top .social-links li:hover {
    background-color: #fafafa;
}
.header-top .social-links li a {
    font-size: 16px;
}
.header-top .social-links li:last-child {
    border-right: none;
}
.header-top .social-links li a {
    border: none;
    width: 25px;
    height: 30px;
    color: #999999;
    background-color: transparent;
    border-color: transparent;
}
.header-top .social-links li a:hover {
    color: #cd3c2e;
}
.header-top .social-links li a i {
    line-height: 30px;
}
.dark.header-top .social-links li {
    border-right: 1px solid #3d3d3d;
}
.dark.header-top .social-links li:last-child {
    border-right: none;
}
.dark.header-top .social-links li:hover {
    background-color: transparent;
}
.dark.header-top .social-links li a {
    color: #999999;
}

.footer-content .social-links li {
    margin: 0 5px 5px 0;
}
.footer-content .social-links li a {
    color: #666;
    background-color: transparent;
    border-color: #666;
}
.footer-content .social-links li a:hover {
    color: #fff;
    background-color: #666;
    border-color: #666;
}
.social-links li.twitter a:hover,
.colored.social-links li.twitter a {
    background-color: #55acee;
    border-color: #55acee;
    color: #fff;
}
.social-links li.skype a:hover,
.colored.social-links li.skype a {
    background-color: #00aff0;
    border-color: #00aff0;
    color: #fff;
}
.social-links li.linkedin a:hover,
.colored.social-links li.linkedin a {
    background-color: #0976b4;
    border-color: #0976b4;
    color: #fff;
}
.social-links li.googleplus a:hover,
.colored.social-links li.googleplus a {
    background-color: #dd4b39;
    border-color: #dd4b39;
    color: #fff;
}
.social-links li.youtube a:hover,
.colored.social-links li.youtube a {
    background-color: #b31217;
    border-color: #b31217;
    color: #fff;
}
.social-links li.flickr a:hover,
.colored.social-links li.flickr a {
    background-color: #ff0084;
    border-color: #ff0084;
    color: #fff;
}
.social-links li.facebook a:hover,
.colored.social-links li.facebook a {
    background-color: #3b5998;
    border-color: #3b5998;
    color: #fff;
}
.social-links li.pinterest a:hover,
.colored.social-links li.pinterest a {
    background-color: #cb2027;
    border-color: #cb2027;
    color: #fff;
}
.social-links li.instagram a:hover,
.colored.social-links li.instagram a {
    background-color: #517fa4;
    border-color: #517fa4;
    color: #fff;
}
.social-links li.vimeo a:hover,
.colored.social-links li.vimeo a {
    background-color: #aad450;
    border-color: #aad450;
    color: #fff;
}
.social-links li.tumblr a:hover,
.colored.social-links li.tumblr a {
    background-color: #32506d;
    border-color: #32506d;
    color: #fff;
}
.social-links li.soundcloud a:hover,
.colored.social-links li.soundcloud a {
    background-color: #ff3a00;
    border-color: #ff3a00;
    color: #fff;
}
.social-links li.foursquare a:hover,
.colored.social-links li.foursquare a {
    background-color: #0072b1;
    border-color: #0072b1;
    color: #fff;
}
.social-links li.dribbble a:hover,
.colored.social-links li.dribbble a {
    background-color: #ea4c89;
    border-color: #ea4c89;
    color: #fff;
}
.social-links li.behance a:hover,
.colored.social-links li.behance a {
    background-color: #053eff;
    border-color: #053eff;
    color: #fff;
}
.social-links li.vine a:hover,
.colored.social-links li.vine a {
    background-color: #00a478;
    border-color: #00a478;
    color: #fff;
}
.social-links li.stumbleupon a:hover,
.colored.social-links li.stumbleupon a {
    background-color: #f74425;
    border-color: #f74425;
    color: #fff;
}

.drop-box {
    background: #F8F8F8;
    border: 2px dashed #DDD;
    width: 100%;
    height: 86px;
    text-align: center;
    padding-top: 25px;
    margin-left: 10px;

}

.menu_bar_gg {
    margin-bottom: 10px;
    height: 33px;
    border-radius: 5px;
}

.gg_image_detail {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
}

.post_item {
    margin-bottom: 10px;
}

.post_item img {
    width: 100%;
    height: auto;
}

.img_post_cover {
    margin-bottom: 5px;
}

.sub_title_post {
    min-height: 32px;
    margin-bottom: 15px;
}
.ava_post {
    width: 60px;
    max-height: 80px;
    float: left;
    margin-right: 8px;
}
.catg_title {
    padding-right: 5px;
    text-align: justify;
}
.sing_commentbox {
    height: 30px;
    margin-top: 5px;
}
.sing_commentbox > p {
    color: #888;
    display: inline-block;
    font-size: 11px;
    font-weight: normal;
    margin-right: 5px;
}

.em_icon_post {
    font-size: 18px !important;;
    margin-top: 5px;
    margin-right: 5px;
}
.blog_img_btn_bar {
    height: 25px;
}

.journal-media-item{
    max-width: 128px;
    display: inline-block;
    margin-right: 8px;
}