﻿.wrapper {
    position : relative;
    width : 870px;
    margin-bottom : 40px;
    padding-bottom : 40px;
    border-bottom : solid 1px #b4b4b4;
}

h3.type2 {
    clear : both;
    position : relative;
    margin-bottom : 30px;
    padding-bottom : 20px;
    font-size : 120%;
    font-weight : 600;
    border-bottom : solid 6px #dcdcdc;
    line-height : 0.5em;
}

h3.type2::after {
    content : "";
    position : absolute;
    left : 0;
    bottom : -6px;
    width : 75px;
    height : 6px;
    background : #ac0003;
}

ul.timg1 {
    list-style : none;
    overflow : hidden;
    width : 535px;
    margin-left : 335px;
}

ul.timg2 {
    list-style : none;
    overflow : hidden;
    width : 535px;
}

ul.timg1 li,ul.timg2 li {
    float : left;
    width : 260px;
    margin-right : 15px;
}

ul.timg1 li:nth-child(2n),ul.timg2 li:nth-child(2n) {
    margin : 0;
}

ul.timg1 li p,ul.timg2 li p {
	width : 100%;
	background-size : cover;
	background-position : center center;
	padding-top : 210px;
    border-radius : 8px;
}

.box1 {
    position : absolute;
    width : 295px;
    top : 0;
    left : 0;
}

.box2 {
    position : absolute;
    width : 295px;
    top : 0;
    right : 0;
}

p.button {
    width : 100%;
    margin-top : 25px;
    font-weight : 600;
    text-align : center;
}

p.button a {
    display : block;
    padding : 7px 0 9px 0;
    color : #ffffff;
    background : #eb780a;
    text-decoration : none;
    border-radius : 30px;
}

p.button a:hover {
	background : #f5c805;
	transition : .5s;
}

/*----------SIDEBAR----------*/

#shead {
    position : relative;
    width : 235px;
    height : 280px;
    background : url(sideimg.jpg) left top no-repeat;
}