/*
	Theme Name: CSGA Web Theme
	Author: Emiray Studio
	Author URI: http://emiray.nz
	Credit to: http://html5blank.com
	Description: Custom theme for CSGA, desinged by Emiray Studio.
	Version: 1.4.3
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
    font-size: 1em;
    line-height: 1.4;
	background:#f8f8f8;
	height:100%;
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Microsoft Yahei', 'Open Sans', sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* Global */
.wrapper {
  width:960px;
  margin:0 auto;
}

.clear {
  clear:both;
}

h1,h2,h3 {
  font-weight:normal;
}

h1 {
  margin-top:0;
  font-size:26px;
  color:#333;
}

h2 {
  font-size:20px;
  color:#333;
}

h3, .h3 {
  font-size:16px;
  color:#333;
  line-height:24px;
}

.left {
  float:left;
}

.right {
  float:right;
}

.w630 {
  width:630px;
}

.pt80 {
  padding-top:80px;
}

.pb80 {
  padding-bottom:80px;
}

.pt20 {
  padding-top:20px;
}

.pl60 {
  padding-left:60px;
}

.pl20 {
  padding-left:20px;
}

.ml15 {
  margin-left:15px;
}

.ml20 {
  margin-left:20px;
}

.mt15 {
  margin-top:15px;
}

.mt20 {
  margin-top:20px;
}

.spr {
  background:url(img/section_bg.png) repeat-x top;
}

.nobullet {
  list-style-type:none;
}

.shadow {
  background:url(img/article_bg.gif) repeat-y left;
}

dl, dd, dt {
  margin:0;
  padding:0;
}

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

/* Header */
header {
  height:240px;
  background:url(img/top_nav_bg.gif) repeat-x bottom;
}

#headerbg {
  height:200px;
  background:url(img/headerbg.jpg) no-repeat right bottom;
}

#logo {
  float:left;
  margin-top:34px;  
  height:130px;
  width:109px; 
}

#logo2 {
  float:left;
  margin:55px 0 0 20px;
}

#logo2 dt {
  font-size:48px;
  color:#F00;
  font-weight:bold;
}

#logo2 dd {
  font-size:16px;
  color:#666;
}

/* Header - Navigation */
header nav {
  height:40px;
  position:absolute;
  top:200px;
}

header nav ul {
  width:955px;
  height:40px;
  padding:0;
  margin:0;
  border-right:1px solid #C00;
}

header nav ul li {
  float:left;
  height:40px;
  width:190px;
  line-height:40px;
  border-left:1px solid #C00;
  text-align:center;
}

header nav a {
  font-size:18px;
  color:#FFF;
  text-decoration:none;
  display:block;
}

header nav .current-menu-item, header nav a:hover {
  height:40px;
  width:190px;
  color:#FFF;
  display:block;
  background:url(img/top_nav_hover.gif) repeat-x;
}

header nav .sub-menu {
  padding:0;
  margin:0;
  position:absolute;
  top: 40px;
  left: 192px;
  width: 190px;
  background:#F00;
  z-index: 1;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  display: none;
  opacity: 0;
  visibility: hidden;
}

header nav .sub-menu li {
  border:0;
  width:190px;
  background:#F00;
}

header nav .sub-menu li.line {
  border-top:1px solid #F60;
}

header nav .sub-menu li a, header nav .sub-menu li a:visited {
  font-size:16px;
  color:#FFF;
}

nav ul li:hover .sub-menu {
  display: block;
  opacity: 1;
  z-index: 100;
  visibility: visible;
  background:#F00;
}
  
/* Body */
section {
  clear:both;
  padding-bottom:40px;
}


/* Content */
#content {
  float:left;
  width:610px;
  margin-top:40px;
}

#fullcontent {
  float:left;
  width:960px;
  margin-top:40px;
}

h1 {
  font-size:24px;
  color:#F00;
}

h3 {
  line-height:24px;
  font-size:16px;
  color:#666;
}

