/** Product **/

body.tax-categoryproject #content-sidebar-wrap #content,
body.post-type-archive #content-sidebar-wrap #content {
    width: 100%;
}

body.archive #content-sidebar-wrap #content ul.library-list {
	margin-left: -1%;
	margin-right: -1%;
}

ul.library-list {
	display: flex;
    flex-flow: row wrap;
    list-style: none;
	margin-top: 30px;
}

ul.project-list {
    margin-top: 0px;
}

ul.library-list li {
	float: left;
    width: 31.333333%;
    margin: 0px 1% 20px 1%;
    padding: 0px;
    font-size: 14px;
    line-height: 30px;
	box-sizing: border-box;
	position: relative;
	border: 1px solid #ffffff;
	border-radius: 5px; 
}

.library-name a img {
    width: 100%;
    object-fit: cover;
    height: 240px;
}

li:hover .library-name .hover {
    opacity: 1;
}

.library-name .hover {
    width: 100%;
    height: 240px;
    transition: 0.3s all ease-in-out;
    background: #00000087;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    opacity: 0;
}

.library-name .hover a {
    top: 50%;
    left: 36%;
    background: #f5dd56;
    color: #ffffff;
    padding: 5px 20px;
    border-radius: 5px;
    transform: translateY(-50%);
    position: absolute;
}

.detail {
    padding: 10px 0px 0px 0px;
}

.detail h4 {
    font-size: 17px;
    font-weight: 500;
}

.tuvan {
    background-color: #fab702;
    padding-top: 20px;
    padding-bottom: 20px;
}

.tuvan h2 {
    font-size: 20px;
    font-weight: 600;
    color: #0d4952;
    margin: 5px 0px;
}

.tuvan-lienhe {
    padding: 10px 30px;
    background-color: #0d4952;
    color: #fab702;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    border: 0px;
    border-radius: 3px;
}

.tongquan {
    padding: 20px 0px 40px;
}

.tongquan-title {
    text-align: center;
    color: #fab702;
}

.chinhsach {
    background: url('../images/background-single-project.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding: 40px 0px;
}

.chinhsach::before {
    content: "";
    background: #003038ad;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
}

.chinhsach-left {
    padding: 20px 20px;
}

.chinhsach-left p {
    color: #ffffff;
}

.chinhsach-right {
    background: #0000007a;
    padding: 20px 20px;
}

.chinhsach-right .wpcf7-form p {
    margin-bottom: 20px;
}

.chinhsach-right form.wpcf7-form p:last-child {
    margin-bottom: 0px;
}

.file-pdf {
    padding: 50px 0px;
}

.file-pdf h2 {
    color: #fab702;
}

ul li {
    list-style-type: none;
}

.file-pdf-left ul li {
    padding: 0px 0px 15px;
}

.file-pdf-left ul li::before {
    content: "\f08d";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #fab702;
    font-size: 20px;
	padding-right: 10px;
}

.file-pdf-left ul li a {
    font-size: 16px;
}

.file-pdf-right ul li {
    color: #0d4952;
    background: #fbcd4f;
    border: solid 1px #000;
    border-radius: 2px;
    margin-bottom: 15px;
    padding: 10px 15px;
}

.file-pdf-right ul li::before {
    content: "\f1c1";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #0d4952;
    font-size: 25px;
	padding-right: 0.5em;
}

.file-pdf-right ul li a {
    color: #0d4952;
}

.videos {
    background: url('../images/background-single-project-1.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding: 40px 0px;
}

.videos::before {
    content: "";
    background: #00000066;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
}

/******************************************************************************************************
 *                                        Modal nút liên hệ                                           *
 ******************************************************************************************************/
.pdf-email {
    padding: 15px 20px;
    background-color: #0d4952;
    color: #fab702;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    border: 0px;
    border-radius: 3px;
}
.modal {
	display: none;
	position: fixed;
	z-index: 999;
	padding-top: 120px;
	padding-bottom: 50px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.58);
}
.modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 10px solid #ffffff;
	width: 30%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 10px;
}
@-webkit-keyframes animatetop {
	from {top:-300px; opacity:0} 
	to {top:0; opacity:1}
}

@keyframes animatetop {
	from {top:-300px; opacity:0}
	to {top:0; opacity:1}
}
.close {
	color: #333333;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.modal-header {
	padding: 5px 15px;
	background-color: #ffffff;
    color: white;
    overflow: hidden;
}
.modal-header h2 {
	font-size: 20px;
	color: #d45353;
	font-weight: 600;
	text-transform: uppercase;
}
.modal-header p {
	font-style: italic;
}
.modal-body {
	padding: 20px 30px;
}
.modal-footer {
	padding: 10px 16px;
	background-color: #ffffff;
	color: white;
}
.modal-footer h3 {
	font-size: 18px;
    font-weight: 600;
    color: #d75d5d;
}
.modal-footer p {
	margin-bottom: 10px;
}