﻿/*.post .img-responsive{min-width: 100%;}*/
.post .entry-thumbnail img{min-width: 100%; min-height: 1px}

.navbar-brand {
    max-width: 125px;
    height: auto;
    /*background-color: #d1d9dc;*/
}

.secondary-logo {
    max-width: 125px;
}

.mobile_social{display:none;}

#mainmenu ul li a {
    font-size: 16px;
}

#mainmenu ul.sub-menu {
    display: none;
}

/*#mainmenu li.menu-item-has-children a:hover {
    color: red;
}

.navbar-nav li a:hover .sub-menu {
    display: block;
}*/

#mainmenu li:hover > .sub-menu {
    display: block;
}

#mainmenu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    /*padding: 5px 0;*/
    padding: 5px;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    color: #009ada;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

@media (min-width: 1000px) {
    #mainmenu .sub-menu {
        /*padding: 15px 0;*/
        padding: 15px;
        border-top: 1px solid;
        min-width: 160px;
        border-radius: 0;
        z-index: 9999 !important;
        margin-top: -2px !important;
        background-color: #fff;
    }
}

#mainmenu .sub-menu li a {
    padding: 5px 0;
}

#menubar .header__searchform {
    display: none;
}

.line_bottom_share {
    display: inline-block;
    vertical-align: text-bottom;
    /*margin-top: 10px;
    /*margin-bottom: 20px;*/
    padding: 0;
}

.header__searchform, .gd_header_links {
    /*margin-left: 20px;*/
    padding: 0;
    /*padding-left: 20px;
    /* line-height: 60px; */
    color: #525b6e;
    font-size: 14px;
}

.header__searchform {
    display: inline-block;
    vertical-align: middle;
    margin-top: 3.5%;
    max-width: 29%;
    margin-left: 0;
    max-height: 45px;
}

.gd_header_links {
    /*width: 608px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;*/
    display: inline-block;
    vertical-align: middle;
    margin-top: 2.5%;
    width: 69%;
    text-align: center;
}

.gd_header_links a {
    color: #525b6e;
}

.gd_header_links a:first-of-type {
    margin-left: 10px
}

.logo-icon img {
    max-width: 50px;
}

/*
.logo-icon:before {
    margin-left: -280px;
}

.logo-icon:after {
    margin-left: 140px;
}
*/
/*#topbar-right {
    width: calc(100% - 272px);
}*/

#navigation .sticky-nav .secondary-logo {
    top: 0;
}

/*border for Login*/
.searchNlogin li {
    border-right: 1px solid #ebecee;
}

.top-user-section a {
    font-size: inherit;
}

.top-user-form {
    color: #fff;
}

#top-login .input-group-addon {
    min-width: 35px;
}

@media (min-width: 1000px) {
    #top-login .input-group-addon {
        min-width: 42px;
    }
}

/*Sidebar*/
#sidebar_menu li {
    width: 100%;
}

#sidebar_menu ul.sub-menu {
    display: none;
}

.video-catagory a {
    display: block;
    font-size: 12px;
    line-height: 1.2;
}

div#sitebar .entry-title a {
    /*font-size: 14px;*/
    font-size: 10px;
}

#sitebar .post.small-post .entry-title {
    line-height: 1.2;
}

#sitebar .gd_text_post {
        float: none !important; 
    }
/*#sitebar .rekl {
        height: 600px !important;
    }
*/
#sitebar .widget .post-list{background-color: #f2f3f5;}

#sitebar .widget .post-list li{
    border-radius: 7px;
    border: 2px solid #00aeef;
    margin-bottom: 5px;
    background-color: #fff;
}

#sitebar .navbar-left {
    position: relative;
    z-index: 100;
}
#sidebar_menu.navbar-nav>li>a{padding: 5px}
#sidebar_menu li:last-of-type{display:none;}

.button{
    display: inline-block;
    margin: 9px;
    padding: 10px;
    text-transform: uppercase;
    font-size: 16px;
    background-color: #009ada;
    color: #fff;
    cursor: pointer;
    border: none;
    outline: none; 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;   
}
.button:hover{
    color: #fff;
    background-color: #56d0f4;
}
#sitebar .button{width: 100%;}
.centered{text-align: center;}
/*Sidebar*/
/*Front-page*/
.lifestyle-section {
    margin-top: 30px;
}

.catagory {
    right: 0;
}

.feature-post .entry-title {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff !important;
}

.section-title a {
    font-size: inherit;
    color: inherit;
    padding: inherit;
}

.ytp-icon-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -34px;
    margin-left: -24px;
    /*background-size: 786px 686px;*/
    width: 68px;
    height: 48px;
}

#sitebar .entry-thumbnail {
    position: relative;
}

