/********************************************************************************
=HTML Setup
********************************************************************************/
html {
    -ms-overflow-style: scrollbar;
}

body {
    background-color: #f3f3f3;
    padding-top: 80px;
}

textarea {
    min-height: 100px;
}

img {
    max-width: 100%;
}

@media screen and (max-width: 479px) {

    body.has-top-ad {
        padding-top: 90px!important;
    }
    
    body {
        padding-top: 40px;
    }

}

@media screen and (min-width: 480px) and (max-width: 768px) {

    body {
        padding-top: 60px;
    }

}


h1 {
    "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, Roboto, Cambria, BlinkMacSystemFont, -apple-system, Oxygen, Ubuntu, Cantarell,Times, sans-serif;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: #333;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
    text-decoration: none;
    color: #000;
}

a:hover {
    cursor: pointer;
}

/********************************************************************************
=Layout
********************************************************************************/

/*
 * =Page layout
 */

.page-container {
    margin: auto;
    max-width: 1440px;
    padding-left: 15px;
    padding-right: 15px;
}

@media screen and (max-width: 480px) {

    .page-container {
        padding: 0;
    }

    [class^="col-"],
    [class*=" col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .row,
    .form-horizontal .form-group {
        margin-left: 0;
        margin-right: 0;
    }

    .related-content,
    .sidebar {
        padding-left: 5px;
        padding-right: 5px;
    }

    .sidebar .related-content {
        padding: 0;
    }

}


/*
 * =Main Navbar
 */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    -webkit-transform:translate3d(0,0,0);
       -moz-transform:translate3d(0,0,0);
        -ms-transform:translate3d(0,0,0);
         -o-transform:translate3d(0,0,0);
            transform:translate3d(0,0,0);
    z-index: 1020;
    border-radius: 0;
}

.navbar-down {
    -webkit-transition:all 0.26s ease;
       -moz-transition:all 0.26s ease;
         -o-transition:all 0.26s ease;
            transition:all 0.26s ease;
}

.navbar-up {
    -webkit-transition:all 0.26s ease;
       -moz-transition:all 0.26s ease;
         -o-transition:all 0.26s ease;
            transition:all 0.26s ease;
    /*transform*/
    -webkit-transform: translate3d(0,-55px,0);
       -moz-transform: translate3d(0,-55px,0);
        -ms-transform: translate3d(0,-55px,0);
         -o-transform: translate3d(0,-55px,0);
            transform: translate3d(0,-55px,0);
}

.navbar a:hover {
    text-decoration: none;
}

.navbar-menu, .navbar-menu:active {
    background-color: transparent;
    border: 0px;
    border-right: 1px solid #ddd;
    display: block;
    float: left;
    padding: 12px 15px 5px 10px;
    font-size: 1.8em;
    position: relative;
    cursor: pointer;
}

    .navbar-menu span {
        position: relative;
        display: inline-block !important;
        font-size: .6em;
        top: -6px;
    }

    .navbar-right .navbar-menu {
        border-right: none;
        border-left: 1px solid #ddd;
        padding: 14px 10px 10px 15px;
        margin: -10px 0 0 0;
    }

.navbar-menu-user {
    max-width: 6em;
    text-align: left;
    white-space: nowrap;
}

    .navbar-menu-user .navbar-menu-username {
        width: 85%;
        overflow: hidden;
        text-overflow: ellipsis;
        top: 0.2em;
    }

.menu-toggle {
    margin-right: 5px;
}

.navbar-brand {
    padding: 0 5px;
    color: #fff;
}

    @media (max-width: 480px) {
        .navbar-brand img {
            margin-top: 13px;
        }

        .navbar-sign {
            height: 28px;
            width: auto;
        }
    }


.navbar-nav > li > a.btn {
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 5px;
}

    .navbar-btn {
        margin-top: 0;
    }

.search-toggle {
    background-color: #ddd;
    border-color: #adadad;
    border-radius: 50px;
    -webkit-box-shadow: 0 0 6px rgba(0,0,0,0.3);
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
    cursor: pointer;
    font-size: 2em;
    padding: 14px 16px 7px 16px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1020;       
}

.search-toggle:hover,
.search-toggle:focus {
    background-color: #fff;
    border-color: #ccc;
}

    .search-toggle.scrolling-active {
        opacity: 0.4;
    }

    .search-toggle.scrolling-stopped {
        opacity: 0.75;
    }

