


.s4y-panel  {
    border: 1px solid #ccc;
    display: inline-block;
    border-radius: 5px;
    box-shadow: 0 3px 2px rgba(0,0,0,0.16), 0 3px 2px rgba(0,0,0,0.23);
 }
 .s4y-panel .s4y-media{
    padding: 5px;
 }
.s4y-panel .s4y-panel-heading{
	border-bottom: 1px solid #ddd;
    padding: 5px 5px;
    border-radius: 5px;
    background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
    background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
    background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
    background-repeat: repeat-x;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.s4y-panel .s4y-panel-body{
	padding: 5px;
}
.s4y-panel .s4y-media label{
/* 	font-weight: normal; */
}
.s4y-panel .s4y-media .s4y-media-left {
	position: relative;
   float: left;
/*     border: 1px solid #ddd; */
    border-radius: 4px;
   width: 120px;
   height: 120px;
   margin-bottom: 5px;
  
}

.s4y-panel .s4y-media .s4y-media-left .s4y-add-image-user{
	position: absolute;
    right: 10px;
    bottom: 0px;
    border: 1px solid #a37547;
    border-radius: 15px;
    padding: 2px 4px 2px 4px;
    background: aliceblue;
    cursor: pointer;
}

.s4y-panel .s4y-media .s4y-media-left img{
	cursor: pointer;
}
.s4y-panel .s4y-media .s4y-media-body {
    display: inline-block;
    margin: 0 auto;
    margin-left: 10px;
}
.s4y-panel .s4y-media .s4y-media-body h4{
	border: none;
}
.s4y-panel .s4y-media .s4y-media-right {
 	float: left;
    border-radius: 4px;
    width: calc(100% - 125px);
    margin-left: 5px;
}
.s4y-panel .s4y-media .s4y-media-left img:first-child:hover{
	     box-shadow: 0 0 2px 1px #8a6d3b;
}
/* table */
.s4y-panel table {
	width: 100%;
	    border-collapse: collapse;}
.s4y-panel table tr td{
	  border-top: 1px solid #dddddd;
	word-wrap: break-word;
    line-height: 1.42857143;
    vertical-align: top;
    padding-top: 4px;
    padding-bottom: 6px;
    
}
.s4y-panel table tr td.border-top-none{
	border-top: none;
}
.s4y-panel table tr td.field{
	       white-space: nowrap;
	        padding-right: 5px;
	            width: 10rem;
}
.s4y-panel table tr td.field-number{
	width: 100px;
}
.s4y-panel table tr td img{
	vertical-align: sub;;
}

.s4y-media-left [data-s4y-namespace="s4y-widget"]{
	width: 50%;
    display: inline-block;
    float: left
}
.s4y-media-left [data-s4y-namespace="s4y-widget"]:last-child {
	 width: calc(50% - 2px);
	margin-left:2px;
}
.s4y-media-left [data-s4y-namespace="s4y-widget"]:last-child .s4y-stats{
	border-right: none;
}
.s4y-years .s4y-row img{
    vertical-align: middle;
    margin-right: .2rem;;
}
.s4y-stat .s4y-row img{
	vertical-align: sub;
}
section [data-s4y-namespace ="s4y-slide-box"] .s4y-box .item{
	float: left;
    width: 100px;
}

section [data-s4y-namespace ="s4y-slide-box"] .previous, 
section [data-s4y-namespace ="s4y-slide-box"] .next{
	width: 1.5rem!important;
	height: 1.5rem!important;
}

section [data-s4y-namespace ="s4y-slide-box"] .previous svg, 
section [data-s4y-namespace ="s4y-slide-box"] .next svg{
	    width: 20px!important;
}

section [data-s4y-namespace ="s4y-slide-box"] .item .s4y-label {
    width: 100%;
    display: inline-block;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

section [data-s4y-namespace ="s4y-slide-box"] .s4y-box .item .image{
	height: 85px;
/* 	height: auto; */
	vertical-align: bottom;
	    position: relative;
}
section [data-s4y-namespace ="s4y-slide-box"] .s4y-box .item{
    height: 100%;
    vertical-align: top;
    padding: 0px 5px;
}
section .s4y-stat{
	display: inline-block;
    margin-right: 1rem;
}

section .s4y-stat .s4y-row div{
	border-bottom: 1px dotted #ccc;
    padding: 5px 0px;
}
section .s4y-years{
	display: inline-block;    vertical-align: top; 
}
section .s4y-years .s4y-row .item{
	padding: 2px;
}
section .s4y-years .s4y-s4y-row label,
section .s4y-stat .s4y-row label{
	    margin-bottom: 0px;
    font-weight: normal
}

section [data-s4y-namespace ="s4y-slide-box"] .s4y-box .item img{
	position: absolute;
    bottom: 0;
    left: 0;
}
@media screen and (max-width: 600px) {
	.s4y-panel .s4y-media .s4y-media-right,
	.s4y-panel,
	.s4y-panel .s4y-media .s4y-media-right{
		width: 100%;
	}
	.s4y-panel table{
		table-layout: fixed;
	}
}
.s4y-tooltip-inner #tab1{
/* 	height: 400px; */
	margin-right: 10px;
	width: 100%;    overflow-x: hidden;
}

.tree-section .s4y-info-button-tree{
	position: absolute;
	top: 5px;
	left: 160px;
}

.ie .tree-section .s4y-info-button-tree{
	position: absolute;
	left: 160px;
}
