.tab_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
}
ul.tabs {
    display: flex;
}
ul.tabs li {
    background: none;
    display: inline-block;
    padding: 0;
    cursor: pointer;
    margin: 0;
}
ul.tabs li div {
    text-align: center;
    display: block;
    padding: 13px 0;
    width: 238px;
    text-decoration: none;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    color: #2E2E2E;
}
ul.tabs li:first-child {
    margin-right: 12px;
}
ul.tabs li:first-child div:hover {
    background: #F4F9F5;
    border: 1px solid #278F39;
}
ul.tabs li:first-child div.active {
    background: #278F39;
    border: 1px solid #278F39;
    color: #fff;
}
ul.tabs li:last-child div:hover {
    background: #FFF0E6;
    border: 1px solid #FD934A;
}
ul.tabs li:last-child div.active {
    background: #FD934A;
    border: 1px solid #FD934A;
    color: #FFFFFF;
}
.tab-content{
    display: none;
}
.tab-content.current{
    display: inherit;
}
.social_container{
    display: flex;
}
.social_container a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 238px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
    border-radius: 10px;
    text-decoration: none;
}
.social_container a:first-child{
    margin-right: 12px;
}
.social_container a:first-child:hover{
    background: #E8F5FF;
    border: 1px solid #0295FF;
}
.social_container a:first-child:focus{
    background: #0295FF;
    border: 1px solid #0295FF;
}
.social_container a:last-child:hover{
    background: #FFF9E3;
    border: 1px solid #FFC805;
}
.social_container a:last-child:focus{
    background: #FFC805;
    border: 1px solid #FFC805;
}
.social_container a:first-child:focus span, .social_container a:last-child:focus span{
    color: #FFFFFF;
}
.social_container a:first-child div{
    background: url(/i/img/analytics_new/tg.png) no-repeat;
    width: 19px;
    height: 16px;
}
.social_container a:first-child:focus div{
    background: url(/i/img/analytics_new/tg_active.png) no-repeat;
}
.social_container a:last-child div{
    background: url(/i/img/analytics_new/env.png) no-repeat;
    width: 24px;
    height: 16px;
}
.social_container a:last-child:focus div{
    background: url(/i/img/analytics_new/env_active.png) no-repeat;
}
.social_container a span{
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    color: #2E2E2E;
    padding-left: 10px;
}

.card_container {
    display: flex;
    grid-column-gap: 20px;
    padding: 8px 0 38px 0;
}
.card_container8{
    padding: 38px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.card_container1{
    width: calc(50% - 20px);
    display: flex !important;
    margin-bottom: 0 !important;
}
.card_slider{
    height: 100%;
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0px 4px 37px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 31px;
}
.slick-list, .slick-track{
    display: flex !important;
    border-radius: 10px;
}
#tab1 .slick-dots {
    bottom: 31px !important;
    width: auto !important;
    left: 50%;
    transform: translateX(-50%);
}
#tab1 .slick-dots li {
    margin: 0 !important;
}
#tab1 .slick-dots li button::before {
    width: 10px !important;
    height: 10px !important;
    content: '' !important;
    opacity: 1 !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}
#tab1 .slick-dots li.slick-active button::before {
    background: #FFFFFF;
}
.sbtn_container{
    display: flex;
}
.sbtn_container > button:first-child{
    margin-right: 14px;
}
.slide-prev, .slide-next{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 34px;
    width: 34px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}