.navbar .dropdown-toggle {
    margin-top: -8px;
    padding: 9px 15px;
    border-left: 1px solid #ddd;
    cursor: pointer;
}

.nav > li > a.btn-danger:hover,
.nav > li > a.btn-danger:focus {
    color: #ffffff;
    background-color: #d2322d;
    border-color: #ac2925;
}

.nav > li > a.btn-success:hover,
.nav > li > a.btn-success:focus {
    color: #ffffff;
    background-color: #47a447;
    border-color: #398439;
}


/*
 * =White Navbar
 */

.navbar-white {
    background-color: #fff;
    border-bottom: 1px solid #dfdfdf;
}

    .navbar-white a {
        color: #555;
    }

        .navbar-white a:hover {
            color: #333;
        }


@media (min-width: 768px) {

    .navbar-nav.navbar-right:last-child {
        margin-right: 0;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@media (max-width: 768px) {
    
    .navbar-header {
        float: left;
    }

        .navbar-brand {
            padding: 0;
        }

    .navbar-right {
        float: right;
    }

    .nav > li {
        float: left;
    }

    .navbar .navbar-menu span,
    .navbar .register-toggle,
    .navbar .login-toggle {
        display: none !important;
    }

    .navbar-nav {
        margin: 0;
    }
}

@media (max-width: 992px) {

    .navbar-form {
        margin: 0;
        padding: 10px 15px;
        background-color: #fff;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    .navbar-form.active {
        display: block !important;

        position: absolute;
        top: 51px;
        left: 0;
        right: 0;
    }

    .navbar .navbar-right .navbar-menu {
        margin-top: 0;
        padding: 10px;
    }

    .navbar-btn {
        margin-top: 9px;
    }

    .nav>li>a {
        padding: 12px;
    }

}

.navbar .navbar-menu span.top-left {
    position: absolute;
    top: 0;
    left: 0;
    display: block !important;
}

.lang-switcher .dropdown-toggle {
	border-radius: 0;
    padding: 5px 7px;
    margin-top: 0;
    font-weight: 500;
    border-radius: 2px;
    border-color: #e0dddd;
}

.lang-switcher .dropdown-menu {
	min-width: 100px;
	border-radius: 0;
}

.lang-switcher .dropdown-menu .active {
	color: #b3b2b2;
}

.lang-switcher .dropdown-menu li {
	padding: 0.2em 0.5em 0.2em 1em;
}

.lang-switcher .dropdown-menu a {
	padding: 0 !important;
}

.lang-switcher .dropdown-menu a:hover {
	color: #b3b2b2;
	background: #fff !important;
}

@media (max-width: 990px) {
	.lang-switcher .dropdown-toggle {
		margin-top: 0.65em;
	}
}

@media (max-width: 768px) {
	.lang-switcher .dropdown-toggle {
		border-bottom: 0;
		border-top:0;
		margin-top: 0;
	}

	.lang-switcher .dropdown-menu li {
		text-align: center;
        padding-left: 0;
	}
}

/*
 * =Drawer menus
 */

html.drawer-left-open body,
html.drawer-right-open body {
    position:fixed;
    overflow: hidden;
    width: 99%;
}

.drawer-block {
    background-color: rgba(0,0,0,0.5);
    display: none;
    position: absolute;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100%;
    -webkit-overflow-scrolling: touch;
    z-index: 2020;
}

    .drawer-left-open .drawer-block,
    .drawer-right-open .drawer-block {
        display: block;
    }

.drawer {
    background-color: #fff;
    color: #333;
    position: absolute; /* Fallback for position fixed */
    position: fixed;
    overflow: auto;
    top: 0;
    bottom: 0;
    width: 270px;
    z-index: 2200;
    -webkit-transition: 0.2s ease-out;
       -moz-transition: 0.2s ease-out;
         -o-transition: 0.2s ease-out;
            transition: 0.2s ease-out;
   -webkit-transform:translate3d(0,0,0);
      -moz-transform:translate3d(0,0,0);
       -ms-transform:translate3d(0,0,0);
        -o-transform:translate3d(0,0,0);
           transform:translate3d(0,0,0);
}

    .drawer-left {
        left: -570px;
    }

    .drawer-left-open .drawer-left {
         -webkit-transform:translate3d(570px,0,0);
            -moz-transform:translate3d(570px,0,0);
             -ms-transform:translate3d(570px,0,0);
              -o-transform:translate3d(570px,0,0);
                 transform:translate3d(570px,0,0);
    }

    .drawer-right {
        right: -570px;
    }

    .drawer-right-open .drawer-right {
         -webkit-transform:translate3d(-570px,0,0);
            -moz-transform:translate3d(-570px,0,0);
             -ms-transform:translate3d(-570px,0,0);
              -o-transform:translate3d(-570px,0,0);
                 transform:translate3d(-570px,0,0);
    }   

/* Drawer Menu styles */

.drawer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .drawer li {
        position: relative;
    }

    .drawer a {
        border-bottom: 1px solid #eee;
        color: #333;
        display: block;
        padding: .8em 1em;
    }

        .drawer a:hover {
            color: #333;
            text-decoration: none;
            background-color: #f3f3f3;
        }

    .drawer .subopen {
        border-left: 1px solid #eee;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        font-size: 1.5em;
        height: 20px;
        width: 2em;
        padding: 10px 10px 32px 10px;
        z-index: 30;
    }

        .subopen:hover {
            cursor: pointer;
        }

    .drawer h5 {
        clear: both;
        color: #222;
        background-color: #dfdfdf;
        font-size: 1em;
        margin: 0;
        padding: .75em .5em;
        text-transform: uppercase;
    }

    .drawer ul:last-child {
        position: relative;
        z-index: 20;
    }

    .drawer ul ul {
        margin-bottom: 0;
    }

    .drawer ul ul a {
        padding-left: 20px;
    }

    .drawer ul ul ul a {
        padding-left: 30px;
    }

/*
 * =Cookie Consent
 */

.cookie-consent {
    background-color: #e7e7e7!important;
    color: #000;
}

    .cookie-consent button {
        float: right;
    }
    
/*
 * =Content Area
 */
.content {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.08);
    position: relative;
    margin-bottom: 2em;
    word-wrap: break-word;
}

    .page-header {
        margin: 1em 1em .5em 1em;
        border-bottom: none;
        position: relative;
    }

    .page-title {
        color: #555;
        font-size: 2.9em;
        font-weight: 400;
        line-height: 1.2;
        margin: 0 0 .1em 0;
        text-transform: capitalize;
        padding-right: 85px;
    }
    
    .page-actions {
        margin: 0 1em 1em;
    }
    
        .page-actions .panel-group {
            margin-top: 1em;
        }

    .page-meta {
        color: #999;
        font-size: .9em;
        overflow: hidden;
    }

    .page-content {
        margin: auto 1em;
    }
    
        .page-content object {
            max-width: 100% !important;
        }

.article-content ul {
    list-style: none;
    padding-left: 3.5em;
}

    .article-content div[style*="border:1px solid rgb(204, 204, 204);"] {
       margin: 10px 0;
    }

    .article-content ul li {
        position: relative;
        margin-bottom: 5px;
    }

        .article-content ul li:before {
            content: "";
            width: 10px;
            height: 10px;
            background: #6ddb37;
            position: absolute;
            left: -25px;
            top: 5px;
        }
@media screen and (max-width: 768px) {

    .page-header { 
        text-align: center;
    }

        .page-header .avatar-pic {
            display: none;
        }

        .page-title {
            font-size: 1.8em;
            padding-right: 0;
        }

            .page-title i {
                margin-top: 0;
            }

        .page-meta {
            text-align: center;
        }


    .page-actions {
        text-align: center;
    }

}

.excerpt {
    background-color: #f0f0f0;
    font-weight: bold;
    padding: 1em;
}

div.excerpt {
    margin-bottom: 1em;
}

/*
* =Sidebar
*/

.related-content .type-discussion .avatar-pic {
    margin-right: 0.7em;
}



/*
 * =Footer
 */

.the-end {
    padding: 2em 0;
    font-size: .9em;
    color: #999;
}

    .the-end a {
        color: #666;
    }

    .the-end ul {
        list-style: none;
        padding: 0;
    }

    .the-end .btn-social {
        margin: .3em 0;
    }

    .hon-code {
        text-align: right;
    }

        .hon-code img {
            float: right;
            margin-left: 1em;
        }


@media screen and (max-width: 480px) {

    .the-end {
        padding-left: 15px;
        padding-right: 15px;
    }

    .the-end .social-links i {
        display: block;
    }

}

@media screen and (max-width: 767px) {

    .the-end a {
        display: block;
        background-color: #f3f3f3;
        border-radius: 4px;
        margin: .3em 0;
        padding: .3em;
    }

        .the-end a:hover {
            background-color: #eee;
        }

    .the-end .social-links ul {
        text-align: center;
    }

    .the-end .social-links li {
        display: inline-block;
        width: 32%;
    }

    .the-end .navigation a {
        background-color:#e7e7e7;
        padding:0.7em;
    }

}

@media screen and (max-width: 1200px) {

    .hon-code {
        text-align: center;
        margin: 1em 0;
    }

        .hon-code img {
            float: none;
        }

}


/*
 * =Breadcrumb
 */

/*
 * =Breadcrumb
 */

.breadcrumb {
    background: none;
    border-bottom: 1px solid #eee;
    color: #999;
    font-size: .9em;
    font-style: italic;
    padding: 0 1em .5em 1em;
    margin: 1em 0 .5em 0;
}

.breadcrumb li.breadcrumb__dots {
    display: none;
}

@media (max-width: 768px) {
    .breadcrumb {
        text-align: center;
    }

    .breadcrumb li {
        display: none;
    }

    .breadcrumb li:first-child,
    .breadcrumb li.breadcrumb__dots {
        display: inline-block;
    }

    .breadcrumb li.breadcrumb__dots:before {
        padding-right: 0;

    }
    
    .breadcrumb li.breadcrumb__dots {
        display: inline-block;
        letter-spacing: 1px;
        text-decoration: none;
    }


    .breadcrumb li:last-child {
        display: inline-block;
    }

    ul.breadcrumb--expanded li {
        display: inline-block;
    }

        ul.breadcrumb--expanded li.breadcrumb__dots {
            display: none;
        }
}

@media (max-width: 480px) {
    .breadcrumb {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 95%;
    }

    ul.breadcrumb--expanded {
        white-space: normal;
        overflow: visible;
        width: 100%;
    }
}


/*
 * =Survey
 */

@media (max-width: 992px) {

    .sidebar #survey {
        margin: 1em auto;
        width: 300px;
    }

}