h4 {
  line-height:24px;
  font-size:16px;
  color:#F00;
}

h5 {
  font-size:12px;
  color:#999;
  font-weight:normal;
}

h3 a, .h3 a{
  color:#F00;
  text-decoration:none;
}

h3 a:hover, .h3 a:hover {
  color:#F60;
  text-decoration:underline;
}

p {
  text-align:justify;
  text-justify: inter-word;
}

.title {
  width:auto;
  padding:0 0 10px 30px;
  border-bottom:1px solid #F00;
  background:url(img/title_icon.gif) no-repeat left 5px;
}

/* Sidebar */
.sidebar {
  float:right;
  width:310px;
}

/* Contact Us */
#contact {
  width:600px;
}

#contact dt {
  padding-bottom:10px;
}

#contact dd {
  font-weight:bold;
  padding-bottom:5px;
}

#contact a, #contact a:visited {
  color:#F00;
  text-decoration:none;
}

#contact a:hover {
  color:#F55;
  text-decoration:none;
}

/* slider */
#slider {
  margin-top:40px;
}

/* Home Intro */
#homeintro {
  margin:0;
  padding-top:40px;
  font-size:18px;
  line-height:28px;
  color:#666;
  background:url(img/homeintro_bg.jpg) no-repeat top;
}
#homeintro a {
  color:#F00;
  text-decoration:none;
}

#homeintro a:hover {
  color:#F60;
}

#homeintro p {
  margin:0;
}

/* Tab buttons */
#tab {
  padding-top:40px;
}

#tab a {
  float:left;
  width:310px;
  height:100px;
}

/* Footer */
footer {
  clear:both;
  height:110px;
  background:url(img/footer_bg.gif) repeat-x bottom;
}

footer nav ul {
  width:955px;
  height:40px;
  padding:0;
  margin:0;
  border-right:1px solid #999;
}

footer nav ul li {
  float:left;
  height:40px;
  width:190px;
  line-height:40px;
  border-left:1px solid #999;
  text-align:center;
}

footer nav a {
  font-size:18px;
  color:#FFF;
  text-decoration:none;
  display:block;
}

footer nav .current, footer nav a:hover {
  height:40px;
  width:190px;
  display:block;
  color:#FFF;
  background:url(img/btm_nav_hover.gif) repeat-x;
}

/* Footer Copyright */
#copy_inner {
  line-height:70px;
  clear:both;
  margin:0;
  font-size:12px;
  color:#CCC;
}

/* letter */
#letter {
  list-style-type:none;
  margin:0;
  padding:0;
}

#letter li{
  float:left;
}

/* widget */
.textwidget a {
  float:left;
  margin-bottom:15px;
}

/* post loop */
.postloop {
  margin:0;
  padding:0;
}

.postloop li {
  margin-bottom:10px;
}

.postloop span, .postloop span a {
  font-size:14px;
  color:#999;
}

/* Pagination */
.pagination {
  margin-top:40px;
}

.pagination .page-numbers {
  color:#aaa;
  border:1px solid #CCC;
  background-color:#eee;
  padding:5px 8px;
  text-align:center;
}

.pagination .prev:hover, .pagination .next:hover, .pagination .page-numbers:hover {
  color:#FFF;
  border:1px solid #C00;
  background-color:#F60;
}

.pagination .prev, .pagination .next, .pagination .current, .pagination .current:hover  {
  color:#FFF;
  border:1px solid #F30;
  background-color:#F00;
}

/* breadcrumb */
.breadcrumb {
  margin-bottom:20px;
}

.breadcrumb, .breadcrumb a {
  color:#999;
  font-size:12px;
}

.breadcrumb a.current {
  color:#666;
}

/* Gallery */
#gallery a {
  float:left;
  width:300px;
  height:200px;
  margin:0 10px 20px 10px;
  overflow:hidden;
}

#gallery a img {
  width:300px;
  height:200px;
  overflow:hidden;
  object-fit: cover;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:10px 4px 5px;
	text-align:center;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
