/*
 *作者:丁艺杰
 *版本:V1.0
 *调整时间:20180127
 *所属单位:北京融智宇辰科技有限公司
 *甲方:中交集团 
 */

/* ------- 收集的常见的web页面需要格式化的CSS代码 -----------   */
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tfoot,th,thead,time,tt,u,ul,var,video {
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	margin: 0;
	padding: 0;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display: block;
}

body {
	line-height: 1;
}

ol,ul {
	list-style: none;
}

blockquote,q {
	quotes: none;
}

blockquote:after,blockquote:before,q:after,q:before {
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

address,caption,cite,code,dfn,em,strong,th,var {
	font-weight: 400;
	font-style: normal;
}

caption,th {
	text-align: left;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: 400;
	font-size: 100%;
}

q:before,q:after {
	content: '';
}

*,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
	margin: 0;
	padding: 0;
}

fieldset,img,abbr,acronym {
	border: 0;
}
/* all */

body {
	margin: 0;
	padding: 0;
	color: #333333;
	font-family: 'Microsoft YaHei','SimHei','Arial',sans-serif;
	font-size: 14px;
	line-height: 30px;
}

input,img {
	border: 0;
	vertical-align: middle;
}

ul,ol,li {
	list-style: none;
}

table,tbody,tr,th,td {
	border-spacing: 0;
	vertical-align: top;
}

th {
	text-align: center;
}

article,aside,footer,header,hgroup,nav,section {
	display: block;
}

div,form,h1,dl,dt,dd,ul,ol,li,table,tr,td,th,p,span,input,select,img {
	margin: 0;
	padding: 0;
}

a,a:link,a:visited {
	text-decoration: none;
	cursor: pointer;
}

a:hover,a:active {
	text-decoration: none;
}

/*CSS解决谷歌浏览器Chrome中鼠标点击输入框时（输入内容时）输入框边框变橘黄色或蓝色*/
:focus {
	outline: none;
}

/* 解决谷歌模式下输入框嵌入黄色背景    */
input:-webkit-autofill, 
textarea:-webkit-autofill, 
select:-webkit-autofill {
	-webkit-box-shadow: 0 0 0px 1000px #fff inset;
}

input[type=text]:focus, input[type=password]:focus, textarea:focus {
	-webkit-box-shadow: 0 0 0 1000px white inset;
}
/* 从这里开始是css自己用的公用类集合  */

/*---------------------关于portlet模块的间距以及是否有宽度为1px的border属性汇总-----------------------*/
.portletnum1_1{
	margin: 10px 0px 0px 0px ;
	float:left;
}
.portletnum2_1{
	margin: 10px 10px 0px 0px ;
	float:left;
}
.portletnum2_2{
	margin: 10px 0px 0px 0px ;
	float:left;
}
.portletnum3_1{
	margin: 10px 19px 0px 0px ;
	float:left;
}
.portletnum3_2{
	margin: 10px 10px 0px 0px ;
	float:left;
}
.portletnum3_3{
	margin: 10px 0px 0px 0px ;
	float:left;
}
.portletnum4_1{
	margin: 10px 10px 0px 0px ;
	float:left;
}
.portletnum4_2{
	margin: 10px 10px 0px 0px ;
	float:left;
}
.portletnum4_3{
	margin: 10px 10px 0px 0px ;
	float:left;
}
.portletnum4_4{
	margin: 10px 0px 0px 0px ;
	float:left;
}
.portlet_pbottom {
    margin-bottom: 10px;
}
.portlet_ptop {
    margin-top: 10px;
}
.portlet_pleft {
    margin-left: 10px;
}
.portlet_pright {
    margin-right: 10px;
}
/* -------控制portlet是否有灰色边框---------   */
.hasborder{
	border:1px solid #ccc;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
/* -------控制portlet是否有蓝色边框---------   */
.hasborder_blue{
	border:1px solid #004A96;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;	
}
/* -------控制portlet是否有红色边框---------   */
.hasborder_red{
	border:1px solid #ec2316;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;	
}
.noborder{
	border:none;
}

/*-----------------控制栏目的左右浮动-------------------*/
.float_l {
	float: left;
}

.float_r {
	float: right;
}
/*----------------清除栏目浮动-----------------*/
.wpthemeClear {
	clear: both;
}

/* -----------------控制栏目加载的时候先出现等待加载的小图标----------------- */
.hasload {
	background: url(../img/load1.gif) no-repeat center;
}
/* -------------- 控制栏目加边框后，整体占用面积不变，兼容IE8模式   ------------- */
. boxsizing {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
/*  控制当超过一定长度显示省略号...   */
.omit {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* 控制元素显示或者隐藏 */
.hide{
	display: none;
}
.show{
	display: block;
}
/* 动态为footer添加类fixed-bottom */
.fixed-bottom {
	position: fixed;bottom: 0;
	width:100%;
}

.bg_blue{
	background: #3d7bce;
}