@media (min-width: 993px) and (max-width: 1280px) {

    .sidebar #survey {
        overflow: hidden;
    }

}


/*
 * =Forms
 */

.form-group.has-error ul.help-block {
    list-style-type: none;
    margin-bottom: 0;
    padding-left: 0;
}


/*
 * =Captcha form
 */

.captcha-img-wrap,
.captcha-answer { display: inline-block; }

.captcha-img-wrap {
    margin-bottom: .5em;
}

.captcha-answer input {
    display:inherit; /* Firefox vertical alignement */ 
    width: auto; 
}


/*
 * =Read/Watch link
 */

.text-link {
    font-size: 1.2em;
    margin: 2em 0 2em 0;
}

    .text-link a:hover {
        text-decoration: none;
    }

.text-icon {
    float: left;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    vertical-align: middle;
    font-size: .7em;
    font-weight: normal;
    text-align: center;
    margin-right: 1em;
    margin-top: .5em;
    width: 50px;
    margin-bottom: 1em;
}

.text-icon:before {
    border: 2px solid #428bca;
    border-radius: 100%;
    content: ' ';
    display: block;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    position: absolute;
    top: -1.5em;
}

    .text-link a:hover .text-icon:before {
        border: 2px solid #2a6496;
    }


/*
 * =Share bar
 */