.card_container4{
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.cards{
    cursor: pointer;
    width: 100%;
    min-height: 190px;
    background: #FFFFFF;
    box-sizing: border-box;
    box-shadow: 0px 4px 37px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.card_title{
    text-align: left;
    font-weight: 700;
    font-size: 21px;
    line-height: 24px;
    color: #FFFFFF;
    text-decoration: none;
}
.card_text{
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    margin-top: auto;
}
.card_bottom_2{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
}
.card_bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.time_main{
    display: flex;
    align-items: center;
    padding: 8px 0 24px;
}
.time_main img{
    padding-right: 10px;
}
.times_ago{
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
}
.photo_count{
    display: flex;
}
.photo_counter{
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    text-align: justify;
    color: #FFFFFF;
}
.photo_count img{
    padding-right: 8px;
}
.photo_news_container{
    margin: 30px 0;
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.photo_news_container .photo_news {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 24px 24px 0;
    background: #FFFFFF;
    box-shadow: 0px 4px 37px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    box-sizing: border-box;
    overflow: hidden;
}
.photo_news_container .photo_news a { text-decoration: none; }
.photo_news_container .block_img_container {
    overflow: hidden;
    border-radius: 10px;
    height: 175px;
}
.photo_news_container .block_img {
    position: relative;
    display: flex;
    border-radius: 10px;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: transform 2s;
}
.photo_news_container .photo_news:hover .block_img {
    overflow: hidden;
    transform: scale(1.2,1.2);
}
.photo_news_container .block_img::after {
    content: '';
    opacity: .75;
    background: #fff url(/i/img/watermark_instaforex.png) no-repeat;
    position: absolute;
    bottom: 0;
    left: calc(46% - 83px);
    z-index: 2;
    width: 180px;
    height: 45px;
    background-size: 100%;
}
.photo_news_container .photo_text_title {
    position: relative;
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
    font-size: 24px;
    line-height: 28px;
    color: #333333;
    overflow: hidden;
    text-decoration: none;
    max-height: 112px;
}
.photo_news_container .photo_news:hover .photo_text_title {
    color: #188fff;
}
.photo_news_container .photo_text_desc {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 17px;
    line-height: 21px;
    overflow: hidden;
    height: 0;
}
.photo_news_container .photo_text_desc p {
    margin: 0 !important;
    text-align: left !important;
    line-height: inherit !important;
}
.photo_news_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    background: #FFFFFF;
    z-index: 1;
    padding: 10px 0 24px;
}
.time{
    text-align: left;
    font-size: 12px;
    line-height: 14px;
    color: #A5A5A5;
}
.news_card_bottom2 {
    display: flex;
    align-items: center;
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 5px;
}
.news_card_bottom2:last-child{
    margin-left: 5px;
}
.views {
    padding-left: 4px;
    font-size: 14px;
    line-height: 16px;
    text-align: justify;
    color: #7C7C7C;
}
@media only screen and ( min-width:1361px ) and ( max-width:1566px ) {
    .photo_news_container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and ( max-width:1303px ) {
    .photo_news_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .card_container1 {
        width: 100%;
        float: left;
    }
    .card_container4{
        width: 100%;
        float: left;
        margin-top: 20px;
    }
    .card_container {
        display: block;
    }
}
@media only screen and ( min-width:751px ) {
    .photo_news {
        height: 393px;
    }
}
@media only screen and (max-width: 750px) {
    .photo_news_container{
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        grid-column-gap: 0;
        grid-row-gap: 0;
    }
    .photo_news_container .photo_news {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .photo_news:nth-child(2n+1) {
        margin-right: 20px;
    }
    .photo_news_container .photo_text_title {
        max-height: unset;
        font-size: 18px;
        line-height: 21px;
    }
    .photo_news_container .photo_text_desc {
        height: auto !important;
        max-height: unset;
    }
}
@media only screen and ( max-width:629px ) {
    .photo_news_container .photo_news {
        width: 100%;
    }
    .photo_news:nth-child(2n+1) {
        margin-right: 0;
    }
    .card_container4{
        grid-template-columns: repeat(1, 1fr);
    }
    ul.tabs {
        display: block;
    }

    ul.tabs li {
        width: 100%;
    }

    ul.tabs li div {
        margin: 0 auto;
    }
    ul.tabs li:first-child{
        margin-bottom: 10px;
    }
    .search_left, .search_right, .search_right2, .search_left2, .search_section, .search_button{
        width: 100%!important;
    }
    .search_section button{margin-bottom: 8px;}
    .search_left{
        margin-bottom: 10px;
    }
}
