/*--------------------------------------------------
                DIVERS THEME
-------------------------------------------------- */

.intro {
	margin: 20px auto;
}
.intro h1{
	float: left;
	margin-top: 0; 
	margin-bottom: 20px;
}
.intro p {
	margin-top: 60px;
}
.intro .media-theme1{
	float: right; 
	/*margin-top: -65px;*/
	margin-bottom: 20px;
	box-shadow: 0px 1px 6px 2px #b1b1b1;
}


h1{
	color: #333;
	font-weight: 400;
	font-size: 40px;
}

p{
	text-align: justify;
	line-height: 21px;
	font-size: 14px;
	font-weight: 300;
}

.headrow{
	margin-bottom:30px;
}

h3{
	font-size: 25px;
	margin-top: 25px;
	line-height: 35px;
	font-weight: 300;
	border-bottom: 1px;
	background: rgb(238, 238, 238);
}

h4{
	font-size: 24px;
	line-height: 35px;
	text-align: center;
	font-weight: 300;
}
.section_header h4 {
	margin-top: 0;
	margin-bottom: -15px;
	text-align: left;
	font-variant: small-caps;
	font-weight: 400;
}

h5{
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	text-rendering: optimizelegibility;
	font-style: italic;
	font-weight: 400;
}

.gallery-thumb-bottom .bg { 
	background: url(/img/gallery-thumb-bottombg.png) repeat-x; 
	height: 14px;
	display: block;
}

.gallery-thumb-bottom .left-shadow {
	background: url(/img/gallery-bottom-leftshadow.png) no-repeat; 
	width: 217px; 
	height: 21px; 
	float: left;
}

.gallery-thumb-bottom .right-shadow { 
	background: url(/img/gallery-bottom-rightshadow.png) no-repeat; 
	width: 217px; 
	height: 21px; 
	float: right;
	}

.tags {
	width: 400px;
	max-width: 97%;
	margin: 20px auto;
	border: 1px solid #CCC;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 5px;
	background-color: #EEE;
}

.intro img {
	width: 100%;
}

/*--------------------------------------------------
                PORTFOLIO THEME
-------------------------------------------------- */

.section_header {
	margin-bottom: 20px;
}
.section_header h3 {
	margin-top: 20px;
	margin-bottom: 30px;
	text-align: justify;
}
.section_header p {
	text-align: justify;
	font-style: italic;
}

#portfolio_tem{
	margin-top: 40px;
}
#portfolio_tem .left_box{
	margin-left: 0;
	margin-bottom: 130px;
}
#portfolio_tem .big{
	margin-bottom: 40px;
	position: relative;
	height: 400px;
}
#portfolio_tem .big img{
	position: absolute;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#portfolio_tem .thumbs .thumb{
	float: left;
	position: relative;
	margin-right: 30px;
	cursor: pointer;
	margin-bottom: 10px;
	width: 100px;
}
#portfolio_tem .thumbs .thumb.last{
	margin: 0;
}
#portfolio_tem .thumbs .thumb:hover .mask {
	display: block;
	opacity: 1;
	filter: alpha(opacity = 100);
}
#portfolio_tem .thumbs .thumb .mask {
	position: absolute;
	opacity: 0;
	filter: alpha(opacity = 0);
	box-shadow: 0px 1px 6px 2px #b1b1b1;
	top: 0px;
	left: 0px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	height: 100%;
	width: 100%;
	background: rgba(17, 137, 217, 0.5);
	-webkit-transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
}
#portfolio_tem .thumbs .thumb .mask .more {
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	position: absolute;
	bottom: 40%;
	left: 43%;
}
#portfolio_tem .right_box{
	float: right;
/*	margin-top: 14px;*/
}
#portfolio_tem h2{
	font-size: 28px;
	line-height: 27px;
	margin: 0 0 25px 0;
}
#portfolio_tem p{
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 18px;
	color: #3F3F3F;
}

.update-date {
	margin-top: 10px;
}

/* Responsive
-------------------------------------------------- */

/* Large desktop */
@media (min-width: 1200px) {

}
@media (min-width: 980px) {

}

@media (max-width: 979px) {
	.intro p { line-height: 23px; }
	
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 
	#portfolio_tem .left_box .big { height: 372px; }
}	

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	.section_header h4 { margin-bottom: -5px; }
	.intro h1 { width: 100%; }
	.intro p { margin-top: 0; }
	#portfolio_tem .left_box { margin-bottom: 50px; }
	#portfolio_tem .left_box .thumbs { overflow: hidden;}
}

/* Landscape phones and down */
@media (max-width: 480px) {
	#portfolio_tem .left_box .big { max-height: 350px; }
	#portfolio_tem .left_box .big img { margin-bottom: 10px; max-height: 350px; }
	#portfolio_tem .thumbs .thumb { margin-right: 5px; }
}