.share-bar {
    position: absolute;
    right: 0;
    top: 0;
}

    .share-box {
        display: inline-block;
        background: #428bca;
        padding: 0px;
        position: relative;
        border-radius: 4px;
    }

        .share-box:after {
            content: "";
            width: 0; 
            height: 0; 
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent; 
            border-right:8px solid  #428bca;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: -8px;
        }

    .share-box .btn-primary {
        border: none;
        text-transform: uppercase;
        font-size: 0.7em;
        padding: 8px;
        max-width: 75px;
        white-space: normal;
    }

    .share-box-count {
        color: #fff;
        display: block;
        position: relative;
        text-align: center;
        font-size: 1.8em;
        line-height: 1;
        margin-bottom: 5px;
        margin-top: 5px;
    }


@media screen and (max-width: 768px) {

    .share-box {
        display: inline-block;
        margin: 0 5px;
    }

        .share-box .btn-primary {
            max-width: none;
        }

    .share-bar {
        clear: both;
        display: block;
        float: none;
        margin-top: 0.8em;
        margin-bottom: 0.6em;
        position: relative;

    }

    .share-box:after {
        left: 50%;
        transform: translateX(-50%);
        top: -8px;
        border-top: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent; 
        border-bottom:8px solid  #428bca;
    }

}