#sitebar .ytp-icon-play-button {
    margin-top: -24px;
    margin-left: -34px;
}

.video-post-list .ytp-icon-play-button {
    width: 55px;
    height: 30px;
    margin-top: -20%;
    margin-left: -30%;
}

.video-section .section-title {
    margin-top: 30px;
}

/*****for YouTube responsive******/
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*****for YouTube responsive******/
/*Front-page*/
/*Category*/
.section-title{text-transform:initial;}
.category_button_wrap {
    display: flex;
    /* flex-wrap: wrap; */
    align-items: stretch;
    justify-content: center;
}

.category_button {
    padding: 10px 12px;
    width: 100%;
    border: 1px solid #f6f6f6;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    outline: none;
    display: inline-block;
    background: rgb(0, 154, 218) !important;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease-out;
    margin-left: 9px;
    text-transform: uppercase;
    max-width: 100%;
}

.category_button:hover {
    color: #fff;
    background-color: #56d0f4 !important;
}

.cat-description {
    margin: 15px;
}

.category_banner {
    min-height: 100px;
    width: 100%;
    margin-top: 30px;
    float: left;
}

.post.medium-post .entry-title {
    min-height: 62px;
    /*height: 40px;*/
    /*overflow: hidden;*/
    text-transform: uppercase;
}

/**post***/


.left-content .post .entry-title{line-height: 1;}
.post .entry-title{text-transform: initial;}

.social_title {
    font-weight: 700;
    font-size: 20px;
    color: #525b6e!important;
    margin-bottom: 30px;
    text-transform: initial;
}
.social_title__top{margin: 20px 20px 0;}

blockquote{
    display: inline-block;
    padding: 28px 28px 38px 99px;
    background: #ECF7FF url(../../images/blockquote_new.png) no-repeat 23px 18px;
    border: 1px solid #356aa0;
    border-radius: 10px;
    -webkit-border-radius: 10px;
}
/*
.entry-content p{overflow: hidden;}
.entry-content p:nth-of-type(1){overflow:initial;}
.entry-content p:nth-of-type(2){overflow:initial;}
.entry-content p:nth-of-type(3){overflow:initial;}
*/
.entry-content li{
    font-size: 16px;
    line-height: 20px;
    color: #283f58;
}

.post.medium-post, .post.feature-post {
    overflow: unset;
}

.popup_desc {
    position: absolute;
    width: 298px;
    height: auto;
    min-height: 60px;
    right: -268px;
    top: 60px;
    padding: 10px 10px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #009ada;
    z-index: 400;
    font-size: 14px;
    color: rgb(90, 90, 90);
    font-weight: 700;
    line-height: 18px;
    display: none;
}

.popup_desc:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 13px 13px 13px 0;
    border-color: transparent #009ada;
    position: absolute;
    left: -13px;
    top: calc(50% - 13px);
}

.popup_desc:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 12px 12px 0;
    border-color: transparent white transparent transparent;
    position: absolute;
    left: -12px;
    top: calc(50% - 12px);
}

.post:hover > .popup_desc {
    display: block;
}

*:not(.ratings) .post:hover > a .popup_desc {
    display: block;
}

.seop_desc {
    margin: 10px 0;
}

.feature-post .post-content {
    padding: 15px 20px;
}

.medium-post .post-content {
    display: inline-block;
    padding: 30px 20px 15px;
}

.post-content .entry-title a {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
}

.medium-post .entry-thumbnail {
    max-width: 65%;
    display: inline-block;
}

.medium-post .entry-header .entry-meta .list-vertical > li {
    display: block;
    text-align: center;
    margin-bottom: 7px;
}

.medium-post .entry-header .entry-meta .fa {
    /*margin-bottom: 5px;*/
    width: 100%;
    font-size: 1.3em;
}

/*1*/
.medium-post .entry-header {
    position: relative;
}

.medium-post .entry-thumbnail {
    /*position: relative;
    z-index: 10;
    */
    max-width: 100%;
    width: 100%;
    display: block;
    /*background-size: cover;
    /*height: 180px;
    height: 230px;
    overflow: hidden;
    transition: all 0.7s;*/
}

.entry-thumbnail.active-hover {
    /*max-width: 180px;*/
    max-width: 230px;
}

/*1*/
/**post***/
/*Category*/
/* Single page */
.kc_gotop{ display:block; text-align:right;  text-decoration: underline !important;} .kc_title{ font-style:normal;font-size:20px; padding:0px 0 10px; font-weight: bold;}

.details-news .entry-title,
.details-news h2,
.details-news h3,
.details-news h4,
.details-news h5,
.details-news h6,
.details-news a {
    color: #009ada;
}

.details-news .post {
    overflow: unset;
}

