﻿.home-page .head-page {
    padding: 30px 15px 40px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-y: -135px;
    background-image: url(../imgs/bg-mobail-12.jpg);
}

.home-page .content-page {
    padding-bottom: 50px;
}
.view-by {
    display: none;
}

.home-page section {
    padding-top: 45px;
}

.home-page .recent-publications {
    padding-bottom: 40px;
}

.home-page .reports {
    padding-top: 20px;
}

.report-box {
    margin-top: 10px;
    border-top: 2px solid #80a8d7;
    box-shadow: 1.545px 2.572px 5.58px 0.42px rgba(0, 0, 0, 0.1);
}

.report-box:nth-child(n+4) {
    display: none;
}

.report-box .report-link {
    color: #393939;
    display: block;
    text-decoration: none;
}

.head-report-box {
    background: #fff;
    padding: 18px 10px;
}

.head-report-box img {
    width: 40px !important;
    height: 55px;
    display: inline-block;
    border: 1px solid #757575 !important;
}

.recent-publications .head-report-box img {
    width: 40px;
    height: 55px;
    border: 1px solid #757575 !important;
}

.head-report-box h3 {
    margin: 0;
	overflow: hidden;
	position: relative;
    padding-right: 16px;
    font-size: 1.214em;
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 60px);
}

.head-report-box h3:before {
	content: "...";
	position: absolute;
	left: 0px;
	bottom: -2px;
	background: #fff;
}

.head-report-box h3:after {
	content: "";
	position: absolute;
	left: 0;
	width: 1em;
	height: 1em;
	background: #fff;
}



.report-box .report-info-box {
    padding: 18px 10px;
    background: #f0f7fc !important;
}

.report-box .tags-box {
    display: none;
}

.recent-publications .link-for-all {
    float: left;
    color: #fff;
    /*display: none;*/
    margin-top: 20px;
    padding: 6px 15px;
    font-size: 1.286em;
    text-decoration: none;
    background-color: #1b5089;
    box-shadow: 0px 3px 2.7px 0.3px rgba(0, 0, 0, 0.15);
}

.link-for-all .icon {
    font-size: 13px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .home-page .search-box,
    .home-page .content-page  {
        width: 100%;
    }

    .home-page section {
        padding-top: 90px;
    }

    .home-page .reports
    {
        padding-top: 30px;
    }

    .home-page .recent-publications {
        padding-top: 55px;
        padding-bottom: 40px;
    }

    .report-box {
        margin-top: 20px;
    }
    .head-report-box {
        padding: 35px 20px;
    }

    .head-report-box img {
        width: 88px;
        height: 110px;
        border: 1px solid #757575;
    }

    .recent-publications .head-report-box img {
        width: 88px;
        height: 110px;
    }

    .head-report-box h3 {
        padding-right: 14px;
        font-size: 2.429em;
        width: calc(100% - 115px);
    }
}

@media (min-width: 992px) {
    .home-page .head-page {
        background-size: auto;
        padding: 30px 15px 40px;
        background-repeat: no-repeat;
        background-position-y: -162px;
        background-image: url(../imgs/bg-desktop.jpg);
    }

    .home-page .reports
    {
        padding-top: 30px;
    }

    .view-by {
        display: block;
        text-align: left;
        padding-top: 40px;
    }

    .view-by .view-by-text {
        width: 45px;
        font-weight: 500;
        text-align: right;
        font-size: 1.143em;
        display: inline-block;
        vertical-align: middle;
    }

    .view-by .btns-view {
        display: inline-block;
        vertical-align: middle;
        box-shadow: 0px 3px 2.7px 0.3px rgba(0, 0, 0, 0.15);
    }

    .view-by button {
        float: right;
        width: 43px;
        height: 43px;
        font-size: 22px;
        background: #fff;
        border: 1px solid #494e53;
    }

    .view-by button.dice-mode {
        color: #fff;
        background: #1b5089;
        border-color: #1b5089;
    }

    .report-box {
        width: 32%;
        margin-left: 16px;
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 20px;
    }

    .report-box:nth-child(n+4) {
        display: inline-block;
    }

    .report-box:nth-child(-n+3) {
        margin-top: 0;   
    }

    .report-box:nth-child(3n-6) {
        margin-left: 0;
    }

    .home-page section {
        padding-top: 20px;
    }

    .head-report-box {
        height: 113px;
        padding: 20px 8px 18px;
    }

    .head-report-box img {
        width: 68px !important;
        height: 84px !important;
        border: 1px solid #757575;
    }

    .recent-publications .head-report-box img {
        width: 68px;
        height: 84px;
    }

    .head-report-box h3 {
		max-height: 63px;
        font-size: 1.429em;
        padding-right: 16px;
        width: calc(100% - 80px);
    }

    .report-box .report-info-box {
        min-height: 145px;
        padding: 18px 28px;
        background: #f0f7fc;
    }

    .report-info-box .field .text-field {
		overflow: hidden;
		max-width: 145px;
		white-space: nowrap;
		vertical-align: middle;
		text-overflow: ellipsis;
	}

    .report-info-box .field .title-field{
        font-weight: bold;
    }

    .report-box .tags-box {
        display: block;
        background: #f0f7fc;
        padding: 0 25px 16px;
    }

    .tags-box-content {
        min-height: 60px;
        padding-top: 18px;
        border-top: 1px solid #dde4e8
    }

    .tags-box-content .link {
        color: #1b5089;
        margin-left: 10px;
        text-decoration: none;
        display: inline-block;
    }

    .tags-box-content .link .link-icon {
        margin-left: 2px;
        vertical-align: middle;
    }


     .list-view-mode .view-by button.dice-mode {
        color: #393939;
        background: #fff;
        border-color: #494e53;
    }

    .list-view-mode .view-by button.list-mode {
        color: #fff;
        background: #1b5089;
        border-color: #1b5089;
    }


    .list-view-mode .report-box {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
        border-top: none;
        background: #f0f7fc;
        border-right: 2px solid #82aad9;
    }

    .list-view-mode .report-box:first-child {
        margin: 0;
    }

    .list-view-mode .report-box .head-report-box {
        width: 330px;
        height: auto;
        padding: 8px;
        display: table-cell;
        vertical-align: middle;
    }

    .list-view-mode .report-box .report-info-box {
        width: 48%;
        min-height: 20px;   
        display: table-cell;
        padding: 10px 25px 10px 0;
    }

    .list-view-mode .report-box .report-info-box > div {
        border-left: 1px solid #dde4e8;
    }

    .list-view-mode .report-box .report-link {
        width: 64%;
        float: right;
    }

    .list-view-mode .report-box .tags-box {
        width: 36%;
        float: right;
        padding: 12px 25px;
    }

    .list-view-mode .report-box .tags-box-content {
        padding: 0;
        border: none;
        
    }

    .list-view-mode .report-box .tags-box-content .link {
        margin: 0;
        display: block;
        padding-top: 6px;
    }

    .home-page .recent-publications {
        padding-top: 80px;
        padding-bottom: 50px;
    }

    .recent-publications .link-for-all {
        display: block;
    }
}