/*
 * =Basic Block
 */

.block {
    margin-bottom: 2em;
    *zoom: 1;
}

.block:before,
.block:after {
  display: table;
  content: "";
  line-height: 0;
}

.block:after {
  clear: both;
}

.block-title {
    position: relative;
    margin-bottom: 1em;
}

    .block-title h2 {
        font-size: 1.8em;
    }

    .block:first-child .block-title h2 {
        margin-top: 0;
    }


/*
 * =Article item object
 */

.article-item {
    margin-bottom: 1em;
    position: relative;
}

    .article-item a:hover {
        text-decoration: none;
    }

    .article-item a h2 { color: #333; }

    .article-item-type {
        color: #999;
        font-size: .8em;
        letter-spacing: .1em;
        text-transform: uppercase;
        margin: 0 0 .2em 0;
        line-height: 1;
    }
    
    .article-item .thumbnail {
        position: relative;
        border: none;
        border-radius: 0;
        padding: 0;
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }

    .article-item .article-item-title {
        font-size: 1.6em;
        line-height: 1.3;
    }
    
    .article-item .avatar-pic {
        float: left;
        border: 2px solid #fff;
    }
    
    .article-item-title {
        margin: 0;
        overflow: hidden;
        font-size: 1em;
        line-height: 1.5;
    }
    
    .article-item-meta {
        font-size: .8em;
    }

.article-item-box {
    position: relative;
    overflow: hidden;
}

    .article-item-box a {
        color: #eee;
    }

        .article-item-box:hover a,
        .article-item-box a:hover {
            color: #fff;
        }

    .article-item-box .article-item-thumbnail {
        float: none;
        position: relative;
    }

    .article-item-box .article-item-heading {
        overflow: hidden;
        transition: all .1s ease-in-out;
    }

        .article-item-box .article-item-heading a {
            display: block;
            padding: 1em .75em;
            background: rgba(0,0,0,0.5);
            color: #fff;
            position: absolute;
            left: 0;
            right: 0;
            top: auto;
            bottom: 0;
            max-height: 3.75em;
            /*transition*/
            -webkit-transition:all 0.3s ease;
               -moz-transition:all 0.3s ease;
                 -o-transition:all 0.3s ease;
                    transition:all 0.3s ease;
        }

        .article-item-box:hover .article-item-heading a {
            max-height: 120%;
        }

        .article-item-box .article-item-title {
            font-size: 1em;
            color: #fff;
        }
        
.type-discussion .article-item-title {
    font-size: 1.2em;
}

/*
 * =Post object
 */

    .user-box {
        float: left;
        position: relative;
        margin-right: 2em;
        min-width: 70px;
        max-width: 70px;
        text-align: center;
    }

        .user-box .avatar-pic {
            margin-bottom: .5em;
            height: auto;
        }

        @media screen and (max-width: 768px) {

            .user-box {
                float: left;
                position: static;
                text-align: center;
                max-width: 100%;
                min-width:initial;
                margin-right: 1em;
            }
            
        }


    .post-wrap {
        overflow: hidden;
        zoom: 1;
    }
    
    .post-actions {
        overflow: hidden;
        margin-top: 1em;
    }
    
    .more-options {
        float: right;
    }

        .more-options a {
            color: #999;
        }

            .more-options a:hover {
                color: #333;
            }


@media screen and (max-width: 768px) {

    .post-wrap {
        overflow: visible;
    }

}


/*
 * =Avatars
 */
 
.avatar-sm { width: 32px; }
.avatar-lg { width: 64px; }


@media screen and (max-width: 768px) {

    .avatar-lg {
        width: 32px;
    }

}


/*
 * =User ranks
 */
 
.badge-success { background-color: #090; }


/*
 * =Accordion blank
 */

.panel-blank .panel {
    border-radius: 0;
    border: none;
}

.panel-blank .panel > .panel-heading {
    background-color: transparent;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

.panel-blank .panel-heading+.panel-collapse .panel-body {
    border-top: none;
}

.panel-blank .panel-body {
    padding-left: 0;
    padding-right: 0;
}

.panel-blank .panel {
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.panel-group .panel-heading .accordion-toggle-left:before {
    font-family: "icons";
    content: "\e03c";  
    text-decoration: none;
}
.panel-group .panel-heading .accordion-toggle-left.collapsed:before {
    content: "\e03b"; 
}

/*
 * =Sources and Links
 */

 .media-sources-list {
    word-wrap: break-word;
 }


/*
 * =Loading spinner
 */
.article-item-thumbnail:before,
.loader {
    display: inline-block;
    height:1.5em;
    width:1.5em;
    margin:0px auto;
    position:relative;
    -webkit-animation: rotate .6s infinite linear;
    -moz-animation: rotate .6s infinite linear;
    -o-animation: rotate .6s infinite linear;
    animation: rotate .6s infinite linear;
    border-left:0.15em solid rgba(0,174,239,.15);
    border-right:0.15em solid rgba(0,174,239,.15);
    border-bottom:0.15em solid rgba(0,174,239,.15);
    border-top:0.15em solid rgba(0,184,229,.8);
    border-radius:100%;
}

@-webkit-keyframes rotate {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
    }

@-moz-keyframes rotate {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
}

@-o-keyframes rotate {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
}

@keyframes rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
}


.loader-sm {
    font-size: 100%;
}

.loader-md {
    font-size: 150%;
}

.loader-lg {
    font-size: 250%;
}

.article-item-thumbnail:before {
    content:'';
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate3d(-50%,-50%,0);
    -ms-transform: translate3d(-50%,-50%,0);
    -o-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
    z-index: 1;
}

.b-loaded-p:before {
    display: none ;
}

/********************************************************************************
=Alerts & Notifications
********************************************************************************/

.alert-info {
    background-color: #C1D3F0;
    border-color: #B2BCD0;
}

.alert-success {
    background-color: #9BE4A4;
    border-color: #B2C2A5;
}

.alert-warning {
    background-color: #FFFFD3;
    border-color: #E4DAC6;
}

.alert-danger {
    background-color: #FAD6D6;
    border-color: #E9B9C0;
}

.alert-body {
    display: inline;
}

.alert-pinned-top,
.alert-pinned-bottom {
    border-radius: 0;
    margin: 0;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1100;
    border: none;
}

.alert-pinned-top {
    top: 51px;
    border-bottom: 1px solid rgba(0,0,0,.075);
}

.alert-pinned-bottom {
    bottom: 0;
    border-top: 1px solid rgba(0,0,0,.075);
}

.flash-messages, .flash-messages .alert {
    position: relative;
}

.alert-btn {
    position: absolute;
    right: 1em;
    top: 1em;
}

    .pinned .alert-btn {
        top: .5em;
    }

@media screen and (max-width: 768px) {

    .alert-body {
        display: block;
        overflow: hidden;
    }

    .alert-pinned-top {
        top: 41px;
    }

}


/********************************************************************************
=Buttons
********************************************************************************/

.btn-wide {
    padding-left: 30px;
    padding-right: 30px;
}

/*
 * =Social buttons
 */

.btn-social,
.btn-social:hover,
a:hover .btn-social { color: #fff; }

.btn-facebook { background-color: #3B5998 !important; }
    .btn-facebook:hover,
    a:hover .btn-facebook { background-color: #314B7F !important; }
.btn-gplus    { background-color: #D50F0F !important; }
    .btn-gplus:hover,
    a:hover .btn-gplus { background-color: #9E0B0B !important; }
.btn-youtube  { background-color: #FF3333 !important; }
    .btn-youtube:hover,
    a:hover .btn-youtube { background-color: #991F1F !important; }
.btn-twitter  { background-color: #4099FF !important; }
    .btn-twitter:hover,
    a:hover .btn-twitter { background-color: #3681D6 !important; }


.save-for-later-btn {
    display: inline-block;
    width: 37px;
    margin: 0 auto;
    padding: 0.1em;
    color: #373737;
    border: 1px solid #cacaca;
    border-radius: 50px;
    margin-left: 5px;
}

    .save-for-later-btn i {
        vertical-align: middle;
        font-size: 14px;
    }

.btn-borderless {
    border: 0px;
    padding: 0px;
}

.btn-categories-menu {
    background-color: transparent;
}

.btn-categories-menu:active {
    box-shadow: none;
}

.btn-categories-menu:hover {
    background-color: #f3f3f3;
}

.btn-sources-links, .btn-sources-links:active {
    background-color: transparent;
    box-shadow: none;
    font-size: 16px;
}

/********************************************************************************
=Ads
********************************************************************************/

.ad-placeholder {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.ad-header .ad-placeholder {
    width: 728px;
    height: 90px;
    margin-bottom: 2em;
}

.ad-content .ad-placeholder {
    width: 728px;
    height: 90px;
}

.ad-sidebar .ad-placeholder,
.ad-slideshow .ad-placeholder {
    width: 336px;
    height: 280px;
    margin-left: auto;
    margin-right: auto;
}

.ad-sidebar.scrolling.fixed {
  position: fixed;
}

.ad-pitch {
    background-color: #eee;
    border-radius: 0 0 3px 3px;
    color: #999;
    font-size: .8em;
    padding: .1em .5em;
    position: absolute;
    right: -1px;
    bottom: -1.57em;
    z-index: 2;
}

    .ad-pitch a {
        color: #999;
    }

/*
 * =Ad sizes 
 */
@media screen and (max-width: 1079px) {

    .ad-content .ad-placeholder {
        width: 300px;
        height: 250px;
    }

}

@media screen and (max-width: 991px) {

    .ad-sidebar .ad-placeholder {
        width: 300px;
        height: 250px;
    }

}

@media screen and (max-width: 767px) {

    .ad-header .ad-placeholder {
        width: 468px;
        height: 60px;
    }
    
}

@media screen and (max-width: 479px) {

    .ad-header {
        background-color: #fff;
        border-bottom: 1px solid #ddd;

        position: fixed;
        top: 54px;
        left: 0;
        right: 0;
        z-index: 1010;
    }

        .navbar-hidden .ad-header { 
            top: 0;
            transition: top 0.2s ease-in-out;
        }

    .ad-header .ad-placeholder {
        width: 320px;
        height: 50px;
        margin-bottom: 0;
    }

    .ad-header .ad-pitch { display: none; }

}

@media screen and (min-width: 768px) and (max-width: 1050px) {

    .ad-content {
        margin-left: -1em;
    }

}

@media screen and (min-width: 768px) and (max-width: 1440px) {

    .ad-header .ad-placeholder {
        width: 728px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1357px) {

    .ad-sidebar .ad-placeholder {
        width: 160px;
        height: 600px;
    }

}

@media screen and (min-width: 1358px) {

    .ad-header .ad-placeholder {
        width: 970px;
    }

}

@media screen and (min-width: 1080px) and (max-width: 1440px) {

    .ad-content .ad-placeholder {
        width: 728px;
    }
}

@media screen and (min-width: 1358px) and (max-width: 1600px) {

    .ad-sidebar .ad-placeholder {
        width: 300px;
        height: 250px;
    }

}

@media screen and (min-width: 1440px) {

    .ad-content .ad-placeholder {
        width: 970px;
    }

}

@media screen and (min-width: 1600px) {

    .ad-sidebar .ad-placeholder {
        width: 336px;
        height: 280px;
    }

}


/********************************************************************************
=Misc.
********************************************************************************/

.gap-top    { margin-top: 1em; }
.gap-right  { margin-right: 1em; }
.gap-bottom { margin-bottom: 1em; }

.tap-friendly {
    padding:0.5em;
}

.save-for-later-panel {
    background: #F1EFEF;
    box-shadow: 0px 0px 10px #999;
}

/********************************************************************************
=Print styles
********************************************************************************/

@media print {

    body {
        background: none;
    }

    .navbar {
        position: static;
        clear: both;
    }

    .navbar-brand {
        float: none;
        clear: both;
    }

    .navbar-menu,
    .navbar-form,
    .navbar-nav,
    .drawer-holder,
    .breadcrumb,
    .share-bar,
    .page-actions,
    [data-role="medical-answer-widget"],
    .post-actions,
    #post-actions,
    [id^="quick-page-actions"],
    .share-widget .panel-footer,
    .add-comment,
    .sidebar,
    .ad-zone,
    .related-content,
    .the-end .col-lg-3 {
        display: none !important;
    }

    .content {
        border: none;
    }

    .page-header {
        margin-top: 5em;
        margin-bottom: 2em;
    }
}