.details-news .section-title {
    color: #525b6e;
}

.details-news .medium-post .entry-title a {
    color: #000;
}

.details-news .medium-post .entry-title a:hover {
    background-color: unset !important;
    color: #9c9c9c;
}

.details-news ul {
    list-style: disc;
    margin: 0 0 34px 24px;
}

.details-news ul.ya-share2__list {
    margin: 0 20px;
}

.details-news ul.list-inline,
.details-news .related_post.wp_rp {
    margin: 0;
    color: #000;
}

.details-news .post-content {
    padding: 15px;
}

.details-news .medium-post .kc_gotop {
    display: none;
}

.details-news .entry-header__first {
    display: inline-block;
    float: left;
    margin-right: 40px;
    margin-bottom: 3px;
}

.details-news .entry-thumbnail__first {
    border: 5px solid #009ada;
}

.gd_post_first_img {
    float: left;
    /*margin: 0 20px 20px 0;*/
    margin: 0;
    border: none;
}

.list-inline a {
    font-size: 12px;
}

/*link buttons in content*/
.details-news .entry-content a[href^="https://iservice.decorexpro.com/vi/"]:not([href^="https://iservice.decorexpro.com/vi/wp-content"]) {
    font-size: 0.9em;
    background-color: rgba(0, 154, 218, 0.5);
    color: #fff;
    padding: 2px 5px;
    border-radius: 5px;
}

.details-news .entry-content a[href^="https://iservice.decorexpro.com/vi/"]:not([href^="https://iservice.decorexpro.com/vi/wp-content"]) {
    font-size: 0.9em;
    background-color: rgba(0, 154, 218, 0.5);
    color: #fff;
    padding: 2px 5px;
    border-radius: 5px;
}

.details-news .entry-content a[href^="https://iservice.decorexpro.com/vi/"]:not([href^="https://iservice.decorexpro.com/vi/wp-content"]) {
    font-size: 0.9em;
    background-color: rgba(0, 154, 218, 0.5);
    color: #fff;
    padding: 2px 5px;
    border-radius: 5px;
}


.details-news .entry-content a[href^="https://iservice.decorexpro.com/vi/"]:not([href^="https://iservice.decorexpro.com/vi/wp-content"]):hover {
    background-color: rgba(0, 154, 218, 1);
}

.details-news .entry-content a[href^="https://iservice.decorexpro.com/vi/"]:not([href^="https://iservice.decorexpro.com/vi/wp-content"]):hover {
    background-color: rgba(0, 154, 218, 1);
}

.in_this_theme {
    padding-top: 30px;
}

.in_this_theme li {
    color: #aeaeae;
}

.in_this_theme a {
    color: #aeaeae !important;
    font-size: 16px !important;
    background: none!important;
}
.in_this_theme a:hover {
    color: #525b6e !important;
    text-decoration: underline !important;
}
.ratings {
    color: #fff;
}

.ratings .catagory.politics a {
    color: inherit;
}

.ratings ul.list-inline {
    color: inherit;
}

/* end Single */
/*Forms*/
.bbp-submit-wrapper {
    color: #fff;
}

.bbp-form input {
    color: #4a4a4a;
}

.cse-branding-right {
    display: none;
}

.cse-branding-right.active {
    display: block;
}

.cse-branding-right .cse-branding-form {
    margin: 0;
}

#cse-search-box input[type="text"] {
    width: 100%;
    border-radius: unset;
    background-color: #f2f3f5;
}

input[type="submit"] {
    border-radius: unset;
}

#cse-search-box input[type="submit"] {
    display: none;
}

.widget.news-letter textarea {
    padding: 10px 12px;
    width: 100%;
    max-height: 100px;
    border: 1px solid #f6f6f6;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    outline: none;
    color: rgb(170, 170, 170);
}

.widget.news-letter textarea::placeholder {
    color: rgb(170, 170, 170);
}

/*forms*/
/*Footer*/
#footer .social_links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

#footer .social_item {
    max-width: 33%;
    text-align: center;
}

#footer .social_item:last-of-type img {
    max-width: 86%;
}

#footer #menu-malenkoe-menyu-v-futere {
    margin: 0 0 14px 24px;
}

#footer .gd_row, #footer .gd_row_social:first-child {
    float: left;
    width: auto;
    margin: 0
}

#footer .gd_row_social {
    margin: 12px 0 0
}

#footer .gd_row_social:first-child {
    float: left;
    width: auto;
    margin: 0;
}

/*****popup****/
.popup_button {
    margin: 10px;
    color: #fff;
}
.popup_button:hover{background-color: #56d0f4;}
.popup_inside {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -400px;
    margin-top: -150px;
    max-width: 800px;
    max-height: 325px;
    background: white;
    padding: 55px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    z-index: 1999;
    border-radius: 4px;
}

/*****popup****/
/*pagination*/
.custom-pagination {
    /*display: flex;
    align-items: center;
    justify-content: center;
    */
    clear: both;
    width: 100%;
    padding: 15px 0;
    text-align: center;
}

.custom-pagination .page-numbers.prev, .custom-pagination .page-numbers.next{display: none;}
.custom-pagination .page-numbers {
    border-radius: 50%;
    background-color: #fff;
    color: #009ada;
    width: 30px;
    height: 30px;
    display: inline-block;
    padding: 2px 0;
    font-size: 16px;
    border: 2px solid #009ada;
} 

.custom-pagination a:hover {
    background-color: #009ada;
    color: #fff;
}

.custom-pagination span.page-num {
    margin-right: 10px;
    padding: 0;
}

.custom-pagination span.dots {
    border: 2px solid transparent;
}

.custom-pagination span.current {
    background-color: #009ada;
    color: #fff;
    border: 2px solid #009ada;
}

/*
.page-numbers:hover {
    color: #fff !important;
}
*/
.page-num {
    display: block !important;
    margin-bottom: 15px;
}

.custom-pagination {
    text-align: center;
}

.pagination-button {
    display: inline-block;
    padding: 0 10px;
    background-color: #009ada;
}

.pagination-button a {
    color: #fff !important;
}

/*pagination*/
@media (max-width: 1000px) {
    #topbar-right .header__searchform {
        display: none;
    }

    #menubar .header__searchform {
        display: inline-block;

        max-width: calc(100% - 50px);
        margin: 0;
        padding-top: 5px;
        position: absolute;
        top: 0;
        left: 0;
    }

    #menubar {
        position: relative;
    }
}

@media (min-width: 768px) and (max-width: 999px) {
    #topbar-right {
        width: calc(100% - 322px);
    }

    .gd_header_links {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile_social{display:inline-block; max-width:calc(100% - 169px);margin:10px 0;}
    
    .widget_mobile_hidden{display:none;}
    
    #footer .gd_row_social:first-child {
        margin: 20px 0 0;
    }

    #footer .gd_row_social {
        max-width: 30%;
        margin: 20px 5px;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        width: 45%;
        height: auto !important;
    }
    
    /*sticky-nav*/
    #navigation .sticky-nav{
        padding-top: 15px;
        padding-bottom: 15px;
    }
    #navigation .sticky-nav .secondary-logo{top: 15px;z-index:100;}
    #navigation .navbar .topbar{border: none;}
    .searchNlogin li{
        border: 1px solid #ebecee;
        min-width: 40px;
        min-height: 43px;
    }

    #topbar-right {
        width: auto;
        display: none;
    }

    #mainmenu {
        margin-top: 50px;
    }
    
    #menubar .header__searchform input[type="text"] {
        max-width: 65%;
    }

    .gd_header_links {
        width: 100%;
        display: none;
    }

    .searchNlogin {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        margin-right: 0 !important;
    }

    .page .navbar-toggle {
        right: 0 !important;
    }

    .details-news .entry-thumbnail img {
        width: auto;
    }
    
    .section-title{
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .left-content .post h2.entry-title{font-size: 25px;}

    .clear_mob{clear: both;}
/*
    #sitebar .rekl {
        height: auto !important;
    }
*/
    #footer .social_links {
        max-width: 30%;
    }
}

@media (max-width: 520px){
    .details-news .entry-header__first{
        float: unset;
        margin-left: 20%;
    }
}

@media (max-width: 480px) {
    .category_button_wrap {
        flex-wrap: wrap;
    }

    .feature-post .post-content {
        padding: 10px;
    }

    .section.ratings .feature-post .post-content .entry-title {font-size: 10px;}
    .feature-post .post-content .entry-title {
        margin: 0;
    }

    .feature-post .post-content .entry-title a {
        display: block;
        font-size: 12px;
        line-height: 1.2;
    }

    .feature-post .entry-meta {
        display: none;
    }
    
    .post-content .entry-title a{font-size: 11px;}
    
    /*.medium-post .post-content{min-height:240px;}*/
    
    blockquote {
        padding: 78px 15px 23px;
        background: url(../../images/blockquote_new.png) no-repeat top center;
    }

    #footer .social_links {
        max-width: 50%;
    }

    #footer .gd_row_social {
        margin: 20px 1.5%;
    }

    #footer .gd_row_social:first-child {
        margin: 20px 1.9%;
    }

    /*
        .header__searchform {
            margin-left: 35px;
            margin-right: 0;
        }*/
}

@media (max-width: 370px) {
    .mobile_social{max-width:180px;}
}
